diff --git a/msgraph_beta/generated/access_review_decisions/count/count_request_builder.py b/msgraph_beta/generated/access_review_decisions/count/count_request_builder.py index a3e22a550b7..44cf9869757 100644 --- a/msgraph_beta/generated/access_review_decisions/count/count_request_builder.py +++ b/msgraph_beta/generated/access_review_decisions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/access_reviews/count/count_request_builder.py b/msgraph_beta/generated/access_reviews/count/count_request_builder.py index 4dfe0dca46b..32c54f46692 100644 --- a/msgraph_beta/generated/access_reviews/count/count_request_builder.py +++ b/msgraph_beta/generated/access_reviews/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/access_reviews/item/decisions/count/count_request_builder.py b/msgraph_beta/generated/access_reviews/item/decisions/count/count_request_builder.py index 58d7ff242f2..8f311aa6ab8 100644 --- a/msgraph_beta/generated/access_reviews/item/decisions/count/count_request_builder.py +++ b/msgraph_beta/generated/access_reviews/item/decisions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/access_reviews/item/instances/count/count_request_builder.py b/msgraph_beta/generated/access_reviews/item/instances/count/count_request_builder.py index 1ee62764d23..88c886d3390 100644 --- a/msgraph_beta/generated/access_reviews/item/instances/count/count_request_builder.py +++ b/msgraph_beta/generated/access_reviews/item/instances/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/access_reviews/item/instances/item/decisions/count/count_request_builder.py b/msgraph_beta/generated/access_reviews/item/instances/item/decisions/count/count_request_builder.py index a21020b4f61..f14bfe1ec74 100644 --- a/msgraph_beta/generated/access_reviews/item/instances/item/decisions/count/count_request_builder.py +++ b/msgraph_beta/generated/access_reviews/item/instances/item/decisions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/access_reviews/item/instances/item/my_decisions/count/count_request_builder.py b/msgraph_beta/generated/access_reviews/item/instances/item/my_decisions/count/count_request_builder.py index e5bad9bff7e..94c607d42e5 100644 --- a/msgraph_beta/generated/access_reviews/item/instances/item/my_decisions/count/count_request_builder.py +++ b/msgraph_beta/generated/access_reviews/item/instances/item/my_decisions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/access_reviews/item/instances/item/reviewers/count/count_request_builder.py b/msgraph_beta/generated/access_reviews/item/instances/item/reviewers/count/count_request_builder.py index 79b8bddc92d..7d596fa5685 100644 --- a/msgraph_beta/generated/access_reviews/item/instances/item/reviewers/count/count_request_builder.py +++ b/msgraph_beta/generated/access_reviews/item/instances/item/reviewers/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/access_reviews/item/my_decisions/count/count_request_builder.py b/msgraph_beta/generated/access_reviews/item/my_decisions/count/count_request_builder.py index 3d5555f4ea3..adca763f516 100644 --- a/msgraph_beta/generated/access_reviews/item/my_decisions/count/count_request_builder.py +++ b/msgraph_beta/generated/access_reviews/item/my_decisions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/access_reviews/item/reviewers/count/count_request_builder.py b/msgraph_beta/generated/access_reviews/item/reviewers/count/count_request_builder.py index 3f69d02a901..719cbb3202c 100644 --- a/msgraph_beta/generated/access_reviews/item/reviewers/count/count_request_builder.py +++ b/msgraph_beta/generated/access_reviews/item/reviewers/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/activitystatistics/count/count_request_builder.py b/msgraph_beta/generated/activitystatistics/count/count_request_builder.py index ef0d1f5fdf3..1a7197b10e0 100644 --- a/msgraph_beta/generated/activitystatistics/count/count_request_builder.py +++ b/msgraph_beta/generated/activitystatistics/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/admin/edge/internet_explorer_mode/site_lists/count/count_request_builder.py b/msgraph_beta/generated/admin/edge/internet_explorer_mode/site_lists/count/count_request_builder.py index b49ac2e7bed..16e397c1acd 100644 --- a/msgraph_beta/generated/admin/edge/internet_explorer_mode/site_lists/count/count_request_builder.py +++ b/msgraph_beta/generated/admin/edge/internet_explorer_mode/site_lists/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/admin/edge/internet_explorer_mode/site_lists/item/publish/publish_post_request_body.py b/msgraph_beta/generated/admin/edge/internet_explorer_mode/site_lists/item/publish/publish_post_request_body.py index 6ae9377b0a1..9b36a4d1a56 100644 --- a/msgraph_beta/generated/admin/edge/internet_explorer_mode/site_lists/item/publish/publish_post_request_body.py +++ b/msgraph_beta/generated/admin/edge/internet_explorer_mode/site_lists/item/publish/publish_post_request_body.py @@ -59,6 +59,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .......models.browser_shared_cookie import BrowserSharedCookie + from .......models.browser_site import BrowserSite + writer.write_str_value("revision", self.revision) writer.write_collection_of_object_values("sharedCookies", self.shared_cookies) writer.write_collection_of_object_values("sites", self.sites) diff --git a/msgraph_beta/generated/admin/edge/internet_explorer_mode/site_lists/item/shared_cookies/count/count_request_builder.py b/msgraph_beta/generated/admin/edge/internet_explorer_mode/site_lists/item/shared_cookies/count/count_request_builder.py index 7aa298f949b..ef02ed5c461 100644 --- a/msgraph_beta/generated/admin/edge/internet_explorer_mode/site_lists/item/shared_cookies/count/count_request_builder.py +++ b/msgraph_beta/generated/admin/edge/internet_explorer_mode/site_lists/item/shared_cookies/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/admin/edge/internet_explorer_mode/site_lists/item/sites/count/count_request_builder.py b/msgraph_beta/generated/admin/edge/internet_explorer_mode/site_lists/item/sites/count/count_request_builder.py index 690d328a9c3..61b3823e78d 100644 --- a/msgraph_beta/generated/admin/edge/internet_explorer_mode/site_lists/item/sites/count/count_request_builder.py +++ b/msgraph_beta/generated/admin/edge/internet_explorer_mode/site_lists/item/sites/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/admin/entra/entra_request_builder.py b/msgraph_beta/generated/admin/entra/entra_request_builder.py index 0b0b4168c7d..45c80c44b6d 100644 --- a/msgraph_beta/generated/admin/entra/entra_request_builder.py +++ b/msgraph_beta/generated/admin/entra/entra_request_builder.py @@ -51,7 +51,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[EntraRequestBuilderGetQueryParameters]] = None) -> Optional[Entra]: """ - Get entra from admin + A container for Microsoft Entra resources. Read-only. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Entra] """ @@ -108,7 +108,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[EntraRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Get entra from admin + A container for Microsoft Entra resources. Read-only. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -164,7 +164,7 @@ class EntraRequestBuilderDeleteRequestConfiguration(RequestConfiguration[QueryPa @dataclass class EntraRequestBuilderGetQueryParameters(): """ - Get entra from admin + A container for Microsoft Entra resources. Read-only. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/admin/entra/ux_setting/ux_setting_request_builder.py b/msgraph_beta/generated/admin/entra/ux_setting/ux_setting_request_builder.py index 8ef20a3efef..e8344b80440 100644 --- a/msgraph_beta/generated/admin/entra/ux_setting/ux_setting_request_builder.py +++ b/msgraph_beta/generated/admin/entra/ux_setting/ux_setting_request_builder.py @@ -50,9 +50,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[UxSettingRequestBuilderGetQueryParameters]] = None) -> Optional[UxSetting]: """ - Get uxSetting from admin + Get the properties and relationships of a uxSetting object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UxSetting] + Find more info here: https://learn.microsoft.com/graph/api/uxsetting-get?view=graph-rest-beta """ warn(" as of 2023-11/PrivatePreview:BulkJobs", DeprecationWarning) request_info = self.to_get_request_information( @@ -71,10 +72,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[UxSettin async def patch(self,body: UxSetting, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[UxSetting]: """ - Update the navigation property uxSetting in admin + Update the properties of a uxSetting object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UxSetting] + Find more info here: https://learn.microsoft.com/graph/api/uxsetting-update?view=graph-rest-beta """ warn(" as of 2023-11/PrivatePreview:BulkJobs", DeprecationWarning) if body is None: @@ -107,7 +109,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[UxSettingRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Get uxSetting from admin + Get the properties and relationships of a uxSetting object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -119,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_patch_request_information(self,body: UxSetting, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Update the navigation property uxSetting in admin + Update the properties of a uxSetting object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -154,7 +156,7 @@ class UxSettingRequestBuilderDeleteRequestConfiguration(RequestConfiguration[Que @dataclass class UxSettingRequestBuilderGetQueryParameters(): """ - Get uxSetting from admin + Get the properties and relationships of a uxSetting object. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/admin/people/profile_card_properties/count/count_request_builder.py b/msgraph_beta/generated/admin/people/profile_card_properties/count/count_request_builder.py index 5cd520f9f90..3781c75ca66 100644 --- a/msgraph_beta/generated/admin/people/profile_card_properties/count/count_request_builder.py +++ b/msgraph_beta/generated/admin/people/profile_card_properties/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/admin/service_announcement/health_overviews/count/count_request_builder.py b/msgraph_beta/generated/admin/service_announcement/health_overviews/count/count_request_builder.py index 0ce70eab37a..ff67192f115 100644 --- a/msgraph_beta/generated/admin/service_announcement/health_overviews/count/count_request_builder.py +++ b/msgraph_beta/generated/admin/service_announcement/health_overviews/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/admin/service_announcement/health_overviews/item/issues/count/count_request_builder.py b/msgraph_beta/generated/admin/service_announcement/health_overviews/item/issues/count/count_request_builder.py index 6c69dc740c7..4e80c910dd2 100644 --- a/msgraph_beta/generated/admin/service_announcement/health_overviews/item/issues/count/count_request_builder.py +++ b/msgraph_beta/generated/admin/service_announcement/health_overviews/item/issues/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/admin/service_announcement/issues/count/count_request_builder.py b/msgraph_beta/generated/admin/service_announcement/issues/count/count_request_builder.py index fc4f8b0624a..3508c0d7661 100644 --- a/msgraph_beta/generated/admin/service_announcement/issues/count/count_request_builder.py +++ b/msgraph_beta/generated/admin/service_announcement/issues/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/admin/service_announcement/messages/count/count_request_builder.py b/msgraph_beta/generated/admin/service_announcement/messages/count/count_request_builder.py index 87d743c804d..7b3da9b6015 100644 --- a/msgraph_beta/generated/admin/service_announcement/messages/count/count_request_builder.py +++ b/msgraph_beta/generated/admin/service_announcement/messages/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/admin/service_announcement/messages/item/attachments/count/count_request_builder.py b/msgraph_beta/generated/admin/service_announcement/messages/item/attachments/count/count_request_builder.py index 0a352cb2e25..fb89cd2f9ea 100644 --- a/msgraph_beta/generated/admin/service_announcement/messages/item/attachments/count/count_request_builder.py +++ b/msgraph_beta/generated/admin/service_announcement/messages/item/attachments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/admin/windows/updates/catalog/entries/count/count_request_builder.py b/msgraph_beta/generated/admin/windows/updates/catalog/entries/count/count_request_builder.py index c462b6fb0e3..ce323a36b3c 100644 --- a/msgraph_beta/generated/admin/windows/updates/catalog/entries/count/count_request_builder.py +++ b/msgraph_beta/generated/admin/windows/updates/catalog/entries/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/admin/windows/updates/deployment_audiences/count/count_request_builder.py b/msgraph_beta/generated/admin/windows/updates/deployment_audiences/count/count_request_builder.py index 244ccc5cdb8..d80d2ee2e50 100644 --- a/msgraph_beta/generated/admin/windows/updates/deployment_audiences/count/count_request_builder.py +++ b/msgraph_beta/generated/admin/windows/updates/deployment_audiences/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/applicable_content/count/count_request_builder.py b/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/applicable_content/count/count_request_builder.py index 36cf009ff4a..cab700645fa 100644 --- a/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/applicable_content/count/count_request_builder.py +++ b/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/applicable_content/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/applicable_content/item/matched_devices/count/count_request_builder.py b/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/applicable_content/item/matched_devices/count/count_request_builder.py index 92b05f8ef80..076c2a3abff 100644 --- a/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/applicable_content/item/matched_devices/count/count_request_builder.py +++ b/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/applicable_content/item/matched_devices/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/exclusions/count/count_request_builder.py b/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/exclusions/count/count_request_builder.py index 0a9680e2c89..75916b62b9d 100644 --- a/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/exclusions/count/count_request_builder.py +++ b/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/exclusions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/exclusions/item/microsoft_graph_windows_updates_add_members/add_members_post_request_body.py b/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/exclusions/item/microsoft_graph_windows_updates_add_members/add_members_post_request_body.py index acbf5f7ed3f..c9ba288ce92 100644 --- a/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/exclusions/item/microsoft_graph_windows_updates_add_members/add_members_post_request_body.py +++ b/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/exclusions/item/microsoft_graph_windows_updates_add_members/add_members_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .........models.windows_updates.updatable_asset import UpdatableAsset + writer.write_collection_of_object_values("assets", self.assets) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/exclusions/item/microsoft_graph_windows_updates_remove_members/remove_members_post_request_body.py b/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/exclusions/item/microsoft_graph_windows_updates_remove_members/remove_members_post_request_body.py index 5b167d62377..0e82b0e7aea 100644 --- a/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/exclusions/item/microsoft_graph_windows_updates_remove_members/remove_members_post_request_body.py +++ b/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/exclusions/item/microsoft_graph_windows_updates_remove_members/remove_members_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .........models.windows_updates.updatable_asset import UpdatableAsset + writer.write_collection_of_object_values("assets", self.assets) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/exclusions/microsoft_graph_windows_updates_enroll_assets/enroll_assets_post_request_body.py b/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/exclusions/microsoft_graph_windows_updates_enroll_assets/enroll_assets_post_request_body.py index 2a03948ac1c..448431bb684 100644 --- a/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/exclusions/microsoft_graph_windows_updates_enroll_assets/enroll_assets_post_request_body.py +++ b/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/exclusions/microsoft_graph_windows_updates_enroll_assets/enroll_assets_post_request_body.py @@ -56,6 +56,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ........models.windows_updates.updatable_asset import UpdatableAsset + from ........models.windows_updates.update_category import UpdateCategory + writer.write_collection_of_object_values("assets", self.assets) writer.write_enum_value("updateCategory", self.update_category) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/exclusions/microsoft_graph_windows_updates_enroll_assets_by_id/enroll_assets_by_id_post_request_body.py b/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/exclusions/microsoft_graph_windows_updates_enroll_assets_by_id/enroll_assets_by_id_post_request_body.py index ebd3330c4bf..06f19b63134 100644 --- a/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/exclusions/microsoft_graph_windows_updates_enroll_assets_by_id/enroll_assets_by_id_post_request_body.py +++ b/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/exclusions/microsoft_graph_windows_updates_enroll_assets_by_id/enroll_assets_by_id_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ........models.windows_updates.update_category import UpdateCategory + writer.write_collection_of_primitive_values("ids", self.ids) writer.write_str_value("memberEntityType", self.member_entity_type) writer.write_enum_value("updateCategory", self.update_category) diff --git a/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/exclusions/microsoft_graph_windows_updates_unenroll_assets/unenroll_assets_post_request_body.py b/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/exclusions/microsoft_graph_windows_updates_unenroll_assets/unenroll_assets_post_request_body.py index a020e97d8fa..8dcc87a760d 100644 --- a/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/exclusions/microsoft_graph_windows_updates_unenroll_assets/unenroll_assets_post_request_body.py +++ b/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/exclusions/microsoft_graph_windows_updates_unenroll_assets/unenroll_assets_post_request_body.py @@ -56,6 +56,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ........models.windows_updates.updatable_asset import UpdatableAsset + from ........models.windows_updates.update_category import UpdateCategory + writer.write_collection_of_object_values("assets", self.assets) writer.write_enum_value("updateCategory", self.update_category) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/exclusions/microsoft_graph_windows_updates_unenroll_assets_by_id/unenroll_assets_by_id_post_request_body.py b/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/exclusions/microsoft_graph_windows_updates_unenroll_assets_by_id/unenroll_assets_by_id_post_request_body.py index 91b02452dcc..ff4f2942b7c 100644 --- a/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/exclusions/microsoft_graph_windows_updates_unenroll_assets_by_id/unenroll_assets_by_id_post_request_body.py +++ b/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/exclusions/microsoft_graph_windows_updates_unenroll_assets_by_id/unenroll_assets_by_id_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ........models.windows_updates.update_category import UpdateCategory + writer.write_collection_of_primitive_values("ids", self.ids) writer.write_str_value("memberEntityType", self.member_entity_type) writer.write_enum_value("updateCategory", self.update_category) diff --git a/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/members/count/count_request_builder.py b/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/members/count/count_request_builder.py index 4ad228682a4..52aff35756b 100644 --- a/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/members/count/count_request_builder.py +++ b/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/members/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/members/item/microsoft_graph_windows_updates_add_members/add_members_post_request_body.py b/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/members/item/microsoft_graph_windows_updates_add_members/add_members_post_request_body.py index acbf5f7ed3f..c9ba288ce92 100644 --- a/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/members/item/microsoft_graph_windows_updates_add_members/add_members_post_request_body.py +++ b/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/members/item/microsoft_graph_windows_updates_add_members/add_members_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .........models.windows_updates.updatable_asset import UpdatableAsset + writer.write_collection_of_object_values("assets", self.assets) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/members/item/microsoft_graph_windows_updates_remove_members/remove_members_post_request_body.py b/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/members/item/microsoft_graph_windows_updates_remove_members/remove_members_post_request_body.py index 5b167d62377..0e82b0e7aea 100644 --- a/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/members/item/microsoft_graph_windows_updates_remove_members/remove_members_post_request_body.py +++ b/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/members/item/microsoft_graph_windows_updates_remove_members/remove_members_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .........models.windows_updates.updatable_asset import UpdatableAsset + writer.write_collection_of_object_values("assets", self.assets) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/members/microsoft_graph_windows_updates_enroll_assets/enroll_assets_post_request_body.py b/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/members/microsoft_graph_windows_updates_enroll_assets/enroll_assets_post_request_body.py index 2a03948ac1c..448431bb684 100644 --- a/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/members/microsoft_graph_windows_updates_enroll_assets/enroll_assets_post_request_body.py +++ b/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/members/microsoft_graph_windows_updates_enroll_assets/enroll_assets_post_request_body.py @@ -56,6 +56,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ........models.windows_updates.updatable_asset import UpdatableAsset + from ........models.windows_updates.update_category import UpdateCategory + writer.write_collection_of_object_values("assets", self.assets) writer.write_enum_value("updateCategory", self.update_category) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/members/microsoft_graph_windows_updates_enroll_assets_by_id/enroll_assets_by_id_post_request_body.py b/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/members/microsoft_graph_windows_updates_enroll_assets_by_id/enroll_assets_by_id_post_request_body.py index ebd3330c4bf..06f19b63134 100644 --- a/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/members/microsoft_graph_windows_updates_enroll_assets_by_id/enroll_assets_by_id_post_request_body.py +++ b/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/members/microsoft_graph_windows_updates_enroll_assets_by_id/enroll_assets_by_id_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ........models.windows_updates.update_category import UpdateCategory + writer.write_collection_of_primitive_values("ids", self.ids) writer.write_str_value("memberEntityType", self.member_entity_type) writer.write_enum_value("updateCategory", self.update_category) diff --git a/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/members/microsoft_graph_windows_updates_unenroll_assets/unenroll_assets_post_request_body.py b/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/members/microsoft_graph_windows_updates_unenroll_assets/unenroll_assets_post_request_body.py index a020e97d8fa..8dcc87a760d 100644 --- a/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/members/microsoft_graph_windows_updates_unenroll_assets/unenroll_assets_post_request_body.py +++ b/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/members/microsoft_graph_windows_updates_unenroll_assets/unenroll_assets_post_request_body.py @@ -56,6 +56,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ........models.windows_updates.updatable_asset import UpdatableAsset + from ........models.windows_updates.update_category import UpdateCategory + writer.write_collection_of_object_values("assets", self.assets) writer.write_enum_value("updateCategory", self.update_category) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/members/microsoft_graph_windows_updates_unenroll_assets_by_id/unenroll_assets_by_id_post_request_body.py b/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/members/microsoft_graph_windows_updates_unenroll_assets_by_id/unenroll_assets_by_id_post_request_body.py index 91b02452dcc..ff4f2942b7c 100644 --- a/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/members/microsoft_graph_windows_updates_unenroll_assets_by_id/unenroll_assets_by_id_post_request_body.py +++ b/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/members/microsoft_graph_windows_updates_unenroll_assets_by_id/unenroll_assets_by_id_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ........models.windows_updates.update_category import UpdateCategory + writer.write_collection_of_primitive_values("ids", self.ids) writer.write_str_value("memberEntityType", self.member_entity_type) writer.write_enum_value("updateCategory", self.update_category) diff --git a/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/microsoft_graph_windows_updates_update_audience/update_audience_post_request_body.py b/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/microsoft_graph_windows_updates_update_audience/update_audience_post_request_body.py index 7c1ee37aa2a..baedeb546b6 100644 --- a/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/microsoft_graph_windows_updates_update_audience/update_audience_post_request_body.py +++ b/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/microsoft_graph_windows_updates_update_audience/update_audience_post_request_body.py @@ -59,6 +59,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .......models.windows_updates.updatable_asset import UpdatableAsset + writer.write_collection_of_object_values("addExclusions", self.add_exclusions) writer.write_collection_of_object_values("addMembers", self.add_members) writer.write_collection_of_object_values("removeExclusions", self.remove_exclusions) diff --git a/msgraph_beta/generated/admin/windows/updates/deployments/count/count_request_builder.py b/msgraph_beta/generated/admin/windows/updates/deployments/count/count_request_builder.py index 79d2379fea1..77655eb45f6 100644 --- a/msgraph_beta/generated/admin/windows/updates/deployments/count/count_request_builder.py +++ b/msgraph_beta/generated/admin/windows/updates/deployments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/applicable_content/count/count_request_builder.py b/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/applicable_content/count/count_request_builder.py index c302fcb13de..64ad046957e 100644 --- a/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/applicable_content/count/count_request_builder.py +++ b/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/applicable_content/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/applicable_content/item/matched_devices/count/count_request_builder.py b/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/applicable_content/item/matched_devices/count/count_request_builder.py index cabcdffbb0d..7f4606e1aed 100644 --- a/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/applicable_content/item/matched_devices/count/count_request_builder.py +++ b/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/applicable_content/item/matched_devices/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/exclusions/count/count_request_builder.py b/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/exclusions/count/count_request_builder.py index 1e75adb5367..9b23ff7a76a 100644 --- a/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/exclusions/count/count_request_builder.py +++ b/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/exclusions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/exclusions/item/microsoft_graph_windows_updates_add_members/add_members_post_request_body.py b/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/exclusions/item/microsoft_graph_windows_updates_add_members/add_members_post_request_body.py index 9c8b532a4c9..eea7e53160d 100644 --- a/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/exclusions/item/microsoft_graph_windows_updates_add_members/add_members_post_request_body.py +++ b/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/exclusions/item/microsoft_graph_windows_updates_add_members/add_members_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ..........models.windows_updates.updatable_asset import UpdatableAsset + writer.write_collection_of_object_values("assets", self.assets) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/exclusions/item/microsoft_graph_windows_updates_remove_members/remove_members_post_request_body.py b/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/exclusions/item/microsoft_graph_windows_updates_remove_members/remove_members_post_request_body.py index 9d89a2ac206..5c606676337 100644 --- a/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/exclusions/item/microsoft_graph_windows_updates_remove_members/remove_members_post_request_body.py +++ b/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/exclusions/item/microsoft_graph_windows_updates_remove_members/remove_members_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ..........models.windows_updates.updatable_asset import UpdatableAsset + writer.write_collection_of_object_values("assets", self.assets) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/exclusions/microsoft_graph_windows_updates_enroll_assets/enroll_assets_post_request_body.py b/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/exclusions/microsoft_graph_windows_updates_enroll_assets/enroll_assets_post_request_body.py index d721e2430d5..fb8e67ac7a3 100644 --- a/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/exclusions/microsoft_graph_windows_updates_enroll_assets/enroll_assets_post_request_body.py +++ b/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/exclusions/microsoft_graph_windows_updates_enroll_assets/enroll_assets_post_request_body.py @@ -56,6 +56,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .........models.windows_updates.updatable_asset import UpdatableAsset + from .........models.windows_updates.update_category import UpdateCategory + writer.write_collection_of_object_values("assets", self.assets) writer.write_enum_value("updateCategory", self.update_category) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/exclusions/microsoft_graph_windows_updates_enroll_assets_by_id/enroll_assets_by_id_post_request_body.py b/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/exclusions/microsoft_graph_windows_updates_enroll_assets_by_id/enroll_assets_by_id_post_request_body.py index 5586b696dbf..39d6a3eec83 100644 --- a/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/exclusions/microsoft_graph_windows_updates_enroll_assets_by_id/enroll_assets_by_id_post_request_body.py +++ b/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/exclusions/microsoft_graph_windows_updates_enroll_assets_by_id/enroll_assets_by_id_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .........models.windows_updates.update_category import UpdateCategory + writer.write_collection_of_primitive_values("ids", self.ids) writer.write_str_value("memberEntityType", self.member_entity_type) writer.write_enum_value("updateCategory", self.update_category) diff --git a/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/exclusions/microsoft_graph_windows_updates_unenroll_assets/unenroll_assets_post_request_body.py b/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/exclusions/microsoft_graph_windows_updates_unenroll_assets/unenroll_assets_post_request_body.py index 7dbc3e48796..0319e78cf91 100644 --- a/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/exclusions/microsoft_graph_windows_updates_unenroll_assets/unenroll_assets_post_request_body.py +++ b/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/exclusions/microsoft_graph_windows_updates_unenroll_assets/unenroll_assets_post_request_body.py @@ -56,6 +56,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .........models.windows_updates.updatable_asset import UpdatableAsset + from .........models.windows_updates.update_category import UpdateCategory + writer.write_collection_of_object_values("assets", self.assets) writer.write_enum_value("updateCategory", self.update_category) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/exclusions/microsoft_graph_windows_updates_unenroll_assets_by_id/unenroll_assets_by_id_post_request_body.py b/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/exclusions/microsoft_graph_windows_updates_unenroll_assets_by_id/unenroll_assets_by_id_post_request_body.py index bb6bb6496c1..6e6533bca63 100644 --- a/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/exclusions/microsoft_graph_windows_updates_unenroll_assets_by_id/unenroll_assets_by_id_post_request_body.py +++ b/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/exclusions/microsoft_graph_windows_updates_unenroll_assets_by_id/unenroll_assets_by_id_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .........models.windows_updates.update_category import UpdateCategory + writer.write_collection_of_primitive_values("ids", self.ids) writer.write_str_value("memberEntityType", self.member_entity_type) writer.write_enum_value("updateCategory", self.update_category) diff --git a/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/members/count/count_request_builder.py b/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/members/count/count_request_builder.py index b327881e1ed..c56dc0bf041 100644 --- a/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/members/count/count_request_builder.py +++ b/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/members/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/members/item/microsoft_graph_windows_updates_add_members/add_members_post_request_body.py b/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/members/item/microsoft_graph_windows_updates_add_members/add_members_post_request_body.py index 9c8b532a4c9..eea7e53160d 100644 --- a/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/members/item/microsoft_graph_windows_updates_add_members/add_members_post_request_body.py +++ b/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/members/item/microsoft_graph_windows_updates_add_members/add_members_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ..........models.windows_updates.updatable_asset import UpdatableAsset + writer.write_collection_of_object_values("assets", self.assets) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/members/item/microsoft_graph_windows_updates_remove_members/remove_members_post_request_body.py b/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/members/item/microsoft_graph_windows_updates_remove_members/remove_members_post_request_body.py index 9d89a2ac206..5c606676337 100644 --- a/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/members/item/microsoft_graph_windows_updates_remove_members/remove_members_post_request_body.py +++ b/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/members/item/microsoft_graph_windows_updates_remove_members/remove_members_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ..........models.windows_updates.updatable_asset import UpdatableAsset + writer.write_collection_of_object_values("assets", self.assets) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/members/microsoft_graph_windows_updates_enroll_assets/enroll_assets_post_request_body.py b/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/members/microsoft_graph_windows_updates_enroll_assets/enroll_assets_post_request_body.py index d721e2430d5..fb8e67ac7a3 100644 --- a/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/members/microsoft_graph_windows_updates_enroll_assets/enroll_assets_post_request_body.py +++ b/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/members/microsoft_graph_windows_updates_enroll_assets/enroll_assets_post_request_body.py @@ -56,6 +56,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .........models.windows_updates.updatable_asset import UpdatableAsset + from .........models.windows_updates.update_category import UpdateCategory + writer.write_collection_of_object_values("assets", self.assets) writer.write_enum_value("updateCategory", self.update_category) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/members/microsoft_graph_windows_updates_enroll_assets_by_id/enroll_assets_by_id_post_request_body.py b/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/members/microsoft_graph_windows_updates_enroll_assets_by_id/enroll_assets_by_id_post_request_body.py index 5586b696dbf..39d6a3eec83 100644 --- a/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/members/microsoft_graph_windows_updates_enroll_assets_by_id/enroll_assets_by_id_post_request_body.py +++ b/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/members/microsoft_graph_windows_updates_enroll_assets_by_id/enroll_assets_by_id_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .........models.windows_updates.update_category import UpdateCategory + writer.write_collection_of_primitive_values("ids", self.ids) writer.write_str_value("memberEntityType", self.member_entity_type) writer.write_enum_value("updateCategory", self.update_category) diff --git a/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/members/microsoft_graph_windows_updates_unenroll_assets/unenroll_assets_post_request_body.py b/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/members/microsoft_graph_windows_updates_unenroll_assets/unenroll_assets_post_request_body.py index 7dbc3e48796..0319e78cf91 100644 --- a/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/members/microsoft_graph_windows_updates_unenroll_assets/unenroll_assets_post_request_body.py +++ b/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/members/microsoft_graph_windows_updates_unenroll_assets/unenroll_assets_post_request_body.py @@ -56,6 +56,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .........models.windows_updates.updatable_asset import UpdatableAsset + from .........models.windows_updates.update_category import UpdateCategory + writer.write_collection_of_object_values("assets", self.assets) writer.write_enum_value("updateCategory", self.update_category) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/members/microsoft_graph_windows_updates_unenroll_assets_by_id/unenroll_assets_by_id_post_request_body.py b/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/members/microsoft_graph_windows_updates_unenroll_assets_by_id/unenroll_assets_by_id_post_request_body.py index bb6bb6496c1..6e6533bca63 100644 --- a/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/members/microsoft_graph_windows_updates_unenroll_assets_by_id/unenroll_assets_by_id_post_request_body.py +++ b/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/members/microsoft_graph_windows_updates_unenroll_assets_by_id/unenroll_assets_by_id_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .........models.windows_updates.update_category import UpdateCategory + writer.write_collection_of_primitive_values("ids", self.ids) writer.write_str_value("memberEntityType", self.member_entity_type) writer.write_enum_value("updateCategory", self.update_category) diff --git a/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/microsoft_graph_windows_updates_update_audience/update_audience_post_request_body.py b/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/microsoft_graph_windows_updates_update_audience/update_audience_post_request_body.py index 42a803cf398..2189ed0766e 100644 --- a/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/microsoft_graph_windows_updates_update_audience/update_audience_post_request_body.py +++ b/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/microsoft_graph_windows_updates_update_audience/update_audience_post_request_body.py @@ -59,6 +59,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ........models.windows_updates.updatable_asset import UpdatableAsset + writer.write_collection_of_object_values("addExclusions", self.add_exclusions) writer.write_collection_of_object_values("addMembers", self.add_members) writer.write_collection_of_object_values("removeExclusions", self.remove_exclusions) diff --git a/msgraph_beta/generated/admin/windows/updates/products/count/count_request_builder.py b/msgraph_beta/generated/admin/windows/updates/products/count/count_request_builder.py index de952db2a47..fb784ad8334 100644 --- a/msgraph_beta/generated/admin/windows/updates/products/count/count_request_builder.py +++ b/msgraph_beta/generated/admin/windows/updates/products/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/admin/windows/updates/products/item/editions/count/count_request_builder.py b/msgraph_beta/generated/admin/windows/updates/products/item/editions/count/count_request_builder.py index 850c3aceb4c..2a0d45965b1 100644 --- a/msgraph_beta/generated/admin/windows/updates/products/item/editions/count/count_request_builder.py +++ b/msgraph_beta/generated/admin/windows/updates/products/item/editions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/admin/windows/updates/products/item/known_issues/count/count_request_builder.py b/msgraph_beta/generated/admin/windows/updates/products/item/known_issues/count/count_request_builder.py index 486a36b51d9..7c5ba8e4c7f 100644 --- a/msgraph_beta/generated/admin/windows/updates/products/item/known_issues/count/count_request_builder.py +++ b/msgraph_beta/generated/admin/windows/updates/products/item/known_issues/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/admin/windows/updates/products/item/microsoft_graph_windows_updates_get_known_issues_by_time_range_with_days_in_past_with_include_all_active/get_known_issues_by_time_range_with_days_in_past_with_include_all_active_get_response.py b/msgraph_beta/generated/admin/windows/updates/products/item/microsoft_graph_windows_updates_get_known_issues_by_time_range_with_days_in_past_with_include_all_active/get_known_issues_by_time_range_with_days_in_past_with_include_all_active_get_response.py index 62395f440d5..04d25e93c79 100644 --- a/msgraph_beta/generated/admin/windows/updates/products/item/microsoft_graph_windows_updates_get_known_issues_by_time_range_with_days_in_past_with_include_all_active/get_known_issues_by_time_range_with_days_in_past_with_include_all_active_get_response.py +++ b/msgraph_beta/generated/admin/windows/updates/products/item/microsoft_graph_windows_updates_get_known_issues_by_time_range_with_days_in_past_with_include_all_active/get_known_issues_by_time_range_with_days_in_past_with_include_all_active_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .......models.windows_updates.known_issue import KnownIssue + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/admin/windows/updates/products/item/revisions/count/count_request_builder.py b/msgraph_beta/generated/admin/windows/updates/products/item/revisions/count/count_request_builder.py index 3e1126e976b..c276e773315 100644 --- a/msgraph_beta/generated/admin/windows/updates/products/item/revisions/count/count_request_builder.py +++ b/msgraph_beta/generated/admin/windows/updates/products/item/revisions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/admin/windows/updates/products/microsoft_graph_windows_updates_find_by_catalog_id_with_catalog_i_d/find_by_catalog_id_with_catalog_i_d_get_response.py b/msgraph_beta/generated/admin/windows/updates/products/microsoft_graph_windows_updates_find_by_catalog_id_with_catalog_i_d/find_by_catalog_id_with_catalog_i_d_get_response.py index 119ce8bae28..e82a38dbda8 100644 --- a/msgraph_beta/generated/admin/windows/updates/products/microsoft_graph_windows_updates_find_by_catalog_id_with_catalog_i_d/find_by_catalog_id_with_catalog_i_d_get_response.py +++ b/msgraph_beta/generated/admin/windows/updates/products/microsoft_graph_windows_updates_find_by_catalog_id_with_catalog_i_d/find_by_catalog_id_with_catalog_i_d_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ......models.windows_updates.product import Product + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/admin/windows/updates/products/microsoft_graph_windows_updates_find_by_kb_number_with_kb_number/find_by_kb_number_with_kb_number_get_response.py b/msgraph_beta/generated/admin/windows/updates/products/microsoft_graph_windows_updates_find_by_kb_number_with_kb_number/find_by_kb_number_with_kb_number_get_response.py index 05561bb1578..53942a9f633 100644 --- a/msgraph_beta/generated/admin/windows/updates/products/microsoft_graph_windows_updates_find_by_kb_number_with_kb_number/find_by_kb_number_with_kb_number_get_response.py +++ b/msgraph_beta/generated/admin/windows/updates/products/microsoft_graph_windows_updates_find_by_kb_number_with_kb_number/find_by_kb_number_with_kb_number_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ......models.windows_updates.product import Product + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/admin/windows/updates/resource_connections/count/count_request_builder.py b/msgraph_beta/generated/admin/windows/updates/resource_connections/count/count_request_builder.py index 00f61a4f51d..36baccfa49e 100644 --- a/msgraph_beta/generated/admin/windows/updates/resource_connections/count/count_request_builder.py +++ b/msgraph_beta/generated/admin/windows/updates/resource_connections/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/admin/windows/updates/resource_connections/item/resource_connection_item_request_builder.py b/msgraph_beta/generated/admin/windows/updates/resource_connections/item/resource_connection_item_request_builder.py index f776920df40..1530b5d8e61 100644 --- a/msgraph_beta/generated/admin/windows/updates/resource_connections/item/resource_connection_item_request_builder.py +++ b/msgraph_beta/generated/admin/windows/updates/resource_connections/item/resource_connection_item_request_builder.py @@ -50,10 +50,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[ResourceConnectionItemRequestBuilderGetQueryParameters]] = None) -> Optional[ResourceConnection]: """ - Read the properties and relationships of an operationalInsightsConnection object. + Read the properties and relationships of a resourceConnection object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ResourceConnection] - Find more info here: https://learn.microsoft.com/graph/api/windowsupdates-operationalinsightsconnection-get?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/windowsupdates-resourceconnection-get?view=graph-rest-beta """ request_info = self.to_get_request_information( request_configuration @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ResourceConnectionItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Read the properties and relationships of an operationalInsightsConnection object. + Read the properties and relationships of a resourceConnection object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -149,7 +149,7 @@ class ResourceConnectionItemRequestBuilderDeleteRequestConfiguration(RequestConf @dataclass class ResourceConnectionItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of an operationalInsightsConnection object. + Read the properties and relationships of a resourceConnection object. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/admin/windows/updates/updatable_assets/count/count_request_builder.py b/msgraph_beta/generated/admin/windows/updates/updatable_assets/count/count_request_builder.py index e9038ba613b..139caae289b 100644 --- a/msgraph_beta/generated/admin/windows/updates/updatable_assets/count/count_request_builder.py +++ b/msgraph_beta/generated/admin/windows/updates/updatable_assets/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/admin/windows/updates/updatable_assets/item/microsoft_graph_windows_updates_add_members/add_members_post_request_body.py b/msgraph_beta/generated/admin/windows/updates/updatable_assets/item/microsoft_graph_windows_updates_add_members/add_members_post_request_body.py index 7594023da1c..898057d8555 100644 --- a/msgraph_beta/generated/admin/windows/updates/updatable_assets/item/microsoft_graph_windows_updates_add_members/add_members_post_request_body.py +++ b/msgraph_beta/generated/admin/windows/updates/updatable_assets/item/microsoft_graph_windows_updates_add_members/add_members_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .......models.windows_updates.updatable_asset import UpdatableAsset + writer.write_collection_of_object_values("assets", self.assets) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/admin/windows/updates/updatable_assets/item/microsoft_graph_windows_updates_remove_members/remove_members_post_request_body.py b/msgraph_beta/generated/admin/windows/updates/updatable_assets/item/microsoft_graph_windows_updates_remove_members/remove_members_post_request_body.py index c2f5e54c746..3fc2b89777a 100644 --- a/msgraph_beta/generated/admin/windows/updates/updatable_assets/item/microsoft_graph_windows_updates_remove_members/remove_members_post_request_body.py +++ b/msgraph_beta/generated/admin/windows/updates/updatable_assets/item/microsoft_graph_windows_updates_remove_members/remove_members_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .......models.windows_updates.updatable_asset import UpdatableAsset + writer.write_collection_of_object_values("assets", self.assets) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/admin/windows/updates/updatable_assets/item/updatable_asset_item_request_builder.py b/msgraph_beta/generated/admin/windows/updates/updatable_assets/item/updatable_asset_item_request_builder.py index 42fac55bdd9..316b5a0e5ea 100644 --- a/msgraph_beta/generated/admin/windows/updates/updatable_assets/item/updatable_asset_item_request_builder.py +++ b/msgraph_beta/generated/admin/windows/updates/updatable_assets/item/updatable_asset_item_request_builder.py @@ -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: """ - Delete an azureADDevice object. When a Microsoft Entra device is deleted, it is unregistered and automatically unenrolled from management for all update categories, as well as removed from every deploymentAudience and updatableAssetGroup. + Delete an updatableAssetGroup object. When an updatableAssetGroup object, its member updatableAsset objects are not deleted. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None - Find more info here: https://learn.microsoft.com/graph/api/windowsupdates-azureaddevice-delete?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/windowsupdates-updatableassetgroup-delete?view=graph-rest-beta """ 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[UpdatableAssetItemRequestBuilderGetQueryParameters]] = None) -> Optional[UpdatableAsset]: """ - Read the properties and relationships of an updatableAsset object. + Read the properties and relationships of an updatableAssetGroup object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UpdatableAsset] - Find more info here: https://learn.microsoft.com/graph/api/windowsupdates-updatableasset-get?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/windowsupdates-updatableassetgroup-get?view=graph-rest-beta """ request_info = self.to_get_request_information( request_configuration @@ -98,7 +98,7 @@ async def patch(self,body: UpdatableAsset, request_configuration: Optional[Reque def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Delete an azureADDevice object. When a Microsoft Entra device is deleted, it is unregistered and automatically unenrolled from management for all update categories, as well as removed from every deploymentAudience and updatableAssetGroup. + Delete an updatableAssetGroup object. When an updatableAssetGroup object, its member updatableAsset objects are not deleted. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -109,7 +109,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[UpdatableAssetItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Read the properties and relationships of an updatableAsset object. + Read the properties and relationships of an updatableAssetGroup object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -189,7 +189,7 @@ class UpdatableAssetItemRequestBuilderDeleteRequestConfiguration(RequestConfigur @dataclass class UpdatableAssetItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of an updatableAsset object. + Read the properties and relationships of an updatableAssetGroup object. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/admin/windows/updates/updatable_assets/microsoft_graph_windows_updates_enroll_assets/enroll_assets_post_request_body.py b/msgraph_beta/generated/admin/windows/updates/updatable_assets/microsoft_graph_windows_updates_enroll_assets/enroll_assets_post_request_body.py index 1a73488c590..5853a4b81fd 100644 --- a/msgraph_beta/generated/admin/windows/updates/updatable_assets/microsoft_graph_windows_updates_enroll_assets/enroll_assets_post_request_body.py +++ b/msgraph_beta/generated/admin/windows/updates/updatable_assets/microsoft_graph_windows_updates_enroll_assets/enroll_assets_post_request_body.py @@ -56,6 +56,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ......models.windows_updates.updatable_asset import UpdatableAsset + from ......models.windows_updates.update_category import UpdateCategory + writer.write_collection_of_object_values("assets", self.assets) writer.write_enum_value("updateCategory", self.update_category) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/admin/windows/updates/updatable_assets/microsoft_graph_windows_updates_enroll_assets_by_id/enroll_assets_by_id_post_request_body.py b/msgraph_beta/generated/admin/windows/updates/updatable_assets/microsoft_graph_windows_updates_enroll_assets_by_id/enroll_assets_by_id_post_request_body.py index ecf5ff9f555..86f936b6e87 100644 --- a/msgraph_beta/generated/admin/windows/updates/updatable_assets/microsoft_graph_windows_updates_enroll_assets_by_id/enroll_assets_by_id_post_request_body.py +++ b/msgraph_beta/generated/admin/windows/updates/updatable_assets/microsoft_graph_windows_updates_enroll_assets_by_id/enroll_assets_by_id_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ......models.windows_updates.update_category import UpdateCategory + writer.write_collection_of_primitive_values("ids", self.ids) writer.write_str_value("memberEntityType", self.member_entity_type) writer.write_enum_value("updateCategory", self.update_category) diff --git a/msgraph_beta/generated/admin/windows/updates/updatable_assets/microsoft_graph_windows_updates_unenroll_assets/unenroll_assets_post_request_body.py b/msgraph_beta/generated/admin/windows/updates/updatable_assets/microsoft_graph_windows_updates_unenroll_assets/unenroll_assets_post_request_body.py index 90a314f8ab4..dff953d9243 100644 --- a/msgraph_beta/generated/admin/windows/updates/updatable_assets/microsoft_graph_windows_updates_unenroll_assets/unenroll_assets_post_request_body.py +++ b/msgraph_beta/generated/admin/windows/updates/updatable_assets/microsoft_graph_windows_updates_unenroll_assets/unenroll_assets_post_request_body.py @@ -56,6 +56,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ......models.windows_updates.updatable_asset import UpdatableAsset + from ......models.windows_updates.update_category import UpdateCategory + writer.write_collection_of_object_values("assets", self.assets) writer.write_enum_value("updateCategory", self.update_category) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/admin/windows/updates/updatable_assets/microsoft_graph_windows_updates_unenroll_assets_by_id/unenroll_assets_by_id_post_request_body.py b/msgraph_beta/generated/admin/windows/updates/updatable_assets/microsoft_graph_windows_updates_unenroll_assets_by_id/unenroll_assets_by_id_post_request_body.py index 454a23e7f01..50741262f02 100644 --- a/msgraph_beta/generated/admin/windows/updates/updatable_assets/microsoft_graph_windows_updates_unenroll_assets_by_id/unenroll_assets_by_id_post_request_body.py +++ b/msgraph_beta/generated/admin/windows/updates/updatable_assets/microsoft_graph_windows_updates_unenroll_assets_by_id/unenroll_assets_by_id_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ......models.windows_updates.update_category import UpdateCategory + writer.write_collection_of_primitive_values("ids", self.ids) writer.write_str_value("memberEntityType", self.member_entity_type) writer.write_enum_value("updateCategory", self.update_category) diff --git a/msgraph_beta/generated/admin/windows/updates/update_policies/count/count_request_builder.py b/msgraph_beta/generated/admin/windows/updates/update_policies/count/count_request_builder.py index 92df4f89298..e12d3f1d97b 100644 --- a/msgraph_beta/generated/admin/windows/updates/update_policies/count/count_request_builder.py +++ b/msgraph_beta/generated/admin/windows/updates/update_policies/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/applicable_content/count/count_request_builder.py b/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/applicable_content/count/count_request_builder.py index 21720b1084f..cf50bd9bb8e 100644 --- a/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/applicable_content/count/count_request_builder.py +++ b/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/applicable_content/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/applicable_content/item/matched_devices/count/count_request_builder.py b/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/applicable_content/item/matched_devices/count/count_request_builder.py index 8c4f85fbc55..f483d257443 100644 --- a/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/applicable_content/item/matched_devices/count/count_request_builder.py +++ b/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/applicable_content/item/matched_devices/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/exclusions/count/count_request_builder.py b/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/exclusions/count/count_request_builder.py index a77a6726325..2505d1c228e 100644 --- a/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/exclusions/count/count_request_builder.py +++ b/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/exclusions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/exclusions/item/microsoft_graph_windows_updates_add_members/add_members_post_request_body.py b/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/exclusions/item/microsoft_graph_windows_updates_add_members/add_members_post_request_body.py index 9c8b532a4c9..eea7e53160d 100644 --- a/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/exclusions/item/microsoft_graph_windows_updates_add_members/add_members_post_request_body.py +++ b/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/exclusions/item/microsoft_graph_windows_updates_add_members/add_members_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ..........models.windows_updates.updatable_asset import UpdatableAsset + writer.write_collection_of_object_values("assets", self.assets) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/exclusions/item/microsoft_graph_windows_updates_remove_members/remove_members_post_request_body.py b/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/exclusions/item/microsoft_graph_windows_updates_remove_members/remove_members_post_request_body.py index 9d89a2ac206..5c606676337 100644 --- a/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/exclusions/item/microsoft_graph_windows_updates_remove_members/remove_members_post_request_body.py +++ b/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/exclusions/item/microsoft_graph_windows_updates_remove_members/remove_members_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ..........models.windows_updates.updatable_asset import UpdatableAsset + writer.write_collection_of_object_values("assets", self.assets) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/exclusions/microsoft_graph_windows_updates_enroll_assets/enroll_assets_post_request_body.py b/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/exclusions/microsoft_graph_windows_updates_enroll_assets/enroll_assets_post_request_body.py index d721e2430d5..fb8e67ac7a3 100644 --- a/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/exclusions/microsoft_graph_windows_updates_enroll_assets/enroll_assets_post_request_body.py +++ b/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/exclusions/microsoft_graph_windows_updates_enroll_assets/enroll_assets_post_request_body.py @@ -56,6 +56,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .........models.windows_updates.updatable_asset import UpdatableAsset + from .........models.windows_updates.update_category import UpdateCategory + writer.write_collection_of_object_values("assets", self.assets) writer.write_enum_value("updateCategory", self.update_category) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/exclusions/microsoft_graph_windows_updates_enroll_assets_by_id/enroll_assets_by_id_post_request_body.py b/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/exclusions/microsoft_graph_windows_updates_enroll_assets_by_id/enroll_assets_by_id_post_request_body.py index 5586b696dbf..39d6a3eec83 100644 --- a/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/exclusions/microsoft_graph_windows_updates_enroll_assets_by_id/enroll_assets_by_id_post_request_body.py +++ b/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/exclusions/microsoft_graph_windows_updates_enroll_assets_by_id/enroll_assets_by_id_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .........models.windows_updates.update_category import UpdateCategory + writer.write_collection_of_primitive_values("ids", self.ids) writer.write_str_value("memberEntityType", self.member_entity_type) writer.write_enum_value("updateCategory", self.update_category) diff --git a/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/exclusions/microsoft_graph_windows_updates_unenroll_assets/unenroll_assets_post_request_body.py b/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/exclusions/microsoft_graph_windows_updates_unenroll_assets/unenroll_assets_post_request_body.py index 7dbc3e48796..0319e78cf91 100644 --- a/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/exclusions/microsoft_graph_windows_updates_unenroll_assets/unenroll_assets_post_request_body.py +++ b/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/exclusions/microsoft_graph_windows_updates_unenroll_assets/unenroll_assets_post_request_body.py @@ -56,6 +56,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .........models.windows_updates.updatable_asset import UpdatableAsset + from .........models.windows_updates.update_category import UpdateCategory + writer.write_collection_of_object_values("assets", self.assets) writer.write_enum_value("updateCategory", self.update_category) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/exclusions/microsoft_graph_windows_updates_unenroll_assets_by_id/unenroll_assets_by_id_post_request_body.py b/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/exclusions/microsoft_graph_windows_updates_unenroll_assets_by_id/unenroll_assets_by_id_post_request_body.py index bb6bb6496c1..6e6533bca63 100644 --- a/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/exclusions/microsoft_graph_windows_updates_unenroll_assets_by_id/unenroll_assets_by_id_post_request_body.py +++ b/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/exclusions/microsoft_graph_windows_updates_unenroll_assets_by_id/unenroll_assets_by_id_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .........models.windows_updates.update_category import UpdateCategory + writer.write_collection_of_primitive_values("ids", self.ids) writer.write_str_value("memberEntityType", self.member_entity_type) writer.write_enum_value("updateCategory", self.update_category) diff --git a/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/members/count/count_request_builder.py b/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/members/count/count_request_builder.py index ba3d6548716..a9c6337ee2b 100644 --- a/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/members/count/count_request_builder.py +++ b/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/members/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/members/item/microsoft_graph_windows_updates_add_members/add_members_post_request_body.py b/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/members/item/microsoft_graph_windows_updates_add_members/add_members_post_request_body.py index 9c8b532a4c9..eea7e53160d 100644 --- a/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/members/item/microsoft_graph_windows_updates_add_members/add_members_post_request_body.py +++ b/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/members/item/microsoft_graph_windows_updates_add_members/add_members_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ..........models.windows_updates.updatable_asset import UpdatableAsset + writer.write_collection_of_object_values("assets", self.assets) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/members/item/microsoft_graph_windows_updates_remove_members/remove_members_post_request_body.py b/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/members/item/microsoft_graph_windows_updates_remove_members/remove_members_post_request_body.py index 9d89a2ac206..5c606676337 100644 --- a/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/members/item/microsoft_graph_windows_updates_remove_members/remove_members_post_request_body.py +++ b/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/members/item/microsoft_graph_windows_updates_remove_members/remove_members_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ..........models.windows_updates.updatable_asset import UpdatableAsset + writer.write_collection_of_object_values("assets", self.assets) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/members/microsoft_graph_windows_updates_enroll_assets/enroll_assets_post_request_body.py b/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/members/microsoft_graph_windows_updates_enroll_assets/enroll_assets_post_request_body.py index d721e2430d5..fb8e67ac7a3 100644 --- a/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/members/microsoft_graph_windows_updates_enroll_assets/enroll_assets_post_request_body.py +++ b/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/members/microsoft_graph_windows_updates_enroll_assets/enroll_assets_post_request_body.py @@ -56,6 +56,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .........models.windows_updates.updatable_asset import UpdatableAsset + from .........models.windows_updates.update_category import UpdateCategory + writer.write_collection_of_object_values("assets", self.assets) writer.write_enum_value("updateCategory", self.update_category) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/members/microsoft_graph_windows_updates_enroll_assets_by_id/enroll_assets_by_id_post_request_body.py b/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/members/microsoft_graph_windows_updates_enroll_assets_by_id/enroll_assets_by_id_post_request_body.py index 5586b696dbf..39d6a3eec83 100644 --- a/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/members/microsoft_graph_windows_updates_enroll_assets_by_id/enroll_assets_by_id_post_request_body.py +++ b/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/members/microsoft_graph_windows_updates_enroll_assets_by_id/enroll_assets_by_id_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .........models.windows_updates.update_category import UpdateCategory + writer.write_collection_of_primitive_values("ids", self.ids) writer.write_str_value("memberEntityType", self.member_entity_type) writer.write_enum_value("updateCategory", self.update_category) diff --git a/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/members/microsoft_graph_windows_updates_unenroll_assets/unenroll_assets_post_request_body.py b/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/members/microsoft_graph_windows_updates_unenroll_assets/unenroll_assets_post_request_body.py index 7dbc3e48796..0319e78cf91 100644 --- a/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/members/microsoft_graph_windows_updates_unenroll_assets/unenroll_assets_post_request_body.py +++ b/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/members/microsoft_graph_windows_updates_unenroll_assets/unenroll_assets_post_request_body.py @@ -56,6 +56,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .........models.windows_updates.updatable_asset import UpdatableAsset + from .........models.windows_updates.update_category import UpdateCategory + writer.write_collection_of_object_values("assets", self.assets) writer.write_enum_value("updateCategory", self.update_category) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/members/microsoft_graph_windows_updates_unenroll_assets_by_id/unenroll_assets_by_id_post_request_body.py b/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/members/microsoft_graph_windows_updates_unenroll_assets_by_id/unenroll_assets_by_id_post_request_body.py index bb6bb6496c1..6e6533bca63 100644 --- a/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/members/microsoft_graph_windows_updates_unenroll_assets_by_id/unenroll_assets_by_id_post_request_body.py +++ b/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/members/microsoft_graph_windows_updates_unenroll_assets_by_id/unenroll_assets_by_id_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .........models.windows_updates.update_category import UpdateCategory + writer.write_collection_of_primitive_values("ids", self.ids) writer.write_str_value("memberEntityType", self.member_entity_type) writer.write_enum_value("updateCategory", self.update_category) diff --git a/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/microsoft_graph_windows_updates_update_audience/update_audience_post_request_body.py b/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/microsoft_graph_windows_updates_update_audience/update_audience_post_request_body.py index 42a803cf398..2189ed0766e 100644 --- a/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/microsoft_graph_windows_updates_update_audience/update_audience_post_request_body.py +++ b/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/microsoft_graph_windows_updates_update_audience/update_audience_post_request_body.py @@ -59,6 +59,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ........models.windows_updates.updatable_asset import UpdatableAsset + writer.write_collection_of_object_values("addExclusions", self.add_exclusions) writer.write_collection_of_object_values("addMembers", self.add_members) writer.write_collection_of_object_values("removeExclusions", self.remove_exclusions) diff --git a/msgraph_beta/generated/admin/windows/updates/update_policies/item/compliance_changes/count/count_request_builder.py b/msgraph_beta/generated/admin/windows/updates/update_policies/item/compliance_changes/count/count_request_builder.py index 480f1319baf..098b7a785bc 100644 --- a/msgraph_beta/generated/admin/windows/updates/update_policies/item/compliance_changes/count/count_request_builder.py +++ b/msgraph_beta/generated/admin/windows/updates/update_policies/item/compliance_changes/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/admin/windows/updates/update_policies/item/compliance_changes/item/compliance_change_item_request_builder.py b/msgraph_beta/generated/admin/windows/updates/update_policies/item/compliance_changes/item/compliance_change_item_request_builder.py index 4ba6cb4534c..8356a280896 100644 --- a/msgraph_beta/generated/admin/windows/updates/update_policies/item/compliance_changes/item/compliance_change_item_request_builder.py +++ b/msgraph_beta/generated/admin/windows/updates/update_policies/item/compliance_changes/item/compliance_change_item_request_builder.py @@ -32,10 +32,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ - Delete a complianceChange object. + Delete a contentApproval object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None - Find more info here: https://learn.microsoft.com/graph/api/windowsupdates-compliancechange-delete?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/windowsupdates-contentapproval-delete?view=graph-rest-beta """ request_info = self.to_delete_request_information( request_configuration @@ -51,10 +51,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[ComplianceChangeItemRequestBuilderGetQueryParameters]] = None) -> Optional[ComplianceChange]: """ - Read the properties and relationships of a complianceChange object. + Read the properties and relationships of a contentApproval object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ComplianceChange] - Find more info here: https://learn.microsoft.com/graph/api/windowsupdates-compliancechange-get?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/windowsupdates-contentapproval-get?view=graph-rest-beta """ request_info = self.to_get_request_information( request_configuration @@ -96,7 +96,7 @@ async def patch(self,body: ComplianceChange, request_configuration: Optional[Req def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Delete a complianceChange object. + Delete a contentApproval object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -107,7 +107,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ComplianceChangeItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Read the properties and relationships of a complianceChange object. + Read the properties and relationships of a contentApproval object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -160,7 +160,7 @@ class ComplianceChangeItemRequestBuilderDeleteRequestConfiguration(RequestConfig @dataclass class ComplianceChangeItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a complianceChange object. + Read the properties and relationships of a contentApproval object. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/administrative_units/administrative_units_request_builder.py b/msgraph_beta/generated/administrative_units/administrative_units_request_builder.py index ee5bf3fcd4e..9a7fc03f8f3 100644 --- a/msgraph_beta/generated/administrative_units/administrative_units_request_builder.py +++ b/msgraph_beta/generated/administrative_units/administrative_units_request_builder.py @@ -73,7 +73,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Administ async def post(self,body: AdministrativeUnit, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[AdministrativeUnit]: """ - Use this API to create a new administrativeUnit. + Create a new administrativeUnit. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AdministrativeUnit] @@ -108,7 +108,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: AdministrativeUnit, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Use this API to create a new administrativeUnit. + Create a new administrativeUnit. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/administrative_units/count/count_request_builder.py b/msgraph_beta/generated/administrative_units/count/count_request_builder.py index 869da6fb068..3d8f2682871 100644 --- a/msgraph_beta/generated/administrative_units/count/count_request_builder.py +++ b/msgraph_beta/generated/administrative_units/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/administrative_units/delta/delta_get_response.py b/msgraph_beta/generated/administrative_units/delta/delta_get_response.py index 92617fbf14a..834785218f2 100644 --- a/msgraph_beta/generated/administrative_units/delta/delta_get_response.py +++ b/msgraph_beta/generated/administrative_units/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ...models.administrative_unit import AdministrativeUnit + from ...models.base_delta_function_response import BaseDeltaFunctionResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/administrative_units/delta/delta_request_builder.py b/msgraph_beta/generated/administrative_units/delta/delta_request_builder.py index 762e8fc07a5..04bcf6c1a4c 100644 --- a/msgraph_beta/generated/administrative_units/delta/delta_request_builder.py +++ b/msgraph_beta/generated/administrative_units/delta/delta_request_builder.py @@ -31,7 +31,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def get(self,request_configuration: Optional[RequestConfiguration[DeltaRequestBuilderGetQueryParameters]] = None) -> Optional[DeltaGetResponse]: """ - Get newly created, updated, or deleted administrativeUnits without having to perform a full read of the entire resource collection. For details, see Using delta query. + Get newly created, updated, or deleted administrativeUnits without having to perform a full read of the entire resource collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeltaGetResponse] Find more info here: https://learn.microsoft.com/graph/api/administrativeunit-delta?view=graph-rest-beta @@ -52,7 +52,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DeltaReq def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[DeltaRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Get newly created, updated, or deleted administrativeUnits without having to perform a full read of the entire resource collection. For details, see Using delta query. + Get newly created, updated, or deleted administrativeUnits without having to perform a full read of the entire resource collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -74,7 +74,7 @@ def with_url(self,raw_url: str) -> DeltaRequestBuilder: @dataclass class DeltaRequestBuilderGetQueryParameters(): """ - Get newly created, updated, or deleted administrativeUnits without having to perform a full read of the entire resource collection. For details, see Using delta query. + Get newly created, updated, or deleted administrativeUnits without having to perform a full read of the entire resource collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/administrative_units/get_by_ids/get_by_ids_post_response.py b/msgraph_beta/generated/administrative_units/get_by_ids/get_by_ids_post_response.py index a3099558efc..488f70f9c5d 100644 --- a/msgraph_beta/generated/administrative_units/get_by_ids/get_by_ids_post_response.py +++ b/msgraph_beta/generated/administrative_units/get_by_ids/get_by_ids_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ...models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ...models.directory_object import DirectoryObject + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/administrative_units/item/check_member_groups/check_member_groups_post_response.py b/msgraph_beta/generated/administrative_units/item/check_member_groups/check_member_groups_post_response.py index cdf041e2573..b2ce0f888c9 100644 --- a/msgraph_beta/generated/administrative_units/item/check_member_groups/check_member_groups_post_response.py +++ b/msgraph_beta/generated/administrative_units/item/check_member_groups/check_member_groups_post_response.py @@ -49,6 +49,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_primitive_values("value", self.value) diff --git a/msgraph_beta/generated/administrative_units/item/check_member_objects/check_member_objects_post_response.py b/msgraph_beta/generated/administrative_units/item/check_member_objects/check_member_objects_post_response.py index 2dc94a92d04..e2a652a7c28 100644 --- a/msgraph_beta/generated/administrative_units/item/check_member_objects/check_member_objects_post_response.py +++ b/msgraph_beta/generated/administrative_units/item/check_member_objects/check_member_objects_post_response.py @@ -49,6 +49,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_primitive_values("value", self.value) diff --git a/msgraph_beta/generated/administrative_units/item/extensions/count/count_request_builder.py b/msgraph_beta/generated/administrative_units/item/extensions/count/count_request_builder.py index 7f17e13db4a..7e3dfdc708b 100644 --- a/msgraph_beta/generated/administrative_units/item/extensions/count/count_request_builder.py +++ b/msgraph_beta/generated/administrative_units/item/extensions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/administrative_units/item/get_member_groups/get_member_groups_post_response.py b/msgraph_beta/generated/administrative_units/item/get_member_groups/get_member_groups_post_response.py index bd4dad887b8..5ac4a9b07d5 100644 --- a/msgraph_beta/generated/administrative_units/item/get_member_groups/get_member_groups_post_response.py +++ b/msgraph_beta/generated/administrative_units/item/get_member_groups/get_member_groups_post_response.py @@ -49,6 +49,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_primitive_values("value", self.value) diff --git a/msgraph_beta/generated/administrative_units/item/get_member_objects/get_member_objects_post_response.py b/msgraph_beta/generated/administrative_units/item/get_member_objects/get_member_objects_post_response.py index fe38b269075..e63599e52a4 100644 --- a/msgraph_beta/generated/administrative_units/item/get_member_objects/get_member_objects_post_response.py +++ b/msgraph_beta/generated/administrative_units/item/get_member_objects/get_member_objects_post_response.py @@ -49,6 +49,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_primitive_values("value", self.value) diff --git a/msgraph_beta/generated/administrative_units/item/members/count/count_request_builder.py b/msgraph_beta/generated/administrative_units/item/members/count/count_request_builder.py index 782b54b3650..2ff1b4b38a5 100644 --- a/msgraph_beta/generated/administrative_units/item/members/count/count_request_builder.py +++ b/msgraph_beta/generated/administrative_units/item/members/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/administrative_units/item/members/graph_application/count/count_request_builder.py b/msgraph_beta/generated/administrative_units/item/members/graph_application/count/count_request_builder.py index 1875c108b5a..168d67e312a 100644 --- a/msgraph_beta/generated/administrative_units/item/members/graph_application/count/count_request_builder.py +++ b/msgraph_beta/generated/administrative_units/item/members/graph_application/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/administrative_units/item/members/graph_device/count/count_request_builder.py b/msgraph_beta/generated/administrative_units/item/members/graph_device/count/count_request_builder.py index d761e882def..60ccb189cc2 100644 --- a/msgraph_beta/generated/administrative_units/item/members/graph_device/count/count_request_builder.py +++ b/msgraph_beta/generated/administrative_units/item/members/graph_device/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/administrative_units/item/members/graph_group/count/count_request_builder.py b/msgraph_beta/generated/administrative_units/item/members/graph_group/count/count_request_builder.py index 7a1e9f63c9c..541a94b8dc4 100644 --- a/msgraph_beta/generated/administrative_units/item/members/graph_group/count/count_request_builder.py +++ b/msgraph_beta/generated/administrative_units/item/members/graph_group/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/administrative_units/item/members/graph_org_contact/count/count_request_builder.py b/msgraph_beta/generated/administrative_units/item/members/graph_org_contact/count/count_request_builder.py index c47e8183f1f..dc76daf8747 100644 --- a/msgraph_beta/generated/administrative_units/item/members/graph_org_contact/count/count_request_builder.py +++ b/msgraph_beta/generated/administrative_units/item/members/graph_org_contact/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/administrative_units/item/members/graph_service_principal/count/count_request_builder.py b/msgraph_beta/generated/administrative_units/item/members/graph_service_principal/count/count_request_builder.py index ac7fa20f131..b3ee2d64569 100644 --- a/msgraph_beta/generated/administrative_units/item/members/graph_service_principal/count/count_request_builder.py +++ b/msgraph_beta/generated/administrative_units/item/members/graph_service_principal/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/administrative_units/item/members/graph_user/count/count_request_builder.py b/msgraph_beta/generated/administrative_units/item/members/graph_user/count/count_request_builder.py index 0e51e49655b..598ffda1683 100644 --- a/msgraph_beta/generated/administrative_units/item/members/graph_user/count/count_request_builder.py +++ b/msgraph_beta/generated/administrative_units/item/members/graph_user/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/administrative_units/item/scoped_role_members/count/count_request_builder.py b/msgraph_beta/generated/administrative_units/item/scoped_role_members/count/count_request_builder.py index adfc7be2d8b..d8943ec12b9 100644 --- a/msgraph_beta/generated/administrative_units/item/scoped_role_members/count/count_request_builder.py +++ b/msgraph_beta/generated/administrative_units/item/scoped_role_members/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/agreements/item/acceptances/count/count_request_builder.py b/msgraph_beta/generated/agreements/item/acceptances/count/count_request_builder.py index bc21198f949..9bc610698ae 100644 --- a/msgraph_beta/generated/agreements/item/acceptances/count/count_request_builder.py +++ b/msgraph_beta/generated/agreements/item/acceptances/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/agreements/item/file/localizations/count/count_request_builder.py b/msgraph_beta/generated/agreements/item/file/localizations/count/count_request_builder.py index f00c3e01a53..748d3f9a1ab 100644 --- a/msgraph_beta/generated/agreements/item/file/localizations/count/count_request_builder.py +++ b/msgraph_beta/generated/agreements/item/file/localizations/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/agreements/item/file/localizations/item/versions/count/count_request_builder.py b/msgraph_beta/generated/agreements/item/file/localizations/item/versions/count/count_request_builder.py index acde136a1cf..ae9bc5c3075 100644 --- a/msgraph_beta/generated/agreements/item/file/localizations/item/versions/count/count_request_builder.py +++ b/msgraph_beta/generated/agreements/item/file/localizations/item/versions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/agreements/item/files/count/count_request_builder.py b/msgraph_beta/generated/agreements/item/files/count/count_request_builder.py index 18caa2c44ce..640d4755ba9 100644 --- a/msgraph_beta/generated/agreements/item/files/count/count_request_builder.py +++ b/msgraph_beta/generated/agreements/item/files/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/agreements/item/files/item/versions/count/count_request_builder.py b/msgraph_beta/generated/agreements/item/files/item/versions/count/count_request_builder.py index 39c62cb0485..6bba0085d3b 100644 --- a/msgraph_beta/generated/agreements/item/files/item/versions/count/count_request_builder.py +++ b/msgraph_beta/generated/agreements/item/files/item/versions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/allowed_data_locations/count/count_request_builder.py b/msgraph_beta/generated/allowed_data_locations/count/count_request_builder.py index 1503cc515de..2145cababdf 100644 --- a/msgraph_beta/generated/allowed_data_locations/count/count_request_builder.py +++ b/msgraph_beta/generated/allowed_data_locations/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/app/calls/count/count_request_builder.py b/msgraph_beta/generated/app/calls/count/count_request_builder.py index 954b1534675..c7743a1fa88 100644 --- a/msgraph_beta/generated/app/calls/count/count_request_builder.py +++ b/msgraph_beta/generated/app/calls/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/app/calls/item/answer/answer_post_request_body.py b/msgraph_beta/generated/app/calls/item/answer/answer_post_request_body.py index 4c50728a178..8776658ad7e 100644 --- a/msgraph_beta/generated/app/calls/item/answer/answer_post_request_body.py +++ b/msgraph_beta/generated/app/calls/item/answer/answer_post_request_body.py @@ -68,6 +68,10 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.incoming_call_options import IncomingCallOptions + from .....models.media_config import MediaConfig + from .....models.modality import Modality + writer.write_collection_of_enum_values("acceptedModalities", self.accepted_modalities) writer.write_object_value("callOptions", self.call_options) writer.write_str_value("callbackUri", self.callback_uri) diff --git a/msgraph_beta/generated/app/calls/item/audio_routing_groups/count/count_request_builder.py b/msgraph_beta/generated/app/calls/item/audio_routing_groups/count/count_request_builder.py index 613c731851b..e9082e3ced7 100644 --- a/msgraph_beta/generated/app/calls/item/audio_routing_groups/count/count_request_builder.py +++ b/msgraph_beta/generated/app/calls/item/audio_routing_groups/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/app/calls/item/change_screen_sharing_role/change_screen_sharing_role_post_request_body.py b/msgraph_beta/generated/app/calls/item/change_screen_sharing_role/change_screen_sharing_role_post_request_body.py index 18051eff7a7..d70369168fa 100644 --- a/msgraph_beta/generated/app/calls/item/change_screen_sharing_role/change_screen_sharing_role_post_request_body.py +++ b/msgraph_beta/generated/app/calls/item/change_screen_sharing_role/change_screen_sharing_role_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.screen_sharing_role import ScreenSharingRole + writer.write_enum_value("role", self.role) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/app/calls/item/content_sharing_sessions/count/count_request_builder.py b/msgraph_beta/generated/app/calls/item/content_sharing_sessions/count/count_request_builder.py index fbb0bfc79df..a3e6852e5e9 100644 --- a/msgraph_beta/generated/app/calls/item/content_sharing_sessions/count/count_request_builder.py +++ b/msgraph_beta/generated/app/calls/item/content_sharing_sessions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/app/calls/item/operations/count/count_request_builder.py b/msgraph_beta/generated/app/calls/item/operations/count/count_request_builder.py index 1ef00104355..fd45f478ef5 100644 --- a/msgraph_beta/generated/app/calls/item/operations/count/count_request_builder.py +++ b/msgraph_beta/generated/app/calls/item/operations/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/app/calls/item/participants/count/count_request_builder.py b/msgraph_beta/generated/app/calls/item/participants/count/count_request_builder.py index 4b07f9008e3..3997b8c1225 100644 --- a/msgraph_beta/generated/app/calls/item/participants/count/count_request_builder.py +++ b/msgraph_beta/generated/app/calls/item/participants/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/app/calls/item/participants/invite/invite_post_request_body.py b/msgraph_beta/generated/app/calls/item/participants/invite/invite_post_request_body.py index d993b28cbb4..7d0db7b0eb8 100644 --- a/msgraph_beta/generated/app/calls/item/participants/invite/invite_post_request_body.py +++ b/msgraph_beta/generated/app/calls/item/participants/invite/invite_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ......models.invitation_participant_info import InvitationParticipantInfo + writer.write_str_value("clientContext", self.client_context) writer.write_collection_of_object_values("participants", self.participants) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/app/calls/item/participants/item/start_hold_music/start_hold_music_post_request_body.py b/msgraph_beta/generated/app/calls/item/participants/item/start_hold_music/start_hold_music_post_request_body.py index 1b0d2d7b64c..5a4c7c8d677 100644 --- a/msgraph_beta/generated/app/calls/item/participants/item/start_hold_music/start_hold_music_post_request_body.py +++ b/msgraph_beta/generated/app/calls/item/participants/item/start_hold_music/start_hold_music_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .......models.prompt import Prompt + writer.write_str_value("clientContext", self.client_context) writer.write_object_value("customPrompt", self.custom_prompt) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/app/calls/item/play_prompt/play_prompt_post_request_body.py b/msgraph_beta/generated/app/calls/item/play_prompt/play_prompt_post_request_body.py index ece3272e74a..a63433e4c5d 100644 --- a/msgraph_beta/generated/app/calls/item/play_prompt/play_prompt_post_request_body.py +++ b/msgraph_beta/generated/app/calls/item/play_prompt/play_prompt_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.prompt import Prompt + writer.write_str_value("clientContext", self.client_context) writer.write_bool_value("loop", self.loop) writer.write_collection_of_object_values("prompts", self.prompts) diff --git a/msgraph_beta/generated/app/calls/item/record/record_post_request_body.py b/msgraph_beta/generated/app/calls/item/record/record_post_request_body.py index a9a526fda7a..2976d54f6bb 100644 --- a/msgraph_beta/generated/app/calls/item/record/record_post_request_body.py +++ b/msgraph_beta/generated/app/calls/item/record/record_post_request_body.py @@ -74,6 +74,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.prompt import Prompt + writer.write_bool_value("bargeInAllowed", self.barge_in_allowed) writer.write_str_value("clientContext", self.client_context) writer.write_int_value("initialSilenceTimeoutInSeconds", self.initial_silence_timeout_in_seconds) diff --git a/msgraph_beta/generated/app/calls/item/record_response/record_response_post_request_body.py b/msgraph_beta/generated/app/calls/item/record_response/record_response_post_request_body.py index 009aef57846..efce4ea9427 100644 --- a/msgraph_beta/generated/app/calls/item/record_response/record_response_post_request_body.py +++ b/msgraph_beta/generated/app/calls/item/record_response/record_response_post_request_body.py @@ -74,6 +74,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.prompt import Prompt + writer.write_bool_value("bargeInAllowed", self.barge_in_allowed) writer.write_str_value("clientContext", self.client_context) writer.write_int_value("initialSilenceTimeoutInSeconds", self.initial_silence_timeout_in_seconds) diff --git a/msgraph_beta/generated/app/calls/item/redirect/redirect_post_request_body.py b/msgraph_beta/generated/app/calls/item/redirect/redirect_post_request_body.py index 542d0281f12..1d1dc3309b8 100644 --- a/msgraph_beta/generated/app/calls/item/redirect/redirect_post_request_body.py +++ b/msgraph_beta/generated/app/calls/item/redirect/redirect_post_request_body.py @@ -68,6 +68,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.call_disposition import CallDisposition + from .....models.invitation_participant_info import InvitationParticipantInfo + writer.write_str_value("callbackUri", self.callback_uri) writer.write_bool_value("maskCallee", self.mask_callee) writer.write_bool_value("maskCaller", self.mask_caller) diff --git a/msgraph_beta/generated/app/calls/item/reject/reject_post_request_body.py b/msgraph_beta/generated/app/calls/item/reject/reject_post_request_body.py index dd3cbf96c3a..e35284bc5f6 100644 --- a/msgraph_beta/generated/app/calls/item/reject/reject_post_request_body.py +++ b/msgraph_beta/generated/app/calls/item/reject/reject_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.reject_reason import RejectReason + writer.write_str_value("callbackUri", self.callback_uri) writer.write_enum_value("reason", self.reason) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/app/calls/item/send_dtmf_tones/send_dtmf_tones_post_request_body.py b/msgraph_beta/generated/app/calls/item/send_dtmf_tones/send_dtmf_tones_post_request_body.py index c8e5430eb22..8ffeb8b5ab9 100644 --- a/msgraph_beta/generated/app/calls/item/send_dtmf_tones/send_dtmf_tones_post_request_body.py +++ b/msgraph_beta/generated/app/calls/item/send_dtmf_tones/send_dtmf_tones_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.tone import Tone + writer.write_str_value("clientContext", self.client_context) writer.write_int_value("delayBetweenTonesMs", self.delay_between_tones_ms) writer.write_collection_of_enum_values("tones", self.tones) diff --git a/msgraph_beta/generated/app/calls/item/transfer/transfer_post_request_body.py b/msgraph_beta/generated/app/calls/item/transfer/transfer_post_request_body.py index 4e83e98763b..d655b345c7b 100644 --- a/msgraph_beta/generated/app/calls/item/transfer/transfer_post_request_body.py +++ b/msgraph_beta/generated/app/calls/item/transfer/transfer_post_request_body.py @@ -56,6 +56,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.invitation_participant_info import InvitationParticipantInfo + from .....models.participant_info import ParticipantInfo + writer.write_object_value("transferTarget", self.transfer_target) writer.write_object_value("transferee", self.transferee) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/app/calls/item/update_recording_status/update_recording_status_post_request_body.py b/msgraph_beta/generated/app/calls/item/update_recording_status/update_recording_status_post_request_body.py index f0363187191..97ee5037a7e 100644 --- a/msgraph_beta/generated/app/calls/item/update_recording_status/update_recording_status_post_request_body.py +++ b/msgraph_beta/generated/app/calls/item/update_recording_status/update_recording_status_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.recording_status import RecordingStatus + writer.write_str_value("clientContext", self.client_context) writer.write_enum_value("status", self.status) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/app/calls/log_teleconference_device_quality/log_teleconference_device_quality_post_request_body.py b/msgraph_beta/generated/app/calls/log_teleconference_device_quality/log_teleconference_device_quality_post_request_body.py index 6cdd783c287..74cd053eb3d 100644 --- a/msgraph_beta/generated/app/calls/log_teleconference_device_quality/log_teleconference_device_quality_post_request_body.py +++ b/msgraph_beta/generated/app/calls/log_teleconference_device_quality/log_teleconference_device_quality_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ....models.teleconference_device_quality import TeleconferenceDeviceQuality + writer.write_object_value("quality", self.quality) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/app/online_meetings/count/count_request_builder.py b/msgraph_beta/generated/app/online_meetings/count/count_request_builder.py index d37fd80e674..6dbbd985aec 100644 --- a/msgraph_beta/generated/app/online_meetings/count/count_request_builder.py +++ b/msgraph_beta/generated/app/online_meetings/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/app/online_meetings/create_or_get/create_or_get_post_request_body.py b/msgraph_beta/generated/app/online_meetings/create_or_get/create_or_get_post_request_body.py index 0cfaaef06c9..ba057caed0e 100644 --- a/msgraph_beta/generated/app/online_meetings/create_or_get/create_or_get_post_request_body.py +++ b/msgraph_beta/generated/app/online_meetings/create_or_get/create_or_get_post_request_body.py @@ -69,6 +69,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ....models.chat_info import ChatInfo + from ....models.meeting_participants import MeetingParticipants + writer.write_object_value("chatInfo", self.chat_info) writer.write_datetime_value("endDateTime", self.end_date_time) writer.write_str_value("externalId", self.external_id) diff --git a/msgraph_beta/generated/app/online_meetings/get_all_recordingsmeeting_organizer_user_id_meeting_organizer_user_id_with_start_date_time_with_end_date_time/get_all_recordingsmeeting_organizer_user_id_meeting_organizer_user_id_with_start_date_time_with_end_date_time_get_response.py b/msgraph_beta/generated/app/online_meetings/get_all_recordingsmeeting_organizer_user_id_meeting_organizer_user_id_with_start_date_time_with_end_date_time/get_all_recordingsmeeting_organizer_user_id_meeting_organizer_user_id_with_start_date_time_with_end_date_time_get_response.py index 313d3203d89..34a51252ebc 100644 --- a/msgraph_beta/generated/app/online_meetings/get_all_recordingsmeeting_organizer_user_id_meeting_organizer_user_id_with_start_date_time_with_end_date_time/get_all_recordingsmeeting_organizer_user_id_meeting_organizer_user_id_with_start_date_time_with_end_date_time_get_response.py +++ b/msgraph_beta/generated/app/online_meetings/get_all_recordingsmeeting_organizer_user_id_meeting_organizer_user_id_with_start_date_time_with_end_date_time/get_all_recordingsmeeting_organizer_user_id_meeting_organizer_user_id_with_start_date_time_with_end_date_time_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ....models.call_recording import CallRecording + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/app/online_meetings/get_all_transcriptsmeeting_organizer_user_id_meeting_organizer_user_id_with_start_date_time_with_end_date_time/get_all_transcriptsmeeting_organizer_user_id_meeting_organizer_user_id_with_start_date_time_with_end_date_time_get_response.py b/msgraph_beta/generated/app/online_meetings/get_all_transcriptsmeeting_organizer_user_id_meeting_organizer_user_id_with_start_date_time_with_end_date_time/get_all_transcriptsmeeting_organizer_user_id_meeting_organizer_user_id_with_start_date_time_with_end_date_time_get_response.py index 98c4ed8ee3a..2281df3dc35 100644 --- a/msgraph_beta/generated/app/online_meetings/get_all_transcriptsmeeting_organizer_user_id_meeting_organizer_user_id_with_start_date_time_with_end_date_time/get_all_transcriptsmeeting_organizer_user_id_meeting_organizer_user_id_with_start_date_time_with_end_date_time_get_response.py +++ b/msgraph_beta/generated/app/online_meetings/get_all_transcriptsmeeting_organizer_user_id_meeting_organizer_user_id_with_start_date_time_with_end_date_time/get_all_transcriptsmeeting_organizer_user_id_meeting_organizer_user_id_with_start_date_time_with_end_date_time_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ....models.call_transcript import CallTranscript + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/app/online_meetings/item/ai_insights/count/count_request_builder.py b/msgraph_beta/generated/app/online_meetings/item/ai_insights/count/count_request_builder.py index 2b0955d9059..4336757f03e 100644 --- a/msgraph_beta/generated/app/online_meetings/item/ai_insights/count/count_request_builder.py +++ b/msgraph_beta/generated/app/online_meetings/item/ai_insights/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/app/online_meetings/item/attendance_reports/count/count_request_builder.py b/msgraph_beta/generated/app/online_meetings/item/attendance_reports/count/count_request_builder.py index 360e174c7df..2924c9eb1ea 100644 --- a/msgraph_beta/generated/app/online_meetings/item/attendance_reports/count/count_request_builder.py +++ b/msgraph_beta/generated/app/online_meetings/item/attendance_reports/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/app/online_meetings/item/attendance_reports/item/attendance_records/count/count_request_builder.py b/msgraph_beta/generated/app/online_meetings/item/attendance_reports/item/attendance_records/count/count_request_builder.py index 24178557a77..4c949ed29fa 100644 --- a/msgraph_beta/generated/app/online_meetings/item/attendance_reports/item/attendance_records/count/count_request_builder.py +++ b/msgraph_beta/generated/app/online_meetings/item/attendance_reports/item/attendance_records/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/app/online_meetings/item/meeting_attendance_report/attendance_records/count/count_request_builder.py b/msgraph_beta/generated/app/online_meetings/item/meeting_attendance_report/attendance_records/count/count_request_builder.py index f7b92cddaa5..99a427e5f1a 100644 --- a/msgraph_beta/generated/app/online_meetings/item/meeting_attendance_report/attendance_records/count/count_request_builder.py +++ b/msgraph_beta/generated/app/online_meetings/item/meeting_attendance_report/attendance_records/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/app/online_meetings/item/recordings/count/count_request_builder.py b/msgraph_beta/generated/app/online_meetings/item/recordings/count/count_request_builder.py index 9e6994df271..d8a3c9f8ac8 100644 --- a/msgraph_beta/generated/app/online_meetings/item/recordings/count/count_request_builder.py +++ b/msgraph_beta/generated/app/online_meetings/item/recordings/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/app/online_meetings/item/recordings/delta/delta_get_response.py b/msgraph_beta/generated/app/online_meetings/item/recordings/delta/delta_get_response.py index 41018427b53..a6940bb8e77 100644 --- a/msgraph_beta/generated/app/online_meetings/item/recordings/delta/delta_get_response.py +++ b/msgraph_beta/generated/app/online_meetings/item/recordings/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ......models.base_delta_function_response import BaseDeltaFunctionResponse + from ......models.call_recording import CallRecording + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/app/online_meetings/item/registration/custom_questions/count/count_request_builder.py b/msgraph_beta/generated/app/online_meetings/item/registration/custom_questions/count/count_request_builder.py index 0f14f2db563..64d006a6f8e 100644 --- a/msgraph_beta/generated/app/online_meetings/item/registration/custom_questions/count/count_request_builder.py +++ b/msgraph_beta/generated/app/online_meetings/item/registration/custom_questions/count/count_request_builder.py @@ -34,6 +34,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -44,7 +45,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ @@ -52,6 +53,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -63,6 +65,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/app/online_meetings/item/registration/custom_questions/custom_questions_request_builder.py b/msgraph_beta/generated/app/online_meetings/item/registration/custom_questions/custom_questions_request_builder.py index 6dc704ae557..a0eb665aa49 100644 --- a/msgraph_beta/generated/app/online_meetings/item/registration/custom_questions/custom_questions_request_builder.py +++ b/msgraph_beta/generated/app/online_meetings/item/registration/custom_questions/custom_questions_request_builder.py @@ -38,6 +38,7 @@ def by_meeting_registration_question_id(self,meeting_registration_question_id: s param meeting_registration_question_id: The unique identifier of meetingRegistrationQuestion Returns: MeetingRegistrationQuestionItemRequestBuilder """ + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) if meeting_registration_question_id is None: raise TypeError("meeting_registration_question_id cannot be null.") from .item.meeting_registration_question_item_request_builder import MeetingRegistrationQuestionItemRequestBuilder @@ -52,6 +53,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CustomQu param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MeetingRegistrationQuestionCollectionResponse] """ + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -73,6 +75,7 @@ async def post(self,body: MeetingRegistrationQuestion, request_configuration: Op param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MeetingRegistrationQuestion] """ + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -95,6 +98,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -107,6 +111,7 @@ def to_post_request_information(self,body: MeetingRegistrationQuestion, request_ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -121,6 +126,7 @@ def with_url(self,raw_url: str) -> CustomQuestionsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CustomQuestionsRequestBuilder """ + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CustomQuestionsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/app/online_meetings/item/registration/custom_questions/item/meeting_registration_question_item_request_builder.py b/msgraph_beta/generated/app/online_meetings/item/registration/custom_questions/item/meeting_registration_question_item_request_builder.py index 18f06943c7f..9409c16a810 100644 --- a/msgraph_beta/generated/app/online_meetings/item/registration/custom_questions/item/meeting_registration_question_item_request_builder.py +++ b/msgraph_beta/generated/app/online_meetings/item/registration/custom_questions/item/meeting_registration_question_item_request_builder.py @@ -35,6 +35,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[MeetingR param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MeetingRegistrationQuestion] """ + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def patch(self,body: MeetingRegistrationQuestion, request_configuration: O param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MeetingRegistrationQuestion] """ + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -96,6 +99,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -107,6 +111,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -119,6 +124,7 @@ def to_patch_request_information(self,body: MeetingRegistrationQuestion, request param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -133,6 +139,7 @@ def with_url(self,raw_url: str) -> MeetingRegistrationQuestionItemRequestBuilder param raw_url: The raw URL to use for the request builder. Returns: MeetingRegistrationQuestionItemRequestBuilder """ + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MeetingRegistrationQuestionItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/app/online_meetings/item/registration/registrants/count/count_request_builder.py b/msgraph_beta/generated/app/online_meetings/item/registration/registrants/count/count_request_builder.py index 03f8a5c1b87..cf52faa1dcc 100644 --- a/msgraph_beta/generated/app/online_meetings/item/registration/registrants/count/count_request_builder.py +++ b/msgraph_beta/generated/app/online_meetings/item/registration/registrants/count/count_request_builder.py @@ -34,6 +34,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -44,7 +45,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ @@ -52,6 +53,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -63,6 +65,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/app/online_meetings/item/registration/registrants/item/meeting_registrant_base_item_request_builder.py b/msgraph_beta/generated/app/online_meetings/item/registration/registrants/item/meeting_registrant_base_item_request_builder.py index 05c52cfb79b..1555457e2ba 100644 --- a/msgraph_beta/generated/app/online_meetings/item/registration/registrants/item/meeting_registrant_base_item_request_builder.py +++ b/msgraph_beta/generated/app/online_meetings/item/registration/registrants/item/meeting_registrant_base_item_request_builder.py @@ -35,6 +35,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[MeetingR param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MeetingRegistrantBase] """ + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def patch(self,body: MeetingRegistrantBase, request_configuration: Optiona param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MeetingRegistrantBase] """ + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -96,6 +99,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -107,6 +111,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -119,6 +124,7 @@ def to_patch_request_information(self,body: MeetingRegistrantBase, request_confi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -133,6 +139,7 @@ def with_url(self,raw_url: str) -> MeetingRegistrantBaseItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: MeetingRegistrantBaseItemRequestBuilder """ + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MeetingRegistrantBaseItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/app/online_meetings/item/registration/registrants/registrants_request_builder.py b/msgraph_beta/generated/app/online_meetings/item/registration/registrants/registrants_request_builder.py index 66d16001466..f3341e2da95 100644 --- a/msgraph_beta/generated/app/online_meetings/item/registration/registrants/registrants_request_builder.py +++ b/msgraph_beta/generated/app/online_meetings/item/registration/registrants/registrants_request_builder.py @@ -38,6 +38,7 @@ def by_meeting_registrant_base_id(self,meeting_registrant_base_id: str) -> Meeti param meeting_registrant_base_id: The unique identifier of meetingRegistrantBase Returns: MeetingRegistrantBaseItemRequestBuilder """ + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) if meeting_registrant_base_id is None: raise TypeError("meeting_registrant_base_id cannot be null.") from .item.meeting_registrant_base_item_request_builder import MeetingRegistrantBaseItemRequestBuilder @@ -52,6 +53,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Registra param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MeetingRegistrantBaseCollectionResponse] """ + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -73,6 +75,7 @@ async def post(self,body: MeetingRegistrantBase, request_configuration: Optional param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MeetingRegistrantBase] """ + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -95,6 +98,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -107,6 +111,7 @@ def to_post_request_information(self,body: MeetingRegistrantBase, request_config param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -121,6 +126,7 @@ def with_url(self,raw_url: str) -> RegistrantsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RegistrantsRequestBuilder """ + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RegistrantsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/app/online_meetings/item/registration/registration_request_builder.py b/msgraph_beta/generated/app/online_meetings/item/registration/registration_request_builder.py index 9e6a7fdd13d..746c28fd318 100644 --- a/msgraph_beta/generated/app/online_meetings/item/registration/registration_request_builder.py +++ b/msgraph_beta/generated/app/online_meetings/item/registration/registration_request_builder.py @@ -37,6 +37,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -55,6 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Registra param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MeetingRegistration] """ + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,6 +78,7 @@ async def patch(self,body: MeetingRegistration, request_configuration: Optional[ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MeetingRegistration] """ + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -98,6 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -109,6 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -121,6 +126,7 @@ def to_patch_request_information(self,body: MeetingRegistration, request_configu param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -135,6 +141,7 @@ def with_url(self,raw_url: str) -> RegistrationRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RegistrationRequestBuilder """ + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RegistrationRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/app/online_meetings/item/send_virtual_appointment_reminder_sms/send_virtual_appointment_reminder_sms_post_request_body.py b/msgraph_beta/generated/app/online_meetings/item/send_virtual_appointment_reminder_sms/send_virtual_appointment_reminder_sms_post_request_body.py index 54f4f997dfa..a8ec8797ffd 100644 --- a/msgraph_beta/generated/app/online_meetings/item/send_virtual_appointment_reminder_sms/send_virtual_appointment_reminder_sms_post_request_body.py +++ b/msgraph_beta/generated/app/online_meetings/item/send_virtual_appointment_reminder_sms/send_virtual_appointment_reminder_sms_post_request_body.py @@ -56,6 +56,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.attendee_notification_info import AttendeeNotificationInfo + from .....models.remind_before_time_in_minutes_type import RemindBeforeTimeInMinutesType + writer.write_collection_of_object_values("attendees", self.attendees) writer.write_enum_value("remindBeforeTimeInMinutesType", self.remind_before_time_in_minutes_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/app/online_meetings/item/send_virtual_appointment_sms/send_virtual_appointment_sms_post_request_body.py b/msgraph_beta/generated/app/online_meetings/item/send_virtual_appointment_sms/send_virtual_appointment_sms_post_request_body.py index de2723f7556..45cfbd9acd8 100644 --- a/msgraph_beta/generated/app/online_meetings/item/send_virtual_appointment_sms/send_virtual_appointment_sms_post_request_body.py +++ b/msgraph_beta/generated/app/online_meetings/item/send_virtual_appointment_sms/send_virtual_appointment_sms_post_request_body.py @@ -56,6 +56,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.attendee_notification_info import AttendeeNotificationInfo + from .....models.virtual_appointment_message_type import VirtualAppointmentMessageType + writer.write_collection_of_object_values("attendees", self.attendees) writer.write_enum_value("messageType", self.message_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/app/online_meetings/item/transcripts/count/count_request_builder.py b/msgraph_beta/generated/app/online_meetings/item/transcripts/count/count_request_builder.py index b95cc86b987..b9ec78a17e8 100644 --- a/msgraph_beta/generated/app/online_meetings/item/transcripts/count/count_request_builder.py +++ b/msgraph_beta/generated/app/online_meetings/item/transcripts/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/app/online_meetings/item/transcripts/delta/delta_get_response.py b/msgraph_beta/generated/app/online_meetings/item/transcripts/delta/delta_get_response.py index 13de0257a7a..5f32f66c343 100644 --- a/msgraph_beta/generated/app/online_meetings/item/transcripts/delta/delta_get_response.py +++ b/msgraph_beta/generated/app/online_meetings/item/transcripts/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ......models.base_delta_function_response import BaseDeltaFunctionResponse + from ......models.call_transcript import CallTranscript + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/app/online_meetings_with_join_web_url/send_virtual_appointment_reminder_sms/send_virtual_appointment_reminder_sms_post_request_body.py b/msgraph_beta/generated/app/online_meetings_with_join_web_url/send_virtual_appointment_reminder_sms/send_virtual_appointment_reminder_sms_post_request_body.py index 10f045bf864..1da10926d4c 100644 --- a/msgraph_beta/generated/app/online_meetings_with_join_web_url/send_virtual_appointment_reminder_sms/send_virtual_appointment_reminder_sms_post_request_body.py +++ b/msgraph_beta/generated/app/online_meetings_with_join_web_url/send_virtual_appointment_reminder_sms/send_virtual_appointment_reminder_sms_post_request_body.py @@ -56,6 +56,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ....models.attendee_notification_info import AttendeeNotificationInfo + from ....models.remind_before_time_in_minutes_type import RemindBeforeTimeInMinutesType + writer.write_collection_of_object_values("attendees", self.attendees) writer.write_enum_value("remindBeforeTimeInMinutesType", self.remind_before_time_in_minutes_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/app/online_meetings_with_join_web_url/send_virtual_appointment_sms/send_virtual_appointment_sms_post_request_body.py b/msgraph_beta/generated/app/online_meetings_with_join_web_url/send_virtual_appointment_sms/send_virtual_appointment_sms_post_request_body.py index 89e1bd79fad..c7bd59a1672 100644 --- a/msgraph_beta/generated/app/online_meetings_with_join_web_url/send_virtual_appointment_sms/send_virtual_appointment_sms_post_request_body.py +++ b/msgraph_beta/generated/app/online_meetings_with_join_web_url/send_virtual_appointment_sms/send_virtual_appointment_sms_post_request_body.py @@ -56,6 +56,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ....models.attendee_notification_info import AttendeeNotificationInfo + from ....models.virtual_appointment_message_type import VirtualAppointmentMessageType + writer.write_collection_of_object_values("attendees", self.attendees) writer.write_enum_value("messageType", self.message_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/app_catalogs/teams_apps/count/count_request_builder.py b/msgraph_beta/generated/app_catalogs/teams_apps/count/count_request_builder.py index c98d568ee9f..eb75bfe2497 100644 --- a/msgraph_beta/generated/app_catalogs/teams_apps/count/count_request_builder.py +++ b/msgraph_beta/generated/app_catalogs/teams_apps/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/app_catalogs/teams_apps/item/app_definitions/count/count_request_builder.py b/msgraph_beta/generated/app_catalogs/teams_apps/item/app_definitions/count/count_request_builder.py index 96f5106ac60..d16f47a9b43 100644 --- a/msgraph_beta/generated/app_catalogs/teams_apps/item/app_definitions/count/count_request_builder.py +++ b/msgraph_beta/generated/app_catalogs/teams_apps/item/app_definitions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/app_catalogs/teams_apps/item/app_definitions/item/dashboard_cards/count/count_request_builder.py b/msgraph_beta/generated/app_catalogs/teams_apps/item/app_definitions/item/dashboard_cards/count/count_request_builder.py index 2db8492bfa0..d2b4b5a0eb3 100644 --- a/msgraph_beta/generated/app_catalogs/teams_apps/item/app_definitions/item/dashboard_cards/count/count_request_builder.py +++ b/msgraph_beta/generated/app_catalogs/teams_apps/item/app_definitions/item/dashboard_cards/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/app_role_assignments/count/count_request_builder.py b/msgraph_beta/generated/app_role_assignments/count/count_request_builder.py index 486f480093c..d1b27d92a8f 100644 --- a/msgraph_beta/generated/app_role_assignments/count/count_request_builder.py +++ b/msgraph_beta/generated/app_role_assignments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/application_templates/count/count_request_builder.py b/msgraph_beta/generated/application_templates/count/count_request_builder.py index 8500967e619..70e5a29167a 100644 --- a/msgraph_beta/generated/application_templates/count/count_request_builder.py +++ b/msgraph_beta/generated/application_templates/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/application_templates/item/instantiate/instantiate_request_builder.py b/msgraph_beta/generated/application_templates/item/instantiate/instantiate_request_builder.py index 4caaf0eb31f..290ead3b39b 100644 --- a/msgraph_beta/generated/application_templates/item/instantiate/instantiate_request_builder.py +++ b/msgraph_beta/generated/application_templates/item/instantiate/instantiate_request_builder.py @@ -32,7 +32,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def post(self,body: InstantiatePostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ApplicationServicePrincipal]: """ - Add an instance of an application from the Microsoft Entra application gallery into your directory. The application template with ID 8adf8e6e-67b2-4cf2-a259-e3dc5476c621 can be used to add a non-gallery app that you can configure different single-sign on (SSO) modes like SAML SSO and password-based SSO. + Add an instance of an application from the Microsoft Entra application gallery into your directory. For non-gallery apps, use an application template with one of the following IDs to configure different single sign-on (SSO) modes like SAML SSO and password-based SSO. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ApplicationServicePrincipal] @@ -56,7 +56,7 @@ async def post(self,body: InstantiatePostRequestBody, request_configuration: Opt def to_post_request_information(self,body: InstantiatePostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Add an instance of an application from the Microsoft Entra application gallery into your directory. The application template with ID 8adf8e6e-67b2-4cf2-a259-e3dc5476c621 can be used to add a non-gallery app that you can configure different single-sign on (SSO) modes like SAML SSO and password-based SSO. + Add an instance of an application from the Microsoft Entra application gallery into your directory. For non-gallery apps, use an application template with one of the following IDs to configure different single sign-on (SSO) modes like SAML SSO and password-based SSO. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/applications/count/count_request_builder.py b/msgraph_beta/generated/applications/count/count_request_builder.py index c14ea774207..e7cf76154fb 100644 --- a/msgraph_beta/generated/applications/count/count_request_builder.py +++ b/msgraph_beta/generated/applications/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/applications/delta/delta_get_response.py b/msgraph_beta/generated/applications/delta/delta_get_response.py index 1e4264638a1..4855f16bd61 100644 --- a/msgraph_beta/generated/applications/delta/delta_get_response.py +++ b/msgraph_beta/generated/applications/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ...models.application import Application + from ...models.base_delta_function_response import BaseDeltaFunctionResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/applications/delta/delta_request_builder.py b/msgraph_beta/generated/applications/delta/delta_request_builder.py index b07699ab1ef..60c953b960c 100644 --- a/msgraph_beta/generated/applications/delta/delta_request_builder.py +++ b/msgraph_beta/generated/applications/delta/delta_request_builder.py @@ -31,7 +31,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def get(self,request_configuration: Optional[RequestConfiguration[DeltaRequestBuilderGetQueryParameters]] = None) -> Optional[DeltaGetResponse]: """ - Get newly created, updated, or deleted applications without having to perform a full read of the entire resource collection. See Using Delta Query for details. + Get newly created, updated, or deleted applications without having to perform a full read of the entire resource collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeltaGetResponse] Find more info here: https://learn.microsoft.com/graph/api/application-delta?view=graph-rest-beta @@ -52,7 +52,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DeltaReq def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[DeltaRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Get newly created, updated, or deleted applications without having to perform a full read of the entire resource collection. See Using Delta Query for details. + Get newly created, updated, or deleted applications without having to perform a full read of the entire resource collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -74,7 +74,7 @@ def with_url(self,raw_url: str) -> DeltaRequestBuilder: @dataclass class DeltaRequestBuilderGetQueryParameters(): """ - Get newly created, updated, or deleted applications without having to perform a full read of the entire resource collection. See Using Delta Query for details. + Get newly created, updated, or deleted applications without having to perform a full read of the entire resource collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/applications/get_by_ids/get_by_ids_post_response.py b/msgraph_beta/generated/applications/get_by_ids/get_by_ids_post_response.py index a3099558efc..488f70f9c5d 100644 --- a/msgraph_beta/generated/applications/get_by_ids/get_by_ids_post_response.py +++ b/msgraph_beta/generated/applications/get_by_ids/get_by_ids_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ...models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ...models.directory_object import DirectoryObject + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/applications/item/add_key/add_key_post_request_body.py b/msgraph_beta/generated/applications/item/add_key/add_key_post_request_body.py index 31135fa4058..8e090f05906 100644 --- a/msgraph_beta/generated/applications/item/add_key/add_key_post_request_body.py +++ b/msgraph_beta/generated/applications/item/add_key/add_key_post_request_body.py @@ -59,6 +59,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ....models.key_credential import KeyCredential + from ....models.password_credential import PasswordCredential + writer.write_object_value("keyCredential", self.key_credential) writer.write_object_value("passwordCredential", self.password_credential) writer.write_str_value("proof", self.proof) diff --git a/msgraph_beta/generated/applications/item/add_password/add_password_post_request_body.py b/msgraph_beta/generated/applications/item/add_password/add_password_post_request_body.py index 3b83892ef80..17813675d07 100644 --- a/msgraph_beta/generated/applications/item/add_password/add_password_post_request_body.py +++ b/msgraph_beta/generated/applications/item/add_password/add_password_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ....models.password_credential import PasswordCredential + writer.write_object_value("passwordCredential", self.password_credential) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/applications/item/app_management_policies/count/count_request_builder.py b/msgraph_beta/generated/applications/item/app_management_policies/count/count_request_builder.py index 7dc031782df..f26fca6e6d2 100644 --- a/msgraph_beta/generated/applications/item/app_management_policies/count/count_request_builder.py +++ b/msgraph_beta/generated/applications/item/app_management_policies/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/applications/item/check_member_groups/check_member_groups_post_response.py b/msgraph_beta/generated/applications/item/check_member_groups/check_member_groups_post_response.py index cdf041e2573..b2ce0f888c9 100644 --- a/msgraph_beta/generated/applications/item/check_member_groups/check_member_groups_post_response.py +++ b/msgraph_beta/generated/applications/item/check_member_groups/check_member_groups_post_response.py @@ -49,6 +49,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_primitive_values("value", self.value) diff --git a/msgraph_beta/generated/applications/item/check_member_objects/check_member_objects_post_response.py b/msgraph_beta/generated/applications/item/check_member_objects/check_member_objects_post_response.py index 2dc94a92d04..e2a652a7c28 100644 --- a/msgraph_beta/generated/applications/item/check_member_objects/check_member_objects_post_response.py +++ b/msgraph_beta/generated/applications/item/check_member_objects/check_member_objects_post_response.py @@ -49,6 +49,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_primitive_values("value", self.value) diff --git a/msgraph_beta/generated/applications/item/connector_group/ref/ref_request_builder.py b/msgraph_beta/generated/applications/item/connector_group/ref/ref_request_builder.py index 674ca9d5cc6..c5603d4a7d3 100644 --- a/msgraph_beta/generated/applications/item/connector_group/ref/ref_request_builder.py +++ b/msgraph_beta/generated/applications/item/connector_group/ref/ref_request_builder.py @@ -63,7 +63,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[QueryPar } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "str", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, str, error_mapping) async def put(self,body: ReferenceUpdate, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ diff --git a/msgraph_beta/generated/applications/item/extension_properties/count/count_request_builder.py b/msgraph_beta/generated/applications/item/extension_properties/count/count_request_builder.py index 61f8ed9a04b..aca5abf6689 100644 --- a/msgraph_beta/generated/applications/item/extension_properties/count/count_request_builder.py +++ b/msgraph_beta/generated/applications/item/extension_properties/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/applications/item/federated_identity_credentials/count/count_request_builder.py b/msgraph_beta/generated/applications/item/federated_identity_credentials/count/count_request_builder.py index 99888205570..b12ebda1065 100644 --- a/msgraph_beta/generated/applications/item/federated_identity_credentials/count/count_request_builder.py +++ b/msgraph_beta/generated/applications/item/federated_identity_credentials/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/applications/item/get_member_groups/get_member_groups_post_response.py b/msgraph_beta/generated/applications/item/get_member_groups/get_member_groups_post_response.py index bd4dad887b8..5ac4a9b07d5 100644 --- a/msgraph_beta/generated/applications/item/get_member_groups/get_member_groups_post_response.py +++ b/msgraph_beta/generated/applications/item/get_member_groups/get_member_groups_post_response.py @@ -49,6 +49,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_primitive_values("value", self.value) diff --git a/msgraph_beta/generated/applications/item/get_member_objects/get_member_objects_post_response.py b/msgraph_beta/generated/applications/item/get_member_objects/get_member_objects_post_response.py index fe38b269075..e63599e52a4 100644 --- a/msgraph_beta/generated/applications/item/get_member_objects/get_member_objects_post_response.py +++ b/msgraph_beta/generated/applications/item/get_member_objects/get_member_objects_post_response.py @@ -49,6 +49,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_primitive_values("value", self.value) diff --git a/msgraph_beta/generated/applications/item/home_realm_discovery_policies/count/count_request_builder.py b/msgraph_beta/generated/applications/item/home_realm_discovery_policies/count/count_request_builder.py index ac88b0ea0c1..03c3a4a824b 100644 --- a/msgraph_beta/generated/applications/item/home_realm_discovery_policies/count/count_request_builder.py +++ b/msgraph_beta/generated/applications/item/home_realm_discovery_policies/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/applications/item/owners/count/count_request_builder.py b/msgraph_beta/generated/applications/item/owners/count/count_request_builder.py index fbb3b93c9a0..d28baac828f 100644 --- a/msgraph_beta/generated/applications/item/owners/count/count_request_builder.py +++ b/msgraph_beta/generated/applications/item/owners/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/applications/item/owners/graph_endpoint/count/count_request_builder.py b/msgraph_beta/generated/applications/item/owners/graph_endpoint/count/count_request_builder.py index 5e09ac45b71..99a897f843d 100644 --- a/msgraph_beta/generated/applications/item/owners/graph_endpoint/count/count_request_builder.py +++ b/msgraph_beta/generated/applications/item/owners/graph_endpoint/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/applications/item/owners/graph_service_principal/count/count_request_builder.py b/msgraph_beta/generated/applications/item/owners/graph_service_principal/count/count_request_builder.py index 8b475527729..53c652eb5f8 100644 --- a/msgraph_beta/generated/applications/item/owners/graph_service_principal/count/count_request_builder.py +++ b/msgraph_beta/generated/applications/item/owners/graph_service_principal/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/applications/item/owners/graph_user/count/count_request_builder.py b/msgraph_beta/generated/applications/item/owners/graph_user/count/count_request_builder.py index a279c883a86..b8dddefb0a8 100644 --- a/msgraph_beta/generated/applications/item/owners/graph_user/count/count_request_builder.py +++ b/msgraph_beta/generated/applications/item/owners/graph_user/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/applications/item/synchronization/acquire_access_token/acquire_access_token_post_request_body.py b/msgraph_beta/generated/applications/item/synchronization/acquire_access_token/acquire_access_token_post_request_body.py index d7cf170dfdd..e4abf15eda1 100644 --- a/msgraph_beta/generated/applications/item/synchronization/acquire_access_token/acquire_access_token_post_request_body.py +++ b/msgraph_beta/generated/applications/item/synchronization/acquire_access_token/acquire_access_token_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.synchronization_secret_key_string_value_pair import SynchronizationSecretKeyStringValuePair + writer.write_collection_of_object_values("credentials", self.credentials) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/applications/item/synchronization/jobs/count/count_request_builder.py b/msgraph_beta/generated/applications/item/synchronization/jobs/count/count_request_builder.py index c96d14ec46c..502e86c3930 100644 --- a/msgraph_beta/generated/applications/item/synchronization/jobs/count/count_request_builder.py +++ b/msgraph_beta/generated/applications/item/synchronization/jobs/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/applications/item/synchronization/jobs/item/provision_on_demand/provision_on_demand_post_request_body.py b/msgraph_beta/generated/applications/item/synchronization/jobs/item/provision_on_demand/provision_on_demand_post_request_body.py index 2972750d7fa..68bcfb54fd9 100644 --- a/msgraph_beta/generated/applications/item/synchronization/jobs/item/provision_on_demand/provision_on_demand_post_request_body.py +++ b/msgraph_beta/generated/applications/item/synchronization/jobs/item/provision_on_demand/provision_on_demand_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .......models.synchronization_job_application_parameters import SynchronizationJobApplicationParameters + writer.write_collection_of_object_values("parameters", self.parameters) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/applications/item/synchronization/jobs/item/restart/restart_post_request_body.py b/msgraph_beta/generated/applications/item/synchronization/jobs/item/restart/restart_post_request_body.py index 536e2bc3ed4..88cf38e1bb6 100644 --- a/msgraph_beta/generated/applications/item/synchronization/jobs/item/restart/restart_post_request_body.py +++ b/msgraph_beta/generated/applications/item/synchronization/jobs/item/restart/restart_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .......models.synchronization_job_restart_criteria import SynchronizationJobRestartCriteria + writer.write_object_value("criteria", self.criteria) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/applications/item/synchronization/jobs/item/schema/directories/count/count_request_builder.py b/msgraph_beta/generated/applications/item/synchronization/jobs/item/schema/directories/count/count_request_builder.py index 51075fac6a7..bddf01237ae 100644 --- a/msgraph_beta/generated/applications/item/synchronization/jobs/item/schema/directories/count/count_request_builder.py +++ b/msgraph_beta/generated/applications/item/synchronization/jobs/item/schema/directories/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/applications/item/synchronization/jobs/item/schema/filter_operators/filter_operators_get_response.py b/msgraph_beta/generated/applications/item/synchronization/jobs/item/schema/filter_operators/filter_operators_get_response.py index f7e2c714fd6..f2423394563 100644 --- a/msgraph_beta/generated/applications/item/synchronization/jobs/item/schema/filter_operators/filter_operators_get_response.py +++ b/msgraph_beta/generated/applications/item/synchronization/jobs/item/schema/filter_operators/filter_operators_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ........models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ........models.filter_operator_schema import FilterOperatorSchema + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/applications/item/synchronization/jobs/item/schema/functions/functions_get_response.py b/msgraph_beta/generated/applications/item/synchronization/jobs/item/schema/functions/functions_get_response.py index 7225d7c0849..8639a28c4a2 100644 --- a/msgraph_beta/generated/applications/item/synchronization/jobs/item/schema/functions/functions_get_response.py +++ b/msgraph_beta/generated/applications/item/synchronization/jobs/item/schema/functions/functions_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ........models.attribute_mapping_function_schema import AttributeMappingFunctionSchema + from ........models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/applications/item/synchronization/jobs/item/schema/parse_expression/parse_expression_post_request_body.py b/msgraph_beta/generated/applications/item/synchronization/jobs/item/schema/parse_expression/parse_expression_post_request_body.py index d17ce700f57..232d4496937 100644 --- a/msgraph_beta/generated/applications/item/synchronization/jobs/item/schema/parse_expression/parse_expression_post_request_body.py +++ b/msgraph_beta/generated/applications/item/synchronization/jobs/item/schema/parse_expression/parse_expression_post_request_body.py @@ -59,6 +59,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ........models.attribute_definition import AttributeDefinition + from ........models.expression_input_object import ExpressionInputObject + writer.write_str_value("expression", self.expression) writer.write_object_value("targetAttributeDefinition", self.target_attribute_definition) writer.write_object_value("testInputObject", self.test_input_object) diff --git a/msgraph_beta/generated/applications/item/synchronization/jobs/item/validate_credentials/validate_credentials_post_request_body.py b/msgraph_beta/generated/applications/item/synchronization/jobs/item/validate_credentials/validate_credentials_post_request_body.py index 131044cb3bf..16622387b04 100644 --- a/msgraph_beta/generated/applications/item/synchronization/jobs/item/validate_credentials/validate_credentials_post_request_body.py +++ b/msgraph_beta/generated/applications/item/synchronization/jobs/item/validate_credentials/validate_credentials_post_request_body.py @@ -59,6 +59,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .......models.synchronization_secret_key_string_value_pair import SynchronizationSecretKeyStringValuePair + writer.write_str_value("applicationIdentifier", self.application_identifier) writer.write_collection_of_object_values("credentials", self.credentials) writer.write_str_value("templateId", self.template_id) diff --git a/msgraph_beta/generated/applications/item/synchronization/jobs/validate_credentials/validate_credentials_post_request_body.py b/msgraph_beta/generated/applications/item/synchronization/jobs/validate_credentials/validate_credentials_post_request_body.py index 06b31625786..ccb685c1e6c 100644 --- a/msgraph_beta/generated/applications/item/synchronization/jobs/validate_credentials/validate_credentials_post_request_body.py +++ b/msgraph_beta/generated/applications/item/synchronization/jobs/validate_credentials/validate_credentials_post_request_body.py @@ -59,6 +59,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ......models.synchronization_secret_key_string_value_pair import SynchronizationSecretKeyStringValuePair + writer.write_str_value("applicationIdentifier", self.application_identifier) writer.write_collection_of_object_values("credentials", self.credentials) writer.write_str_value("templateId", self.template_id) diff --git a/msgraph_beta/generated/applications/item/synchronization/secrets/count/count_request_builder.py b/msgraph_beta/generated/applications/item/synchronization/secrets/count/count_request_builder.py index 7be296918eb..2d4ce108ded 100644 --- a/msgraph_beta/generated/applications/item/synchronization/secrets/count/count_request_builder.py +++ b/msgraph_beta/generated/applications/item/synchronization/secrets/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/applications/item/synchronization/secrets/secrets_put_request_body.py b/msgraph_beta/generated/applications/item/synchronization/secrets/secrets_put_request_body.py index e81fe020b4f..5b06a03a70b 100644 --- a/msgraph_beta/generated/applications/item/synchronization/secrets/secrets_put_request_body.py +++ b/msgraph_beta/generated/applications/item/synchronization/secrets/secrets_put_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.synchronization_secret_key_string_value_pair import SynchronizationSecretKeyStringValuePair + writer.write_collection_of_object_values("value", self.value) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/applications/item/synchronization/secrets/secrets_put_response.py b/msgraph_beta/generated/applications/item/synchronization/secrets/secrets_put_response.py index 9090b659780..6d986b75609 100644 --- a/msgraph_beta/generated/applications/item/synchronization/secrets/secrets_put_response.py +++ b/msgraph_beta/generated/applications/item/synchronization/secrets/secrets_put_response.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.synchronization_secret_key_string_value_pair import SynchronizationSecretKeyStringValuePair + writer.write_collection_of_object_values("value", self.value) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/applications/item/synchronization/templates/count/count_request_builder.py b/msgraph_beta/generated/applications/item/synchronization/templates/count/count_request_builder.py index c9889c9bd4c..3bb640cd516 100644 --- a/msgraph_beta/generated/applications/item/synchronization/templates/count/count_request_builder.py +++ b/msgraph_beta/generated/applications/item/synchronization/templates/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/applications/item/synchronization/templates/item/schema/directories/count/count_request_builder.py b/msgraph_beta/generated/applications/item/synchronization/templates/item/schema/directories/count/count_request_builder.py index 21db57c9a84..17cc0500303 100644 --- a/msgraph_beta/generated/applications/item/synchronization/templates/item/schema/directories/count/count_request_builder.py +++ b/msgraph_beta/generated/applications/item/synchronization/templates/item/schema/directories/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/applications/item/synchronization/templates/item/schema/filter_operators/filter_operators_get_response.py b/msgraph_beta/generated/applications/item/synchronization/templates/item/schema/filter_operators/filter_operators_get_response.py index f7e2c714fd6..f2423394563 100644 --- a/msgraph_beta/generated/applications/item/synchronization/templates/item/schema/filter_operators/filter_operators_get_response.py +++ b/msgraph_beta/generated/applications/item/synchronization/templates/item/schema/filter_operators/filter_operators_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ........models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ........models.filter_operator_schema import FilterOperatorSchema + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/applications/item/synchronization/templates/item/schema/functions/functions_get_response.py b/msgraph_beta/generated/applications/item/synchronization/templates/item/schema/functions/functions_get_response.py index 7225d7c0849..8639a28c4a2 100644 --- a/msgraph_beta/generated/applications/item/synchronization/templates/item/schema/functions/functions_get_response.py +++ b/msgraph_beta/generated/applications/item/synchronization/templates/item/schema/functions/functions_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ........models.attribute_mapping_function_schema import AttributeMappingFunctionSchema + from ........models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/applications/item/synchronization/templates/item/schema/parse_expression/parse_expression_post_request_body.py b/msgraph_beta/generated/applications/item/synchronization/templates/item/schema/parse_expression/parse_expression_post_request_body.py index d17ce700f57..232d4496937 100644 --- a/msgraph_beta/generated/applications/item/synchronization/templates/item/schema/parse_expression/parse_expression_post_request_body.py +++ b/msgraph_beta/generated/applications/item/synchronization/templates/item/schema/parse_expression/parse_expression_post_request_body.py @@ -59,6 +59,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ........models.attribute_definition import AttributeDefinition + from ........models.expression_input_object import ExpressionInputObject + writer.write_str_value("expression", self.expression) writer.write_object_value("targetAttributeDefinition", self.target_attribute_definition) writer.write_object_value("testInputObject", self.test_input_object) diff --git a/msgraph_beta/generated/applications/item/token_issuance_policies/count/count_request_builder.py b/msgraph_beta/generated/applications/item/token_issuance_policies/count/count_request_builder.py index fa5eb5c174d..a8b584e2062 100644 --- a/msgraph_beta/generated/applications/item/token_issuance_policies/count/count_request_builder.py +++ b/msgraph_beta/generated/applications/item/token_issuance_policies/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/applications/item/token_lifetime_policies/count/count_request_builder.py b/msgraph_beta/generated/applications/item/token_lifetime_policies/count/count_request_builder.py index 0658a31bd07..d769659e106 100644 --- a/msgraph_beta/generated/applications/item/token_lifetime_policies/count/count_request_builder.py +++ b/msgraph_beta/generated/applications/item/token_lifetime_policies/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/approval_workflow_providers/count/count_request_builder.py b/msgraph_beta/generated/approval_workflow_providers/count/count_request_builder.py index de0120fda4d..4b4904fb49b 100644 --- a/msgraph_beta/generated/approval_workflow_providers/count/count_request_builder.py +++ b/msgraph_beta/generated/approval_workflow_providers/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/approval_workflow_providers/item/business_flows/count/count_request_builder.py b/msgraph_beta/generated/approval_workflow_providers/item/business_flows/count/count_request_builder.py index 81dbb832eea..6c714b85700 100644 --- a/msgraph_beta/generated/approval_workflow_providers/item/business_flows/count/count_request_builder.py +++ b/msgraph_beta/generated/approval_workflow_providers/item/business_flows/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/approval_workflow_providers/item/business_flows_with_requests_awaiting_my_decision/count/count_request_builder.py b/msgraph_beta/generated/approval_workflow_providers/item/business_flows_with_requests_awaiting_my_decision/count/count_request_builder.py index 57ab5165bf1..f380ab4df91 100644 --- a/msgraph_beta/generated/approval_workflow_providers/item/business_flows_with_requests_awaiting_my_decision/count/count_request_builder.py +++ b/msgraph_beta/generated/approval_workflow_providers/item/business_flows_with_requests_awaiting_my_decision/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/approval_workflow_providers/item/policy_templates/count/count_request_builder.py b/msgraph_beta/generated/approval_workflow_providers/item/policy_templates/count/count_request_builder.py index b35a0309a4c..04d12b67878 100644 --- a/msgraph_beta/generated/approval_workflow_providers/item/policy_templates/count/count_request_builder.py +++ b/msgraph_beta/generated/approval_workflow_providers/item/policy_templates/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/audit_logs/custom_security_attribute_audits/count/count_request_builder.py b/msgraph_beta/generated/audit_logs/custom_security_attribute_audits/count/count_request_builder.py index 433f078f8a7..60d1d32fd4b 100644 --- a/msgraph_beta/generated/audit_logs/custom_security_attribute_audits/count/count_request_builder.py +++ b/msgraph_beta/generated/audit_logs/custom_security_attribute_audits/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/audit_logs/directory_audits/count/count_request_builder.py b/msgraph_beta/generated/audit_logs/directory_audits/count/count_request_builder.py index e7b0d8e78d4..c12bb781b1b 100644 --- a/msgraph_beta/generated/audit_logs/directory_audits/count/count_request_builder.py +++ b/msgraph_beta/generated/audit_logs/directory_audits/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/audit_logs/directory_provisioning/count/count_request_builder.py b/msgraph_beta/generated/audit_logs/directory_provisioning/count/count_request_builder.py index 942a3c484fd..d4ed0649b44 100644 --- a/msgraph_beta/generated/audit_logs/directory_provisioning/count/count_request_builder.py +++ b/msgraph_beta/generated/audit_logs/directory_provisioning/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/audit_logs/provisioning/count/count_request_builder.py b/msgraph_beta/generated/audit_logs/provisioning/count/count_request_builder.py index 6cf66b41297..11043a4ea64 100644 --- a/msgraph_beta/generated/audit_logs/provisioning/count/count_request_builder.py +++ b/msgraph_beta/generated/audit_logs/provisioning/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/audit_logs/sign_ins/count/count_request_builder.py b/msgraph_beta/generated/audit_logs/sign_ins/count/count_request_builder.py index c6a3b629395..48091bfc955 100644 --- a/msgraph_beta/generated/audit_logs/sign_ins/count/count_request_builder.py +++ b/msgraph_beta/generated/audit_logs/sign_ins/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/authentication_method_configurations/count/count_request_builder.py b/msgraph_beta/generated/authentication_method_configurations/count/count_request_builder.py index 112af06ac3c..ac21c65902c 100644 --- a/msgraph_beta/generated/authentication_method_configurations/count/count_request_builder.py +++ b/msgraph_beta/generated/authentication_method_configurations/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/authentication_methods_policy/authentication_method_configurations/count/count_request_builder.py b/msgraph_beta/generated/authentication_methods_policy/authentication_method_configurations/count/count_request_builder.py index 2c76d12ed5f..53f48eeffe9 100644 --- a/msgraph_beta/generated/authentication_methods_policy/authentication_method_configurations/count/count_request_builder.py +++ b/msgraph_beta/generated/authentication_methods_policy/authentication_method_configurations/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/base_graph_service_client.py b/msgraph_beta/generated/base_graph_service_client.py index 0f77ac0b57f..7a818fcd326 100644 --- a/msgraph_beta/generated/base_graph_service_client.py +++ b/msgraph_beta/generated/base_graph_service_client.py @@ -136,6 +136,7 @@ from .threat_submission.threat_submission_request_builder import ThreatSubmissionRequestBuilder from .trust_framework.trust_framework_request_builder import TrustFrameworkRequestBuilder from .users.users_request_builder import UsersRequestBuilder + from .users_with_user_principal_name.users_with_user_principal_name_request_builder import UsersWithUserPrincipalNameRequestBuilder from .workplace.workplace_request_builder import WorkplaceRequestBuilder class BaseGraphServiceClient(BaseRequestBuilder): @@ -248,6 +249,18 @@ def service_principals_with_app_id(self,app_id: str) -> ServicePrincipalsWithApp return ServicePrincipalsWithAppIdRequestBuilder(self.request_adapter, self.path_parameters, app_id) + def users_with_user_principal_name(self,user_principal_name: str) -> UsersWithUserPrincipalNameRequestBuilder: + """ + Provides operations to manage the collection of user entities. + param user_principal_name: Alternate key of user + Returns: UsersWithUserPrincipalNameRequestBuilder + """ + if user_principal_name is None: + raise TypeError("user_principal_name cannot be null.") + from .users_with_user_principal_name.users_with_user_principal_name_request_builder import UsersWithUserPrincipalNameRequestBuilder + + return UsersWithUserPrincipalNameRequestBuilder(self.request_adapter, self.path_parameters, user_principal_name) + @property def access_review_decisions(self) -> AccessReviewDecisionsRequestBuilder: """ diff --git a/msgraph_beta/generated/booking_businesses/count/count_request_builder.py b/msgraph_beta/generated/booking_businesses/count/count_request_builder.py index 37240c19a7a..51d07a78e0b 100644 --- a/msgraph_beta/generated/booking_businesses/count/count_request_builder.py +++ b/msgraph_beta/generated/booking_businesses/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/booking_businesses/item/appointments/count/count_request_builder.py b/msgraph_beta/generated/booking_businesses/item/appointments/count/count_request_builder.py index 5de25fb688d..03782d40325 100644 --- a/msgraph_beta/generated/booking_businesses/item/appointments/count/count_request_builder.py +++ b/msgraph_beta/generated/booking_businesses/item/appointments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/booking_businesses/item/calendar_view/count/count_request_builder.py b/msgraph_beta/generated/booking_businesses/item/calendar_view/count/count_request_builder.py index 27f2c14dc60..76f11779d59 100644 --- a/msgraph_beta/generated/booking_businesses/item/calendar_view/count/count_request_builder.py +++ b/msgraph_beta/generated/booking_businesses/item/calendar_view/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/booking_businesses/item/custom_questions/count/count_request_builder.py b/msgraph_beta/generated/booking_businesses/item/custom_questions/count/count_request_builder.py index 7ea4a1d4d3c..dfb80bea38b 100644 --- a/msgraph_beta/generated/booking_businesses/item/custom_questions/count/count_request_builder.py +++ b/msgraph_beta/generated/booking_businesses/item/custom_questions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/booking_businesses/item/customers/count/count_request_builder.py b/msgraph_beta/generated/booking_businesses/item/customers/count/count_request_builder.py index cf951bfafa2..364c92c4869 100644 --- a/msgraph_beta/generated/booking_businesses/item/customers/count/count_request_builder.py +++ b/msgraph_beta/generated/booking_businesses/item/customers/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/booking_businesses/item/get_staff_availability/get_staff_availability_post_request_body.py b/msgraph_beta/generated/booking_businesses/item/get_staff_availability/get_staff_availability_post_request_body.py index 0b9e1c00608..174e9730218 100644 --- a/msgraph_beta/generated/booking_businesses/item/get_staff_availability/get_staff_availability_post_request_body.py +++ b/msgraph_beta/generated/booking_businesses/item/get_staff_availability/get_staff_availability_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ....models.date_time_time_zone import DateTimeTimeZone + writer.write_object_value("endDateTime", self.end_date_time) writer.write_collection_of_primitive_values("staffIds", self.staff_ids) writer.write_object_value("startDateTime", self.start_date_time) diff --git a/msgraph_beta/generated/booking_businesses/item/get_staff_availability/get_staff_availability_post_response.py b/msgraph_beta/generated/booking_businesses/item/get_staff_availability/get_staff_availability_post_response.py index 867c264eeb2..aa4b0a3f337 100644 --- a/msgraph_beta/generated/booking_businesses/item/get_staff_availability/get_staff_availability_post_response.py +++ b/msgraph_beta/generated/booking_businesses/item/get_staff_availability/get_staff_availability_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ....models.staff_availability_item import StaffAvailabilityItem + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/booking_businesses/item/services/count/count_request_builder.py b/msgraph_beta/generated/booking_businesses/item/services/count/count_request_builder.py index 2fc91e07f29..f12cd153d8f 100644 --- a/msgraph_beta/generated/booking_businesses/item/services/count/count_request_builder.py +++ b/msgraph_beta/generated/booking_businesses/item/services/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/booking_businesses/item/staff_members/count/count_request_builder.py b/msgraph_beta/generated/booking_businesses/item/staff_members/count/count_request_builder.py index fd3ebfe0778..ae7728c99dd 100644 --- a/msgraph_beta/generated/booking_businesses/item/staff_members/count/count_request_builder.py +++ b/msgraph_beta/generated/booking_businesses/item/staff_members/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/booking_currencies/count/count_request_builder.py b/msgraph_beta/generated/booking_currencies/count/count_request_builder.py index e974b6d6bf2..0dfe8c29317 100644 --- a/msgraph_beta/generated/booking_currencies/count/count_request_builder.py +++ b/msgraph_beta/generated/booking_currencies/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/business_flow_templates/count/count_request_builder.py b/msgraph_beta/generated/business_flow_templates/count/count_request_builder.py index 88c1537218f..52d6531a055 100644 --- a/msgraph_beta/generated/business_flow_templates/count/count_request_builder.py +++ b/msgraph_beta/generated/business_flow_templates/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/certificate_based_auth_configuration/count/count_request_builder.py b/msgraph_beta/generated/certificate_based_auth_configuration/count/count_request_builder.py index 4d8f6b41c80..8553d9ff66c 100644 --- a/msgraph_beta/generated/certificate_based_auth_configuration/count/count_request_builder.py +++ b/msgraph_beta/generated/certificate_based_auth_configuration/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/chats/all_messages/all_messages_get_response.py b/msgraph_beta/generated/chats/all_messages/all_messages_get_response.py index 0ffee487a55..72d949ff48c 100644 --- a/msgraph_beta/generated/chats/all_messages/all_messages_get_response.py +++ b/msgraph_beta/generated/chats/all_messages/all_messages_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ...models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ...models.chat_message import ChatMessage + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/chats/count/count_request_builder.py b/msgraph_beta/generated/chats/count/count_request_builder.py index 2b7018aabdb..483640e7407 100644 --- a/msgraph_beta/generated/chats/count/count_request_builder.py +++ b/msgraph_beta/generated/chats/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/chats/get_all_messages/get_all_messages_get_response.py b/msgraph_beta/generated/chats/get_all_messages/get_all_messages_get_response.py index 64e44ec19bc..0a512faa9ee 100644 --- a/msgraph_beta/generated/chats/get_all_messages/get_all_messages_get_response.py +++ b/msgraph_beta/generated/chats/get_all_messages/get_all_messages_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ...models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ...models.chat_message import ChatMessage + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/chats/get_all_retained_messages/get_all_retained_messages_get_response.py b/msgraph_beta/generated/chats/get_all_retained_messages/get_all_retained_messages_get_response.py index 5bb3c536b4a..e0cbe9f4714 100644 --- a/msgraph_beta/generated/chats/get_all_retained_messages/get_all_retained_messages_get_response.py +++ b/msgraph_beta/generated/chats/get_all_retained_messages/get_all_retained_messages_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ...models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ...models.chat_message import ChatMessage + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/chats/item/hide_for_user/hide_for_user_post_request_body.py b/msgraph_beta/generated/chats/item/hide_for_user/hide_for_user_post_request_body.py index 17886ea30c2..ed5fc08d2b6 100644 --- a/msgraph_beta/generated/chats/item/hide_for_user/hide_for_user_post_request_body.py +++ b/msgraph_beta/generated/chats/item/hide_for_user/hide_for_user_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ....models.teamwork_user_identity import TeamworkUserIdentity + writer.write_str_value("tenantId", self.tenant_id) writer.write_object_value("user", self.user) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/chats/item/installed_apps/count/count_request_builder.py b/msgraph_beta/generated/chats/item/installed_apps/count/count_request_builder.py index aff37ede7f2..dfad6d37e6c 100644 --- a/msgraph_beta/generated/chats/item/installed_apps/count/count_request_builder.py +++ b/msgraph_beta/generated/chats/item/installed_apps/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/chats/item/installed_apps/item/upgrade/upgrade_post_request_body.py b/msgraph_beta/generated/chats/item/installed_apps/item/upgrade/upgrade_post_request_body.py index 064069f6270..f27e8432230 100644 --- a/msgraph_beta/generated/chats/item/installed_apps/item/upgrade/upgrade_post_request_body.py +++ b/msgraph_beta/generated/chats/item/installed_apps/item/upgrade/upgrade_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ......models.teams_app_permission_set import TeamsAppPermissionSet + writer.write_object_value("consentedPermissionSet", self.consented_permission_set) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/chats/item/mark_chat_read_for_user/mark_chat_read_for_user_post_request_body.py b/msgraph_beta/generated/chats/item/mark_chat_read_for_user/mark_chat_read_for_user_post_request_body.py index 07df5db3b2a..9bb47ef99b8 100644 --- a/msgraph_beta/generated/chats/item/mark_chat_read_for_user/mark_chat_read_for_user_post_request_body.py +++ b/msgraph_beta/generated/chats/item/mark_chat_read_for_user/mark_chat_read_for_user_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ....models.teamwork_user_identity import TeamworkUserIdentity + writer.write_str_value("tenantId", self.tenant_id) writer.write_object_value("user", self.user) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/chats/item/mark_chat_unread_for_user/mark_chat_unread_for_user_post_request_body.py b/msgraph_beta/generated/chats/item/mark_chat_unread_for_user/mark_chat_unread_for_user_post_request_body.py index c344de47609..f807d6c251d 100644 --- a/msgraph_beta/generated/chats/item/mark_chat_unread_for_user/mark_chat_unread_for_user_post_request_body.py +++ b/msgraph_beta/generated/chats/item/mark_chat_unread_for_user/mark_chat_unread_for_user_post_request_body.py @@ -57,6 +57,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ....models.teamwork_user_identity import TeamworkUserIdentity + writer.write_datetime_value("lastMessageReadDateTime", self.last_message_read_date_time) writer.write_str_value("tenantId", self.tenant_id) writer.write_object_value("user", self.user) diff --git a/msgraph_beta/generated/chats/item/members/add/add_post_request_body.py b/msgraph_beta/generated/chats/item/members/add/add_post_request_body.py index 5ba4f65c762..08583a9ba36 100644 --- a/msgraph_beta/generated/chats/item/members/add/add_post_request_body.py +++ b/msgraph_beta/generated/chats/item/members/add/add_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.conversation_member import ConversationMember + writer.write_collection_of_object_values("values", self.values) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/chats/item/members/add/add_post_response.py b/msgraph_beta/generated/chats/item/members/add/add_post_response.py index d76a61ab920..8bde4d24a21 100644 --- a/msgraph_beta/generated/chats/item/members/add/add_post_response.py +++ b/msgraph_beta/generated/chats/item/members/add/add_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .....models.action_result_part import ActionResultPart + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/chats/item/members/count/count_request_builder.py b/msgraph_beta/generated/chats/item/members/count/count_request_builder.py index b8075d6c44d..f81ebbb5338 100644 --- a/msgraph_beta/generated/chats/item/members/count/count_request_builder.py +++ b/msgraph_beta/generated/chats/item/members/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/chats/item/members/remove/remove_post_request_body.py b/msgraph_beta/generated/chats/item/members/remove/remove_post_request_body.py index dd85fb79837..9d0ab93af88 100644 --- a/msgraph_beta/generated/chats/item/members/remove/remove_post_request_body.py +++ b/msgraph_beta/generated/chats/item/members/remove/remove_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.conversation_member import ConversationMember + writer.write_collection_of_object_values("values", self.values) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/chats/item/members/remove/remove_post_response.py b/msgraph_beta/generated/chats/item/members/remove/remove_post_response.py index f200ea17ed7..e3e3550c88a 100644 --- a/msgraph_beta/generated/chats/item/members/remove/remove_post_response.py +++ b/msgraph_beta/generated/chats/item/members/remove/remove_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .....models.action_result_part import ActionResultPart + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/chats/item/members/remove/remove_request_builder.py b/msgraph_beta/generated/chats/item/members/remove/remove_request_builder.py index 6ce9f30d173..8170732d567 100644 --- a/msgraph_beta/generated/chats/item/members/remove/remove_request_builder.py +++ b/msgraph_beta/generated/chats/item/members/remove/remove_request_builder.py @@ -32,10 +32,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def post(self,body: RemovePostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[RemovePostResponse]: """ - Invoke action remove + Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[RemovePostResponse] + Find more info here: https://learn.microsoft.com/graph/api/conversationmember-remove?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -55,7 +56,7 @@ async def post(self,body: RemovePostRequestBody, request_configuration: Optional def to_post_request_information(self,body: RemovePostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Invoke action remove + Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/chats/item/messages/count/count_request_builder.py b/msgraph_beta/generated/chats/item/messages/count/count_request_builder.py index 63cb4ca0a5b..36a705f0fdb 100644 --- a/msgraph_beta/generated/chats/item/messages/count/count_request_builder.py +++ b/msgraph_beta/generated/chats/item/messages/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/chats/item/messages/delta/delta_get_response.py b/msgraph_beta/generated/chats/item/messages/delta/delta_get_response.py index 58da5277a90..2eca81a066e 100644 --- a/msgraph_beta/generated/chats/item/messages/delta/delta_get_response.py +++ b/msgraph_beta/generated/chats/item/messages/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .....models.base_delta_function_response import BaseDeltaFunctionResponse + from .....models.chat_message import ChatMessage + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/chats/item/messages/item/hosted_contents/count/count_request_builder.py b/msgraph_beta/generated/chats/item/messages/item/hosted_contents/count/count_request_builder.py index 8f3fc0ff6a9..e1b5573f80d 100644 --- a/msgraph_beta/generated/chats/item/messages/item/hosted_contents/count/count_request_builder.py +++ b/msgraph_beta/generated/chats/item/messages/item/hosted_contents/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/chats/item/messages/item/replies/count/count_request_builder.py b/msgraph_beta/generated/chats/item/messages/item/replies/count/count_request_builder.py index 481316f160e..4b005aaacfd 100644 --- a/msgraph_beta/generated/chats/item/messages/item/replies/count/count_request_builder.py +++ b/msgraph_beta/generated/chats/item/messages/item/replies/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/chats/item/messages/item/replies/delta/delta_get_response.py b/msgraph_beta/generated/chats/item/messages/item/replies/delta/delta_get_response.py index f638a691ec9..6ba0c1fed79 100644 --- a/msgraph_beta/generated/chats/item/messages/item/replies/delta/delta_get_response.py +++ b/msgraph_beta/generated/chats/item/messages/item/replies/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .......models.base_delta_function_response import BaseDeltaFunctionResponse + from .......models.chat_message import ChatMessage + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/chats/item/messages/item/replies/item/hosted_contents/count/count_request_builder.py b/msgraph_beta/generated/chats/item/messages/item/replies/item/hosted_contents/count/count_request_builder.py index d1e3c747f37..af9fe936bb3 100644 --- a/msgraph_beta/generated/chats/item/messages/item/replies/item/hosted_contents/count/count_request_builder.py +++ b/msgraph_beta/generated/chats/item/messages/item/replies/item/hosted_contents/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/chats/item/messages/messages_request_builder.py b/msgraph_beta/generated/chats/item/messages/messages_request_builder.py index ff65d9c15fe..36773229327 100644 --- a/msgraph_beta/generated/chats/item/messages/messages_request_builder.py +++ b/msgraph_beta/generated/chats/item/messages/messages_request_builder.py @@ -70,11 +70,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Messages async def post(self,body: ChatMessage, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ChatMessage]: """ - Send a new chatMessage in the specified chat. This API cannot create a new chat; you must use the list chats method to retrieve the ID of an existing chat before creating a chat message. + Send a new chatMessage in the specified channel or a chat. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessage] - Find more info here: https://learn.microsoft.com/graph/api/chat-post-messages?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/chatmessage-post?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -105,7 +105,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: ChatMessage, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Send a new chatMessage in the specified chat. This API cannot create a new chat; you must use the list chats method to retrieve the ID of an existing chat before creating a chat message. + Send a new chatMessage in the specified channel or a chat. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/chats/item/operations/count/count_request_builder.py b/msgraph_beta/generated/chats/item/operations/count/count_request_builder.py index 70f50cb657d..7189b9bdd1d 100644 --- a/msgraph_beta/generated/chats/item/operations/count/count_request_builder.py +++ b/msgraph_beta/generated/chats/item/operations/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/chats/item/permission_grants/count/count_request_builder.py b/msgraph_beta/generated/chats/item/permission_grants/count/count_request_builder.py index a7e41f7781e..f56f6729521 100644 --- a/msgraph_beta/generated/chats/item/permission_grants/count/count_request_builder.py +++ b/msgraph_beta/generated/chats/item/permission_grants/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/chats/item/pinned_messages/count/count_request_builder.py b/msgraph_beta/generated/chats/item/pinned_messages/count/count_request_builder.py index 7a96053fde2..88809f0bce9 100644 --- a/msgraph_beta/generated/chats/item/pinned_messages/count/count_request_builder.py +++ b/msgraph_beta/generated/chats/item/pinned_messages/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/chats/item/remove_all_access_for_user/remove_all_access_for_user_post_request_body.py b/msgraph_beta/generated/chats/item/remove_all_access_for_user/remove_all_access_for_user_post_request_body.py index e91e8164a33..8a69fa2e3ba 100644 --- a/msgraph_beta/generated/chats/item/remove_all_access_for_user/remove_all_access_for_user_post_request_body.py +++ b/msgraph_beta/generated/chats/item/remove_all_access_for_user/remove_all_access_for_user_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ....models.teamwork_user_identity import TeamworkUserIdentity + writer.write_object_value("user", self.user) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/chats/item/send_activity_notification/send_activity_notification_post_request_body.py b/msgraph_beta/generated/chats/item/send_activity_notification/send_activity_notification_post_request_body.py index e6aa19841b1..18d45faa1ab 100644 --- a/msgraph_beta/generated/chats/item/send_activity_notification/send_activity_notification_post_request_body.py +++ b/msgraph_beta/generated/chats/item/send_activity_notification/send_activity_notification_post_request_body.py @@ -77,6 +77,11 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ....models.item_body import ItemBody + from ....models.key_value_pair import KeyValuePair + from ....models.teamwork_activity_topic import TeamworkActivityTopic + from ....models.teamwork_notification_recipient import TeamworkNotificationRecipient + writer.write_str_value("activityType", self.activity_type) writer.write_int_value("chainId", self.chain_id) writer.write_object_value("previewText", self.preview_text) diff --git a/msgraph_beta/generated/chats/item/tabs/count/count_request_builder.py b/msgraph_beta/generated/chats/item/tabs/count/count_request_builder.py index 262a736e155..1e80389f7e0 100644 --- a/msgraph_beta/generated/chats/item/tabs/count/count_request_builder.py +++ b/msgraph_beta/generated/chats/item/tabs/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/chats/item/unhide_for_user/unhide_for_user_post_request_body.py b/msgraph_beta/generated/chats/item/unhide_for_user/unhide_for_user_post_request_body.py index ff36c50f391..ead36362891 100644 --- a/msgraph_beta/generated/chats/item/unhide_for_user/unhide_for_user_post_request_body.py +++ b/msgraph_beta/generated/chats/item/unhide_for_user/unhide_for_user_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ....models.teamwork_user_identity import TeamworkUserIdentity + writer.write_str_value("tenantId", self.tenant_id) writer.write_object_value("user", self.user) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/commands/count/count_request_builder.py b/msgraph_beta/generated/commands/count/count_request_builder.py index 5ad5a8cdecd..fff26e44cdb 100644 --- a/msgraph_beta/generated/commands/count/count_request_builder.py +++ b/msgraph_beta/generated/commands/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/communications/call_records/count/count_request_builder.py b/msgraph_beta/generated/communications/call_records/count/count_request_builder.py index 387a1ba11a6..025df922b61 100644 --- a/msgraph_beta/generated/communications/call_records/count/count_request_builder.py +++ b/msgraph_beta/generated/communications/call_records/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/communications/call_records/item/participants_v2/count/count_request_builder.py b/msgraph_beta/generated/communications/call_records/item/participants_v2/count/count_request_builder.py index b89aa6c4bd4..2fe471786f3 100644 --- a/msgraph_beta/generated/communications/call_records/item/participants_v2/count/count_request_builder.py +++ b/msgraph_beta/generated/communications/call_records/item/participants_v2/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/communications/call_records/item/sessions/count/count_request_builder.py b/msgraph_beta/generated/communications/call_records/item/sessions/count/count_request_builder.py index dfa0563c624..30d7a901433 100644 --- a/msgraph_beta/generated/communications/call_records/item/sessions/count/count_request_builder.py +++ b/msgraph_beta/generated/communications/call_records/item/sessions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/communications/call_records/item/sessions/item/segments/count/count_request_builder.py b/msgraph_beta/generated/communications/call_records/item/sessions/item/segments/count/count_request_builder.py index bc9da8dcef5..694e7ab8238 100644 --- a/msgraph_beta/generated/communications/call_records/item/sessions/item/segments/count/count_request_builder.py +++ b/msgraph_beta/generated/communications/call_records/item/sessions/item/segments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/communications/call_records/microsoft_graph_call_records_get_direct_routing_calls_with_from_date_time_with_to_date_time/get_direct_routing_calls_with_from_date_time_with_to_date_time_get_response.py b/msgraph_beta/generated/communications/call_records/microsoft_graph_call_records_get_direct_routing_calls_with_from_date_time_with_to_date_time/get_direct_routing_calls_with_from_date_time_with_to_date_time_get_response.py index c463bca2cec..0e2a18560a6 100644 --- a/msgraph_beta/generated/communications/call_records/microsoft_graph_call_records_get_direct_routing_calls_with_from_date_time_with_to_date_time/get_direct_routing_calls_with_from_date_time_with_to_date_time_get_response.py +++ b/msgraph_beta/generated/communications/call_records/microsoft_graph_call_records_get_direct_routing_calls_with_from_date_time_with_to_date_time/get_direct_routing_calls_with_from_date_time_with_to_date_time_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ....models.call_records.direct_routing_log_row import DirectRoutingLogRow + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/communications/call_records/microsoft_graph_call_records_get_pstn_blocked_users_log_with_from_date_time_with_to_date_time/get_pstn_blocked_users_log_with_from_date_time_with_to_date_time_get_response.py b/msgraph_beta/generated/communications/call_records/microsoft_graph_call_records_get_pstn_blocked_users_log_with_from_date_time_with_to_date_time/get_pstn_blocked_users_log_with_from_date_time_with_to_date_time_get_response.py index 4e23a34c682..809159e8cd4 100644 --- a/msgraph_beta/generated/communications/call_records/microsoft_graph_call_records_get_pstn_blocked_users_log_with_from_date_time_with_to_date_time/get_pstn_blocked_users_log_with_from_date_time_with_to_date_time_get_response.py +++ b/msgraph_beta/generated/communications/call_records/microsoft_graph_call_records_get_pstn_blocked_users_log_with_from_date_time_with_to_date_time/get_pstn_blocked_users_log_with_from_date_time_with_to_date_time_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ....models.call_records.pstn_blocked_users_log_row import PstnBlockedUsersLogRow + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/communications/call_records/microsoft_graph_call_records_get_pstn_calls_with_from_date_time_with_to_date_time/get_pstn_calls_with_from_date_time_with_to_date_time_get_response.py b/msgraph_beta/generated/communications/call_records/microsoft_graph_call_records_get_pstn_calls_with_from_date_time_with_to_date_time/get_pstn_calls_with_from_date_time_with_to_date_time_get_response.py index 740eeadb566..50f8a7e7996 100644 --- a/msgraph_beta/generated/communications/call_records/microsoft_graph_call_records_get_pstn_calls_with_from_date_time_with_to_date_time/get_pstn_calls_with_from_date_time_with_to_date_time_get_response.py +++ b/msgraph_beta/generated/communications/call_records/microsoft_graph_call_records_get_pstn_calls_with_from_date_time_with_to_date_time/get_pstn_calls_with_from_date_time_with_to_date_time_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ....models.call_records.pstn_call_log_row import PstnCallLogRow + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/communications/call_records/microsoft_graph_call_records_get_pstn_online_meeting_dialout_report_with_from_date_time_with_to_date_time/get_pstn_online_meeting_dialout_report_with_from_date_time_with_to_date_time_get_response.py b/msgraph_beta/generated/communications/call_records/microsoft_graph_call_records_get_pstn_online_meeting_dialout_report_with_from_date_time_with_to_date_time/get_pstn_online_meeting_dialout_report_with_from_date_time_with_to_date_time_get_response.py index d46719cff98..d5d37c4fe09 100644 --- a/msgraph_beta/generated/communications/call_records/microsoft_graph_call_records_get_pstn_online_meeting_dialout_report_with_from_date_time_with_to_date_time/get_pstn_online_meeting_dialout_report_with_from_date_time_with_to_date_time_get_response.py +++ b/msgraph_beta/generated/communications/call_records/microsoft_graph_call_records_get_pstn_online_meeting_dialout_report_with_from_date_time_with_to_date_time/get_pstn_online_meeting_dialout_report_with_from_date_time_with_to_date_time_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ....models.call_records.pstn_online_meeting_dialout_report import PstnOnlineMeetingDialoutReport + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/communications/call_records/microsoft_graph_call_records_get_sms_log_with_from_date_time_with_to_date_time/get_sms_log_with_from_date_time_with_to_date_time_get_response.py b/msgraph_beta/generated/communications/call_records/microsoft_graph_call_records_get_sms_log_with_from_date_time_with_to_date_time/get_sms_log_with_from_date_time_with_to_date_time_get_response.py index fd86f878bdb..4b4e8900109 100644 --- a/msgraph_beta/generated/communications/call_records/microsoft_graph_call_records_get_sms_log_with_from_date_time_with_to_date_time/get_sms_log_with_from_date_time_with_to_date_time_get_response.py +++ b/msgraph_beta/generated/communications/call_records/microsoft_graph_call_records_get_sms_log_with_from_date_time_with_to_date_time/get_sms_log_with_from_date_time_with_to_date_time_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ....models.call_records.sms_log_row import SmsLogRow + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/communications/calls/count/count_request_builder.py b/msgraph_beta/generated/communications/calls/count/count_request_builder.py index ddb14282a9e..0b439a8d439 100644 --- a/msgraph_beta/generated/communications/calls/count/count_request_builder.py +++ b/msgraph_beta/generated/communications/calls/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/communications/calls/item/answer/answer_post_request_body.py b/msgraph_beta/generated/communications/calls/item/answer/answer_post_request_body.py index 4c50728a178..8776658ad7e 100644 --- a/msgraph_beta/generated/communications/calls/item/answer/answer_post_request_body.py +++ b/msgraph_beta/generated/communications/calls/item/answer/answer_post_request_body.py @@ -68,6 +68,10 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.incoming_call_options import IncomingCallOptions + from .....models.media_config import MediaConfig + from .....models.modality import Modality + writer.write_collection_of_enum_values("acceptedModalities", self.accepted_modalities) writer.write_object_value("callOptions", self.call_options) writer.write_str_value("callbackUri", self.callback_uri) diff --git a/msgraph_beta/generated/communications/calls/item/audio_routing_groups/count/count_request_builder.py b/msgraph_beta/generated/communications/calls/item/audio_routing_groups/count/count_request_builder.py index b35aaf37b00..13750ac7e47 100644 --- a/msgraph_beta/generated/communications/calls/item/audio_routing_groups/count/count_request_builder.py +++ b/msgraph_beta/generated/communications/calls/item/audio_routing_groups/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/communications/calls/item/change_screen_sharing_role/change_screen_sharing_role_post_request_body.py b/msgraph_beta/generated/communications/calls/item/change_screen_sharing_role/change_screen_sharing_role_post_request_body.py index 18051eff7a7..d70369168fa 100644 --- a/msgraph_beta/generated/communications/calls/item/change_screen_sharing_role/change_screen_sharing_role_post_request_body.py +++ b/msgraph_beta/generated/communications/calls/item/change_screen_sharing_role/change_screen_sharing_role_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.screen_sharing_role import ScreenSharingRole + writer.write_enum_value("role", self.role) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/communications/calls/item/content_sharing_sessions/count/count_request_builder.py b/msgraph_beta/generated/communications/calls/item/content_sharing_sessions/count/count_request_builder.py index 7ef0deebfbb..16341502004 100644 --- a/msgraph_beta/generated/communications/calls/item/content_sharing_sessions/count/count_request_builder.py +++ b/msgraph_beta/generated/communications/calls/item/content_sharing_sessions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/communications/calls/item/operations/count/count_request_builder.py b/msgraph_beta/generated/communications/calls/item/operations/count/count_request_builder.py index 1af9068564c..b11b24c4e9e 100644 --- a/msgraph_beta/generated/communications/calls/item/operations/count/count_request_builder.py +++ b/msgraph_beta/generated/communications/calls/item/operations/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/communications/calls/item/participants/count/count_request_builder.py b/msgraph_beta/generated/communications/calls/item/participants/count/count_request_builder.py index 73132b38d21..c7a459115c1 100644 --- a/msgraph_beta/generated/communications/calls/item/participants/count/count_request_builder.py +++ b/msgraph_beta/generated/communications/calls/item/participants/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/communications/calls/item/participants/invite/invite_post_request_body.py b/msgraph_beta/generated/communications/calls/item/participants/invite/invite_post_request_body.py index d993b28cbb4..7d0db7b0eb8 100644 --- a/msgraph_beta/generated/communications/calls/item/participants/invite/invite_post_request_body.py +++ b/msgraph_beta/generated/communications/calls/item/participants/invite/invite_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ......models.invitation_participant_info import InvitationParticipantInfo + writer.write_str_value("clientContext", self.client_context) writer.write_collection_of_object_values("participants", self.participants) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/communications/calls/item/participants/item/start_hold_music/start_hold_music_post_request_body.py b/msgraph_beta/generated/communications/calls/item/participants/item/start_hold_music/start_hold_music_post_request_body.py index 1b0d2d7b64c..5a4c7c8d677 100644 --- a/msgraph_beta/generated/communications/calls/item/participants/item/start_hold_music/start_hold_music_post_request_body.py +++ b/msgraph_beta/generated/communications/calls/item/participants/item/start_hold_music/start_hold_music_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .......models.prompt import Prompt + writer.write_str_value("clientContext", self.client_context) writer.write_object_value("customPrompt", self.custom_prompt) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/communications/calls/item/play_prompt/play_prompt_post_request_body.py b/msgraph_beta/generated/communications/calls/item/play_prompt/play_prompt_post_request_body.py index ece3272e74a..a63433e4c5d 100644 --- a/msgraph_beta/generated/communications/calls/item/play_prompt/play_prompt_post_request_body.py +++ b/msgraph_beta/generated/communications/calls/item/play_prompt/play_prompt_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.prompt import Prompt + writer.write_str_value("clientContext", self.client_context) writer.write_bool_value("loop", self.loop) writer.write_collection_of_object_values("prompts", self.prompts) diff --git a/msgraph_beta/generated/communications/calls/item/record/record_post_request_body.py b/msgraph_beta/generated/communications/calls/item/record/record_post_request_body.py index a9a526fda7a..2976d54f6bb 100644 --- a/msgraph_beta/generated/communications/calls/item/record/record_post_request_body.py +++ b/msgraph_beta/generated/communications/calls/item/record/record_post_request_body.py @@ -74,6 +74,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.prompt import Prompt + writer.write_bool_value("bargeInAllowed", self.barge_in_allowed) writer.write_str_value("clientContext", self.client_context) writer.write_int_value("initialSilenceTimeoutInSeconds", self.initial_silence_timeout_in_seconds) diff --git a/msgraph_beta/generated/communications/calls/item/record_response/record_response_post_request_body.py b/msgraph_beta/generated/communications/calls/item/record_response/record_response_post_request_body.py index 009aef57846..efce4ea9427 100644 --- a/msgraph_beta/generated/communications/calls/item/record_response/record_response_post_request_body.py +++ b/msgraph_beta/generated/communications/calls/item/record_response/record_response_post_request_body.py @@ -74,6 +74,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.prompt import Prompt + writer.write_bool_value("bargeInAllowed", self.barge_in_allowed) writer.write_str_value("clientContext", self.client_context) writer.write_int_value("initialSilenceTimeoutInSeconds", self.initial_silence_timeout_in_seconds) diff --git a/msgraph_beta/generated/communications/calls/item/redirect/redirect_post_request_body.py b/msgraph_beta/generated/communications/calls/item/redirect/redirect_post_request_body.py index 542d0281f12..1d1dc3309b8 100644 --- a/msgraph_beta/generated/communications/calls/item/redirect/redirect_post_request_body.py +++ b/msgraph_beta/generated/communications/calls/item/redirect/redirect_post_request_body.py @@ -68,6 +68,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.call_disposition import CallDisposition + from .....models.invitation_participant_info import InvitationParticipantInfo + writer.write_str_value("callbackUri", self.callback_uri) writer.write_bool_value("maskCallee", self.mask_callee) writer.write_bool_value("maskCaller", self.mask_caller) diff --git a/msgraph_beta/generated/communications/calls/item/reject/reject_post_request_body.py b/msgraph_beta/generated/communications/calls/item/reject/reject_post_request_body.py index dd3cbf96c3a..e35284bc5f6 100644 --- a/msgraph_beta/generated/communications/calls/item/reject/reject_post_request_body.py +++ b/msgraph_beta/generated/communications/calls/item/reject/reject_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.reject_reason import RejectReason + writer.write_str_value("callbackUri", self.callback_uri) writer.write_enum_value("reason", self.reason) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/communications/calls/item/send_dtmf_tones/send_dtmf_tones_post_request_body.py b/msgraph_beta/generated/communications/calls/item/send_dtmf_tones/send_dtmf_tones_post_request_body.py index c8e5430eb22..8ffeb8b5ab9 100644 --- a/msgraph_beta/generated/communications/calls/item/send_dtmf_tones/send_dtmf_tones_post_request_body.py +++ b/msgraph_beta/generated/communications/calls/item/send_dtmf_tones/send_dtmf_tones_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.tone import Tone + writer.write_str_value("clientContext", self.client_context) writer.write_int_value("delayBetweenTonesMs", self.delay_between_tones_ms) writer.write_collection_of_enum_values("tones", self.tones) diff --git a/msgraph_beta/generated/communications/calls/item/transfer/transfer_post_request_body.py b/msgraph_beta/generated/communications/calls/item/transfer/transfer_post_request_body.py index 4e83e98763b..d655b345c7b 100644 --- a/msgraph_beta/generated/communications/calls/item/transfer/transfer_post_request_body.py +++ b/msgraph_beta/generated/communications/calls/item/transfer/transfer_post_request_body.py @@ -56,6 +56,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.invitation_participant_info import InvitationParticipantInfo + from .....models.participant_info import ParticipantInfo + writer.write_object_value("transferTarget", self.transfer_target) writer.write_object_value("transferee", self.transferee) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/communications/calls/item/update_recording_status/update_recording_status_post_request_body.py b/msgraph_beta/generated/communications/calls/item/update_recording_status/update_recording_status_post_request_body.py index f0363187191..97ee5037a7e 100644 --- a/msgraph_beta/generated/communications/calls/item/update_recording_status/update_recording_status_post_request_body.py +++ b/msgraph_beta/generated/communications/calls/item/update_recording_status/update_recording_status_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.recording_status import RecordingStatus + writer.write_str_value("clientContext", self.client_context) writer.write_enum_value("status", self.status) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/communications/calls/log_teleconference_device_quality/log_teleconference_device_quality_post_request_body.py b/msgraph_beta/generated/communications/calls/log_teleconference_device_quality/log_teleconference_device_quality_post_request_body.py index 6cdd783c287..74cd053eb3d 100644 --- a/msgraph_beta/generated/communications/calls/log_teleconference_device_quality/log_teleconference_device_quality_post_request_body.py +++ b/msgraph_beta/generated/communications/calls/log_teleconference_device_quality/log_teleconference_device_quality_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ....models.teleconference_device_quality import TeleconferenceDeviceQuality + writer.write_object_value("quality", self.quality) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/communications/get_presences_by_user_id/get_presences_by_user_id_post_response.py b/msgraph_beta/generated/communications/get_presences_by_user_id/get_presences_by_user_id_post_response.py index d7e9d117918..a434a522146 100644 --- a/msgraph_beta/generated/communications/get_presences_by_user_id/get_presences_by_user_id_post_response.py +++ b/msgraph_beta/generated/communications/get_presences_by_user_id/get_presences_by_user_id_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ...models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ...models.presence import Presence + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/communications/online_meetings/count/count_request_builder.py b/msgraph_beta/generated/communications/online_meetings/count/count_request_builder.py index 698a8dd3761..708fbe429fe 100644 --- a/msgraph_beta/generated/communications/online_meetings/count/count_request_builder.py +++ b/msgraph_beta/generated/communications/online_meetings/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/communications/online_meetings/create_or_get/create_or_get_post_request_body.py b/msgraph_beta/generated/communications/online_meetings/create_or_get/create_or_get_post_request_body.py index 0cfaaef06c9..ba057caed0e 100644 --- a/msgraph_beta/generated/communications/online_meetings/create_or_get/create_or_get_post_request_body.py +++ b/msgraph_beta/generated/communications/online_meetings/create_or_get/create_or_get_post_request_body.py @@ -69,6 +69,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ....models.chat_info import ChatInfo + from ....models.meeting_participants import MeetingParticipants + writer.write_object_value("chatInfo", self.chat_info) writer.write_datetime_value("endDateTime", self.end_date_time) writer.write_str_value("externalId", self.external_id) diff --git a/msgraph_beta/generated/communications/online_meetings/get_all_recordingsmeeting_organizer_user_id_meeting_organizer_user_id_with_start_date_time_with_end_date_time/get_all_recordingsmeeting_organizer_user_id_meeting_organizer_user_id_with_start_date_time_with_end_date_time_get_response.py b/msgraph_beta/generated/communications/online_meetings/get_all_recordingsmeeting_organizer_user_id_meeting_organizer_user_id_with_start_date_time_with_end_date_time/get_all_recordingsmeeting_organizer_user_id_meeting_organizer_user_id_with_start_date_time_with_end_date_time_get_response.py index 313d3203d89..34a51252ebc 100644 --- a/msgraph_beta/generated/communications/online_meetings/get_all_recordingsmeeting_organizer_user_id_meeting_organizer_user_id_with_start_date_time_with_end_date_time/get_all_recordingsmeeting_organizer_user_id_meeting_organizer_user_id_with_start_date_time_with_end_date_time_get_response.py +++ b/msgraph_beta/generated/communications/online_meetings/get_all_recordingsmeeting_organizer_user_id_meeting_organizer_user_id_with_start_date_time_with_end_date_time/get_all_recordingsmeeting_organizer_user_id_meeting_organizer_user_id_with_start_date_time_with_end_date_time_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ....models.call_recording import CallRecording + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/communications/online_meetings/get_all_transcriptsmeeting_organizer_user_id_meeting_organizer_user_id_with_start_date_time_with_end_date_time/get_all_transcriptsmeeting_organizer_user_id_meeting_organizer_user_id_with_start_date_time_with_end_date_time_get_response.py b/msgraph_beta/generated/communications/online_meetings/get_all_transcriptsmeeting_organizer_user_id_meeting_organizer_user_id_with_start_date_time_with_end_date_time/get_all_transcriptsmeeting_organizer_user_id_meeting_organizer_user_id_with_start_date_time_with_end_date_time_get_response.py index 98c4ed8ee3a..2281df3dc35 100644 --- a/msgraph_beta/generated/communications/online_meetings/get_all_transcriptsmeeting_organizer_user_id_meeting_organizer_user_id_with_start_date_time_with_end_date_time/get_all_transcriptsmeeting_organizer_user_id_meeting_organizer_user_id_with_start_date_time_with_end_date_time_get_response.py +++ b/msgraph_beta/generated/communications/online_meetings/get_all_transcriptsmeeting_organizer_user_id_meeting_organizer_user_id_with_start_date_time_with_end_date_time/get_all_transcriptsmeeting_organizer_user_id_meeting_organizer_user_id_with_start_date_time_with_end_date_time_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ....models.call_transcript import CallTranscript + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/communications/online_meetings/item/ai_insights/count/count_request_builder.py b/msgraph_beta/generated/communications/online_meetings/item/ai_insights/count/count_request_builder.py index e047802f118..442b1a4b290 100644 --- a/msgraph_beta/generated/communications/online_meetings/item/ai_insights/count/count_request_builder.py +++ b/msgraph_beta/generated/communications/online_meetings/item/ai_insights/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/communications/online_meetings/item/attendance_reports/count/count_request_builder.py b/msgraph_beta/generated/communications/online_meetings/item/attendance_reports/count/count_request_builder.py index 04a0765b73a..5f055db009c 100644 --- a/msgraph_beta/generated/communications/online_meetings/item/attendance_reports/count/count_request_builder.py +++ b/msgraph_beta/generated/communications/online_meetings/item/attendance_reports/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/communications/online_meetings/item/attendance_reports/item/attendance_records/count/count_request_builder.py b/msgraph_beta/generated/communications/online_meetings/item/attendance_reports/item/attendance_records/count/count_request_builder.py index 94013634fee..b1919be2306 100644 --- a/msgraph_beta/generated/communications/online_meetings/item/attendance_reports/item/attendance_records/count/count_request_builder.py +++ b/msgraph_beta/generated/communications/online_meetings/item/attendance_reports/item/attendance_records/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/communications/online_meetings/item/meeting_attendance_report/attendance_records/count/count_request_builder.py b/msgraph_beta/generated/communications/online_meetings/item/meeting_attendance_report/attendance_records/count/count_request_builder.py index 0003c779acf..662d2d69ed5 100644 --- a/msgraph_beta/generated/communications/online_meetings/item/meeting_attendance_report/attendance_records/count/count_request_builder.py +++ b/msgraph_beta/generated/communications/online_meetings/item/meeting_attendance_report/attendance_records/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/communications/online_meetings/item/recordings/count/count_request_builder.py b/msgraph_beta/generated/communications/online_meetings/item/recordings/count/count_request_builder.py index 76362cb9773..bcdef810c66 100644 --- a/msgraph_beta/generated/communications/online_meetings/item/recordings/count/count_request_builder.py +++ b/msgraph_beta/generated/communications/online_meetings/item/recordings/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/communications/online_meetings/item/recordings/delta/delta_get_response.py b/msgraph_beta/generated/communications/online_meetings/item/recordings/delta/delta_get_response.py index 41018427b53..a6940bb8e77 100644 --- a/msgraph_beta/generated/communications/online_meetings/item/recordings/delta/delta_get_response.py +++ b/msgraph_beta/generated/communications/online_meetings/item/recordings/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ......models.base_delta_function_response import BaseDeltaFunctionResponse + from ......models.call_recording import CallRecording + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/communications/online_meetings/item/registration/custom_questions/count/count_request_builder.py b/msgraph_beta/generated/communications/online_meetings/item/registration/custom_questions/count/count_request_builder.py index 30aaab3233b..48ba1a4c665 100644 --- a/msgraph_beta/generated/communications/online_meetings/item/registration/custom_questions/count/count_request_builder.py +++ b/msgraph_beta/generated/communications/online_meetings/item/registration/custom_questions/count/count_request_builder.py @@ -34,6 +34,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -44,7 +45,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ @@ -52,6 +53,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -63,6 +65,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/communications/online_meetings/item/registration/custom_questions/custom_questions_request_builder.py b/msgraph_beta/generated/communications/online_meetings/item/registration/custom_questions/custom_questions_request_builder.py index 9c382e87474..31133b16c3d 100644 --- a/msgraph_beta/generated/communications/online_meetings/item/registration/custom_questions/custom_questions_request_builder.py +++ b/msgraph_beta/generated/communications/online_meetings/item/registration/custom_questions/custom_questions_request_builder.py @@ -38,6 +38,7 @@ def by_meeting_registration_question_id(self,meeting_registration_question_id: s param meeting_registration_question_id: The unique identifier of meetingRegistrationQuestion Returns: MeetingRegistrationQuestionItemRequestBuilder """ + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) if meeting_registration_question_id is None: raise TypeError("meeting_registration_question_id cannot be null.") from .item.meeting_registration_question_item_request_builder import MeetingRegistrationQuestionItemRequestBuilder @@ -52,6 +53,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CustomQu param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MeetingRegistrationQuestionCollectionResponse] """ + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -73,6 +75,7 @@ async def post(self,body: MeetingRegistrationQuestion, request_configuration: Op param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MeetingRegistrationQuestion] """ + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -95,6 +98,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -107,6 +111,7 @@ def to_post_request_information(self,body: MeetingRegistrationQuestion, request_ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -121,6 +126,7 @@ def with_url(self,raw_url: str) -> CustomQuestionsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CustomQuestionsRequestBuilder """ + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CustomQuestionsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/communications/online_meetings/item/registration/custom_questions/item/meeting_registration_question_item_request_builder.py b/msgraph_beta/generated/communications/online_meetings/item/registration/custom_questions/item/meeting_registration_question_item_request_builder.py index e8a07e38238..f83e7df4998 100644 --- a/msgraph_beta/generated/communications/online_meetings/item/registration/custom_questions/item/meeting_registration_question_item_request_builder.py +++ b/msgraph_beta/generated/communications/online_meetings/item/registration/custom_questions/item/meeting_registration_question_item_request_builder.py @@ -35,6 +35,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[MeetingR param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MeetingRegistrationQuestion] """ + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def patch(self,body: MeetingRegistrationQuestion, request_configuration: O param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MeetingRegistrationQuestion] """ + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -96,6 +99,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -107,6 +111,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -119,6 +124,7 @@ def to_patch_request_information(self,body: MeetingRegistrationQuestion, request param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -133,6 +139,7 @@ def with_url(self,raw_url: str) -> MeetingRegistrationQuestionItemRequestBuilder param raw_url: The raw URL to use for the request builder. Returns: MeetingRegistrationQuestionItemRequestBuilder """ + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MeetingRegistrationQuestionItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/communications/online_meetings/item/registration/registrants/count/count_request_builder.py b/msgraph_beta/generated/communications/online_meetings/item/registration/registrants/count/count_request_builder.py index eea0c6cdd61..852ae83c266 100644 --- a/msgraph_beta/generated/communications/online_meetings/item/registration/registrants/count/count_request_builder.py +++ b/msgraph_beta/generated/communications/online_meetings/item/registration/registrants/count/count_request_builder.py @@ -34,6 +34,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -44,7 +45,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ @@ -52,6 +53,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -63,6 +65,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/communications/online_meetings/item/registration/registrants/item/meeting_registrant_base_item_request_builder.py b/msgraph_beta/generated/communications/online_meetings/item/registration/registrants/item/meeting_registrant_base_item_request_builder.py index 5d25eb0081f..77a180fb440 100644 --- a/msgraph_beta/generated/communications/online_meetings/item/registration/registrants/item/meeting_registrant_base_item_request_builder.py +++ b/msgraph_beta/generated/communications/online_meetings/item/registration/registrants/item/meeting_registrant_base_item_request_builder.py @@ -35,6 +35,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[MeetingR param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MeetingRegistrantBase] """ + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def patch(self,body: MeetingRegistrantBase, request_configuration: Optiona param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MeetingRegistrantBase] """ + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -96,6 +99,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -107,6 +111,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -119,6 +124,7 @@ def to_patch_request_information(self,body: MeetingRegistrantBase, request_confi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -133,6 +139,7 @@ def with_url(self,raw_url: str) -> MeetingRegistrantBaseItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: MeetingRegistrantBaseItemRequestBuilder """ + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MeetingRegistrantBaseItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/communications/online_meetings/item/registration/registrants/registrants_request_builder.py b/msgraph_beta/generated/communications/online_meetings/item/registration/registrants/registrants_request_builder.py index 0f9c049bb14..02f6829fd5e 100644 --- a/msgraph_beta/generated/communications/online_meetings/item/registration/registrants/registrants_request_builder.py +++ b/msgraph_beta/generated/communications/online_meetings/item/registration/registrants/registrants_request_builder.py @@ -38,6 +38,7 @@ def by_meeting_registrant_base_id(self,meeting_registrant_base_id: str) -> Meeti param meeting_registrant_base_id: The unique identifier of meetingRegistrantBase Returns: MeetingRegistrantBaseItemRequestBuilder """ + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) if meeting_registrant_base_id is None: raise TypeError("meeting_registrant_base_id cannot be null.") from .item.meeting_registrant_base_item_request_builder import MeetingRegistrantBaseItemRequestBuilder @@ -52,6 +53,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Registra param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MeetingRegistrantBaseCollectionResponse] """ + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -73,6 +75,7 @@ async def post(self,body: MeetingRegistrantBase, request_configuration: Optional param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MeetingRegistrantBase] """ + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -95,6 +98,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -107,6 +111,7 @@ def to_post_request_information(self,body: MeetingRegistrantBase, request_config param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -121,6 +126,7 @@ def with_url(self,raw_url: str) -> RegistrantsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RegistrantsRequestBuilder """ + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RegistrantsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/communications/online_meetings/item/registration/registration_request_builder.py b/msgraph_beta/generated/communications/online_meetings/item/registration/registration_request_builder.py index 628cc2f0f40..2bc9e71a6c8 100644 --- a/msgraph_beta/generated/communications/online_meetings/item/registration/registration_request_builder.py +++ b/msgraph_beta/generated/communications/online_meetings/item/registration/registration_request_builder.py @@ -37,6 +37,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -55,6 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Registra param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MeetingRegistration] """ + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,6 +78,7 @@ async def patch(self,body: MeetingRegistration, request_configuration: Optional[ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MeetingRegistration] """ + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -98,6 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -109,6 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -121,6 +126,7 @@ def to_patch_request_information(self,body: MeetingRegistration, request_configu param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -135,6 +141,7 @@ def with_url(self,raw_url: str) -> RegistrationRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RegistrationRequestBuilder """ + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RegistrationRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/communications/online_meetings/item/send_virtual_appointment_reminder_sms/send_virtual_appointment_reminder_sms_post_request_body.py b/msgraph_beta/generated/communications/online_meetings/item/send_virtual_appointment_reminder_sms/send_virtual_appointment_reminder_sms_post_request_body.py index 54f4f997dfa..a8ec8797ffd 100644 --- a/msgraph_beta/generated/communications/online_meetings/item/send_virtual_appointment_reminder_sms/send_virtual_appointment_reminder_sms_post_request_body.py +++ b/msgraph_beta/generated/communications/online_meetings/item/send_virtual_appointment_reminder_sms/send_virtual_appointment_reminder_sms_post_request_body.py @@ -56,6 +56,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.attendee_notification_info import AttendeeNotificationInfo + from .....models.remind_before_time_in_minutes_type import RemindBeforeTimeInMinutesType + writer.write_collection_of_object_values("attendees", self.attendees) writer.write_enum_value("remindBeforeTimeInMinutesType", self.remind_before_time_in_minutes_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/communications/online_meetings/item/send_virtual_appointment_sms/send_virtual_appointment_sms_post_request_body.py b/msgraph_beta/generated/communications/online_meetings/item/send_virtual_appointment_sms/send_virtual_appointment_sms_post_request_body.py index de2723f7556..45cfbd9acd8 100644 --- a/msgraph_beta/generated/communications/online_meetings/item/send_virtual_appointment_sms/send_virtual_appointment_sms_post_request_body.py +++ b/msgraph_beta/generated/communications/online_meetings/item/send_virtual_appointment_sms/send_virtual_appointment_sms_post_request_body.py @@ -56,6 +56,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.attendee_notification_info import AttendeeNotificationInfo + from .....models.virtual_appointment_message_type import VirtualAppointmentMessageType + writer.write_collection_of_object_values("attendees", self.attendees) writer.write_enum_value("messageType", self.message_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/communications/online_meetings/item/transcripts/count/count_request_builder.py b/msgraph_beta/generated/communications/online_meetings/item/transcripts/count/count_request_builder.py index 4af32659f6c..c2da7f562e1 100644 --- a/msgraph_beta/generated/communications/online_meetings/item/transcripts/count/count_request_builder.py +++ b/msgraph_beta/generated/communications/online_meetings/item/transcripts/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/communications/online_meetings/item/transcripts/delta/delta_get_response.py b/msgraph_beta/generated/communications/online_meetings/item/transcripts/delta/delta_get_response.py index 13de0257a7a..5f32f66c343 100644 --- a/msgraph_beta/generated/communications/online_meetings/item/transcripts/delta/delta_get_response.py +++ b/msgraph_beta/generated/communications/online_meetings/item/transcripts/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ......models.base_delta_function_response import BaseDeltaFunctionResponse + from ......models.call_transcript import CallTranscript + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/communications/online_meetings_with_join_web_url/send_virtual_appointment_reminder_sms/send_virtual_appointment_reminder_sms_post_request_body.py b/msgraph_beta/generated/communications/online_meetings_with_join_web_url/send_virtual_appointment_reminder_sms/send_virtual_appointment_reminder_sms_post_request_body.py index 10f045bf864..1da10926d4c 100644 --- a/msgraph_beta/generated/communications/online_meetings_with_join_web_url/send_virtual_appointment_reminder_sms/send_virtual_appointment_reminder_sms_post_request_body.py +++ b/msgraph_beta/generated/communications/online_meetings_with_join_web_url/send_virtual_appointment_reminder_sms/send_virtual_appointment_reminder_sms_post_request_body.py @@ -56,6 +56,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ....models.attendee_notification_info import AttendeeNotificationInfo + from ....models.remind_before_time_in_minutes_type import RemindBeforeTimeInMinutesType + writer.write_collection_of_object_values("attendees", self.attendees) writer.write_enum_value("remindBeforeTimeInMinutesType", self.remind_before_time_in_minutes_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/communications/online_meetings_with_join_web_url/send_virtual_appointment_sms/send_virtual_appointment_sms_post_request_body.py b/msgraph_beta/generated/communications/online_meetings_with_join_web_url/send_virtual_appointment_sms/send_virtual_appointment_sms_post_request_body.py index 89e1bd79fad..c7bd59a1672 100644 --- a/msgraph_beta/generated/communications/online_meetings_with_join_web_url/send_virtual_appointment_sms/send_virtual_appointment_sms_post_request_body.py +++ b/msgraph_beta/generated/communications/online_meetings_with_join_web_url/send_virtual_appointment_sms/send_virtual_appointment_sms_post_request_body.py @@ -56,6 +56,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ....models.attendee_notification_info import AttendeeNotificationInfo + from ....models.virtual_appointment_message_type import VirtualAppointmentMessageType + writer.write_collection_of_object_values("attendees", self.attendees) writer.write_enum_value("messageType", self.message_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/communications/presences/count/count_request_builder.py b/msgraph_beta/generated/communications/presences/count/count_request_builder.py index 18ca5d0ab65..27e4a390f8e 100644 --- a/msgraph_beta/generated/communications/presences/count/count_request_builder.py +++ b/msgraph_beta/generated/communications/presences/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/communications/presences/item/set_status_message/set_status_message_post_request_body.py b/msgraph_beta/generated/communications/presences/item/set_status_message/set_status_message_post_request_body.py index 490a6c68d3e..62122d25ab8 100644 --- a/msgraph_beta/generated/communications/presences/item/set_status_message/set_status_message_post_request_body.py +++ b/msgraph_beta/generated/communications/presences/item/set_status_message/set_status_message_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.presence_status_message import PresenceStatusMessage + writer.write_object_value("statusMessage", self.status_message) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/count/count_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/count/count_request_builder.py index 1423a042bdd..0a8a4da9d40 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/count/count_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/count/count_request_builder.py @@ -45,7 +45,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/count/count_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/count/count_request_builder.py index c1c13612c7b..7c6193758e1 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/count/count_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/count/count_request_builder.py @@ -45,7 +45,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/site_sources/count/count_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/site_sources/count/count_request_builder.py index 18002476b9f..b26a7d47546 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/site_sources/count/count_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/site_sources/count/count_request_builder.py @@ -45,7 +45,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/unified_group_sources/count/count_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/unified_group_sources/count/count_request_builder.py index afa82a83539..8c1ddcfc532 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/unified_group_sources/count/count_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/unified_group_sources/count/count_request_builder.py @@ -45,7 +45,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/unified_group_sources/item/group/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/unified_group_sources/item/group/service_provisioning_errors/count/count_request_builder.py index 1f0ac37f040..accd90d8c19 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/unified_group_sources/item/group/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/unified_group_sources/item/group/service_provisioning_errors/count/count_request_builder.py @@ -45,7 +45,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/user_sources/count/count_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/user_sources/count/count_request_builder.py index 39c6fb10788..81664aae1f7 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/user_sources/count/count_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/user_sources/count/count_request_builder.py @@ -45,7 +45,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/legal_holds/count/count_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/legal_holds/count/count_request_builder.py index 32ac3fb65a3..4145f6d9d9f 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/legal_holds/count/count_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/legal_holds/count/count_request_builder.py @@ -45,7 +45,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/legal_holds/item/site_sources/count/count_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/legal_holds/item/site_sources/count/count_request_builder.py index c6e6f543388..a60658114bb 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/legal_holds/item/site_sources/count/count_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/legal_holds/item/site_sources/count/count_request_builder.py @@ -45,7 +45,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/legal_holds/item/unified_group_sources/count/count_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/legal_holds/item/unified_group_sources/count/count_request_builder.py index c42bffeb38a..268d7587bb4 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/legal_holds/item/unified_group_sources/count/count_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/legal_holds/item/unified_group_sources/count/count_request_builder.py @@ -45,7 +45,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/legal_holds/item/unified_group_sources/item/group/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/legal_holds/item/unified_group_sources/item/group/service_provisioning_errors/count/count_request_builder.py index de575602c7b..1d0d99a9c13 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/legal_holds/item/unified_group_sources/item/group/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/legal_holds/item/unified_group_sources/item/group/service_provisioning_errors/count/count_request_builder.py @@ -45,7 +45,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/legal_holds/item/user_sources/count/count_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/legal_holds/item/user_sources/count/count_request_builder.py index a0c81ecb180..09769adc5c1 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/legal_holds/item/user_sources/count/count_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/legal_holds/item/user_sources/count/count_request_builder.py @@ -45,7 +45,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/noncustodial_data_sources/count/count_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/noncustodial_data_sources/count/count_request_builder.py index 6d6c3e2d2ed..eaaab2dc45b 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/noncustodial_data_sources/count/count_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/noncustodial_data_sources/count/count_request_builder.py @@ -45,7 +45,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/operations/count/count_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/operations/count/count_request_builder.py index a1dbdb8b771..bbd33354b3a 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/operations/count/count_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/operations/count/count_request_builder.py @@ -45,7 +45,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/operations/microsoft_graph_ediscovery_case_export_operation/count/count_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/operations/microsoft_graph_ediscovery_case_export_operation/count/count_request_builder.py index 3f220b0a3a9..6df101b9c2f 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/operations/microsoft_graph_ediscovery_case_export_operation/count/count_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/operations/microsoft_graph_ediscovery_case_export_operation/count/count_request_builder.py @@ -45,7 +45,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/review_sets/count/count_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/review_sets/count/count_request_builder.py index b41595c1f1a..f745191d66a 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/review_sets/count/count_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/review_sets/count/count_request_builder.py @@ -45,7 +45,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/review_sets/item/microsoft_graph_ediscovery_add_to_review_set/add_to_review_set_post_request_body.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/review_sets/item/microsoft_graph_ediscovery_add_to_review_set/add_to_review_set_post_request_body.py index 87aef6b90a2..1cbff47eafc 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/review_sets/item/microsoft_graph_ediscovery_add_to_review_set/add_to_review_set_post_request_body.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/review_sets/item/microsoft_graph_ediscovery_add_to_review_set/add_to_review_set_post_request_body.py @@ -56,6 +56,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ........models.ediscovery.additional_data_options import AdditionalDataOptions + from ........models.ediscovery.source_collection import SourceCollection + writer.write_enum_value("additionalDataOptions", self.additional_data_options) writer.write_object_value("sourceCollection", self.source_collection) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/review_sets/item/microsoft_graph_ediscovery_export/export_post_request_body.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/review_sets/item/microsoft_graph_ediscovery_export/export_post_request_body.py index f87aff15f0e..977a32fe548 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/review_sets/item/microsoft_graph_ediscovery_export/export_post_request_body.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/review_sets/item/microsoft_graph_ediscovery_export/export_post_request_body.py @@ -68,6 +68,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ........models.ediscovery.export_file_structure import ExportFileStructure + from ........models.ediscovery.export_options import ExportOptions + writer.write_str_value("azureBlobContainer", self.azure_blob_container) writer.write_str_value("azureBlobToken", self.azure_blob_token) writer.write_str_value("description", self.description) diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/review_sets/item/queries/count/count_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/review_sets/item/queries/count/count_request_builder.py index 9e45f8cc29d..eedd22ff91a 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/review_sets/item/queries/count/count_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/review_sets/item/queries/count/count_request_builder.py @@ -45,7 +45,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/review_sets/item/queries/item/microsoft_graph_ediscovery_apply_tags/apply_tags_post_request_body.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/review_sets/item/queries/item/microsoft_graph_ediscovery_apply_tags/apply_tags_post_request_body.py index a132806ebab..af8657fd0a3 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/review_sets/item/queries/item/microsoft_graph_ediscovery_apply_tags/apply_tags_post_request_body.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/review_sets/item/queries/item/microsoft_graph_ediscovery_apply_tags/apply_tags_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ..........models.ediscovery.tag import Tag + writer.write_collection_of_object_values("tagsToAdd", self.tags_to_add) writer.write_collection_of_object_values("tagsToRemove", self.tags_to_remove) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/source_collections/count/count_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/source_collections/count/count_request_builder.py index 84b542f1575..a4632be9025 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/source_collections/count/count_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/source_collections/count/count_request_builder.py @@ -45,7 +45,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/source_collections/item/additional_sources/count/count_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/source_collections/item/additional_sources/count/count_request_builder.py index f9201e90f77..43ddd52f3bf 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/source_collections/item/additional_sources/count/count_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/source_collections/item/additional_sources/count/count_request_builder.py @@ -45,7 +45,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/source_collections/item/custodian_sources/count/count_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/source_collections/item/custodian_sources/count/count_request_builder.py index 6893f529ccd..ca7f115e9e4 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/source_collections/item/custodian_sources/count/count_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/source_collections/item/custodian_sources/count/count_request_builder.py @@ -45,7 +45,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/source_collections/item/noncustodial_sources/count/count_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/source_collections/item/noncustodial_sources/count/count_request_builder.py index 1cc42918a28..7e93561dbc0 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/source_collections/item/noncustodial_sources/count/count_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/source_collections/item/noncustodial_sources/count/count_request_builder.py @@ -45,7 +45,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/tags/count/count_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/tags/count/count_request_builder.py index c6eacbaa093..31f2586fb0e 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/tags/count/count_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/tags/count/count_request_builder.py @@ -45,7 +45,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/tags/item/child_tags/count/count_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/tags/item/child_tags/count/count_request_builder.py index c392f105dd2..515ff4a81fb 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/tags/item/child_tags/count/count_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/tags/item/child_tags/count/count_request_builder.py @@ -45,7 +45,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/tags/microsoft_graph_ediscovery_as_hierarchy/as_hierarchy_get_response.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/tags/microsoft_graph_ediscovery_as_hierarchy/as_hierarchy_get_response.py index 0d339baf879..9ed75efcbf7 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/tags/microsoft_graph_ediscovery_as_hierarchy/as_hierarchy_get_response.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/tags/microsoft_graph_ediscovery_as_hierarchy/as_hierarchy_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .......models.ediscovery.tag import Tag + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/connections/count/count_request_builder.py b/msgraph_beta/generated/connections/count/count_request_builder.py index 3b3608af997..6333ce5ab0d 100644 --- a/msgraph_beta/generated/connections/count/count_request_builder.py +++ b/msgraph_beta/generated/connections/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/connections/item/groups/count/count_request_builder.py b/msgraph_beta/generated/connections/item/groups/count/count_request_builder.py index 31a7564eb9c..ca258348596 100644 --- a/msgraph_beta/generated/connections/item/groups/count/count_request_builder.py +++ b/msgraph_beta/generated/connections/item/groups/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/connections/item/groups/item/members/count/count_request_builder.py b/msgraph_beta/generated/connections/item/groups/item/members/count/count_request_builder.py index 3c707955fac..1bcb8e4fad4 100644 --- a/msgraph_beta/generated/connections/item/groups/item/members/count/count_request_builder.py +++ b/msgraph_beta/generated/connections/item/groups/item/members/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/connections/item/items/count/count_request_builder.py b/msgraph_beta/generated/connections/item/items/count/count_request_builder.py index 318388fe3af..490cc86bb02 100644 --- a/msgraph_beta/generated/connections/item/items/count/count_request_builder.py +++ b/msgraph_beta/generated/connections/item/items/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/connections/item/items/item/activities/count/count_request_builder.py b/msgraph_beta/generated/connections/item/items/item/activities/count/count_request_builder.py index 4ce55159b32..f8d9b8979fb 100644 --- a/msgraph_beta/generated/connections/item/items/item/activities/count/count_request_builder.py +++ b/msgraph_beta/generated/connections/item/items/item/activities/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/connections/item/items/item/microsoft_graph_external_connectors_add_activities/add_activities_post_request_body.py b/msgraph_beta/generated/connections/item/items/item/microsoft_graph_external_connectors_add_activities/add_activities_post_request_body.py index 8069c5dd7df..ea96a9f13bd 100644 --- a/msgraph_beta/generated/connections/item/items/item/microsoft_graph_external_connectors_add_activities/add_activities_post_request_body.py +++ b/msgraph_beta/generated/connections/item/items/item/microsoft_graph_external_connectors_add_activities/add_activities_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ......models.external_connectors.external_activity import ExternalActivity + writer.write_collection_of_object_values("activities", self.activities) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/connections/item/items/item/microsoft_graph_external_connectors_add_activities/add_activities_post_response.py b/msgraph_beta/generated/connections/item/items/item/microsoft_graph_external_connectors_add_activities/add_activities_post_response.py index afa60c7f776..1bed5d1ddc2 100644 --- a/msgraph_beta/generated/connections/item/items/item/microsoft_graph_external_connectors_add_activities/add_activities_post_response.py +++ b/msgraph_beta/generated/connections/item/items/item/microsoft_graph_external_connectors_add_activities/add_activities_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ......models.external_connectors.external_activity_result import ExternalActivityResult + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/connections/item/operations/count/count_request_builder.py b/msgraph_beta/generated/connections/item/operations/count/count_request_builder.py index 514f3cbd539..2d82614efc7 100644 --- a/msgraph_beta/generated/connections/item/operations/count/count_request_builder.py +++ b/msgraph_beta/generated/connections/item/operations/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/contacts/count/count_request_builder.py b/msgraph_beta/generated/contacts/count/count_request_builder.py index 02e96e35d31..755e5725a08 100644 --- a/msgraph_beta/generated/contacts/count/count_request_builder.py +++ b/msgraph_beta/generated/contacts/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/contacts/delta/delta_get_response.py b/msgraph_beta/generated/contacts/delta/delta_get_response.py index 2132d2c7134..1d58dc0f1ff 100644 --- a/msgraph_beta/generated/contacts/delta/delta_get_response.py +++ b/msgraph_beta/generated/contacts/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ...models.base_delta_function_response import BaseDeltaFunctionResponse + from ...models.org_contact import OrgContact + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/contacts/delta/delta_request_builder.py b/msgraph_beta/generated/contacts/delta/delta_request_builder.py index 9859a25db81..ff6a42a1a2d 100644 --- a/msgraph_beta/generated/contacts/delta/delta_request_builder.py +++ b/msgraph_beta/generated/contacts/delta/delta_request_builder.py @@ -31,7 +31,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def get(self,request_configuration: Optional[RequestConfiguration[DeltaRequestBuilderGetQueryParameters]] = None) -> Optional[DeltaGetResponse]: """ - Get newly created, updated, or deleted organizational contacts without having to perform a full read of the entire collection. See change tracking for details. + Get newly created, updated, or deleted organizational contacts without having to perform a full read of the entire collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeltaGetResponse] Find more info here: https://learn.microsoft.com/graph/api/orgcontact-delta?view=graph-rest-beta @@ -52,7 +52,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DeltaReq def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[DeltaRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Get newly created, updated, or deleted organizational contacts without having to perform a full read of the entire collection. See change tracking for details. + Get newly created, updated, or deleted organizational contacts without having to perform a full read of the entire collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -74,7 +74,7 @@ def with_url(self,raw_url: str) -> DeltaRequestBuilder: @dataclass class DeltaRequestBuilderGetQueryParameters(): """ - Get newly created, updated, or deleted organizational contacts without having to perform a full read of the entire collection. See change tracking for details. + Get newly created, updated, or deleted organizational contacts without having to perform a full read of the entire collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/contacts/get_by_ids/get_by_ids_post_response.py b/msgraph_beta/generated/contacts/get_by_ids/get_by_ids_post_response.py index a3099558efc..488f70f9c5d 100644 --- a/msgraph_beta/generated/contacts/get_by_ids/get_by_ids_post_response.py +++ b/msgraph_beta/generated/contacts/get_by_ids/get_by_ids_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ...models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ...models.directory_object import DirectoryObject + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/contacts/item/check_member_groups/check_member_groups_post_response.py b/msgraph_beta/generated/contacts/item/check_member_groups/check_member_groups_post_response.py index cdf041e2573..b2ce0f888c9 100644 --- a/msgraph_beta/generated/contacts/item/check_member_groups/check_member_groups_post_response.py +++ b/msgraph_beta/generated/contacts/item/check_member_groups/check_member_groups_post_response.py @@ -49,6 +49,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_primitive_values("value", self.value) diff --git a/msgraph_beta/generated/contacts/item/check_member_objects/check_member_objects_post_response.py b/msgraph_beta/generated/contacts/item/check_member_objects/check_member_objects_post_response.py index 2dc94a92d04..e2a652a7c28 100644 --- a/msgraph_beta/generated/contacts/item/check_member_objects/check_member_objects_post_response.py +++ b/msgraph_beta/generated/contacts/item/check_member_objects/check_member_objects_post_response.py @@ -49,6 +49,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_primitive_values("value", self.value) diff --git a/msgraph_beta/generated/contacts/item/direct_reports/count/count_request_builder.py b/msgraph_beta/generated/contacts/item/direct_reports/count/count_request_builder.py index b70bb4deaee..908cf861d07 100644 --- a/msgraph_beta/generated/contacts/item/direct_reports/count/count_request_builder.py +++ b/msgraph_beta/generated/contacts/item/direct_reports/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/contacts/item/direct_reports/graph_org_contact/count/count_request_builder.py b/msgraph_beta/generated/contacts/item/direct_reports/graph_org_contact/count/count_request_builder.py index 5f92cc70f15..11af60e8e9d 100644 --- a/msgraph_beta/generated/contacts/item/direct_reports/graph_org_contact/count/count_request_builder.py +++ b/msgraph_beta/generated/contacts/item/direct_reports/graph_org_contact/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/contacts/item/direct_reports/graph_user/count/count_request_builder.py b/msgraph_beta/generated/contacts/item/direct_reports/graph_user/count/count_request_builder.py index f186d1905c5..2c1bb08aecd 100644 --- a/msgraph_beta/generated/contacts/item/direct_reports/graph_user/count/count_request_builder.py +++ b/msgraph_beta/generated/contacts/item/direct_reports/graph_user/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/contacts/item/get_member_groups/get_member_groups_post_response.py b/msgraph_beta/generated/contacts/item/get_member_groups/get_member_groups_post_response.py index bd4dad887b8..5ac4a9b07d5 100644 --- a/msgraph_beta/generated/contacts/item/get_member_groups/get_member_groups_post_response.py +++ b/msgraph_beta/generated/contacts/item/get_member_groups/get_member_groups_post_response.py @@ -49,6 +49,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_primitive_values("value", self.value) diff --git a/msgraph_beta/generated/contacts/item/get_member_objects/get_member_objects_post_response.py b/msgraph_beta/generated/contacts/item/get_member_objects/get_member_objects_post_response.py index fe38b269075..e63599e52a4 100644 --- a/msgraph_beta/generated/contacts/item/get_member_objects/get_member_objects_post_response.py +++ b/msgraph_beta/generated/contacts/item/get_member_objects/get_member_objects_post_response.py @@ -49,6 +49,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_primitive_values("value", self.value) diff --git a/msgraph_beta/generated/contacts/item/member_of/count/count_request_builder.py b/msgraph_beta/generated/contacts/item/member_of/count/count_request_builder.py index cb73cfe802d..4c8928d3f16 100644 --- a/msgraph_beta/generated/contacts/item/member_of/count/count_request_builder.py +++ b/msgraph_beta/generated/contacts/item/member_of/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/contacts/item/member_of/graph_administrative_unit/count/count_request_builder.py b/msgraph_beta/generated/contacts/item/member_of/graph_administrative_unit/count/count_request_builder.py index 04ab1e05067..8bfeaaddc4c 100644 --- a/msgraph_beta/generated/contacts/item/member_of/graph_administrative_unit/count/count_request_builder.py +++ b/msgraph_beta/generated/contacts/item/member_of/graph_administrative_unit/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/contacts/item/member_of/graph_group/count/count_request_builder.py b/msgraph_beta/generated/contacts/item/member_of/graph_group/count/count_request_builder.py index 01362634ca9..7df1d67d108 100644 --- a/msgraph_beta/generated/contacts/item/member_of/graph_group/count/count_request_builder.py +++ b/msgraph_beta/generated/contacts/item/member_of/graph_group/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/contacts/item/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/contacts/item/service_provisioning_errors/count/count_request_builder.py index 54b504ef24a..1235cc2750f 100644 --- a/msgraph_beta/generated/contacts/item/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/contacts/item/service_provisioning_errors/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/contacts/item/transitive_member_of/count/count_request_builder.py b/msgraph_beta/generated/contacts/item/transitive_member_of/count/count_request_builder.py index 747576cc80f..d1b06674db4 100644 --- a/msgraph_beta/generated/contacts/item/transitive_member_of/count/count_request_builder.py +++ b/msgraph_beta/generated/contacts/item/transitive_member_of/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/contacts/item/transitive_member_of/graph_administrative_unit/count/count_request_builder.py b/msgraph_beta/generated/contacts/item/transitive_member_of/graph_administrative_unit/count/count_request_builder.py index 1f3b45f5e81..bfd7fe1aad1 100644 --- a/msgraph_beta/generated/contacts/item/transitive_member_of/graph_administrative_unit/count/count_request_builder.py +++ b/msgraph_beta/generated/contacts/item/transitive_member_of/graph_administrative_unit/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/contacts/item/transitive_member_of/graph_group/count/count_request_builder.py b/msgraph_beta/generated/contacts/item/transitive_member_of/graph_group/count/count_request_builder.py index ea77e63dafa..5092c3295da 100644 --- a/msgraph_beta/generated/contacts/item/transitive_member_of/graph_group/count/count_request_builder.py +++ b/msgraph_beta/generated/contacts/item/transitive_member_of/graph_group/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/contacts/item/transitive_reports/count/count_request_builder.py b/msgraph_beta/generated/contacts/item/transitive_reports/count/count_request_builder.py index 98fb702d28d..5f1aff91200 100644 --- a/msgraph_beta/generated/contacts/item/transitive_reports/count/count_request_builder.py +++ b/msgraph_beta/generated/contacts/item/transitive_reports/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/contracts/count/count_request_builder.py b/msgraph_beta/generated/contracts/count/count_request_builder.py index 3cbd34536df..30b85ec7ac6 100644 --- a/msgraph_beta/generated/contracts/count/count_request_builder.py +++ b/msgraph_beta/generated/contracts/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/contracts/delta/delta_get_response.py b/msgraph_beta/generated/contracts/delta/delta_get_response.py index 26603c17b35..d58d0fb6cad 100644 --- a/msgraph_beta/generated/contracts/delta/delta_get_response.py +++ b/msgraph_beta/generated/contracts/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ...models.base_delta_function_response import BaseDeltaFunctionResponse + from ...models.directory_object import DirectoryObject + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/contracts/delta/delta_request_builder.py b/msgraph_beta/generated/contracts/delta/delta_request_builder.py index 73da989f2e5..f431545ee39 100644 --- a/msgraph_beta/generated/contracts/delta/delta_request_builder.py +++ b/msgraph_beta/generated/contracts/delta/delta_request_builder.py @@ -31,7 +31,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def get(self,request_configuration: Optional[RequestConfiguration[DeltaRequestBuilderGetQueryParameters]] = None) -> Optional[DeltaGetResponse]: """ - Get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information about the delta function, see Use delta query to track changes in Microsoft Graph data for details. + Get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeltaGetResponse] Find more info here: https://learn.microsoft.com/graph/api/directoryobject-delta?view=graph-rest-beta @@ -52,7 +52,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DeltaReq def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[DeltaRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information about the delta function, see Use delta query to track changes in Microsoft Graph data for details. + Get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -74,7 +74,7 @@ def with_url(self,raw_url: str) -> DeltaRequestBuilder: @dataclass class DeltaRequestBuilderGetQueryParameters(): """ - Get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information about the delta function, see Use delta query to track changes in Microsoft Graph data for details. + Get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/contracts/get_by_ids/get_by_ids_post_response.py b/msgraph_beta/generated/contracts/get_by_ids/get_by_ids_post_response.py index a3099558efc..488f70f9c5d 100644 --- a/msgraph_beta/generated/contracts/get_by_ids/get_by_ids_post_response.py +++ b/msgraph_beta/generated/contracts/get_by_ids/get_by_ids_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ...models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ...models.directory_object import DirectoryObject + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/contracts/item/check_member_groups/check_member_groups_post_response.py b/msgraph_beta/generated/contracts/item/check_member_groups/check_member_groups_post_response.py index cdf041e2573..b2ce0f888c9 100644 --- a/msgraph_beta/generated/contracts/item/check_member_groups/check_member_groups_post_response.py +++ b/msgraph_beta/generated/contracts/item/check_member_groups/check_member_groups_post_response.py @@ -49,6 +49,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_primitive_values("value", self.value) diff --git a/msgraph_beta/generated/contracts/item/check_member_objects/check_member_objects_post_response.py b/msgraph_beta/generated/contracts/item/check_member_objects/check_member_objects_post_response.py index 2dc94a92d04..e2a652a7c28 100644 --- a/msgraph_beta/generated/contracts/item/check_member_objects/check_member_objects_post_response.py +++ b/msgraph_beta/generated/contracts/item/check_member_objects/check_member_objects_post_response.py @@ -49,6 +49,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_primitive_values("value", self.value) diff --git a/msgraph_beta/generated/contracts/item/get_member_groups/get_member_groups_post_response.py b/msgraph_beta/generated/contracts/item/get_member_groups/get_member_groups_post_response.py index bd4dad887b8..5ac4a9b07d5 100644 --- a/msgraph_beta/generated/contracts/item/get_member_groups/get_member_groups_post_response.py +++ b/msgraph_beta/generated/contracts/item/get_member_groups/get_member_groups_post_response.py @@ -49,6 +49,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_primitive_values("value", self.value) diff --git a/msgraph_beta/generated/contracts/item/get_member_objects/get_member_objects_post_response.py b/msgraph_beta/generated/contracts/item/get_member_objects/get_member_objects_post_response.py index fe38b269075..e63599e52a4 100644 --- a/msgraph_beta/generated/contracts/item/get_member_objects/get_member_objects_post_response.py +++ b/msgraph_beta/generated/contracts/item/get_member_objects/get_member_objects_post_response.py @@ -49,6 +49,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_primitive_values("value", self.value) diff --git a/msgraph_beta/generated/data_classification/classify_exact_matches/classify_exact_matches_post_request_body.py b/msgraph_beta/generated/data_classification/classify_exact_matches/classify_exact_matches_post_request_body.py index c27d52e9005..4dcbc0a932b 100644 --- a/msgraph_beta/generated/data_classification/classify_exact_matches/classify_exact_matches_post_request_body.py +++ b/msgraph_beta/generated/data_classification/classify_exact_matches/classify_exact_matches_post_request_body.py @@ -59,6 +59,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ...models.content_classification import ContentClassification + writer.write_collection_of_object_values("contentClassifications", self.content_classifications) writer.write_collection_of_primitive_values("sensitiveTypeIds", self.sensitive_type_ids) writer.write_str_value("text", self.text) diff --git a/msgraph_beta/generated/data_classification/classify_file_jobs/count/count_request_builder.py b/msgraph_beta/generated/data_classification/classify_file_jobs/count/count_request_builder.py index 8dfe6634664..9c78b6a6f0d 100644 --- a/msgraph_beta/generated/data_classification/classify_file_jobs/count/count_request_builder.py +++ b/msgraph_beta/generated/data_classification/classify_file_jobs/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/data_classification/classify_text_jobs/count/count_request_builder.py b/msgraph_beta/generated/data_classification/classify_text_jobs/count/count_request_builder.py index 07fcaf7af05..62132c3e4ed 100644 --- a/msgraph_beta/generated/data_classification/classify_text_jobs/count/count_request_builder.py +++ b/msgraph_beta/generated/data_classification/classify_text_jobs/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/data_classification/evaluate_dlp_policies_jobs/count/count_request_builder.py b/msgraph_beta/generated/data_classification/evaluate_dlp_policies_jobs/count/count_request_builder.py index 96d3cf8f73f..c6e6d1133ac 100644 --- a/msgraph_beta/generated/data_classification/evaluate_dlp_policies_jobs/count/count_request_builder.py +++ b/msgraph_beta/generated/data_classification/evaluate_dlp_policies_jobs/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/data_classification/evaluate_label_jobs/count/count_request_builder.py b/msgraph_beta/generated/data_classification/evaluate_label_jobs/count/count_request_builder.py index 18418c840cd..a63f5b87a32 100644 --- a/msgraph_beta/generated/data_classification/evaluate_label_jobs/count/count_request_builder.py +++ b/msgraph_beta/generated/data_classification/evaluate_label_jobs/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/data_classification/exact_match_data_stores/count/count_request_builder.py b/msgraph_beta/generated/data_classification/exact_match_data_stores/count/count_request_builder.py index 75fee76a9ce..974b810fa45 100644 --- a/msgraph_beta/generated/data_classification/exact_match_data_stores/count/count_request_builder.py +++ b/msgraph_beta/generated/data_classification/exact_match_data_stores/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/data_classification/exact_match_data_stores/item/lookup/lookup_post_response.py b/msgraph_beta/generated/data_classification/exact_match_data_stores/item/lookup/lookup_post_response.py index b68337983ae..90e2e92bcec 100644 --- a/msgraph_beta/generated/data_classification/exact_match_data_stores/item/lookup/lookup_post_response.py +++ b/msgraph_beta/generated/data_classification/exact_match_data_stores/item/lookup/lookup_post_response.py @@ -49,6 +49,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_primitive_values("value", self.value) diff --git a/msgraph_beta/generated/data_classification/exact_match_data_stores/item/sessions/count/count_request_builder.py b/msgraph_beta/generated/data_classification/exact_match_data_stores/item/sessions/count/count_request_builder.py index 1e444b07ea9..834f7e9a9ae 100644 --- a/msgraph_beta/generated/data_classification/exact_match_data_stores/item/sessions/count/count_request_builder.py +++ b/msgraph_beta/generated/data_classification/exact_match_data_stores/item/sessions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/data_classification/exact_match_upload_agents/count/count_request_builder.py b/msgraph_beta/generated/data_classification/exact_match_upload_agents/count/count_request_builder.py index ab4ddba8c3c..d4f202512e4 100644 --- a/msgraph_beta/generated/data_classification/exact_match_upload_agents/count/count_request_builder.py +++ b/msgraph_beta/generated/data_classification/exact_match_upload_agents/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/data_classification/jobs/count/count_request_builder.py b/msgraph_beta/generated/data_classification/jobs/count/count_request_builder.py index a6a283ebb71..74f08668753 100644 --- a/msgraph_beta/generated/data_classification/jobs/count/count_request_builder.py +++ b/msgraph_beta/generated/data_classification/jobs/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/data_classification/sensitive_types/count/count_request_builder.py b/msgraph_beta/generated/data_classification/sensitive_types/count/count_request_builder.py index e0d538bab71..52863fd0c4c 100644 --- a/msgraph_beta/generated/data_classification/sensitive_types/count/count_request_builder.py +++ b/msgraph_beta/generated/data_classification/sensitive_types/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/data_classification/sensitivity_labels/count/count_request_builder.py b/msgraph_beta/generated/data_classification/sensitivity_labels/count/count_request_builder.py index 3d9e1cf67f1..1b92ea8705b 100644 --- a/msgraph_beta/generated/data_classification/sensitivity_labels/count/count_request_builder.py +++ b/msgraph_beta/generated/data_classification/sensitivity_labels/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/data_classification/sensitivity_labels/evaluate/evaluate_post_request_body.py b/msgraph_beta/generated/data_classification/sensitivity_labels/evaluate/evaluate_post_request_body.py index 152aeec2fe1..962614c56df 100644 --- a/msgraph_beta/generated/data_classification/sensitivity_labels/evaluate/evaluate_post_request_body.py +++ b/msgraph_beta/generated/data_classification/sensitivity_labels/evaluate/evaluate_post_request_body.py @@ -56,6 +56,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ....models.current_label import CurrentLabel + from ....models.discovered_sensitive_type import DiscoveredSensitiveType + writer.write_object_value("currentLabel", self.current_label) writer.write_collection_of_object_values("discoveredSensitiveTypes", self.discovered_sensitive_types) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/data_classification/sensitivity_labels/item/sublabels/count/count_request_builder.py b/msgraph_beta/generated/data_classification/sensitivity_labels/item/sublabels/count/count_request_builder.py index 06fe5beb44d..c2e3de3ac7a 100644 --- a/msgraph_beta/generated/data_classification/sensitivity_labels/item/sublabels/count/count_request_builder.py +++ b/msgraph_beta/generated/data_classification/sensitivity_labels/item/sublabels/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/data_classification/sensitivity_labels/item/sublabels/evaluate/evaluate_post_request_body.py b/msgraph_beta/generated/data_classification/sensitivity_labels/item/sublabels/evaluate/evaluate_post_request_body.py index ab630148f58..b9c7528cf2b 100644 --- a/msgraph_beta/generated/data_classification/sensitivity_labels/item/sublabels/evaluate/evaluate_post_request_body.py +++ b/msgraph_beta/generated/data_classification/sensitivity_labels/item/sublabels/evaluate/evaluate_post_request_body.py @@ -56,6 +56,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ......models.current_label import CurrentLabel + from ......models.discovered_sensitive_type import DiscoveredSensitiveType + writer.write_object_value("currentLabel", self.current_label) writer.write_collection_of_object_values("discoveredSensitiveTypes", self.discovered_sensitive_types) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/data_policy_operations/count/count_request_builder.py b/msgraph_beta/generated/data_policy_operations/count/count_request_builder.py index ba82dacc660..f5386375a85 100644 --- a/msgraph_beta/generated/data_policy_operations/count/count_request_builder.py +++ b/msgraph_beta/generated/data_policy_operations/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/android_managed_app_protections/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/android_managed_app_protections/count/count_request_builder.py index 129eab06403..0fac8120691 100644 --- a/msgraph_beta/generated/device_app_management/android_managed_app_protections/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/android_managed_app_protections/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/android_managed_app_protections/has_payload_links/has_payload_links_post_response.py b/msgraph_beta/generated/device_app_management/android_managed_app_protections/has_payload_links/has_payload_links_post_response.py index cbdd8b9a604..c84d78ee906 100644 --- a/msgraph_beta/generated/device_app_management/android_managed_app_protections/has_payload_links/has_payload_links_post_response.py +++ b/msgraph_beta/generated/device_app_management/android_managed_app_protections/has_payload_links/has_payload_links_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ....models.has_payload_link_result_item import HasPayloadLinkResultItem + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/device_app_management/android_managed_app_protections/item/apps/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/android_managed_app_protections/item/apps/count/count_request_builder.py index 7431e68c157..9611ef4f459 100644 --- a/msgraph_beta/generated/device_app_management/android_managed_app_protections/item/apps/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/android_managed_app_protections/item/apps/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/android_managed_app_protections/item/assignments/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/android_managed_app_protections/item/assignments/count/count_request_builder.py index 4825842a8be..ccb6e6684b3 100644 --- a/msgraph_beta/generated/device_app_management/android_managed_app_protections/item/assignments/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/android_managed_app_protections/item/assignments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/default_managed_app_protections/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/default_managed_app_protections/count/count_request_builder.py index 2b89ba89888..06deebe29bf 100644 --- a/msgraph_beta/generated/device_app_management/default_managed_app_protections/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/default_managed_app_protections/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/default_managed_app_protections/item/apps/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/default_managed_app_protections/item/apps/count/count_request_builder.py index ba6105068c6..a2cd8c17ee1 100644 --- a/msgraph_beta/generated/device_app_management/default_managed_app_protections/item/apps/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/default_managed_app_protections/item/apps/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/device_app_management_tasks/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/device_app_management_tasks/count/count_request_builder.py index aa7e75cf8b1..fbed610c79d 100644 --- a/msgraph_beta/generated/device_app_management/device_app_management_tasks/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/device_app_management_tasks/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/device_app_management_tasks/item/update_status/update_status_post_request_body.py b/msgraph_beta/generated/device_app_management/device_app_management_tasks/item/update_status/update_status_post_request_body.py index af8bad9ca19..0b5a52b10b2 100644 --- a/msgraph_beta/generated/device_app_management/device_app_management_tasks/item/update_status/update_status_post_request_body.py +++ b/msgraph_beta/generated/device_app_management/device_app_management_tasks/item/update_status/update_status_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.device_app_management_task_status import DeviceAppManagementTaskStatus + writer.write_str_value("note", self.note) writer.write_enum_value("status", self.status) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/device_app_management/enterprise_code_signing_certificates/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/enterprise_code_signing_certificates/count/count_request_builder.py index 2982acc8fdc..90a2c872fc5 100644 --- a/msgraph_beta/generated/device_app_management/enterprise_code_signing_certificates/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/enterprise_code_signing_certificates/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/ios_lob_app_provisioning_configurations/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/ios_lob_app_provisioning_configurations/count/count_request_builder.py index cb0579bd2e2..ff1a8b24b8d 100644 --- a/msgraph_beta/generated/device_app_management/ios_lob_app_provisioning_configurations/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/ios_lob_app_provisioning_configurations/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/ios_lob_app_provisioning_configurations/has_payload_links/has_payload_links_post_response.py b/msgraph_beta/generated/device_app_management/ios_lob_app_provisioning_configurations/has_payload_links/has_payload_links_post_response.py index cbdd8b9a604..c84d78ee906 100644 --- a/msgraph_beta/generated/device_app_management/ios_lob_app_provisioning_configurations/has_payload_links/has_payload_links_post_response.py +++ b/msgraph_beta/generated/device_app_management/ios_lob_app_provisioning_configurations/has_payload_links/has_payload_links_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ....models.has_payload_link_result_item import HasPayloadLinkResultItem + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/device_app_management/ios_lob_app_provisioning_configurations/item/assign/assign_post_request_body.py b/msgraph_beta/generated/device_app_management/ios_lob_app_provisioning_configurations/item/assign/assign_post_request_body.py index 669c308ec86..d5459b087f6 100644 --- a/msgraph_beta/generated/device_app_management/ios_lob_app_provisioning_configurations/item/assign/assign_post_request_body.py +++ b/msgraph_beta/generated/device_app_management/ios_lob_app_provisioning_configurations/item/assign/assign_post_request_body.py @@ -56,6 +56,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.ios_lob_app_provisioning_configuration_assignment import IosLobAppProvisioningConfigurationAssignment + from .....models.mobile_app_provisioning_config_group_assignment import MobileAppProvisioningConfigGroupAssignment + writer.write_collection_of_object_values("appProvisioningConfigurationGroupAssignments", self.app_provisioning_configuration_group_assignments) writer.write_collection_of_object_values("iOSLobAppProvisioningConfigAssignments", self.i_o_s_lob_app_provisioning_config_assignments) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/device_app_management/ios_lob_app_provisioning_configurations/item/assignments/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/ios_lob_app_provisioning_configurations/item/assignments/count/count_request_builder.py index 96e85280d3a..7fb84efc41d 100644 --- a/msgraph_beta/generated/device_app_management/ios_lob_app_provisioning_configurations/item/assignments/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/ios_lob_app_provisioning_configurations/item/assignments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/ios_lob_app_provisioning_configurations/item/device_statuses/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/ios_lob_app_provisioning_configurations/item/device_statuses/count/count_request_builder.py index 341e229488c..fa9a2865dc9 100644 --- a/msgraph_beta/generated/device_app_management/ios_lob_app_provisioning_configurations/item/device_statuses/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/ios_lob_app_provisioning_configurations/item/device_statuses/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/ios_lob_app_provisioning_configurations/item/group_assignments/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/ios_lob_app_provisioning_configurations/item/group_assignments/count/count_request_builder.py index ddacf595f5c..b04649c1b0f 100644 --- a/msgraph_beta/generated/device_app_management/ios_lob_app_provisioning_configurations/item/group_assignments/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/ios_lob_app_provisioning_configurations/item/group_assignments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/ios_lob_app_provisioning_configurations/item/user_statuses/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/ios_lob_app_provisioning_configurations/item/user_statuses/count/count_request_builder.py index 76cc5b283e7..57140e77063 100644 --- a/msgraph_beta/generated/device_app_management/ios_lob_app_provisioning_configurations/item/user_statuses/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/ios_lob_app_provisioning_configurations/item/user_statuses/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/ios_managed_app_protections/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/ios_managed_app_protections/count/count_request_builder.py index 6ce1ceb440a..21aa41d89a1 100644 --- a/msgraph_beta/generated/device_app_management/ios_managed_app_protections/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/ios_managed_app_protections/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/ios_managed_app_protections/has_payload_links/has_payload_links_post_response.py b/msgraph_beta/generated/device_app_management/ios_managed_app_protections/has_payload_links/has_payload_links_post_response.py index cbdd8b9a604..c84d78ee906 100644 --- a/msgraph_beta/generated/device_app_management/ios_managed_app_protections/has_payload_links/has_payload_links_post_response.py +++ b/msgraph_beta/generated/device_app_management/ios_managed_app_protections/has_payload_links/has_payload_links_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ....models.has_payload_link_result_item import HasPayloadLinkResultItem + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/device_app_management/ios_managed_app_protections/item/apps/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/ios_managed_app_protections/item/apps/count/count_request_builder.py index 5b5e74d0b1c..a6b1d63c142 100644 --- a/msgraph_beta/generated/device_app_management/ios_managed_app_protections/item/apps/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/ios_managed_app_protections/item/apps/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/ios_managed_app_protections/item/assignments/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/ios_managed_app_protections/item/assignments/count/count_request_builder.py index e662eb8aec5..e585aa42bc8 100644 --- a/msgraph_beta/generated/device_app_management/ios_managed_app_protections/item/assignments/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/ios_managed_app_protections/item/assignments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/managed_app_policies/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/managed_app_policies/count/count_request_builder.py index 8f2990ab66f..d18c61e52e3 100644 --- a/msgraph_beta/generated/device_app_management/managed_app_policies/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/managed_app_policies/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/managed_app_policies/item/target_apps/target_apps_post_request_body.py b/msgraph_beta/generated/device_app_management/managed_app_policies/item/target_apps/target_apps_post_request_body.py index ce2e3cc22b1..6aa95b23777 100644 --- a/msgraph_beta/generated/device_app_management/managed_app_policies/item/target_apps/target_apps_post_request_body.py +++ b/msgraph_beta/generated/device_app_management/managed_app_policies/item/target_apps/target_apps_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.managed_mobile_app import ManagedMobileApp + writer.write_collection_of_object_values("apps", self.apps) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/device_app_management/managed_app_registrations/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/managed_app_registrations/count/count_request_builder.py index 4da7c70aa6c..043112ca528 100644 --- a/msgraph_beta/generated/device_app_management/managed_app_registrations/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/managed_app_registrations/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/managed_app_registrations/get_user_ids_with_flagged_app_registration/get_user_ids_with_flagged_app_registration_get_response.py b/msgraph_beta/generated/device_app_management/managed_app_registrations/get_user_ids_with_flagged_app_registration/get_user_ids_with_flagged_app_registration_get_response.py index 53cbfc54f72..64c1c1913f2 100644 --- a/msgraph_beta/generated/device_app_management/managed_app_registrations/get_user_ids_with_flagged_app_registration/get_user_ids_with_flagged_app_registration_get_response.py +++ b/msgraph_beta/generated/device_app_management/managed_app_registrations/get_user_ids_with_flagged_app_registration/get_user_ids_with_flagged_app_registration_get_response.py @@ -49,6 +49,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_primitive_values("value", self.value) diff --git a/msgraph_beta/generated/device_app_management/managed_app_registrations/item/applied_policies/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/managed_app_registrations/item/applied_policies/count/count_request_builder.py index d84da2b740f..a4cd1d74052 100644 --- a/msgraph_beta/generated/device_app_management/managed_app_registrations/item/applied_policies/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/managed_app_registrations/item/applied_policies/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/managed_app_registrations/item/applied_policies/item/target_apps/target_apps_post_request_body.py b/msgraph_beta/generated/device_app_management/managed_app_registrations/item/applied_policies/item/target_apps/target_apps_post_request_body.py index 4b5d14e4df0..e8f3b78924e 100644 --- a/msgraph_beta/generated/device_app_management/managed_app_registrations/item/applied_policies/item/target_apps/target_apps_post_request_body.py +++ b/msgraph_beta/generated/device_app_management/managed_app_registrations/item/applied_policies/item/target_apps/target_apps_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .......models.managed_mobile_app import ManagedMobileApp + writer.write_collection_of_object_values("apps", self.apps) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/device_app_management/managed_app_registrations/item/intended_policies/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/managed_app_registrations/item/intended_policies/count/count_request_builder.py index ce8d0459331..a3dbd19e8f0 100644 --- a/msgraph_beta/generated/device_app_management/managed_app_registrations/item/intended_policies/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/managed_app_registrations/item/intended_policies/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/managed_app_registrations/item/intended_policies/item/target_apps/target_apps_post_request_body.py b/msgraph_beta/generated/device_app_management/managed_app_registrations/item/intended_policies/item/target_apps/target_apps_post_request_body.py index 4b5d14e4df0..e8f3b78924e 100644 --- a/msgraph_beta/generated/device_app_management/managed_app_registrations/item/intended_policies/item/target_apps/target_apps_post_request_body.py +++ b/msgraph_beta/generated/device_app_management/managed_app_registrations/item/intended_policies/item/target_apps/target_apps_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .......models.managed_mobile_app import ManagedMobileApp + writer.write_collection_of_object_values("apps", self.apps) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/device_app_management/managed_app_registrations/item/managed_app_log_collection_requests/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/managed_app_registrations/item/managed_app_log_collection_requests/count/count_request_builder.py index 84cf1b72a74..ce7f69b3d43 100644 --- a/msgraph_beta/generated/device_app_management/managed_app_registrations/item/managed_app_log_collection_requests/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/managed_app_registrations/item/managed_app_log_collection_requests/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/managed_app_registrations/item/operations/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/managed_app_registrations/item/operations/count/count_request_builder.py index 50ded61d337..00c0f533ceb 100644 --- a/msgraph_beta/generated/device_app_management/managed_app_registrations/item/operations/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/managed_app_registrations/item/operations/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/managed_app_statuses/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/managed_app_statuses/count/count_request_builder.py index fcb454e7afb..2394646f985 100644 --- a/msgraph_beta/generated/device_app_management/managed_app_statuses/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/managed_app_statuses/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/managed_e_book_categories/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/managed_e_book_categories/count/count_request_builder.py index 420a82f1409..2262a6deb75 100644 --- a/msgraph_beta/generated/device_app_management/managed_e_book_categories/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/managed_e_book_categories/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/managed_e_books/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/managed_e_books/count/count_request_builder.py index 6e39bff2457..85caf9fdb5f 100644 --- a/msgraph_beta/generated/device_app_management/managed_e_books/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/managed_e_books/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/managed_e_books/item/assign/assign_post_request_body.py b/msgraph_beta/generated/device_app_management/managed_e_books/item/assign/assign_post_request_body.py index ed5b8b1be39..2862e18ada1 100644 --- a/msgraph_beta/generated/device_app_management/managed_e_books/item/assign/assign_post_request_body.py +++ b/msgraph_beta/generated/device_app_management/managed_e_books/item/assign/assign_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.managed_e_book_assignment import ManagedEBookAssignment + writer.write_collection_of_object_values("managedEBookAssignments", self.managed_e_book_assignments) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/device_app_management/managed_e_books/item/assignments/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/managed_e_books/item/assignments/count/count_request_builder.py index 323415b7c28..a86d108db0d 100644 --- a/msgraph_beta/generated/device_app_management/managed_e_books/item/assignments/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/managed_e_books/item/assignments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/managed_e_books/item/categories/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/managed_e_books/item/categories/count/count_request_builder.py index 085f0fdf3c9..2b87a1b103f 100644 --- a/msgraph_beta/generated/device_app_management/managed_e_books/item/categories/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/managed_e_books/item/categories/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/managed_e_books/item/device_states/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/managed_e_books/item/device_states/count/count_request_builder.py index 7e52600b277..901e693ecc6 100644 --- a/msgraph_beta/generated/device_app_management/managed_e_books/item/device_states/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/managed_e_books/item/device_states/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/managed_e_books/item/user_state_summary/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/managed_e_books/item/user_state_summary/count/count_request_builder.py index 3d7ce736163..827d25fe14c 100644 --- a/msgraph_beta/generated/device_app_management/managed_e_books/item/user_state_summary/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/managed_e_books/item/user_state_summary/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/managed_e_books/item/user_state_summary/item/device_states/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/managed_e_books/item/user_state_summary/item/device_states/count/count_request_builder.py index 609d73c4d4b..1d6f055e09d 100644 --- a/msgraph_beta/generated/device_app_management/managed_e_books/item/user_state_summary/item/device_states/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/managed_e_books/item/user_state_summary/item/device_states/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/mdm_windows_information_protection_policies/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/mdm_windows_information_protection_policies/count/count_request_builder.py index 7a2a76ebafe..c3aecc950ef 100644 --- a/msgraph_beta/generated/device_app_management/mdm_windows_information_protection_policies/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mdm_windows_information_protection_policies/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/mdm_windows_information_protection_policies/has_payload_links/has_payload_links_post_response.py b/msgraph_beta/generated/device_app_management/mdm_windows_information_protection_policies/has_payload_links/has_payload_links_post_response.py index cbdd8b9a604..c84d78ee906 100644 --- a/msgraph_beta/generated/device_app_management/mdm_windows_information_protection_policies/has_payload_links/has_payload_links_post_response.py +++ b/msgraph_beta/generated/device_app_management/mdm_windows_information_protection_policies/has_payload_links/has_payload_links_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ....models.has_payload_link_result_item import HasPayloadLinkResultItem + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/device_app_management/mdm_windows_information_protection_policies/item/assignments/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/mdm_windows_information_protection_policies/item/assignments/count/count_request_builder.py index 255a21f7283..95bb47c3a09 100644 --- a/msgraph_beta/generated/device_app_management/mdm_windows_information_protection_policies/item/assignments/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mdm_windows_information_protection_policies/item/assignments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/mdm_windows_information_protection_policies/item/exempt_app_locker_files/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/mdm_windows_information_protection_policies/item/exempt_app_locker_files/count/count_request_builder.py index d06aca49476..c546b5459fd 100644 --- a/msgraph_beta/generated/device_app_management/mdm_windows_information_protection_policies/item/exempt_app_locker_files/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mdm_windows_information_protection_policies/item/exempt_app_locker_files/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/mdm_windows_information_protection_policies/item/protected_app_locker_files/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/mdm_windows_information_protection_policies/item/protected_app_locker_files/count/count_request_builder.py index 6ecf1353a12..7e4868dbef9 100644 --- a/msgraph_beta/generated/device_app_management/mdm_windows_information_protection_policies/item/protected_app_locker_files/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mdm_windows_information_protection_policies/item/protected_app_locker_files/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_app_catalog_packages/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_app_catalog_packages/count/count_request_builder.py index 22290c8e38e..600bd5de7b7 100644 --- a/msgraph_beta/generated/device_app_management/mobile_app_catalog_packages/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_app_catalog_packages/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_app_categories/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_app_categories/count/count_request_builder.py index afdccecf50b..fa4bf8aad1b 100644 --- a/msgraph_beta/generated/device_app_management/mobile_app_categories/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_app_categories/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_app_configurations/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_app_configurations/count/count_request_builder.py index 1aab532047b..d8774cb6a1d 100644 --- a/msgraph_beta/generated/device_app_management/mobile_app_configurations/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_app_configurations/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_app_configurations/item/assign/assign_post_request_body.py b/msgraph_beta/generated/device_app_management/mobile_app_configurations/item/assign/assign_post_request_body.py index a4f1e12d608..1e433a68f0e 100644 --- a/msgraph_beta/generated/device_app_management/mobile_app_configurations/item/assign/assign_post_request_body.py +++ b/msgraph_beta/generated/device_app_management/mobile_app_configurations/item/assign/assign_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.managed_device_mobile_app_configuration_assignment import ManagedDeviceMobileAppConfigurationAssignment + writer.write_collection_of_object_values("assignments", self.assignments) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/device_app_management/mobile_app_configurations/item/assignments/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_app_configurations/item/assignments/count/count_request_builder.py index 76b6e5f340b..999a5ff9452 100644 --- a/msgraph_beta/generated/device_app_management/mobile_app_configurations/item/assignments/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_app_configurations/item/assignments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_app_configurations/item/device_statuses/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_app_configurations/item/device_statuses/count/count_request_builder.py index 73790f9a52d..e19896de054 100644 --- a/msgraph_beta/generated/device_app_management/mobile_app_configurations/item/device_statuses/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_app_configurations/item/device_statuses/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_app_configurations/item/user_statuses/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_app_configurations/item/user_statuses/count/count_request_builder.py index 92d37bd1a78..5fea79c726d 100644 --- a/msgraph_beta/generated/device_app_management/mobile_app_configurations/item/user_statuses/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_app_configurations/item/user_statuses/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_app_relationships/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_app_relationships/count/count_request_builder.py index d0ee64f9300..5bbfad8de09 100644 --- a/msgraph_beta/generated/device_app_management/mobile_app_relationships/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_app_relationships/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/count/count_request_builder.py index 6fd7970bac3..e3c4b236a2f 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/graph_android_for_work_app/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/graph_android_for_work_app/count/count_request_builder.py index 5bf02dc85d8..93494522ba8 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/graph_android_for_work_app/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/graph_android_for_work_app/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/graph_android_lob_app/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/graph_android_lob_app/count/count_request_builder.py index dff755ea913..3b22a392105 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/graph_android_lob_app/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/graph_android_lob_app/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/graph_android_managed_store_app/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/graph_android_managed_store_app/count/count_request_builder.py index 107ca9ec2c8..fc689f75d0f 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/graph_android_managed_store_app/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/graph_android_managed_store_app/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/graph_android_store_app/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/graph_android_store_app/count/count_request_builder.py index d2a6bf3be47..a8946077abc 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/graph_android_store_app/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/graph_android_store_app/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/graph_ios_lob_app/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/graph_ios_lob_app/count/count_request_builder.py index 7275941abcf..376d5a6a1e9 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/graph_ios_lob_app/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/graph_ios_lob_app/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/graph_ios_store_app/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/graph_ios_store_app/count/count_request_builder.py index a1e9f669026..edfa5e22974 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/graph_ios_store_app/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/graph_ios_store_app/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/graph_ios_vpp_app/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/graph_ios_vpp_app/count/count_request_builder.py index c3430845565..23298fe9174 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/graph_ios_vpp_app/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/graph_ios_vpp_app/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/graph_mac_o_s_dmg_app/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/graph_mac_o_s_dmg_app/count/count_request_builder.py index b0d9d0258df..79a650556fc 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/graph_mac_o_s_dmg_app/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/graph_mac_o_s_dmg_app/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/graph_mac_o_s_lob_app/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/graph_mac_o_s_lob_app/count/count_request_builder.py index ac21f8cfd7a..adb76b17397 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/graph_mac_o_s_lob_app/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/graph_mac_o_s_lob_app/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/graph_mac_o_s_pkg_app/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/graph_mac_o_s_pkg_app/count/count_request_builder.py index c9d06da98d7..726eab0fa1a 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/graph_mac_o_s_pkg_app/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/graph_mac_o_s_pkg_app/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/graph_managed_android_lob_app/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/graph_managed_android_lob_app/count/count_request_builder.py index 59e614856f7..9a7f4d5cca0 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/graph_managed_android_lob_app/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/graph_managed_android_lob_app/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/graph_managed_i_o_s_lob_app/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/graph_managed_i_o_s_lob_app/count/count_request_builder.py index 037aeadfdb6..47e2cdaf7dd 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/graph_managed_i_o_s_lob_app/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/graph_managed_i_o_s_lob_app/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/graph_managed_mobile_lob_app/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/graph_managed_mobile_lob_app/count/count_request_builder.py index 0ce1cfbfba5..9bbad6d74bc 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/graph_managed_mobile_lob_app/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/graph_managed_mobile_lob_app/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/graph_microsoft_store_for_business_app/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/graph_microsoft_store_for_business_app/count/count_request_builder.py index b9f5b2d1432..6c2f6301473 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/graph_microsoft_store_for_business_app/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/graph_microsoft_store_for_business_app/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/graph_win32_lob_app/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/graph_win32_lob_app/count/count_request_builder.py index 1f1843a0930..812fbdc56b5 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/graph_win32_lob_app/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/graph_win32_lob_app/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/graph_win_get_app/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/graph_win_get_app/count/count_request_builder.py index 0c75781f236..1fe05131341 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/graph_win_get_app/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/graph_win_get_app/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/graph_windows_app_x/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/graph_windows_app_x/count/count_request_builder.py index 2d2ebcf0400..30da9bc63f4 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/graph_windows_app_x/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/graph_windows_app_x/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/graph_windows_mobile_m_s_i/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/graph_windows_mobile_m_s_i/count/count_request_builder.py index 44b6ca683f8..617265c1cb2 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/graph_windows_mobile_m_s_i/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/graph_windows_mobile_m_s_i/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/graph_windows_store_app/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/graph_windows_store_app/count/count_request_builder.py index bc57c46883b..dc89f94f906 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/graph_windows_store_app/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/graph_windows_store_app/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/graph_windows_universal_app_x/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/graph_windows_universal_app_x/count/count_request_builder.py index db3d48d5c74..ee91749b662 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/graph_windows_universal_app_x/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/graph_windows_universal_app_x/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/graph_windows_web_app/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/graph_windows_web_app/count/count_request_builder.py index 4739dcfa52d..2d6d7073e37 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/graph_windows_web_app/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/graph_windows_web_app/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/has_payload_links/has_payload_links_post_response.py b/msgraph_beta/generated/device_app_management/mobile_apps/has_payload_links/has_payload_links_post_response.py index cbdd8b9a604..c84d78ee906 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/has_payload_links/has_payload_links_post_response.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/has_payload_links/has_payload_links_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ....models.has_payload_link_result_item import HasPayloadLinkResultItem + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/assign/assign_post_request_body.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/assign/assign_post_request_body.py index 94e53ace40e..80e67c98b21 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/assign/assign_post_request_body.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/assign/assign_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.mobile_app_assignment import MobileAppAssignment + writer.write_collection_of_object_values("mobileAppAssignments", self.mobile_app_assignments) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/assignments/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/assignments/count/count_request_builder.py index dff9d5cb3db..ef3b8ed3551 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/assignments/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/assignments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/categories/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/categories/count/count_request_builder.py index 9c8d8df857f..d12f62741a2 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/categories/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/categories/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_for_work_app/assignments/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_for_work_app/assignments/count/count_request_builder.py index c1aa7c4e688..33e8fe3ef5e 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_for_work_app/assignments/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_for_work_app/assignments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_for_work_app/categories/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_for_work_app/categories/count/count_request_builder.py index 77334a61acf..be32f5acb74 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_for_work_app/categories/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_for_work_app/categories/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_for_work_app/relationships/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_for_work_app/relationships/count/count_request_builder.py index e8da835537f..e50d328cda0 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_for_work_app/relationships/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_for_work_app/relationships/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_lob_app/assignments/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_lob_app/assignments/count/count_request_builder.py index f50704a50db..a4fcfa6052a 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_lob_app/assignments/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_lob_app/assignments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_lob_app/categories/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_lob_app/categories/count/count_request_builder.py index 651b3866d7f..fe0cc11ea81 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_lob_app/categories/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_lob_app/categories/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_lob_app/content_versions/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_lob_app/content_versions/count/count_request_builder.py index cc6342603f1..5a2a71fc7e8 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_lob_app/content_versions/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_lob_app/content_versions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_lob_app/content_versions/item/contained_apps/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_lob_app/content_versions/item/contained_apps/count/count_request_builder.py index ee2ffe9f3bd..cc4b187868e 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_lob_app/content_versions/item/contained_apps/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_lob_app/content_versions/item/contained_apps/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_lob_app/content_versions/item/files/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_lob_app/content_versions/item/files/count/count_request_builder.py index d299fa7d6d4..d25bfc14946 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_lob_app/content_versions/item/files/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_lob_app/content_versions/item/files/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_lob_app/content_versions/item/files/item/commit/commit_post_request_body.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_lob_app/content_versions/item/files/item/commit/commit_post_request_body.py index 6f6dbf894f7..f8e1ee22089 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_lob_app/content_versions/item/files/item/commit/commit_post_request_body.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_lob_app/content_versions/item/files/item/commit/commit_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ..........models.file_encryption_info import FileEncryptionInfo + writer.write_object_value("fileEncryptionInfo", self.file_encryption_info) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_lob_app/relationships/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_lob_app/relationships/count/count_request_builder.py index f9b1b6ee9f5..f9ce41643e5 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_lob_app/relationships/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_lob_app/relationships/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_managed_store_app/assignments/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_managed_store_app/assignments/count/count_request_builder.py index 0990a25c150..5a445e7e756 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_managed_store_app/assignments/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_managed_store_app/assignments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_managed_store_app/categories/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_managed_store_app/categories/count/count_request_builder.py index a6b2f5086c4..3d76ce19cb2 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_managed_store_app/categories/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_managed_store_app/categories/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_managed_store_app/relationships/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_managed_store_app/relationships/count/count_request_builder.py index 26dfa32a042..53ab78e81c6 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_managed_store_app/relationships/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_managed_store_app/relationships/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_store_app/assignments/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_store_app/assignments/count/count_request_builder.py index cc2f198ffda..d238207af04 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_store_app/assignments/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_store_app/assignments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_store_app/categories/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_store_app/categories/count/count_request_builder.py index 4b0be01d3ea..69e7082611c 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_store_app/categories/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_store_app/categories/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_store_app/relationships/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_store_app/relationships/count/count_request_builder.py index 4fc9d55e010..948ad4771b5 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_store_app/relationships/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_store_app/relationships/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_lob_app/assignments/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_lob_app/assignments/count/count_request_builder.py index 5ca9696a12b..b7c3f6aadd6 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_lob_app/assignments/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_lob_app/assignments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_lob_app/categories/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_lob_app/categories/count/count_request_builder.py index d9b40e204d1..bcb2e12da22 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_lob_app/categories/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_lob_app/categories/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_lob_app/content_versions/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_lob_app/content_versions/count/count_request_builder.py index c8f804b114f..7eb5768d52d 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_lob_app/content_versions/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_lob_app/content_versions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_lob_app/content_versions/item/contained_apps/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_lob_app/content_versions/item/contained_apps/count/count_request_builder.py index 6e66a81e82c..a3f6a03df8f 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_lob_app/content_versions/item/contained_apps/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_lob_app/content_versions/item/contained_apps/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_lob_app/content_versions/item/files/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_lob_app/content_versions/item/files/count/count_request_builder.py index 0699c06e37f..f3c7ea5ade9 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_lob_app/content_versions/item/files/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_lob_app/content_versions/item/files/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_lob_app/content_versions/item/files/item/commit/commit_post_request_body.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_lob_app/content_versions/item/files/item/commit/commit_post_request_body.py index 6f6dbf894f7..f8e1ee22089 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_lob_app/content_versions/item/files/item/commit/commit_post_request_body.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_lob_app/content_versions/item/files/item/commit/commit_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ..........models.file_encryption_info import FileEncryptionInfo + writer.write_object_value("fileEncryptionInfo", self.file_encryption_info) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_lob_app/relationships/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_lob_app/relationships/count/count_request_builder.py index d2a1d9c6bb1..27b5f79e057 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_lob_app/relationships/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_lob_app/relationships/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_store_app/assignments/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_store_app/assignments/count/count_request_builder.py index 741d447451d..c519721e607 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_store_app/assignments/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_store_app/assignments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_store_app/categories/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_store_app/categories/count/count_request_builder.py index bea8d8c0ab4..a53e91492d8 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_store_app/categories/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_store_app/categories/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_store_app/relationships/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_store_app/relationships/count/count_request_builder.py index 65057b44656..d225b3b3000 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_store_app/relationships/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_store_app/relationships/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_vpp_app/assigned_licenses/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_vpp_app/assigned_licenses/count/count_request_builder.py index 6c6f3370100..d8bb9c710eb 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_vpp_app/assigned_licenses/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_vpp_app/assigned_licenses/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_vpp_app/assignments/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_vpp_app/assignments/count/count_request_builder.py index a2f7bfe7ca1..63e79b86af0 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_vpp_app/assignments/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_vpp_app/assignments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_vpp_app/categories/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_vpp_app/categories/count/count_request_builder.py index 5744c32bdb1..fa48dd56c8d 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_vpp_app/categories/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_vpp_app/categories/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_vpp_app/relationships/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_vpp_app/relationships/count/count_request_builder.py index c8010343a9a..85f85787549 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_vpp_app/relationships/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_vpp_app/relationships/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_dmg_app/assignments/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_dmg_app/assignments/count/count_request_builder.py index daa4a296ab7..95ccc5e8291 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_dmg_app/assignments/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_dmg_app/assignments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_dmg_app/categories/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_dmg_app/categories/count/count_request_builder.py index 07a74b21547..ce972e50a35 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_dmg_app/categories/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_dmg_app/categories/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_dmg_app/content_versions/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_dmg_app/content_versions/count/count_request_builder.py index fa67dea1ac8..dba0f2ceee2 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_dmg_app/content_versions/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_dmg_app/content_versions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_dmg_app/content_versions/item/contained_apps/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_dmg_app/content_versions/item/contained_apps/count/count_request_builder.py index fb07cbe7aad..3250b611d7d 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_dmg_app/content_versions/item/contained_apps/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_dmg_app/content_versions/item/contained_apps/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_dmg_app/content_versions/item/files/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_dmg_app/content_versions/item/files/count/count_request_builder.py index 3040c41cfd1..f7baa901a7c 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_dmg_app/content_versions/item/files/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_dmg_app/content_versions/item/files/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_dmg_app/content_versions/item/files/item/commit/commit_post_request_body.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_dmg_app/content_versions/item/files/item/commit/commit_post_request_body.py index 6f6dbf894f7..f8e1ee22089 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_dmg_app/content_versions/item/files/item/commit/commit_post_request_body.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_dmg_app/content_versions/item/files/item/commit/commit_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ..........models.file_encryption_info import FileEncryptionInfo + writer.write_object_value("fileEncryptionInfo", self.file_encryption_info) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_dmg_app/relationships/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_dmg_app/relationships/count/count_request_builder.py index 4183d6803d6..39791e83d2b 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_dmg_app/relationships/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_dmg_app/relationships/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_lob_app/assignments/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_lob_app/assignments/count/count_request_builder.py index 3ca952b3053..8f61e197302 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_lob_app/assignments/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_lob_app/assignments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_lob_app/categories/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_lob_app/categories/count/count_request_builder.py index 8ac909fa133..fdb947508c4 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_lob_app/categories/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_lob_app/categories/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_lob_app/content_versions/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_lob_app/content_versions/count/count_request_builder.py index deb507ac018..f9978ce1a7c 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_lob_app/content_versions/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_lob_app/content_versions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_lob_app/content_versions/item/contained_apps/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_lob_app/content_versions/item/contained_apps/count/count_request_builder.py index 48ed1dc3d51..d06438915df 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_lob_app/content_versions/item/contained_apps/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_lob_app/content_versions/item/contained_apps/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_lob_app/content_versions/item/files/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_lob_app/content_versions/item/files/count/count_request_builder.py index 3adc5a6cef1..bb3a0f37c06 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_lob_app/content_versions/item/files/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_lob_app/content_versions/item/files/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_lob_app/content_versions/item/files/item/commit/commit_post_request_body.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_lob_app/content_versions/item/files/item/commit/commit_post_request_body.py index 6f6dbf894f7..f8e1ee22089 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_lob_app/content_versions/item/files/item/commit/commit_post_request_body.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_lob_app/content_versions/item/files/item/commit/commit_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ..........models.file_encryption_info import FileEncryptionInfo + writer.write_object_value("fileEncryptionInfo", self.file_encryption_info) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_lob_app/relationships/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_lob_app/relationships/count/count_request_builder.py index ebb79c42df5..ef20c033613 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_lob_app/relationships/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_lob_app/relationships/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_pkg_app/assignments/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_pkg_app/assignments/count/count_request_builder.py index 1ba1af0ef96..c7cd2cc2277 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_pkg_app/assignments/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_pkg_app/assignments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_pkg_app/categories/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_pkg_app/categories/count/count_request_builder.py index 75ba6b1b8ac..b4bad2ebe1b 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_pkg_app/categories/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_pkg_app/categories/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_pkg_app/content_versions/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_pkg_app/content_versions/count/count_request_builder.py index 60fa4850423..c2b7a78422d 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_pkg_app/content_versions/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_pkg_app/content_versions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_pkg_app/content_versions/item/contained_apps/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_pkg_app/content_versions/item/contained_apps/count/count_request_builder.py index 9901b7ce7fd..babdf29e2e9 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_pkg_app/content_versions/item/contained_apps/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_pkg_app/content_versions/item/contained_apps/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_pkg_app/content_versions/item/files/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_pkg_app/content_versions/item/files/count/count_request_builder.py index 50febf6aa8e..ce3cebaf12a 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_pkg_app/content_versions/item/files/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_pkg_app/content_versions/item/files/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_pkg_app/content_versions/item/files/item/commit/commit_post_request_body.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_pkg_app/content_versions/item/files/item/commit/commit_post_request_body.py index 6f6dbf894f7..f8e1ee22089 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_pkg_app/content_versions/item/files/item/commit/commit_post_request_body.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_pkg_app/content_versions/item/files/item/commit/commit_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ..........models.file_encryption_info import FileEncryptionInfo + writer.write_object_value("fileEncryptionInfo", self.file_encryption_info) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_pkg_app/relationships/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_pkg_app/relationships/count/count_request_builder.py index 9c346659dca..94bc335d755 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_pkg_app/relationships/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_pkg_app/relationships/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_android_lob_app/assignments/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_android_lob_app/assignments/count/count_request_builder.py index 3628f052846..f8bb344429e 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_android_lob_app/assignments/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_android_lob_app/assignments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_android_lob_app/categories/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_android_lob_app/categories/count/count_request_builder.py index 303f3b8d44c..42dd593ae72 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_android_lob_app/categories/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_android_lob_app/categories/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_android_lob_app/content_versions/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_android_lob_app/content_versions/count/count_request_builder.py index 1cd63c25f55..9b2767a4ebe 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_android_lob_app/content_versions/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_android_lob_app/content_versions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_android_lob_app/content_versions/item/contained_apps/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_android_lob_app/content_versions/item/contained_apps/count/count_request_builder.py index 08c057c3d9b..fe4f3431223 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_android_lob_app/content_versions/item/contained_apps/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_android_lob_app/content_versions/item/contained_apps/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_android_lob_app/content_versions/item/files/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_android_lob_app/content_versions/item/files/count/count_request_builder.py index 65dc3f6b6ea..1100db6ba25 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_android_lob_app/content_versions/item/files/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_android_lob_app/content_versions/item/files/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_android_lob_app/content_versions/item/files/item/commit/commit_post_request_body.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_android_lob_app/content_versions/item/files/item/commit/commit_post_request_body.py index 6f6dbf894f7..f8e1ee22089 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_android_lob_app/content_versions/item/files/item/commit/commit_post_request_body.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_android_lob_app/content_versions/item/files/item/commit/commit_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ..........models.file_encryption_info import FileEncryptionInfo + writer.write_object_value("fileEncryptionInfo", self.file_encryption_info) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_android_lob_app/relationships/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_android_lob_app/relationships/count/count_request_builder.py index 0eb8284e32e..8d1ccc23fdc 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_android_lob_app/relationships/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_android_lob_app/relationships/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_i_o_s_lob_app/assignments/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_i_o_s_lob_app/assignments/count/count_request_builder.py index 74695393e6c..600f68eff53 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_i_o_s_lob_app/assignments/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_i_o_s_lob_app/assignments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_i_o_s_lob_app/categories/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_i_o_s_lob_app/categories/count/count_request_builder.py index 725c1c6104a..e5012dcfc77 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_i_o_s_lob_app/categories/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_i_o_s_lob_app/categories/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_i_o_s_lob_app/content_versions/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_i_o_s_lob_app/content_versions/count/count_request_builder.py index ca74965a1f5..42caf8605cc 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_i_o_s_lob_app/content_versions/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_i_o_s_lob_app/content_versions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_i_o_s_lob_app/content_versions/item/contained_apps/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_i_o_s_lob_app/content_versions/item/contained_apps/count/count_request_builder.py index 34e3975c2fe..2eff3cada76 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_i_o_s_lob_app/content_versions/item/contained_apps/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_i_o_s_lob_app/content_versions/item/contained_apps/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_i_o_s_lob_app/content_versions/item/files/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_i_o_s_lob_app/content_versions/item/files/count/count_request_builder.py index b98a9c0df82..f062f8d5bb9 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_i_o_s_lob_app/content_versions/item/files/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_i_o_s_lob_app/content_versions/item/files/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_i_o_s_lob_app/content_versions/item/files/item/commit/commit_post_request_body.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_i_o_s_lob_app/content_versions/item/files/item/commit/commit_post_request_body.py index 6f6dbf894f7..f8e1ee22089 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_i_o_s_lob_app/content_versions/item/files/item/commit/commit_post_request_body.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_i_o_s_lob_app/content_versions/item/files/item/commit/commit_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ..........models.file_encryption_info import FileEncryptionInfo + writer.write_object_value("fileEncryptionInfo", self.file_encryption_info) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_i_o_s_lob_app/relationships/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_i_o_s_lob_app/relationships/count/count_request_builder.py index 6463b447320..f16f4e5f405 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_i_o_s_lob_app/relationships/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_i_o_s_lob_app/relationships/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_mobile_lob_app/assignments/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_mobile_lob_app/assignments/count/count_request_builder.py index e2cb3890d05..2d8155e01e7 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_mobile_lob_app/assignments/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_mobile_lob_app/assignments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_mobile_lob_app/categories/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_mobile_lob_app/categories/count/count_request_builder.py index e9342826571..8d8f4654a78 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_mobile_lob_app/categories/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_mobile_lob_app/categories/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_mobile_lob_app/content_versions/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_mobile_lob_app/content_versions/count/count_request_builder.py index d7ef6e15a85..a26fef6bc38 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_mobile_lob_app/content_versions/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_mobile_lob_app/content_versions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_mobile_lob_app/content_versions/item/contained_apps/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_mobile_lob_app/content_versions/item/contained_apps/count/count_request_builder.py index 4a02b9d08b7..1ababe825a0 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_mobile_lob_app/content_versions/item/contained_apps/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_mobile_lob_app/content_versions/item/contained_apps/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_mobile_lob_app/content_versions/item/files/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_mobile_lob_app/content_versions/item/files/count/count_request_builder.py index fe9b56cac6b..01ff8d3bfac 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_mobile_lob_app/content_versions/item/files/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_mobile_lob_app/content_versions/item/files/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_mobile_lob_app/content_versions/item/files/item/commit/commit_post_request_body.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_mobile_lob_app/content_versions/item/files/item/commit/commit_post_request_body.py index 6f6dbf894f7..f8e1ee22089 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_mobile_lob_app/content_versions/item/files/item/commit/commit_post_request_body.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_mobile_lob_app/content_versions/item/files/item/commit/commit_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ..........models.file_encryption_info import FileEncryptionInfo + writer.write_object_value("fileEncryptionInfo", self.file_encryption_info) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_mobile_lob_app/relationships/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_mobile_lob_app/relationships/count/count_request_builder.py index 0b6247a47f4..06516c3dfd3 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_mobile_lob_app/relationships/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_mobile_lob_app/relationships/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_microsoft_store_for_business_app/assignments/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_microsoft_store_for_business_app/assignments/count/count_request_builder.py index 9a0c7c6ea3d..56de67fdeee 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_microsoft_store_for_business_app/assignments/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_microsoft_store_for_business_app/assignments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_microsoft_store_for_business_app/categories/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_microsoft_store_for_business_app/categories/count/count_request_builder.py index 7509ae0885a..41d191ebf21 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_microsoft_store_for_business_app/categories/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_microsoft_store_for_business_app/categories/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_microsoft_store_for_business_app/contained_apps/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_microsoft_store_for_business_app/contained_apps/count/count_request_builder.py index 6d95a405bfe..bdcc4c89afd 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_microsoft_store_for_business_app/contained_apps/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_microsoft_store_for_business_app/contained_apps/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_microsoft_store_for_business_app/relationships/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_microsoft_store_for_business_app/relationships/count/count_request_builder.py index 143ac2039ba..d5084748d57 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_microsoft_store_for_business_app/relationships/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_microsoft_store_for_business_app/relationships/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win32_lob_app/assignments/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win32_lob_app/assignments/count/count_request_builder.py index 9d71db14fdc..388c6ff0667 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win32_lob_app/assignments/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win32_lob_app/assignments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win32_lob_app/categories/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win32_lob_app/categories/count/count_request_builder.py index 6a43e93cfe6..c0b022c8c45 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win32_lob_app/categories/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win32_lob_app/categories/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win32_lob_app/content_versions/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win32_lob_app/content_versions/count/count_request_builder.py index 7d90cd29cca..70a441eac83 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win32_lob_app/content_versions/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win32_lob_app/content_versions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win32_lob_app/content_versions/item/contained_apps/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win32_lob_app/content_versions/item/contained_apps/count/count_request_builder.py index 33fd340d077..b139dbbfb8b 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win32_lob_app/content_versions/item/contained_apps/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win32_lob_app/content_versions/item/contained_apps/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win32_lob_app/content_versions/item/files/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win32_lob_app/content_versions/item/files/count/count_request_builder.py index 81b7258eea1..0807789995e 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win32_lob_app/content_versions/item/files/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win32_lob_app/content_versions/item/files/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win32_lob_app/content_versions/item/files/item/commit/commit_post_request_body.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win32_lob_app/content_versions/item/files/item/commit/commit_post_request_body.py index 6f6dbf894f7..f8e1ee22089 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win32_lob_app/content_versions/item/files/item/commit/commit_post_request_body.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win32_lob_app/content_versions/item/files/item/commit/commit_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ..........models.file_encryption_info import FileEncryptionInfo + writer.write_object_value("fileEncryptionInfo", self.file_encryption_info) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win32_lob_app/relationships/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win32_lob_app/relationships/count/count_request_builder.py index 4977dc309bc..87dc2afd1b4 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win32_lob_app/relationships/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win32_lob_app/relationships/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win_get_app/assignments/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win_get_app/assignments/count/count_request_builder.py index 33f443e6729..b53f022b6bd 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win_get_app/assignments/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win_get_app/assignments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win_get_app/categories/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win_get_app/categories/count/count_request_builder.py index 064da8202ca..d2c78fb236f 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win_get_app/categories/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win_get_app/categories/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win_get_app/relationships/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win_get_app/relationships/count/count_request_builder.py index e9842da0ffc..240f35a5b85 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win_get_app/relationships/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win_get_app/relationships/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_app_x/assignments/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_app_x/assignments/count/count_request_builder.py index d3a4faff08b..b48a77294d7 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_app_x/assignments/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_app_x/assignments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_app_x/categories/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_app_x/categories/count/count_request_builder.py index 55c66774a89..aef3a7bd604 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_app_x/categories/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_app_x/categories/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_app_x/content_versions/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_app_x/content_versions/count/count_request_builder.py index 79e50bb1299..bb7d9bf4201 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_app_x/content_versions/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_app_x/content_versions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_app_x/content_versions/item/contained_apps/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_app_x/content_versions/item/contained_apps/count/count_request_builder.py index 81d4c6b786d..ff64d0e2eb9 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_app_x/content_versions/item/contained_apps/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_app_x/content_versions/item/contained_apps/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_app_x/content_versions/item/files/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_app_x/content_versions/item/files/count/count_request_builder.py index c1ab31eda03..f519b15f360 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_app_x/content_versions/item/files/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_app_x/content_versions/item/files/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_app_x/content_versions/item/files/item/commit/commit_post_request_body.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_app_x/content_versions/item/files/item/commit/commit_post_request_body.py index 6f6dbf894f7..f8e1ee22089 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_app_x/content_versions/item/files/item/commit/commit_post_request_body.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_app_x/content_versions/item/files/item/commit/commit_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ..........models.file_encryption_info import FileEncryptionInfo + writer.write_object_value("fileEncryptionInfo", self.file_encryption_info) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_app_x/relationships/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_app_x/relationships/count/count_request_builder.py index e4ee005121b..c87d31f523b 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_app_x/relationships/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_app_x/relationships/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_mobile_m_s_i/assignments/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_mobile_m_s_i/assignments/count/count_request_builder.py index e78471d4a11..a6676bd68f0 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_mobile_m_s_i/assignments/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_mobile_m_s_i/assignments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_mobile_m_s_i/categories/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_mobile_m_s_i/categories/count/count_request_builder.py index 8eb08468503..075688f981c 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_mobile_m_s_i/categories/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_mobile_m_s_i/categories/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_mobile_m_s_i/content_versions/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_mobile_m_s_i/content_versions/count/count_request_builder.py index a65ee11dc17..81805e40161 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_mobile_m_s_i/content_versions/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_mobile_m_s_i/content_versions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_mobile_m_s_i/content_versions/item/contained_apps/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_mobile_m_s_i/content_versions/item/contained_apps/count/count_request_builder.py index 13d5f65facd..c6b56cbfe36 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_mobile_m_s_i/content_versions/item/contained_apps/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_mobile_m_s_i/content_versions/item/contained_apps/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_mobile_m_s_i/content_versions/item/files/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_mobile_m_s_i/content_versions/item/files/count/count_request_builder.py index 54a4f52674b..3810a4274a5 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_mobile_m_s_i/content_versions/item/files/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_mobile_m_s_i/content_versions/item/files/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_mobile_m_s_i/content_versions/item/files/item/commit/commit_post_request_body.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_mobile_m_s_i/content_versions/item/files/item/commit/commit_post_request_body.py index 6f6dbf894f7..f8e1ee22089 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_mobile_m_s_i/content_versions/item/files/item/commit/commit_post_request_body.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_mobile_m_s_i/content_versions/item/files/item/commit/commit_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ..........models.file_encryption_info import FileEncryptionInfo + writer.write_object_value("fileEncryptionInfo", self.file_encryption_info) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_mobile_m_s_i/relationships/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_mobile_m_s_i/relationships/count/count_request_builder.py index 61cbb07a7bb..1f6c64c7511 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_mobile_m_s_i/relationships/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_mobile_m_s_i/relationships/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_store_app/assignments/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_store_app/assignments/count/count_request_builder.py index 83248106036..8daae09cd52 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_store_app/assignments/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_store_app/assignments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_store_app/categories/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_store_app/categories/count/count_request_builder.py index b2f6579d674..bbf304b3498 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_store_app/categories/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_store_app/categories/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_store_app/relationships/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_store_app/relationships/count/count_request_builder.py index 4f270b5f3f8..51c44ce3d1a 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_store_app/relationships/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_store_app/relationships/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_universal_app_x/assignments/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_universal_app_x/assignments/count/count_request_builder.py index 6f7a2f9dfc7..18cd79447ff 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_universal_app_x/assignments/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_universal_app_x/assignments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_universal_app_x/categories/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_universal_app_x/categories/count/count_request_builder.py index d945225278e..e8937921d85 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_universal_app_x/categories/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_universal_app_x/categories/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_universal_app_x/committed_contained_apps/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_universal_app_x/committed_contained_apps/count/count_request_builder.py index 2c169168a89..f283255d68f 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_universal_app_x/committed_contained_apps/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_universal_app_x/committed_contained_apps/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_universal_app_x/content_versions/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_universal_app_x/content_versions/count/count_request_builder.py index 5b7ba142266..b9d2e0c6d76 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_universal_app_x/content_versions/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_universal_app_x/content_versions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_universal_app_x/content_versions/item/contained_apps/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_universal_app_x/content_versions/item/contained_apps/count/count_request_builder.py index 3bcab073ef0..53f261d7d6b 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_universal_app_x/content_versions/item/contained_apps/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_universal_app_x/content_versions/item/contained_apps/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_universal_app_x/content_versions/item/files/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_universal_app_x/content_versions/item/files/count/count_request_builder.py index 82f730fcfaa..23df4b1fa75 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_universal_app_x/content_versions/item/files/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_universal_app_x/content_versions/item/files/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_universal_app_x/content_versions/item/files/item/commit/commit_post_request_body.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_universal_app_x/content_versions/item/files/item/commit/commit_post_request_body.py index 6f6dbf894f7..f8e1ee22089 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_universal_app_x/content_versions/item/files/item/commit/commit_post_request_body.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_universal_app_x/content_versions/item/files/item/commit/commit_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ..........models.file_encryption_info import FileEncryptionInfo + writer.write_object_value("fileEncryptionInfo", self.file_encryption_info) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_universal_app_x/relationships/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_universal_app_x/relationships/count/count_request_builder.py index 8d83b11b4b6..baa3c641993 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_universal_app_x/relationships/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_universal_app_x/relationships/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_web_app/assignments/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_web_app/assignments/count/count_request_builder.py index 9ba1a25d05d..c3888a46400 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_web_app/assignments/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_web_app/assignments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_web_app/categories/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_web_app/categories/count/count_request_builder.py index e80ca31f043..6b9ecb653f5 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_web_app/categories/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_web_app/categories/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_web_app/relationships/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_web_app/relationships/count/count_request_builder.py index 2e04fb9a00b..d62cdb4988d 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_web_app/relationships/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_web_app/relationships/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/relationships/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/relationships/count/count_request_builder.py index 6f2a4906e04..c209987eeda 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/relationships/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/relationships/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/update_relationships/update_relationships_post_request_body.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/update_relationships/update_relationships_post_request_body.py index 70b8ab8058b..82a12c355ad 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/update_relationships/update_relationships_post_request_body.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/update_relationships/update_relationships_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.mobile_app_relationship import MobileAppRelationship + writer.write_collection_of_object_values("relationships", self.relationships) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/device_app_management/policy_sets/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/policy_sets/count/count_request_builder.py index 010d599de2d..c2e81415016 100644 --- a/msgraph_beta/generated/device_app_management/policy_sets/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/policy_sets/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/policy_sets/get_policy_sets/get_policy_sets_post_response.py b/msgraph_beta/generated/device_app_management/policy_sets/get_policy_sets/get_policy_sets_post_response.py index 427b7f83d6b..4859a15b230 100644 --- a/msgraph_beta/generated/device_app_management/policy_sets/get_policy_sets/get_policy_sets_post_response.py +++ b/msgraph_beta/generated/device_app_management/policy_sets/get_policy_sets/get_policy_sets_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ....models.policy_set import PolicySet + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/device_app_management/policy_sets/item/assignments/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/policy_sets/item/assignments/count/count_request_builder.py index 0da21e8d0ad..9f1a17ad613 100644 --- a/msgraph_beta/generated/device_app_management/policy_sets/item/assignments/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/policy_sets/item/assignments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/policy_sets/item/items/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/policy_sets/item/items/count/count_request_builder.py index 39a5cddfc44..df142e39698 100644 --- a/msgraph_beta/generated/device_app_management/policy_sets/item/items/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/policy_sets/item/items/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/policy_sets/item/update/update_post_request_body.py b/msgraph_beta/generated/device_app_management/policy_sets/item/update/update_post_request_body.py index 2bef9554914..21a11b56602 100644 --- a/msgraph_beta/generated/device_app_management/policy_sets/item/update/update_post_request_body.py +++ b/msgraph_beta/generated/device_app_management/policy_sets/item/update/update_post_request_body.py @@ -62,6 +62,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.policy_set_assignment import PolicySetAssignment + from .....models.policy_set_item import PolicySetItem + writer.write_collection_of_object_values("addedPolicySetItems", self.added_policy_set_items) writer.write_collection_of_object_values("assignments", self.assignments) writer.write_collection_of_primitive_values("deletedPolicySetItems", self.deleted_policy_set_items) diff --git a/msgraph_beta/generated/device_app_management/targeted_managed_app_configurations/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/targeted_managed_app_configurations/count/count_request_builder.py index 17065db0285..444aeebcd0c 100644 --- a/msgraph_beta/generated/device_app_management/targeted_managed_app_configurations/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/targeted_managed_app_configurations/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/targeted_managed_app_configurations/has_payload_links/has_payload_links_post_response.py b/msgraph_beta/generated/device_app_management/targeted_managed_app_configurations/has_payload_links/has_payload_links_post_response.py index cbdd8b9a604..c84d78ee906 100644 --- a/msgraph_beta/generated/device_app_management/targeted_managed_app_configurations/has_payload_links/has_payload_links_post_response.py +++ b/msgraph_beta/generated/device_app_management/targeted_managed_app_configurations/has_payload_links/has_payload_links_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ....models.has_payload_link_result_item import HasPayloadLinkResultItem + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/device_app_management/targeted_managed_app_configurations/item/apps/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/targeted_managed_app_configurations/item/apps/count/count_request_builder.py index f2809d58c9b..aacc597f801 100644 --- a/msgraph_beta/generated/device_app_management/targeted_managed_app_configurations/item/apps/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/targeted_managed_app_configurations/item/apps/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/targeted_managed_app_configurations/item/assign/assign_post_request_body.py b/msgraph_beta/generated/device_app_management/targeted_managed_app_configurations/item/assign/assign_post_request_body.py index 3375f150517..9c4191b9e4e 100644 --- a/msgraph_beta/generated/device_app_management/targeted_managed_app_configurations/item/assign/assign_post_request_body.py +++ b/msgraph_beta/generated/device_app_management/targeted_managed_app_configurations/item/assign/assign_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.targeted_managed_app_policy_assignment import TargetedManagedAppPolicyAssignment + writer.write_collection_of_object_values("assignments", self.assignments) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/device_app_management/targeted_managed_app_configurations/item/assignments/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/targeted_managed_app_configurations/item/assignments/count/count_request_builder.py index d1bf2cc901b..4c0c900a901 100644 --- a/msgraph_beta/generated/device_app_management/targeted_managed_app_configurations/item/assignments/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/targeted_managed_app_configurations/item/assignments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/targeted_managed_app_configurations/item/change_settings/change_settings_post_request_body.py b/msgraph_beta/generated/device_app_management/targeted_managed_app_configurations/item/change_settings/change_settings_post_request_body.py index 531fcd5d590..7e018acd9eb 100644 --- a/msgraph_beta/generated/device_app_management/targeted_managed_app_configurations/item/change_settings/change_settings_post_request_body.py +++ b/msgraph_beta/generated/device_app_management/targeted_managed_app_configurations/item/change_settings/change_settings_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.device_management_configuration_setting import DeviceManagementConfigurationSetting + writer.write_collection_of_object_values("settings", self.settings) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/device_app_management/targeted_managed_app_configurations/item/settings/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/targeted_managed_app_configurations/item/settings/count/count_request_builder.py index b9941399120..04c37ecec96 100644 --- a/msgraph_beta/generated/device_app_management/targeted_managed_app_configurations/item/settings/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/targeted_managed_app_configurations/item/settings/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/targeted_managed_app_configurations/item/settings/item/setting_definitions/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/targeted_managed_app_configurations/item/settings/item/setting_definitions/count/count_request_builder.py index ab8442b1c1a..e9eb1710ffe 100644 --- a/msgraph_beta/generated/device_app_management/targeted_managed_app_configurations/item/settings/item/setting_definitions/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/targeted_managed_app_configurations/item/settings/item/setting_definitions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/targeted_managed_app_configurations/item/target_apps/target_apps_post_request_body.py b/msgraph_beta/generated/device_app_management/targeted_managed_app_configurations/item/target_apps/target_apps_post_request_body.py index 7694c4bd279..a911aa522cb 100644 --- a/msgraph_beta/generated/device_app_management/targeted_managed_app_configurations/item/target_apps/target_apps_post_request_body.py +++ b/msgraph_beta/generated/device_app_management/targeted_managed_app_configurations/item/target_apps/target_apps_post_request_body.py @@ -56,6 +56,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.managed_mobile_app import ManagedMobileApp + from .....models.targeted_managed_app_group_type import TargetedManagedAppGroupType + writer.write_enum_value("appGroupType", self.app_group_type) writer.write_collection_of_object_values("apps", self.apps) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/device_app_management/vpp_tokens/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/vpp_tokens/count/count_request_builder.py index c9132f0466d..8ac5723f421 100644 --- a/msgraph_beta/generated/device_app_management/vpp_tokens/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/vpp_tokens/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/vpp_tokens/get_licenses_for_app_with_bundle_id/get_licenses_for_app_with_bundle_id_get_response.py b/msgraph_beta/generated/device_app_management/vpp_tokens/get_licenses_for_app_with_bundle_id/get_licenses_for_app_with_bundle_id_get_response.py index ac749b16aa2..3b5c825661e 100644 --- a/msgraph_beta/generated/device_app_management/vpp_tokens/get_licenses_for_app_with_bundle_id/get_licenses_for_app_with_bundle_id_get_response.py +++ b/msgraph_beta/generated/device_app_management/vpp_tokens/get_licenses_for_app_with_bundle_id/get_licenses_for_app_with_bundle_id_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ....models.vpp_token_license_summary import VppTokenLicenseSummary + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/device_app_management/wdac_supplemental_policies/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/wdac_supplemental_policies/count/count_request_builder.py index 5945a565f90..78378fc0c0f 100644 --- a/msgraph_beta/generated/device_app_management/wdac_supplemental_policies/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/wdac_supplemental_policies/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/wdac_supplemental_policies/item/assign/assign_post_request_body.py b/msgraph_beta/generated/device_app_management/wdac_supplemental_policies/item/assign/assign_post_request_body.py index 90cf9811e77..1eadcc6b589 100644 --- a/msgraph_beta/generated/device_app_management/wdac_supplemental_policies/item/assign/assign_post_request_body.py +++ b/msgraph_beta/generated/device_app_management/wdac_supplemental_policies/item/assign/assign_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.windows_defender_application_control_supplemental_policy_assignment import WindowsDefenderApplicationControlSupplementalPolicyAssignment + writer.write_collection_of_object_values("wdacPolicyAssignments", self.wdac_policy_assignments) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/device_app_management/wdac_supplemental_policies/item/assignments/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/wdac_supplemental_policies/item/assignments/count/count_request_builder.py index 92a1fd1983a..fe94f260965 100644 --- a/msgraph_beta/generated/device_app_management/wdac_supplemental_policies/item/assignments/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/wdac_supplemental_policies/item/assignments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/wdac_supplemental_policies/item/device_statuses/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/wdac_supplemental_policies/item/device_statuses/count/count_request_builder.py index aa6522af807..b5e83ca7d94 100644 --- a/msgraph_beta/generated/device_app_management/wdac_supplemental_policies/item/device_statuses/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/wdac_supplemental_policies/item/device_statuses/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/windows_information_protection_device_registrations/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/windows_information_protection_device_registrations/count/count_request_builder.py index e258e3f0b8e..2bf428bbf14 100644 --- a/msgraph_beta/generated/device_app_management/windows_information_protection_device_registrations/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/windows_information_protection_device_registrations/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/windows_information_protection_policies/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/windows_information_protection_policies/count/count_request_builder.py index 741df47d111..9525adbb98c 100644 --- a/msgraph_beta/generated/device_app_management/windows_information_protection_policies/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/windows_information_protection_policies/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/windows_information_protection_policies/item/assignments/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/windows_information_protection_policies/item/assignments/count/count_request_builder.py index 3d85e35448e..825840427cf 100644 --- a/msgraph_beta/generated/device_app_management/windows_information_protection_policies/item/assignments/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/windows_information_protection_policies/item/assignments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/windows_information_protection_policies/item/exempt_app_locker_files/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/windows_information_protection_policies/item/exempt_app_locker_files/count/count_request_builder.py index 98da56b7eab..ffb2abbdaf9 100644 --- a/msgraph_beta/generated/device_app_management/windows_information_protection_policies/item/exempt_app_locker_files/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/windows_information_protection_policies/item/exempt_app_locker_files/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/windows_information_protection_policies/item/protected_app_locker_files/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/windows_information_protection_policies/item/protected_app_locker_files/count/count_request_builder.py index 4c4f539dfde..8b712110f9b 100644 --- a/msgraph_beta/generated/device_app_management/windows_information_protection_policies/item/protected_app_locker_files/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/windows_information_protection_policies/item/protected_app_locker_files/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/windows_information_protection_wipe_actions/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/windows_information_protection_wipe_actions/count/count_request_builder.py index 5866e7cbe35..51fd7dc8f02 100644 --- a/msgraph_beta/generated/device_app_management/windows_information_protection_wipe_actions/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/windows_information_protection_wipe_actions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/windows_managed_app_protections/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/windows_managed_app_protections/count/count_request_builder.py index 0467f067c46..5bcaa0bf7a6 100644 --- a/msgraph_beta/generated/device_app_management/windows_managed_app_protections/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/windows_managed_app_protections/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/windows_managed_app_protections/item/apps/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/windows_managed_app_protections/item/apps/count/count_request_builder.py index e7f3a5e5611..7ecc0848a17 100644 --- a/msgraph_beta/generated/device_app_management/windows_managed_app_protections/item/apps/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/windows_managed_app_protections/item/apps/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/windows_managed_app_protections/item/assign/assign_post_request_body.py b/msgraph_beta/generated/device_app_management/windows_managed_app_protections/item/assign/assign_post_request_body.py index 3375f150517..9c4191b9e4e 100644 --- a/msgraph_beta/generated/device_app_management/windows_managed_app_protections/item/assign/assign_post_request_body.py +++ b/msgraph_beta/generated/device_app_management/windows_managed_app_protections/item/assign/assign_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.targeted_managed_app_policy_assignment import TargetedManagedAppPolicyAssignment + writer.write_collection_of_object_values("assignments", self.assignments) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/device_app_management/windows_managed_app_protections/item/assignments/count/count_request_builder.py b/msgraph_beta/generated/device_app_management/windows_managed_app_protections/item/assignments/count/count_request_builder.py index bab56ca0f18..0ef63a1f567 100644 --- a/msgraph_beta/generated/device_app_management/windows_managed_app_protections/item/assignments/count/count_request_builder.py +++ b/msgraph_beta/generated/device_app_management/windows_managed_app_protections/item/assignments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_app_management/windows_managed_app_protections/item/target_apps/target_apps_post_request_body.py b/msgraph_beta/generated/device_app_management/windows_managed_app_protections/item/target_apps/target_apps_post_request_body.py index ce2e3cc22b1..6aa95b23777 100644 --- a/msgraph_beta/generated/device_app_management/windows_managed_app_protections/item/target_apps/target_apps_post_request_body.py +++ b/msgraph_beta/generated/device_app_management/windows_managed_app_protections/item/target_apps/target_apps_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.managed_mobile_app import ManagedMobileApp + writer.write_collection_of_object_values("apps", self.apps) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/device_management/advanced_threat_protection_onboarding_state_summary/advanced_threat_protection_onboarding_device_setting_states/count/count_request_builder.py b/msgraph_beta/generated/device_management/advanced_threat_protection_onboarding_state_summary/advanced_threat_protection_onboarding_device_setting_states/count/count_request_builder.py index 6c7f952d9cd..9ce236f6909 100644 --- a/msgraph_beta/generated/device_management/advanced_threat_protection_onboarding_state_summary/advanced_threat_protection_onboarding_device_setting_states/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/advanced_threat_protection_onboarding_state_summary/advanced_threat_protection_onboarding_device_setting_states/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/android_device_owner_enrollment_profiles/count/count_request_builder.py b/msgraph_beta/generated/device_management/android_device_owner_enrollment_profiles/count/count_request_builder.py index 3af75a0585c..e794b0656b7 100644 --- a/msgraph_beta/generated/device_management/android_device_owner_enrollment_profiles/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/android_device_owner_enrollment_profiles/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/android_for_work_app_configuration_schemas/count/count_request_builder.py b/msgraph_beta/generated/device_management/android_for_work_app_configuration_schemas/count/count_request_builder.py index cefb3ba62bf..0e1f61d2d75 100644 --- a/msgraph_beta/generated/device_management/android_for_work_app_configuration_schemas/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/android_for_work_app_configuration_schemas/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/android_for_work_enrollment_profiles/count/count_request_builder.py b/msgraph_beta/generated/device_management/android_for_work_enrollment_profiles/count/count_request_builder.py index 6a53620391b..d6d09b07afd 100644 --- a/msgraph_beta/generated/device_management/android_for_work_enrollment_profiles/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/android_for_work_enrollment_profiles/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/android_managed_store_app_configuration_schemas/count/count_request_builder.py b/msgraph_beta/generated/device_management/android_managed_store_app_configuration_schemas/count/count_request_builder.py index ab2637a5bc7..b0631a7db13 100644 --- a/msgraph_beta/generated/device_management/android_managed_store_app_configuration_schemas/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/android_managed_store_app_configuration_schemas/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/apple_user_initiated_enrollment_profiles/count/count_request_builder.py b/msgraph_beta/generated/device_management/apple_user_initiated_enrollment_profiles/count/count_request_builder.py index a3b997ddecd..5c51cb00493 100644 --- a/msgraph_beta/generated/device_management/apple_user_initiated_enrollment_profiles/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/apple_user_initiated_enrollment_profiles/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/apple_user_initiated_enrollment_profiles/item/assignments/count/count_request_builder.py b/msgraph_beta/generated/device_management/apple_user_initiated_enrollment_profiles/item/assignments/count/count_request_builder.py index 8bfca35bd6f..d0f28f6019f 100644 --- a/msgraph_beta/generated/device_management/apple_user_initiated_enrollment_profiles/item/assignments/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/apple_user_initiated_enrollment_profiles/item/assignments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/assignment_filters/count/count_request_builder.py b/msgraph_beta/generated/device_management/assignment_filters/count/count_request_builder.py index a830a64cfe6..04d510b5cbf 100644 --- a/msgraph_beta/generated/device_management/assignment_filters/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/assignment_filters/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/assignment_filters/get_platform_supported_properties_with_platform/get_platform_supported_properties_with_platform_get_response.py b/msgraph_beta/generated/device_management/assignment_filters/get_platform_supported_properties_with_platform/get_platform_supported_properties_with_platform_get_response.py index 9e842a4f1ae..3d7c7445a58 100644 --- a/msgraph_beta/generated/device_management/assignment_filters/get_platform_supported_properties_with_platform/get_platform_supported_properties_with_platform_get_response.py +++ b/msgraph_beta/generated/device_management/assignment_filters/get_platform_supported_properties_with_platform/get_platform_supported_properties_with_platform_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.assignment_filter_supported_property import AssignmentFilterSupportedProperty + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/device_management/assignment_filters/item/get_supported_properties/get_supported_properties_get_response.py b/msgraph_beta/generated/device_management/assignment_filters/item/get_supported_properties/get_supported_properties_get_response.py index 02822ae3f4a..d765bf190d4 100644 --- a/msgraph_beta/generated/device_management/assignment_filters/item/get_supported_properties/get_supported_properties_get_response.py +++ b/msgraph_beta/generated/device_management/assignment_filters/item/get_supported_properties/get_supported_properties_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .....models.assignment_filter_supported_property import AssignmentFilterSupportedProperty + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/device_management/assignment_filters/validate_filter/validate_filter_post_request_body.py b/msgraph_beta/generated/device_management/assignment_filters/validate_filter/validate_filter_post_request_body.py index 2b8895410a4..9efe3e498f3 100644 --- a/msgraph_beta/generated/device_management/assignment_filters/validate_filter/validate_filter_post_request_body.py +++ b/msgraph_beta/generated/device_management/assignment_filters/validate_filter/validate_filter_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ....models.device_and_app_management_assignment_filter import DeviceAndAppManagementAssignmentFilter + writer.write_object_value("deviceAndAppManagementAssignmentFilter", self.device_and_app_management_assignment_filter) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/device_management/audit_events/count/count_request_builder.py b/msgraph_beta/generated/device_management/audit_events/count/count_request_builder.py index 552e13bd1be..8a0caa58ced 100644 --- a/msgraph_beta/generated/device_management/audit_events/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/audit_events/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/audit_events/get_audit_activity_types_with_category/get_audit_activity_types_with_category_get_response.py b/msgraph_beta/generated/device_management/audit_events/get_audit_activity_types_with_category/get_audit_activity_types_with_category_get_response.py index fda68f9602b..cf7a3c46639 100644 --- a/msgraph_beta/generated/device_management/audit_events/get_audit_activity_types_with_category/get_audit_activity_types_with_category_get_response.py +++ b/msgraph_beta/generated/device_management/audit_events/get_audit_activity_types_with_category/get_audit_activity_types_with_category_get_response.py @@ -49,6 +49,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_primitive_values("value", self.value) diff --git a/msgraph_beta/generated/device_management/audit_events/get_audit_categories/get_audit_categories_get_response.py b/msgraph_beta/generated/device_management/audit_events/get_audit_categories/get_audit_categories_get_response.py index 3325c9db11e..840bba3fb81 100644 --- a/msgraph_beta/generated/device_management/audit_events/get_audit_categories/get_audit_categories_get_response.py +++ b/msgraph_beta/generated/device_management/audit_events/get_audit_categories/get_audit_categories_get_response.py @@ -49,6 +49,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_primitive_values("value", self.value) diff --git a/msgraph_beta/generated/device_management/autopilot_events/count/count_request_builder.py b/msgraph_beta/generated/device_management/autopilot_events/count/count_request_builder.py index a0f52049612..114c7bfaa61 100644 --- a/msgraph_beta/generated/device_management/autopilot_events/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/autopilot_events/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/cart_to_class_associations/count/count_request_builder.py b/msgraph_beta/generated/device_management/cart_to_class_associations/count/count_request_builder.py index 8cd2f4c2b4d..78518d0898f 100644 --- a/msgraph_beta/generated/device_management/cart_to_class_associations/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/cart_to_class_associations/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/categories/count/count_request_builder.py b/msgraph_beta/generated/device_management/categories/count/count_request_builder.py index c5b04c9a9a7..0a85ac4a0ef 100644 --- a/msgraph_beta/generated/device_management/categories/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/categories/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/categories/item/setting_definitions/count/count_request_builder.py b/msgraph_beta/generated/device_management/categories/item/setting_definitions/count/count_request_builder.py index b3f34c28a5b..2f459bf12ae 100644 --- a/msgraph_beta/generated/device_management/categories/item/setting_definitions/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/categories/item/setting_definitions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/certificate_connector_details/count/count_request_builder.py b/msgraph_beta/generated/device_management/certificate_connector_details/count/count_request_builder.py index e3391e244ea..10519d1db3a 100644 --- a/msgraph_beta/generated/device_management/certificate_connector_details/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/certificate_connector_details/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/certificate_connector_details/item/get_health_metric_time_series/get_health_metric_time_series_post_request_body.py b/msgraph_beta/generated/device_management/certificate_connector_details/item/get_health_metric_time_series/get_health_metric_time_series_post_request_body.py index 820acb71646..3d902072d2f 100644 --- a/msgraph_beta/generated/device_management/certificate_connector_details/item/get_health_metric_time_series/get_health_metric_time_series_post_request_body.py +++ b/msgraph_beta/generated/device_management/certificate_connector_details/item/get_health_metric_time_series/get_health_metric_time_series_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.time_series_parameter import TimeSeriesParameter + writer.write_object_value("timeSeries", self.time_series) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/device_management/certificate_connector_details/item/get_health_metric_time_series/get_health_metric_time_series_post_response.py b/msgraph_beta/generated/device_management/certificate_connector_details/item/get_health_metric_time_series/get_health_metric_time_series_post_response.py index 76bcc8097c2..b7cb01ffff7 100644 --- a/msgraph_beta/generated/device_management/certificate_connector_details/item/get_health_metric_time_series/get_health_metric_time_series_post_response.py +++ b/msgraph_beta/generated/device_management/certificate_connector_details/item/get_health_metric_time_series/get_health_metric_time_series_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .....models.certificate_connector_health_metric_value import CertificateConnectorHealthMetricValue + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/device_management/certificate_connector_details/item/get_health_metrics/get_health_metrics_post_response.py b/msgraph_beta/generated/device_management/certificate_connector_details/item/get_health_metrics/get_health_metrics_post_response.py index fff2a7961e5..e6af2495e49 100644 --- a/msgraph_beta/generated/device_management/certificate_connector_details/item/get_health_metrics/get_health_metrics_post_response.py +++ b/msgraph_beta/generated/device_management/certificate_connector_details/item/get_health_metrics/get_health_metrics_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .....models.key_long_value_pair import KeyLongValuePair + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/device_management/chrome_o_s_onboarding_settings/connect/connect_request_builder.py b/msgraph_beta/generated/device_management/chrome_o_s_onboarding_settings/connect/connect_request_builder.py index 05e3777ba2a..3c7c91c8eaa 100644 --- a/msgraph_beta/generated/device_management/chrome_o_s_onboarding_settings/connect/connect_request_builder.py +++ b/msgraph_beta/generated/device_management/chrome_o_s_onboarding_settings/connect/connect_request_builder.py @@ -51,7 +51,7 @@ async def post(self,body: ConnectPostRequestBody, request_configuration: Optiona raise Exception("Http core is null") from ....models.chrome_o_s_onboarding_status import ChromeOSOnboardingStatus - return await self.request_adapter.send_async(request_info, chromeOSOnboardingStatus, error_mapping) + return await self.request_adapter.send_primitive_async(request_info, "chromeOSOnboardingStatus", error_mapping) def to_post_request_information(self,body: ConnectPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/chrome_o_s_onboarding_settings/count/count_request_builder.py b/msgraph_beta/generated/device_management/chrome_o_s_onboarding_settings/count/count_request_builder.py index 05371f69b2f..b71b7ccb1e7 100644 --- a/msgraph_beta/generated/device_management/chrome_o_s_onboarding_settings/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/chrome_o_s_onboarding_settings/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/chrome_o_s_onboarding_settings/disconnect/disconnect_request_builder.py b/msgraph_beta/generated/device_management/chrome_o_s_onboarding_settings/disconnect/disconnect_request_builder.py index 02b213d81f0..8f1f24412b9 100644 --- a/msgraph_beta/generated/device_management/chrome_o_s_onboarding_settings/disconnect/disconnect_request_builder.py +++ b/msgraph_beta/generated/device_management/chrome_o_s_onboarding_settings/disconnect/disconnect_request_builder.py @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa raise Exception("Http core is null") from ....models.chrome_o_s_onboarding_status import ChromeOSOnboardingStatus - return await self.request_adapter.send_async(request_info, chromeOSOnboardingStatus, error_mapping) + return await self.request_adapter.send_primitive_async(request_info, "chromeOSOnboardingStatus", error_mapping) def to_post_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/cloud_certification_authority/count/count_request_builder.py b/msgraph_beta/generated/device_management/cloud_certification_authority/count/count_request_builder.py index 111e23d46b0..196e07ce356 100644 --- a/msgraph_beta/generated/device_management/cloud_certification_authority/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/cloud_certification_authority/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/cloud_certification_authority/item/change_cloud_certification_authority_status/change_cloud_certification_authority_status_post_request_body.py b/msgraph_beta/generated/device_management/cloud_certification_authority/item/change_cloud_certification_authority_status/change_cloud_certification_authority_status_post_request_body.py index 6a6951ab11f..971640caf63 100644 --- a/msgraph_beta/generated/device_management/cloud_certification_authority/item/change_cloud_certification_authority_status/change_cloud_certification_authority_status_post_request_body.py +++ b/msgraph_beta/generated/device_management/cloud_certification_authority/item/change_cloud_certification_authority_status/change_cloud_certification_authority_status_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.cloud_certification_authority_status import CloudCertificationAuthorityStatus + writer.write_enum_value("certificationAuthorityStatus", self.certification_authority_status) writer.write_int_value("certificationAuthorityVersion", self.certification_authority_version) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/device_management/cloud_certification_authority/item/cloud_certification_authority_item_request_builder.py b/msgraph_beta/generated/device_management/cloud_certification_authority/item/cloud_certification_authority_item_request_builder.py index fc30d45c44e..4326d56fd44 100644 --- a/msgraph_beta/generated/device_management/cloud_certification_authority/item/cloud_certification_authority_item_request_builder.py +++ b/msgraph_beta/generated/device_management/cloud_certification_authority/item/cloud_certification_authority_item_request_builder.py @@ -24,6 +24,8 @@ from .post_cloud_certification_authority.post_cloud_certification_authority_request_builder import PostCloudCertificationAuthorityRequestBuilder from .revoke_cloud_certification_authority_certificate.revoke_cloud_certification_authority_certificate_request_builder import RevokeCloudCertificationAuthorityCertificateRequestBuilder from .revoke_leaf_certificate.revoke_leaf_certificate_request_builder import RevokeLeafCertificateRequestBuilder + from .revoke_leaf_certificate_by_serial_number.revoke_leaf_certificate_by_serial_number_request_builder import RevokeLeafCertificateBySerialNumberRequestBuilder + from .search_cloud_certification_authority_leaf_certificate_by_serial_number.search_cloud_certification_authority_leaf_certificate_by_serial_number_request_builder import SearchCloudCertificationAuthorityLeafCertificateBySerialNumberRequestBuilder from .upload_externally_signed_certification_authority_certificate.upload_externally_signed_certification_authority_certificate_request_builder import UploadExternallySignedCertificationAuthorityCertificateRequestBuilder class CloudCertificationAuthorityItemRequestBuilder(BaseRequestBuilder): @@ -228,6 +230,24 @@ def revoke_leaf_certificate(self) -> RevokeLeafCertificateRequestBuilder: return RevokeLeafCertificateRequestBuilder(self.request_adapter, self.path_parameters) + @property + def revoke_leaf_certificate_by_serial_number(self) -> RevokeLeafCertificateBySerialNumberRequestBuilder: + """ + Provides operations to call the revokeLeafCertificateBySerialNumber method. + """ + from .revoke_leaf_certificate_by_serial_number.revoke_leaf_certificate_by_serial_number_request_builder import RevokeLeafCertificateBySerialNumberRequestBuilder + + return RevokeLeafCertificateBySerialNumberRequestBuilder(self.request_adapter, self.path_parameters) + + @property + def search_cloud_certification_authority_leaf_certificate_by_serial_number(self) -> SearchCloudCertificationAuthorityLeafCertificateBySerialNumberRequestBuilder: + """ + Provides operations to call the searchCloudCertificationAuthorityLeafCertificateBySerialNumber method. + """ + from .search_cloud_certification_authority_leaf_certificate_by_serial_number.search_cloud_certification_authority_leaf_certificate_by_serial_number_request_builder import SearchCloudCertificationAuthorityLeafCertificateBySerialNumberRequestBuilder + + return SearchCloudCertificationAuthorityLeafCertificateBySerialNumberRequestBuilder(self.request_adapter, self.path_parameters) + @property def upload_externally_signed_certification_authority_certificate(self) -> UploadExternallySignedCertificationAuthorityCertificateRequestBuilder: """ diff --git a/msgraph_beta/generated/device_management/cloud_certification_authority/item/cloud_certification_authority_leaf_certificate/count/count_request_builder.py b/msgraph_beta/generated/device_management/cloud_certification_authority/item/cloud_certification_authority_leaf_certificate/count/count_request_builder.py index 73c1677d982..2488937e665 100644 --- a/msgraph_beta/generated/device_management/cloud_certification_authority/item/cloud_certification_authority_leaf_certificate/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/cloud_certification_authority/item/cloud_certification_authority_leaf_certificate/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/cloud_certification_authority/item/get_all_cloud_certification_authority/get_all_cloud_certification_authority_post_response.py b/msgraph_beta/generated/device_management/cloud_certification_authority/item/get_all_cloud_certification_authority/get_all_cloud_certification_authority_post_response.py index f2dc7ff9c6e..9d1340947c0 100644 --- a/msgraph_beta/generated/device_management/cloud_certification_authority/item/get_all_cloud_certification_authority/get_all_cloud_certification_authority_post_response.py +++ b/msgraph_beta/generated/device_management/cloud_certification_authority/item/get_all_cloud_certification_authority/get_all_cloud_certification_authority_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .....models.cloud_certification_authority import CloudCertificationAuthority + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/device_management/cloud_certification_authority/item/get_all_cloud_certification_authority_leaf_certificates/get_all_cloud_certification_authority_leaf_certificates_post_response.py b/msgraph_beta/generated/device_management/cloud_certification_authority/item/get_all_cloud_certification_authority_leaf_certificates/get_all_cloud_certification_authority_leaf_certificates_post_response.py index 29791532dd0..488c9821cca 100644 --- a/msgraph_beta/generated/device_management/cloud_certification_authority/item/get_all_cloud_certification_authority_leaf_certificates/get_all_cloud_certification_authority_leaf_certificates_post_response.py +++ b/msgraph_beta/generated/device_management/cloud_certification_authority/item/get_all_cloud_certification_authority_leaf_certificates/get_all_cloud_certification_authority_leaf_certificates_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .....models.cloud_certification_authority_leaf_certificate import CloudCertificationAuthorityLeafCertificate + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/device_management/cloud_certification_authority/item/post_cloud_certification_authority/post_cloud_certification_authority_post_response.py b/msgraph_beta/generated/device_management/cloud_certification_authority/item/post_cloud_certification_authority/post_cloud_certification_authority_post_response.py index 845376bd0e3..3b57f51ae8a 100644 --- a/msgraph_beta/generated/device_management/cloud_certification_authority/item/post_cloud_certification_authority/post_cloud_certification_authority_post_response.py +++ b/msgraph_beta/generated/device_management/cloud_certification_authority/item/post_cloud_certification_authority/post_cloud_certification_authority_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .....models.cloud_certification_authority import CloudCertificationAuthority + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/device_management/managed_devices/item/resize_cloud_pc/resize_cloud_pc_post_request_body.py b/msgraph_beta/generated/device_management/cloud_certification_authority/item/revoke_leaf_certificate_by_serial_number/revoke_leaf_certificate_by_serial_number_post_request_body.py similarity index 75% rename from msgraph_beta/generated/device_management/managed_devices/item/resize_cloud_pc/resize_cloud_pc_post_request_body.py rename to msgraph_beta/generated/device_management/cloud_certification_authority/item/revoke_leaf_certificate_by_serial_number/revoke_leaf_certificate_by_serial_number_post_request_body.py index dc71ff7d1dd..6d41f5c184f 100644 --- a/msgraph_beta/generated/device_management/managed_devices/item/resize_cloud_pc/resize_cloud_pc_post_request_body.py +++ b/msgraph_beta/generated/device_management/cloud_certification_authority/item/revoke_leaf_certificate_by_serial_number/revoke_leaf_certificate_by_serial_number_post_request_body.py @@ -5,25 +5,25 @@ from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union @dataclass -class ResizeCloudPcPostRequestBody(AdditionalDataHolder, BackedModel, Parsable): +class RevokeLeafCertificateBySerialNumberPostRequestBody(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 targetServicePlanId property - target_service_plan_id: Optional[str] = None + # The certificateSerialNumber property + certificate_serial_number: Optional[str] = None @staticmethod - def create_from_discriminator_value(parse_node: ParseNode) -> ResizeCloudPcPostRequestBody: + def create_from_discriminator_value(parse_node: ParseNode) -> RevokeLeafCertificateBySerialNumberPostRequestBody: """ 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: ResizeCloudPcPostRequestBody + Returns: RevokeLeafCertificateBySerialNumberPostRequestBody """ if parse_node is None: raise TypeError("parse_node cannot be null.") - return ResizeCloudPcPostRequestBody() + return RevokeLeafCertificateBySerialNumberPostRequestBody() def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: """ @@ -31,7 +31,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: Returns: Dict[str, Callable[[ParseNode], None]] """ fields: Dict[str, Callable[[Any], None]] = { - "targetServicePlanId": lambda n : setattr(self, 'target_service_plan_id', n.get_str_value()), + "certificateSerialNumber": lambda n : setattr(self, 'certificate_serial_number', n.get_str_value()), } return fields @@ -43,7 +43,7 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") - writer.write_str_value("targetServicePlanId", self.target_service_plan_id) + writer.write_str_value("certificateSerialNumber", self.certificate_serial_number) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/device_management/comanaged_devices/item/restore_cloud_pc/restore_cloud_pc_request_builder.py b/msgraph_beta/generated/device_management/cloud_certification_authority/item/revoke_leaf_certificate_by_serial_number/revoke_leaf_certificate_by_serial_number_request_builder.py similarity index 62% rename from msgraph_beta/generated/device_management/comanaged_devices/item/restore_cloud_pc/restore_cloud_pc_request_builder.py rename to msgraph_beta/generated/device_management/cloud_certification_authority/item/revoke_leaf_certificate_by_serial_number/revoke_leaf_certificate_by_serial_number_request_builder.py index 51e1ac73415..b7b2a70bdd7 100644 --- a/msgraph_beta/generated/device_management/comanaged_devices/item/restore_cloud_pc/restore_cloud_pc_request_builder.py +++ b/msgraph_beta/generated/device_management/cloud_certification_authority/item/revoke_leaf_certificate_by_serial_number/revoke_leaf_certificate_by_serial_number_request_builder.py @@ -13,30 +13,30 @@ from warnings import warn if TYPE_CHECKING: + from .....models.cloud_certification_authority_leaf_certificate import CloudCertificationAuthorityLeafCertificate from .....models.o_data_errors.o_data_error import ODataError - from .restore_cloud_pc_post_request_body import RestoreCloudPcPostRequestBody + from .revoke_leaf_certificate_by_serial_number_post_request_body import RevokeLeafCertificateBySerialNumberPostRequestBody -class RestoreCloudPcRequestBuilder(BaseRequestBuilder): +class RevokeLeafCertificateBySerialNumberRequestBuilder(BaseRequestBuilder): """ - Provides operations to call the restoreCloudPc method. + Provides operations to call the revokeLeafCertificateBySerialNumber method. """ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: """ - Instantiates a new RestoreCloudPcRequestBuilder and sets the default values. + Instantiates a new RevokeLeafCertificateBySerialNumberRequestBuilder 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}/deviceManagement/comanagedDevices/{managedDevice%2Did}/restoreCloudPc", path_parameters) + super().__init__(request_adapter, "{+baseurl}/deviceManagement/cloudCertificationAuthority/{cloudCertificationAuthority%2Did}/revokeLeafCertificateBySerialNumber", path_parameters) - async def post(self,body: RestoreCloudPcPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: + async def post(self,body: RevokeLeafCertificateBySerialNumberPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[CloudCertificationAuthorityLeafCertificate]: """ - Invoke action restoreCloudPc + Invoke action revokeLeafCertificateBySerialNumber param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: None + Returns: Optional[CloudCertificationAuthorityLeafCertificate] """ - warn("The restoreCloudPc API is deprecated and will stop returning on Sep 30, 2023. Please use restore instead as of 2023-07/restoreCloudPc", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -49,16 +49,17 @@ async def post(self,body: RestoreCloudPcPostRequestBody, request_configuration: } 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) + from .....models.cloud_certification_authority_leaf_certificate import CloudCertificationAuthorityLeafCertificate + + return await self.request_adapter.send_async(request_info, CloudCertificationAuthorityLeafCertificate, error_mapping) - def to_post_request_information(self,body: RestoreCloudPcPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + def to_post_request_information(self,body: RevokeLeafCertificateBySerialNumberPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Invoke action restoreCloudPc + Invoke action revokeLeafCertificateBySerialNumber param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The restoreCloudPc API is deprecated and will stop returning on Sep 30, 2023. Please use restore instead as of 2023-07/restoreCloudPc", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -67,19 +68,18 @@ def to_post_request_information(self,body: RestoreCloudPcPostRequestBody, reques request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info - def with_url(self,raw_url: str) -> RestoreCloudPcRequestBuilder: + def with_url(self,raw_url: str) -> RevokeLeafCertificateBySerialNumberRequestBuilder: """ 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: RestoreCloudPcRequestBuilder + Returns: RevokeLeafCertificateBySerialNumberRequestBuilder """ - warn("The restoreCloudPc API is deprecated and will stop returning on Sep 30, 2023. Please use restore instead as of 2023-07/restoreCloudPc", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") - return RestoreCloudPcRequestBuilder(self.request_adapter, raw_url) + return RevokeLeafCertificateBySerialNumberRequestBuilder(self.request_adapter, raw_url) @dataclass - class RestoreCloudPcRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]): + class RevokeLeafCertificateBySerialNumberRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]): """ Configuration for the request such as headers, query parameters, and middleware options. """ diff --git a/msgraph_beta/generated/device_management/comanaged_devices/item/resize_cloud_pc/resize_cloud_pc_post_request_body.py b/msgraph_beta/generated/device_management/cloud_certification_authority/item/search_cloud_certification_authority_leaf_certificate_by_serial_number/search_cloud_certification_authority_leaf_certificate_by_serial_number_post_request_body.py similarity index 72% rename from msgraph_beta/generated/device_management/comanaged_devices/item/resize_cloud_pc/resize_cloud_pc_post_request_body.py rename to msgraph_beta/generated/device_management/cloud_certification_authority/item/search_cloud_certification_authority_leaf_certificate_by_serial_number/search_cloud_certification_authority_leaf_certificate_by_serial_number_post_request_body.py index dc71ff7d1dd..69267bbe949 100644 --- a/msgraph_beta/generated/device_management/comanaged_devices/item/resize_cloud_pc/resize_cloud_pc_post_request_body.py +++ b/msgraph_beta/generated/device_management/cloud_certification_authority/item/search_cloud_certification_authority_leaf_certificate_by_serial_number/search_cloud_certification_authority_leaf_certificate_by_serial_number_post_request_body.py @@ -5,25 +5,25 @@ from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union @dataclass -class ResizeCloudPcPostRequestBody(AdditionalDataHolder, BackedModel, Parsable): +class SearchCloudCertificationAuthorityLeafCertificateBySerialNumberPostRequestBody(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 targetServicePlanId property - target_service_plan_id: Optional[str] = None + # The certificateSerialNumber property + certificate_serial_number: Optional[str] = None @staticmethod - def create_from_discriminator_value(parse_node: ParseNode) -> ResizeCloudPcPostRequestBody: + def create_from_discriminator_value(parse_node: ParseNode) -> SearchCloudCertificationAuthorityLeafCertificateBySerialNumberPostRequestBody: """ 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: ResizeCloudPcPostRequestBody + Returns: SearchCloudCertificationAuthorityLeafCertificateBySerialNumberPostRequestBody """ if parse_node is None: raise TypeError("parse_node cannot be null.") - return ResizeCloudPcPostRequestBody() + return SearchCloudCertificationAuthorityLeafCertificateBySerialNumberPostRequestBody() def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: """ @@ -31,7 +31,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: Returns: Dict[str, Callable[[ParseNode], None]] """ fields: Dict[str, Callable[[Any], None]] = { - "targetServicePlanId": lambda n : setattr(self, 'target_service_plan_id', n.get_str_value()), + "certificateSerialNumber": lambda n : setattr(self, 'certificate_serial_number', n.get_str_value()), } return fields @@ -43,7 +43,7 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") - writer.write_str_value("targetServicePlanId", self.target_service_plan_id) + writer.write_str_value("certificateSerialNumber", self.certificate_serial_number) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/device_management/cloud_certification_authority/item/search_cloud_certification_authority_leaf_certificate_by_serial_number/search_cloud_certification_authority_leaf_certificate_by_serial_number_request_builder.py b/msgraph_beta/generated/device_management/cloud_certification_authority/item/search_cloud_certification_authority_leaf_certificate_by_serial_number/search_cloud_certification_authority_leaf_certificate_by_serial_number_request_builder.py new file mode 100644 index 00000000000..e117ab54a02 --- /dev/null +++ b/msgraph_beta/generated/device_management/cloud_certification_authority/item/search_cloud_certification_authority_leaf_certificate_by_serial_number/search_cloud_certification_authority_leaf_certificate_by_serial_number_request_builder.py @@ -0,0 +1,88 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from .....models.cloud_certification_authority_leaf_certificate import CloudCertificationAuthorityLeafCertificate + from .....models.o_data_errors.o_data_error import ODataError + from .search_cloud_certification_authority_leaf_certificate_by_serial_number_post_request_body import SearchCloudCertificationAuthorityLeafCertificateBySerialNumberPostRequestBody + +class SearchCloudCertificationAuthorityLeafCertificateBySerialNumberRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the searchCloudCertificationAuthorityLeafCertificateBySerialNumber method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new SearchCloudCertificationAuthorityLeafCertificateBySerialNumberRequestBuilder 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}/deviceManagement/cloudCertificationAuthority/{cloudCertificationAuthority%2Did}/searchCloudCertificationAuthorityLeafCertificateBySerialNumber", path_parameters) + + async def post(self,body: SearchCloudCertificationAuthorityLeafCertificateBySerialNumberPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[CloudCertificationAuthorityLeafCertificate]: + """ + Invoke action searchCloudCertificationAuthorityLeafCertificateBySerialNumber + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[CloudCertificationAuthorityLeafCertificate] + """ + 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") + from .....models.cloud_certification_authority_leaf_certificate import CloudCertificationAuthorityLeafCertificate + + return await self.request_adapter.send_async(request_info, CloudCertificationAuthorityLeafCertificate, error_mapping) + + def to_post_request_information(self,body: SearchCloudCertificationAuthorityLeafCertificateBySerialNumberPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Invoke action searchCloudCertificationAuthorityLeafCertificateBySerialNumber + 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) -> SearchCloudCertificationAuthorityLeafCertificateBySerialNumberRequestBuilder: + """ + 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: SearchCloudCertificationAuthorityLeafCertificateBySerialNumberRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return SearchCloudCertificationAuthorityLeafCertificateBySerialNumberRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class SearchCloudCertificationAuthorityLeafCertificateBySerialNumberRequestBuilderPostRequestConfiguration(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_beta/generated/device_management/cloud_certification_authority/item/upload_externally_signed_certification_authority_certificate/upload_externally_signed_certification_authority_certificate_post_request_body.py b/msgraph_beta/generated/device_management/cloud_certification_authority/item/upload_externally_signed_certification_authority_certificate/upload_externally_signed_certification_authority_certificate_post_request_body.py index 0a88cba9ce4..517316679bf 100644 --- a/msgraph_beta/generated/device_management/cloud_certification_authority/item/upload_externally_signed_certification_authority_certificate/upload_externally_signed_certification_authority_certificate_post_request_body.py +++ b/msgraph_beta/generated/device_management/cloud_certification_authority/item/upload_externally_signed_certification_authority_certificate/upload_externally_signed_certification_authority_certificate_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.trust_chain_certificate import TrustChainCertificate + writer.write_int_value("certificationAuthorityVersion", self.certification_authority_version) writer.write_str_value("signedCertificate", self.signed_certificate) writer.write_collection_of_object_values("trustChainCertificates", self.trust_chain_certificates) diff --git a/msgraph_beta/generated/device_management/cloud_certification_authority_leaf_certificate/count/count_request_builder.py b/msgraph_beta/generated/device_management/cloud_certification_authority_leaf_certificate/count/count_request_builder.py index 877580fa474..cedfe78d632 100644 --- a/msgraph_beta/generated/device_management/cloud_certification_authority_leaf_certificate/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/cloud_certification_authority_leaf_certificate/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/cloud_p_c_connectivity_issues/count/count_request_builder.py b/msgraph_beta/generated/device_management/cloud_p_c_connectivity_issues/count/count_request_builder.py index 260c3b404a0..3d742760fa9 100644 --- a/msgraph_beta/generated/device_management/cloud_p_c_connectivity_issues/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/cloud_p_c_connectivity_issues/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/comanaged_devices/app_diagnostics_with_upn/app_diagnostics_with_upn_get_response.py b/msgraph_beta/generated/device_management/comanaged_devices/app_diagnostics_with_upn/app_diagnostics_with_upn_get_response.py index 4f864cb8bdd..2899cedb53a 100644 --- a/msgraph_beta/generated/device_management/comanaged_devices/app_diagnostics_with_upn/app_diagnostics_with_upn_get_response.py +++ b/msgraph_beta/generated/device_management/comanaged_devices/app_diagnostics_with_upn/app_diagnostics_with_upn_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ....models.powerlift_incident_metadata import PowerliftIncidentMetadata + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/device_management/comanaged_devices/bulk_restore_cloud_pc/bulk_restore_cloud_pc_post_request_body.py b/msgraph_beta/generated/device_management/comanaged_devices/bulk_restore_cloud_pc/bulk_restore_cloud_pc_post_request_body.py index 413e08ff6f7..362011abce1 100644 --- a/msgraph_beta/generated/device_management/comanaged_devices/bulk_restore_cloud_pc/bulk_restore_cloud_pc_post_request_body.py +++ b/msgraph_beta/generated/device_management/comanaged_devices/bulk_restore_cloud_pc/bulk_restore_cloud_pc_post_request_body.py @@ -57,6 +57,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ....models.restore_time_range import RestoreTimeRange + writer.write_collection_of_primitive_values("managedDeviceIds", self.managed_device_ids) writer.write_datetime_value("restorePointDateTime", self.restore_point_date_time) writer.write_enum_value("timeRange", self.time_range) diff --git a/msgraph_beta/generated/device_management/comanaged_devices/bulk_set_cloud_pc_review_status/bulk_set_cloud_pc_review_status_post_request_body.py b/msgraph_beta/generated/device_management/comanaged_devices/bulk_set_cloud_pc_review_status/bulk_set_cloud_pc_review_status_post_request_body.py index 5bbc1145501..ca73d1f3a03 100644 --- a/msgraph_beta/generated/device_management/comanaged_devices/bulk_set_cloud_pc_review_status/bulk_set_cloud_pc_review_status_post_request_body.py +++ b/msgraph_beta/generated/device_management/comanaged_devices/bulk_set_cloud_pc_review_status/bulk_set_cloud_pc_review_status_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ....models.cloud_pc_review_status import CloudPcReviewStatus + writer.write_collection_of_primitive_values("managedDeviceIds", self.managed_device_ids) writer.write_object_value("reviewStatus", self.review_status) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/device_management/comanaged_devices/count/count_request_builder.py b/msgraph_beta/generated/device_management/comanaged_devices/count/count_request_builder.py index bd204f756dc..b5a29b95a5d 100644 --- a/msgraph_beta/generated/device_management/comanaged_devices/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/comanaged_devices/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/comanaged_devices/download_app_diagnostics/download_app_diagnostics_post_request_body.py b/msgraph_beta/generated/device_management/comanaged_devices/download_app_diagnostics/download_app_diagnostics_post_request_body.py index e0afaea209a..6c5bff17c7b 100644 --- a/msgraph_beta/generated/device_management/comanaged_devices/download_app_diagnostics/download_app_diagnostics_post_request_body.py +++ b/msgraph_beta/generated/device_management/comanaged_devices/download_app_diagnostics/download_app_diagnostics_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ....models.powerlift_download_request import PowerliftDownloadRequest + writer.write_object_value("request", self.request) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/device_management/comanaged_devices/download_powerlift_app_diagnostic/download_powerlift_app_diagnostic_post_request_body.py b/msgraph_beta/generated/device_management/comanaged_devices/download_powerlift_app_diagnostic/download_powerlift_app_diagnostic_post_request_body.py index 692d9a7549c..43ec0317572 100644 --- a/msgraph_beta/generated/device_management/comanaged_devices/download_powerlift_app_diagnostic/download_powerlift_app_diagnostic_post_request_body.py +++ b/msgraph_beta/generated/device_management/comanaged_devices/download_powerlift_app_diagnostic/download_powerlift_app_diagnostic_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ....models.powerlift_app_diagnostic_download_request import PowerliftAppDiagnosticDownloadRequest + writer.write_object_value("request", self.request) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/device_management/comanaged_devices/execute_action/execute_action_post_request_body.py b/msgraph_beta/generated/device_management/comanaged_devices/execute_action/execute_action_post_request_body.py index d087d049dd0..58ac7f2ab2f 100644 --- a/msgraph_beta/generated/device_management/comanaged_devices/execute_action/execute_action_post_request_body.py +++ b/msgraph_beta/generated/device_management/comanaged_devices/execute_action/execute_action_post_request_body.py @@ -80,6 +80,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ....models.managed_device_remote_action import ManagedDeviceRemoteAction + writer.write_enum_value("actionName", self.action_name) writer.write_str_value("carrierUrl", self.carrier_url) writer.write_str_value("deprovisionReason", self.deprovision_reason) diff --git a/msgraph_beta/generated/device_management/comanaged_devices/item/assignment_filter_evaluation_status_details/count/count_request_builder.py b/msgraph_beta/generated/device_management/comanaged_devices/item/assignment_filter_evaluation_status_details/count/count_request_builder.py index dfd71e11856..dff6a48e44d 100644 --- a/msgraph_beta/generated/device_management/comanaged_devices/item/assignment_filter_evaluation_status_details/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/comanaged_devices/item/assignment_filter_evaluation_status_details/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/comanaged_devices/item/change_assignments/change_assignments_post_request_body.py b/msgraph_beta/generated/device_management/comanaged_devices/item/change_assignments/change_assignments_post_request_body.py index 21970076682..05219b69420 100644 --- a/msgraph_beta/generated/device_management/comanaged_devices/item/change_assignments/change_assignments_post_request_body.py +++ b/msgraph_beta/generated/device_management/comanaged_devices/item/change_assignments/change_assignments_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.device_assignment_item import DeviceAssignmentItem + writer.write_collection_of_object_values("deviceAssignmentItems", self.device_assignment_items) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/device_management/comanaged_devices/item/create_device_log_collection_request/create_device_log_collection_request_post_request_body.py b/msgraph_beta/generated/device_management/comanaged_devices/item/create_device_log_collection_request/create_device_log_collection_request_post_request_body.py index d5344885994..0bc897d3de1 100644 --- a/msgraph_beta/generated/device_management/comanaged_devices/item/create_device_log_collection_request/create_device_log_collection_request_post_request_body.py +++ b/msgraph_beta/generated/device_management/comanaged_devices/item/create_device_log_collection_request/create_device_log_collection_request_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.device_log_collection_request import DeviceLogCollectionRequest + writer.write_object_value("templateType", self.template_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/device_management/comanaged_devices/item/detected_apps/count/count_request_builder.py b/msgraph_beta/generated/device_management/comanaged_devices/item/detected_apps/count/count_request_builder.py index 396c4aca8a2..47323493010 100644 --- a/msgraph_beta/generated/device_management/comanaged_devices/item/detected_apps/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/comanaged_devices/item/detected_apps/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/comanaged_devices/item/device_category/ref/ref_request_builder.py b/msgraph_beta/generated/device_management/comanaged_devices/item/device_category/ref/ref_request_builder.py index c22d6adc1ac..85aad23eadd 100644 --- a/msgraph_beta/generated/device_management/comanaged_devices/item/device_category/ref/ref_request_builder.py +++ b/msgraph_beta/generated/device_management/comanaged_devices/item/device_category/ref/ref_request_builder.py @@ -63,7 +63,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[QueryPar } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "str", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, str, error_mapping) async def put(self,body: ReferenceUpdate, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ diff --git a/msgraph_beta/generated/device_management/comanaged_devices/item/device_compliance_policy_states/count/count_request_builder.py b/msgraph_beta/generated/device_management/comanaged_devices/item/device_compliance_policy_states/count/count_request_builder.py index e981ea3ac66..876bdbf0cf0 100644 --- a/msgraph_beta/generated/device_management/comanaged_devices/item/device_compliance_policy_states/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/comanaged_devices/item/device_compliance_policy_states/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/comanaged_devices/item/device_configuration_states/count/count_request_builder.py b/msgraph_beta/generated/device_management/comanaged_devices/item/device_configuration_states/count/count_request_builder.py index 496093ece06..7d9caef4288 100644 --- a/msgraph_beta/generated/device_management/comanaged_devices/item/device_configuration_states/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/comanaged_devices/item/device_configuration_states/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/comanaged_devices/item/device_health_script_states/count/count_request_builder.py b/msgraph_beta/generated/device_management/comanaged_devices/item/device_health_script_states/count/count_request_builder.py index 9951d926b60..4606744f49a 100644 --- a/msgraph_beta/generated/device_management/comanaged_devices/item/device_health_script_states/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/comanaged_devices/item/device_health_script_states/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/comanaged_devices/item/get_cloud_pc_remote_action_results/get_cloud_pc_remote_action_results_get_response.py b/msgraph_beta/generated/device_management/comanaged_devices/item/get_cloud_pc_remote_action_results/get_cloud_pc_remote_action_results_get_response.py index 7f90fcfbdcb..bb84d140601 100644 --- a/msgraph_beta/generated/device_management/comanaged_devices/item/get_cloud_pc_remote_action_results/get_cloud_pc_remote_action_results_get_response.py +++ b/msgraph_beta/generated/device_management/comanaged_devices/item/get_cloud_pc_remote_action_results/get_cloud_pc_remote_action_results_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .....models.cloud_pc_remote_action_result import CloudPcRemoteActionResult + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/device_management/comanaged_devices/item/get_non_compliant_settings/get_non_compliant_settings_get_response.py b/msgraph_beta/generated/device_management/comanaged_devices/item/get_non_compliant_settings/get_non_compliant_settings_get_response.py index e4878f282ad..1af4e18f252 100644 --- a/msgraph_beta/generated/device_management/comanaged_devices/item/get_non_compliant_settings/get_non_compliant_settings_get_response.py +++ b/msgraph_beta/generated/device_management/comanaged_devices/item/get_non_compliant_settings/get_non_compliant_settings_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .....models.device_compliance_policy_setting_state import DeviceCompliancePolicySettingState + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/device_management/comanaged_devices/item/log_collection_requests/count/count_request_builder.py b/msgraph_beta/generated/device_management/comanaged_devices/item/log_collection_requests/count/count_request_builder.py index d465d9ee1ab..ab5e8c25de2 100644 --- a/msgraph_beta/generated/device_management/comanaged_devices/item/log_collection_requests/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/comanaged_devices/item/log_collection_requests/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/comanaged_devices/item/managed_device_item_request_builder.py b/msgraph_beta/generated/device_management/comanaged_devices/item/managed_device_item_request_builder.py index de118e3e032..76bf505b6eb 100644 --- a/msgraph_beta/generated/device_management/comanaged_devices/item/managed_device_item_request_builder.py +++ b/msgraph_beta/generated/device_management/comanaged_devices/item/managed_device_item_request_builder.py @@ -51,11 +51,8 @@ from .reenable.reenable_request_builder import ReenableRequestBuilder from .remote_lock.remote_lock_request_builder import RemoteLockRequestBuilder from .remove_device_firmware_configuration_interface_management.remove_device_firmware_configuration_interface_management_request_builder import RemoveDeviceFirmwareConfigurationInterfaceManagementRequestBuilder - from .reprovision_cloud_pc.reprovision_cloud_pc_request_builder import ReprovisionCloudPcRequestBuilder from .request_remote_assistance.request_remote_assistance_request_builder import RequestRemoteAssistanceRequestBuilder from .reset_passcode.reset_passcode_request_builder import ResetPasscodeRequestBuilder - from .resize_cloud_pc.resize_cloud_pc_request_builder import ResizeCloudPcRequestBuilder - from .restore_cloud_pc.restore_cloud_pc_request_builder import RestoreCloudPcRequestBuilder from .retire.retire_request_builder import RetireRequestBuilder from .revoke_apple_vpp_licenses.revoke_apple_vpp_licenses_request_builder import RevokeAppleVppLicensesRequestBuilder from .rotate_bit_locker_keys.rotate_bit_locker_keys_request_builder import RotateBitLockerKeysRequestBuilder @@ -520,15 +517,6 @@ def remove_device_firmware_configuration_interface_management(self) -> RemoveDev return RemoveDeviceFirmwareConfigurationInterfaceManagementRequestBuilder(self.request_adapter, self.path_parameters) - @property - def reprovision_cloud_pc(self) -> ReprovisionCloudPcRequestBuilder: - """ - Provides operations to call the reprovisionCloudPc method. - """ - from .reprovision_cloud_pc.reprovision_cloud_pc_request_builder import ReprovisionCloudPcRequestBuilder - - return ReprovisionCloudPcRequestBuilder(self.request_adapter, self.path_parameters) - @property def request_remote_assistance(self) -> RequestRemoteAssistanceRequestBuilder: """ @@ -547,24 +535,6 @@ def reset_passcode(self) -> ResetPasscodeRequestBuilder: return ResetPasscodeRequestBuilder(self.request_adapter, self.path_parameters) - @property - def resize_cloud_pc(self) -> ResizeCloudPcRequestBuilder: - """ - Provides operations to call the resizeCloudPc method. - """ - from .resize_cloud_pc.resize_cloud_pc_request_builder import ResizeCloudPcRequestBuilder - - return ResizeCloudPcRequestBuilder(self.request_adapter, self.path_parameters) - - @property - def restore_cloud_pc(self) -> RestoreCloudPcRequestBuilder: - """ - Provides operations to call the restoreCloudPc method. - """ - from .restore_cloud_pc.restore_cloud_pc_request_builder import RestoreCloudPcRequestBuilder - - return RestoreCloudPcRequestBuilder(self.request_adapter, self.path_parameters) - @property def retire(self) -> RetireRequestBuilder: """ diff --git a/msgraph_beta/generated/device_management/comanaged_devices/item/managed_device_mobile_app_configuration_states/count/count_request_builder.py b/msgraph_beta/generated/device_management/comanaged_devices/item/managed_device_mobile_app_configuration_states/count/count_request_builder.py index a7390d0a1f6..7ebf2bdfc36 100644 --- a/msgraph_beta/generated/device_management/comanaged_devices/item/managed_device_mobile_app_configuration_states/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/comanaged_devices/item/managed_device_mobile_app_configuration_states/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/comanaged_devices/item/override_compliance_state/override_compliance_state_post_request_body.py b/msgraph_beta/generated/device_management/comanaged_devices/item/override_compliance_state/override_compliance_state_post_request_body.py index 7c2205e37dc..2b36c082a49 100644 --- a/msgraph_beta/generated/device_management/comanaged_devices/item/override_compliance_state/override_compliance_state_post_request_body.py +++ b/msgraph_beta/generated/device_management/comanaged_devices/item/override_compliance_state/override_compliance_state_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.administrator_configured_device_compliance_state import AdministratorConfiguredDeviceComplianceState + writer.write_enum_value("complianceState", self.compliance_state) writer.write_str_value("remediationUrl", self.remediation_url) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/device_management/comanaged_devices/item/security_baseline_states/count/count_request_builder.py b/msgraph_beta/generated/device_management/comanaged_devices/item/security_baseline_states/count/count_request_builder.py index fd6d26cc591..fc21529f980 100644 --- a/msgraph_beta/generated/device_management/comanaged_devices/item/security_baseline_states/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/comanaged_devices/item/security_baseline_states/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/comanaged_devices/item/security_baseline_states/item/setting_states/count/count_request_builder.py b/msgraph_beta/generated/device_management/comanaged_devices/item/security_baseline_states/item/setting_states/count/count_request_builder.py index 489f325cfdb..3ed23d29d1d 100644 --- a/msgraph_beta/generated/device_management/comanaged_devices/item/security_baseline_states/item/setting_states/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/comanaged_devices/item/security_baseline_states/item/setting_states/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/comanaged_devices/item/set_cloud_pc_review_status/set_cloud_pc_review_status_post_request_body.py b/msgraph_beta/generated/device_management/comanaged_devices/item/set_cloud_pc_review_status/set_cloud_pc_review_status_post_request_body.py index 246adc55607..e74644b845c 100644 --- a/msgraph_beta/generated/device_management/comanaged_devices/item/set_cloud_pc_review_status/set_cloud_pc_review_status_post_request_body.py +++ b/msgraph_beta/generated/device_management/comanaged_devices/item/set_cloud_pc_review_status/set_cloud_pc_review_status_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.cloud_pc_review_status import CloudPcReviewStatus + writer.write_object_value("reviewStatus", self.review_status) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/device_management/comanaged_devices/item/trigger_configuration_manager_action/trigger_configuration_manager_action_post_request_body.py b/msgraph_beta/generated/device_management/comanaged_devices/item/trigger_configuration_manager_action/trigger_configuration_manager_action_post_request_body.py index 0c18ff3e543..7084bf9b148 100644 --- a/msgraph_beta/generated/device_management/comanaged_devices/item/trigger_configuration_manager_action/trigger_configuration_manager_action_post_request_body.py +++ b/msgraph_beta/generated/device_management/comanaged_devices/item/trigger_configuration_manager_action/trigger_configuration_manager_action_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.configuration_manager_action import ConfigurationManagerAction + writer.write_object_value("configurationManagerAction", self.configuration_manager_action) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/device_management/comanaged_devices/item/update_windows_device_account/update_windows_device_account_post_request_body.py b/msgraph_beta/generated/device_management/comanaged_devices/item/update_windows_device_account/update_windows_device_account_post_request_body.py index 71c6b2c1bb7..998061396b4 100644 --- a/msgraph_beta/generated/device_management/comanaged_devices/item/update_windows_device_account/update_windows_device_account_post_request_body.py +++ b/msgraph_beta/generated/device_management/comanaged_devices/item/update_windows_device_account/update_windows_device_account_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.update_windows_device_account_action_parameter import UpdateWindowsDeviceAccountActionParameter + writer.write_object_value("updateWindowsDeviceAccountActionParameter", self.update_windows_device_account_action_parameter) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/device_management/comanaged_devices/item/windows_protection_state/detected_malware_state/count/count_request_builder.py b/msgraph_beta/generated/device_management/comanaged_devices/item/windows_protection_state/detected_malware_state/count/count_request_builder.py index 22d5267b744..6191a9c93fa 100644 --- a/msgraph_beta/generated/device_management/comanaged_devices/item/windows_protection_state/detected_malware_state/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/comanaged_devices/item/windows_protection_state/detected_malware_state/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/comanaged_devices/item/wipe/wipe_post_request_body.py b/msgraph_beta/generated/device_management/comanaged_devices/item/wipe/wipe_post_request_body.py index 483ce5b4922..045b4724373 100644 --- a/msgraph_beta/generated/device_management/comanaged_devices/item/wipe/wipe_post_request_body.py +++ b/msgraph_beta/generated/device_management/comanaged_devices/item/wipe/wipe_post_request_body.py @@ -65,6 +65,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.obliteration_behavior import ObliterationBehavior + writer.write_bool_value("keepEnrollmentData", self.keep_enrollment_data) writer.write_bool_value("keepUserData", self.keep_user_data) writer.write_str_value("macOsUnlockCode", self.mac_os_unlock_code) diff --git a/msgraph_beta/generated/device_management/comanaged_devices/retrieve_powerlift_app_diagnostics_details_with_user_principal_name/retrieve_powerlift_app_diagnostics_details_with_user_principal_name_get_response.py b/msgraph_beta/generated/device_management/comanaged_devices/retrieve_powerlift_app_diagnostics_details_with_user_principal_name/retrieve_powerlift_app_diagnostics_details_with_user_principal_name_get_response.py index 0702ae17c10..1aae1bb75cf 100644 --- a/msgraph_beta/generated/device_management/comanaged_devices/retrieve_powerlift_app_diagnostics_details_with_user_principal_name/retrieve_powerlift_app_diagnostics_details_with_user_principal_name_get_response.py +++ b/msgraph_beta/generated/device_management/comanaged_devices/retrieve_powerlift_app_diagnostics_details_with_user_principal_name/retrieve_powerlift_app_diagnostics_details_with_user_principal_name_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ....models.powerlift_incident_detail import PowerliftIncidentDetail + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/device_management/comanagement_eligible_devices/count/count_request_builder.py b/msgraph_beta/generated/device_management/comanagement_eligible_devices/count/count_request_builder.py index 323ccd06e04..ec43bf834b9 100644 --- a/msgraph_beta/generated/device_management/comanagement_eligible_devices/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/comanagement_eligible_devices/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/compliance_categories/count/count_request_builder.py b/msgraph_beta/generated/device_management/compliance_categories/count/count_request_builder.py index 6c92b71403b..c8f7e9a7f57 100644 --- a/msgraph_beta/generated/device_management/compliance_categories/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/compliance_categories/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/compliance_management_partners/count/count_request_builder.py b/msgraph_beta/generated/device_management/compliance_management_partners/count/count_request_builder.py index a2f960d5c38..f1bc07fa646 100644 --- a/msgraph_beta/generated/device_management/compliance_management_partners/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/compliance_management_partners/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/compliance_policies/count/count_request_builder.py b/msgraph_beta/generated/device_management/compliance_policies/count/count_request_builder.py index 189a94f7800..05b5a320a3e 100644 --- a/msgraph_beta/generated/device_management/compliance_policies/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/compliance_policies/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/compliance_policies/item/assign/assign_post_request_body.py b/msgraph_beta/generated/device_management/compliance_policies/item/assign/assign_post_request_body.py index 9a8750613ca..9cb8da165a6 100644 --- a/msgraph_beta/generated/device_management/compliance_policies/item/assign/assign_post_request_body.py +++ b/msgraph_beta/generated/device_management/compliance_policies/item/assign/assign_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.device_management_configuration_policy_assignment import DeviceManagementConfigurationPolicyAssignment + writer.write_collection_of_object_values("assignments", self.assignments) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/device_management/compliance_policies/item/assign/assign_post_response.py b/msgraph_beta/generated/device_management/compliance_policies/item/assign/assign_post_response.py index 87ffa16bdae..b20616af0e4 100644 --- a/msgraph_beta/generated/device_management/compliance_policies/item/assign/assign_post_response.py +++ b/msgraph_beta/generated/device_management/compliance_policies/item/assign/assign_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .....models.device_management_configuration_policy_assignment import DeviceManagementConfigurationPolicyAssignment + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/device_management/compliance_policies/item/assignments/count/count_request_builder.py b/msgraph_beta/generated/device_management/compliance_policies/item/assignments/count/count_request_builder.py index f5d8343e90d..da8ec8d253e 100644 --- a/msgraph_beta/generated/device_management/compliance_policies/item/assignments/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/compliance_policies/item/assignments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/compliance_policies/item/scheduled_actions_for_rule/count/count_request_builder.py b/msgraph_beta/generated/device_management/compliance_policies/item/scheduled_actions_for_rule/count/count_request_builder.py index 49ea766afb4..930019927bd 100644 --- a/msgraph_beta/generated/device_management/compliance_policies/item/scheduled_actions_for_rule/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/compliance_policies/item/scheduled_actions_for_rule/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/compliance_policies/item/scheduled_actions_for_rule/item/scheduled_action_configurations/count/count_request_builder.py b/msgraph_beta/generated/device_management/compliance_policies/item/scheduled_actions_for_rule/item/scheduled_action_configurations/count/count_request_builder.py index 4dc31041fb4..10f41648902 100644 --- a/msgraph_beta/generated/device_management/compliance_policies/item/scheduled_actions_for_rule/item/scheduled_action_configurations/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/compliance_policies/item/scheduled_actions_for_rule/item/scheduled_action_configurations/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/compliance_policies/item/set_scheduled_actions/set_scheduled_actions_post_request_body.py b/msgraph_beta/generated/device_management/compliance_policies/item/set_scheduled_actions/set_scheduled_actions_post_request_body.py index dbb1181ebb4..2624f9e449b 100644 --- a/msgraph_beta/generated/device_management/compliance_policies/item/set_scheduled_actions/set_scheduled_actions_post_request_body.py +++ b/msgraph_beta/generated/device_management/compliance_policies/item/set_scheduled_actions/set_scheduled_actions_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.device_management_compliance_scheduled_action_for_rule import DeviceManagementComplianceScheduledActionForRule + writer.write_collection_of_object_values("scheduledActions", self.scheduled_actions) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/device_management/compliance_policies/item/set_scheduled_actions/set_scheduled_actions_post_response.py b/msgraph_beta/generated/device_management/compliance_policies/item/set_scheduled_actions/set_scheduled_actions_post_response.py index 546a9d4e5a5..e4b41f5f28d 100644 --- a/msgraph_beta/generated/device_management/compliance_policies/item/set_scheduled_actions/set_scheduled_actions_post_response.py +++ b/msgraph_beta/generated/device_management/compliance_policies/item/set_scheduled_actions/set_scheduled_actions_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .....models.device_management_compliance_scheduled_action_for_rule import DeviceManagementComplianceScheduledActionForRule + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/device_management/compliance_policies/item/settings/count/count_request_builder.py b/msgraph_beta/generated/device_management/compliance_policies/item/settings/count/count_request_builder.py index 8e2e88a432f..a51c28f324c 100644 --- a/msgraph_beta/generated/device_management/compliance_policies/item/settings/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/compliance_policies/item/settings/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/compliance_policies/item/settings/item/setting_definitions/count/count_request_builder.py b/msgraph_beta/generated/device_management/compliance_policies/item/settings/item/setting_definitions/count/count_request_builder.py index c732906a8a0..7f63b8b1398 100644 --- a/msgraph_beta/generated/device_management/compliance_policies/item/settings/item/setting_definitions/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/compliance_policies/item/settings/item/setting_definitions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/compliance_settings/count/count_request_builder.py b/msgraph_beta/generated/device_management/compliance_settings/count/count_request_builder.py index 0bf6ab838da..314ad534c8b 100644 --- a/msgraph_beta/generated/device_management/compliance_settings/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/compliance_settings/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/config_manager_collections/count/count_request_builder.py b/msgraph_beta/generated/device_management/config_manager_collections/count/count_request_builder.py index 3fb1de44505..057b651c616 100644 --- a/msgraph_beta/generated/device_management/config_manager_collections/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/config_manager_collections/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/configuration_categories/count/count_request_builder.py b/msgraph_beta/generated/device_management/configuration_categories/count/count_request_builder.py index 1cf94d40225..f897a1dc0b1 100644 --- a/msgraph_beta/generated/device_management/configuration_categories/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/configuration_categories/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/configuration_policies/count/count_request_builder.py b/msgraph_beta/generated/device_management/configuration_policies/count/count_request_builder.py index 10a79453f74..35a2529df94 100644 --- a/msgraph_beta/generated/device_management/configuration_policies/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/configuration_policies/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/configuration_policies/item/assign/assign_post_request_body.py b/msgraph_beta/generated/device_management/configuration_policies/item/assign/assign_post_request_body.py index 9a8750613ca..9cb8da165a6 100644 --- a/msgraph_beta/generated/device_management/configuration_policies/item/assign/assign_post_request_body.py +++ b/msgraph_beta/generated/device_management/configuration_policies/item/assign/assign_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.device_management_configuration_policy_assignment import DeviceManagementConfigurationPolicyAssignment + writer.write_collection_of_object_values("assignments", self.assignments) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/device_management/configuration_policies/item/assign/assign_post_response.py b/msgraph_beta/generated/device_management/configuration_policies/item/assign/assign_post_response.py index 87ffa16bdae..b20616af0e4 100644 --- a/msgraph_beta/generated/device_management/configuration_policies/item/assign/assign_post_response.py +++ b/msgraph_beta/generated/device_management/configuration_policies/item/assign/assign_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .....models.device_management_configuration_policy_assignment import DeviceManagementConfigurationPolicyAssignment + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/device_management/configuration_policies/item/assignments/count/count_request_builder.py b/msgraph_beta/generated/device_management/configuration_policies/item/assignments/count/count_request_builder.py index 07a7fe42b1f..4af320c01bc 100644 --- a/msgraph_beta/generated/device_management/configuration_policies/item/assignments/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/configuration_policies/item/assignments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/configuration_policies/item/set_enrollment_time_device_membership_target/set_enrollment_time_device_membership_target_post_request_body.py b/msgraph_beta/generated/device_management/configuration_policies/item/set_enrollment_time_device_membership_target/set_enrollment_time_device_membership_target_post_request_body.py index 697220d63e7..dcc2ecfaa60 100644 --- a/msgraph_beta/generated/device_management/configuration_policies/item/set_enrollment_time_device_membership_target/set_enrollment_time_device_membership_target_post_request_body.py +++ b/msgraph_beta/generated/device_management/configuration_policies/item/set_enrollment_time_device_membership_target/set_enrollment_time_device_membership_target_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.enrollment_time_device_membership_target import EnrollmentTimeDeviceMembershipTarget + writer.write_collection_of_object_values("enrollmentTimeDeviceMembershipTargets", self.enrollment_time_device_membership_targets) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/device_management/configuration_policies/item/settings/count/count_request_builder.py b/msgraph_beta/generated/device_management/configuration_policies/item/settings/count/count_request_builder.py index fcf3a8fe4cd..cf0d8c58020 100644 --- a/msgraph_beta/generated/device_management/configuration_policies/item/settings/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/configuration_policies/item/settings/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/configuration_policies/item/settings/item/setting_definitions/count/count_request_builder.py b/msgraph_beta/generated/device_management/configuration_policies/item/settings/item/setting_definitions/count/count_request_builder.py index fe1a3e435a4..195b5a3e864 100644 --- a/msgraph_beta/generated/device_management/configuration_policies/item/settings/item/setting_definitions/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/configuration_policies/item/settings/item/setting_definitions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/configuration_policy_templates/count/count_request_builder.py b/msgraph_beta/generated/device_management/configuration_policy_templates/count/count_request_builder.py index 534fa051006..37b28ff79ee 100644 --- a/msgraph_beta/generated/device_management/configuration_policy_templates/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/configuration_policy_templates/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/configuration_policy_templates/item/setting_templates/count/count_request_builder.py b/msgraph_beta/generated/device_management/configuration_policy_templates/item/setting_templates/count/count_request_builder.py index 2bf428c0154..2633b53032d 100644 --- a/msgraph_beta/generated/device_management/configuration_policy_templates/item/setting_templates/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/configuration_policy_templates/item/setting_templates/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/configuration_policy_templates/item/setting_templates/item/setting_definitions/count/count_request_builder.py b/msgraph_beta/generated/device_management/configuration_policy_templates/item/setting_templates/item/setting_definitions/count/count_request_builder.py index 4f58f87bf7d..940d7875a5a 100644 --- a/msgraph_beta/generated/device_management/configuration_policy_templates/item/setting_templates/item/setting_definitions/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/configuration_policy_templates/item/setting_templates/item/setting_definitions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/configuration_settings/count/count_request_builder.py b/msgraph_beta/generated/device_management/configuration_settings/count/count_request_builder.py index f1039b3117c..dd20b6ee0d2 100644 --- a/msgraph_beta/generated/device_management/configuration_settings/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/configuration_settings/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/data_sharing_consents/count/count_request_builder.py b/msgraph_beta/generated/device_management/data_sharing_consents/count/count_request_builder.py index 74187a1fac7..1b3530c9e64 100644 --- a/msgraph_beta/generated/device_management/data_sharing_consents/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/data_sharing_consents/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/dep_onboarding_settings/count/count_request_builder.py b/msgraph_beta/generated/device_management/dep_onboarding_settings/count/count_request_builder.py index 75e4a0fd51a..5e5371da985 100644 --- a/msgraph_beta/generated/device_management/dep_onboarding_settings/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/dep_onboarding_settings/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/dep_onboarding_settings/item/enrollment_profiles/count/count_request_builder.py b/msgraph_beta/generated/device_management/dep_onboarding_settings/item/enrollment_profiles/count/count_request_builder.py index 0997e3e16f3..7370d2bf3d1 100644 --- a/msgraph_beta/generated/device_management/dep_onboarding_settings/item/enrollment_profiles/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/dep_onboarding_settings/item/enrollment_profiles/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/dep_onboarding_settings/item/imported_apple_device_identities/count/count_request_builder.py b/msgraph_beta/generated/device_management/dep_onboarding_settings/item/imported_apple_device_identities/count/count_request_builder.py index eaa3177d526..1bc71f98a7f 100644 --- a/msgraph_beta/generated/device_management/dep_onboarding_settings/item/imported_apple_device_identities/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/dep_onboarding_settings/item/imported_apple_device_identities/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/dep_onboarding_settings/item/imported_apple_device_identities/import_apple_device_identity_list/import_apple_device_identity_list_post_request_body.py b/msgraph_beta/generated/device_management/dep_onboarding_settings/item/imported_apple_device_identities/import_apple_device_identity_list/import_apple_device_identity_list_post_request_body.py index 7911e784468..90012705a5f 100644 --- a/msgraph_beta/generated/device_management/dep_onboarding_settings/item/imported_apple_device_identities/import_apple_device_identity_list/import_apple_device_identity_list_post_request_body.py +++ b/msgraph_beta/generated/device_management/dep_onboarding_settings/item/imported_apple_device_identities/import_apple_device_identity_list/import_apple_device_identity_list_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ......models.imported_apple_device_identity import ImportedAppleDeviceIdentity + writer.write_collection_of_object_values("importedAppleDeviceIdentities", self.imported_apple_device_identities) writer.write_bool_value("overwriteImportedDeviceIdentities", self.overwrite_imported_device_identities) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/device_management/dep_onboarding_settings/item/imported_apple_device_identities/import_apple_device_identity_list/import_apple_device_identity_list_post_response.py b/msgraph_beta/generated/device_management/dep_onboarding_settings/item/imported_apple_device_identities/import_apple_device_identity_list/import_apple_device_identity_list_post_response.py index 314a3ceb82f..550e25eb3f9 100644 --- a/msgraph_beta/generated/device_management/dep_onboarding_settings/item/imported_apple_device_identities/import_apple_device_identity_list/import_apple_device_identity_list_post_response.py +++ b/msgraph_beta/generated/device_management/dep_onboarding_settings/item/imported_apple_device_identities/import_apple_device_identity_list/import_apple_device_identity_list_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ......models.imported_apple_device_identity_result import ImportedAppleDeviceIdentityResult + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/device_management/derived_credentials/count/count_request_builder.py b/msgraph_beta/generated/device_management/derived_credentials/count/count_request_builder.py index 05df629f95a..1c18c375ba3 100644 --- a/msgraph_beta/generated/device_management/derived_credentials/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/derived_credentials/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/detected_apps/count/count_request_builder.py b/msgraph_beta/generated/device_management/detected_apps/count/count_request_builder.py index 4edfc063511..213402e1dcf 100644 --- a/msgraph_beta/generated/device_management/detected_apps/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/detected_apps/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/detected_apps/item/managed_devices/count/count_request_builder.py b/msgraph_beta/generated/device_management/detected_apps/item/managed_devices/count/count_request_builder.py index d3147d2df04..46c7abfad59 100644 --- a/msgraph_beta/generated/device_management/detected_apps/item/managed_devices/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/detected_apps/item/managed_devices/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/device_categories/count/count_request_builder.py b/msgraph_beta/generated/device_management/device_categories/count/count_request_builder.py index 609e965be1a..774c08c14ac 100644 --- a/msgraph_beta/generated/device_management/device_categories/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/device_categories/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/device_compliance_policies/count/count_request_builder.py b/msgraph_beta/generated/device_management/device_compliance_policies/count/count_request_builder.py index b00560a054e..5cbc709af5a 100644 --- a/msgraph_beta/generated/device_management/device_compliance_policies/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/device_compliance_policies/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/device_compliance_policies/get_devices_scheduled_to_retire/get_devices_scheduled_to_retire_get_response.py b/msgraph_beta/generated/device_management/device_compliance_policies/get_devices_scheduled_to_retire/get_devices_scheduled_to_retire_get_response.py index a5fce788b06..2a57c84e2e1 100644 --- a/msgraph_beta/generated/device_management/device_compliance_policies/get_devices_scheduled_to_retire/get_devices_scheduled_to_retire_get_response.py +++ b/msgraph_beta/generated/device_management/device_compliance_policies/get_devices_scheduled_to_retire/get_devices_scheduled_to_retire_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ....models.retire_scheduled_managed_device import RetireScheduledManagedDevice + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/device_management/device_compliance_policies/has_payload_links/has_payload_links_post_response.py b/msgraph_beta/generated/device_management/device_compliance_policies/has_payload_links/has_payload_links_post_response.py index cbdd8b9a604..c84d78ee906 100644 --- a/msgraph_beta/generated/device_management/device_compliance_policies/has_payload_links/has_payload_links_post_response.py +++ b/msgraph_beta/generated/device_management/device_compliance_policies/has_payload_links/has_payload_links_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ....models.has_payload_link_result_item import HasPayloadLinkResultItem + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/device_management/device_compliance_policies/item/assign/assign_post_request_body.py b/msgraph_beta/generated/device_management/device_compliance_policies/item/assign/assign_post_request_body.py index b05cc277aff..232a74c461d 100644 --- a/msgraph_beta/generated/device_management/device_compliance_policies/item/assign/assign_post_request_body.py +++ b/msgraph_beta/generated/device_management/device_compliance_policies/item/assign/assign_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.device_compliance_policy_assignment import DeviceCompliancePolicyAssignment + writer.write_collection_of_object_values("assignments", self.assignments) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/device_management/device_compliance_policies/item/assign/assign_post_response.py b/msgraph_beta/generated/device_management/device_compliance_policies/item/assign/assign_post_response.py index 8c134616711..06279d4b55e 100644 --- a/msgraph_beta/generated/device_management/device_compliance_policies/item/assign/assign_post_response.py +++ b/msgraph_beta/generated/device_management/device_compliance_policies/item/assign/assign_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .....models.device_compliance_policy_assignment import DeviceCompliancePolicyAssignment + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/device_management/device_compliance_policies/item/assignments/count/count_request_builder.py b/msgraph_beta/generated/device_management/device_compliance_policies/item/assignments/count/count_request_builder.py index 2461c3c47d6..b40718a34bc 100644 --- a/msgraph_beta/generated/device_management/device_compliance_policies/item/assignments/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/device_compliance_policies/item/assignments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/device_compliance_policies/item/device_setting_state_summaries/count/count_request_builder.py b/msgraph_beta/generated/device_management/device_compliance_policies/item/device_setting_state_summaries/count/count_request_builder.py index a0f39034932..a1905e1f741 100644 --- a/msgraph_beta/generated/device_management/device_compliance_policies/item/device_setting_state_summaries/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/device_compliance_policies/item/device_setting_state_summaries/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/device_compliance_policies/item/device_statuses/count/count_request_builder.py b/msgraph_beta/generated/device_management/device_compliance_policies/item/device_statuses/count/count_request_builder.py index 4d9e6932e08..42c0d602826 100644 --- a/msgraph_beta/generated/device_management/device_compliance_policies/item/device_statuses/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/device_compliance_policies/item/device_statuses/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/device_compliance_policies/item/schedule_actions_for_rules/schedule_actions_for_rules_post_request_body.py b/msgraph_beta/generated/device_management/device_compliance_policies/item/schedule_actions_for_rules/schedule_actions_for_rules_post_request_body.py index 2cce71ce439..62fa14d7370 100644 --- a/msgraph_beta/generated/device_management/device_compliance_policies/item/schedule_actions_for_rules/schedule_actions_for_rules_post_request_body.py +++ b/msgraph_beta/generated/device_management/device_compliance_policies/item/schedule_actions_for_rules/schedule_actions_for_rules_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.device_compliance_scheduled_action_for_rule import DeviceComplianceScheduledActionForRule + writer.write_collection_of_object_values("deviceComplianceScheduledActionForRules", self.device_compliance_scheduled_action_for_rules) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/device_management/device_compliance_policies/item/scheduled_actions_for_rule/count/count_request_builder.py b/msgraph_beta/generated/device_management/device_compliance_policies/item/scheduled_actions_for_rule/count/count_request_builder.py index 9aea10d7f74..75099a7ec58 100644 --- a/msgraph_beta/generated/device_management/device_compliance_policies/item/scheduled_actions_for_rule/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/device_compliance_policies/item/scheduled_actions_for_rule/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/device_compliance_policies/item/scheduled_actions_for_rule/item/scheduled_action_configurations/count/count_request_builder.py b/msgraph_beta/generated/device_management/device_compliance_policies/item/scheduled_actions_for_rule/item/scheduled_action_configurations/count/count_request_builder.py index 04147b84c95..a8e2456e36e 100644 --- a/msgraph_beta/generated/device_management/device_compliance_policies/item/scheduled_actions_for_rule/item/scheduled_action_configurations/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/device_compliance_policies/item/scheduled_actions_for_rule/item/scheduled_action_configurations/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/device_compliance_policies/item/user_statuses/count/count_request_builder.py b/msgraph_beta/generated/device_management/device_compliance_policies/item/user_statuses/count/count_request_builder.py index fa4f057fee2..abb8271dba0 100644 --- a/msgraph_beta/generated/device_management/device_compliance_policies/item/user_statuses/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/device_compliance_policies/item/user_statuses/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/device_compliance_policies/set_scheduled_retire_state/set_scheduled_retire_state_post_request_body.py b/msgraph_beta/generated/device_management/device_compliance_policies/set_scheduled_retire_state/set_scheduled_retire_state_post_request_body.py index 154b91ccd87..ccdd870cf3d 100644 --- a/msgraph_beta/generated/device_management/device_compliance_policies/set_scheduled_retire_state/set_scheduled_retire_state_post_request_body.py +++ b/msgraph_beta/generated/device_management/device_compliance_policies/set_scheduled_retire_state/set_scheduled_retire_state_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ....models.scheduled_retire_state import ScheduledRetireState + writer.write_collection_of_primitive_values("managedDeviceIds", self.managed_device_ids) writer.write_bool_value("scopedToAllDevices", self.scoped_to_all_devices) writer.write_enum_value("state", self.state) diff --git a/msgraph_beta/generated/device_management/device_compliance_policies/validate_compliance_script/validate_compliance_script_post_request_body.py b/msgraph_beta/generated/device_management/device_compliance_policies/validate_compliance_script/validate_compliance_script_post_request_body.py index 1998698c639..607594f84f3 100644 --- a/msgraph_beta/generated/device_management/device_compliance_policies/validate_compliance_script/validate_compliance_script_post_request_body.py +++ b/msgraph_beta/generated/device_management/device_compliance_policies/validate_compliance_script/validate_compliance_script_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ....models.device_compliance_policy_script import DeviceCompliancePolicyScript + writer.write_object_value("deviceCompliancePolicyScript", self.device_compliance_policy_script) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/device_management/device_compliance_policy_setting_state_summaries/count/count_request_builder.py b/msgraph_beta/generated/device_management/device_compliance_policy_setting_state_summaries/count/count_request_builder.py index fa355c52a7c..f0cbaf82300 100644 --- a/msgraph_beta/generated/device_management/device_compliance_policy_setting_state_summaries/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/device_compliance_policy_setting_state_summaries/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/device_compliance_policy_setting_state_summaries/item/device_compliance_setting_states/count/count_request_builder.py b/msgraph_beta/generated/device_management/device_compliance_policy_setting_state_summaries/item/device_compliance_setting_states/count/count_request_builder.py index ed45147dec7..148e4bddb5d 100644 --- a/msgraph_beta/generated/device_management/device_compliance_policy_setting_state_summaries/item/device_compliance_setting_states/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/device_compliance_policy_setting_state_summaries/item/device_compliance_setting_states/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/device_compliance_scripts/count/count_request_builder.py b/msgraph_beta/generated/device_management/device_compliance_scripts/count/count_request_builder.py index 43b61fcda73..8896f96ef94 100644 --- a/msgraph_beta/generated/device_management/device_compliance_scripts/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/device_compliance_scripts/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/device_compliance_scripts/item/assign/assign_post_request_body.py b/msgraph_beta/generated/device_management/device_compliance_scripts/item/assign/assign_post_request_body.py index 7f807663e02..9595d718d8b 100644 --- a/msgraph_beta/generated/device_management/device_compliance_scripts/item/assign/assign_post_request_body.py +++ b/msgraph_beta/generated/device_management/device_compliance_scripts/item/assign/assign_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.device_health_script_assignment import DeviceHealthScriptAssignment + writer.write_collection_of_object_values("deviceHealthScriptAssignments", self.device_health_script_assignments) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/device_management/device_compliance_scripts/item/assignments/count/count_request_builder.py b/msgraph_beta/generated/device_management/device_compliance_scripts/item/assignments/count/count_request_builder.py index 818703cd7dd..4ecc95e48a3 100644 --- a/msgraph_beta/generated/device_management/device_compliance_scripts/item/assignments/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/device_compliance_scripts/item/assignments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/device_compliance_scripts/item/device_run_states/count/count_request_builder.py b/msgraph_beta/generated/device_management/device_compliance_scripts/item/device_run_states/count/count_request_builder.py index 8ab01ce8e24..0da409e7dda 100644 --- a/msgraph_beta/generated/device_management/device_compliance_scripts/item/device_run_states/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/device_compliance_scripts/item/device_run_states/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/device_configuration_conflict_summary/count/count_request_builder.py b/msgraph_beta/generated/device_management/device_configuration_conflict_summary/count/count_request_builder.py index d6c947ec80a..65436c76736 100644 --- a/msgraph_beta/generated/device_management/device_configuration_conflict_summary/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/device_configuration_conflict_summary/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/device_configuration_restricted_apps_violations/count/count_request_builder.py b/msgraph_beta/generated/device_management/device_configuration_restricted_apps_violations/count/count_request_builder.py index 386731e92e8..1372fe93268 100644 --- a/msgraph_beta/generated/device_management/device_configuration_restricted_apps_violations/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/device_configuration_restricted_apps_violations/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/device_configurations/count/count_request_builder.py b/msgraph_beta/generated/device_management/device_configurations/count/count_request_builder.py index 99144b7efe6..e46dd6484e9 100644 --- a/msgraph_beta/generated/device_management/device_configurations/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/device_configurations/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/device_configurations/get_ios_available_update_versions/get_ios_available_update_versions_get_response.py b/msgraph_beta/generated/device_management/device_configurations/get_ios_available_update_versions/get_ios_available_update_versions_get_response.py index 9671847c4ef..330cc3333f7 100644 --- a/msgraph_beta/generated/device_management/device_configurations/get_ios_available_update_versions/get_ios_available_update_versions_get_response.py +++ b/msgraph_beta/generated/device_management/device_configurations/get_ios_available_update_versions/get_ios_available_update_versions_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ....models.ios_available_update_version import IosAvailableUpdateVersion + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/device_management/device_configurations/get_targeted_users_and_devices/get_targeted_users_and_devices_post_response.py b/msgraph_beta/generated/device_management/device_configurations/get_targeted_users_and_devices/get_targeted_users_and_devices_post_response.py index 4292ca6e964..004c9ec5324 100644 --- a/msgraph_beta/generated/device_management/device_configurations/get_targeted_users_and_devices/get_targeted_users_and_devices_post_response.py +++ b/msgraph_beta/generated/device_management/device_configurations/get_targeted_users_and_devices/get_targeted_users_and_devices_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ....models.device_configuration_targeted_user_and_device import DeviceConfigurationTargetedUserAndDevice + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/device_management/device_configurations/has_payload_links/has_payload_links_post_response.py b/msgraph_beta/generated/device_management/device_configurations/has_payload_links/has_payload_links_post_response.py index cbdd8b9a604..c84d78ee906 100644 --- a/msgraph_beta/generated/device_management/device_configurations/has_payload_links/has_payload_links_post_response.py +++ b/msgraph_beta/generated/device_management/device_configurations/has_payload_links/has_payload_links_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ....models.has_payload_link_result_item import HasPayloadLinkResultItem + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/device_management/device_configurations/item/assign/assign_post_request_body.py b/msgraph_beta/generated/device_management/device_configurations/item/assign/assign_post_request_body.py index 8058b9e6c18..540d71cea41 100644 --- a/msgraph_beta/generated/device_management/device_configurations/item/assign/assign_post_request_body.py +++ b/msgraph_beta/generated/device_management/device_configurations/item/assign/assign_post_request_body.py @@ -56,6 +56,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.device_configuration_assignment import DeviceConfigurationAssignment + from .....models.device_configuration_group_assignment import DeviceConfigurationGroupAssignment + writer.write_collection_of_object_values("assignments", self.assignments) writer.write_collection_of_object_values("deviceConfigurationGroupAssignments", self.device_configuration_group_assignments) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/device_management/device_configurations/item/assign/assign_post_response.py b/msgraph_beta/generated/device_management/device_configurations/item/assign/assign_post_response.py index 404af78a258..6ab6e9bfb1c 100644 --- a/msgraph_beta/generated/device_management/device_configurations/item/assign/assign_post_response.py +++ b/msgraph_beta/generated/device_management/device_configurations/item/assign/assign_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .....models.device_configuration_assignment import DeviceConfigurationAssignment + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/device_management/device_configurations/item/assigned_access_multi_mode_profiles/assigned_access_multi_mode_profiles_post_request_body.py b/msgraph_beta/generated/device_management/device_configurations/item/assigned_access_multi_mode_profiles/assigned_access_multi_mode_profiles_post_request_body.py index 40b2b359226..c7148fd81d2 100644 --- a/msgraph_beta/generated/device_management/device_configurations/item/assigned_access_multi_mode_profiles/assigned_access_multi_mode_profiles_post_request_body.py +++ b/msgraph_beta/generated/device_management/device_configurations/item/assigned_access_multi_mode_profiles/assigned_access_multi_mode_profiles_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.windows_assigned_access_profile import WindowsAssignedAccessProfile + writer.write_collection_of_object_values("assignedAccessMultiModeProfiles", self.assigned_access_multi_mode_profiles) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/device_management/device_configurations/item/assignments/count/count_request_builder.py b/msgraph_beta/generated/device_management/device_configurations/item/assignments/count/count_request_builder.py index 9f162c6092b..7698f9d2441 100644 --- a/msgraph_beta/generated/device_management/device_configurations/item/assignments/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/device_configurations/item/assignments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/device_configurations/item/device_setting_state_summaries/count/count_request_builder.py b/msgraph_beta/generated/device_management/device_configurations/item/device_setting_state_summaries/count/count_request_builder.py index d6dd152ac10..42402b5f4e9 100644 --- a/msgraph_beta/generated/device_management/device_configurations/item/device_setting_state_summaries/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/device_configurations/item/device_setting_state_summaries/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/device_configurations/item/device_statuses/count/count_request_builder.py b/msgraph_beta/generated/device_management/device_configurations/item/device_statuses/count/count_request_builder.py index 04a0439376f..074caf4adf6 100644 --- a/msgraph_beta/generated/device_management/device_configurations/item/device_statuses/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/device_configurations/item/device_statuses/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/device_configurations/item/group_assignments/count/count_request_builder.py b/msgraph_beta/generated/device_management/device_configurations/item/group_assignments/count/count_request_builder.py index 8d9eaef2ecb..85e6d4e9700 100644 --- a/msgraph_beta/generated/device_management/device_configurations/item/group_assignments/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/device_configurations/item/group_assignments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/device_configurations/item/user_statuses/count/count_request_builder.py b/msgraph_beta/generated/device_management/device_configurations/item/user_statuses/count/count_request_builder.py index 7519d1f0a15..97183300bdb 100644 --- a/msgraph_beta/generated/device_management/device_configurations/item/user_statuses/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/device_configurations/item/user_statuses/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/device_configurations/item/windows_privacy_access_controls/windows_privacy_access_controls_post_request_body.py b/msgraph_beta/generated/device_management/device_configurations/item/windows_privacy_access_controls/windows_privacy_access_controls_post_request_body.py index a2205ac65ea..cbe5edbfebc 100644 --- a/msgraph_beta/generated/device_management/device_configurations/item/windows_privacy_access_controls/windows_privacy_access_controls_post_request_body.py +++ b/msgraph_beta/generated/device_management/device_configurations/item/windows_privacy_access_controls/windows_privacy_access_controls_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.windows_privacy_data_access_control_item import WindowsPrivacyDataAccessControlItem + writer.write_collection_of_object_values("windowsPrivacyAccessControls", self.windows_privacy_access_controls) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/device_management/device_configurations_all_managed_device_certificate_states/count/count_request_builder.py b/msgraph_beta/generated/device_management/device_configurations_all_managed_device_certificate_states/count/count_request_builder.py index f2be3dce648..17325318b75 100644 --- a/msgraph_beta/generated/device_management/device_configurations_all_managed_device_certificate_states/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/device_configurations_all_managed_device_certificate_states/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/device_custom_attribute_shell_scripts/count/count_request_builder.py b/msgraph_beta/generated/device_management/device_custom_attribute_shell_scripts/count/count_request_builder.py index 49d7b0428ce..5b15a3e2db0 100644 --- a/msgraph_beta/generated/device_management/device_custom_attribute_shell_scripts/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/device_custom_attribute_shell_scripts/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/device_custom_attribute_shell_scripts/item/assign/assign_post_request_body.py b/msgraph_beta/generated/device_management/device_custom_attribute_shell_scripts/item/assign/assign_post_request_body.py index f3511cc9523..b45c5adca84 100644 --- a/msgraph_beta/generated/device_management/device_custom_attribute_shell_scripts/item/assign/assign_post_request_body.py +++ b/msgraph_beta/generated/device_management/device_custom_attribute_shell_scripts/item/assign/assign_post_request_body.py @@ -56,6 +56,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.device_management_script_assignment import DeviceManagementScriptAssignment + from .....models.device_management_script_group_assignment import DeviceManagementScriptGroupAssignment + writer.write_collection_of_object_values("deviceManagementScriptAssignments", self.device_management_script_assignments) writer.write_collection_of_object_values("deviceManagementScriptGroupAssignments", self.device_management_script_group_assignments) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/device_management/device_custom_attribute_shell_scripts/item/assignments/count/count_request_builder.py b/msgraph_beta/generated/device_management/device_custom_attribute_shell_scripts/item/assignments/count/count_request_builder.py index fb0cce4454d..d23e3f44bb9 100644 --- a/msgraph_beta/generated/device_management/device_custom_attribute_shell_scripts/item/assignments/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/device_custom_attribute_shell_scripts/item/assignments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/device_custom_attribute_shell_scripts/item/device_run_states/count/count_request_builder.py b/msgraph_beta/generated/device_management/device_custom_attribute_shell_scripts/item/device_run_states/count/count_request_builder.py index 69622fb8a66..795c1303ead 100644 --- a/msgraph_beta/generated/device_management/device_custom_attribute_shell_scripts/item/device_run_states/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/device_custom_attribute_shell_scripts/item/device_run_states/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/device_custom_attribute_shell_scripts/item/group_assignments/count/count_request_builder.py b/msgraph_beta/generated/device_management/device_custom_attribute_shell_scripts/item/group_assignments/count/count_request_builder.py index 4abeedb8b28..57e0cb9f9af 100644 --- a/msgraph_beta/generated/device_management/device_custom_attribute_shell_scripts/item/group_assignments/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/device_custom_attribute_shell_scripts/item/group_assignments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/device_custom_attribute_shell_scripts/item/user_run_states/count/count_request_builder.py b/msgraph_beta/generated/device_management/device_custom_attribute_shell_scripts/item/user_run_states/count/count_request_builder.py index 6b98e92653a..f9f2dafe7d1 100644 --- a/msgraph_beta/generated/device_management/device_custom_attribute_shell_scripts/item/user_run_states/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/device_custom_attribute_shell_scripts/item/user_run_states/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/device_custom_attribute_shell_scripts/item/user_run_states/item/device_run_states/count/count_request_builder.py b/msgraph_beta/generated/device_management/device_custom_attribute_shell_scripts/item/user_run_states/item/device_run_states/count/count_request_builder.py index 842c6d1c023..0fa5df01e20 100644 --- a/msgraph_beta/generated/device_management/device_custom_attribute_shell_scripts/item/user_run_states/item/device_run_states/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/device_custom_attribute_shell_scripts/item/user_run_states/item/device_run_states/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/device_enrollment_configurations/count/count_request_builder.py b/msgraph_beta/generated/device_management/device_enrollment_configurations/count/count_request_builder.py index 7ac94db479f..7b4a293e285 100644 --- a/msgraph_beta/generated/device_management/device_enrollment_configurations/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/device_enrollment_configurations/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/device_enrollment_configurations/create_enrollment_notification_configuration/create_enrollment_notification_configuration_post_request_body.py b/msgraph_beta/generated/device_management/device_enrollment_configurations/create_enrollment_notification_configuration/create_enrollment_notification_configuration_post_request_body.py index 2e2c66486f1..a4ec9187aa1 100644 --- a/msgraph_beta/generated/device_management/device_enrollment_configurations/create_enrollment_notification_configuration/create_enrollment_notification_configuration_post_request_body.py +++ b/msgraph_beta/generated/device_management/device_enrollment_configurations/create_enrollment_notification_configuration/create_enrollment_notification_configuration_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ....models.device_enrollment_configuration import DeviceEnrollmentConfiguration + writer.write_collection_of_object_values("deviceEnrollmentNotificationConfigurations", self.device_enrollment_notification_configurations) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/device_management/device_enrollment_configurations/has_payload_links/has_payload_links_post_response.py b/msgraph_beta/generated/device_management/device_enrollment_configurations/has_payload_links/has_payload_links_post_response.py index cbdd8b9a604..c84d78ee906 100644 --- a/msgraph_beta/generated/device_management/device_enrollment_configurations/has_payload_links/has_payload_links_post_response.py +++ b/msgraph_beta/generated/device_management/device_enrollment_configurations/has_payload_links/has_payload_links_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ....models.has_payload_link_result_item import HasPayloadLinkResultItem + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/device_management/device_enrollment_configurations/item/assign/assign_post_request_body.py b/msgraph_beta/generated/device_management/device_enrollment_configurations/item/assign/assign_post_request_body.py index 5b7340d9327..39441e9bd1e 100644 --- a/msgraph_beta/generated/device_management/device_enrollment_configurations/item/assign/assign_post_request_body.py +++ b/msgraph_beta/generated/device_management/device_enrollment_configurations/item/assign/assign_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.enrollment_configuration_assignment import EnrollmentConfigurationAssignment + writer.write_collection_of_object_values("enrollmentConfigurationAssignments", self.enrollment_configuration_assignments) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/device_management/device_enrollment_configurations/item/assignments/count/count_request_builder.py b/msgraph_beta/generated/device_management/device_enrollment_configurations/item/assignments/count/count_request_builder.py index cb679ac9f25..58f19281cd7 100644 --- a/msgraph_beta/generated/device_management/device_enrollment_configurations/item/assignments/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/device_enrollment_configurations/item/assignments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/device_health_scripts/are_global_scripts_available/are_global_scripts_available_request_builder.py b/msgraph_beta/generated/device_management/device_health_scripts/are_global_scripts_available/are_global_scripts_available_request_builder.py index 6d4a970769a..cbf77b16941 100644 --- a/msgraph_beta/generated/device_management/device_health_scripts/are_global_scripts_available/are_global_scripts_available_request_builder.py +++ b/msgraph_beta/generated/device_management/device_health_scripts/are_global_scripts_available/are_global_scripts_available_request_builder.py @@ -47,7 +47,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[QueryPar raise Exception("Http core is null") from ....models.global_device_health_script_state import GlobalDeviceHealthScriptState - return await self.request_adapter.send_async(request_info, globalDeviceHealthScriptState, error_mapping) + return await self.request_adapter.send_primitive_async(request_info, "globalDeviceHealthScriptState", error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/device_health_scripts/count/count_request_builder.py b/msgraph_beta/generated/device_management/device_health_scripts/count/count_request_builder.py index c4d8e30cb7e..257665bac84 100644 --- a/msgraph_beta/generated/device_management/device_health_scripts/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/device_health_scripts/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/device_health_scripts/item/assign/assign_post_request_body.py b/msgraph_beta/generated/device_management/device_health_scripts/item/assign/assign_post_request_body.py index 7f807663e02..9595d718d8b 100644 --- a/msgraph_beta/generated/device_management/device_health_scripts/item/assign/assign_post_request_body.py +++ b/msgraph_beta/generated/device_management/device_health_scripts/item/assign/assign_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.device_health_script_assignment import DeviceHealthScriptAssignment + writer.write_collection_of_object_values("deviceHealthScriptAssignments", self.device_health_script_assignments) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/device_management/device_health_scripts/item/assignments/count/count_request_builder.py b/msgraph_beta/generated/device_management/device_health_scripts/item/assignments/count/count_request_builder.py index c8ec21f9edb..2a2979ac7dc 100644 --- a/msgraph_beta/generated/device_management/device_health_scripts/item/assignments/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/device_health_scripts/item/assignments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/device_health_scripts/item/device_run_states/count/count_request_builder.py b/msgraph_beta/generated/device_management/device_health_scripts/item/device_run_states/count/count_request_builder.py index eaf90345948..776d14d03c3 100644 --- a/msgraph_beta/generated/device_management/device_health_scripts/item/device_run_states/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/device_health_scripts/item/device_run_states/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/device_management_partners/count/count_request_builder.py b/msgraph_beta/generated/device_management/device_management_partners/count/count_request_builder.py index 9c76fee1b66..5176dad2e30 100644 --- a/msgraph_beta/generated/device_management/device_management_partners/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/device_management_partners/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/device_management_request_builder.py b/msgraph_beta/generated/device_management/device_management_request_builder.py index a350c60734f..b609d0ffbf7 100644 --- a/msgraph_beta/generated/device_management/device_management_request_builder.py +++ b/msgraph_beta/generated/device_management/device_management_request_builder.py @@ -127,6 +127,7 @@ from .reports.reports_request_builder import ReportsRequestBuilder from .resource_access_profiles.resource_access_profiles_request_builder import ResourceAccessProfilesRequestBuilder from .resource_operations.resource_operations_request_builder import ResourceOperationsRequestBuilder + from .retrieve_user_role_detail_with_userid.retrieve_user_role_detail_with_userid_request_builder import RetrieveUserRoleDetailWithUseridRequestBuilder from .reusable_policy_settings.reusable_policy_settings_request_builder import ReusablePolicySettingsRequestBuilder from .reusable_settings.reusable_settings_request_builder import ReusableSettingsRequestBuilder from .role_assignments.role_assignments_request_builder import RoleAssignmentsRequestBuilder @@ -312,6 +313,18 @@ async def patch(self,body: DeviceManagement, request_configuration: Optional[Req return await self.request_adapter.send_async(request_info, DeviceManagement, error_mapping) + def retrieve_user_role_detail_with_userid(self,userid: str) -> RetrieveUserRoleDetailWithUseridRequestBuilder: + """ + Provides operations to call the retrieveUserRoleDetail method. + param userid: Usage: userid='{userid}' + Returns: RetrieveUserRoleDetailWithUseridRequestBuilder + """ + if userid is None: + raise TypeError("userid cannot be null.") + from .retrieve_user_role_detail_with_userid.retrieve_user_role_detail_with_userid_request_builder import RetrieveUserRoleDetailWithUseridRequestBuilder + + return RetrieveUserRoleDetailWithUseridRequestBuilder(self.request_adapter, self.path_parameters, userid) + def scoped_for_resource_with_resource(self,resource: str) -> ScopedForResourceWithResourceRequestBuilder: """ Provides operations to call the scopedForResource method. diff --git a/msgraph_beta/generated/device_management/device_management_scripts/count/count_request_builder.py b/msgraph_beta/generated/device_management/device_management_scripts/count/count_request_builder.py index bafa65ad682..53a75589cb0 100644 --- a/msgraph_beta/generated/device_management/device_management_scripts/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/device_management_scripts/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/device_management_scripts/has_payload_links/has_payload_links_post_response.py b/msgraph_beta/generated/device_management/device_management_scripts/has_payload_links/has_payload_links_post_response.py index cbdd8b9a604..c84d78ee906 100644 --- a/msgraph_beta/generated/device_management/device_management_scripts/has_payload_links/has_payload_links_post_response.py +++ b/msgraph_beta/generated/device_management/device_management_scripts/has_payload_links/has_payload_links_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ....models.has_payload_link_result_item import HasPayloadLinkResultItem + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/device_management/device_management_scripts/item/assign/assign_post_request_body.py b/msgraph_beta/generated/device_management/device_management_scripts/item/assign/assign_post_request_body.py index f3511cc9523..b45c5adca84 100644 --- a/msgraph_beta/generated/device_management/device_management_scripts/item/assign/assign_post_request_body.py +++ b/msgraph_beta/generated/device_management/device_management_scripts/item/assign/assign_post_request_body.py @@ -56,6 +56,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.device_management_script_assignment import DeviceManagementScriptAssignment + from .....models.device_management_script_group_assignment import DeviceManagementScriptGroupAssignment + writer.write_collection_of_object_values("deviceManagementScriptAssignments", self.device_management_script_assignments) writer.write_collection_of_object_values("deviceManagementScriptGroupAssignments", self.device_management_script_group_assignments) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/device_management/device_management_scripts/item/assignments/count/count_request_builder.py b/msgraph_beta/generated/device_management/device_management_scripts/item/assignments/count/count_request_builder.py index 29d37efc21d..a8b30335db4 100644 --- a/msgraph_beta/generated/device_management/device_management_scripts/item/assignments/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/device_management_scripts/item/assignments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/device_management_scripts/item/device_run_states/count/count_request_builder.py b/msgraph_beta/generated/device_management/device_management_scripts/item/device_run_states/count/count_request_builder.py index ad9ec25fb53..740fee67771 100644 --- a/msgraph_beta/generated/device_management/device_management_scripts/item/device_run_states/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/device_management_scripts/item/device_run_states/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/device_management_scripts/item/group_assignments/count/count_request_builder.py b/msgraph_beta/generated/device_management/device_management_scripts/item/group_assignments/count/count_request_builder.py index 4ce37e945fc..63057e4c8cd 100644 --- a/msgraph_beta/generated/device_management/device_management_scripts/item/group_assignments/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/device_management_scripts/item/group_assignments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/device_management_scripts/item/user_run_states/count/count_request_builder.py b/msgraph_beta/generated/device_management/device_management_scripts/item/user_run_states/count/count_request_builder.py index 0a79cbb087f..7ccc514b3eb 100644 --- a/msgraph_beta/generated/device_management/device_management_scripts/item/user_run_states/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/device_management_scripts/item/user_run_states/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/device_management_scripts/item/user_run_states/item/device_run_states/count/count_request_builder.py b/msgraph_beta/generated/device_management/device_management_scripts/item/user_run_states/item/device_run_states/count/count_request_builder.py index af70d937409..d2a2d97a54d 100644 --- a/msgraph_beta/generated/device_management/device_management_scripts/item/user_run_states/item/device_run_states/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/device_management_scripts/item/user_run_states/item/device_run_states/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/device_shell_scripts/count/count_request_builder.py b/msgraph_beta/generated/device_management/device_shell_scripts/count/count_request_builder.py index a7fe700a61d..4929b6567bc 100644 --- a/msgraph_beta/generated/device_management/device_shell_scripts/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/device_shell_scripts/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/device_shell_scripts/item/assign/assign_post_request_body.py b/msgraph_beta/generated/device_management/device_shell_scripts/item/assign/assign_post_request_body.py index f3511cc9523..b45c5adca84 100644 --- a/msgraph_beta/generated/device_management/device_shell_scripts/item/assign/assign_post_request_body.py +++ b/msgraph_beta/generated/device_management/device_shell_scripts/item/assign/assign_post_request_body.py @@ -56,6 +56,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.device_management_script_assignment import DeviceManagementScriptAssignment + from .....models.device_management_script_group_assignment import DeviceManagementScriptGroupAssignment + writer.write_collection_of_object_values("deviceManagementScriptAssignments", self.device_management_script_assignments) writer.write_collection_of_object_values("deviceManagementScriptGroupAssignments", self.device_management_script_group_assignments) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/device_management/device_shell_scripts/item/assignments/count/count_request_builder.py b/msgraph_beta/generated/device_management/device_shell_scripts/item/assignments/count/count_request_builder.py index 768585b0f24..1e7de259098 100644 --- a/msgraph_beta/generated/device_management/device_shell_scripts/item/assignments/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/device_shell_scripts/item/assignments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/device_shell_scripts/item/device_run_states/count/count_request_builder.py b/msgraph_beta/generated/device_management/device_shell_scripts/item/device_run_states/count/count_request_builder.py index 97ef3689a48..36ebdb1519f 100644 --- a/msgraph_beta/generated/device_management/device_shell_scripts/item/device_run_states/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/device_shell_scripts/item/device_run_states/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/device_shell_scripts/item/group_assignments/count/count_request_builder.py b/msgraph_beta/generated/device_management/device_shell_scripts/item/group_assignments/count/count_request_builder.py index 56e5aae3c90..2f0b35dcebb 100644 --- a/msgraph_beta/generated/device_management/device_shell_scripts/item/group_assignments/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/device_shell_scripts/item/group_assignments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/device_shell_scripts/item/user_run_states/count/count_request_builder.py b/msgraph_beta/generated/device_management/device_shell_scripts/item/user_run_states/count/count_request_builder.py index b0432de34d3..ac073d6eec1 100644 --- a/msgraph_beta/generated/device_management/device_shell_scripts/item/user_run_states/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/device_shell_scripts/item/user_run_states/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/device_shell_scripts/item/user_run_states/item/device_run_states/count/count_request_builder.py b/msgraph_beta/generated/device_management/device_shell_scripts/item/user_run_states/item/device_run_states/count/count_request_builder.py index 6089933839e..5b6059399a6 100644 --- a/msgraph_beta/generated/device_management/device_shell_scripts/item/user_run_states/item/device_run_states/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/device_shell_scripts/item/user_run_states/item/device_run_states/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/domain_join_connectors/count/count_request_builder.py b/msgraph_beta/generated/device_management/domain_join_connectors/count/count_request_builder.py index b83eb50d8c3..ed5b6c0b671 100644 --- a/msgraph_beta/generated/device_management/domain_join_connectors/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/domain_join_connectors/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/elevation_requests/count/count_request_builder.py b/msgraph_beta/generated/device_management/elevation_requests/count/count_request_builder.py index 84eec1ce6e4..359a33870eb 100644 --- a/msgraph_beta/generated/device_management/elevation_requests/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/elevation_requests/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/elevation_requests/item/get_all_elevation_requests/get_all_elevation_requests_post_response.py b/msgraph_beta/generated/device_management/elevation_requests/item/get_all_elevation_requests/get_all_elevation_requests_post_response.py index 63a1406a9b1..fd2d7c35b6a 100644 --- a/msgraph_beta/generated/device_management/elevation_requests/item/get_all_elevation_requests/get_all_elevation_requests_post_response.py +++ b/msgraph_beta/generated/device_management/elevation_requests/item/get_all_elevation_requests/get_all_elevation_requests_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .....models.privilege_management_elevation_request import PrivilegeManagementElevationRequest + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/device_management/embedded_s_i_m_activation_code_pools/count/count_request_builder.py b/msgraph_beta/generated/device_management/embedded_s_i_m_activation_code_pools/count/count_request_builder.py index c1483bf4e30..21f56df2725 100644 --- a/msgraph_beta/generated/device_management/embedded_s_i_m_activation_code_pools/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/embedded_s_i_m_activation_code_pools/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/embedded_s_i_m_activation_code_pools/item/assign/assign_post_request_body.py b/msgraph_beta/generated/device_management/embedded_s_i_m_activation_code_pools/item/assign/assign_post_request_body.py index d0e51d9633f..949d8ad4ee3 100644 --- a/msgraph_beta/generated/device_management/embedded_s_i_m_activation_code_pools/item/assign/assign_post_request_body.py +++ b/msgraph_beta/generated/device_management/embedded_s_i_m_activation_code_pools/item/assign/assign_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.embedded_s_i_m_activation_code_pool_assignment import EmbeddedSIMActivationCodePoolAssignment + writer.write_collection_of_object_values("assignments", self.assignments) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/device_management/embedded_s_i_m_activation_code_pools/item/assign/assign_post_response.py b/msgraph_beta/generated/device_management/embedded_s_i_m_activation_code_pools/item/assign/assign_post_response.py index 845ba8bd3a6..9936207d6a7 100644 --- a/msgraph_beta/generated/device_management/embedded_s_i_m_activation_code_pools/item/assign/assign_post_response.py +++ b/msgraph_beta/generated/device_management/embedded_s_i_m_activation_code_pools/item/assign/assign_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .....models.embedded_s_i_m_activation_code_pool_assignment import EmbeddedSIMActivationCodePoolAssignment + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/device_management/embedded_s_i_m_activation_code_pools/item/assignments/count/count_request_builder.py b/msgraph_beta/generated/device_management/embedded_s_i_m_activation_code_pools/item/assignments/count/count_request_builder.py index 5be17d97c06..614cac29ede 100644 --- a/msgraph_beta/generated/device_management/embedded_s_i_m_activation_code_pools/item/assignments/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/embedded_s_i_m_activation_code_pools/item/assignments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/embedded_s_i_m_activation_code_pools/item/device_states/count/count_request_builder.py b/msgraph_beta/generated/device_management/embedded_s_i_m_activation_code_pools/item/device_states/count/count_request_builder.py index b3ac0940423..fa440a95bfc 100644 --- a/msgraph_beta/generated/device_management/embedded_s_i_m_activation_code_pools/item/device_states/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/embedded_s_i_m_activation_code_pools/item/device_states/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/enable_endpoint_privilege_management/enable_endpoint_privilege_management_request_builder.py b/msgraph_beta/generated/device_management/enable_endpoint_privilege_management/enable_endpoint_privilege_management_request_builder.py index 62c691140c1..614e5e88010 100644 --- a/msgraph_beta/generated/device_management/enable_endpoint_privilege_management/enable_endpoint_privilege_management_request_builder.py +++ b/msgraph_beta/generated/device_management/enable_endpoint_privilege_management/enable_endpoint_privilege_management_request_builder.py @@ -30,7 +30,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def post(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ - Triggers onboarding of tenant to Microsoft Managed Platform - Cloud (MMP-C). + DEPRECATED - DO NOT USE. (Triggers onboarding of tenant to Microsoft Managed Platform - Cloud (MMP-C)). param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ @@ -48,7 +48,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa def to_post_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Triggers onboarding of tenant to Microsoft Managed Platform - Cloud (MMP-C). + DEPRECATED - DO NOT USE. (Triggers onboarding of tenant to Microsoft Managed Platform - Cloud (MMP-C)). param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ diff --git a/msgraph_beta/generated/device_management/evaluate_assignment_filter/evaluate_assignment_filter_post_request_body.py b/msgraph_beta/generated/device_management/evaluate_assignment_filter/evaluate_assignment_filter_post_request_body.py index 4f89834ebbd..d834482aed1 100644 --- a/msgraph_beta/generated/device_management/evaluate_assignment_filter/evaluate_assignment_filter_post_request_body.py +++ b/msgraph_beta/generated/device_management/evaluate_assignment_filter/evaluate_assignment_filter_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ...models.assignment_filter_evaluate_request import AssignmentFilterEvaluateRequest + writer.write_object_value("data", self.data) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/device_management/exchange_connectors/count/count_request_builder.py b/msgraph_beta/generated/device_management/exchange_connectors/count/count_request_builder.py index f02bf13d8b9..6d554205a2e 100644 --- a/msgraph_beta/generated/device_management/exchange_connectors/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/exchange_connectors/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/exchange_connectors/item/sync/sync_post_request_body.py b/msgraph_beta/generated/device_management/exchange_connectors/item/sync/sync_post_request_body.py index 38f359d31c2..223ca40cdd2 100644 --- a/msgraph_beta/generated/device_management/exchange_connectors/item/sync/sync_post_request_body.py +++ b/msgraph_beta/generated/device_management/exchange_connectors/item/sync/sync_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.device_management_exchange_connector_sync_type import DeviceManagementExchangeConnectorSyncType + writer.write_enum_value("syncType", self.sync_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/device_management/exchange_on_premises_policies/count/count_request_builder.py b/msgraph_beta/generated/device_management/exchange_on_premises_policies/count/count_request_builder.py index 1f82e566602..b71f28218de 100644 --- a/msgraph_beta/generated/device_management/exchange_on_premises_policies/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/exchange_on_premises_policies/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/get_effective_permissions/get_effective_permissions_get_response.py b/msgraph_beta/generated/device_management/get_effective_permissions/get_effective_permissions_get_response.py index 4838d369460..d5c7bf388ad 100644 --- a/msgraph_beta/generated/device_management/get_effective_permissions/get_effective_permissions_get_response.py +++ b/msgraph_beta/generated/device_management/get_effective_permissions/get_effective_permissions_get_response.py @@ -49,6 +49,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ...models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_primitive_values("value", self.value) diff --git a/msgraph_beta/generated/device_management/get_effective_permissions_with_scope/get_effective_permissions_with_scope_get_response.py b/msgraph_beta/generated/device_management/get_effective_permissions_with_scope/get_effective_permissions_with_scope_get_response.py index 4a3335d33b5..41514c03cf6 100644 --- a/msgraph_beta/generated/device_management/get_effective_permissions_with_scope/get_effective_permissions_with_scope_get_response.py +++ b/msgraph_beta/generated/device_management/get_effective_permissions_with_scope/get_effective_permissions_with_scope_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ...models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ...models.role_permission import RolePermission + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/device_management/get_role_scope_tags_by_ids_with_ids/get_role_scope_tags_by_ids_with_ids_get_response.py b/msgraph_beta/generated/device_management/get_role_scope_tags_by_ids_with_ids/get_role_scope_tags_by_ids_with_ids_get_response.py index 0b0dee50aee..096f249274a 100644 --- a/msgraph_beta/generated/device_management/get_role_scope_tags_by_ids_with_ids/get_role_scope_tags_by_ids_with_ids_get_response.py +++ b/msgraph_beta/generated/device_management/get_role_scope_tags_by_ids_with_ids/get_role_scope_tags_by_ids_with_ids_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ...models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ...models.role_scope_tag import RoleScopeTag + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/device_management/get_role_scope_tags_by_resource_with_resource/get_role_scope_tags_by_resource_with_resource_get_response.py b/msgraph_beta/generated/device_management/get_role_scope_tags_by_resource_with_resource/get_role_scope_tags_by_resource_with_resource_get_response.py index b51bad723a9..11d858ca3fe 100644 --- a/msgraph_beta/generated/device_management/get_role_scope_tags_by_resource_with_resource/get_role_scope_tags_by_resource_with_resource_get_response.py +++ b/msgraph_beta/generated/device_management/get_role_scope_tags_by_resource_with_resource/get_role_scope_tags_by_resource_with_resource_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ...models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ...models.role_scope_tag import RoleScopeTag + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/device_management/group_policy_categories/count/count_request_builder.py b/msgraph_beta/generated/device_management/group_policy_categories/count/count_request_builder.py index 78f0fd7d022..84aaf2e1f2c 100644 --- a/msgraph_beta/generated/device_management/group_policy_categories/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/group_policy_categories/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/group_policy_categories/item/children/count/count_request_builder.py b/msgraph_beta/generated/device_management/group_policy_categories/item/children/count/count_request_builder.py index c6b107a383e..4f961bee998 100644 --- a/msgraph_beta/generated/device_management/group_policy_categories/item/children/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/group_policy_categories/item/children/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/group_policy_categories/item/definitions/count/count_request_builder.py b/msgraph_beta/generated/device_management/group_policy_categories/item/definitions/count/count_request_builder.py index a85532a3468..1502228f694 100644 --- a/msgraph_beta/generated/device_management/group_policy_categories/item/definitions/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/group_policy_categories/item/definitions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/group_policy_configurations/count/count_request_builder.py b/msgraph_beta/generated/device_management/group_policy_configurations/count/count_request_builder.py index 0182b3fd2a1..cb5a96fe546 100644 --- a/msgraph_beta/generated/device_management/group_policy_configurations/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/group_policy_configurations/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/group_policy_configurations/item/assign/assign_post_request_body.py b/msgraph_beta/generated/device_management/group_policy_configurations/item/assign/assign_post_request_body.py index 44678f6ad3b..2dfa83342cb 100644 --- a/msgraph_beta/generated/device_management/group_policy_configurations/item/assign/assign_post_request_body.py +++ b/msgraph_beta/generated/device_management/group_policy_configurations/item/assign/assign_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.group_policy_configuration_assignment import GroupPolicyConfigurationAssignment + writer.write_collection_of_object_values("assignments", self.assignments) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/device_management/group_policy_configurations/item/assign/assign_post_response.py b/msgraph_beta/generated/device_management/group_policy_configurations/item/assign/assign_post_response.py index db810ed18a4..eda6d9540cf 100644 --- a/msgraph_beta/generated/device_management/group_policy_configurations/item/assign/assign_post_response.py +++ b/msgraph_beta/generated/device_management/group_policy_configurations/item/assign/assign_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .....models.group_policy_configuration_assignment import GroupPolicyConfigurationAssignment + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/device_management/group_policy_configurations/item/assignments/count/count_request_builder.py b/msgraph_beta/generated/device_management/group_policy_configurations/item/assignments/count/count_request_builder.py index a2d468621ed..f7c0c199fc3 100644 --- a/msgraph_beta/generated/device_management/group_policy_configurations/item/assignments/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/group_policy_configurations/item/assignments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/group_policy_configurations/item/definition_values/count/count_request_builder.py b/msgraph_beta/generated/device_management/group_policy_configurations/item/definition_values/count/count_request_builder.py index b90a70cd750..7d616318e27 100644 --- a/msgraph_beta/generated/device_management/group_policy_configurations/item/definition_values/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/group_policy_configurations/item/definition_values/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/group_policy_configurations/item/definition_values/item/presentation_values/count/count_request_builder.py b/msgraph_beta/generated/device_management/group_policy_configurations/item/definition_values/item/presentation_values/count/count_request_builder.py index d65271bc034..1e450c6c55f 100644 --- a/msgraph_beta/generated/device_management/group_policy_configurations/item/definition_values/item/presentation_values/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/group_policy_configurations/item/definition_values/item/presentation_values/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/group_policy_configurations/item/update_definition_values/update_definition_values_post_request_body.py b/msgraph_beta/generated/device_management/group_policy_configurations/item/update_definition_values/update_definition_values_post_request_body.py index 5b8a51cf8bc..7e01687065d 100644 --- a/msgraph_beta/generated/device_management/group_policy_configurations/item/update_definition_values/update_definition_values_post_request_body.py +++ b/msgraph_beta/generated/device_management/group_policy_configurations/item/update_definition_values/update_definition_values_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.group_policy_definition_value import GroupPolicyDefinitionValue + writer.write_collection_of_object_values("added", self.added) writer.write_collection_of_primitive_values("deletedIds", self.deleted_ids) writer.write_collection_of_object_values("updated", self.updated) diff --git a/msgraph_beta/generated/device_management/group_policy_definition_files/count/count_request_builder.py b/msgraph_beta/generated/device_management/group_policy_definition_files/count/count_request_builder.py index 7c3a0eacea8..dc04f5dd100 100644 --- a/msgraph_beta/generated/device_management/group_policy_definition_files/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/group_policy_definition_files/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/group_policy_definition_files/item/definitions/count/count_request_builder.py b/msgraph_beta/generated/device_management/group_policy_definition_files/item/definitions/count/count_request_builder.py index 4c18aa03c9b..2611e0b9dcb 100644 --- a/msgraph_beta/generated/device_management/group_policy_definition_files/item/definitions/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/group_policy_definition_files/item/definitions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/group_policy_definitions/count/count_request_builder.py b/msgraph_beta/generated/device_management/group_policy_definitions/count/count_request_builder.py index 92aabf29d10..5928d655a7f 100644 --- a/msgraph_beta/generated/device_management/group_policy_definitions/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/group_policy_definitions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/group_policy_definitions/item/next_version_definition/presentations/count/count_request_builder.py b/msgraph_beta/generated/device_management/group_policy_definitions/item/next_version_definition/presentations/count/count_request_builder.py index 700532458e7..578108e0ed8 100644 --- a/msgraph_beta/generated/device_management/group_policy_definitions/item/next_version_definition/presentations/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/group_policy_definitions/item/next_version_definition/presentations/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/group_policy_definitions/item/next_version_definition/previous_version_definition/presentations/count/count_request_builder.py b/msgraph_beta/generated/device_management/group_policy_definitions/item/next_version_definition/previous_version_definition/presentations/count/count_request_builder.py index 0dbd5a23d24..eff22f27094 100644 --- a/msgraph_beta/generated/device_management/group_policy_definitions/item/next_version_definition/previous_version_definition/presentations/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/group_policy_definitions/item/next_version_definition/previous_version_definition/presentations/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/group_policy_definitions/item/presentations/count/count_request_builder.py b/msgraph_beta/generated/device_management/group_policy_definitions/item/presentations/count/count_request_builder.py index 9f05fec2964..6aab65693b4 100644 --- a/msgraph_beta/generated/device_management/group_policy_definitions/item/presentations/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/group_policy_definitions/item/presentations/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/group_policy_definitions/item/previous_version_definition/next_version_definition/presentations/count/count_request_builder.py b/msgraph_beta/generated/device_management/group_policy_definitions/item/previous_version_definition/next_version_definition/presentations/count/count_request_builder.py index 0c2254c9b74..02a8ddb8c56 100644 --- a/msgraph_beta/generated/device_management/group_policy_definitions/item/previous_version_definition/next_version_definition/presentations/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/group_policy_definitions/item/previous_version_definition/next_version_definition/presentations/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/group_policy_definitions/item/previous_version_definition/presentations/count/count_request_builder.py b/msgraph_beta/generated/device_management/group_policy_definitions/item/previous_version_definition/presentations/count/count_request_builder.py index 6fa85f88ede..2fd4523c7d4 100644 --- a/msgraph_beta/generated/device_management/group_policy_definitions/item/previous_version_definition/presentations/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/group_policy_definitions/item/previous_version_definition/presentations/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/group_policy_migration_reports/count/count_request_builder.py b/msgraph_beta/generated/device_management/group_policy_migration_reports/count/count_request_builder.py index 4afe29bef8e..b375245f69c 100644 --- a/msgraph_beta/generated/device_management/group_policy_migration_reports/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/group_policy_migration_reports/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/group_policy_migration_reports/create_migration_report/create_migration_report_post_request_body.py b/msgraph_beta/generated/device_management/group_policy_migration_reports/create_migration_report/create_migration_report_post_request_body.py index 3663fab30a8..fd6c743cddd 100644 --- a/msgraph_beta/generated/device_management/group_policy_migration_reports/create_migration_report/create_migration_report_post_request_body.py +++ b/msgraph_beta/generated/device_management/group_policy_migration_reports/create_migration_report/create_migration_report_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ....models.group_policy_object_file import GroupPolicyObjectFile + writer.write_object_value("groupPolicyObjectFile", self.group_policy_object_file) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/device_management/group_policy_migration_reports/item/group_policy_setting_mappings/count/count_request_builder.py b/msgraph_beta/generated/device_management/group_policy_migration_reports/item/group_policy_setting_mappings/count/count_request_builder.py index 5699b31a54e..5f127b1ca64 100644 --- a/msgraph_beta/generated/device_management/group_policy_migration_reports/item/group_policy_setting_mappings/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/group_policy_migration_reports/item/group_policy_setting_mappings/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/group_policy_migration_reports/item/unsupported_group_policy_extensions/count/count_request_builder.py b/msgraph_beta/generated/device_management/group_policy_migration_reports/item/unsupported_group_policy_extensions/count/count_request_builder.py index 5ce0dfe0f81..3697d10788c 100644 --- a/msgraph_beta/generated/device_management/group_policy_migration_reports/item/unsupported_group_policy_extensions/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/group_policy_migration_reports/item/unsupported_group_policy_extensions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/group_policy_object_files/count/count_request_builder.py b/msgraph_beta/generated/device_management/group_policy_object_files/count/count_request_builder.py index da3a3148ae9..878b22df7c6 100644 --- a/msgraph_beta/generated/device_management/group_policy_object_files/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/group_policy_object_files/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/group_policy_uploaded_definition_files/count/count_request_builder.py b/msgraph_beta/generated/device_management/group_policy_uploaded_definition_files/count/count_request_builder.py index 01552d92a8a..e835f309ddf 100644 --- a/msgraph_beta/generated/device_management/group_policy_uploaded_definition_files/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/group_policy_uploaded_definition_files/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/group_policy_uploaded_definition_files/item/add_language_files/add_language_files_post_request_body.py b/msgraph_beta/generated/device_management/group_policy_uploaded_definition_files/item/add_language_files/add_language_files_post_request_body.py index 2d7ab99b762..86fb036a00f 100644 --- a/msgraph_beta/generated/device_management/group_policy_uploaded_definition_files/item/add_language_files/add_language_files_post_request_body.py +++ b/msgraph_beta/generated/device_management/group_policy_uploaded_definition_files/item/add_language_files/add_language_files_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.group_policy_uploaded_language_file import GroupPolicyUploadedLanguageFile + writer.write_collection_of_object_values("groupPolicyUploadedLanguageFiles", self.group_policy_uploaded_language_files) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/device_management/group_policy_uploaded_definition_files/item/definitions/count/count_request_builder.py b/msgraph_beta/generated/device_management/group_policy_uploaded_definition_files/item/definitions/count/count_request_builder.py index 15bf3800b33..36901b9f738 100644 --- a/msgraph_beta/generated/device_management/group_policy_uploaded_definition_files/item/definitions/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/group_policy_uploaded_definition_files/item/definitions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/group_policy_uploaded_definition_files/item/group_policy_operations/count/count_request_builder.py b/msgraph_beta/generated/device_management/group_policy_uploaded_definition_files/item/group_policy_operations/count/count_request_builder.py index 6e85f39a850..bd775fba013 100644 --- a/msgraph_beta/generated/device_management/group_policy_uploaded_definition_files/item/group_policy_operations/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/group_policy_uploaded_definition_files/item/group_policy_operations/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/group_policy_uploaded_definition_files/item/remove_language_files/remove_language_files_post_request_body.py b/msgraph_beta/generated/device_management/group_policy_uploaded_definition_files/item/remove_language_files/remove_language_files_post_request_body.py index 3f1c8257c97..0867580bdfa 100644 --- a/msgraph_beta/generated/device_management/group_policy_uploaded_definition_files/item/remove_language_files/remove_language_files_post_request_body.py +++ b/msgraph_beta/generated/device_management/group_policy_uploaded_definition_files/item/remove_language_files/remove_language_files_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.group_policy_uploaded_language_file import GroupPolicyUploadedLanguageFile + writer.write_collection_of_object_values("groupPolicyUploadedLanguageFiles", self.group_policy_uploaded_language_files) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/device_management/group_policy_uploaded_definition_files/item/update_language_files/update_language_files_post_request_body.py b/msgraph_beta/generated/device_management/group_policy_uploaded_definition_files/item/update_language_files/update_language_files_post_request_body.py index 61458de9cb0..ef36661f710 100644 --- a/msgraph_beta/generated/device_management/group_policy_uploaded_definition_files/item/update_language_files/update_language_files_post_request_body.py +++ b/msgraph_beta/generated/device_management/group_policy_uploaded_definition_files/item/update_language_files/update_language_files_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.group_policy_uploaded_language_file import GroupPolicyUploadedLanguageFile + writer.write_collection_of_object_values("groupPolicyUploadedLanguageFiles", self.group_policy_uploaded_language_files) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/device_management/group_policy_uploaded_definition_files/item/upload_new_version/upload_new_version_post_request_body.py b/msgraph_beta/generated/device_management/group_policy_uploaded_definition_files/item/upload_new_version/upload_new_version_post_request_body.py index a5d02a01fbf..ad80d0928a0 100644 --- a/msgraph_beta/generated/device_management/group_policy_uploaded_definition_files/item/upload_new_version/upload_new_version_post_request_body.py +++ b/msgraph_beta/generated/device_management/group_policy_uploaded_definition_files/item/upload_new_version/upload_new_version_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.group_policy_uploaded_language_file import GroupPolicyUploadedLanguageFile + writer.write_bytes_value("content", self.content) writer.write_collection_of_object_values("groupPolicyUploadedLanguageFiles", self.group_policy_uploaded_language_files) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/device_management/hardware_configurations/count/count_request_builder.py b/msgraph_beta/generated/device_management/hardware_configurations/count/count_request_builder.py index fba3f660f96..7faee23f508 100644 --- a/msgraph_beta/generated/device_management/hardware_configurations/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/hardware_configurations/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/hardware_configurations/item/assign/assign_post_request_body.py b/msgraph_beta/generated/device_management/hardware_configurations/item/assign/assign_post_request_body.py index f3053fefdc6..cc226a72925 100644 --- a/msgraph_beta/generated/device_management/hardware_configurations/item/assign/assign_post_request_body.py +++ b/msgraph_beta/generated/device_management/hardware_configurations/item/assign/assign_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.hardware_configuration_assignment import HardwareConfigurationAssignment + writer.write_collection_of_object_values("hardwareConfigurationAssignments", self.hardware_configuration_assignments) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/device_management/hardware_configurations/item/assign/assign_post_response.py b/msgraph_beta/generated/device_management/hardware_configurations/item/assign/assign_post_response.py index 94395b18eb6..d00bb49a2a0 100644 --- a/msgraph_beta/generated/device_management/hardware_configurations/item/assign/assign_post_response.py +++ b/msgraph_beta/generated/device_management/hardware_configurations/item/assign/assign_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .....models.hardware_configuration_assignment import HardwareConfigurationAssignment + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/device_management/hardware_configurations/item/assignments/count/count_request_builder.py b/msgraph_beta/generated/device_management/hardware_configurations/item/assignments/count/count_request_builder.py index 15bc4a5055a..b76c9eb311c 100644 --- a/msgraph_beta/generated/device_management/hardware_configurations/item/assignments/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/hardware_configurations/item/assignments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/hardware_configurations/item/device_run_states/count/count_request_builder.py b/msgraph_beta/generated/device_management/hardware_configurations/item/device_run_states/count/count_request_builder.py index 0f8e3613f04..af148a0bbb1 100644 --- a/msgraph_beta/generated/device_management/hardware_configurations/item/device_run_states/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/hardware_configurations/item/device_run_states/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/hardware_configurations/item/user_run_states/count/count_request_builder.py b/msgraph_beta/generated/device_management/hardware_configurations/item/user_run_states/count/count_request_builder.py index e5bdbfde5b3..132788a0e67 100644 --- a/msgraph_beta/generated/device_management/hardware_configurations/item/user_run_states/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/hardware_configurations/item/user_run_states/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/hardware_password_details/count/count_request_builder.py b/msgraph_beta/generated/device_management/hardware_password_details/count/count_request_builder.py index 32c109bea0f..c30c08464d2 100644 --- a/msgraph_beta/generated/device_management/hardware_password_details/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/hardware_password_details/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/hardware_password_info/count/count_request_builder.py b/msgraph_beta/generated/device_management/hardware_password_info/count/count_request_builder.py index b91e406097a..56a216f7fec 100644 --- a/msgraph_beta/generated/device_management/hardware_password_info/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/hardware_password_info/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/imported_device_identities/count/count_request_builder.py b/msgraph_beta/generated/device_management/imported_device_identities/count/count_request_builder.py index 6a63ac5c30c..5983ab962f7 100644 --- a/msgraph_beta/generated/device_management/imported_device_identities/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/imported_device_identities/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/imported_device_identities/import_device_identity_list/import_device_identity_list_post_request_body.py b/msgraph_beta/generated/device_management/imported_device_identities/import_device_identity_list/import_device_identity_list_post_request_body.py index b3e9b533d8d..0463f4a5448 100644 --- a/msgraph_beta/generated/device_management/imported_device_identities/import_device_identity_list/import_device_identity_list_post_request_body.py +++ b/msgraph_beta/generated/device_management/imported_device_identities/import_device_identity_list/import_device_identity_list_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ....models.imported_device_identity import ImportedDeviceIdentity + writer.write_collection_of_object_values("importedDeviceIdentities", self.imported_device_identities) writer.write_bool_value("overwriteImportedDeviceIdentities", self.overwrite_imported_device_identities) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/device_management/imported_device_identities/import_device_identity_list/import_device_identity_list_post_response.py b/msgraph_beta/generated/device_management/imported_device_identities/import_device_identity_list/import_device_identity_list_post_response.py index 0d7eb30748f..527224a3d84 100644 --- a/msgraph_beta/generated/device_management/imported_device_identities/import_device_identity_list/import_device_identity_list_post_response.py +++ b/msgraph_beta/generated/device_management/imported_device_identities/import_device_identity_list/import_device_identity_list_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ....models.imported_device_identity_result import ImportedDeviceIdentityResult + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/device_management/imported_device_identities/search_existing_identities/search_existing_identities_post_request_body.py b/msgraph_beta/generated/device_management/imported_device_identities/search_existing_identities/search_existing_identities_post_request_body.py index 90b187d212d..4b8788a233c 100644 --- a/msgraph_beta/generated/device_management/imported_device_identities/search_existing_identities/search_existing_identities_post_request_body.py +++ b/msgraph_beta/generated/device_management/imported_device_identities/search_existing_identities/search_existing_identities_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ....models.imported_device_identity import ImportedDeviceIdentity + writer.write_collection_of_object_values("importedDeviceIdentities", self.imported_device_identities) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/device_management/imported_device_identities/search_existing_identities/search_existing_identities_post_response.py b/msgraph_beta/generated/device_management/imported_device_identities/search_existing_identities/search_existing_identities_post_response.py index 1f7833c4786..b99dc025066 100644 --- a/msgraph_beta/generated/device_management/imported_device_identities/search_existing_identities/search_existing_identities_post_response.py +++ b/msgraph_beta/generated/device_management/imported_device_identities/search_existing_identities/search_existing_identities_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ....models.imported_device_identity import ImportedDeviceIdentity + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/device_management/imported_windows_autopilot_device_identities/count/count_request_builder.py b/msgraph_beta/generated/device_management/imported_windows_autopilot_device_identities/count/count_request_builder.py index 3e13cbcbd85..3b44336dc7e 100644 --- a/msgraph_beta/generated/device_management/imported_windows_autopilot_device_identities/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/imported_windows_autopilot_device_identities/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/imported_windows_autopilot_device_identities/import_/import_post_request_body.py b/msgraph_beta/generated/device_management/imported_windows_autopilot_device_identities/import_/import_post_request_body.py index d8bd8a8eff9..5824d5a2f7d 100644 --- a/msgraph_beta/generated/device_management/imported_windows_autopilot_device_identities/import_/import_post_request_body.py +++ b/msgraph_beta/generated/device_management/imported_windows_autopilot_device_identities/import_/import_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ....models.imported_windows_autopilot_device_identity import ImportedWindowsAutopilotDeviceIdentity + writer.write_collection_of_object_values("importedWindowsAutopilotDeviceIdentities", self.imported_windows_autopilot_device_identities) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/device_management/imported_windows_autopilot_device_identities/import_/import_post_response.py b/msgraph_beta/generated/device_management/imported_windows_autopilot_device_identities/import_/import_post_response.py index d0c8e897f7c..bb5918f9153 100644 --- a/msgraph_beta/generated/device_management/imported_windows_autopilot_device_identities/import_/import_post_response.py +++ b/msgraph_beta/generated/device_management/imported_windows_autopilot_device_identities/import_/import_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ....models.imported_windows_autopilot_device_identity import ImportedWindowsAutopilotDeviceIdentity + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/device_management/intents/count/count_request_builder.py b/msgraph_beta/generated/device_management/intents/count/count_request_builder.py index e0068eb6753..2ad81ba3eda 100644 --- a/msgraph_beta/generated/device_management/intents/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/intents/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/intents/item/assign/assign_post_request_body.py b/msgraph_beta/generated/device_management/intents/item/assign/assign_post_request_body.py index 79e99d2a8f5..927461f63c1 100644 --- a/msgraph_beta/generated/device_management/intents/item/assign/assign_post_request_body.py +++ b/msgraph_beta/generated/device_management/intents/item/assign/assign_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.device_management_intent_assignment import DeviceManagementIntentAssignment + writer.write_collection_of_object_values("assignments", self.assignments) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/device_management/intents/item/assignments/count/count_request_builder.py b/msgraph_beta/generated/device_management/intents/item/assignments/count/count_request_builder.py index aed1909d4d4..efba0f80bfb 100644 --- a/msgraph_beta/generated/device_management/intents/item/assignments/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/intents/item/assignments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/intents/item/categories/count/count_request_builder.py b/msgraph_beta/generated/device_management/intents/item/categories/count/count_request_builder.py index db3424827bf..c5bbafa453b 100644 --- a/msgraph_beta/generated/device_management/intents/item/categories/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/intents/item/categories/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/intents/item/categories/item/setting_definitions/count/count_request_builder.py b/msgraph_beta/generated/device_management/intents/item/categories/item/setting_definitions/count/count_request_builder.py index 42d5ce13691..0d53b212db3 100644 --- a/msgraph_beta/generated/device_management/intents/item/categories/item/setting_definitions/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/intents/item/categories/item/setting_definitions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/intents/item/categories/item/settings/count/count_request_builder.py b/msgraph_beta/generated/device_management/intents/item/categories/item/settings/count/count_request_builder.py index 08503d1efb6..4b220e8b234 100644 --- a/msgraph_beta/generated/device_management/intents/item/categories/item/settings/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/intents/item/categories/item/settings/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/intents/item/compare_with_template_id/compare_with_template_id_get_response.py b/msgraph_beta/generated/device_management/intents/item/compare_with_template_id/compare_with_template_id_get_response.py index fb377cd718f..167bc5b9a32 100644 --- a/msgraph_beta/generated/device_management/intents/item/compare_with_template_id/compare_with_template_id_get_response.py +++ b/msgraph_beta/generated/device_management/intents/item/compare_with_template_id/compare_with_template_id_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .....models.device_management_setting_comparison import DeviceManagementSettingComparison + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/device_management/intents/item/device_setting_state_summaries/count/count_request_builder.py b/msgraph_beta/generated/device_management/intents/item/device_setting_state_summaries/count/count_request_builder.py index fa1bea11f8c..a1202e8a562 100644 --- a/msgraph_beta/generated/device_management/intents/item/device_setting_state_summaries/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/intents/item/device_setting_state_summaries/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/intents/item/device_states/count/count_request_builder.py b/msgraph_beta/generated/device_management/intents/item/device_states/count/count_request_builder.py index db559a16a6c..87f7c6a5ccf 100644 --- a/msgraph_beta/generated/device_management/intents/item/device_states/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/intents/item/device_states/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/intents/item/get_customized_settings/get_customized_settings_get_response.py b/msgraph_beta/generated/device_management/intents/item/get_customized_settings/get_customized_settings_get_response.py index c32e3659827..6efb1c58f00 100644 --- a/msgraph_beta/generated/device_management/intents/item/get_customized_settings/get_customized_settings_get_response.py +++ b/msgraph_beta/generated/device_management/intents/item/get_customized_settings/get_customized_settings_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .....models.device_management_intent_customized_setting import DeviceManagementIntentCustomizedSetting + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/device_management/intents/item/settings/count/count_request_builder.py b/msgraph_beta/generated/device_management/intents/item/settings/count/count_request_builder.py index b29f25d821d..c26b4c4141c 100644 --- a/msgraph_beta/generated/device_management/intents/item/settings/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/intents/item/settings/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/intents/item/update_settings/update_settings_post_request_body.py b/msgraph_beta/generated/device_management/intents/item/update_settings/update_settings_post_request_body.py index 411493f9883..8d9b837d6ae 100644 --- a/msgraph_beta/generated/device_management/intents/item/update_settings/update_settings_post_request_body.py +++ b/msgraph_beta/generated/device_management/intents/item/update_settings/update_settings_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.device_management_setting_instance import DeviceManagementSettingInstance + writer.write_collection_of_object_values("settings", self.settings) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/device_management/intents/item/user_states/count/count_request_builder.py b/msgraph_beta/generated/device_management/intents/item/user_states/count/count_request_builder.py index 452c90a7d3b..2c1730e41e1 100644 --- a/msgraph_beta/generated/device_management/intents/item/user_states/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/intents/item/user_states/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/intune_branding_profiles/count/count_request_builder.py b/msgraph_beta/generated/device_management/intune_branding_profiles/count/count_request_builder.py index 04ecc513139..a6ff4313a6d 100644 --- a/msgraph_beta/generated/device_management/intune_branding_profiles/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/intune_branding_profiles/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/intune_branding_profiles/item/assign/assign_post_request_body.py b/msgraph_beta/generated/device_management/intune_branding_profiles/item/assign/assign_post_request_body.py index 285ab6308e7..8fa3bd037a3 100644 --- a/msgraph_beta/generated/device_management/intune_branding_profiles/item/assign/assign_post_request_body.py +++ b/msgraph_beta/generated/device_management/intune_branding_profiles/item/assign/assign_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.intune_branding_profile_assignment import IntuneBrandingProfileAssignment + writer.write_collection_of_object_values("assignments", self.assignments) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/device_management/intune_branding_profiles/item/assignments/count/count_request_builder.py b/msgraph_beta/generated/device_management/intune_branding_profiles/item/assignments/count/count_request_builder.py index 60bea080e80..ac5628643b5 100644 --- a/msgraph_beta/generated/device_management/intune_branding_profiles/item/assignments/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/intune_branding_profiles/item/assignments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/ios_update_statuses/count/count_request_builder.py b/msgraph_beta/generated/device_management/ios_update_statuses/count/count_request_builder.py index 8e0b323bbf4..49ed4bae8b4 100644 --- a/msgraph_beta/generated/device_management/ios_update_statuses/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/ios_update_statuses/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/mac_o_s_software_update_account_summaries/count/count_request_builder.py b/msgraph_beta/generated/device_management/mac_o_s_software_update_account_summaries/count/count_request_builder.py index 9dc1bddd897..683800330c1 100644 --- a/msgraph_beta/generated/device_management/mac_o_s_software_update_account_summaries/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/mac_o_s_software_update_account_summaries/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/mac_o_s_software_update_account_summaries/item/category_summaries/count/count_request_builder.py b/msgraph_beta/generated/device_management/mac_o_s_software_update_account_summaries/item/category_summaries/count/count_request_builder.py index 93b243b2d9c..9911c044b22 100644 --- a/msgraph_beta/generated/device_management/mac_o_s_software_update_account_summaries/item/category_summaries/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/mac_o_s_software_update_account_summaries/item/category_summaries/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/mac_o_s_software_update_account_summaries/item/category_summaries/item/update_state_summaries/count/count_request_builder.py b/msgraph_beta/generated/device_management/mac_o_s_software_update_account_summaries/item/category_summaries/item/update_state_summaries/count/count_request_builder.py index 5fed8406305..3a054b389ff 100644 --- a/msgraph_beta/generated/device_management/mac_o_s_software_update_account_summaries/item/category_summaries/item/update_state_summaries/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/mac_o_s_software_update_account_summaries/item/category_summaries/item/update_state_summaries/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/managed_device_cleanup_rules/count/count_request_builder.py b/msgraph_beta/generated/device_management/managed_device_cleanup_rules/count/count_request_builder.py index 69719b33803..178f11f2c81 100644 --- a/msgraph_beta/generated/device_management/managed_device_cleanup_rules/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/managed_device_cleanup_rules/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/managed_device_encryption_states/count/count_request_builder.py b/msgraph_beta/generated/device_management/managed_device_encryption_states/count/count_request_builder.py index c431a4eda5a..b2c4935bd79 100644 --- a/msgraph_beta/generated/device_management/managed_device_encryption_states/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/managed_device_encryption_states/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/managed_device_windows_o_s_images/count/count_request_builder.py b/msgraph_beta/generated/device_management/managed_device_windows_o_s_images/count/count_request_builder.py index bf180787a59..45ec44576d3 100644 --- a/msgraph_beta/generated/device_management/managed_device_windows_o_s_images/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/managed_device_windows_o_s_images/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/managed_device_windows_o_s_images/item/get_all_managed_device_windows_o_s_images/get_all_managed_device_windows_o_s_images_get_response.py b/msgraph_beta/generated/device_management/managed_device_windows_o_s_images/item/get_all_managed_device_windows_o_s_images/get_all_managed_device_windows_o_s_images_get_response.py index 425b58730a2..93885e3fc65 100644 --- a/msgraph_beta/generated/device_management/managed_device_windows_o_s_images/item/get_all_managed_device_windows_o_s_images/get_all_managed_device_windows_o_s_images_get_response.py +++ b/msgraph_beta/generated/device_management/managed_device_windows_o_s_images/item/get_all_managed_device_windows_o_s_images/get_all_managed_device_windows_o_s_images_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .....models.managed_device_windows_operating_system_image import ManagedDeviceWindowsOperatingSystemImage + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/device_management/managed_devices/app_diagnostics_with_upn/app_diagnostics_with_upn_get_response.py b/msgraph_beta/generated/device_management/managed_devices/app_diagnostics_with_upn/app_diagnostics_with_upn_get_response.py index 4f864cb8bdd..2899cedb53a 100644 --- a/msgraph_beta/generated/device_management/managed_devices/app_diagnostics_with_upn/app_diagnostics_with_upn_get_response.py +++ b/msgraph_beta/generated/device_management/managed_devices/app_diagnostics_with_upn/app_diagnostics_with_upn_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ....models.powerlift_incident_metadata import PowerliftIncidentMetadata + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/device_management/managed_devices/bulk_restore_cloud_pc/bulk_restore_cloud_pc_post_request_body.py b/msgraph_beta/generated/device_management/managed_devices/bulk_restore_cloud_pc/bulk_restore_cloud_pc_post_request_body.py index 413e08ff6f7..362011abce1 100644 --- a/msgraph_beta/generated/device_management/managed_devices/bulk_restore_cloud_pc/bulk_restore_cloud_pc_post_request_body.py +++ b/msgraph_beta/generated/device_management/managed_devices/bulk_restore_cloud_pc/bulk_restore_cloud_pc_post_request_body.py @@ -57,6 +57,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ....models.restore_time_range import RestoreTimeRange + writer.write_collection_of_primitive_values("managedDeviceIds", self.managed_device_ids) writer.write_datetime_value("restorePointDateTime", self.restore_point_date_time) writer.write_enum_value("timeRange", self.time_range) diff --git a/msgraph_beta/generated/device_management/managed_devices/bulk_set_cloud_pc_review_status/bulk_set_cloud_pc_review_status_post_request_body.py b/msgraph_beta/generated/device_management/managed_devices/bulk_set_cloud_pc_review_status/bulk_set_cloud_pc_review_status_post_request_body.py index 5bbc1145501..ca73d1f3a03 100644 --- a/msgraph_beta/generated/device_management/managed_devices/bulk_set_cloud_pc_review_status/bulk_set_cloud_pc_review_status_post_request_body.py +++ b/msgraph_beta/generated/device_management/managed_devices/bulk_set_cloud_pc_review_status/bulk_set_cloud_pc_review_status_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ....models.cloud_pc_review_status import CloudPcReviewStatus + writer.write_collection_of_primitive_values("managedDeviceIds", self.managed_device_ids) writer.write_object_value("reviewStatus", self.review_status) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/device_management/managed_devices/count/count_request_builder.py b/msgraph_beta/generated/device_management/managed_devices/count/count_request_builder.py index e1a99caabae..912c0001c40 100644 --- a/msgraph_beta/generated/device_management/managed_devices/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/managed_devices/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/managed_devices/download_app_diagnostics/download_app_diagnostics_post_request_body.py b/msgraph_beta/generated/device_management/managed_devices/download_app_diagnostics/download_app_diagnostics_post_request_body.py index e0afaea209a..6c5bff17c7b 100644 --- a/msgraph_beta/generated/device_management/managed_devices/download_app_diagnostics/download_app_diagnostics_post_request_body.py +++ b/msgraph_beta/generated/device_management/managed_devices/download_app_diagnostics/download_app_diagnostics_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ....models.powerlift_download_request import PowerliftDownloadRequest + writer.write_object_value("request", self.request) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/device_management/managed_devices/download_powerlift_app_diagnostic/download_powerlift_app_diagnostic_post_request_body.py b/msgraph_beta/generated/device_management/managed_devices/download_powerlift_app_diagnostic/download_powerlift_app_diagnostic_post_request_body.py index 692d9a7549c..43ec0317572 100644 --- a/msgraph_beta/generated/device_management/managed_devices/download_powerlift_app_diagnostic/download_powerlift_app_diagnostic_post_request_body.py +++ b/msgraph_beta/generated/device_management/managed_devices/download_powerlift_app_diagnostic/download_powerlift_app_diagnostic_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ....models.powerlift_app_diagnostic_download_request import PowerliftAppDiagnosticDownloadRequest + writer.write_object_value("request", self.request) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/device_management/managed_devices/execute_action/execute_action_post_request_body.py b/msgraph_beta/generated/device_management/managed_devices/execute_action/execute_action_post_request_body.py index d087d049dd0..58ac7f2ab2f 100644 --- a/msgraph_beta/generated/device_management/managed_devices/execute_action/execute_action_post_request_body.py +++ b/msgraph_beta/generated/device_management/managed_devices/execute_action/execute_action_post_request_body.py @@ -80,6 +80,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ....models.managed_device_remote_action import ManagedDeviceRemoteAction + writer.write_enum_value("actionName", self.action_name) writer.write_str_value("carrierUrl", self.carrier_url) writer.write_str_value("deprovisionReason", self.deprovision_reason) diff --git a/msgraph_beta/generated/device_management/managed_devices/item/assignment_filter_evaluation_status_details/count/count_request_builder.py b/msgraph_beta/generated/device_management/managed_devices/item/assignment_filter_evaluation_status_details/count/count_request_builder.py index 07477e9c991..f3d052a2752 100644 --- a/msgraph_beta/generated/device_management/managed_devices/item/assignment_filter_evaluation_status_details/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/managed_devices/item/assignment_filter_evaluation_status_details/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/managed_devices/item/change_assignments/change_assignments_post_request_body.py b/msgraph_beta/generated/device_management/managed_devices/item/change_assignments/change_assignments_post_request_body.py index 21970076682..05219b69420 100644 --- a/msgraph_beta/generated/device_management/managed_devices/item/change_assignments/change_assignments_post_request_body.py +++ b/msgraph_beta/generated/device_management/managed_devices/item/change_assignments/change_assignments_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.device_assignment_item import DeviceAssignmentItem + writer.write_collection_of_object_values("deviceAssignmentItems", self.device_assignment_items) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/device_management/managed_devices/item/create_device_log_collection_request/create_device_log_collection_request_post_request_body.py b/msgraph_beta/generated/device_management/managed_devices/item/create_device_log_collection_request/create_device_log_collection_request_post_request_body.py index d5344885994..0bc897d3de1 100644 --- a/msgraph_beta/generated/device_management/managed_devices/item/create_device_log_collection_request/create_device_log_collection_request_post_request_body.py +++ b/msgraph_beta/generated/device_management/managed_devices/item/create_device_log_collection_request/create_device_log_collection_request_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.device_log_collection_request import DeviceLogCollectionRequest + writer.write_object_value("templateType", self.template_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/device_management/managed_devices/item/detected_apps/count/count_request_builder.py b/msgraph_beta/generated/device_management/managed_devices/item/detected_apps/count/count_request_builder.py index 09ed1478d2f..1c1344a06b4 100644 --- a/msgraph_beta/generated/device_management/managed_devices/item/detected_apps/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/managed_devices/item/detected_apps/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/managed_devices/item/device_category/ref/ref_request_builder.py b/msgraph_beta/generated/device_management/managed_devices/item/device_category/ref/ref_request_builder.py index ed86fb5bbf3..77e375f1c08 100644 --- a/msgraph_beta/generated/device_management/managed_devices/item/device_category/ref/ref_request_builder.py +++ b/msgraph_beta/generated/device_management/managed_devices/item/device_category/ref/ref_request_builder.py @@ -63,7 +63,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[QueryPar } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "str", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, str, error_mapping) async def put(self,body: ReferenceUpdate, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ diff --git a/msgraph_beta/generated/device_management/managed_devices/item/device_compliance_policy_states/count/count_request_builder.py b/msgraph_beta/generated/device_management/managed_devices/item/device_compliance_policy_states/count/count_request_builder.py index 697f7dec354..2c8a822140a 100644 --- a/msgraph_beta/generated/device_management/managed_devices/item/device_compliance_policy_states/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/managed_devices/item/device_compliance_policy_states/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/managed_devices/item/device_configuration_states/count/count_request_builder.py b/msgraph_beta/generated/device_management/managed_devices/item/device_configuration_states/count/count_request_builder.py index 0d6cce3d1d1..379ee6c924d 100644 --- a/msgraph_beta/generated/device_management/managed_devices/item/device_configuration_states/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/managed_devices/item/device_configuration_states/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/managed_devices/item/device_health_script_states/count/count_request_builder.py b/msgraph_beta/generated/device_management/managed_devices/item/device_health_script_states/count/count_request_builder.py index e1dfa38e249..284f7a5617d 100644 --- a/msgraph_beta/generated/device_management/managed_devices/item/device_health_script_states/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/managed_devices/item/device_health_script_states/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/managed_devices/item/get_cloud_pc_remote_action_results/get_cloud_pc_remote_action_results_get_response.py b/msgraph_beta/generated/device_management/managed_devices/item/get_cloud_pc_remote_action_results/get_cloud_pc_remote_action_results_get_response.py index 7f90fcfbdcb..bb84d140601 100644 --- a/msgraph_beta/generated/device_management/managed_devices/item/get_cloud_pc_remote_action_results/get_cloud_pc_remote_action_results_get_response.py +++ b/msgraph_beta/generated/device_management/managed_devices/item/get_cloud_pc_remote_action_results/get_cloud_pc_remote_action_results_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .....models.cloud_pc_remote_action_result import CloudPcRemoteActionResult + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/device_management/managed_devices/item/get_non_compliant_settings/get_non_compliant_settings_get_response.py b/msgraph_beta/generated/device_management/managed_devices/item/get_non_compliant_settings/get_non_compliant_settings_get_response.py index e4878f282ad..1af4e18f252 100644 --- a/msgraph_beta/generated/device_management/managed_devices/item/get_non_compliant_settings/get_non_compliant_settings_get_response.py +++ b/msgraph_beta/generated/device_management/managed_devices/item/get_non_compliant_settings/get_non_compliant_settings_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .....models.device_compliance_policy_setting_state import DeviceCompliancePolicySettingState + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/device_management/managed_devices/item/log_collection_requests/count/count_request_builder.py b/msgraph_beta/generated/device_management/managed_devices/item/log_collection_requests/count/count_request_builder.py index 9875b747890..4139bb171cf 100644 --- a/msgraph_beta/generated/device_management/managed_devices/item/log_collection_requests/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/managed_devices/item/log_collection_requests/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/managed_devices/item/managed_device_item_request_builder.py b/msgraph_beta/generated/device_management/managed_devices/item/managed_device_item_request_builder.py index 59d1b8aaa54..4823da88971 100644 --- a/msgraph_beta/generated/device_management/managed_devices/item/managed_device_item_request_builder.py +++ b/msgraph_beta/generated/device_management/managed_devices/item/managed_device_item_request_builder.py @@ -51,11 +51,8 @@ from .reenable.reenable_request_builder import ReenableRequestBuilder from .remote_lock.remote_lock_request_builder import RemoteLockRequestBuilder from .remove_device_firmware_configuration_interface_management.remove_device_firmware_configuration_interface_management_request_builder import RemoveDeviceFirmwareConfigurationInterfaceManagementRequestBuilder - from .reprovision_cloud_pc.reprovision_cloud_pc_request_builder import ReprovisionCloudPcRequestBuilder from .request_remote_assistance.request_remote_assistance_request_builder import RequestRemoteAssistanceRequestBuilder from .reset_passcode.reset_passcode_request_builder import ResetPasscodeRequestBuilder - from .resize_cloud_pc.resize_cloud_pc_request_builder import ResizeCloudPcRequestBuilder - from .restore_cloud_pc.restore_cloud_pc_request_builder import RestoreCloudPcRequestBuilder from .retire.retire_request_builder import RetireRequestBuilder from .revoke_apple_vpp_licenses.revoke_apple_vpp_licenses_request_builder import RevokeAppleVppLicensesRequestBuilder from .rotate_bit_locker_keys.rotate_bit_locker_keys_request_builder import RotateBitLockerKeysRequestBuilder @@ -520,15 +517,6 @@ def remove_device_firmware_configuration_interface_management(self) -> RemoveDev return RemoveDeviceFirmwareConfigurationInterfaceManagementRequestBuilder(self.request_adapter, self.path_parameters) - @property - def reprovision_cloud_pc(self) -> ReprovisionCloudPcRequestBuilder: - """ - Provides operations to call the reprovisionCloudPc method. - """ - from .reprovision_cloud_pc.reprovision_cloud_pc_request_builder import ReprovisionCloudPcRequestBuilder - - return ReprovisionCloudPcRequestBuilder(self.request_adapter, self.path_parameters) - @property def request_remote_assistance(self) -> RequestRemoteAssistanceRequestBuilder: """ @@ -547,24 +535,6 @@ def reset_passcode(self) -> ResetPasscodeRequestBuilder: return ResetPasscodeRequestBuilder(self.request_adapter, self.path_parameters) - @property - def resize_cloud_pc(self) -> ResizeCloudPcRequestBuilder: - """ - Provides operations to call the resizeCloudPc method. - """ - from .resize_cloud_pc.resize_cloud_pc_request_builder import ResizeCloudPcRequestBuilder - - return ResizeCloudPcRequestBuilder(self.request_adapter, self.path_parameters) - - @property - def restore_cloud_pc(self) -> RestoreCloudPcRequestBuilder: - """ - Provides operations to call the restoreCloudPc method. - """ - from .restore_cloud_pc.restore_cloud_pc_request_builder import RestoreCloudPcRequestBuilder - - return RestoreCloudPcRequestBuilder(self.request_adapter, self.path_parameters) - @property def retire(self) -> RetireRequestBuilder: """ diff --git a/msgraph_beta/generated/device_management/managed_devices/item/managed_device_mobile_app_configuration_states/count/count_request_builder.py b/msgraph_beta/generated/device_management/managed_devices/item/managed_device_mobile_app_configuration_states/count/count_request_builder.py index e54dd3efb0d..36f34b19a19 100644 --- a/msgraph_beta/generated/device_management/managed_devices/item/managed_device_mobile_app_configuration_states/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/managed_devices/item/managed_device_mobile_app_configuration_states/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/managed_devices/item/override_compliance_state/override_compliance_state_post_request_body.py b/msgraph_beta/generated/device_management/managed_devices/item/override_compliance_state/override_compliance_state_post_request_body.py index 7c2205e37dc..2b36c082a49 100644 --- a/msgraph_beta/generated/device_management/managed_devices/item/override_compliance_state/override_compliance_state_post_request_body.py +++ b/msgraph_beta/generated/device_management/managed_devices/item/override_compliance_state/override_compliance_state_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.administrator_configured_device_compliance_state import AdministratorConfiguredDeviceComplianceState + writer.write_enum_value("complianceState", self.compliance_state) writer.write_str_value("remediationUrl", self.remediation_url) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/device_management/managed_devices/item/security_baseline_states/count/count_request_builder.py b/msgraph_beta/generated/device_management/managed_devices/item/security_baseline_states/count/count_request_builder.py index da9892ad067..a48ff64324f 100644 --- a/msgraph_beta/generated/device_management/managed_devices/item/security_baseline_states/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/managed_devices/item/security_baseline_states/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/managed_devices/item/security_baseline_states/item/setting_states/count/count_request_builder.py b/msgraph_beta/generated/device_management/managed_devices/item/security_baseline_states/item/setting_states/count/count_request_builder.py index f228a06025e..612a84fa80e 100644 --- a/msgraph_beta/generated/device_management/managed_devices/item/security_baseline_states/item/setting_states/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/managed_devices/item/security_baseline_states/item/setting_states/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/managed_devices/item/set_cloud_pc_review_status/set_cloud_pc_review_status_post_request_body.py b/msgraph_beta/generated/device_management/managed_devices/item/set_cloud_pc_review_status/set_cloud_pc_review_status_post_request_body.py index 246adc55607..e74644b845c 100644 --- a/msgraph_beta/generated/device_management/managed_devices/item/set_cloud_pc_review_status/set_cloud_pc_review_status_post_request_body.py +++ b/msgraph_beta/generated/device_management/managed_devices/item/set_cloud_pc_review_status/set_cloud_pc_review_status_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.cloud_pc_review_status import CloudPcReviewStatus + writer.write_object_value("reviewStatus", self.review_status) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/device_management/managed_devices/item/trigger_configuration_manager_action/trigger_configuration_manager_action_post_request_body.py b/msgraph_beta/generated/device_management/managed_devices/item/trigger_configuration_manager_action/trigger_configuration_manager_action_post_request_body.py index 0c18ff3e543..7084bf9b148 100644 --- a/msgraph_beta/generated/device_management/managed_devices/item/trigger_configuration_manager_action/trigger_configuration_manager_action_post_request_body.py +++ b/msgraph_beta/generated/device_management/managed_devices/item/trigger_configuration_manager_action/trigger_configuration_manager_action_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.configuration_manager_action import ConfigurationManagerAction + writer.write_object_value("configurationManagerAction", self.configuration_manager_action) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/device_management/managed_devices/item/update_windows_device_account/update_windows_device_account_post_request_body.py b/msgraph_beta/generated/device_management/managed_devices/item/update_windows_device_account/update_windows_device_account_post_request_body.py index 71c6b2c1bb7..998061396b4 100644 --- a/msgraph_beta/generated/device_management/managed_devices/item/update_windows_device_account/update_windows_device_account_post_request_body.py +++ b/msgraph_beta/generated/device_management/managed_devices/item/update_windows_device_account/update_windows_device_account_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.update_windows_device_account_action_parameter import UpdateWindowsDeviceAccountActionParameter + writer.write_object_value("updateWindowsDeviceAccountActionParameter", self.update_windows_device_account_action_parameter) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/device_management/managed_devices/item/windows_protection_state/detected_malware_state/count/count_request_builder.py b/msgraph_beta/generated/device_management/managed_devices/item/windows_protection_state/detected_malware_state/count/count_request_builder.py index b17db82af1e..4bc309165bb 100644 --- a/msgraph_beta/generated/device_management/managed_devices/item/windows_protection_state/detected_malware_state/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/managed_devices/item/windows_protection_state/detected_malware_state/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/managed_devices/item/wipe/wipe_post_request_body.py b/msgraph_beta/generated/device_management/managed_devices/item/wipe/wipe_post_request_body.py index 483ce5b4922..045b4724373 100644 --- a/msgraph_beta/generated/device_management/managed_devices/item/wipe/wipe_post_request_body.py +++ b/msgraph_beta/generated/device_management/managed_devices/item/wipe/wipe_post_request_body.py @@ -65,6 +65,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.obliteration_behavior import ObliterationBehavior + writer.write_bool_value("keepEnrollmentData", self.keep_enrollment_data) writer.write_bool_value("keepUserData", self.keep_user_data) writer.write_str_value("macOsUnlockCode", self.mac_os_unlock_code) diff --git a/msgraph_beta/generated/device_management/managed_devices/retrieve_powerlift_app_diagnostics_details_with_user_principal_name/retrieve_powerlift_app_diagnostics_details_with_user_principal_name_get_response.py b/msgraph_beta/generated/device_management/managed_devices/retrieve_powerlift_app_diagnostics_details_with_user_principal_name/retrieve_powerlift_app_diagnostics_details_with_user_principal_name_get_response.py index 0702ae17c10..1aae1bb75cf 100644 --- a/msgraph_beta/generated/device_management/managed_devices/retrieve_powerlift_app_diagnostics_details_with_user_principal_name/retrieve_powerlift_app_diagnostics_details_with_user_principal_name_get_response.py +++ b/msgraph_beta/generated/device_management/managed_devices/retrieve_powerlift_app_diagnostics_details_with_user_principal_name/retrieve_powerlift_app_diagnostics_details_with_user_principal_name_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ....models.powerlift_incident_detail import PowerliftIncidentDetail + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/device_management/microsoft_tunnel_configurations/count/count_request_builder.py b/msgraph_beta/generated/device_management/microsoft_tunnel_configurations/count/count_request_builder.py index 5f77963a212..ac1fcf9678b 100644 --- a/msgraph_beta/generated/device_management/microsoft_tunnel_configurations/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/microsoft_tunnel_configurations/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/microsoft_tunnel_health_thresholds/count/count_request_builder.py b/msgraph_beta/generated/device_management/microsoft_tunnel_health_thresholds/count/count_request_builder.py index 01f1010a05d..b95c3d0037c 100644 --- a/msgraph_beta/generated/device_management/microsoft_tunnel_health_thresholds/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/microsoft_tunnel_health_thresholds/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/microsoft_tunnel_server_log_collection_responses/count/count_request_builder.py b/msgraph_beta/generated/device_management/microsoft_tunnel_server_log_collection_responses/count/count_request_builder.py index 42b527b9280..a5d092abb57 100644 --- a/msgraph_beta/generated/device_management/microsoft_tunnel_server_log_collection_responses/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/microsoft_tunnel_server_log_collection_responses/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/microsoft_tunnel_sites/count/count_request_builder.py b/msgraph_beta/generated/device_management/microsoft_tunnel_sites/count/count_request_builder.py index 649f8bc4d9a..82f66b2ef40 100644 --- a/msgraph_beta/generated/device_management/microsoft_tunnel_sites/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/microsoft_tunnel_sites/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/microsoft_tunnel_sites/item/microsoft_tunnel_servers/count/count_request_builder.py b/msgraph_beta/generated/device_management/microsoft_tunnel_sites/item/microsoft_tunnel_servers/count/count_request_builder.py index 5622d195689..0ed7febd1b1 100644 --- a/msgraph_beta/generated/device_management/microsoft_tunnel_sites/item/microsoft_tunnel_servers/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/microsoft_tunnel_sites/item/microsoft_tunnel_servers/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/microsoft_tunnel_sites/item/microsoft_tunnel_servers/item/get_health_metric_time_series/get_health_metric_time_series_post_response.py b/msgraph_beta/generated/device_management/microsoft_tunnel_sites/item/microsoft_tunnel_servers/item/get_health_metric_time_series/get_health_metric_time_series_post_response.py index 67b423bdab6..9755aef0c4f 100644 --- a/msgraph_beta/generated/device_management/microsoft_tunnel_sites/item/microsoft_tunnel_servers/item/get_health_metric_time_series/get_health_metric_time_series_post_response.py +++ b/msgraph_beta/generated/device_management/microsoft_tunnel_sites/item/microsoft_tunnel_servers/item/get_health_metric_time_series/get_health_metric_time_series_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .......models.metric_time_series_data_point import MetricTimeSeriesDataPoint + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/device_management/microsoft_tunnel_sites/item/microsoft_tunnel_servers/item/get_health_metrics/get_health_metrics_post_response.py b/msgraph_beta/generated/device_management/microsoft_tunnel_sites/item/microsoft_tunnel_servers/item/get_health_metrics/get_health_metrics_post_response.py index c28292f0600..60059f0ede8 100644 --- a/msgraph_beta/generated/device_management/microsoft_tunnel_sites/item/microsoft_tunnel_servers/item/get_health_metrics/get_health_metrics_post_response.py +++ b/msgraph_beta/generated/device_management/microsoft_tunnel_sites/item/microsoft_tunnel_servers/item/get_health_metrics/get_health_metrics_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .......models.key_long_value_pair import KeyLongValuePair + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/device_management/mobile_app_troubleshooting_events/count/count_request_builder.py b/msgraph_beta/generated/device_management/mobile_app_troubleshooting_events/count/count_request_builder.py index 462c22603da..36e29c6f96c 100644 --- a/msgraph_beta/generated/device_management/mobile_app_troubleshooting_events/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/mobile_app_troubleshooting_events/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/mobile_app_troubleshooting_events/item/app_log_collection_requests/count/count_request_builder.py b/msgraph_beta/generated/device_management/mobile_app_troubleshooting_events/item/app_log_collection_requests/count/count_request_builder.py index fa9f9da6bea..489665d5ca0 100644 --- a/msgraph_beta/generated/device_management/mobile_app_troubleshooting_events/item/app_log_collection_requests/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/mobile_app_troubleshooting_events/item/app_log_collection_requests/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/mobile_threat_defense_connectors/count/count_request_builder.py b/msgraph_beta/generated/device_management/mobile_threat_defense_connectors/count/count_request_builder.py index a1f06b62770..16cfe020042 100644 --- a/msgraph_beta/generated/device_management/mobile_threat_defense_connectors/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/mobile_threat_defense_connectors/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/monitoring/alert_records/count/count_request_builder.py b/msgraph_beta/generated/device_management/monitoring/alert_records/count/count_request_builder.py index a6f248b7f38..caad132105c 100644 --- a/msgraph_beta/generated/device_management/monitoring/alert_records/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/monitoring/alert_records/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/monitoring/alert_records/microsoft_graph_device_management_get_portal_notifications/get_portal_notifications_get_response.py b/msgraph_beta/generated/device_management/monitoring/alert_records/microsoft_graph_device_management_get_portal_notifications/get_portal_notifications_get_response.py index ad6d9e87fd4..52c3117d3e7 100644 --- a/msgraph_beta/generated/device_management/monitoring/alert_records/microsoft_graph_device_management_get_portal_notifications/get_portal_notifications_get_response.py +++ b/msgraph_beta/generated/device_management/monitoring/alert_records/microsoft_graph_device_management_get_portal_notifications/get_portal_notifications_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .....models.device_management.portal_notification import PortalNotification + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/device_management/monitoring/alert_rules/count/count_request_builder.py b/msgraph_beta/generated/device_management/monitoring/alert_rules/count/count_request_builder.py index e024c0d9520..25a36c8cdf9 100644 --- a/msgraph_beta/generated/device_management/monitoring/alert_rules/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/monitoring/alert_rules/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/ndes_connectors/count/count_request_builder.py b/msgraph_beta/generated/device_management/ndes_connectors/count/count_request_builder.py index 6d707388dd4..9bee54e0a0e 100644 --- a/msgraph_beta/generated/device_management/ndes_connectors/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/ndes_connectors/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/notification_message_templates/count/count_request_builder.py b/msgraph_beta/generated/device_management/notification_message_templates/count/count_request_builder.py index 9aae5e7a41b..0ee12e5b793 100644 --- a/msgraph_beta/generated/device_management/notification_message_templates/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/notification_message_templates/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/notification_message_templates/item/localized_notification_messages/count/count_request_builder.py b/msgraph_beta/generated/device_management/notification_message_templates/item/localized_notification_messages/count/count_request_builder.py index 427ca1507f2..946a9524a8a 100644 --- a/msgraph_beta/generated/device_management/notification_message_templates/item/localized_notification_messages/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/notification_message_templates/item/localized_notification_messages/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/operation_approval_policies/count/count_request_builder.py b/msgraph_beta/generated/device_management/operation_approval_policies/count/count_request_builder.py index ceb21fed4f8..c0f71d1d98a 100644 --- a/msgraph_beta/generated/device_management/operation_approval_policies/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/operation_approval_policies/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/operation_approval_policies/retrieve_approvable_operations/retrieve_approvable_operations_get_response.py b/msgraph_beta/generated/device_management/operation_approval_policies/retrieve_approvable_operations/retrieve_approvable_operations_get_response.py index a90d12dba37..17fa13bc7dc 100644 --- a/msgraph_beta/generated/device_management/operation_approval_policies/retrieve_approvable_operations/retrieve_approvable_operations_get_response.py +++ b/msgraph_beta/generated/device_management/operation_approval_policies/retrieve_approvable_operations/retrieve_approvable_operations_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ....models.operation_approval_policy_set import OperationApprovalPolicySet + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/device_management/operation_approval_policies/retrieve_operations_requiring_approval/retrieve_operations_requiring_approval_get_response.py b/msgraph_beta/generated/device_management/operation_approval_policies/retrieve_operations_requiring_approval/retrieve_operations_requiring_approval_get_response.py index c7651297815..f8d836e2b82 100644 --- a/msgraph_beta/generated/device_management/operation_approval_policies/retrieve_operations_requiring_approval/retrieve_operations_requiring_approval_get_response.py +++ b/msgraph_beta/generated/device_management/operation_approval_policies/retrieve_operations_requiring_approval/retrieve_operations_requiring_approval_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ....models.operation_approval_policy_set import OperationApprovalPolicySet + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/device_management/operation_approval_requests/count/count_request_builder.py b/msgraph_beta/generated/device_management/operation_approval_requests/count/count_request_builder.py index 0c9e92d7dd7..b0e7461101d 100644 --- a/msgraph_beta/generated/device_management/operation_approval_requests/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/operation_approval_requests/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/operation_approval_requests/item/approve/approve_post_request_body.py b/msgraph_beta/generated/device_management/operation_approval_requests/item/approve/approve_post_request_body.py index 9650e1da624..46f50528a87 100644 --- a/msgraph_beta/generated/device_management/operation_approval_requests/item/approve/approve_post_request_body.py +++ b/msgraph_beta/generated/device_management/operation_approval_requests/item/approve/approve_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.operation_approval_source import OperationApprovalSource + writer.write_enum_value("approvalSource", self.approval_source) writer.write_str_value("justification", self.justification) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/device_management/operation_approval_requests/item/cancel_approval/cancel_approval_post_request_body.py b/msgraph_beta/generated/device_management/operation_approval_requests/item/cancel_approval/cancel_approval_post_request_body.py index fd9819792e3..be2e2d92118 100644 --- a/msgraph_beta/generated/device_management/operation_approval_requests/item/cancel_approval/cancel_approval_post_request_body.py +++ b/msgraph_beta/generated/device_management/operation_approval_requests/item/cancel_approval/cancel_approval_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.operation_approval_source import OperationApprovalSource + writer.write_enum_value("approvalSource", self.approval_source) writer.write_str_value("justification", self.justification) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/device_management/operation_approval_requests/item/reject/reject_post_request_body.py b/msgraph_beta/generated/device_management/operation_approval_requests/item/reject/reject_post_request_body.py index 1c12f75a8d0..0064af1a2ba 100644 --- a/msgraph_beta/generated/device_management/operation_approval_requests/item/reject/reject_post_request_body.py +++ b/msgraph_beta/generated/device_management/operation_approval_requests/item/reject/reject_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.operation_approval_source import OperationApprovalSource + writer.write_enum_value("approvalSource", self.approval_source) writer.write_str_value("justification", self.justification) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/device_management/operation_approval_requests/retrieve_my_requests/retrieve_my_requests_get_response.py b/msgraph_beta/generated/device_management/operation_approval_requests/retrieve_my_requests/retrieve_my_requests_get_response.py index a1b528a2a26..5f8fcd87b67 100644 --- a/msgraph_beta/generated/device_management/operation_approval_requests/retrieve_my_requests/retrieve_my_requests_get_response.py +++ b/msgraph_beta/generated/device_management/operation_approval_requests/retrieve_my_requests/retrieve_my_requests_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ....models.operation_approval_request import OperationApprovalRequest + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/device_management/privilege_management_elevations/count/count_request_builder.py b/msgraph_beta/generated/device_management/privilege_management_elevations/count/count_request_builder.py index 08399f87867..20d4c94799a 100644 --- a/msgraph_beta/generated/device_management/privilege_management_elevations/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/privilege_management_elevations/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/remote_action_audits/count/count_request_builder.py b/msgraph_beta/generated/device_management/remote_action_audits/count/count_request_builder.py index 6a4d7ee67be..6b20c1762ed 100644 --- a/msgraph_beta/generated/device_management/remote_action_audits/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/remote_action_audits/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/remote_assistance_partners/count/count_request_builder.py b/msgraph_beta/generated/device_management/remote_assistance_partners/count/count_request_builder.py index 15a4d347a3d..6849d516ef4 100644 --- a/msgraph_beta/generated/device_management/remote_assistance_partners/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/remote_assistance_partners/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/reports/cached_report_configurations/count/count_request_builder.py b/msgraph_beta/generated/device_management/reports/cached_report_configurations/count/count_request_builder.py index 0b1a0c6540e..4171dd2da75 100644 --- a/msgraph_beta/generated/device_management/reports/cached_report_configurations/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/reports/cached_report_configurations/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/reports/export_jobs/count/count_request_builder.py b/msgraph_beta/generated/device_management/reports/export_jobs/count/count_request_builder.py index af07918f719..3d0ba735535 100644 --- a/msgraph_beta/generated/device_management/reports/export_jobs/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/reports/export_jobs/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/reports/reports_request_builder.py b/msgraph_beta/generated/device_management/reports/reports_request_builder.py index 4da4fc82800..45d4fe1ca72 100644 --- a/msgraph_beta/generated/device_management/reports/reports_request_builder.py +++ b/msgraph_beta/generated/device_management/reports/reports_request_builder.py @@ -87,6 +87,7 @@ from .get_windows_update_alerts_per_policy_per_device_report.get_windows_update_alerts_per_policy_per_device_report_request_builder import GetWindowsUpdateAlertsPerPolicyPerDeviceReportRequestBuilder from .get_windows_update_alert_summary_report.get_windows_update_alert_summary_report_request_builder import GetWindowsUpdateAlertSummaryReportRequestBuilder from .get_zebra_fota_deployment_report.get_zebra_fota_deployment_report_request_builder import GetZebraFotaDeploymentReportRequestBuilder + from .retrieve_device_app_installation_status_report.retrieve_device_app_installation_status_report_request_builder import RetrieveDeviceAppInstallationStatusReportRequestBuilder from .retrieve_security_task_apps_report.retrieve_security_task_apps_report_request_builder import RetrieveSecurityTaskAppsReportRequestBuilder from .retrieve_win32_catalog_apps_update_report.retrieve_win32_catalog_apps_update_report_request_builder import RetrieveWin32CatalogAppsUpdateReportRequestBuilder @@ -859,6 +860,15 @@ def get_zebra_fota_deployment_report(self) -> GetZebraFotaDeploymentReportReques return GetZebraFotaDeploymentReportRequestBuilder(self.request_adapter, self.path_parameters) + @property + def retrieve_device_app_installation_status_report(self) -> RetrieveDeviceAppInstallationStatusReportRequestBuilder: + """ + Provides operations to call the retrieveDeviceAppInstallationStatusReport method. + """ + from .retrieve_device_app_installation_status_report.retrieve_device_app_installation_status_report_request_builder import RetrieveDeviceAppInstallationStatusReportRequestBuilder + + return RetrieveDeviceAppInstallationStatusReportRequestBuilder(self.request_adapter, self.path_parameters) + @property def retrieve_security_task_apps_report(self) -> RetrieveSecurityTaskAppsReportRequestBuilder: """ diff --git a/msgraph_beta/generated/device_management/reports/retrieve_device_app_installation_status_report/retrieve_device_app_installation_status_report_post_request_body.py b/msgraph_beta/generated/device_management/reports/retrieve_device_app_installation_status_report/retrieve_device_app_installation_status_report_post_request_body.py new file mode 100644 index 00000000000..b47e38a6822 --- /dev/null +++ b/msgraph_beta/generated/device_management/reports/retrieve_device_app_installation_status_report/retrieve_device_app_installation_status_report_post_request_body.py @@ -0,0 +1,81 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +@dataclass +class RetrieveDeviceAppInstallationStatusReportPostRequestBody(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 filter property + filter: Optional[str] = None + # The groupBy property + group_by: Optional[List[str]] = None + # The name property + name: Optional[str] = None + # The orderBy property + order_by: Optional[List[str]] = None + # The search property + search: Optional[str] = None + # The select property + select: Optional[List[str]] = None + # The sessionId property + session_id: Optional[str] = None + # The skip property + skip: Optional[int] = None + # The top property + top: Optional[int] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> RetrieveDeviceAppInstallationStatusReportPostRequestBody: + """ + 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: RetrieveDeviceAppInstallationStatusReportPostRequestBody + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return RetrieveDeviceAppInstallationStatusReportPostRequestBody() + + 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]] = { + "filter": lambda n : setattr(self, 'filter', n.get_str_value()), + "groupBy": lambda n : setattr(self, 'group_by', n.get_collection_of_primitive_values(str)), + "name": lambda n : setattr(self, 'name', n.get_str_value()), + "orderBy": lambda n : setattr(self, 'order_by', n.get_collection_of_primitive_values(str)), + "search": lambda n : setattr(self, 'search', n.get_str_value()), + "select": lambda n : setattr(self, 'select', n.get_collection_of_primitive_values(str)), + "sessionId": lambda n : setattr(self, 'session_id', n.get_str_value()), + "skip": lambda n : setattr(self, 'skip', n.get_int_value()), + "top": lambda n : setattr(self, 'top', n.get_int_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("filter", self.filter) + writer.write_collection_of_primitive_values("groupBy", self.group_by) + writer.write_str_value("name", self.name) + writer.write_collection_of_primitive_values("orderBy", self.order_by) + writer.write_str_value("search", self.search) + writer.write_collection_of_primitive_values("select", self.select) + writer.write_str_value("sessionId", self.session_id) + writer.write_int_value("skip", self.skip) + writer.write_int_value("top", self.top) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/device_management/managed_devices/item/restore_cloud_pc/restore_cloud_pc_request_builder.py b/msgraph_beta/generated/device_management/reports/retrieve_device_app_installation_status_report/retrieve_device_app_installation_status_report_request_builder.py similarity index 60% rename from msgraph_beta/generated/device_management/managed_devices/item/restore_cloud_pc/restore_cloud_pc_request_builder.py rename to msgraph_beta/generated/device_management/reports/retrieve_device_app_installation_status_report/retrieve_device_app_installation_status_report_request_builder.py index 1c33751fa6e..10e3144f4f9 100644 --- a/msgraph_beta/generated/device_management/managed_devices/item/restore_cloud_pc/restore_cloud_pc_request_builder.py +++ b/msgraph_beta/generated/device_management/reports/retrieve_device_app_installation_status_report/retrieve_device_app_installation_status_report_request_builder.py @@ -13,73 +13,70 @@ from warnings import warn if TYPE_CHECKING: - from .....models.o_data_errors.o_data_error import ODataError - from .restore_cloud_pc_post_request_body import RestoreCloudPcPostRequestBody + from ....models.o_data_errors.o_data_error import ODataError + from .retrieve_device_app_installation_status_report_post_request_body import RetrieveDeviceAppInstallationStatusReportPostRequestBody -class RestoreCloudPcRequestBuilder(BaseRequestBuilder): +class RetrieveDeviceAppInstallationStatusReportRequestBuilder(BaseRequestBuilder): """ - Provides operations to call the restoreCloudPc method. + Provides operations to call the retrieveDeviceAppInstallationStatusReport method. """ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: """ - Instantiates a new RestoreCloudPcRequestBuilder and sets the default values. + Instantiates a new RetrieveDeviceAppInstallationStatusReportRequestBuilder 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}/deviceManagement/managedDevices/{managedDevice%2Did}/restoreCloudPc", path_parameters) + super().__init__(request_adapter, "{+baseurl}/deviceManagement/reports/retrieveDeviceAppInstallationStatusReport", path_parameters) - async def post(self,body: RestoreCloudPcPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: + async def post(self,body: RetrieveDeviceAppInstallationStatusReportPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[bytes]: """ - Invoke action restoreCloudPc + Invoke action retrieveDeviceAppInstallationStatusReport param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: None + Returns: bytes """ - warn("The restoreCloudPc API is deprecated and will stop returning on Sep 30, 2023. Please use restore instead as of 2023-07/restoreCloudPc", DeprecationWarning) 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 + 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) + return await self.request_adapter.send_primitive_async(request_info, "bytes", error_mapping) - def to_post_request_information(self,body: RestoreCloudPcPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + def to_post_request_information(self,body: RetrieveDeviceAppInstallationStatusReportPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Invoke action restoreCloudPc + Invoke action retrieveDeviceAppInstallationStatusReport param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The restoreCloudPc API is deprecated and will stop returning on Sep 30, 2023. Please use restore instead as of 2023-07/restoreCloudPc", DeprecationWarning) 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.headers.try_add("Accept", "application/octet-stream, application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info - def with_url(self,raw_url: str) -> RestoreCloudPcRequestBuilder: + def with_url(self,raw_url: str) -> RetrieveDeviceAppInstallationStatusReportRequestBuilder: """ 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: RestoreCloudPcRequestBuilder + Returns: RetrieveDeviceAppInstallationStatusReportRequestBuilder """ - warn("The restoreCloudPc API is deprecated and will stop returning on Sep 30, 2023. Please use restore instead as of 2023-07/restoreCloudPc", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") - return RestoreCloudPcRequestBuilder(self.request_adapter, raw_url) + return RetrieveDeviceAppInstallationStatusReportRequestBuilder(self.request_adapter, raw_url) @dataclass - class RestoreCloudPcRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]): + class RetrieveDeviceAppInstallationStatusReportRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]): """ Configuration for the request such as headers, query parameters, and middleware options. """ diff --git a/msgraph_beta/generated/device_management/resource_access_profiles/count/count_request_builder.py b/msgraph_beta/generated/device_management/resource_access_profiles/count/count_request_builder.py index 456b5f0bb78..6293968e4ce 100644 --- a/msgraph_beta/generated/device_management/resource_access_profiles/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/resource_access_profiles/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/resource_access_profiles/item/assign/assign_post_request_body.py b/msgraph_beta/generated/device_management/resource_access_profiles/item/assign/assign_post_request_body.py index bcd3cc0bfcb..183b89e5f92 100644 --- a/msgraph_beta/generated/device_management/resource_access_profiles/item/assign/assign_post_request_body.py +++ b/msgraph_beta/generated/device_management/resource_access_profiles/item/assign/assign_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.device_management_resource_access_profile_assignment import DeviceManagementResourceAccessProfileAssignment + writer.write_collection_of_object_values("assignments", self.assignments) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/device_management/resource_access_profiles/item/assign/assign_post_response.py b/msgraph_beta/generated/device_management/resource_access_profiles/item/assign/assign_post_response.py index c2abcb050a7..62cfd394a05 100644 --- a/msgraph_beta/generated/device_management/resource_access_profiles/item/assign/assign_post_response.py +++ b/msgraph_beta/generated/device_management/resource_access_profiles/item/assign/assign_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .....models.device_management_resource_access_profile_assignment import DeviceManagementResourceAccessProfileAssignment + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/device_management/resource_access_profiles/item/assignments/count/count_request_builder.py b/msgraph_beta/generated/device_management/resource_access_profiles/item/assignments/count/count_request_builder.py index 049b58a72fa..83a8bd67e1c 100644 --- a/msgraph_beta/generated/device_management/resource_access_profiles/item/assignments/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/resource_access_profiles/item/assignments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/resource_access_profiles/query_by_platform_type/query_by_platform_type_post_request_body.py b/msgraph_beta/generated/device_management/resource_access_profiles/query_by_platform_type/query_by_platform_type_post_request_body.py index e400e05b553..23c68cc1f7d 100644 --- a/msgraph_beta/generated/device_management/resource_access_profiles/query_by_platform_type/query_by_platform_type_post_request_body.py +++ b/msgraph_beta/generated/device_management/resource_access_profiles/query_by_platform_type/query_by_platform_type_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ....models.policy_platform_type import PolicyPlatformType + writer.write_enum_value("platformType", self.platform_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/device_management/resource_access_profiles/query_by_platform_type/query_by_platform_type_post_response.py b/msgraph_beta/generated/device_management/resource_access_profiles/query_by_platform_type/query_by_platform_type_post_response.py index 269689e448a..badd59f2363 100644 --- a/msgraph_beta/generated/device_management/resource_access_profiles/query_by_platform_type/query_by_platform_type_post_response.py +++ b/msgraph_beta/generated/device_management/resource_access_profiles/query_by_platform_type/query_by_platform_type_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ....models.device_management_resource_access_profile_base import DeviceManagementResourceAccessProfileBase + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/device_management/resource_operations/count/count_request_builder.py b/msgraph_beta/generated/device_management/resource_operations/count/count_request_builder.py index 9f16e5f2fb9..288e155b9b3 100644 --- a/msgraph_beta/generated/device_management/resource_operations/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/resource_operations/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/resource_operations/item/get_scopes_for_user_with_userid/get_scopes_for_user_with_userid_get_response.py b/msgraph_beta/generated/device_management/resource_operations/item/get_scopes_for_user_with_userid/get_scopes_for_user_with_userid_get_response.py index 1f5957e54ea..e5997e92ae3 100644 --- a/msgraph_beta/generated/device_management/resource_operations/item/get_scopes_for_user_with_userid/get_scopes_for_user_with_userid_get_response.py +++ b/msgraph_beta/generated/device_management/resource_operations/item/get_scopes_for_user_with_userid/get_scopes_for_user_with_userid_get_response.py @@ -49,6 +49,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_primitive_values("value", self.value) diff --git a/msgraph_beta/generated/device_management/comanaged_devices/item/reprovision_cloud_pc/reprovision_cloud_pc_request_builder.py b/msgraph_beta/generated/device_management/retrieve_user_role_detail_with_userid/retrieve_user_role_detail_with_userid_request_builder.py similarity index 55% rename from msgraph_beta/generated/device_management/comanaged_devices/item/reprovision_cloud_pc/reprovision_cloud_pc_request_builder.py rename to msgraph_beta/generated/device_management/retrieve_user_role_detail_with_userid/retrieve_user_role_detail_with_userid_request_builder.py index d2fff1928de..2bb604d49f4 100644 --- a/msgraph_beta/generated/device_management/comanaged_devices/item/reprovision_cloud_pc/reprovision_cloud_pc_request_builder.py +++ b/msgraph_beta/generated/device_management/retrieve_user_role_detail_with_userid/retrieve_user_role_detail_with_userid_request_builder.py @@ -13,65 +13,68 @@ from warnings import warn if TYPE_CHECKING: - from .....models.o_data_errors.o_data_error import ODataError + from ...models.device_and_app_management_assigned_role_detail import DeviceAndAppManagementAssignedRoleDetail + from ...models.o_data_errors.o_data_error import ODataError -class ReprovisionCloudPcRequestBuilder(BaseRequestBuilder): +class RetrieveUserRoleDetailWithUseridRequestBuilder(BaseRequestBuilder): """ - Provides operations to call the reprovisionCloudPc method. + Provides operations to call the retrieveUserRoleDetail method. """ - def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]], userid: Optional[str] = None) -> None: """ - Instantiates a new ReprovisionCloudPcRequestBuilder and sets the default values. + Instantiates a new RetrieveUserRoleDetailWithUseridRequestBuilder 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 userid: Usage: userid='{userid}' Returns: None """ - super().__init__(request_adapter, "{+baseurl}/deviceManagement/comanagedDevices/{managedDevice%2Did}/reprovisionCloudPc", path_parameters) + if isinstance(path_parameters, dict): + path_parameters['userid'] = userid + super().__init__(request_adapter, "{+baseurl}/deviceManagement/retrieveUserRoleDetail(userid='{userid}')", path_parameters) - async def post(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: + async def get(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[DeviceAndAppManagementAssignedRoleDetail]: """ - Invoke action reprovisionCloudPc + Invoke function retrieveUserRoleDetail param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: None + Returns: Optional[DeviceAndAppManagementAssignedRoleDetail] """ - warn("The reprovisionCloudPc API is deprecated and will stop returning on Sep 30, 2023. Please use reprovision instead as of 2023-07/reprovisionCloudPc", DeprecationWarning) - request_info = self.to_post_request_information( + request_info = self.to_get_request_information( request_configuration ) - from .....models.o_data_errors.o_data_error import ODataError + 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) + from ...models.device_and_app_management_assigned_role_detail import DeviceAndAppManagementAssignedRoleDetail + + return await self.request_adapter.send_async(request_info, DeviceAndAppManagementAssignedRoleDetail, error_mapping) - def to_post_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Invoke action reprovisionCloudPc + Invoke function retrieveUserRoleDetail param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The reprovisionCloudPc API is deprecated and will stop returning on Sep 30, 2023. Please use reprovision instead as of 2023-07/reprovisionCloudPc", DeprecationWarning) - request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) + 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) -> ReprovisionCloudPcRequestBuilder: + def with_url(self,raw_url: str) -> RetrieveUserRoleDetailWithUseridRequestBuilder: """ 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: ReprovisionCloudPcRequestBuilder + Returns: RetrieveUserRoleDetailWithUseridRequestBuilder """ - warn("The reprovisionCloudPc API is deprecated and will stop returning on Sep 30, 2023. Please use reprovision instead as of 2023-07/reprovisionCloudPc", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") - return ReprovisionCloudPcRequestBuilder(self.request_adapter, raw_url) + return RetrieveUserRoleDetailWithUseridRequestBuilder(self.request_adapter, raw_url) @dataclass - class ReprovisionCloudPcRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]): + class RetrieveUserRoleDetailWithUseridRequestBuilderGetRequestConfiguration(RequestConfiguration[QueryParameters]): """ Configuration for the request such as headers, query parameters, and middleware options. """ diff --git a/msgraph_beta/generated/device_management/reusable_policy_settings/count/count_request_builder.py b/msgraph_beta/generated/device_management/reusable_policy_settings/count/count_request_builder.py index 5af4b5c0677..59b00e5becc 100644 --- a/msgraph_beta/generated/device_management/reusable_policy_settings/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/reusable_policy_settings/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/reusable_policy_settings/item/referencing_configuration_policies/count/count_request_builder.py b/msgraph_beta/generated/device_management/reusable_policy_settings/item/referencing_configuration_policies/count/count_request_builder.py index 8685f22fc50..9af52864683 100644 --- a/msgraph_beta/generated/device_management/reusable_policy_settings/item/referencing_configuration_policies/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/reusable_policy_settings/item/referencing_configuration_policies/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/reusable_policy_settings/item/referencing_configuration_policies/item/assign/assign_post_request_body.py b/msgraph_beta/generated/device_management/reusable_policy_settings/item/referencing_configuration_policies/item/assign/assign_post_request_body.py index a939e9922db..fc538ce8a45 100644 --- a/msgraph_beta/generated/device_management/reusable_policy_settings/item/referencing_configuration_policies/item/assign/assign_post_request_body.py +++ b/msgraph_beta/generated/device_management/reusable_policy_settings/item/referencing_configuration_policies/item/assign/assign_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .......models.device_management_configuration_policy_assignment import DeviceManagementConfigurationPolicyAssignment + writer.write_collection_of_object_values("assignments", self.assignments) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/device_management/reusable_policy_settings/item/referencing_configuration_policies/item/assign/assign_post_response.py b/msgraph_beta/generated/device_management/reusable_policy_settings/item/referencing_configuration_policies/item/assign/assign_post_response.py index 941a639d83a..d53d8048c47 100644 --- a/msgraph_beta/generated/device_management/reusable_policy_settings/item/referencing_configuration_policies/item/assign/assign_post_response.py +++ b/msgraph_beta/generated/device_management/reusable_policy_settings/item/referencing_configuration_policies/item/assign/assign_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .......models.device_management_configuration_policy_assignment import DeviceManagementConfigurationPolicyAssignment + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/device_management/reusable_policy_settings/item/referencing_configuration_policies/item/assignments/count/count_request_builder.py b/msgraph_beta/generated/device_management/reusable_policy_settings/item/referencing_configuration_policies/item/assignments/count/count_request_builder.py index 98f915c0ecb..0aeffaa4681 100644 --- a/msgraph_beta/generated/device_management/reusable_policy_settings/item/referencing_configuration_policies/item/assignments/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/reusable_policy_settings/item/referencing_configuration_policies/item/assignments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/reusable_policy_settings/item/referencing_configuration_policies/item/set_enrollment_time_device_membership_target/set_enrollment_time_device_membership_target_post_request_body.py b/msgraph_beta/generated/device_management/reusable_policy_settings/item/referencing_configuration_policies/item/set_enrollment_time_device_membership_target/set_enrollment_time_device_membership_target_post_request_body.py index 66a8be4b5ff..34ba75efb9b 100644 --- a/msgraph_beta/generated/device_management/reusable_policy_settings/item/referencing_configuration_policies/item/set_enrollment_time_device_membership_target/set_enrollment_time_device_membership_target_post_request_body.py +++ b/msgraph_beta/generated/device_management/reusable_policy_settings/item/referencing_configuration_policies/item/set_enrollment_time_device_membership_target/set_enrollment_time_device_membership_target_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .......models.enrollment_time_device_membership_target import EnrollmentTimeDeviceMembershipTarget + writer.write_collection_of_object_values("enrollmentTimeDeviceMembershipTargets", self.enrollment_time_device_membership_targets) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/device_management/reusable_policy_settings/item/referencing_configuration_policies/item/settings/count/count_request_builder.py b/msgraph_beta/generated/device_management/reusable_policy_settings/item/referencing_configuration_policies/item/settings/count/count_request_builder.py index c961900a49a..590d529df88 100644 --- a/msgraph_beta/generated/device_management/reusable_policy_settings/item/referencing_configuration_policies/item/settings/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/reusable_policy_settings/item/referencing_configuration_policies/item/settings/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/reusable_policy_settings/item/referencing_configuration_policies/item/settings/item/setting_definitions/count/count_request_builder.py b/msgraph_beta/generated/device_management/reusable_policy_settings/item/referencing_configuration_policies/item/settings/item/setting_definitions/count/count_request_builder.py index 76f6021f325..888aa9ed503 100644 --- a/msgraph_beta/generated/device_management/reusable_policy_settings/item/referencing_configuration_policies/item/settings/item/setting_definitions/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/reusable_policy_settings/item/referencing_configuration_policies/item/settings/item/setting_definitions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/reusable_settings/count/count_request_builder.py b/msgraph_beta/generated/device_management/reusable_settings/count/count_request_builder.py index a3f8dfc57b9..78e0ccac1e8 100644 --- a/msgraph_beta/generated/device_management/reusable_settings/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/reusable_settings/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/role_assignments/count/count_request_builder.py b/msgraph_beta/generated/device_management/role_assignments/count/count_request_builder.py index 3d124ab5250..e8c7e1eecea 100644 --- a/msgraph_beta/generated/device_management/role_assignments/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/role_assignments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/role_assignments/item/role_scope_tags/count/count_request_builder.py b/msgraph_beta/generated/device_management/role_assignments/item/role_scope_tags/count/count_request_builder.py index 5965d043132..a85670c237d 100644 --- a/msgraph_beta/generated/device_management/role_assignments/item/role_scope_tags/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/role_assignments/item/role_scope_tags/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/role_definitions/count/count_request_builder.py b/msgraph_beta/generated/device_management/role_definitions/count/count_request_builder.py index 05f97400d7d..53ceb787d70 100644 --- a/msgraph_beta/generated/device_management/role_definitions/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/role_definitions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/role_definitions/item/role_assignments/count/count_request_builder.py b/msgraph_beta/generated/device_management/role_definitions/item/role_assignments/count/count_request_builder.py index de3f265b8ef..4c8d56df64e 100644 --- a/msgraph_beta/generated/device_management/role_definitions/item/role_assignments/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/role_definitions/item/role_assignments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/role_scope_tags/count/count_request_builder.py b/msgraph_beta/generated/device_management/role_scope_tags/count/count_request_builder.py index 77126432a3f..91697b972ce 100644 --- a/msgraph_beta/generated/device_management/role_scope_tags/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/role_scope_tags/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/role_scope_tags/get_role_scope_tags_by_id/get_role_scope_tags_by_id_post_response.py b/msgraph_beta/generated/device_management/role_scope_tags/get_role_scope_tags_by_id/get_role_scope_tags_by_id_post_response.py index da669cbc7eb..34a80d44cc1 100644 --- a/msgraph_beta/generated/device_management/role_scope_tags/get_role_scope_tags_by_id/get_role_scope_tags_by_id_post_response.py +++ b/msgraph_beta/generated/device_management/role_scope_tags/get_role_scope_tags_by_id/get_role_scope_tags_by_id_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ....models.role_scope_tag import RoleScopeTag + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/device_management/role_scope_tags/item/assign/assign_post_request_body.py b/msgraph_beta/generated/device_management/role_scope_tags/item/assign/assign_post_request_body.py index 6b634f42ddc..9f3af2461e7 100644 --- a/msgraph_beta/generated/device_management/role_scope_tags/item/assign/assign_post_request_body.py +++ b/msgraph_beta/generated/device_management/role_scope_tags/item/assign/assign_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.role_scope_tag_auto_assignment import RoleScopeTagAutoAssignment + writer.write_collection_of_object_values("assignments", self.assignments) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/device_management/role_scope_tags/item/assign/assign_post_response.py b/msgraph_beta/generated/device_management/role_scope_tags/item/assign/assign_post_response.py index 8f69c68c400..3b6298195de 100644 --- a/msgraph_beta/generated/device_management/role_scope_tags/item/assign/assign_post_response.py +++ b/msgraph_beta/generated/device_management/role_scope_tags/item/assign/assign_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .....models.role_scope_tag_auto_assignment import RoleScopeTagAutoAssignment + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/device_management/role_scope_tags/item/assignments/count/count_request_builder.py b/msgraph_beta/generated/device_management/role_scope_tags/item/assignments/count/count_request_builder.py index 8979c4e7787..acabead0bbc 100644 --- a/msgraph_beta/generated/device_management/role_scope_tags/item/assignments/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/role_scope_tags/item/assignments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/service_now_connections/count/count_request_builder.py b/msgraph_beta/generated/device_management/service_now_connections/count/count_request_builder.py index ec794729133..4136b7b1330 100644 --- a/msgraph_beta/generated/device_management/service_now_connections/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/service_now_connections/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/setting_definitions/count/count_request_builder.py b/msgraph_beta/generated/device_management/setting_definitions/count/count_request_builder.py index 5c247c00456..5def02cbc51 100644 --- a/msgraph_beta/generated/device_management/setting_definitions/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/setting_definitions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/telecom_expense_management_partners/count/count_request_builder.py b/msgraph_beta/generated/device_management/telecom_expense_management_partners/count/count_request_builder.py index 0f6e1b1a9c3..56d6b8f862c 100644 --- a/msgraph_beta/generated/device_management/telecom_expense_management_partners/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/telecom_expense_management_partners/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/template_insights/count/count_request_builder.py b/msgraph_beta/generated/device_management/template_insights/count/count_request_builder.py index 8f8f94043d5..9fca0824036 100644 --- a/msgraph_beta/generated/device_management/template_insights/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/template_insights/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/template_settings/count/count_request_builder.py b/msgraph_beta/generated/device_management/template_settings/count/count_request_builder.py index cda097a3f67..d960727c991 100644 --- a/msgraph_beta/generated/device_management/template_settings/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/template_settings/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/template_settings/item/setting_definitions/count/count_request_builder.py b/msgraph_beta/generated/device_management/template_settings/item/setting_definitions/count/count_request_builder.py index d8b3776b164..37bd3499dae 100644 --- a/msgraph_beta/generated/device_management/template_settings/item/setting_definitions/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/template_settings/item/setting_definitions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/templates/count/count_request_builder.py b/msgraph_beta/generated/device_management/templates/count/count_request_builder.py index 07c7a578be7..94300dd3644 100644 --- a/msgraph_beta/generated/device_management/templates/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/templates/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/templates/import_office365_device_configuration_policies/import_office365_device_configuration_policies_post_response.py b/msgraph_beta/generated/device_management/templates/import_office365_device_configuration_policies/import_office365_device_configuration_policies_post_response.py index 71aa0f768fa..cf89cbc00db 100644 --- a/msgraph_beta/generated/device_management/templates/import_office365_device_configuration_policies/import_office365_device_configuration_policies_post_response.py +++ b/msgraph_beta/generated/device_management/templates/import_office365_device_configuration_policies/import_office365_device_configuration_policies_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ....models.device_management_intent import DeviceManagementIntent + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/device_management/templates/item/categories/count/count_request_builder.py b/msgraph_beta/generated/device_management/templates/item/categories/count/count_request_builder.py index 601fdfdbc80..ee5eb9a6103 100644 --- a/msgraph_beta/generated/device_management/templates/item/categories/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/templates/item/categories/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/templates/item/categories/item/recommended_settings/count/count_request_builder.py b/msgraph_beta/generated/device_management/templates/item/categories/item/recommended_settings/count/count_request_builder.py index b7efc5a1848..37d3a9c13d8 100644 --- a/msgraph_beta/generated/device_management/templates/item/categories/item/recommended_settings/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/templates/item/categories/item/recommended_settings/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/templates/item/categories/item/setting_definitions/count/count_request_builder.py b/msgraph_beta/generated/device_management/templates/item/categories/item/setting_definitions/count/count_request_builder.py index b730bc7ff0b..cdc9727cd41 100644 --- a/msgraph_beta/generated/device_management/templates/item/categories/item/setting_definitions/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/templates/item/categories/item/setting_definitions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/templates/item/compare_with_template_id/compare_with_template_id_get_response.py b/msgraph_beta/generated/device_management/templates/item/compare_with_template_id/compare_with_template_id_get_response.py index fb377cd718f..167bc5b9a32 100644 --- a/msgraph_beta/generated/device_management/templates/item/compare_with_template_id/compare_with_template_id_get_response.py +++ b/msgraph_beta/generated/device_management/templates/item/compare_with_template_id/compare_with_template_id_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .....models.device_management_setting_comparison import DeviceManagementSettingComparison + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/device_management/templates/item/create_instance/create_instance_post_request_body.py b/msgraph_beta/generated/device_management/templates/item/create_instance/create_instance_post_request_body.py index 258dc155c59..eb1f20186e2 100644 --- a/msgraph_beta/generated/device_management/templates/item/create_instance/create_instance_post_request_body.py +++ b/msgraph_beta/generated/device_management/templates/item/create_instance/create_instance_post_request_body.py @@ -59,6 +59,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.device_management_setting_instance import DeviceManagementSettingInstance + writer.write_str_value("description", self.description) writer.write_str_value("displayName", self.display_name) writer.write_collection_of_primitive_values("roleScopeTagIds", self.role_scope_tag_ids) diff --git a/msgraph_beta/generated/device_management/templates/item/migratable_to/count/count_request_builder.py b/msgraph_beta/generated/device_management/templates/item/migratable_to/count/count_request_builder.py index b68bd43f8ad..327240a3f16 100644 --- a/msgraph_beta/generated/device_management/templates/item/migratable_to/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/templates/item/migratable_to/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/templates/item/migratable_to/import_office365_device_configuration_policies/import_office365_device_configuration_policies_post_response.py b/msgraph_beta/generated/device_management/templates/item/migratable_to/import_office365_device_configuration_policies/import_office365_device_configuration_policies_post_response.py index 26812153f54..3bab4488aae 100644 --- a/msgraph_beta/generated/device_management/templates/item/migratable_to/import_office365_device_configuration_policies/import_office365_device_configuration_policies_post_response.py +++ b/msgraph_beta/generated/device_management/templates/item/migratable_to/import_office365_device_configuration_policies/import_office365_device_configuration_policies_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ......models.device_management_intent import DeviceManagementIntent + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/device_management/templates/item/migratable_to/item/categories/count/count_request_builder.py b/msgraph_beta/generated/device_management/templates/item/migratable_to/item/categories/count/count_request_builder.py index 1f6738bcacb..78f799384cd 100644 --- a/msgraph_beta/generated/device_management/templates/item/migratable_to/item/categories/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/templates/item/migratable_to/item/categories/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/templates/item/migratable_to/item/categories/item/recommended_settings/count/count_request_builder.py b/msgraph_beta/generated/device_management/templates/item/migratable_to/item/categories/item/recommended_settings/count/count_request_builder.py index 49a4a72639b..2bc7c37f75f 100644 --- a/msgraph_beta/generated/device_management/templates/item/migratable_to/item/categories/item/recommended_settings/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/templates/item/migratable_to/item/categories/item/recommended_settings/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/templates/item/migratable_to/item/categories/item/setting_definitions/count/count_request_builder.py b/msgraph_beta/generated/device_management/templates/item/migratable_to/item/categories/item/setting_definitions/count/count_request_builder.py index 4e5e23685d1..83fa7f73551 100644 --- a/msgraph_beta/generated/device_management/templates/item/migratable_to/item/categories/item/setting_definitions/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/templates/item/migratable_to/item/categories/item/setting_definitions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/templates/item/migratable_to/item/compare_with_template_id/compare_with_template_id_get_response.py b/msgraph_beta/generated/device_management/templates/item/migratable_to/item/compare_with_template_id/compare_with_template_id_get_response.py index 4b0b6d51e49..fb22502d201 100644 --- a/msgraph_beta/generated/device_management/templates/item/migratable_to/item/compare_with_template_id/compare_with_template_id_get_response.py +++ b/msgraph_beta/generated/device_management/templates/item/migratable_to/item/compare_with_template_id/compare_with_template_id_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .......models.device_management_setting_comparison import DeviceManagementSettingComparison + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/device_management/templates/item/migratable_to/item/create_instance/create_instance_post_request_body.py b/msgraph_beta/generated/device_management/templates/item/migratable_to/item/create_instance/create_instance_post_request_body.py index c707776af8d..aac40b439a4 100644 --- a/msgraph_beta/generated/device_management/templates/item/migratable_to/item/create_instance/create_instance_post_request_body.py +++ b/msgraph_beta/generated/device_management/templates/item/migratable_to/item/create_instance/create_instance_post_request_body.py @@ -59,6 +59,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .......models.device_management_setting_instance import DeviceManagementSettingInstance + writer.write_str_value("description", self.description) writer.write_str_value("displayName", self.display_name) writer.write_collection_of_primitive_values("roleScopeTagIds", self.role_scope_tag_ids) diff --git a/msgraph_beta/generated/device_management/templates/item/migratable_to/item/settings/count/count_request_builder.py b/msgraph_beta/generated/device_management/templates/item/migratable_to/item/settings/count/count_request_builder.py index c0f327498a5..1ed197c0afc 100644 --- a/msgraph_beta/generated/device_management/templates/item/migratable_to/item/settings/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/templates/item/migratable_to/item/settings/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/templates/item/settings/count/count_request_builder.py b/msgraph_beta/generated/device_management/templates/item/settings/count/count_request_builder.py index f496497d70b..d4cb46f045d 100644 --- a/msgraph_beta/generated/device_management/templates/item/settings/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/templates/item/settings/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/terms_and_conditions/count/count_request_builder.py b/msgraph_beta/generated/device_management/terms_and_conditions/count/count_request_builder.py index 2a0d6b41e51..bb7cc01e73f 100644 --- a/msgraph_beta/generated/device_management/terms_and_conditions/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/terms_and_conditions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/terms_and_conditions/item/acceptance_statuses/count/count_request_builder.py b/msgraph_beta/generated/device_management/terms_and_conditions/item/acceptance_statuses/count/count_request_builder.py index ba2ce32cd6f..d78bfa8d909 100644 --- a/msgraph_beta/generated/device_management/terms_and_conditions/item/acceptance_statuses/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/terms_and_conditions/item/acceptance_statuses/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/terms_and_conditions/item/assignments/count/count_request_builder.py b/msgraph_beta/generated/device_management/terms_and_conditions/item/assignments/count/count_request_builder.py index 75e1f1240be..90bf630f976 100644 --- a/msgraph_beta/generated/device_management/terms_and_conditions/item/assignments/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/terms_and_conditions/item/assignments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/terms_and_conditions/item/group_assignments/count/count_request_builder.py b/msgraph_beta/generated/device_management/terms_and_conditions/item/group_assignments/count/count_request_builder.py index c28cec5a577..1e4720add08 100644 --- a/msgraph_beta/generated/device_management/terms_and_conditions/item/group_assignments/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/terms_and_conditions/item/group_assignments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/troubleshooting_events/count/count_request_builder.py b/msgraph_beta/generated/device_management/troubleshooting_events/count/count_request_builder.py index 2fef83ce5a4..15473a8b93c 100644 --- a/msgraph_beta/generated/device_management/troubleshooting_events/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/troubleshooting_events/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_anomaly/count/count_request_builder.py b/msgraph_beta/generated/device_management/user_experience_analytics_anomaly/count/count_request_builder.py index 5e32376db01..9b50a19c1b4 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_anomaly/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_anomaly/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_anomaly_correlation_group_overview/count/count_request_builder.py b/msgraph_beta/generated/device_management/user_experience_analytics_anomaly_correlation_group_overview/count/count_request_builder.py index 47cd597f3d8..f7654393fc4 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_anomaly_correlation_group_overview/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_anomaly_correlation_group_overview/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_anomaly_device/count/count_request_builder.py b/msgraph_beta/generated/device_management/user_experience_analytics_anomaly_device/count/count_request_builder.py index efc9599adab..3bfe9f67aa2 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_anomaly_device/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_anomaly_device/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_app_health_application_performance/count/count_request_builder.py b/msgraph_beta/generated/device_management/user_experience_analytics_app_health_application_performance/count/count_request_builder.py index 6f41d1fc207..12338bec81c 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_app_health_application_performance/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_app_health_application_performance/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_app_health_application_performance_by_app_version/count/count_request_builder.py b/msgraph_beta/generated/device_management/user_experience_analytics_app_health_application_performance_by_app_version/count/count_request_builder.py index 0bcc29e4fc3..5cf49a4e148 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_app_health_application_performance_by_app_version/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_app_health_application_performance_by_app_version/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_app_health_application_performance_by_app_version_details/count/count_request_builder.py b/msgraph_beta/generated/device_management/user_experience_analytics_app_health_application_performance_by_app_version_details/count/count_request_builder.py index 37659bb75eb..2775584da2e 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_app_health_application_performance_by_app_version_details/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_app_health_application_performance_by_app_version_details/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_app_health_application_performance_by_app_version_device_id/count/count_request_builder.py b/msgraph_beta/generated/device_management/user_experience_analytics_app_health_application_performance_by_app_version_device_id/count/count_request_builder.py index 23599ea179d..b3f310b9f35 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_app_health_application_performance_by_app_version_device_id/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_app_health_application_performance_by_app_version_device_id/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_app_health_application_performance_by_o_s_version/count/count_request_builder.py b/msgraph_beta/generated/device_management/user_experience_analytics_app_health_application_performance_by_o_s_version/count/count_request_builder.py index ad03e90536a..6877ebee894 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_app_health_application_performance_by_o_s_version/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_app_health_application_performance_by_o_s_version/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_app_health_device_model_performance/count/count_request_builder.py b/msgraph_beta/generated/device_management/user_experience_analytics_app_health_device_model_performance/count/count_request_builder.py index 986039c73d1..ebe36d19b7a 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_app_health_device_model_performance/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_app_health_device_model_performance/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_app_health_device_performance/count/count_request_builder.py b/msgraph_beta/generated/device_management/user_experience_analytics_app_health_device_performance/count/count_request_builder.py index 87c7525d84d..8eed7e43842 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_app_health_device_performance/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_app_health_device_performance/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_app_health_device_performance_details/count/count_request_builder.py b/msgraph_beta/generated/device_management/user_experience_analytics_app_health_device_performance_details/count/count_request_builder.py index ad76cb69d9e..f120d1fa8cb 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_app_health_device_performance_details/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_app_health_device_performance_details/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_app_health_o_s_version_performance/count/count_request_builder.py b/msgraph_beta/generated/device_management/user_experience_analytics_app_health_o_s_version_performance/count/count_request_builder.py index aa7b353f16a..1a5f2e3e787 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_app_health_o_s_version_performance/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_app_health_o_s_version_performance/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_app_health_overview/metric_values/count/count_request_builder.py b/msgraph_beta/generated/device_management/user_experience_analytics_app_health_overview/metric_values/count/count_request_builder.py index dd466e27a39..f45d05bb63c 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_app_health_overview/metric_values/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_app_health_overview/metric_values/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_baselines/count/count_request_builder.py b/msgraph_beta/generated/device_management/user_experience_analytics_baselines/count/count_request_builder.py index bf42a0db075..16fe0820121 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_baselines/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_baselines/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_battery_health_app_impact/count/count_request_builder.py b/msgraph_beta/generated/device_management/user_experience_analytics_battery_health_app_impact/count/count_request_builder.py index ecfbfc57455..10edbf1ff29 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_battery_health_app_impact/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_battery_health_app_impact/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_battery_health_device_app_impact/count/count_request_builder.py b/msgraph_beta/generated/device_management/user_experience_analytics_battery_health_device_app_impact/count/count_request_builder.py index cd685b0774f..7c785ec04f8 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_battery_health_device_app_impact/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_battery_health_device_app_impact/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_battery_health_device_performance/count/count_request_builder.py b/msgraph_beta/generated/device_management/user_experience_analytics_battery_health_device_performance/count/count_request_builder.py index 02bc1d7f7a4..4f9bd8fd45e 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_battery_health_device_performance/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_battery_health_device_performance/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_battery_health_device_runtime_history/count/count_request_builder.py b/msgraph_beta/generated/device_management/user_experience_analytics_battery_health_device_runtime_history/count/count_request_builder.py index c1d15cdba23..29957fdc5b7 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_battery_health_device_runtime_history/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_battery_health_device_runtime_history/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_battery_health_model_performance/count/count_request_builder.py b/msgraph_beta/generated/device_management/user_experience_analytics_battery_health_model_performance/count/count_request_builder.py index fb6f4c463df..e3b6b17316b 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_battery_health_model_performance/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_battery_health_model_performance/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_battery_health_os_performance/count/count_request_builder.py b/msgraph_beta/generated/device_management/user_experience_analytics_battery_health_os_performance/count/count_request_builder.py index 605ad08e361..127cc920829 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_battery_health_os_performance/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_battery_health_os_performance/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_categories/count/count_request_builder.py b/msgraph_beta/generated/device_management/user_experience_analytics_categories/count/count_request_builder.py index 7212ec59c08..cb197312438 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_categories/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_categories/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_categories/item/metric_values/count/count_request_builder.py b/msgraph_beta/generated/device_management/user_experience_analytics_categories/item/metric_values/count/count_request_builder.py index 542cf22d265..05f9e1347b3 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_categories/item/metric_values/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_categories/item/metric_values/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_device_metric_history/count/count_request_builder.py b/msgraph_beta/generated/device_management/user_experience_analytics_device_metric_history/count/count_request_builder.py index 19ad87b766b..e2e19247eb5 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_device_metric_history/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_device_metric_history/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_device_metric_history/item/user_experience_analytics_metric_history_item_request_builder.py b/msgraph_beta/generated/device_management/user_experience_analytics_device_metric_history/item/user_experience_analytics_metric_history_item_request_builder.py index dd9c195d62c..2b77d73787f 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_device_metric_history/item/user_experience_analytics_metric_history_item_request_builder.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_device_metric_history/item/user_experience_analytics_metric_history_item_request_builder.py @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[UserExperienceAnalyticsMetricHistoryItemRequestBuilderGetQueryParameters]] = None) -> Optional[UserExperienceAnalyticsMetricHistory]: """ - User experience analytics device metric history + User experience analytics device metric history. The report will be retired on December 31, 2024. You can start using the Cloud PC connection quality report now via https://learn.microsoft.com/windows-365/enterprise/report-cloud-pc-connection-quality. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UserExperienceAnalyticsMetricHistory] """ @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[UserExperienceAnalyticsMetricHistoryItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - User experience analytics device metric history + User experience analytics device metric history. The report will be retired on December 31, 2024. You can start using the Cloud PC connection quality report now via https://learn.microsoft.com/windows-365/enterprise/report-cloud-pc-connection-quality. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -147,7 +147,7 @@ class UserExperienceAnalyticsMetricHistoryItemRequestBuilderDeleteRequestConfigu @dataclass class UserExperienceAnalyticsMetricHistoryItemRequestBuilderGetQueryParameters(): """ - User experience analytics device metric history + User experience analytics device metric history. The report will be retired on December 31, 2024. You can start using the Cloud PC connection quality report now via https://learn.microsoft.com/windows-365/enterprise/report-cloud-pc-connection-quality. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_device_metric_history/user_experience_analytics_device_metric_history_request_builder.py b/msgraph_beta/generated/device_management/user_experience_analytics_device_metric_history/user_experience_analytics_device_metric_history_request_builder.py index 8004579c8bf..1c99bcf8425 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_device_metric_history/user_experience_analytics_device_metric_history_request_builder.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_device_metric_history/user_experience_analytics_device_metric_history_request_builder.py @@ -48,7 +48,7 @@ def by_user_experience_analytics_metric_history_id(self,user_experience_analytic async def get(self,request_configuration: Optional[RequestConfiguration[UserExperienceAnalyticsDeviceMetricHistoryRequestBuilderGetQueryParameters]] = None) -> Optional[UserExperienceAnalyticsMetricHistoryCollectionResponse]: """ - User experience analytics device metric history + User experience analytics device metric history. The report will be retired on December 31, 2024. You can start using the Cloud PC connection quality report now via https://learn.microsoft.com/windows-365/enterprise/report-cloud-pc-connection-quality. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UserExperienceAnalyticsMetricHistoryCollectionResponse] """ @@ -91,7 +91,7 @@ async def post(self,body: UserExperienceAnalyticsMetricHistory, request_configur def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[UserExperienceAnalyticsDeviceMetricHistoryRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - User experience analytics device metric history + User experience analytics device metric history. The report will be retired on December 31, 2024. You can start using the Cloud PC connection quality report now via https://learn.microsoft.com/windows-365/enterprise/report-cloud-pc-connection-quality. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -137,7 +137,7 @@ def count(self) -> CountRequestBuilder: @dataclass class UserExperienceAnalyticsDeviceMetricHistoryRequestBuilderGetQueryParameters(): """ - User experience analytics device metric history + User experience analytics device metric history. The report will be retired on December 31, 2024. You can start using the Cloud PC connection quality report now via https://learn.microsoft.com/windows-365/enterprise/report-cloud-pc-connection-quality. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_device_performance/count/count_request_builder.py b/msgraph_beta/generated/device_management/user_experience_analytics_device_performance/count/count_request_builder.py index b0c1c414395..980226d4b54 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_device_performance/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_device_performance/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_device_performance/summarize_device_performance_devices_with_summarize_by/summarize_device_performance_devices_with_summarize_by_get_response.py b/msgraph_beta/generated/device_management/user_experience_analytics_device_performance/summarize_device_performance_devices_with_summarize_by/summarize_device_performance_devices_with_summarize_by_get_response.py index e4c1d142e75..d55ae7a304a 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_device_performance/summarize_device_performance_devices_with_summarize_by/summarize_device_performance_devices_with_summarize_by_get_response.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_device_performance/summarize_device_performance_devices_with_summarize_by/summarize_device_performance_devices_with_summarize_by_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ....models.user_experience_analytics_device_performance import UserExperienceAnalyticsDevicePerformance + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_device_scopes/count/count_request_builder.py b/msgraph_beta/generated/device_management/user_experience_analytics_device_scopes/count/count_request_builder.py index ba343e4b97c..3c81942ef39 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_device_scopes/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_device_scopes/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_device_scores/count/count_request_builder.py b/msgraph_beta/generated/device_management/user_experience_analytics_device_scores/count/count_request_builder.py index 245e59ebefa..7859c68062a 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_device_scores/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_device_scores/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_device_startup_history/count/count_request_builder.py b/msgraph_beta/generated/device_management/user_experience_analytics_device_startup_history/count/count_request_builder.py index dc0924ba7e2..44c42d2d354 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_device_startup_history/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_device_startup_history/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_device_startup_process_performance/count/count_request_builder.py b/msgraph_beta/generated/device_management/user_experience_analytics_device_startup_process_performance/count/count_request_builder.py index b7be28d664c..75a6aa281b1 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_device_startup_process_performance/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_device_startup_process_performance/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_device_startup_processes/count/count_request_builder.py b/msgraph_beta/generated/device_management/user_experience_analytics_device_startup_processes/count/count_request_builder.py index f482bc81c2a..8faa21c7604 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_device_startup_processes/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_device_startup_processes/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_device_timeline_event/count/count_request_builder.py b/msgraph_beta/generated/device_management/user_experience_analytics_device_timeline_event/count/count_request_builder.py index 1c6e86af01e..8f5eee68671 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_device_timeline_event/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_device_timeline_event/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_devices_without_cloud_identity/count/count_request_builder.py b/msgraph_beta/generated/device_management/user_experience_analytics_devices_without_cloud_identity/count/count_request_builder.py index a9c2ce85a1e..ecc2b1d8938 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_devices_without_cloud_identity/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_devices_without_cloud_identity/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_impacting_process/count/count_request_builder.py b/msgraph_beta/generated/device_management/user_experience_analytics_impacting_process/count/count_request_builder.py index 35ebcb9279c..cbe5635e8c9 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_impacting_process/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_impacting_process/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_metric_history/count/count_request_builder.py b/msgraph_beta/generated/device_management/user_experience_analytics_metric_history/count/count_request_builder.py index 5d25da2b996..42a40bc4ea9 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_metric_history/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_metric_history/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_model_scores/count/count_request_builder.py b/msgraph_beta/generated/device_management/user_experience_analytics_model_scores/count/count_request_builder.py index 1f978f816e6..2ceaf9aec2f 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_model_scores/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_model_scores/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_not_autopilot_ready_device/count/count_request_builder.py b/msgraph_beta/generated/device_management/user_experience_analytics_not_autopilot_ready_device/count/count_request_builder.py index adef5501131..5076d37be7d 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_not_autopilot_ready_device/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_not_autopilot_ready_device/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_remote_connection/count/count_request_builder.py b/msgraph_beta/generated/device_management/user_experience_analytics_remote_connection/count/count_request_builder.py index f1e72ec6f62..27798b878a1 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_remote_connection/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_remote_connection/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_remote_connection/item/user_experience_analytics_remote_connection_item_request_builder.py b/msgraph_beta/generated/device_management/user_experience_analytics_remote_connection/item/user_experience_analytics_remote_connection_item_request_builder.py index ba07d7a13c7..1b633a20829 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_remote_connection/item/user_experience_analytics_remote_connection_item_request_builder.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_remote_connection/item/user_experience_analytics_remote_connection_item_request_builder.py @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[UserExperienceAnalyticsRemoteConnectionItemRequestBuilderGetQueryParameters]] = None) -> Optional[UserExperienceAnalyticsRemoteConnection]: """ - User experience analytics remote connection + User experience analytics remote connection. The report will be retired on December 31, 2024. You can start using the Cloud PC connection quality report now via https://learn.microsoft.com/windows-365/enterprise/report-cloud-pc-connection-quality. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UserExperienceAnalyticsRemoteConnection] """ @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[UserExperienceAnalyticsRemoteConnectionItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - User experience analytics remote connection + User experience analytics remote connection. The report will be retired on December 31, 2024. You can start using the Cloud PC connection quality report now via https://learn.microsoft.com/windows-365/enterprise/report-cloud-pc-connection-quality. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -147,7 +147,7 @@ class UserExperienceAnalyticsRemoteConnectionItemRequestBuilderDeleteRequestConf @dataclass class UserExperienceAnalyticsRemoteConnectionItemRequestBuilderGetQueryParameters(): """ - User experience analytics remote connection + User experience analytics remote connection. The report will be retired on December 31, 2024. You can start using the Cloud PC connection quality report now via https://learn.microsoft.com/windows-365/enterprise/report-cloud-pc-connection-quality. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_remote_connection/summarize_device_remote_connection_with_summarize_by/summarize_device_remote_connection_with_summarize_by_get_response.py b/msgraph_beta/generated/device_management/user_experience_analytics_remote_connection/summarize_device_remote_connection_with_summarize_by/summarize_device_remote_connection_with_summarize_by_get_response.py index ed8af9b7d72..f4688f0fa9a 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_remote_connection/summarize_device_remote_connection_with_summarize_by/summarize_device_remote_connection_with_summarize_by_get_response.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_remote_connection/summarize_device_remote_connection_with_summarize_by/summarize_device_remote_connection_with_summarize_by_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ....models.user_experience_analytics_remote_connection import UserExperienceAnalyticsRemoteConnection + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_remote_connection/user_experience_analytics_remote_connection_request_builder.py b/msgraph_beta/generated/device_management/user_experience_analytics_remote_connection/user_experience_analytics_remote_connection_request_builder.py index c2efea57482..a57606ab6f3 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_remote_connection/user_experience_analytics_remote_connection_request_builder.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_remote_connection/user_experience_analytics_remote_connection_request_builder.py @@ -49,7 +49,7 @@ def by_user_experience_analytics_remote_connection_id(self,user_experience_analy async def get(self,request_configuration: Optional[RequestConfiguration[UserExperienceAnalyticsRemoteConnectionRequestBuilderGetQueryParameters]] = None) -> Optional[UserExperienceAnalyticsRemoteConnectionCollectionResponse]: """ - User experience analytics remote connection + User experience analytics remote connection. The report will be retired on December 31, 2024. You can start using the Cloud PC connection quality report now via https://learn.microsoft.com/windows-365/enterprise/report-cloud-pc-connection-quality. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UserExperienceAnalyticsRemoteConnectionCollectionResponse] """ @@ -104,7 +104,7 @@ def summarize_device_remote_connection_with_summarize_by(self,summarize_by: str) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[UserExperienceAnalyticsRemoteConnectionRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - User experience analytics remote connection + User experience analytics remote connection. The report will be retired on December 31, 2024. You can start using the Cloud PC connection quality report now via https://learn.microsoft.com/windows-365/enterprise/report-cloud-pc-connection-quality. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -150,7 +150,7 @@ def count(self) -> CountRequestBuilder: @dataclass class UserExperienceAnalyticsRemoteConnectionRequestBuilderGetQueryParameters(): """ - User experience analytics remote connection + User experience analytics remote connection. The report will be retired on December 31, 2024. You can start using the Cloud PC connection quality report now via https://learn.microsoft.com/windows-365/enterprise/report-cloud-pc-connection-quality. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_resource_performance/count/count_request_builder.py b/msgraph_beta/generated/device_management/user_experience_analytics_resource_performance/count/count_request_builder.py index d94072516b1..c29f125a52d 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_resource_performance/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_resource_performance/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_resource_performance/summarize_device_resource_performance_with_summarize_by/summarize_device_resource_performance_with_summarize_by_get_response.py b/msgraph_beta/generated/device_management/user_experience_analytics_resource_performance/summarize_device_resource_performance_with_summarize_by/summarize_device_resource_performance_with_summarize_by_get_response.py index 00a18fbeb5a..73f56aad76d 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_resource_performance/summarize_device_resource_performance_with_summarize_by/summarize_device_resource_performance_with_summarize_by_get_response.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_resource_performance/summarize_device_resource_performance_with_summarize_by/summarize_device_resource_performance_with_summarize_by_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ....models.user_experience_analytics_resource_performance import UserExperienceAnalyticsResourcePerformance + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_score_history/count/count_request_builder.py b/msgraph_beta/generated/device_management/user_experience_analytics_score_history/count/count_request_builder.py index 7a1cd46318a..59a22da8190 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_score_history/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_score_history/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_work_from_anywhere_metrics/count/count_request_builder.py b/msgraph_beta/generated/device_management/user_experience_analytics_work_from_anywhere_metrics/count/count_request_builder.py index 52c9d3f2906..2ee20297f0e 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_work_from_anywhere_metrics/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_work_from_anywhere_metrics/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_work_from_anywhere_metrics/item/metric_devices/count/count_request_builder.py b/msgraph_beta/generated/device_management/user_experience_analytics_work_from_anywhere_metrics/item/metric_devices/count/count_request_builder.py index 38720729f0f..931a75f32d6 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_work_from_anywhere_metrics/item/metric_devices/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_work_from_anywhere_metrics/item/metric_devices/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_work_from_anywhere_model_performance/count/count_request_builder.py b/msgraph_beta/generated/device_management/user_experience_analytics_work_from_anywhere_model_performance/count/count_request_builder.py index 3c71a364bc2..83d26ac4f05 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_work_from_anywhere_model_performance/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_work_from_anywhere_model_performance/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/user_pfx_certificates/count/count_request_builder.py b/msgraph_beta/generated/device_management/user_pfx_certificates/count/count_request_builder.py index c34e36a2851..3463504f484 100644 --- a/msgraph_beta/generated/device_management/user_pfx_certificates/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/user_pfx_certificates/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/audit_events/count/count_request_builder.py b/msgraph_beta/generated/device_management/virtual_endpoint/audit_events/count/count_request_builder.py index a1c3f5b70f2..691c9a9ea34 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/audit_events/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/audit_events/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/audit_events/get_audit_activity_types/get_audit_activity_types_get_response.py b/msgraph_beta/generated/device_management/virtual_endpoint/audit_events/get_audit_activity_types/get_audit_activity_types_get_response.py index dcc7cf17820..5405780ff1f 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/audit_events/get_audit_activity_types/get_audit_activity_types_get_response.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/audit_events/get_audit_activity_types/get_audit_activity_types_get_response.py @@ -49,6 +49,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_primitive_values("value", self.value) diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/bulk_actions/count/count_request_builder.py b/msgraph_beta/generated/device_management/virtual_endpoint/bulk_actions/count/count_request_builder.py index c7d16ad4b61..d7987c9d4bf 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/bulk_actions/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/bulk_actions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/bulk_actions/item/cloud_pc_bulk_action_item_request_builder.py b/msgraph_beta/generated/device_management/virtual_endpoint/bulk_actions/item/cloud_pc_bulk_action_item_request_builder.py index ba315638330..e1731dd0d9b 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/bulk_actions/item/cloud_pc_bulk_action_item_request_builder.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/bulk_actions/item/cloud_pc_bulk_action_item_request_builder.py @@ -15,6 +15,7 @@ if TYPE_CHECKING: from .....models.cloud_pc_bulk_action import CloudPcBulkAction from .....models.o_data_errors.o_data_error import ODataError + from .retry.retry_request_builder import RetryRequestBuilder class CloudPcBulkActionItemRequestBuilder(BaseRequestBuilder): """ @@ -138,6 +139,15 @@ def with_url(self,raw_url: str) -> CloudPcBulkActionItemRequestBuilder: raise TypeError("raw_url cannot be null.") return CloudPcBulkActionItemRequestBuilder(self.request_adapter, raw_url) + @property + def retry(self) -> RetryRequestBuilder: + """ + Provides operations to call the retry method. + """ + from .retry.retry_request_builder import RetryRequestBuilder + + return RetryRequestBuilder(self.request_adapter, self.path_parameters) + @dataclass class CloudPcBulkActionItemRequestBuilderDeleteRequestConfiguration(RequestConfiguration[QueryParameters]): """ diff --git a/msgraph_beta/generated/users/item/managed_devices/item/restore_cloud_pc/restore_cloud_pc_post_request_body.py b/msgraph_beta/generated/device_management/virtual_endpoint/bulk_actions/item/retry/retry_post_request_body.py similarity index 79% rename from msgraph_beta/generated/users/item/managed_devices/item/restore_cloud_pc/restore_cloud_pc_post_request_body.py rename to msgraph_beta/generated/device_management/virtual_endpoint/bulk_actions/item/retry/retry_post_request_body.py index 49a27c0935c..2618d5bc64c 100644 --- a/msgraph_beta/generated/users/item/managed_devices/item/restore_cloud_pc/restore_cloud_pc_post_request_body.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/bulk_actions/item/retry/retry_post_request_body.py @@ -5,25 +5,25 @@ from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union @dataclass -class RestoreCloudPcPostRequestBody(AdditionalDataHolder, BackedModel, Parsable): +class RetryPostRequestBody(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 cloudPcSnapshotId property - cloud_pc_snapshot_id: Optional[str] = None + # The cloudPcIds property + cloud_pc_ids: Optional[List[str]] = None @staticmethod - def create_from_discriminator_value(parse_node: ParseNode) -> RestoreCloudPcPostRequestBody: + def create_from_discriminator_value(parse_node: ParseNode) -> RetryPostRequestBody: """ 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: RestoreCloudPcPostRequestBody + Returns: RetryPostRequestBody """ if parse_node is None: raise TypeError("parse_node cannot be null.") - return RestoreCloudPcPostRequestBody() + return RetryPostRequestBody() def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: """ @@ -31,7 +31,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: Returns: Dict[str, Callable[[ParseNode], None]] """ fields: Dict[str, Callable[[Any], None]] = { - "cloudPcSnapshotId": lambda n : setattr(self, 'cloud_pc_snapshot_id', n.get_str_value()), + "cloudPcIds": lambda n : setattr(self, 'cloud_pc_ids', n.get_collection_of_primitive_values(str)), } return fields @@ -43,7 +43,7 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") - writer.write_str_value("cloudPcSnapshotId", self.cloud_pc_snapshot_id) + writer.write_collection_of_primitive_values("cloudPcIds", self.cloud_pc_ids) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/managed_devices/item/resize_cloud_pc/resize_cloud_pc_request_builder.py b/msgraph_beta/generated/device_management/virtual_endpoint/bulk_actions/item/retry/retry_request_builder.py similarity index 66% rename from msgraph_beta/generated/users/item/managed_devices/item/resize_cloud_pc/resize_cloud_pc_request_builder.py rename to msgraph_beta/generated/device_management/virtual_endpoint/bulk_actions/item/retry/retry_request_builder.py index d7712935b16..d45ade69746 100644 --- a/msgraph_beta/generated/users/item/managed_devices/item/resize_cloud_pc/resize_cloud_pc_request_builder.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/bulk_actions/item/retry/retry_request_builder.py @@ -14,29 +14,28 @@ if TYPE_CHECKING: from ......models.o_data_errors.o_data_error import ODataError - from .resize_cloud_pc_post_request_body import ResizeCloudPcPostRequestBody + from .retry_post_request_body import RetryPostRequestBody -class ResizeCloudPcRequestBuilder(BaseRequestBuilder): +class RetryRequestBuilder(BaseRequestBuilder): """ - Provides operations to call the resizeCloudPc method. + Provides operations to call the retry method. """ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: """ - Instantiates a new ResizeCloudPcRequestBuilder and sets the default values. + Instantiates a new RetryRequestBuilder 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}/users/{user%2Did}/managedDevices/{managedDevice%2Did}/resizeCloudPc", path_parameters) + super().__init__(request_adapter, "{+baseurl}/deviceManagement/virtualEndpoint/bulkActions/{cloudPcBulkAction%2Did}/retry", path_parameters) - async def post(self,body: ResizeCloudPcPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: + async def post(self,body: RetryPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ - Invoke action resizeCloudPc + Invoke action retry param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ - warn("The resizeCloudPc API is deprecated and will stop returning on Oct 30, 2023. Please use resize instead as of 2023-05/resizeCloudPc", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -51,14 +50,13 @@ async def post(self,body: ResizeCloudPcPostRequestBody, request_configuration: O 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: ResizeCloudPcPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + def to_post_request_information(self,body: RetryPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Invoke action resizeCloudPc + Invoke action retry param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The resizeCloudPc API is deprecated and will stop returning on Oct 30, 2023. Please use resize instead as of 2023-05/resizeCloudPc", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -67,19 +65,18 @@ def to_post_request_information(self,body: ResizeCloudPcPostRequestBody, request request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info - def with_url(self,raw_url: str) -> ResizeCloudPcRequestBuilder: + def with_url(self,raw_url: str) -> RetryRequestBuilder: """ 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: ResizeCloudPcRequestBuilder + Returns: RetryRequestBuilder """ - warn("The resizeCloudPc API is deprecated and will stop returning on Oct 30, 2023. Please use resize instead as of 2023-05/resizeCloudPc", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") - return ResizeCloudPcRequestBuilder(self.request_adapter, raw_url) + return RetryRequestBuilder(self.request_adapter, raw_url) @dataclass - class ResizeCloudPcRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]): + class RetryRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]): """ Configuration for the request such as headers, query parameters, and middleware options. """ diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/bulk_resize/bulk_resize_post_response.py b/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/bulk_resize/bulk_resize_post_response.py index d319bb085f9..77bb7e3d352 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/bulk_resize/bulk_resize_post_response.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/bulk_resize/bulk_resize_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .....models.cloud_pc_remote_action_result import CloudPcRemoteActionResult + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/count/count_request_builder.py b/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/count/count_request_builder.py index 96fc56b7692..f4716f0eab9 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/get_provisioned_cloud_p_cs_with_group_id_with_service_plan_id/get_provisioned_cloud_p_cs_with_group_id_with_service_plan_id_get_response.py b/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/get_provisioned_cloud_p_cs_with_group_id_with_service_plan_id/get_provisioned_cloud_p_cs_with_group_id_with_service_plan_id_get_response.py index 32caf6a46fa..d6a657a634d 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/get_provisioned_cloud_p_cs_with_group_id_with_service_plan_id/get_provisioned_cloud_p_cs_with_group_id_with_service_plan_id_get_response.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/get_provisioned_cloud_p_cs_with_group_id_with_service_plan_id/get_provisioned_cloud_p_cs_with_group_id_with_service_plan_id_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .....models.cloud_p_c import CloudPC + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/item/change_user_account_type/change_user_account_type_post_request_body.py b/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/item/change_user_account_type/change_user_account_type_post_request_body.py index 8ac26d1d899..57d84242d25 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/item/change_user_account_type/change_user_account_type_post_request_body.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/item/change_user_account_type/change_user_account_type_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ......models.cloud_pc_user_account_type import CloudPcUserAccountType + writer.write_enum_value("userAccountType", self.user_account_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/item/get_cloud_pc_connectivity_history/get_cloud_pc_connectivity_history_get_response.py b/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/item/get_cloud_pc_connectivity_history/get_cloud_pc_connectivity_history_get_response.py index df9ddcb97a0..b5583284f0f 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/item/get_cloud_pc_connectivity_history/get_cloud_pc_connectivity_history_get_response.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/item/get_cloud_pc_connectivity_history/get_cloud_pc_connectivity_history_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ......models.cloud_pc_connectivity_event import CloudPcConnectivityEvent + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/item/get_frontline_cloud_pc_access_state/get_frontline_cloud_pc_access_state_request_builder.py b/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/item/get_frontline_cloud_pc_access_state/get_frontline_cloud_pc_access_state_request_builder.py index 2d003d76968..9b733e39b46 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/item/get_frontline_cloud_pc_access_state/get_frontline_cloud_pc_access_state_request_builder.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/item/get_frontline_cloud_pc_access_state/get_frontline_cloud_pc_access_state_request_builder.py @@ -48,7 +48,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[QueryPar raise Exception("Http core is null") from ......models.frontline_cloud_pc_access_state import FrontlineCloudPcAccessState - return await self.request_adapter.send_async(request_info, frontlineCloudPcAccessState, error_mapping) + return await self.request_adapter.send_primitive_async(request_info, "frontlineCloudPcAccessState", error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/item/get_supported_cloud_pc_remote_actions/get_supported_cloud_pc_remote_actions_get_response.py b/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/item/get_supported_cloud_pc_remote_actions/get_supported_cloud_pc_remote_actions_get_response.py index 00de89c7f14..d3d4b1558e4 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/item/get_supported_cloud_pc_remote_actions/get_supported_cloud_pc_remote_actions_get_response.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/item/get_supported_cloud_pc_remote_actions/get_supported_cloud_pc_remote_actions_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ......models.cloud_pc_remote_action_capability import CloudPcRemoteActionCapability + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/item/reprovision/reprovision_post_request_body.py b/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/item/reprovision/reprovision_post_request_body.py index bfacc89f68f..4d228361250 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/item/reprovision/reprovision_post_request_body.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/item/reprovision/reprovision_post_request_body.py @@ -56,6 +56,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ......models.cloud_pc_operating_system import CloudPcOperatingSystem + from ......models.cloud_pc_user_account_type import CloudPcUserAccountType + writer.write_enum_value("osVersion", self.os_version) writer.write_enum_value("userAccountType", self.user_account_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/item/retrieve_cloud_p_c_remote_action_results/retrieve_cloud_p_c_remote_action_results_get_response.py b/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/item/retrieve_cloud_p_c_remote_action_results/retrieve_cloud_p_c_remote_action_results_get_response.py index 9e5b96c770f..68f9630b9a1 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/item/retrieve_cloud_p_c_remote_action_results/retrieve_cloud_p_c_remote_action_results_get_response.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/item/retrieve_cloud_p_c_remote_action_results/retrieve_cloud_p_c_remote_action_results_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ......models.cloud_pc_remote_action_result import CloudPcRemoteActionResult + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/item/retrieve_snapshots/retrieve_snapshots_get_response.py b/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/item/retrieve_snapshots/retrieve_snapshots_get_response.py index 0e6da3d3f3b..551750baf6f 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/item/retrieve_snapshots/retrieve_snapshots_get_response.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/item/retrieve_snapshots/retrieve_snapshots_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ......models.cloud_pc_snapshot import CloudPcSnapshot + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/item/set_review_status/set_review_status_post_request_body.py b/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/item/set_review_status/set_review_status_post_request_body.py index f104867815f..2ee25c67a6a 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/item/set_review_status/set_review_status_post_request_body.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/item/set_review_status/set_review_status_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ......models.cloud_pc_review_status import CloudPcReviewStatus + writer.write_object_value("reviewStatus", self.review_status) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/validate_bulk_resize/validate_bulk_resize_post_response.py b/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/validate_bulk_resize/validate_bulk_resize_post_response.py index b7474911a78..b0acb7fbd82 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/validate_bulk_resize/validate_bulk_resize_post_response.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/validate_bulk_resize/validate_bulk_resize_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .....models.cloud_pc_resize_validation_result import CloudPcResizeValidationResult + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/device_images/count/count_request_builder.py b/msgraph_beta/generated/device_management/virtual_endpoint/device_images/count/count_request_builder.py index 5048f8ec472..b7ab289a10b 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/device_images/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/device_images/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/device_images/get_source_images/get_source_images_get_response.py b/msgraph_beta/generated/device_management/virtual_endpoint/device_images/get_source_images/get_source_images_get_response.py index 32fe6c6b72f..22b0adc61e2 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/device_images/get_source_images/get_source_images_get_response.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/device_images/get_source_images/get_source_images_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .....models.cloud_pc_source_device_image import CloudPcSourceDeviceImage + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/external_partner_settings/count/count_request_builder.py b/msgraph_beta/generated/device_management/virtual_endpoint/external_partner_settings/count/count_request_builder.py index 7c29c31a8ca..26edb1a1c81 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/external_partner_settings/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/external_partner_settings/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/front_line_service_plans/count/count_request_builder.py b/msgraph_beta/generated/device_management/virtual_endpoint/front_line_service_plans/count/count_request_builder.py index cdc0ec948f0..bb3496a4ba6 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/front_line_service_plans/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/front_line_service_plans/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/gallery_images/count/count_request_builder.py b/msgraph_beta/generated/device_management/virtual_endpoint/gallery_images/count/count_request_builder.py index 2b17459f7a3..ff473a86451 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/gallery_images/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/gallery_images/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/get_effective_permissions/get_effective_permissions_get_response.py b/msgraph_beta/generated/device_management/virtual_endpoint/get_effective_permissions/get_effective_permissions_get_response.py index 104d7ea623e..53d106d6d1c 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/get_effective_permissions/get_effective_permissions_get_response.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/get_effective_permissions/get_effective_permissions_get_response.py @@ -49,6 +49,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_primitive_values("value", self.value) diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/on_premises_connections/count/count_request_builder.py b/msgraph_beta/generated/device_management/virtual_endpoint/on_premises_connections/count/count_request_builder.py index 84c7b509792..3718155e1d4 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/on_premises_connections/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/on_premises_connections/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/provisioning_policies/apply_config/apply_config_post_request_body.py b/msgraph_beta/generated/device_management/virtual_endpoint/provisioning_policies/apply_config/apply_config_post_request_body.py index 573b231e586..a70bb486099 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/provisioning_policies/apply_config/apply_config_post_request_body.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/provisioning_policies/apply_config/apply_config_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.cloud_pc_policy_setting_type import CloudPcPolicySettingType + writer.write_collection_of_primitive_values("cloudPcIds", self.cloud_pc_ids) writer.write_enum_value("policySettings", self.policy_settings) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/provisioning_policies/count/count_request_builder.py b/msgraph_beta/generated/device_management/virtual_endpoint/provisioning_policies/count/count_request_builder.py index fe8b7c607ee..61e83282200 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/provisioning_policies/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/provisioning_policies/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/provisioning_policies/item/apply/apply_post_request_body.py b/msgraph_beta/generated/device_management/virtual_endpoint/provisioning_policies/item/apply/apply_post_request_body.py index 682de67c3ae..4bd562744e9 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/provisioning_policies/item/apply/apply_post_request_body.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/provisioning_policies/item/apply/apply_post_request_body.py @@ -16,6 +16,8 @@ class ApplyPostRequestBody(AdditionalDataHolder, BackedModel, Parsable): additional_data: Dict[str, Any] = field(default_factory=dict) # The policySettings property policy_settings: Optional[CloudPcPolicySettingType] = None + # The reservePercentage property + reserve_percentage: Optional[int] = None @staticmethod def create_from_discriminator_value(parse_node: ParseNode) -> ApplyPostRequestBody: @@ -39,6 +41,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: fields: Dict[str, Callable[[Any], None]] = { "policySettings": lambda n : setattr(self, 'policy_settings', n.get_collection_of_enum_values(CloudPcPolicySettingType)), + "reservePercentage": lambda n : setattr(self, 'reserve_percentage', n.get_int_value()), } return fields @@ -50,7 +53,10 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ......models.cloud_pc_policy_setting_type import CloudPcPolicySettingType + writer.write_enum_value("policySettings", self.policy_settings) + writer.write_int_value("reservePercentage", self.reserve_percentage) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/provisioning_policies/item/assign/assign_post_request_body.py b/msgraph_beta/generated/device_management/virtual_endpoint/provisioning_policies/item/assign/assign_post_request_body.py index 7369efda905..3dea5d095b1 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/provisioning_policies/item/assign/assign_post_request_body.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/provisioning_policies/item/assign/assign_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ......models.cloud_pc_provisioning_policy_assignment import CloudPcProvisioningPolicyAssignment + writer.write_collection_of_object_values("assignments", self.assignments) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/provisioning_policies/item/assignments/count/count_request_builder.py b/msgraph_beta/generated/device_management/virtual_endpoint/provisioning_policies/item/assignments/count/count_request_builder.py index 311a1f4bce9..35110b0109e 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/provisioning_policies/item/assignments/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/provisioning_policies/item/assignments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/provisioning_policies/item/assignments/item/assigned_users/count/count_request_builder.py b/msgraph_beta/generated/device_management/virtual_endpoint/provisioning_policies/item/assignments/item/assigned_users/count/count_request_builder.py index 67e5778ab56..d08c9ce6038 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/provisioning_policies/item/assignments/item/assigned_users/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/provisioning_policies/item/assignments/item/assigned_users/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/provisioning_policies/item/assignments/item/assigned_users/item/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/device_management/virtual_endpoint/provisioning_policies/item/assignments/item/assigned_users/item/service_provisioning_errors/count/count_request_builder.py index d30f27773ed..2b210e2353c 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/provisioning_policies/item/assignments/item/assigned_users/item/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/provisioning_policies/item/assignments/item/assigned_users/item/service_provisioning_errors/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/provisioning_policies/item/assignments/item/assigned_users_with_user_principal_name/assigned_users_with_user_principal_name_request_builder.py b/msgraph_beta/generated/device_management/virtual_endpoint/provisioning_policies/item/assignments/item/assigned_users_with_user_principal_name/assigned_users_with_user_principal_name_request_builder.py new file mode 100644 index 00000000000..9ccffca3cdf --- /dev/null +++ b/msgraph_beta/generated/device_management/virtual_endpoint/provisioning_policies/item/assignments/item/assigned_users_with_user_principal_name/assigned_users_with_user_principal_name_request_builder.py @@ -0,0 +1,109 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from ........models.o_data_errors.o_data_error import ODataError + from ........models.user import User + +class AssignedUsersWithUserPrincipalNameRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the assignedUsers property of the microsoft.graph.cloudPcProvisioningPolicyAssignment entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]], user_principal_name: Optional[str] = None) -> None: + """ + Instantiates a new AssignedUsersWithUserPrincipalNameRequestBuilder 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 user_principal_name: Alternate key of user + Returns: None + """ + if isinstance(path_parameters, dict): + path_parameters['userPrincipalName'] = user_principal_name + super().__init__(request_adapter, "{+baseurl}/deviceManagement/virtualEndpoint/provisioningPolicies/{cloudPcProvisioningPolicy%2Did}/assignments/{cloudPcProvisioningPolicyAssignment%2Did}/assignedUsers(userPrincipalName='{userPrincipalName}'){?%24expand,%24select}", path_parameters) + + async def get(self,request_configuration: Optional[RequestConfiguration[AssignedUsersWithUserPrincipalNameRequestBuilderGetQueryParameters]] = None) -> Optional[User]: + """ + The assignment targeted users for the provisioning policy. This list of users is computed based on assignments, licenses, group memberships, and policies. This property is read-only. Supports$expand. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[User] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ........models.user import User + + return await self.request_adapter.send_async(request_info, User, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[AssignedUsersWithUserPrincipalNameRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + The assignment targeted users for the provisioning policy. This list of users is computed based on assignments, licenses, group memberships, and policies. This property is read-only. Supports$expand. + 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) -> AssignedUsersWithUserPrincipalNameRequestBuilder: + """ + 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: AssignedUsersWithUserPrincipalNameRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return AssignedUsersWithUserPrincipalNameRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class AssignedUsersWithUserPrincipalNameRequestBuilderGetQueryParameters(): + """ + The assignment targeted users for the provisioning policy. This list of users is computed based on assignments, licenses, group memberships, and policies. This property is read-only. Supports$expand. + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "expand": + return "%24expand" + if original_name == "select": + return "%24select" + return original_name + + # Expand related entities + expand: Optional[List[str]] = None + + # Select properties to be returned + select: Optional[List[str]] = None + + + @dataclass + class AssignedUsersWithUserPrincipalNameRequestBuilderGetRequestConfiguration(RequestConfiguration[AssignedUsersWithUserPrincipalNameRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/provisioning_policies/item/assignments/item/cloud_pc_provisioning_policy_assignment_item_request_builder.py b/msgraph_beta/generated/device_management/virtual_endpoint/provisioning_policies/item/assignments/item/cloud_pc_provisioning_policy_assignment_item_request_builder.py index d2add49801d..9a1b2d96e56 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/provisioning_policies/item/assignments/item/cloud_pc_provisioning_policy_assignment_item_request_builder.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/provisioning_policies/item/assignments/item/cloud_pc_provisioning_policy_assignment_item_request_builder.py @@ -16,6 +16,7 @@ from .......models.cloud_pc_provisioning_policy_assignment import CloudPcProvisioningPolicyAssignment from .......models.o_data_errors.o_data_error import ODataError from .assigned_users.assigned_users_request_builder import AssignedUsersRequestBuilder + from .assigned_users_with_user_principal_name.assigned_users_with_user_principal_name_request_builder import AssignedUsersWithUserPrincipalNameRequestBuilder class CloudPcProvisioningPolicyAssignmentItemRequestBuilder(BaseRequestBuilder): """ @@ -30,6 +31,18 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D """ super().__init__(request_adapter, "{+baseurl}/deviceManagement/virtualEndpoint/provisioningPolicies/{cloudPcProvisioningPolicy%2Did}/assignments/{cloudPcProvisioningPolicyAssignment%2Did}{?%24expand,%24select}", path_parameters) + def assigned_users_with_user_principal_name(self,user_principal_name: str) -> AssignedUsersWithUserPrincipalNameRequestBuilder: + """ + Provides operations to manage the assignedUsers property of the microsoft.graph.cloudPcProvisioningPolicyAssignment entity. + param user_principal_name: Alternate key of user + Returns: AssignedUsersWithUserPrincipalNameRequestBuilder + """ + if user_principal_name is None: + raise TypeError("user_principal_name cannot be null.") + from .assigned_users_with_user_principal_name.assigned_users_with_user_principal_name_request_builder import AssignedUsersWithUserPrincipalNameRequestBuilder + + return AssignedUsersWithUserPrincipalNameRequestBuilder(self.request_adapter, self.path_parameters, user_principal_name) + async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ Delete navigation property assignments for deviceManagement diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/reports/export_jobs/count/count_request_builder.py b/msgraph_beta/generated/device_management/virtual_endpoint/reports/export_jobs/count/count_request_builder.py index 519c4e2d0b4..7f43aedb581 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/reports/export_jobs/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/reports/export_jobs/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/reports/get_cloud_pc_performance_report/get_cloud_pc_performance_report_post_request_body.py b/msgraph_beta/generated/device_management/virtual_endpoint/reports/get_cloud_pc_performance_report/get_cloud_pc_performance_report_post_request_body.py index fb7f44e2ee1..1af2c7c10f5 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/reports/get_cloud_pc_performance_report/get_cloud_pc_performance_report_post_request_body.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/reports/get_cloud_pc_performance_report/get_cloud_pc_performance_report_post_request_body.py @@ -71,6 +71,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.cloud_p_c_performance_report_name import CloudPCPerformanceReportName + writer.write_str_value("filter", self.filter) writer.write_collection_of_primitive_values("groupBy", self.group_by) writer.write_collection_of_primitive_values("orderBy", self.order_by) diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/reports/get_cloud_pc_recommendation_reports/get_cloud_pc_recommendation_reports_post_request_body.py b/msgraph_beta/generated/device_management/virtual_endpoint/reports/get_cloud_pc_recommendation_reports/get_cloud_pc_recommendation_reports_post_request_body.py index d55337e67d7..063c29ec03d 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/reports/get_cloud_pc_recommendation_reports/get_cloud_pc_recommendation_reports_post_request_body.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/reports/get_cloud_pc_recommendation_reports/get_cloud_pc_recommendation_reports_post_request_body.py @@ -71,6 +71,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.cloud_pc_report_name import CloudPcReportName + writer.write_str_value("filter", self.filter) writer.write_collection_of_primitive_values("groupBy", self.group_by) writer.write_collection_of_primitive_values("orderBy", self.order_by) diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/reports/get_frontline_report/get_frontline_report_post_request_body.py b/msgraph_beta/generated/device_management/virtual_endpoint/reports/get_frontline_report/get_frontline_report_post_request_body.py index cd3219bd86f..177195ddd04 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/reports/get_frontline_report/get_frontline_report_post_request_body.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/reports/get_frontline_report/get_frontline_report_post_request_body.py @@ -71,6 +71,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.cloud_pc_report_name import CloudPcReportName + writer.write_str_value("filter", self.filter) writer.write_collection_of_primitive_values("groupBy", self.group_by) writer.write_collection_of_primitive_values("orderBy", self.order_by) diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/reports/get_frontline_report/get_frontline_report_request_builder.py b/msgraph_beta/generated/device_management/virtual_endpoint/reports/get_frontline_report/get_frontline_report_request_builder.py index 8c4047552ff..dc0bfec08ba 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/reports/get_frontline_report/get_frontline_report_request_builder.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/reports/get_frontline_report/get_frontline_report_request_builder.py @@ -37,6 +37,7 @@ async def post(self,body: GetFrontlineReportPostRequestBody, request_configurati Returns: bytes Find more info here: https://learn.microsoft.com/graph/api/cloudpcreports-getfrontlinereport?view=graph-rest-beta """ + warn("Starting from December 31, 2024, this API ('getFrontlineReport') will be deprecated and no longer supported. Please use the retrieveFrontlineReports API. as of 2024-09/getFrontlineReport", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -58,6 +59,7 @@ def to_post_request_information(self,body: GetFrontlineReportPostRequestBody, re param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Starting from December 31, 2024, this API ('getFrontlineReport') will be deprecated and no longer supported. Please use the retrieveFrontlineReports API. as of 2024-09/getFrontlineReport", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -72,6 +74,7 @@ def with_url(self,raw_url: str) -> GetFrontlineReportRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: GetFrontlineReportRequestBuilder """ + warn("Starting from December 31, 2024, this API ('getFrontlineReport') will be deprecated and no longer supported. Please use the retrieveFrontlineReports API. as of 2024-09/getFrontlineReport", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return GetFrontlineReportRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/reports/get_inaccessible_cloud_pc_reports/get_inaccessible_cloud_pc_reports_post_request_body.py b/msgraph_beta/generated/device_management/virtual_endpoint/reports/get_inaccessible_cloud_pc_reports/get_inaccessible_cloud_pc_reports_post_request_body.py index 3afa80c104e..fdd3ff5c074 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/reports/get_inaccessible_cloud_pc_reports/get_inaccessible_cloud_pc_reports_post_request_body.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/reports/get_inaccessible_cloud_pc_reports/get_inaccessible_cloud_pc_reports_post_request_body.py @@ -71,6 +71,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.cloud_p_c_inaccessible_report_name import CloudPCInaccessibleReportName + writer.write_str_value("filter", self.filter) writer.write_collection_of_primitive_values("groupBy", self.group_by) writer.write_collection_of_primitive_values("orderBy", self.order_by) diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/reports/get_shared_use_license_usage_report/get_shared_use_license_usage_report_post_request_body.py b/msgraph_beta/generated/device_management/virtual_endpoint/reports/get_shared_use_license_usage_report/get_shared_use_license_usage_report_post_request_body.py index d7c5c5bf1d8..3cc68497f34 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/reports/get_shared_use_license_usage_report/get_shared_use_license_usage_report_post_request_body.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/reports/get_shared_use_license_usage_report/get_shared_use_license_usage_report_post_request_body.py @@ -71,6 +71,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.cloud_pc_report_name import CloudPcReportName + writer.write_str_value("filter", self.filter) writer.write_collection_of_primitive_values("groupBy", self.group_by) writer.write_collection_of_primitive_values("orderBy", self.order_by) diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/reports/reports_request_builder.py b/msgraph_beta/generated/device_management/virtual_endpoint/reports/reports_request_builder.py index 0be27a332a8..ac51d28d01c 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/reports/reports_request_builder.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/reports/reports_request_builder.py @@ -29,8 +29,10 @@ from .get_remote_connection_historical_reports.get_remote_connection_historical_reports_request_builder import GetRemoteConnectionHistoricalReportsRequestBuilder from .get_shared_use_license_usage_report.get_shared_use_license_usage_report_request_builder import GetSharedUseLicenseUsageReportRequestBuilder from .get_total_aggregated_remote_connection_reports.get_total_aggregated_remote_connection_reports_request_builder import GetTotalAggregatedRemoteConnectionReportsRequestBuilder + from .retrieve_bulk_action_status_report.retrieve_bulk_action_status_report_request_builder import RetrieveBulkActionStatusReportRequestBuilder from .retrieve_connection_quality_reports.retrieve_connection_quality_reports_request_builder import RetrieveConnectionQualityReportsRequestBuilder from .retrieve_cross_region_disaster_recovery_report.retrieve_cross_region_disaster_recovery_report_request_builder import RetrieveCrossRegionDisasterRecoveryReportRequestBuilder + from .retrieve_frontline_reports.retrieve_frontline_reports_request_builder import RetrieveFrontlineReportsRequestBuilder class ReportsRequestBuilder(BaseRequestBuilder): """ @@ -285,6 +287,15 @@ def get_total_aggregated_remote_connection_reports(self) -> GetTotalAggregatedRe return GetTotalAggregatedRemoteConnectionReportsRequestBuilder(self.request_adapter, self.path_parameters) + @property + def retrieve_bulk_action_status_report(self) -> RetrieveBulkActionStatusReportRequestBuilder: + """ + Provides operations to call the retrieveBulkActionStatusReport method. + """ + from .retrieve_bulk_action_status_report.retrieve_bulk_action_status_report_request_builder import RetrieveBulkActionStatusReportRequestBuilder + + return RetrieveBulkActionStatusReportRequestBuilder(self.request_adapter, self.path_parameters) + @property def retrieve_connection_quality_reports(self) -> RetrieveConnectionQualityReportsRequestBuilder: """ @@ -303,6 +314,15 @@ def retrieve_cross_region_disaster_recovery_report(self) -> RetrieveCrossRegionD return RetrieveCrossRegionDisasterRecoveryReportRequestBuilder(self.request_adapter, self.path_parameters) + @property + def retrieve_frontline_reports(self) -> RetrieveFrontlineReportsRequestBuilder: + """ + Provides operations to call the retrieveFrontlineReports method. + """ + from .retrieve_frontline_reports.retrieve_frontline_reports_request_builder import RetrieveFrontlineReportsRequestBuilder + + return RetrieveFrontlineReportsRequestBuilder(self.request_adapter, self.path_parameters) + @dataclass class ReportsRequestBuilderDeleteRequestConfiguration(RequestConfiguration[QueryParameters]): """ diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/reports/retrieve_bulk_action_status_report/retrieve_bulk_action_status_report_post_request_body.py b/msgraph_beta/generated/device_management/virtual_endpoint/reports/retrieve_bulk_action_status_report/retrieve_bulk_action_status_report_post_request_body.py new file mode 100644 index 00000000000..2c7df8f65d1 --- /dev/null +++ b/msgraph_beta/generated/device_management/virtual_endpoint/reports/retrieve_bulk_action_status_report/retrieve_bulk_action_status_report_post_request_body.py @@ -0,0 +1,73 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +@dataclass +class RetrieveBulkActionStatusReportPostRequestBody(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 filter property + filter: Optional[str] = None + # The groupBy property + group_by: Optional[List[str]] = None + # The orderBy property + order_by: Optional[List[str]] = None + # The search property + search: Optional[str] = None + # The select property + select: Optional[List[str]] = None + # The skip property + skip: Optional[int] = None + # The top property + top: Optional[int] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> RetrieveBulkActionStatusReportPostRequestBody: + """ + 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: RetrieveBulkActionStatusReportPostRequestBody + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return RetrieveBulkActionStatusReportPostRequestBody() + + 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]] = { + "filter": lambda n : setattr(self, 'filter', n.get_str_value()), + "groupBy": lambda n : setattr(self, 'group_by', n.get_collection_of_primitive_values(str)), + "orderBy": lambda n : setattr(self, 'order_by', n.get_collection_of_primitive_values(str)), + "search": lambda n : setattr(self, 'search', n.get_str_value()), + "select": lambda n : setattr(self, 'select', n.get_collection_of_primitive_values(str)), + "skip": lambda n : setattr(self, 'skip', n.get_int_value()), + "top": lambda n : setattr(self, 'top', n.get_int_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("filter", self.filter) + writer.write_collection_of_primitive_values("groupBy", self.group_by) + writer.write_collection_of_primitive_values("orderBy", self.order_by) + writer.write_str_value("search", self.search) + writer.write_collection_of_primitive_values("select", self.select) + writer.write_int_value("skip", self.skip) + writer.write_int_value("top", self.top) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/device_management/comanaged_devices/item/resize_cloud_pc/resize_cloud_pc_request_builder.py b/msgraph_beta/generated/device_management/virtual_endpoint/reports/retrieve_bulk_action_status_report/retrieve_bulk_action_status_report_request_builder.py similarity index 63% rename from msgraph_beta/generated/device_management/comanaged_devices/item/resize_cloud_pc/resize_cloud_pc_request_builder.py rename to msgraph_beta/generated/device_management/virtual_endpoint/reports/retrieve_bulk_action_status_report/retrieve_bulk_action_status_report_request_builder.py index 29548633b86..0ba5d125b49 100644 --- a/msgraph_beta/generated/device_management/comanaged_devices/item/resize_cloud_pc/resize_cloud_pc_request_builder.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/reports/retrieve_bulk_action_status_report/retrieve_bulk_action_status_report_request_builder.py @@ -14,29 +14,29 @@ if TYPE_CHECKING: from .....models.o_data_errors.o_data_error import ODataError - from .resize_cloud_pc_post_request_body import ResizeCloudPcPostRequestBody + from .retrieve_bulk_action_status_report_post_request_body import RetrieveBulkActionStatusReportPostRequestBody -class ResizeCloudPcRequestBuilder(BaseRequestBuilder): +class RetrieveBulkActionStatusReportRequestBuilder(BaseRequestBuilder): """ - Provides operations to call the resizeCloudPc method. + Provides operations to call the retrieveBulkActionStatusReport method. """ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: """ - Instantiates a new ResizeCloudPcRequestBuilder and sets the default values. + Instantiates a new RetrieveBulkActionStatusReportRequestBuilder 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}/deviceManagement/comanagedDevices/{managedDevice%2Did}/resizeCloudPc", path_parameters) + super().__init__(request_adapter, "{+baseurl}/deviceManagement/virtualEndpoint/reports/retrieveBulkActionStatusReport", path_parameters) - async def post(self,body: ResizeCloudPcPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: + async def post(self,body: RetrieveBulkActionStatusReportPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[bytes]: """ - Invoke action resizeCloudPc + Get the bulk remote action status report, including data such as the bulk action ID, bulk action display name, initiating user's principal name, action type, and action state. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: None + Returns: bytes + Find more info here: https://learn.microsoft.com/graph/api/cloudpcreports-retrievebulkactionstatusreport?view=graph-rest-beta """ - warn("The resizeCloudPc API is deprecated and will stop returning on Oct 30, 2023. Please use resize instead as of 2023-05/resizeCloudPc", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -49,37 +49,35 @@ async def post(self,body: ResizeCloudPcPostRequestBody, request_configuration: O } 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) + return await self.request_adapter.send_primitive_async(request_info, "bytes", error_mapping) - def to_post_request_information(self,body: ResizeCloudPcPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + def to_post_request_information(self,body: RetrieveBulkActionStatusReportPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Invoke action resizeCloudPc + Get the bulk remote action status report, including data such as the bulk action ID, bulk action display name, initiating user's principal name, action type, and action state. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The resizeCloudPc API is deprecated and will stop returning on Oct 30, 2023. Please use resize instead as of 2023-05/resizeCloudPc", DeprecationWarning) 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.headers.try_add("Accept", "application/octet-stream, application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info - def with_url(self,raw_url: str) -> ResizeCloudPcRequestBuilder: + def with_url(self,raw_url: str) -> RetrieveBulkActionStatusReportRequestBuilder: """ 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: ResizeCloudPcRequestBuilder + Returns: RetrieveBulkActionStatusReportRequestBuilder """ - warn("The resizeCloudPc API is deprecated and will stop returning on Oct 30, 2023. Please use resize instead as of 2023-05/resizeCloudPc", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") - return ResizeCloudPcRequestBuilder(self.request_adapter, raw_url) + return RetrieveBulkActionStatusReportRequestBuilder(self.request_adapter, raw_url) @dataclass - class ResizeCloudPcRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]): + class RetrieveBulkActionStatusReportRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]): """ Configuration for the request such as headers, query parameters, and middleware options. """ diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/reports/retrieve_connection_quality_reports/retrieve_connection_quality_reports_post_request_body.py b/msgraph_beta/generated/device_management/virtual_endpoint/reports/retrieve_connection_quality_reports/retrieve_connection_quality_reports_post_request_body.py index e6777c473a7..a8a7731d0b5 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/reports/retrieve_connection_quality_reports/retrieve_connection_quality_reports_post_request_body.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/reports/retrieve_connection_quality_reports/retrieve_connection_quality_reports_post_request_body.py @@ -71,6 +71,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.cloud_p_c_connection_quality_report_type import CloudPCConnectionQualityReportType + writer.write_str_value("filter", self.filter) writer.write_collection_of_primitive_values("groupBy", self.group_by) writer.write_collection_of_primitive_values("orderBy", self.order_by) diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/reports/retrieve_frontline_reports/retrieve_frontline_reports_post_request_body.py b/msgraph_beta/generated/device_management/virtual_endpoint/reports/retrieve_frontline_reports/retrieve_frontline_reports_post_request_body.py new file mode 100644 index 00000000000..3c0e5bb7d95 --- /dev/null +++ b/msgraph_beta/generated/device_management/virtual_endpoint/reports/retrieve_frontline_reports/retrieve_frontline_reports_post_request_body.py @@ -0,0 +1,86 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .....models.cloud_p_c_frontline_report_type import CloudPCFrontlineReportType + +@dataclass +class RetrieveFrontlineReportsPostRequestBody(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 filter property + filter: Optional[str] = None + # The groupBy property + group_by: Optional[List[str]] = None + # The orderBy property + order_by: Optional[List[str]] = None + # The reportName property + report_name: Optional[CloudPCFrontlineReportType] = None + # The search property + search: Optional[str] = None + # The select property + select: Optional[List[str]] = None + # The skip property + skip: Optional[int] = None + # The top property + top: Optional[int] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> RetrieveFrontlineReportsPostRequestBody: + """ + 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: RetrieveFrontlineReportsPostRequestBody + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return RetrieveFrontlineReportsPostRequestBody() + + 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.cloud_p_c_frontline_report_type import CloudPCFrontlineReportType + + from .....models.cloud_p_c_frontline_report_type import CloudPCFrontlineReportType + + fields: Dict[str, Callable[[Any], None]] = { + "filter": lambda n : setattr(self, 'filter', n.get_str_value()), + "groupBy": lambda n : setattr(self, 'group_by', n.get_collection_of_primitive_values(str)), + "orderBy": lambda n : setattr(self, 'order_by', n.get_collection_of_primitive_values(str)), + "reportName": lambda n : setattr(self, 'report_name', n.get_enum_value(CloudPCFrontlineReportType)), + "search": lambda n : setattr(self, 'search', n.get_str_value()), + "select": lambda n : setattr(self, 'select', n.get_collection_of_primitive_values(str)), + "skip": lambda n : setattr(self, 'skip', n.get_int_value()), + "top": lambda n : setattr(self, 'top', n.get_int_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.") + from .....models.cloud_p_c_frontline_report_type import CloudPCFrontlineReportType + + writer.write_str_value("filter", self.filter) + writer.write_collection_of_primitive_values("groupBy", self.group_by) + writer.write_collection_of_primitive_values("orderBy", self.order_by) + writer.write_enum_value("reportName", self.report_name) + writer.write_str_value("search", self.search) + writer.write_collection_of_primitive_values("select", self.select) + writer.write_int_value("skip", self.skip) + writer.write_int_value("top", self.top) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/device_management/managed_devices/item/resize_cloud_pc/resize_cloud_pc_request_builder.py b/msgraph_beta/generated/device_management/virtual_endpoint/reports/retrieve_frontline_reports/retrieve_frontline_reports_request_builder.py similarity index 64% rename from msgraph_beta/generated/device_management/managed_devices/item/resize_cloud_pc/resize_cloud_pc_request_builder.py rename to msgraph_beta/generated/device_management/virtual_endpoint/reports/retrieve_frontline_reports/retrieve_frontline_reports_request_builder.py index dd2e1c7a04c..4c3d433188d 100644 --- a/msgraph_beta/generated/device_management/managed_devices/item/resize_cloud_pc/resize_cloud_pc_request_builder.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/reports/retrieve_frontline_reports/retrieve_frontline_reports_request_builder.py @@ -14,29 +14,28 @@ if TYPE_CHECKING: from .....models.o_data_errors.o_data_error import ODataError - from .resize_cloud_pc_post_request_body import ResizeCloudPcPostRequestBody + from .retrieve_frontline_reports_post_request_body import RetrieveFrontlineReportsPostRequestBody -class ResizeCloudPcRequestBuilder(BaseRequestBuilder): +class RetrieveFrontlineReportsRequestBuilder(BaseRequestBuilder): """ - Provides operations to call the resizeCloudPc method. + Provides operations to call the retrieveFrontlineReports method. """ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: """ - Instantiates a new ResizeCloudPcRequestBuilder and sets the default values. + Instantiates a new RetrieveFrontlineReportsRequestBuilder 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}/deviceManagement/managedDevices/{managedDevice%2Did}/resizeCloudPc", path_parameters) + super().__init__(request_adapter, "{+baseurl}/deviceManagement/virtualEndpoint/reports/retrieveFrontlineReports", path_parameters) - async def post(self,body: ResizeCloudPcPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: + async def post(self,body: RetrieveFrontlineReportsPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[bytes]: """ - Invoke action resizeCloudPc + Invoke action retrieveFrontlineReports param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: None + Returns: bytes """ - warn("The resizeCloudPc API is deprecated and will stop returning on Oct 30, 2023. Please use resize instead as of 2023-05/resizeCloudPc", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -49,37 +48,35 @@ async def post(self,body: ResizeCloudPcPostRequestBody, request_configuration: O } 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) + return await self.request_adapter.send_primitive_async(request_info, "bytes", error_mapping) - def to_post_request_information(self,body: ResizeCloudPcPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + def to_post_request_information(self,body: RetrieveFrontlineReportsPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Invoke action resizeCloudPc + Invoke action retrieveFrontlineReports param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The resizeCloudPc API is deprecated and will stop returning on Oct 30, 2023. Please use resize instead as of 2023-05/resizeCloudPc", DeprecationWarning) 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.headers.try_add("Accept", "application/octet-stream, application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info - def with_url(self,raw_url: str) -> ResizeCloudPcRequestBuilder: + def with_url(self,raw_url: str) -> RetrieveFrontlineReportsRequestBuilder: """ 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: ResizeCloudPcRequestBuilder + Returns: RetrieveFrontlineReportsRequestBuilder """ - warn("The resizeCloudPc API is deprecated and will stop returning on Oct 30, 2023. Please use resize instead as of 2023-05/resizeCloudPc", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") - return ResizeCloudPcRequestBuilder(self.request_adapter, raw_url) + return RetrieveFrontlineReportsRequestBuilder(self.request_adapter, raw_url) @dataclass - class ResizeCloudPcRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]): + class RetrieveFrontlineReportsRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]): """ Configuration for the request such as headers, query parameters, and middleware options. """ diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/retrieve_scoped_permissions/retrieve_scoped_permissions_get_response.py b/msgraph_beta/generated/device_management/virtual_endpoint/retrieve_scoped_permissions/retrieve_scoped_permissions_get_response.py index ae332f6b1f8..10a3b6b5595 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/retrieve_scoped_permissions/retrieve_scoped_permissions_get_response.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/retrieve_scoped_permissions/retrieve_scoped_permissions_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ....models.cloud_pc_scoped_permission import CloudPcScopedPermission + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/service_plans/count/count_request_builder.py b/msgraph_beta/generated/device_management/virtual_endpoint/service_plans/count/count_request_builder.py index 5d69ae46e16..e77be4c28a7 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/service_plans/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/service_plans/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/snapshots/count/count_request_builder.py b/msgraph_beta/generated/device_management/virtual_endpoint/snapshots/count/count_request_builder.py index 66ccd2ccfa9..3ef8adde86d 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/snapshots/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/snapshots/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/snapshots/get_storage_accounts_with_subscription_id/get_storage_accounts_with_subscription_id_get_response.py b/msgraph_beta/generated/device_management/virtual_endpoint/snapshots/get_storage_accounts_with_subscription_id/get_storage_accounts_with_subscription_id_get_response.py index a7b8f8fffeb..d2e6d873dde 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/snapshots/get_storage_accounts_with_subscription_id/get_storage_accounts_with_subscription_id_get_response.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/snapshots/get_storage_accounts_with_subscription_id/get_storage_accounts_with_subscription_id_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .....models.cloud_pc_forensic_storage_account import CloudPcForensicStorageAccount + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/snapshots/get_subscriptions/get_subscriptions_get_response.py b/msgraph_beta/generated/device_management/virtual_endpoint/snapshots/get_subscriptions/get_subscriptions_get_response.py index 9193b71c549..291c04c3bcd 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/snapshots/get_subscriptions/get_subscriptions_get_response.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/snapshots/get_subscriptions/get_subscriptions_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .....models.cloud_pc_subscription import CloudPcSubscription + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/supported_regions/count/count_request_builder.py b/msgraph_beta/generated/device_management/virtual_endpoint/supported_regions/count/count_request_builder.py index c2a2946577c..1cee7240184 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/supported_regions/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/supported_regions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/user_settings/count/count_request_builder.py b/msgraph_beta/generated/device_management/virtual_endpoint/user_settings/count/count_request_builder.py index 7966e6fafed..7c1f387ce2c 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/user_settings/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/user_settings/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/user_settings/item/assign/assign_post_request_body.py b/msgraph_beta/generated/device_management/virtual_endpoint/user_settings/item/assign/assign_post_request_body.py index f5500c53842..7e4e72d6570 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/user_settings/item/assign/assign_post_request_body.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/user_settings/item/assign/assign_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ......models.cloud_pc_user_setting_assignment import CloudPcUserSettingAssignment + writer.write_collection_of_object_values("assignments", self.assignments) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/user_settings/item/assignments/count/count_request_builder.py b/msgraph_beta/generated/device_management/virtual_endpoint/user_settings/item/assignments/count/count_request_builder.py index f1e7fa7ad40..0804057cd48 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/user_settings/item/assignments/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/user_settings/item/assignments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/windows_autopilot_deployment_profiles/count/count_request_builder.py b/msgraph_beta/generated/device_management/windows_autopilot_deployment_profiles/count/count_request_builder.py index 30c3a236a81..31fc2320432 100644 --- a/msgraph_beta/generated/device_management/windows_autopilot_deployment_profiles/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/windows_autopilot_deployment_profiles/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/windows_autopilot_deployment_profiles/has_payload_links/has_payload_links_post_response.py b/msgraph_beta/generated/device_management/windows_autopilot_deployment_profiles/has_payload_links/has_payload_links_post_response.py index cbdd8b9a604..c84d78ee906 100644 --- a/msgraph_beta/generated/device_management/windows_autopilot_deployment_profiles/has_payload_links/has_payload_links_post_response.py +++ b/msgraph_beta/generated/device_management/windows_autopilot_deployment_profiles/has_payload_links/has_payload_links_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ....models.has_payload_link_result_item import HasPayloadLinkResultItem + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/device_management/windows_autopilot_deployment_profiles/item/assigned_devices/count/count_request_builder.py b/msgraph_beta/generated/device_management/windows_autopilot_deployment_profiles/item/assigned_devices/count/count_request_builder.py index ca43fa080c6..19312a5d801 100644 --- a/msgraph_beta/generated/device_management/windows_autopilot_deployment_profiles/item/assigned_devices/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/windows_autopilot_deployment_profiles/item/assigned_devices/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/windows_autopilot_deployment_profiles/item/assignments/count/count_request_builder.py b/msgraph_beta/generated/device_management/windows_autopilot_deployment_profiles/item/assignments/count/count_request_builder.py index e108e507f3e..ebc5939724a 100644 --- a/msgraph_beta/generated/device_management/windows_autopilot_deployment_profiles/item/assignments/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/windows_autopilot_deployment_profiles/item/assignments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/windows_autopilot_device_identities/count/count_request_builder.py b/msgraph_beta/generated/device_management/windows_autopilot_device_identities/count/count_request_builder.py index a3e96ad6f69..22918ba34e3 100644 --- a/msgraph_beta/generated/device_management/windows_autopilot_device_identities/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/windows_autopilot_device_identities/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/windows_driver_update_profiles/count/count_request_builder.py b/msgraph_beta/generated/device_management/windows_driver_update_profiles/count/count_request_builder.py index 2eccf1d9d6a..588547e7de7 100644 --- a/msgraph_beta/generated/device_management/windows_driver_update_profiles/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/windows_driver_update_profiles/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/windows_driver_update_profiles/item/assign/assign_post_request_body.py b/msgraph_beta/generated/device_management/windows_driver_update_profiles/item/assign/assign_post_request_body.py index 6264140b9fc..2aac559583f 100644 --- a/msgraph_beta/generated/device_management/windows_driver_update_profiles/item/assign/assign_post_request_body.py +++ b/msgraph_beta/generated/device_management/windows_driver_update_profiles/item/assign/assign_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.windows_driver_update_profile_assignment import WindowsDriverUpdateProfileAssignment + writer.write_collection_of_object_values("assignments", self.assignments) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/device_management/windows_driver_update_profiles/item/assignments/count/count_request_builder.py b/msgraph_beta/generated/device_management/windows_driver_update_profiles/item/assignments/count/count_request_builder.py index 4151335202a..204f1ae4a48 100644 --- a/msgraph_beta/generated/device_management/windows_driver_update_profiles/item/assignments/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/windows_driver_update_profiles/item/assignments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/windows_driver_update_profiles/item/driver_inventories/count/count_request_builder.py b/msgraph_beta/generated/device_management/windows_driver_update_profiles/item/driver_inventories/count/count_request_builder.py index cb4305a4a8b..b143938e7cf 100644 --- a/msgraph_beta/generated/device_management/windows_driver_update_profiles/item/driver_inventories/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/windows_driver_update_profiles/item/driver_inventories/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/windows_driver_update_profiles/item/execute_action/execute_action_post_request_body.py b/msgraph_beta/generated/device_management/windows_driver_update_profiles/item/execute_action/execute_action_post_request_body.py index c6f772c9f5c..6f64f1f3b48 100644 --- a/msgraph_beta/generated/device_management/windows_driver_update_profiles/item/execute_action/execute_action_post_request_body.py +++ b/msgraph_beta/generated/device_management/windows_driver_update_profiles/item/execute_action/execute_action_post_request_body.py @@ -57,6 +57,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.driver_approval_action import DriverApprovalAction + writer.write_enum_value("actionName", self.action_name) writer.write_datetime_value("deploymentDate", self.deployment_date) writer.write_collection_of_primitive_values("driverIds", self.driver_ids) diff --git a/msgraph_beta/generated/device_management/windows_feature_update_profiles/count/count_request_builder.py b/msgraph_beta/generated/device_management/windows_feature_update_profiles/count/count_request_builder.py index 8ff51da03bf..02b7753972c 100644 --- a/msgraph_beta/generated/device_management/windows_feature_update_profiles/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/windows_feature_update_profiles/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/windows_feature_update_profiles/item/assign/assign_post_request_body.py b/msgraph_beta/generated/device_management/windows_feature_update_profiles/item/assign/assign_post_request_body.py index 017c67f34d2..ae225281b2c 100644 --- a/msgraph_beta/generated/device_management/windows_feature_update_profiles/item/assign/assign_post_request_body.py +++ b/msgraph_beta/generated/device_management/windows_feature_update_profiles/item/assign/assign_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.windows_feature_update_profile_assignment import WindowsFeatureUpdateProfileAssignment + writer.write_collection_of_object_values("assignments", self.assignments) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/device_management/windows_feature_update_profiles/item/assignments/count/count_request_builder.py b/msgraph_beta/generated/device_management/windows_feature_update_profiles/item/assignments/count/count_request_builder.py index a3f45723883..96499b1dc62 100644 --- a/msgraph_beta/generated/device_management/windows_feature_update_profiles/item/assignments/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/windows_feature_update_profiles/item/assignments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/windows_information_protection_app_learning_summaries/count/count_request_builder.py b/msgraph_beta/generated/device_management/windows_information_protection_app_learning_summaries/count/count_request_builder.py index 6e37a24459f..cd8c3059bba 100644 --- a/msgraph_beta/generated/device_management/windows_information_protection_app_learning_summaries/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/windows_information_protection_app_learning_summaries/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/windows_information_protection_network_learning_summaries/count/count_request_builder.py b/msgraph_beta/generated/device_management/windows_information_protection_network_learning_summaries/count/count_request_builder.py index ba1c8f0864a..dab75326d7b 100644 --- a/msgraph_beta/generated/device_management/windows_information_protection_network_learning_summaries/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/windows_information_protection_network_learning_summaries/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/windows_malware_information/count/count_request_builder.py b/msgraph_beta/generated/device_management/windows_malware_information/count/count_request_builder.py index f6b1ccd0015..8cf00874200 100644 --- a/msgraph_beta/generated/device_management/windows_malware_information/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/windows_malware_information/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/windows_malware_information/item/device_malware_states/count/count_request_builder.py b/msgraph_beta/generated/device_management/windows_malware_information/item/device_malware_states/count/count_request_builder.py index fda9f6c038d..18fdaf00176 100644 --- a/msgraph_beta/generated/device_management/windows_malware_information/item/device_malware_states/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/windows_malware_information/item/device_malware_states/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/windows_quality_update_policies/count/count_request_builder.py b/msgraph_beta/generated/device_management/windows_quality_update_policies/count/count_request_builder.py index 47184456549..27a722c17f8 100644 --- a/msgraph_beta/generated/device_management/windows_quality_update_policies/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/windows_quality_update_policies/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/windows_quality_update_policies/item/assign/assign_post_request_body.py b/msgraph_beta/generated/device_management/windows_quality_update_policies/item/assign/assign_post_request_body.py index 830cc652382..9b29a8cea9b 100644 --- a/msgraph_beta/generated/device_management/windows_quality_update_policies/item/assign/assign_post_request_body.py +++ b/msgraph_beta/generated/device_management/windows_quality_update_policies/item/assign/assign_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.windows_quality_update_policy_assignment import WindowsQualityUpdatePolicyAssignment + writer.write_collection_of_object_values("assignments", self.assignments) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/device_management/windows_quality_update_policies/item/assignments/count/count_request_builder.py b/msgraph_beta/generated/device_management/windows_quality_update_policies/item/assignments/count/count_request_builder.py index 70c193d4704..21846f9b879 100644 --- a/msgraph_beta/generated/device_management/windows_quality_update_policies/item/assignments/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/windows_quality_update_policies/item/assignments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/windows_quality_update_profiles/count/count_request_builder.py b/msgraph_beta/generated/device_management/windows_quality_update_profiles/count/count_request_builder.py index fba0641c373..a13b44cd025 100644 --- a/msgraph_beta/generated/device_management/windows_quality_update_profiles/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/windows_quality_update_profiles/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/windows_quality_update_profiles/item/assign/assign_post_request_body.py b/msgraph_beta/generated/device_management/windows_quality_update_profiles/item/assign/assign_post_request_body.py index f289d2664db..a0b3729c01a 100644 --- a/msgraph_beta/generated/device_management/windows_quality_update_profiles/item/assign/assign_post_request_body.py +++ b/msgraph_beta/generated/device_management/windows_quality_update_profiles/item/assign/assign_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.windows_quality_update_profile_assignment import WindowsQualityUpdateProfileAssignment + writer.write_collection_of_object_values("assignments", self.assignments) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/device_management/windows_quality_update_profiles/item/assignments/count/count_request_builder.py b/msgraph_beta/generated/device_management/windows_quality_update_profiles/item/assignments/count/count_request_builder.py index 7b97f91aa94..4a6658eb154 100644 --- a/msgraph_beta/generated/device_management/windows_quality_update_profiles/item/assignments/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/windows_quality_update_profiles/item/assignments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/windows_update_catalog_items/count/count_request_builder.py b/msgraph_beta/generated/device_management/windows_update_catalog_items/count/count_request_builder.py index 969d974264a..cc1b224c10b 100644 --- a/msgraph_beta/generated/device_management/windows_update_catalog_items/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/windows_update_catalog_items/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/zebra_fota_artifacts/count/count_request_builder.py b/msgraph_beta/generated/device_management/zebra_fota_artifacts/count/count_request_builder.py index de53f078e43..8094ab645a0 100644 --- a/msgraph_beta/generated/device_management/zebra_fota_artifacts/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/zebra_fota_artifacts/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/device_management/zebra_fota_deployments/count/count_request_builder.py b/msgraph_beta/generated/device_management/zebra_fota_deployments/count/count_request_builder.py index 0896f8cd129..c216cbe0af5 100644 --- a/msgraph_beta/generated/device_management/zebra_fota_deployments/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/zebra_fota_deployments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/devices/count/count_request_builder.py b/msgraph_beta/generated/devices/count/count_request_builder.py index 58689a2aec3..9110cdb7f09 100644 --- a/msgraph_beta/generated/devices/count/count_request_builder.py +++ b/msgraph_beta/generated/devices/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/devices/delta/delta_get_response.py b/msgraph_beta/generated/devices/delta/delta_get_response.py index c79ec7cf8c2..5df1421bd36 100644 --- a/msgraph_beta/generated/devices/delta/delta_get_response.py +++ b/msgraph_beta/generated/devices/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ...models.base_delta_function_response import BaseDeltaFunctionResponse + from ...models.device import Device + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/devices/delta/delta_request_builder.py b/msgraph_beta/generated/devices/delta/delta_request_builder.py index 17f677f6bae..bbfca89bb79 100644 --- a/msgraph_beta/generated/devices/delta/delta_request_builder.py +++ b/msgraph_beta/generated/devices/delta/delta_request_builder.py @@ -31,7 +31,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def get(self,request_configuration: Optional[RequestConfiguration[DeltaRequestBuilderGetQueryParameters]] = None) -> Optional[DeltaGetResponse]: """ - Get newly created, updated, or deleted devices without performing a full read of the entire resource collection. For more information, see Using delta query. + Get newly created, updated, or deleted devices without performing a full read of the entire resource collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeltaGetResponse] Find more info here: https://learn.microsoft.com/graph/api/device-delta?view=graph-rest-beta @@ -52,7 +52,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DeltaReq def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[DeltaRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Get newly created, updated, or deleted devices without performing a full read of the entire resource collection. For more information, see Using delta query. + Get newly created, updated, or deleted devices without performing a full read of the entire resource collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -74,7 +74,7 @@ def with_url(self,raw_url: str) -> DeltaRequestBuilder: @dataclass class DeltaRequestBuilderGetQueryParameters(): """ - Get newly created, updated, or deleted devices without performing a full read of the entire resource collection. For more information, see Using delta query. + Get newly created, updated, or deleted devices without performing a full read of the entire resource collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/devices/get_by_ids/get_by_ids_post_response.py b/msgraph_beta/generated/devices/get_by_ids/get_by_ids_post_response.py index a3099558efc..488f70f9c5d 100644 --- a/msgraph_beta/generated/devices/get_by_ids/get_by_ids_post_response.py +++ b/msgraph_beta/generated/devices/get_by_ids/get_by_ids_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ...models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ...models.directory_object import DirectoryObject + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/devices/item/check_member_groups/check_member_groups_post_response.py b/msgraph_beta/generated/devices/item/check_member_groups/check_member_groups_post_response.py index cdf041e2573..b2ce0f888c9 100644 --- a/msgraph_beta/generated/devices/item/check_member_groups/check_member_groups_post_response.py +++ b/msgraph_beta/generated/devices/item/check_member_groups/check_member_groups_post_response.py @@ -49,6 +49,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_primitive_values("value", self.value) diff --git a/msgraph_beta/generated/devices/item/check_member_objects/check_member_objects_post_response.py b/msgraph_beta/generated/devices/item/check_member_objects/check_member_objects_post_response.py index 2dc94a92d04..e2a652a7c28 100644 --- a/msgraph_beta/generated/devices/item/check_member_objects/check_member_objects_post_response.py +++ b/msgraph_beta/generated/devices/item/check_member_objects/check_member_objects_post_response.py @@ -49,6 +49,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_primitive_values("value", self.value) diff --git a/msgraph_beta/generated/devices/item/commands/count/count_request_builder.py b/msgraph_beta/generated/devices/item/commands/count/count_request_builder.py index 7fe77032de2..e5b30c2ee2c 100644 --- a/msgraph_beta/generated/devices/item/commands/count/count_request_builder.py +++ b/msgraph_beta/generated/devices/item/commands/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/devices/item/extensions/count/count_request_builder.py b/msgraph_beta/generated/devices/item/extensions/count/count_request_builder.py index 049e7fd9c6e..a180a36a8e9 100644 --- a/msgraph_beta/generated/devices/item/extensions/count/count_request_builder.py +++ b/msgraph_beta/generated/devices/item/extensions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/devices/item/get_member_groups/get_member_groups_post_response.py b/msgraph_beta/generated/devices/item/get_member_groups/get_member_groups_post_response.py index bd4dad887b8..5ac4a9b07d5 100644 --- a/msgraph_beta/generated/devices/item/get_member_groups/get_member_groups_post_response.py +++ b/msgraph_beta/generated/devices/item/get_member_groups/get_member_groups_post_response.py @@ -49,6 +49,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_primitive_values("value", self.value) diff --git a/msgraph_beta/generated/devices/item/get_member_objects/get_member_objects_post_response.py b/msgraph_beta/generated/devices/item/get_member_objects/get_member_objects_post_response.py index fe38b269075..e63599e52a4 100644 --- a/msgraph_beta/generated/devices/item/get_member_objects/get_member_objects_post_response.py +++ b/msgraph_beta/generated/devices/item/get_member_objects/get_member_objects_post_response.py @@ -49,6 +49,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_primitive_values("value", self.value) diff --git a/msgraph_beta/generated/devices/item/member_of/count/count_request_builder.py b/msgraph_beta/generated/devices/item/member_of/count/count_request_builder.py index 6bf3a76cbf3..08ea32a14e3 100644 --- a/msgraph_beta/generated/devices/item/member_of/count/count_request_builder.py +++ b/msgraph_beta/generated/devices/item/member_of/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/devices/item/member_of/graph_administrative_unit/count/count_request_builder.py b/msgraph_beta/generated/devices/item/member_of/graph_administrative_unit/count/count_request_builder.py index e01d7f04626..53167adfd7a 100644 --- a/msgraph_beta/generated/devices/item/member_of/graph_administrative_unit/count/count_request_builder.py +++ b/msgraph_beta/generated/devices/item/member_of/graph_administrative_unit/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/devices/item/member_of/graph_group/count/count_request_builder.py b/msgraph_beta/generated/devices/item/member_of/graph_group/count/count_request_builder.py index fc5a7419d14..136c6e4a11c 100644 --- a/msgraph_beta/generated/devices/item/member_of/graph_group/count/count_request_builder.py +++ b/msgraph_beta/generated/devices/item/member_of/graph_group/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/devices/item/registered_owners/count/count_request_builder.py b/msgraph_beta/generated/devices/item/registered_owners/count/count_request_builder.py index cf24522cb9a..4622f0fe6e6 100644 --- a/msgraph_beta/generated/devices/item/registered_owners/count/count_request_builder.py +++ b/msgraph_beta/generated/devices/item/registered_owners/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/devices/item/registered_owners/graph_endpoint/count/count_request_builder.py b/msgraph_beta/generated/devices/item/registered_owners/graph_endpoint/count/count_request_builder.py index 6b932b7d4f8..0f689512815 100644 --- a/msgraph_beta/generated/devices/item/registered_owners/graph_endpoint/count/count_request_builder.py +++ b/msgraph_beta/generated/devices/item/registered_owners/graph_endpoint/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/devices/item/registered_owners/graph_service_principal/count/count_request_builder.py b/msgraph_beta/generated/devices/item/registered_owners/graph_service_principal/count/count_request_builder.py index b0537275991..b5e18415538 100644 --- a/msgraph_beta/generated/devices/item/registered_owners/graph_service_principal/count/count_request_builder.py +++ b/msgraph_beta/generated/devices/item/registered_owners/graph_service_principal/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/devices/item/registered_owners/graph_user/count/count_request_builder.py b/msgraph_beta/generated/devices/item/registered_owners/graph_user/count/count_request_builder.py index d4976f2e9a4..84cbc7be90a 100644 --- a/msgraph_beta/generated/devices/item/registered_owners/graph_user/count/count_request_builder.py +++ b/msgraph_beta/generated/devices/item/registered_owners/graph_user/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/devices/item/registered_users/count/count_request_builder.py b/msgraph_beta/generated/devices/item/registered_users/count/count_request_builder.py index fa5502b21e6..cc007a2e772 100644 --- a/msgraph_beta/generated/devices/item/registered_users/count/count_request_builder.py +++ b/msgraph_beta/generated/devices/item/registered_users/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/devices/item/registered_users/graph_endpoint/count/count_request_builder.py b/msgraph_beta/generated/devices/item/registered_users/graph_endpoint/count/count_request_builder.py index d990208a3b7..ae51309648f 100644 --- a/msgraph_beta/generated/devices/item/registered_users/graph_endpoint/count/count_request_builder.py +++ b/msgraph_beta/generated/devices/item/registered_users/graph_endpoint/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/devices/item/registered_users/graph_service_principal/count/count_request_builder.py b/msgraph_beta/generated/devices/item/registered_users/graph_service_principal/count/count_request_builder.py index 64bb996bc74..66b65cff975 100644 --- a/msgraph_beta/generated/devices/item/registered_users/graph_service_principal/count/count_request_builder.py +++ b/msgraph_beta/generated/devices/item/registered_users/graph_service_principal/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/devices/item/registered_users/graph_user/count/count_request_builder.py b/msgraph_beta/generated/devices/item/registered_users/graph_user/count/count_request_builder.py index 89dec4fbfa3..a23e0cdf9e5 100644 --- a/msgraph_beta/generated/devices/item/registered_users/graph_user/count/count_request_builder.py +++ b/msgraph_beta/generated/devices/item/registered_users/graph_user/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/devices/item/transitive_member_of/count/count_request_builder.py b/msgraph_beta/generated/devices/item/transitive_member_of/count/count_request_builder.py index 231e906a336..a0c99fb0341 100644 --- a/msgraph_beta/generated/devices/item/transitive_member_of/count/count_request_builder.py +++ b/msgraph_beta/generated/devices/item/transitive_member_of/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/devices/item/transitive_member_of/graph_administrative_unit/count/count_request_builder.py b/msgraph_beta/generated/devices/item/transitive_member_of/graph_administrative_unit/count/count_request_builder.py index a4d9d78737e..713d0248693 100644 --- a/msgraph_beta/generated/devices/item/transitive_member_of/graph_administrative_unit/count/count_request_builder.py +++ b/msgraph_beta/generated/devices/item/transitive_member_of/graph_administrative_unit/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/devices/item/transitive_member_of/graph_group/count/count_request_builder.py b/msgraph_beta/generated/devices/item/transitive_member_of/graph_group/count/count_request_builder.py index 77874226247..c9afe63533a 100644 --- a/msgraph_beta/generated/devices/item/transitive_member_of/graph_group/count/count_request_builder.py +++ b/msgraph_beta/generated/devices/item/transitive_member_of/graph_group/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/devices/item/usage_rights/count/count_request_builder.py b/msgraph_beta/generated/devices/item/usage_rights/count/count_request_builder.py index 6da804223a0..16e8553a3c1 100644 --- a/msgraph_beta/generated/devices/item/usage_rights/count/count_request_builder.py +++ b/msgraph_beta/generated/devices/item/usage_rights/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/directory/administrative_units/count/count_request_builder.py b/msgraph_beta/generated/directory/administrative_units/count/count_request_builder.py index e2e5eddaab7..23334f335d9 100644 --- a/msgraph_beta/generated/directory/administrative_units/count/count_request_builder.py +++ b/msgraph_beta/generated/directory/administrative_units/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/directory/administrative_units/delta/delta_get_response.py b/msgraph_beta/generated/directory/administrative_units/delta/delta_get_response.py index ba17ca1e0d8..cefe8d36125 100644 --- a/msgraph_beta/generated/directory/administrative_units/delta/delta_get_response.py +++ b/msgraph_beta/generated/directory/administrative_units/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.administrative_unit import AdministrativeUnit + from ....models.base_delta_function_response import BaseDeltaFunctionResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/directory/administrative_units/delta/delta_request_builder.py b/msgraph_beta/generated/directory/administrative_units/delta/delta_request_builder.py index 679a4c393eb..df05b5f53b1 100644 --- a/msgraph_beta/generated/directory/administrative_units/delta/delta_request_builder.py +++ b/msgraph_beta/generated/directory/administrative_units/delta/delta_request_builder.py @@ -31,7 +31,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def get(self,request_configuration: Optional[RequestConfiguration[DeltaRequestBuilderGetQueryParameters]] = None) -> Optional[DeltaGetResponse]: """ - Get newly created, updated, or deleted administrativeUnits without having to perform a full read of the entire resource collection. For details, see Using delta query. + Get newly created, updated, or deleted administrativeUnits without having to perform a full read of the entire resource collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeltaGetResponse] Find more info here: https://learn.microsoft.com/graph/api/administrativeunit-delta?view=graph-rest-beta @@ -52,7 +52,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DeltaReq def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[DeltaRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Get newly created, updated, or deleted administrativeUnits without having to perform a full read of the entire resource collection. For details, see Using delta query. + Get newly created, updated, or deleted administrativeUnits without having to perform a full read of the entire resource collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -74,7 +74,7 @@ def with_url(self,raw_url: str) -> DeltaRequestBuilder: @dataclass class DeltaRequestBuilderGetQueryParameters(): """ - Get newly created, updated, or deleted administrativeUnits without having to perform a full read of the entire resource collection. For details, see Using delta query. + Get newly created, updated, or deleted administrativeUnits without having to perform a full read of the entire resource collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/directory/administrative_units/item/extensions/count/count_request_builder.py b/msgraph_beta/generated/directory/administrative_units/item/extensions/count/count_request_builder.py index 96782dd0853..17187c4c0cf 100644 --- a/msgraph_beta/generated/directory/administrative_units/item/extensions/count/count_request_builder.py +++ b/msgraph_beta/generated/directory/administrative_units/item/extensions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/directory/administrative_units/item/members/count/count_request_builder.py b/msgraph_beta/generated/directory/administrative_units/item/members/count/count_request_builder.py index e6214d0a497..c0a3de40fdf 100644 --- a/msgraph_beta/generated/directory/administrative_units/item/members/count/count_request_builder.py +++ b/msgraph_beta/generated/directory/administrative_units/item/members/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/directory/administrative_units/item/members/graph_application/count/count_request_builder.py b/msgraph_beta/generated/directory/administrative_units/item/members/graph_application/count/count_request_builder.py index dc36e655ff4..a9e9650997c 100644 --- a/msgraph_beta/generated/directory/administrative_units/item/members/graph_application/count/count_request_builder.py +++ b/msgraph_beta/generated/directory/administrative_units/item/members/graph_application/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/directory/administrative_units/item/members/graph_device/count/count_request_builder.py b/msgraph_beta/generated/directory/administrative_units/item/members/graph_device/count/count_request_builder.py index 7106b08a47b..0234b42afab 100644 --- a/msgraph_beta/generated/directory/administrative_units/item/members/graph_device/count/count_request_builder.py +++ b/msgraph_beta/generated/directory/administrative_units/item/members/graph_device/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/directory/administrative_units/item/members/graph_group/count/count_request_builder.py b/msgraph_beta/generated/directory/administrative_units/item/members/graph_group/count/count_request_builder.py index a6bb09adf00..2da9bf92380 100644 --- a/msgraph_beta/generated/directory/administrative_units/item/members/graph_group/count/count_request_builder.py +++ b/msgraph_beta/generated/directory/administrative_units/item/members/graph_group/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/directory/administrative_units/item/members/graph_org_contact/count/count_request_builder.py b/msgraph_beta/generated/directory/administrative_units/item/members/graph_org_contact/count/count_request_builder.py index 02960c10c84..042608539ab 100644 --- a/msgraph_beta/generated/directory/administrative_units/item/members/graph_org_contact/count/count_request_builder.py +++ b/msgraph_beta/generated/directory/administrative_units/item/members/graph_org_contact/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/directory/administrative_units/item/members/graph_service_principal/count/count_request_builder.py b/msgraph_beta/generated/directory/administrative_units/item/members/graph_service_principal/count/count_request_builder.py index 9798fb40c0f..822e061e513 100644 --- a/msgraph_beta/generated/directory/administrative_units/item/members/graph_service_principal/count/count_request_builder.py +++ b/msgraph_beta/generated/directory/administrative_units/item/members/graph_service_principal/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/directory/administrative_units/item/members/graph_user/count/count_request_builder.py b/msgraph_beta/generated/directory/administrative_units/item/members/graph_user/count/count_request_builder.py index 5d67d745079..878d13a78f8 100644 --- a/msgraph_beta/generated/directory/administrative_units/item/members/graph_user/count/count_request_builder.py +++ b/msgraph_beta/generated/directory/administrative_units/item/members/graph_user/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/directory/administrative_units/item/scoped_role_members/count/count_request_builder.py b/msgraph_beta/generated/directory/administrative_units/item/scoped_role_members/count/count_request_builder.py index 4f887b60d3a..97238ee7439 100644 --- a/msgraph_beta/generated/directory/administrative_units/item/scoped_role_members/count/count_request_builder.py +++ b/msgraph_beta/generated/directory/administrative_units/item/scoped_role_members/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/directory/attribute_sets/count/count_request_builder.py b/msgraph_beta/generated/directory/attribute_sets/count/count_request_builder.py index a365ecbf301..474ee3b57d2 100644 --- a/msgraph_beta/generated/directory/attribute_sets/count/count_request_builder.py +++ b/msgraph_beta/generated/directory/attribute_sets/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/directory/certificate_authorities/certificate_based_application_configurations/count/count_request_builder.py b/msgraph_beta/generated/directory/certificate_authorities/certificate_based_application_configurations/count/count_request_builder.py index 9a15bb56c45..5a3ee5feb6d 100644 --- a/msgraph_beta/generated/directory/certificate_authorities/certificate_based_application_configurations/count/count_request_builder.py +++ b/msgraph_beta/generated/directory/certificate_authorities/certificate_based_application_configurations/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/directory/certificate_authorities/certificate_based_application_configurations/item/trusted_certificate_authorities/count/count_request_builder.py b/msgraph_beta/generated/directory/certificate_authorities/certificate_based_application_configurations/item/trusted_certificate_authorities/count/count_request_builder.py index 343507903fd..9abec6c9bb5 100644 --- a/msgraph_beta/generated/directory/certificate_authorities/certificate_based_application_configurations/item/trusted_certificate_authorities/count/count_request_builder.py +++ b/msgraph_beta/generated/directory/certificate_authorities/certificate_based_application_configurations/item/trusted_certificate_authorities/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/directory/custom_security_attribute_definitions/count/count_request_builder.py b/msgraph_beta/generated/directory/custom_security_attribute_definitions/count/count_request_builder.py index 97e668a628b..e991bed64ad 100644 --- a/msgraph_beta/generated/directory/custom_security_attribute_definitions/count/count_request_builder.py +++ b/msgraph_beta/generated/directory/custom_security_attribute_definitions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/directory/custom_security_attribute_definitions/item/allowed_values/count/count_request_builder.py b/msgraph_beta/generated/directory/custom_security_attribute_definitions/item/allowed_values/count/count_request_builder.py index be390bc89b2..85761a5d52e 100644 --- a/msgraph_beta/generated/directory/custom_security_attribute_definitions/item/allowed_values/count/count_request_builder.py +++ b/msgraph_beta/generated/directory/custom_security_attribute_definitions/item/allowed_values/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/directory/deleted_items/count/count_request_builder.py b/msgraph_beta/generated/directory/deleted_items/count/count_request_builder.py index 7b7c7b648f0..0b17bcb2da8 100644 --- a/msgraph_beta/generated/directory/deleted_items/count/count_request_builder.py +++ b/msgraph_beta/generated/directory/deleted_items/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/directory/deleted_items/get_by_ids/get_by_ids_post_response.py b/msgraph_beta/generated/directory/deleted_items/get_by_ids/get_by_ids_post_response.py index 6bc28723aee..4cde1cd139e 100644 --- a/msgraph_beta/generated/directory/deleted_items/get_by_ids/get_by_ids_post_response.py +++ b/msgraph_beta/generated/directory/deleted_items/get_by_ids/get_by_ids_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ....models.directory_object import DirectoryObject + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/directory/deleted_items/graph_administrative_unit/count/count_request_builder.py b/msgraph_beta/generated/directory/deleted_items/graph_administrative_unit/count/count_request_builder.py index 3d72365fe99..106427c2b69 100644 --- a/msgraph_beta/generated/directory/deleted_items/graph_administrative_unit/count/count_request_builder.py +++ b/msgraph_beta/generated/directory/deleted_items/graph_administrative_unit/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/directory/deleted_items/graph_application/count/count_request_builder.py b/msgraph_beta/generated/directory/deleted_items/graph_application/count/count_request_builder.py index b1967ecd741..cccbba8130c 100644 --- a/msgraph_beta/generated/directory/deleted_items/graph_application/count/count_request_builder.py +++ b/msgraph_beta/generated/directory/deleted_items/graph_application/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/directory/deleted_items/graph_device/count/count_request_builder.py b/msgraph_beta/generated/directory/deleted_items/graph_device/count/count_request_builder.py index 68b763d7ef4..a9c674a6f31 100644 --- a/msgraph_beta/generated/directory/deleted_items/graph_device/count/count_request_builder.py +++ b/msgraph_beta/generated/directory/deleted_items/graph_device/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/directory/deleted_items/graph_group/count/count_request_builder.py b/msgraph_beta/generated/directory/deleted_items/graph_group/count/count_request_builder.py index 586d4aa3fb8..9be8fa8fae3 100644 --- a/msgraph_beta/generated/directory/deleted_items/graph_group/count/count_request_builder.py +++ b/msgraph_beta/generated/directory/deleted_items/graph_group/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/directory/deleted_items/graph_service_principal/count/count_request_builder.py b/msgraph_beta/generated/directory/deleted_items/graph_service_principal/count/count_request_builder.py index 8e0fb4b5905..5d3411bcb2f 100644 --- a/msgraph_beta/generated/directory/deleted_items/graph_service_principal/count/count_request_builder.py +++ b/msgraph_beta/generated/directory/deleted_items/graph_service_principal/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/directory/deleted_items/graph_user/count/count_request_builder.py b/msgraph_beta/generated/directory/deleted_items/graph_user/count/count_request_builder.py index 876c6b2bc84..b1b869a2c6d 100644 --- a/msgraph_beta/generated/directory/deleted_items/graph_user/count/count_request_builder.py +++ b/msgraph_beta/generated/directory/deleted_items/graph_user/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/directory/deleted_items/item/check_member_groups/check_member_groups_post_response.py b/msgraph_beta/generated/directory/deleted_items/item/check_member_groups/check_member_groups_post_response.py index 3d871626521..2d0264a6720 100644 --- a/msgraph_beta/generated/directory/deleted_items/item/check_member_groups/check_member_groups_post_response.py +++ b/msgraph_beta/generated/directory/deleted_items/item/check_member_groups/check_member_groups_post_response.py @@ -49,6 +49,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_primitive_values("value", self.value) diff --git a/msgraph_beta/generated/directory/deleted_items/item/check_member_objects/check_member_objects_post_response.py b/msgraph_beta/generated/directory/deleted_items/item/check_member_objects/check_member_objects_post_response.py index 1257ad37d72..9ce3d122bbb 100644 --- a/msgraph_beta/generated/directory/deleted_items/item/check_member_objects/check_member_objects_post_response.py +++ b/msgraph_beta/generated/directory/deleted_items/item/check_member_objects/check_member_objects_post_response.py @@ -49,6 +49,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_primitive_values("value", self.value) diff --git a/msgraph_beta/generated/directory/deleted_items/item/get_member_groups/get_member_groups_post_response.py b/msgraph_beta/generated/directory/deleted_items/item/get_member_groups/get_member_groups_post_response.py index bb4e852e6fd..1ae4c83e831 100644 --- a/msgraph_beta/generated/directory/deleted_items/item/get_member_groups/get_member_groups_post_response.py +++ b/msgraph_beta/generated/directory/deleted_items/item/get_member_groups/get_member_groups_post_response.py @@ -49,6 +49,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_primitive_values("value", self.value) diff --git a/msgraph_beta/generated/directory/deleted_items/item/get_member_objects/get_member_objects_post_response.py b/msgraph_beta/generated/directory/deleted_items/item/get_member_objects/get_member_objects_post_response.py index 5cd63f592d9..7f32bd5d5ee 100644 --- a/msgraph_beta/generated/directory/deleted_items/item/get_member_objects/get_member_objects_post_response.py +++ b/msgraph_beta/generated/directory/deleted_items/item/get_member_objects/get_member_objects_post_response.py @@ -49,6 +49,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_primitive_values("value", self.value) diff --git a/msgraph_beta/generated/directory/device_local_credentials/count/count_request_builder.py b/msgraph_beta/generated/directory/device_local_credentials/count/count_request_builder.py index 6e352428355..83fb4bb2fcd 100644 --- a/msgraph_beta/generated/directory/device_local_credentials/count/count_request_builder.py +++ b/msgraph_beta/generated/directory/device_local_credentials/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/directory/external_user_profiles/count/count_request_builder.py b/msgraph_beta/generated/directory/external_user_profiles/count/count_request_builder.py index 1156ceda65f..a62136e5c00 100644 --- a/msgraph_beta/generated/directory/external_user_profiles/count/count_request_builder.py +++ b/msgraph_beta/generated/directory/external_user_profiles/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/directory/feature_rollout_policies/count/count_request_builder.py b/msgraph_beta/generated/directory/feature_rollout_policies/count/count_request_builder.py index 6e9c58e5e20..364c7ba6f8b 100644 --- a/msgraph_beta/generated/directory/feature_rollout_policies/count/count_request_builder.py +++ b/msgraph_beta/generated/directory/feature_rollout_policies/count/count_request_builder.py @@ -45,7 +45,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/directory/feature_rollout_policies/item/applies_to/count/count_request_builder.py b/msgraph_beta/generated/directory/feature_rollout_policies/item/applies_to/count/count_request_builder.py index cac23132a3c..8ef4e27ce49 100644 --- a/msgraph_beta/generated/directory/feature_rollout_policies/item/applies_to/count/count_request_builder.py +++ b/msgraph_beta/generated/directory/feature_rollout_policies/item/applies_to/count/count_request_builder.py @@ -45,7 +45,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/directory/federation_configurations/available_provider_types/available_provider_types_get_response.py b/msgraph_beta/generated/directory/federation_configurations/available_provider_types/available_provider_types_get_response.py index 9a1ce4cf6e6..db11a9e783e 100644 --- a/msgraph_beta/generated/directory/federation_configurations/available_provider_types/available_provider_types_get_response.py +++ b/msgraph_beta/generated/directory/federation_configurations/available_provider_types/available_provider_types_get_response.py @@ -49,6 +49,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_primitive_values("value", self.value) diff --git a/msgraph_beta/generated/directory/federation_configurations/count/count_request_builder.py b/msgraph_beta/generated/directory/federation_configurations/count/count_request_builder.py index f90fd7d70bb..c10bc6f1f7d 100644 --- a/msgraph_beta/generated/directory/federation_configurations/count/count_request_builder.py +++ b/msgraph_beta/generated/directory/federation_configurations/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/directory/impacted_resources/count/count_request_builder.py b/msgraph_beta/generated/directory/impacted_resources/count/count_request_builder.py index 714aeae827f..adf10416a39 100644 --- a/msgraph_beta/generated/directory/impacted_resources/count/count_request_builder.py +++ b/msgraph_beta/generated/directory/impacted_resources/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/directory/inbound_shared_user_profiles/count/count_request_builder.py b/msgraph_beta/generated/directory/inbound_shared_user_profiles/count/count_request_builder.py index aa7154a2812..4c04880cebd 100644 --- a/msgraph_beta/generated/directory/inbound_shared_user_profiles/count/count_request_builder.py +++ b/msgraph_beta/generated/directory/inbound_shared_user_profiles/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/directory/on_premises_synchronization/count/count_request_builder.py b/msgraph_beta/generated/directory/on_premises_synchronization/count/count_request_builder.py index 9f8c6898b07..7e27d47f2b4 100644 --- a/msgraph_beta/generated/directory/on_premises_synchronization/count/count_request_builder.py +++ b/msgraph_beta/generated/directory/on_premises_synchronization/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/directory/outbound_shared_user_profiles/count/count_request_builder.py b/msgraph_beta/generated/directory/outbound_shared_user_profiles/count/count_request_builder.py index 952180ef53c..896823ca5f5 100644 --- a/msgraph_beta/generated/directory/outbound_shared_user_profiles/count/count_request_builder.py +++ b/msgraph_beta/generated/directory/outbound_shared_user_profiles/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/directory/outbound_shared_user_profiles/item/tenants/count/count_request_builder.py b/msgraph_beta/generated/directory/outbound_shared_user_profiles/item/tenants/count/count_request_builder.py index 423de268a56..dcc03d561c3 100644 --- a/msgraph_beta/generated/directory/outbound_shared_user_profiles/item/tenants/count/count_request_builder.py +++ b/msgraph_beta/generated/directory/outbound_shared_user_profiles/item/tenants/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/directory/pending_external_user_profiles/count/count_request_builder.py b/msgraph_beta/generated/directory/pending_external_user_profiles/count/count_request_builder.py index 73fed116b1f..81cba21727e 100644 --- a/msgraph_beta/generated/directory/pending_external_user_profiles/count/count_request_builder.py +++ b/msgraph_beta/generated/directory/pending_external_user_profiles/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/directory/public_key_infrastructure/certificate_based_auth_configurations/count/count_request_builder.py b/msgraph_beta/generated/directory/public_key_infrastructure/certificate_based_auth_configurations/count/count_request_builder.py index f258f8518a8..c59cd182c95 100644 --- a/msgraph_beta/generated/directory/public_key_infrastructure/certificate_based_auth_configurations/count/count_request_builder.py +++ b/msgraph_beta/generated/directory/public_key_infrastructure/certificate_based_auth_configurations/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/directory/public_key_infrastructure/certificate_based_auth_configurations/item/certificate_authorities/count/count_request_builder.py b/msgraph_beta/generated/directory/public_key_infrastructure/certificate_based_auth_configurations/item/certificate_authorities/count/count_request_builder.py index 8d0a53a8394..bc7b5a29d87 100644 --- a/msgraph_beta/generated/directory/public_key_infrastructure/certificate_based_auth_configurations/item/certificate_authorities/count/count_request_builder.py +++ b/msgraph_beta/generated/directory/public_key_infrastructure/certificate_based_auth_configurations/item/certificate_authorities/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/directory/recommendations/count/count_request_builder.py b/msgraph_beta/generated/directory/recommendations/count/count_request_builder.py index fce18889b40..1005586c9e8 100644 --- a/msgraph_beta/generated/directory/recommendations/count/count_request_builder.py +++ b/msgraph_beta/generated/directory/recommendations/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/directory/recommendations/item/impacted_resources/count/count_request_builder.py b/msgraph_beta/generated/directory/recommendations/item/impacted_resources/count/count_request_builder.py index a2c4f02f60c..8e976790430 100644 --- a/msgraph_beta/generated/directory/recommendations/item/impacted_resources/count/count_request_builder.py +++ b/msgraph_beta/generated/directory/recommendations/item/impacted_resources/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/directory/shared_email_domains/count/count_request_builder.py b/msgraph_beta/generated/directory/shared_email_domains/count/count_request_builder.py index 835e728ccba..545030f2245 100644 --- a/msgraph_beta/generated/directory/shared_email_domains/count/count_request_builder.py +++ b/msgraph_beta/generated/directory/shared_email_domains/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/directory/subscriptions/count/count_request_builder.py b/msgraph_beta/generated/directory/subscriptions/count/count_request_builder.py index 7e5bf38d22a..8a0af8fc5b2 100644 --- a/msgraph_beta/generated/directory/subscriptions/count/count_request_builder.py +++ b/msgraph_beta/generated/directory/subscriptions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/directory_objects/count/count_request_builder.py b/msgraph_beta/generated/directory_objects/count/count_request_builder.py index 72144bbf919..04ab0e653ec 100644 --- a/msgraph_beta/generated/directory_objects/count/count_request_builder.py +++ b/msgraph_beta/generated/directory_objects/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/directory_objects/delta/delta_get_response.py b/msgraph_beta/generated/directory_objects/delta/delta_get_response.py index 26603c17b35..d58d0fb6cad 100644 --- a/msgraph_beta/generated/directory_objects/delta/delta_get_response.py +++ b/msgraph_beta/generated/directory_objects/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ...models.base_delta_function_response import BaseDeltaFunctionResponse + from ...models.directory_object import DirectoryObject + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/directory_objects/delta/delta_request_builder.py b/msgraph_beta/generated/directory_objects/delta/delta_request_builder.py index eb902749ec0..0ac68b34a95 100644 --- a/msgraph_beta/generated/directory_objects/delta/delta_request_builder.py +++ b/msgraph_beta/generated/directory_objects/delta/delta_request_builder.py @@ -31,7 +31,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def get(self,request_configuration: Optional[RequestConfiguration[DeltaRequestBuilderGetQueryParameters]] = None) -> Optional[DeltaGetResponse]: """ - Get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information about the delta function, see Use delta query to track changes in Microsoft Graph data for details. + Get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeltaGetResponse] Find more info here: https://learn.microsoft.com/graph/api/directoryobject-delta?view=graph-rest-beta @@ -52,7 +52,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DeltaReq def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[DeltaRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information about the delta function, see Use delta query to track changes in Microsoft Graph data for details. + Get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -74,7 +74,7 @@ def with_url(self,raw_url: str) -> DeltaRequestBuilder: @dataclass class DeltaRequestBuilderGetQueryParameters(): """ - Get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information about the delta function, see Use delta query to track changes in Microsoft Graph data for details. + Get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/directory_objects/get_by_ids/get_by_ids_post_response.py b/msgraph_beta/generated/directory_objects/get_by_ids/get_by_ids_post_response.py index a3099558efc..488f70f9c5d 100644 --- a/msgraph_beta/generated/directory_objects/get_by_ids/get_by_ids_post_response.py +++ b/msgraph_beta/generated/directory_objects/get_by_ids/get_by_ids_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ...models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ...models.directory_object import DirectoryObject + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/directory_objects/item/check_member_groups/check_member_groups_post_response.py b/msgraph_beta/generated/directory_objects/item/check_member_groups/check_member_groups_post_response.py index cdf041e2573..b2ce0f888c9 100644 --- a/msgraph_beta/generated/directory_objects/item/check_member_groups/check_member_groups_post_response.py +++ b/msgraph_beta/generated/directory_objects/item/check_member_groups/check_member_groups_post_response.py @@ -49,6 +49,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_primitive_values("value", self.value) diff --git a/msgraph_beta/generated/directory_objects/item/check_member_objects/check_member_objects_post_response.py b/msgraph_beta/generated/directory_objects/item/check_member_objects/check_member_objects_post_response.py index 2dc94a92d04..e2a652a7c28 100644 --- a/msgraph_beta/generated/directory_objects/item/check_member_objects/check_member_objects_post_response.py +++ b/msgraph_beta/generated/directory_objects/item/check_member_objects/check_member_objects_post_response.py @@ -49,6 +49,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_primitive_values("value", self.value) diff --git a/msgraph_beta/generated/directory_objects/item/get_member_groups/get_member_groups_post_response.py b/msgraph_beta/generated/directory_objects/item/get_member_groups/get_member_groups_post_response.py index bd4dad887b8..5ac4a9b07d5 100644 --- a/msgraph_beta/generated/directory_objects/item/get_member_groups/get_member_groups_post_response.py +++ b/msgraph_beta/generated/directory_objects/item/get_member_groups/get_member_groups_post_response.py @@ -49,6 +49,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_primitive_values("value", self.value) diff --git a/msgraph_beta/generated/directory_objects/item/get_member_objects/get_member_objects_post_response.py b/msgraph_beta/generated/directory_objects/item/get_member_objects/get_member_objects_post_response.py index fe38b269075..e63599e52a4 100644 --- a/msgraph_beta/generated/directory_objects/item/get_member_objects/get_member_objects_post_response.py +++ b/msgraph_beta/generated/directory_objects/item/get_member_objects/get_member_objects_post_response.py @@ -49,6 +49,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_primitive_values("value", self.value) diff --git a/msgraph_beta/generated/directory_role_templates/count/count_request_builder.py b/msgraph_beta/generated/directory_role_templates/count/count_request_builder.py index 320be1b1ad4..a100b7cb6a4 100644 --- a/msgraph_beta/generated/directory_role_templates/count/count_request_builder.py +++ b/msgraph_beta/generated/directory_role_templates/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/directory_role_templates/delta/delta_get_response.py b/msgraph_beta/generated/directory_role_templates/delta/delta_get_response.py index 26603c17b35..d58d0fb6cad 100644 --- a/msgraph_beta/generated/directory_role_templates/delta/delta_get_response.py +++ b/msgraph_beta/generated/directory_role_templates/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ...models.base_delta_function_response import BaseDeltaFunctionResponse + from ...models.directory_object import DirectoryObject + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/directory_role_templates/delta/delta_request_builder.py b/msgraph_beta/generated/directory_role_templates/delta/delta_request_builder.py index 6827ca5c6d1..82b638b28d5 100644 --- a/msgraph_beta/generated/directory_role_templates/delta/delta_request_builder.py +++ b/msgraph_beta/generated/directory_role_templates/delta/delta_request_builder.py @@ -31,7 +31,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def get(self,request_configuration: Optional[RequestConfiguration[DeltaRequestBuilderGetQueryParameters]] = None) -> Optional[DeltaGetResponse]: """ - Get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information about the delta function, see Use delta query to track changes in Microsoft Graph data for details. + Get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeltaGetResponse] Find more info here: https://learn.microsoft.com/graph/api/directoryobject-delta?view=graph-rest-beta @@ -52,7 +52,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DeltaReq def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[DeltaRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information about the delta function, see Use delta query to track changes in Microsoft Graph data for details. + Get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -74,7 +74,7 @@ def with_url(self,raw_url: str) -> DeltaRequestBuilder: @dataclass class DeltaRequestBuilderGetQueryParameters(): """ - Get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information about the delta function, see Use delta query to track changes in Microsoft Graph data for details. + Get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/directory_role_templates/get_by_ids/get_by_ids_post_response.py b/msgraph_beta/generated/directory_role_templates/get_by_ids/get_by_ids_post_response.py index a3099558efc..488f70f9c5d 100644 --- a/msgraph_beta/generated/directory_role_templates/get_by_ids/get_by_ids_post_response.py +++ b/msgraph_beta/generated/directory_role_templates/get_by_ids/get_by_ids_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ...models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ...models.directory_object import DirectoryObject + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/directory_role_templates/item/check_member_groups/check_member_groups_post_response.py b/msgraph_beta/generated/directory_role_templates/item/check_member_groups/check_member_groups_post_response.py index cdf041e2573..b2ce0f888c9 100644 --- a/msgraph_beta/generated/directory_role_templates/item/check_member_groups/check_member_groups_post_response.py +++ b/msgraph_beta/generated/directory_role_templates/item/check_member_groups/check_member_groups_post_response.py @@ -49,6 +49,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_primitive_values("value", self.value) diff --git a/msgraph_beta/generated/directory_role_templates/item/check_member_objects/check_member_objects_post_response.py b/msgraph_beta/generated/directory_role_templates/item/check_member_objects/check_member_objects_post_response.py index 2dc94a92d04..e2a652a7c28 100644 --- a/msgraph_beta/generated/directory_role_templates/item/check_member_objects/check_member_objects_post_response.py +++ b/msgraph_beta/generated/directory_role_templates/item/check_member_objects/check_member_objects_post_response.py @@ -49,6 +49,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_primitive_values("value", self.value) diff --git a/msgraph_beta/generated/directory_role_templates/item/get_member_groups/get_member_groups_post_response.py b/msgraph_beta/generated/directory_role_templates/item/get_member_groups/get_member_groups_post_response.py index bd4dad887b8..5ac4a9b07d5 100644 --- a/msgraph_beta/generated/directory_role_templates/item/get_member_groups/get_member_groups_post_response.py +++ b/msgraph_beta/generated/directory_role_templates/item/get_member_groups/get_member_groups_post_response.py @@ -49,6 +49,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_primitive_values("value", self.value) diff --git a/msgraph_beta/generated/directory_role_templates/item/get_member_objects/get_member_objects_post_response.py b/msgraph_beta/generated/directory_role_templates/item/get_member_objects/get_member_objects_post_response.py index fe38b269075..e63599e52a4 100644 --- a/msgraph_beta/generated/directory_role_templates/item/get_member_objects/get_member_objects_post_response.py +++ b/msgraph_beta/generated/directory_role_templates/item/get_member_objects/get_member_objects_post_response.py @@ -49,6 +49,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_primitive_values("value", self.value) diff --git a/msgraph_beta/generated/directory_roles/count/count_request_builder.py b/msgraph_beta/generated/directory_roles/count/count_request_builder.py index dfee8c71f3c..f420616c678 100644 --- a/msgraph_beta/generated/directory_roles/count/count_request_builder.py +++ b/msgraph_beta/generated/directory_roles/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/directory_roles/delta/delta_get_response.py b/msgraph_beta/generated/directory_roles/delta/delta_get_response.py index 0822ce012e1..8c8801d9021 100644 --- a/msgraph_beta/generated/directory_roles/delta/delta_get_response.py +++ b/msgraph_beta/generated/directory_roles/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ...models.base_delta_function_response import BaseDeltaFunctionResponse + from ...models.directory_role import DirectoryRole + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/directory_roles/delta/delta_request_builder.py b/msgraph_beta/generated/directory_roles/delta/delta_request_builder.py index 59501c16f91..317af39229a 100644 --- a/msgraph_beta/generated/directory_roles/delta/delta_request_builder.py +++ b/msgraph_beta/generated/directory_roles/delta/delta_request_builder.py @@ -31,7 +31,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def get(self,request_configuration: Optional[RequestConfiguration[DeltaRequestBuilderGetQueryParameters]] = None) -> Optional[DeltaGetResponse]: """ - Get newly created, updated, or deleted directory roles without having to perform a full read of the entire resource collection. See Using Delta Query for details. + Get newly created, updated, or deleted directory roles without having to perform a full read of the entire resource collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeltaGetResponse] Find more info here: https://learn.microsoft.com/graph/api/directoryrole-delta?view=graph-rest-beta @@ -52,7 +52,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DeltaReq def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[DeltaRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Get newly created, updated, or deleted directory roles without having to perform a full read of the entire resource collection. See Using Delta Query for details. + Get newly created, updated, or deleted directory roles without having to perform a full read of the entire resource collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -74,7 +74,7 @@ def with_url(self,raw_url: str) -> DeltaRequestBuilder: @dataclass class DeltaRequestBuilderGetQueryParameters(): """ - Get newly created, updated, or deleted directory roles without having to perform a full read of the entire resource collection. See Using Delta Query for details. + Get newly created, updated, or deleted directory roles without having to perform a full read of the entire resource collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/directory_roles/get_by_ids/get_by_ids_post_response.py b/msgraph_beta/generated/directory_roles/get_by_ids/get_by_ids_post_response.py index a3099558efc..488f70f9c5d 100644 --- a/msgraph_beta/generated/directory_roles/get_by_ids/get_by_ids_post_response.py +++ b/msgraph_beta/generated/directory_roles/get_by_ids/get_by_ids_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ...models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ...models.directory_object import DirectoryObject + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/directory_roles/item/check_member_groups/check_member_groups_post_response.py b/msgraph_beta/generated/directory_roles/item/check_member_groups/check_member_groups_post_response.py index cdf041e2573..b2ce0f888c9 100644 --- a/msgraph_beta/generated/directory_roles/item/check_member_groups/check_member_groups_post_response.py +++ b/msgraph_beta/generated/directory_roles/item/check_member_groups/check_member_groups_post_response.py @@ -49,6 +49,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_primitive_values("value", self.value) diff --git a/msgraph_beta/generated/directory_roles/item/check_member_objects/check_member_objects_post_response.py b/msgraph_beta/generated/directory_roles/item/check_member_objects/check_member_objects_post_response.py index 2dc94a92d04..e2a652a7c28 100644 --- a/msgraph_beta/generated/directory_roles/item/check_member_objects/check_member_objects_post_response.py +++ b/msgraph_beta/generated/directory_roles/item/check_member_objects/check_member_objects_post_response.py @@ -49,6 +49,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_primitive_values("value", self.value) diff --git a/msgraph_beta/generated/directory_roles/item/get_member_groups/get_member_groups_post_response.py b/msgraph_beta/generated/directory_roles/item/get_member_groups/get_member_groups_post_response.py index bd4dad887b8..5ac4a9b07d5 100644 --- a/msgraph_beta/generated/directory_roles/item/get_member_groups/get_member_groups_post_response.py +++ b/msgraph_beta/generated/directory_roles/item/get_member_groups/get_member_groups_post_response.py @@ -49,6 +49,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_primitive_values("value", self.value) diff --git a/msgraph_beta/generated/directory_roles/item/get_member_objects/get_member_objects_post_response.py b/msgraph_beta/generated/directory_roles/item/get_member_objects/get_member_objects_post_response.py index fe38b269075..e63599e52a4 100644 --- a/msgraph_beta/generated/directory_roles/item/get_member_objects/get_member_objects_post_response.py +++ b/msgraph_beta/generated/directory_roles/item/get_member_objects/get_member_objects_post_response.py @@ -49,6 +49,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_primitive_values("value", self.value) diff --git a/msgraph_beta/generated/directory_roles/item/members/count/count_request_builder.py b/msgraph_beta/generated/directory_roles/item/members/count/count_request_builder.py index 025a1c1b144..d8756e92b26 100644 --- a/msgraph_beta/generated/directory_roles/item/members/count/count_request_builder.py +++ b/msgraph_beta/generated/directory_roles/item/members/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/directory_roles/item/members/graph_application/count/count_request_builder.py b/msgraph_beta/generated/directory_roles/item/members/graph_application/count/count_request_builder.py index ecf893a3c8e..116962da623 100644 --- a/msgraph_beta/generated/directory_roles/item/members/graph_application/count/count_request_builder.py +++ b/msgraph_beta/generated/directory_roles/item/members/graph_application/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/directory_roles/item/members/graph_device/count/count_request_builder.py b/msgraph_beta/generated/directory_roles/item/members/graph_device/count/count_request_builder.py index 92bba0b35bb..15226b417aa 100644 --- a/msgraph_beta/generated/directory_roles/item/members/graph_device/count/count_request_builder.py +++ b/msgraph_beta/generated/directory_roles/item/members/graph_device/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/directory_roles/item/members/graph_group/count/count_request_builder.py b/msgraph_beta/generated/directory_roles/item/members/graph_group/count/count_request_builder.py index 0737184f363..3b1743680fd 100644 --- a/msgraph_beta/generated/directory_roles/item/members/graph_group/count/count_request_builder.py +++ b/msgraph_beta/generated/directory_roles/item/members/graph_group/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/directory_roles/item/members/graph_org_contact/count/count_request_builder.py b/msgraph_beta/generated/directory_roles/item/members/graph_org_contact/count/count_request_builder.py index 554f42d21d8..bea5d2d9106 100644 --- a/msgraph_beta/generated/directory_roles/item/members/graph_org_contact/count/count_request_builder.py +++ b/msgraph_beta/generated/directory_roles/item/members/graph_org_contact/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/directory_roles/item/members/graph_service_principal/count/count_request_builder.py b/msgraph_beta/generated/directory_roles/item/members/graph_service_principal/count/count_request_builder.py index 9d259e6fa06..7dbed3b1e56 100644 --- a/msgraph_beta/generated/directory_roles/item/members/graph_service_principal/count/count_request_builder.py +++ b/msgraph_beta/generated/directory_roles/item/members/graph_service_principal/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/directory_roles/item/members/graph_user/count/count_request_builder.py b/msgraph_beta/generated/directory_roles/item/members/graph_user/count/count_request_builder.py index 41d229872a7..045ece6265d 100644 --- a/msgraph_beta/generated/directory_roles/item/members/graph_user/count/count_request_builder.py +++ b/msgraph_beta/generated/directory_roles/item/members/graph_user/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/directory_roles/item/scoped_members/count/count_request_builder.py b/msgraph_beta/generated/directory_roles/item/scoped_members/count/count_request_builder.py index e91f149dcdd..43edb97deb8 100644 --- a/msgraph_beta/generated/directory_roles/item/scoped_members/count/count_request_builder.py +++ b/msgraph_beta/generated/directory_roles/item/scoped_members/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/directory_setting_templates/count/count_request_builder.py b/msgraph_beta/generated/directory_setting_templates/count/count_request_builder.py index 8f6de89d8e1..eb9136d4747 100644 --- a/msgraph_beta/generated/directory_setting_templates/count/count_request_builder.py +++ b/msgraph_beta/generated/directory_setting_templates/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/directory_setting_templates/delta/delta_get_response.py b/msgraph_beta/generated/directory_setting_templates/delta/delta_get_response.py index 26603c17b35..d58d0fb6cad 100644 --- a/msgraph_beta/generated/directory_setting_templates/delta/delta_get_response.py +++ b/msgraph_beta/generated/directory_setting_templates/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ...models.base_delta_function_response import BaseDeltaFunctionResponse + from ...models.directory_object import DirectoryObject + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/directory_setting_templates/delta/delta_request_builder.py b/msgraph_beta/generated/directory_setting_templates/delta/delta_request_builder.py index 6c17d599e06..c6f37233058 100644 --- a/msgraph_beta/generated/directory_setting_templates/delta/delta_request_builder.py +++ b/msgraph_beta/generated/directory_setting_templates/delta/delta_request_builder.py @@ -31,7 +31,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def get(self,request_configuration: Optional[RequestConfiguration[DeltaRequestBuilderGetQueryParameters]] = None) -> Optional[DeltaGetResponse]: """ - Get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information about the delta function, see Use delta query to track changes in Microsoft Graph data for details. + Get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeltaGetResponse] Find more info here: https://learn.microsoft.com/graph/api/directoryobject-delta?view=graph-rest-beta @@ -52,7 +52,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DeltaReq def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[DeltaRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information about the delta function, see Use delta query to track changes in Microsoft Graph data for details. + Get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -74,7 +74,7 @@ def with_url(self,raw_url: str) -> DeltaRequestBuilder: @dataclass class DeltaRequestBuilderGetQueryParameters(): """ - Get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information about the delta function, see Use delta query to track changes in Microsoft Graph data for details. + Get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/directory_setting_templates/get_by_ids/get_by_ids_post_response.py b/msgraph_beta/generated/directory_setting_templates/get_by_ids/get_by_ids_post_response.py index a3099558efc..488f70f9c5d 100644 --- a/msgraph_beta/generated/directory_setting_templates/get_by_ids/get_by_ids_post_response.py +++ b/msgraph_beta/generated/directory_setting_templates/get_by_ids/get_by_ids_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ...models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ...models.directory_object import DirectoryObject + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/directory_setting_templates/item/check_member_groups/check_member_groups_post_response.py b/msgraph_beta/generated/directory_setting_templates/item/check_member_groups/check_member_groups_post_response.py index cdf041e2573..b2ce0f888c9 100644 --- a/msgraph_beta/generated/directory_setting_templates/item/check_member_groups/check_member_groups_post_response.py +++ b/msgraph_beta/generated/directory_setting_templates/item/check_member_groups/check_member_groups_post_response.py @@ -49,6 +49,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_primitive_values("value", self.value) diff --git a/msgraph_beta/generated/directory_setting_templates/item/check_member_objects/check_member_objects_post_response.py b/msgraph_beta/generated/directory_setting_templates/item/check_member_objects/check_member_objects_post_response.py index 2dc94a92d04..e2a652a7c28 100644 --- a/msgraph_beta/generated/directory_setting_templates/item/check_member_objects/check_member_objects_post_response.py +++ b/msgraph_beta/generated/directory_setting_templates/item/check_member_objects/check_member_objects_post_response.py @@ -49,6 +49,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_primitive_values("value", self.value) diff --git a/msgraph_beta/generated/directory_setting_templates/item/get_member_groups/get_member_groups_post_response.py b/msgraph_beta/generated/directory_setting_templates/item/get_member_groups/get_member_groups_post_response.py index bd4dad887b8..5ac4a9b07d5 100644 --- a/msgraph_beta/generated/directory_setting_templates/item/get_member_groups/get_member_groups_post_response.py +++ b/msgraph_beta/generated/directory_setting_templates/item/get_member_groups/get_member_groups_post_response.py @@ -49,6 +49,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_primitive_values("value", self.value) diff --git a/msgraph_beta/generated/directory_setting_templates/item/get_member_objects/get_member_objects_post_response.py b/msgraph_beta/generated/directory_setting_templates/item/get_member_objects/get_member_objects_post_response.py index fe38b269075..e63599e52a4 100644 --- a/msgraph_beta/generated/directory_setting_templates/item/get_member_objects/get_member_objects_post_response.py +++ b/msgraph_beta/generated/directory_setting_templates/item/get_member_objects/get_member_objects_post_response.py @@ -49,6 +49,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_primitive_values("value", self.value) diff --git a/msgraph_beta/generated/domain_dns_records/count/count_request_builder.py b/msgraph_beta/generated/domain_dns_records/count/count_request_builder.py index b8dc32ed3a7..a4f16b8beba 100644 --- a/msgraph_beta/generated/domain_dns_records/count/count_request_builder.py +++ b/msgraph_beta/generated/domain_dns_records/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/domains/count/count_request_builder.py b/msgraph_beta/generated/domains/count/count_request_builder.py index 53ca0563e26..af30860c496 100644 --- a/msgraph_beta/generated/domains/count/count_request_builder.py +++ b/msgraph_beta/generated/domains/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/domains/item/domain_name_references/count/count_request_builder.py b/msgraph_beta/generated/domains/item/domain_name_references/count/count_request_builder.py index 11cce0f77e6..bc1544571ed 100644 --- a/msgraph_beta/generated/domains/item/domain_name_references/count/count_request_builder.py +++ b/msgraph_beta/generated/domains/item/domain_name_references/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/domains/item/federation_configuration/count/count_request_builder.py b/msgraph_beta/generated/domains/item/federation_configuration/count/count_request_builder.py index 11cf6403819..434eb7b7da1 100644 --- a/msgraph_beta/generated/domains/item/federation_configuration/count/count_request_builder.py +++ b/msgraph_beta/generated/domains/item/federation_configuration/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/domains/item/service_configuration_records/count/count_request_builder.py b/msgraph_beta/generated/domains/item/service_configuration_records/count/count_request_builder.py index 631ec27eb92..8ff117d529b 100644 --- a/msgraph_beta/generated/domains/item/service_configuration_records/count/count_request_builder.py +++ b/msgraph_beta/generated/domains/item/service_configuration_records/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/domains/item/shared_email_domain_invitations/count/count_request_builder.py b/msgraph_beta/generated/domains/item/shared_email_domain_invitations/count/count_request_builder.py index 71841397cc7..ba5847d241b 100644 --- a/msgraph_beta/generated/domains/item/shared_email_domain_invitations/count/count_request_builder.py +++ b/msgraph_beta/generated/domains/item/shared_email_domain_invitations/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/domains/item/verification_dns_records/count/count_request_builder.py b/msgraph_beta/generated/domains/item/verification_dns_records/count/count_request_builder.py index ce71a6924a2..7a2cb39b06a 100644 --- a/msgraph_beta/generated/domains/item/verification_dns_records/count/count_request_builder.py +++ b/msgraph_beta/generated/domains/item/verification_dns_records/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/drives/item/activities/count/count_request_builder.py b/msgraph_beta/generated/drives/item/activities/count/count_request_builder.py index 625a5b924ad..94d5c813407 100644 --- a/msgraph_beta/generated/drives/item/activities/count/count_request_builder.py +++ b/msgraph_beta/generated/drives/item/activities/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/drives/item/bundles/count/count_request_builder.py b/msgraph_beta/generated/drives/item/bundles/count/count_request_builder.py index 363ba4edbff..288eb39105c 100644 --- a/msgraph_beta/generated/drives/item/bundles/count/count_request_builder.py +++ b/msgraph_beta/generated/drives/item/bundles/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/drives/item/created_by_user/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/drives/item/created_by_user/service_provisioning_errors/count/count_request_builder.py index 628282ffb52..dff8dc6a290 100644 --- a/msgraph_beta/generated/drives/item/created_by_user/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/drives/item/created_by_user/service_provisioning_errors/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/drives/item/following/count/count_request_builder.py b/msgraph_beta/generated/drives/item/following/count/count_request_builder.py index 8d6f86c1b62..a1f2a34f9a0 100644 --- a/msgraph_beta/generated/drives/item/following/count/count_request_builder.py +++ b/msgraph_beta/generated/drives/item/following/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/drives/item/items/count/count_request_builder.py b/msgraph_beta/generated/drives/item/items/count/count_request_builder.py index 00cc7044361..ab69ed8054c 100644 --- a/msgraph_beta/generated/drives/item/items/count/count_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/drives/item/items/item/activities/count/count_request_builder.py b/msgraph_beta/generated/drives/item/items/item/activities/count/count_request_builder.py index dab63661de5..2eee5714778 100644 --- a/msgraph_beta/generated/drives/item/items/item/activities/count/count_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/activities/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/drives/item/items/item/analytics/item_activity_stats/count/count_request_builder.py b/msgraph_beta/generated/drives/item/items/item/analytics/item_activity_stats/count/count_request_builder.py index 425b89840f8..8a492440cf9 100644 --- a/msgraph_beta/generated/drives/item/items/item/analytics/item_activity_stats/count/count_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/analytics/item_activity_stats/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/drives/item/items/item/analytics/item_activity_stats/item/activities/count/count_request_builder.py b/msgraph_beta/generated/drives/item/items/item/analytics/item_activity_stats/item/activities/count/count_request_builder.py index 70ec63621c2..1f259f943f4 100644 --- a/msgraph_beta/generated/drives/item/items/item/analytics/item_activity_stats/item/activities/count/count_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/analytics/item_activity_stats/item/activities/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/drives/item/items/item/assign_sensitivity_label/assign_sensitivity_label_post_request_body.py b/msgraph_beta/generated/drives/item/items/item/assign_sensitivity_label/assign_sensitivity_label_post_request_body.py index df7af5b7e22..f91b068db3e 100644 --- a/msgraph_beta/generated/drives/item/items/item/assign_sensitivity_label/assign_sensitivity_label_post_request_body.py +++ b/msgraph_beta/generated/drives/item/items/item/assign_sensitivity_label/assign_sensitivity_label_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ......models.sensitivity_label_assignment_method import SensitivityLabelAssignmentMethod + writer.write_enum_value("assignmentMethod", self.assignment_method) writer.write_str_value("justificationText", self.justification_text) writer.write_str_value("sensitivityLabelId", self.sensitivity_label_id) diff --git a/msgraph_beta/generated/drives/item/items/item/children/count/count_request_builder.py b/msgraph_beta/generated/drives/item/items/item/children/count/count_request_builder.py index 7cf31d617ed..12a61e4fd12 100644 --- a/msgraph_beta/generated/drives/item/items/item/children/count/count_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/children/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/drives/item/items/item/copy/copy_post_request_body.py b/msgraph_beta/generated/drives/item/items/item/copy/copy_post_request_body.py index af3dfde30b0..4df693ab98f 100644 --- a/msgraph_beta/generated/drives/item/items/item/copy/copy_post_request_body.py +++ b/msgraph_beta/generated/drives/item/items/item/copy/copy_post_request_body.py @@ -59,6 +59,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ......models.item_reference import ItemReference + writer.write_bool_value("childrenOnly", self.children_only) writer.write_bool_value("includeAllVersionHistory", self.include_all_version_history) writer.write_str_value("name", self.name) diff --git a/msgraph_beta/generated/drives/item/items/item/create_link/create_link_post_request_body.py b/msgraph_beta/generated/drives/item/items/item/create_link/create_link_post_request_body.py index 8bc35b6a387..c9d5ebb0dd0 100644 --- a/msgraph_beta/generated/drives/item/items/item/create_link/create_link_post_request_body.py +++ b/msgraph_beta/generated/drives/item/items/item/create_link/create_link_post_request_body.py @@ -72,6 +72,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ......models.drive_recipient import DriveRecipient + writer.write_datetime_value("expirationDateTime", self.expiration_date_time) writer.write_str_value("message", self.message) writer.write_str_value("password", self.password) diff --git a/msgraph_beta/generated/drives/item/items/item/create_upload_session/create_upload_session_post_request_body.py b/msgraph_beta/generated/drives/item/items/item/create_upload_session/create_upload_session_post_request_body.py index b7ffe0a3462..ceab219e8d9 100644 --- a/msgraph_beta/generated/drives/item/items/item/create_upload_session/create_upload_session_post_request_body.py +++ b/msgraph_beta/generated/drives/item/items/item/create_upload_session/create_upload_session_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ......models.drive_item_uploadable_properties import DriveItemUploadableProperties + writer.write_object_value("item", self.item) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/drives/item/items/item/created_by_user/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/drives/item/items/item/created_by_user/service_provisioning_errors/count/count_request_builder.py index 840e1324edb..09cf48eecd0 100644 --- a/msgraph_beta/generated/drives/item/items/item/created_by_user/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/created_by_user/service_provisioning_errors/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/drives/item/items/item/delta/delta_get_response.py b/msgraph_beta/generated/drives/item/items/item/delta/delta_get_response.py index 946da8b05a8..ac146816fa3 100644 --- a/msgraph_beta/generated/drives/item/items/item/delta/delta_get_response.py +++ b/msgraph_beta/generated/drives/item/items/item/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ......models.base_delta_function_response import BaseDeltaFunctionResponse + from ......models.drive_item import DriveItem + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/drives/item/items/item/delta_with_token/delta_with_token_get_response.py b/msgraph_beta/generated/drives/item/items/item/delta_with_token/delta_with_token_get_response.py index f8cf1c13cd0..d60a2b787d7 100644 --- a/msgraph_beta/generated/drives/item/items/item/delta_with_token/delta_with_token_get_response.py +++ b/msgraph_beta/generated/drives/item/items/item/delta_with_token/delta_with_token_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ......models.base_delta_function_response import BaseDeltaFunctionResponse + from ......models.drive_item import DriveItem + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/drives/item/items/item/get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval/get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval_get_response.py b/msgraph_beta/generated/drives/item/items/item/get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval/get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval_get_response.py index 67985bac06e..7fe33cb14d8 100644 --- a/msgraph_beta/generated/drives/item/items/item/get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval/get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval_get_response.py +++ b/msgraph_beta/generated/drives/item/items/item/get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval/get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ......models.item_activity_stat import ItemActivityStat + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/drives/item/items/item/invite/invite_post_request_body.py b/msgraph_beta/generated/drives/item/items/item/invite/invite_post_request_body.py index 00fef19a657..2c7662c1dbd 100644 --- a/msgraph_beta/generated/drives/item/items/item/invite/invite_post_request_body.py +++ b/msgraph_beta/generated/drives/item/items/item/invite/invite_post_request_body.py @@ -71,6 +71,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ......models.drive_recipient import DriveRecipient + writer.write_str_value("expirationDateTime", self.expiration_date_time) writer.write_str_value("message", self.message) writer.write_str_value("password", self.password) diff --git a/msgraph_beta/generated/drives/item/items/item/invite/invite_post_response.py b/msgraph_beta/generated/drives/item/items/item/invite/invite_post_response.py index ae48bfa3333..36d8db01d41 100644 --- a/msgraph_beta/generated/drives/item/items/item/invite/invite_post_response.py +++ b/msgraph_beta/generated/drives/item/items/item/invite/invite_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ......models.permission import Permission + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/drives/item/items/item/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/drives/item/items/item/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py index c2806231164..6a5d5405fa9 100644 --- a/msgraph_beta/generated/drives/item/items/item/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/drives/item/items/item/permissions/count/count_request_builder.py b/msgraph_beta/generated/drives/item/items/item/permissions/count/count_request_builder.py index 378b3d85d1a..d90c97b93e5 100644 --- a/msgraph_beta/generated/drives/item/items/item/permissions/count/count_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/permissions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/drives/item/items/item/permissions/item/grant/grant_post_request_body.py b/msgraph_beta/generated/drives/item/items/item/permissions/item/grant/grant_post_request_body.py index 1d81924129b..938d3b07897 100644 --- a/msgraph_beta/generated/drives/item/items/item/permissions/item/grant/grant_post_request_body.py +++ b/msgraph_beta/generated/drives/item/items/item/permissions/item/grant/grant_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ........models.drive_recipient import DriveRecipient + writer.write_collection_of_object_values("recipients", self.recipients) writer.write_collection_of_primitive_values("roles", self.roles) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/drives/item/items/item/permissions/item/grant/grant_post_response.py b/msgraph_beta/generated/drives/item/items/item/permissions/item/grant/grant_post_response.py index 49d325a0f49..a192c772c4a 100644 --- a/msgraph_beta/generated/drives/item/items/item/permissions/item/grant/grant_post_response.py +++ b/msgraph_beta/generated/drives/item/items/item/permissions/item/grant/grant_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ........models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ........models.permission import Permission + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/drives/item/items/item/permissions/item/revoke_grants/revoke_grants_post_request_body.py b/msgraph_beta/generated/drives/item/items/item/permissions/item/revoke_grants/revoke_grants_post_request_body.py index a347271fea8..6bd46ec8a0a 100644 --- a/msgraph_beta/generated/drives/item/items/item/permissions/item/revoke_grants/revoke_grants_post_request_body.py +++ b/msgraph_beta/generated/drives/item/items/item/permissions/item/revoke_grants/revoke_grants_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ........models.drive_recipient import DriveRecipient + writer.write_collection_of_object_values("grantees", self.grantees) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/drives/item/items/item/restore/restore_post_request_body.py b/msgraph_beta/generated/drives/item/items/item/restore/restore_post_request_body.py index 55af12a7116..8357cfac1d6 100644 --- a/msgraph_beta/generated/drives/item/items/item/restore/restore_post_request_body.py +++ b/msgraph_beta/generated/drives/item/items/item/restore/restore_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ......models.item_reference import ItemReference + writer.write_str_value("name", self.name) writer.write_object_value("parentReference", self.parent_reference) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/drives/item/items/item/search_with_q/search_with_q_get_response.py b/msgraph_beta/generated/drives/item/items/item/search_with_q/search_with_q_get_response.py index 48f46248fff..08decb856a1 100644 --- a/msgraph_beta/generated/drives/item/items/item/search_with_q/search_with_q_get_response.py +++ b/msgraph_beta/generated/drives/item/items/item/search_with_q/search_with_q_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ......models.drive_item import DriveItem + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/drives/item/items/item/subscriptions/count/count_request_builder.py b/msgraph_beta/generated/drives/item/items/item/subscriptions/count/count_request_builder.py index 37dd2e1c3c2..a388e0c93c5 100644 --- a/msgraph_beta/generated/drives/item/items/item/subscriptions/count/count_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/subscriptions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/drives/item/items/item/thumbnails/count/count_request_builder.py b/msgraph_beta/generated/drives/item/items/item/thumbnails/count/count_request_builder.py index 2d69050bc07..0a843f42f40 100644 --- a/msgraph_beta/generated/drives/item/items/item/thumbnails/count/count_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/thumbnails/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/drives/item/items/item/versions/count/count_request_builder.py b/msgraph_beta/generated/drives/item/items/item/versions/count/count_request_builder.py index 2647a25905f..badfdb13b93 100644 --- a/msgraph_beta/generated/drives/item/items/item/versions/count/count_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/versions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/comments/count/count_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/comments/count/count_request_builder.py index 474816fbe25..3f19245addd 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/comments/count/count_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/comments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/comments/item/replies/count/count_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/comments/item/replies/count/count_request_builder.py index 9f03c624660..4ba1b5d749e 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/comments/item/replies/count/count_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/comments/item/replies/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/comments/item/task/comment/replies/count/count_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/comments/item/task/comment/replies/count/count_request_builder.py index 81c43557019..5e37d7ea3ef 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/comments/item/task/comment/replies/count/count_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/comments/item/task/comment/replies/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/names/count/count_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/names/count/count_request_builder.py index 4898cfeb8d5..4bb24d20243 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/names/count/count_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/names/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/operations/count/count_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/operations/count/count_request_builder.py index fcd8c23976f..c38aa124bb7 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/operations/count/count_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/operations/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/tables/add/add_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/tables/add/add_request_builder.py index 0125786e2a8..d001a0e8cb8 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/tables/add/add_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/tables/add/add_request_builder.py @@ -32,11 +32,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def post(self,body: AddPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[WorkbookTable]: """ - Use this API to create a new Table. + Create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is thrown. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkbookTable] - Find more info here: https://learn.microsoft.com/graph/api/workbook-post-tables?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/tablecollection-add?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -56,7 +56,7 @@ async def post(self,body: AddPostRequestBody, request_configuration: Optional[Re def to_post_request_information(self,body: AddPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Use this API to create a new Table. + Create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is thrown. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/columns/item/filter/apply/apply_post_request_body.py b/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/columns/item/filter/apply/apply_post_request_body.py index f86c44af5e5..c38ae00e6e4 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/columns/item/filter/apply/apply_post_request_body.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/columns/item/filter/apply/apply_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ............models.workbook_filter_criteria import WorkbookFilterCriteria + writer.write_object_value("criteria", self.criteria) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/columns/item/filter/apply_icon_filter/apply_icon_filter_post_request_body.py b/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/columns/item/filter/apply_icon_filter/apply_icon_filter_post_request_body.py index 1a4e7c705f0..48cbce752bb 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/columns/item/filter/apply_icon_filter/apply_icon_filter_post_request_body.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/columns/item/filter/apply_icon_filter/apply_icon_filter_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ............models.workbook_icon import WorkbookIcon + writer.write_object_value("icon", self.icon) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/sort/apply/apply_post_request_body.py b/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/sort/apply/apply_post_request_body.py index 19b356e9ee1..524ab6265f1 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/sort/apply/apply_post_request_body.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/sort/apply/apply_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ..........models.workbook_sort_field import WorkbookSortField + writer.write_collection_of_object_values("fields", self.fields) writer.write_bool_value("matchCase", self.match_case) writer.write_str_value("method", self.method) diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/count/count_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/count/count_request_builder.py index 46528bdc2f2..a55a8dfaaef 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/count/count_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/names/count/count_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/names/count/count_request_builder.py index e672cf4b535..fc67b186512 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/names/count/count_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/names/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/pivot_tables/count/count_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/pivot_tables/count/count_request_builder.py index 5737948c3a6..5d448069074 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/pivot_tables/count/count_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/pivot_tables/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/protection/protect/protect_post_request_body.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/protection/protect/protect_post_request_body.py index bea06bfc2e9..fee429939af 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/protection/protect/protect_post_request_body.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/protection/protect/protect_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ..........models.workbook_worksheet_protection_options import WorkbookWorksheetProtectionOptions + writer.write_object_value("options", self.options) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/add/add_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/add/add_request_builder.py index e446055ee0a..0a8f5398942 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/add/add_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/add/add_request_builder.py @@ -32,11 +32,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def post(self,body: AddPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[WorkbookTable]: """ - Use this API to create a new Table. + Create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is thrown. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkbookTable] - Find more info here: https://learn.microsoft.com/graph/api/workbook-post-tables?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/tablecollection-add?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -56,7 +56,7 @@ async def post(self,body: AddPostRequestBody, request_configuration: Optional[Re def to_post_request_information(self,body: AddPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Use this API to create a new Table. + Create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is thrown. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/apply/apply_post_request_body.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/apply/apply_post_request_body.py index b72cb59252e..ac729ca8bd1 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/apply/apply_post_request_body.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/apply/apply_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ..............models.workbook_filter_criteria import WorkbookFilterCriteria + writer.write_object_value("criteria", self.criteria) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/apply_icon_filter/apply_icon_filter_post_request_body.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/apply_icon_filter/apply_icon_filter_post_request_body.py index 373cc52d490..9a7c42aacdf 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/apply_icon_filter/apply_icon_filter_post_request_body.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/apply_icon_filter/apply_icon_filter_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ..............models.workbook_icon import WorkbookIcon + writer.write_object_value("icon", self.icon) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/sort/apply/apply_post_request_body.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/sort/apply/apply_post_request_body.py index 62c73952c1f..ed039d407fa 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/sort/apply/apply_post_request_body.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/sort/apply/apply_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ............models.workbook_sort_field import WorkbookSortField + writer.write_collection_of_object_values("fields", self.fields) writer.write_bool_value("matchCase", self.match_case) writer.write_str_value("method", self.method) diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tasks/item/comment/replies/count/count_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tasks/item/comment/replies/count/count_request_builder.py index 449b01f3127..1c47133650f 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tasks/item/comment/replies/count/count_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tasks/item/comment/replies/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/drives/item/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/drives/item/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py index d2f4e23d16f..47537b0f025 100644 --- a/msgraph_beta/generated/drives/item/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/drives/item/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/drives/item/list_/columns/count/count_request_builder.py b/msgraph_beta/generated/drives/item/list_/columns/count/count_request_builder.py index b3536f5bece..700c3dd11e0 100644 --- a/msgraph_beta/generated/drives/item/list_/columns/count/count_request_builder.py +++ b/msgraph_beta/generated/drives/item/list_/columns/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/drives/item/list_/content_types/count/count_request_builder.py b/msgraph_beta/generated/drives/item/list_/content_types/count/count_request_builder.py index 5f9301c437a..02015f7e97d 100644 --- a/msgraph_beta/generated/drives/item/list_/content_types/count/count_request_builder.py +++ b/msgraph_beta/generated/drives/item/list_/content_types/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/drives/item/list_/content_types/get_compatible_hub_content_types/get_compatible_hub_content_types_get_response.py b/msgraph_beta/generated/drives/item/list_/content_types/get_compatible_hub_content_types/get_compatible_hub_content_types_get_response.py index 7662cd213e8..f4f86be6e4e 100644 --- a/msgraph_beta/generated/drives/item/list_/content_types/get_compatible_hub_content_types/get_compatible_hub_content_types_get_response.py +++ b/msgraph_beta/generated/drives/item/list_/content_types/get_compatible_hub_content_types/get_compatible_hub_content_types_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ......models.content_type import ContentType + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/drives/item/list_/content_types/item/base_types/count/count_request_builder.py b/msgraph_beta/generated/drives/item/list_/content_types/item/base_types/count/count_request_builder.py index 8ac4976cde9..4e3f6f03b5f 100644 --- a/msgraph_beta/generated/drives/item/list_/content_types/item/base_types/count/count_request_builder.py +++ b/msgraph_beta/generated/drives/item/list_/content_types/item/base_types/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/drives/item/list_/content_types/item/column_links/count/count_request_builder.py b/msgraph_beta/generated/drives/item/list_/content_types/item/column_links/count/count_request_builder.py index bd9a831f929..eb1e429ad1b 100644 --- a/msgraph_beta/generated/drives/item/list_/content_types/item/column_links/count/count_request_builder.py +++ b/msgraph_beta/generated/drives/item/list_/content_types/item/column_links/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/drives/item/list_/content_types/item/column_positions/count/count_request_builder.py b/msgraph_beta/generated/drives/item/list_/content_types/item/column_positions/count/count_request_builder.py index 99d12065b6e..01aa7f6dee8 100644 --- a/msgraph_beta/generated/drives/item/list_/content_types/item/column_positions/count/count_request_builder.py +++ b/msgraph_beta/generated/drives/item/list_/content_types/item/column_positions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/drives/item/list_/content_types/item/columns/count/count_request_builder.py b/msgraph_beta/generated/drives/item/list_/content_types/item/columns/count/count_request_builder.py index 35eb23667b7..71d019c38f1 100644 --- a/msgraph_beta/generated/drives/item/list_/content_types/item/columns/count/count_request_builder.py +++ b/msgraph_beta/generated/drives/item/list_/content_types/item/columns/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/drives/item/list_/content_types/item/copy_to_default_content_location/copy_to_default_content_location_post_request_body.py b/msgraph_beta/generated/drives/item/list_/content_types/item/copy_to_default_content_location/copy_to_default_content_location_post_request_body.py index e2b1249de90..f98a48bc886 100644 --- a/msgraph_beta/generated/drives/item/list_/content_types/item/copy_to_default_content_location/copy_to_default_content_location_post_request_body.py +++ b/msgraph_beta/generated/drives/item/list_/content_types/item/copy_to_default_content_location/copy_to_default_content_location_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .......models.item_reference import ItemReference + writer.write_str_value("destinationFileName", self.destination_file_name) writer.write_object_value("sourceFile", self.source_file) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/drives/item/list_/created_by_user/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/drives/item/list_/created_by_user/service_provisioning_errors/count/count_request_builder.py index 3e6c984ee60..f45a6d332fb 100644 --- a/msgraph_beta/generated/drives/item/list_/created_by_user/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/drives/item/list_/created_by_user/service_provisioning_errors/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/drives/item/list_/items/count/count_request_builder.py b/msgraph_beta/generated/drives/item/list_/items/count/count_request_builder.py index d7726354001..536aff071c3 100644 --- a/msgraph_beta/generated/drives/item/list_/items/count/count_request_builder.py +++ b/msgraph_beta/generated/drives/item/list_/items/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/drives/item/list_/items/delta/delta_get_response.py b/msgraph_beta/generated/drives/item/list_/items/delta/delta_get_response.py index bff6d827310..4789074b417 100644 --- a/msgraph_beta/generated/drives/item/list_/items/delta/delta_get_response.py +++ b/msgraph_beta/generated/drives/item/list_/items/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ......models.base_delta_function_response import BaseDeltaFunctionResponse + from ......models.list_item import ListItem + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/drives/item/list_/items/delta_with_token/delta_with_token_get_response.py b/msgraph_beta/generated/drives/item/list_/items/delta_with_token/delta_with_token_get_response.py index 04ee963a42d..24189c75f17 100644 --- a/msgraph_beta/generated/drives/item/list_/items/delta_with_token/delta_with_token_get_response.py +++ b/msgraph_beta/generated/drives/item/list_/items/delta_with_token/delta_with_token_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ......models.base_delta_function_response import BaseDeltaFunctionResponse + from ......models.list_item import ListItem + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/drives/item/list_/items/item/activities/count/count_request_builder.py b/msgraph_beta/generated/drives/item/list_/items/item/activities/count/count_request_builder.py index 0c5d77a65db..f9d4ee5ac0f 100644 --- a/msgraph_beta/generated/drives/item/list_/items/item/activities/count/count_request_builder.py +++ b/msgraph_beta/generated/drives/item/list_/items/item/activities/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/drives/item/list_/items/item/create_link/create_link_post_request_body.py b/msgraph_beta/generated/drives/item/list_/items/item/create_link/create_link_post_request_body.py index 890bc5f54f0..ff3f5fb3f28 100644 --- a/msgraph_beta/generated/drives/item/list_/items/item/create_link/create_link_post_request_body.py +++ b/msgraph_beta/generated/drives/item/list_/items/item/create_link/create_link_post_request_body.py @@ -72,6 +72,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .......models.drive_recipient import DriveRecipient + writer.write_datetime_value("expirationDateTime", self.expiration_date_time) writer.write_str_value("message", self.message) writer.write_str_value("password", self.password) diff --git a/msgraph_beta/generated/drives/item/list_/items/item/created_by_user/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/drives/item/list_/items/item/created_by_user/service_provisioning_errors/count/count_request_builder.py index 0537749b847..4e803b5ad63 100644 --- a/msgraph_beta/generated/drives/item/list_/items/item/created_by_user/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/drives/item/list_/items/item/created_by_user/service_provisioning_errors/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/drives/item/list_/items/item/document_set_versions/count/count_request_builder.py b/msgraph_beta/generated/drives/item/list_/items/item/document_set_versions/count/count_request_builder.py index b2d90cd2e4a..6c3cb7ecd0d 100644 --- a/msgraph_beta/generated/drives/item/list_/items/item/document_set_versions/count/count_request_builder.py +++ b/msgraph_beta/generated/drives/item/list_/items/item/document_set_versions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/drives/item/list_/items/item/get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval/get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval_get_response.py b/msgraph_beta/generated/drives/item/list_/items/item/get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval/get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval_get_response.py index 50e3e629d3d..d01c1a5bba0 100644 --- a/msgraph_beta/generated/drives/item/list_/items/item/get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval/get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval_get_response.py +++ b/msgraph_beta/generated/drives/item/list_/items/item/get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval/get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .......models.item_activity_stat import ItemActivityStat + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/drives/item/list_/items/item/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/drives/item/list_/items/item/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py index 647157fc24b..f3efb35b667 100644 --- a/msgraph_beta/generated/drives/item/list_/items/item/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/drives/item/list_/items/item/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/drives/item/list_/items/item/permissions/count/count_request_builder.py b/msgraph_beta/generated/drives/item/list_/items/item/permissions/count/count_request_builder.py index 23f0419bcba..97b758e10c2 100644 --- a/msgraph_beta/generated/drives/item/list_/items/item/permissions/count/count_request_builder.py +++ b/msgraph_beta/generated/drives/item/list_/items/item/permissions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/drives/item/list_/items/item/permissions/item/grant/grant_post_request_body.py b/msgraph_beta/generated/drives/item/list_/items/item/permissions/item/grant/grant_post_request_body.py index 5863e124e54..bc9938a8c61 100644 --- a/msgraph_beta/generated/drives/item/list_/items/item/permissions/item/grant/grant_post_request_body.py +++ b/msgraph_beta/generated/drives/item/list_/items/item/permissions/item/grant/grant_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .........models.drive_recipient import DriveRecipient + writer.write_collection_of_object_values("recipients", self.recipients) writer.write_collection_of_primitive_values("roles", self.roles) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/drives/item/list_/items/item/permissions/item/grant/grant_post_response.py b/msgraph_beta/generated/drives/item/list_/items/item/permissions/item/grant/grant_post_response.py index 352f1f40e5b..339872b8f4f 100644 --- a/msgraph_beta/generated/drives/item/list_/items/item/permissions/item/grant/grant_post_response.py +++ b/msgraph_beta/generated/drives/item/list_/items/item/permissions/item/grant/grant_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .........models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .........models.permission import Permission + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/drives/item/list_/items/item/permissions/item/revoke_grants/revoke_grants_post_request_body.py b/msgraph_beta/generated/drives/item/list_/items/item/permissions/item/revoke_grants/revoke_grants_post_request_body.py index 5b04d3c3772..a7a7d67a699 100644 --- a/msgraph_beta/generated/drives/item/list_/items/item/permissions/item/revoke_grants/revoke_grants_post_request_body.py +++ b/msgraph_beta/generated/drives/item/list_/items/item/permissions/item/revoke_grants/revoke_grants_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .........models.drive_recipient import DriveRecipient + writer.write_collection_of_object_values("grantees", self.grantees) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/drives/item/list_/items/item/versions/count/count_request_builder.py b/msgraph_beta/generated/drives/item/list_/items/item/versions/count/count_request_builder.py index b1275526eb1..438398ecc42 100644 --- a/msgraph_beta/generated/drives/item/list_/items/item/versions/count/count_request_builder.py +++ b/msgraph_beta/generated/drives/item/list_/items/item/versions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/drives/item/list_/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/drives/item/list_/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py index e9c415ecc05..667ad1ea1c6 100644 --- a/msgraph_beta/generated/drives/item/list_/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/drives/item/list_/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/drives/item/list_/operations/count/count_request_builder.py b/msgraph_beta/generated/drives/item/list_/operations/count/count_request_builder.py index c22fe53b4e3..b0ba972287d 100644 --- a/msgraph_beta/generated/drives/item/list_/operations/count/count_request_builder.py +++ b/msgraph_beta/generated/drives/item/list_/operations/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/drives/item/list_/permissions/count/count_request_builder.py b/msgraph_beta/generated/drives/item/list_/permissions/count/count_request_builder.py index 607db28fbb3..7e014efb16a 100644 --- a/msgraph_beta/generated/drives/item/list_/permissions/count/count_request_builder.py +++ b/msgraph_beta/generated/drives/item/list_/permissions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/drives/item/list_/permissions/item/grant/grant_post_request_body.py b/msgraph_beta/generated/drives/item/list_/permissions/item/grant/grant_post_request_body.py index d41c544d090..4a45b8cf2d1 100644 --- a/msgraph_beta/generated/drives/item/list_/permissions/item/grant/grant_post_request_body.py +++ b/msgraph_beta/generated/drives/item/list_/permissions/item/grant/grant_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .......models.drive_recipient import DriveRecipient + writer.write_collection_of_object_values("recipients", self.recipients) writer.write_collection_of_primitive_values("roles", self.roles) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/drives/item/list_/permissions/item/grant/grant_post_response.py b/msgraph_beta/generated/drives/item/list_/permissions/item/grant/grant_post_response.py index 7fd781689f8..1f171535aa6 100644 --- a/msgraph_beta/generated/drives/item/list_/permissions/item/grant/grant_post_response.py +++ b/msgraph_beta/generated/drives/item/list_/permissions/item/grant/grant_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .......models.permission import Permission + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/drives/item/list_/permissions/item/revoke_grants/revoke_grants_post_request_body.py b/msgraph_beta/generated/drives/item/list_/permissions/item/revoke_grants/revoke_grants_post_request_body.py index 83a5e85e6c9..75fe0cdcc6d 100644 --- a/msgraph_beta/generated/drives/item/list_/permissions/item/revoke_grants/revoke_grants_post_request_body.py +++ b/msgraph_beta/generated/drives/item/list_/permissions/item/revoke_grants/revoke_grants_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .......models.drive_recipient import DriveRecipient + writer.write_collection_of_object_values("grantees", self.grantees) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/drives/item/list_/subscriptions/count/count_request_builder.py b/msgraph_beta/generated/drives/item/list_/subscriptions/count/count_request_builder.py index ca34b107226..959c74d1416 100644 --- a/msgraph_beta/generated/drives/item/list_/subscriptions/count/count_request_builder.py +++ b/msgraph_beta/generated/drives/item/list_/subscriptions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/drives/item/recent/recent_get_response.py b/msgraph_beta/generated/drives/item/recent/recent_get_response.py index 45f7b6c8316..d50b272b7cc 100644 --- a/msgraph_beta/generated/drives/item/recent/recent_get_response.py +++ b/msgraph_beta/generated/drives/item/recent/recent_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ....models.drive_item import DriveItem + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/drives/item/search_with_q/search_with_q_get_response.py b/msgraph_beta/generated/drives/item/search_with_q/search_with_q_get_response.py index c0dab3528cd..0b4c56f1ae7 100644 --- a/msgraph_beta/generated/drives/item/search_with_q/search_with_q_get_response.py +++ b/msgraph_beta/generated/drives/item/search_with_q/search_with_q_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ....models.drive_item import DriveItem + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/drives/item/shared_with_me/shared_with_me_get_response.py b/msgraph_beta/generated/drives/item/shared_with_me/shared_with_me_get_response.py index a17437742e2..acf9607fa72 100644 --- a/msgraph_beta/generated/drives/item/shared_with_me/shared_with_me_get_response.py +++ b/msgraph_beta/generated/drives/item/shared_with_me/shared_with_me_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ....models.drive_item import DriveItem + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/drives/item/special/count/count_request_builder.py b/msgraph_beta/generated/drives/item/special/count/count_request_builder.py index c561abaee04..1ab6402137c 100644 --- a/msgraph_beta/generated/drives/item/special/count/count_request_builder.py +++ b/msgraph_beta/generated/drives/item/special/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/education/classes/count/count_request_builder.py b/msgraph_beta/generated/education/classes/count/count_request_builder.py index 6d1e9f7e8e6..b7e6dd7049e 100644 --- a/msgraph_beta/generated/education/classes/count/count_request_builder.py +++ b/msgraph_beta/generated/education/classes/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/education/classes/delta/delta_get_response.py b/msgraph_beta/generated/education/classes/delta/delta_get_response.py index 2dc597ffdd8..0ea8325ad61 100644 --- a/msgraph_beta/generated/education/classes/delta/delta_get_response.py +++ b/msgraph_beta/generated/education/classes/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_delta_function_response import BaseDeltaFunctionResponse + from ....models.education_class import EducationClass + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/education/classes/item/assignment_categories/count/count_request_builder.py b/msgraph_beta/generated/education/classes/item/assignment_categories/count/count_request_builder.py index 208e1922347..2222ebe8c86 100644 --- a/msgraph_beta/generated/education/classes/item/assignment_categories/count/count_request_builder.py +++ b/msgraph_beta/generated/education/classes/item/assignment_categories/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/education/classes/item/assignment_categories/delta/delta_get_response.py b/msgraph_beta/generated/education/classes/item/assignment_categories/delta/delta_get_response.py index 25c21b95a96..2a336394663 100644 --- a/msgraph_beta/generated/education/classes/item/assignment_categories/delta/delta_get_response.py +++ b/msgraph_beta/generated/education/classes/item/assignment_categories/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ......models.base_delta_function_response import BaseDeltaFunctionResponse + from ......models.education_category import EducationCategory + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/education/classes/item/assignment_settings/grading_categories/count/count_request_builder.py b/msgraph_beta/generated/education/classes/item/assignment_settings/grading_categories/count/count_request_builder.py index e767ee0be7f..9f2fc9431e0 100644 --- a/msgraph_beta/generated/education/classes/item/assignment_settings/grading_categories/count/count_request_builder.py +++ b/msgraph_beta/generated/education/classes/item/assignment_settings/grading_categories/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/education/classes/item/assignment_settings/grading_schemes/count/count_request_builder.py b/msgraph_beta/generated/education/classes/item/assignment_settings/grading_schemes/count/count_request_builder.py index 0ab61b0b854..ba39705c435 100644 --- a/msgraph_beta/generated/education/classes/item/assignment_settings/grading_schemes/count/count_request_builder.py +++ b/msgraph_beta/generated/education/classes/item/assignment_settings/grading_schemes/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/education/classes/item/assignments/count/count_request_builder.py b/msgraph_beta/generated/education/classes/item/assignments/count/count_request_builder.py index ed6ea6976cf..5cb36ada38e 100644 --- a/msgraph_beta/generated/education/classes/item/assignments/count/count_request_builder.py +++ b/msgraph_beta/generated/education/classes/item/assignments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/education/classes/item/assignments/delta/delta_get_response.py b/msgraph_beta/generated/education/classes/item/assignments/delta/delta_get_response.py index ec9f5194fc4..78d77c4320b 100644 --- a/msgraph_beta/generated/education/classes/item/assignments/delta/delta_get_response.py +++ b/msgraph_beta/generated/education/classes/item/assignments/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ......models.base_delta_function_response import BaseDeltaFunctionResponse + from ......models.education_assignment import EducationAssignment + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/education/classes/item/assignments/item/categories/count/count_request_builder.py b/msgraph_beta/generated/education/classes/item/assignments/item/categories/count/count_request_builder.py index 76cc5707416..c7ca93f95c0 100644 --- a/msgraph_beta/generated/education/classes/item/assignments/item/categories/count/count_request_builder.py +++ b/msgraph_beta/generated/education/classes/item/assignments/item/categories/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/education/classes/item/assignments/item/categories/delta/delta_get_response.py b/msgraph_beta/generated/education/classes/item/assignments/item/categories/delta/delta_get_response.py index 098872a3707..04552a3d0e5 100644 --- a/msgraph_beta/generated/education/classes/item/assignments/item/categories/delta/delta_get_response.py +++ b/msgraph_beta/generated/education/classes/item/assignments/item/categories/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ........models.base_delta_function_response import BaseDeltaFunctionResponse + from ........models.education_category import EducationCategory + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/education/classes/item/assignments/item/resources/count/count_request_builder.py b/msgraph_beta/generated/education/classes/item/assignments/item/resources/count/count_request_builder.py index e5254077543..c2c3e21a478 100644 --- a/msgraph_beta/generated/education/classes/item/assignments/item/resources/count/count_request_builder.py +++ b/msgraph_beta/generated/education/classes/item/assignments/item/resources/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/education/classes/item/assignments/item/resources/item/dependent_resources/count/count_request_builder.py b/msgraph_beta/generated/education/classes/item/assignments/item/resources/item/dependent_resources/count/count_request_builder.py index 060ade9f8f5..431efb6f074 100644 --- a/msgraph_beta/generated/education/classes/item/assignments/item/resources/item/dependent_resources/count/count_request_builder.py +++ b/msgraph_beta/generated/education/classes/item/assignments/item/resources/item/dependent_resources/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/education/classes/item/assignments/item/rubric/ref/ref_request_builder.py b/msgraph_beta/generated/education/classes/item/assignments/item/rubric/ref/ref_request_builder.py index cf6cb573185..b175a79ff3d 100644 --- a/msgraph_beta/generated/education/classes/item/assignments/item/rubric/ref/ref_request_builder.py +++ b/msgraph_beta/generated/education/classes/item/assignments/item/rubric/ref/ref_request_builder.py @@ -65,7 +65,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[QueryPar } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "str", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, str, error_mapping) async def put(self,body: ReferenceUpdate, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ diff --git a/msgraph_beta/generated/education/classes/item/assignments/item/submissions/count/count_request_builder.py b/msgraph_beta/generated/education/classes/item/assignments/item/submissions/count/count_request_builder.py index 67555fb3c84..341f90e2c17 100644 --- a/msgraph_beta/generated/education/classes/item/assignments/item/submissions/count/count_request_builder.py +++ b/msgraph_beta/generated/education/classes/item/assignments/item/submissions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/education/classes/item/assignments/item/submissions/item/outcomes/count/count_request_builder.py b/msgraph_beta/generated/education/classes/item/assignments/item/submissions/item/outcomes/count/count_request_builder.py index 32daaf2c229..aa8f83d2b04 100644 --- a/msgraph_beta/generated/education/classes/item/assignments/item/submissions/item/outcomes/count/count_request_builder.py +++ b/msgraph_beta/generated/education/classes/item/assignments/item/submissions/item/outcomes/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/education/classes/item/assignments/item/submissions/item/resources/count/count_request_builder.py b/msgraph_beta/generated/education/classes/item/assignments/item/submissions/item/resources/count/count_request_builder.py index cf5b8c2d6ba..aee339941ae 100644 --- a/msgraph_beta/generated/education/classes/item/assignments/item/submissions/item/resources/count/count_request_builder.py +++ b/msgraph_beta/generated/education/classes/item/assignments/item/submissions/item/resources/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/education/classes/item/assignments/item/submissions/item/resources/item/dependent_resources/count/count_request_builder.py b/msgraph_beta/generated/education/classes/item/assignments/item/submissions/item/resources/item/dependent_resources/count/count_request_builder.py index d230f1069d2..d6fecc1b170 100644 --- a/msgraph_beta/generated/education/classes/item/assignments/item/submissions/item/resources/item/dependent_resources/count/count_request_builder.py +++ b/msgraph_beta/generated/education/classes/item/assignments/item/submissions/item/resources/item/dependent_resources/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/education/classes/item/assignments/item/submissions/item/submitted_resources/count/count_request_builder.py b/msgraph_beta/generated/education/classes/item/assignments/item/submissions/item/submitted_resources/count/count_request_builder.py index 1a8bbb2af9b..46e0845ccd9 100644 --- a/msgraph_beta/generated/education/classes/item/assignments/item/submissions/item/submitted_resources/count/count_request_builder.py +++ b/msgraph_beta/generated/education/classes/item/assignments/item/submissions/item/submitted_resources/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/education/classes/item/assignments/item/submissions/item/submitted_resources/item/dependent_resources/count/count_request_builder.py b/msgraph_beta/generated/education/classes/item/assignments/item/submissions/item/submitted_resources/item/dependent_resources/count/count_request_builder.py index 3dd49e8b4fc..7bf9f9751c3 100644 --- a/msgraph_beta/generated/education/classes/item/assignments/item/submissions/item/submitted_resources/item/dependent_resources/count/count_request_builder.py +++ b/msgraph_beta/generated/education/classes/item/assignments/item/submissions/item/submitted_resources/item/dependent_resources/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/education/classes/item/get_recently_modified_submissions/get_recently_modified_submissions_get_response.py b/msgraph_beta/generated/education/classes/item/get_recently_modified_submissions/get_recently_modified_submissions_get_response.py index f4d2557eb62..66c64656830 100644 --- a/msgraph_beta/generated/education/classes/item/get_recently_modified_submissions/get_recently_modified_submissions_get_response.py +++ b/msgraph_beta/generated/education/classes/item/get_recently_modified_submissions/get_recently_modified_submissions_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .....models.education_submission import EducationSubmission + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/education/classes/item/group/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/education/classes/item/group/service_provisioning_errors/count/count_request_builder.py index e297384e4fc..e6aa922bd3f 100644 --- a/msgraph_beta/generated/education/classes/item/group/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/education/classes/item/group/service_provisioning_errors/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/education/classes/item/members/count/count_request_builder.py b/msgraph_beta/generated/education/classes/item/members/count/count_request_builder.py index fd52aba342f..6602692ce67 100644 --- a/msgraph_beta/generated/education/classes/item/members/count/count_request_builder.py +++ b/msgraph_beta/generated/education/classes/item/members/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/education/classes/item/modules/count/count_request_builder.py b/msgraph_beta/generated/education/classes/item/modules/count/count_request_builder.py index 5e69902bd01..ed2751a91df 100644 --- a/msgraph_beta/generated/education/classes/item/modules/count/count_request_builder.py +++ b/msgraph_beta/generated/education/classes/item/modules/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/education/classes/item/modules/item/resources/count/count_request_builder.py b/msgraph_beta/generated/education/classes/item/modules/item/resources/count/count_request_builder.py index 9b01a3faea3..a09d5b2dea3 100644 --- a/msgraph_beta/generated/education/classes/item/modules/item/resources/count/count_request_builder.py +++ b/msgraph_beta/generated/education/classes/item/modules/item/resources/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/education/classes/item/schools/count/count_request_builder.py b/msgraph_beta/generated/education/classes/item/schools/count/count_request_builder.py index a014a97b898..306f85eb938 100644 --- a/msgraph_beta/generated/education/classes/item/schools/count/count_request_builder.py +++ b/msgraph_beta/generated/education/classes/item/schools/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/education/classes/item/teachers/count/count_request_builder.py b/msgraph_beta/generated/education/classes/item/teachers/count/count_request_builder.py index 492a0b9e4b3..6276724b1a6 100644 --- a/msgraph_beta/generated/education/classes/item/teachers/count/count_request_builder.py +++ b/msgraph_beta/generated/education/classes/item/teachers/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/education/education_request_builder.py b/msgraph_beta/generated/education/education_request_builder.py index 43497810d4d..ac01ef75184 100644 --- a/msgraph_beta/generated/education/education_request_builder.py +++ b/msgraph_beta/generated/education/education_request_builder.py @@ -17,6 +17,7 @@ from ..models.o_data_errors.o_data_error import ODataError from .classes.classes_request_builder import ClassesRequestBuilder from .me.me_request_builder import MeRequestBuilder + from .reports.reports_request_builder import ReportsRequestBuilder from .schools.schools_request_builder import SchoolsRequestBuilder from .synchronization_profiles.synchronization_profiles_request_builder import SynchronizationProfilesRequestBuilder from .users.users_request_builder import UsersRequestBuilder @@ -131,6 +132,15 @@ def me(self) -> MeRequestBuilder: return MeRequestBuilder(self.request_adapter, self.path_parameters) + @property + def reports(self) -> ReportsRequestBuilder: + """ + Provides operations to manage the reports property of the microsoft.graph.educationRoot entity. + """ + from .reports.reports_request_builder import ReportsRequestBuilder + + return ReportsRequestBuilder(self.request_adapter, self.path_parameters) + @property def schools(self) -> SchoolsRequestBuilder: """ diff --git a/msgraph_beta/generated/education/me/assignments/count/count_request_builder.py b/msgraph_beta/generated/education/me/assignments/count/count_request_builder.py index e5774751842..0e96c41de90 100644 --- a/msgraph_beta/generated/education/me/assignments/count/count_request_builder.py +++ b/msgraph_beta/generated/education/me/assignments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/education/me/assignments/delta/delta_get_response.py b/msgraph_beta/generated/education/me/assignments/delta/delta_get_response.py index 84e329062bf..10492251076 100644 --- a/msgraph_beta/generated/education/me/assignments/delta/delta_get_response.py +++ b/msgraph_beta/generated/education/me/assignments/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .....models.base_delta_function_response import BaseDeltaFunctionResponse + from .....models.education_assignment import EducationAssignment + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/education/me/assignments/item/categories/count/count_request_builder.py b/msgraph_beta/generated/education/me/assignments/item/categories/count/count_request_builder.py index 6c77119c96f..0fb228b16e3 100644 --- a/msgraph_beta/generated/education/me/assignments/item/categories/count/count_request_builder.py +++ b/msgraph_beta/generated/education/me/assignments/item/categories/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/education/me/assignments/item/categories/delta/delta_get_response.py b/msgraph_beta/generated/education/me/assignments/item/categories/delta/delta_get_response.py index 26ec23fb26f..75d690b5cc1 100644 --- a/msgraph_beta/generated/education/me/assignments/item/categories/delta/delta_get_response.py +++ b/msgraph_beta/generated/education/me/assignments/item/categories/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .......models.base_delta_function_response import BaseDeltaFunctionResponse + from .......models.education_category import EducationCategory + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/education/me/assignments/item/resources/count/count_request_builder.py b/msgraph_beta/generated/education/me/assignments/item/resources/count/count_request_builder.py index 43d6579117b..01c573f744b 100644 --- a/msgraph_beta/generated/education/me/assignments/item/resources/count/count_request_builder.py +++ b/msgraph_beta/generated/education/me/assignments/item/resources/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/education/me/assignments/item/resources/item/dependent_resources/count/count_request_builder.py b/msgraph_beta/generated/education/me/assignments/item/resources/item/dependent_resources/count/count_request_builder.py index abecc4aa6c6..8bb9f22e247 100644 --- a/msgraph_beta/generated/education/me/assignments/item/resources/item/dependent_resources/count/count_request_builder.py +++ b/msgraph_beta/generated/education/me/assignments/item/resources/item/dependent_resources/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/education/me/assignments/item/rubric/ref/ref_request_builder.py b/msgraph_beta/generated/education/me/assignments/item/rubric/ref/ref_request_builder.py index ff8522c101e..556ea215acb 100644 --- a/msgraph_beta/generated/education/me/assignments/item/rubric/ref/ref_request_builder.py +++ b/msgraph_beta/generated/education/me/assignments/item/rubric/ref/ref_request_builder.py @@ -63,7 +63,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[QueryPar } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "str", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, str, error_mapping) async def put(self,body: ReferenceUpdate, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ diff --git a/msgraph_beta/generated/education/me/assignments/item/submissions/count/count_request_builder.py b/msgraph_beta/generated/education/me/assignments/item/submissions/count/count_request_builder.py index 209859d3892..908de60e3f2 100644 --- a/msgraph_beta/generated/education/me/assignments/item/submissions/count/count_request_builder.py +++ b/msgraph_beta/generated/education/me/assignments/item/submissions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/education/me/assignments/item/submissions/item/outcomes/count/count_request_builder.py b/msgraph_beta/generated/education/me/assignments/item/submissions/item/outcomes/count/count_request_builder.py index 3b17af6a67b..206cb87d83b 100644 --- a/msgraph_beta/generated/education/me/assignments/item/submissions/item/outcomes/count/count_request_builder.py +++ b/msgraph_beta/generated/education/me/assignments/item/submissions/item/outcomes/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/education/me/assignments/item/submissions/item/resources/count/count_request_builder.py b/msgraph_beta/generated/education/me/assignments/item/submissions/item/resources/count/count_request_builder.py index e191f882d1d..f1668bd44ee 100644 --- a/msgraph_beta/generated/education/me/assignments/item/submissions/item/resources/count/count_request_builder.py +++ b/msgraph_beta/generated/education/me/assignments/item/submissions/item/resources/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/education/me/assignments/item/submissions/item/resources/item/dependent_resources/count/count_request_builder.py b/msgraph_beta/generated/education/me/assignments/item/submissions/item/resources/item/dependent_resources/count/count_request_builder.py index eac0b5942d2..6ec540e18ba 100644 --- a/msgraph_beta/generated/education/me/assignments/item/submissions/item/resources/item/dependent_resources/count/count_request_builder.py +++ b/msgraph_beta/generated/education/me/assignments/item/submissions/item/resources/item/dependent_resources/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/education/me/assignments/item/submissions/item/submitted_resources/count/count_request_builder.py b/msgraph_beta/generated/education/me/assignments/item/submissions/item/submitted_resources/count/count_request_builder.py index 131c4464afd..6359852a155 100644 --- a/msgraph_beta/generated/education/me/assignments/item/submissions/item/submitted_resources/count/count_request_builder.py +++ b/msgraph_beta/generated/education/me/assignments/item/submissions/item/submitted_resources/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/education/me/assignments/item/submissions/item/submitted_resources/item/dependent_resources/count/count_request_builder.py b/msgraph_beta/generated/education/me/assignments/item/submissions/item/submitted_resources/item/dependent_resources/count/count_request_builder.py index 68f34e28fd5..dab781078c8 100644 --- a/msgraph_beta/generated/education/me/assignments/item/submissions/item/submitted_resources/item/dependent_resources/count/count_request_builder.py +++ b/msgraph_beta/generated/education/me/assignments/item/submissions/item/submitted_resources/item/dependent_resources/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/education/me/classes/count/count_request_builder.py b/msgraph_beta/generated/education/me/classes/count/count_request_builder.py index 40fc93ad315..b7ecb81600c 100644 --- a/msgraph_beta/generated/education/me/classes/count/count_request_builder.py +++ b/msgraph_beta/generated/education/me/classes/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/education/me/rubrics/count/count_request_builder.py b/msgraph_beta/generated/education/me/rubrics/count/count_request_builder.py index 11252816e17..00058744020 100644 --- a/msgraph_beta/generated/education/me/rubrics/count/count_request_builder.py +++ b/msgraph_beta/generated/education/me/rubrics/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/education/me/schools/count/count_request_builder.py b/msgraph_beta/generated/education/me/schools/count/count_request_builder.py index 2df239e82f5..b47c9b7d185 100644 --- a/msgraph_beta/generated/education/me/schools/count/count_request_builder.py +++ b/msgraph_beta/generated/education/me/schools/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/education/me/taught_classes/count/count_request_builder.py b/msgraph_beta/generated/education/me/taught_classes/count/count_request_builder.py index 7cb0c772514..b065b154edd 100644 --- a/msgraph_beta/generated/education/me/taught_classes/count/count_request_builder.py +++ b/msgraph_beta/generated/education/me/taught_classes/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/education/me/user/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/education/me/user/service_provisioning_errors/count/count_request_builder.py index 4ac78ce73b1..a6f665aa95e 100644 --- a/msgraph_beta/generated/education/me/user/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/education/me/user/service_provisioning_errors/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/education/reports/reading_assignment_submissions/count/count_request_builder.py b/msgraph_beta/generated/education/reports/reading_assignment_submissions/count/count_request_builder.py new file mode 100644 index 00000000000..83c90480137 --- /dev/null +++ b/msgraph_beta/generated/education/reports/reading_assignment_submissions/count/count_request_builder.py @@ -0,0 +1,103 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from .....models.o_data_errors.o_data_error import ODataError + +class CountRequestBuilder(BaseRequestBuilder): + """ + Provides operations to count the resources in the collection. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new CountRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/education/reports/readingAssignmentSubmissions/$count{?%24filter,%24search}", path_parameters) + + async def get(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> Optional[int]: + """ + Get the number of the resource + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[int] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from .....models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Get the number of the resource + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "text/plain;q=0.9") + return request_info + + def with_url(self,raw_url: str) -> CountRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: CountRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return CountRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class CountRequestBuilderGetQueryParameters(): + """ + Get the number of the resource + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "filter": + return "%24filter" + if original_name == "search": + return "%24search" + return original_name + + # Filter items by property values + filter: Optional[str] = None + + # Search items by search phrases + search: Optional[str] = None + + + @dataclass + class CountRequestBuilderGetRequestConfiguration(RequestConfiguration[CountRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/education/reports/reading_assignment_submissions/item/reading_assignment_submission_item_request_builder.py b/msgraph_beta/generated/education/reports/reading_assignment_submissions/item/reading_assignment_submission_item_request_builder.py new file mode 100644 index 00000000000..2a1b294d6a4 --- /dev/null +++ b/msgraph_beta/generated/education/reports/reading_assignment_submissions/item/reading_assignment_submission_item_request_builder.py @@ -0,0 +1,187 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from .....models.o_data_errors.o_data_error import ODataError + from .....models.reading_assignment_submission import ReadingAssignmentSubmission + +class ReadingAssignmentSubmissionItemRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the readingAssignmentSubmissions property of the microsoft.graph.reportsRoot entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new ReadingAssignmentSubmissionItemRequestBuilder 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}/education/reports/readingAssignmentSubmissions/{readingAssignmentSubmission%2Did}{?%24expand,%24select}", path_parameters) + + async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: + """ + Delete navigation property readingAssignmentSubmissions for education + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: None + """ + request_info = self.to_delete_request_information( + request_configuration + ) + from .....models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, 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) + + async def get(self,request_configuration: Optional[RequestConfiguration[ReadingAssignmentSubmissionItemRequestBuilderGetQueryParameters]] = None) -> Optional[ReadingAssignmentSubmission]: + """ + Get readingAssignmentSubmissions from education + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[ReadingAssignmentSubmission] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from .....models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .....models.reading_assignment_submission import ReadingAssignmentSubmission + + return await self.request_adapter.send_async(request_info, ReadingAssignmentSubmission, error_mapping) + + async def patch(self,body: ReadingAssignmentSubmission, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ReadingAssignmentSubmission]: + """ + Update the navigation property readingAssignmentSubmissions in education + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[ReadingAssignmentSubmission] + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = self.to_patch_request_information( + body, request_configuration + ) + from .....models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .....models.reading_assignment_submission import ReadingAssignmentSubmission + + return await self.request_adapter.send_async(request_info, ReadingAssignmentSubmission, error_mapping) + + def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Delete navigation property readingAssignmentSubmissions for education + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ReadingAssignmentSubmissionItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Get readingAssignmentSubmissions from education + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_patch_request_information(self,body: ReadingAssignmentSubmission, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Update the navigation property readingAssignmentSubmissions in education + 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.PATCH, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + return request_info + + def with_url(self,raw_url: str) -> ReadingAssignmentSubmissionItemRequestBuilder: + """ + 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: ReadingAssignmentSubmissionItemRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return ReadingAssignmentSubmissionItemRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class ReadingAssignmentSubmissionItemRequestBuilderDeleteRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + @dataclass + class ReadingAssignmentSubmissionItemRequestBuilderGetQueryParameters(): + """ + Get readingAssignmentSubmissions from education + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "expand": + return "%24expand" + if original_name == "select": + return "%24select" + return original_name + + # Expand related entities + expand: Optional[List[str]] = None + + # Select properties to be returned + select: Optional[List[str]] = None + + + @dataclass + class ReadingAssignmentSubmissionItemRequestBuilderGetRequestConfiguration(RequestConfiguration[ReadingAssignmentSubmissionItemRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + @dataclass + class ReadingAssignmentSubmissionItemRequestBuilderPatchRequestConfiguration(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_beta/generated/education/reports/reading_assignment_submissions/reading_assignment_submissions_request_builder.py b/msgraph_beta/generated/education/reports/reading_assignment_submissions/reading_assignment_submissions_request_builder.py new file mode 100644 index 00000000000..5d7f64170da --- /dev/null +++ b/msgraph_beta/generated/education/reports/reading_assignment_submissions/reading_assignment_submissions_request_builder.py @@ -0,0 +1,208 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from ....models.o_data_errors.o_data_error import ODataError + from ....models.reading_assignment_submission import ReadingAssignmentSubmission + from ....models.reading_assignment_submission_collection_response import ReadingAssignmentSubmissionCollectionResponse + from .count.count_request_builder import CountRequestBuilder + from .item.reading_assignment_submission_item_request_builder import ReadingAssignmentSubmissionItemRequestBuilder + +class ReadingAssignmentSubmissionsRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the readingAssignmentSubmissions property of the microsoft.graph.reportsRoot entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new ReadingAssignmentSubmissionsRequestBuilder 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}/education/reports/readingAssignmentSubmissions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", path_parameters) + + def by_reading_assignment_submission_id(self,reading_assignment_submission_id: str) -> ReadingAssignmentSubmissionItemRequestBuilder: + """ + Provides operations to manage the readingAssignmentSubmissions property of the microsoft.graph.reportsRoot entity. + param reading_assignment_submission_id: The unique identifier of readingAssignmentSubmission + Returns: ReadingAssignmentSubmissionItemRequestBuilder + """ + if reading_assignment_submission_id is None: + raise TypeError("reading_assignment_submission_id cannot be null.") + from .item.reading_assignment_submission_item_request_builder import ReadingAssignmentSubmissionItemRequestBuilder + + url_tpl_params = get_path_parameters(self.path_parameters) + url_tpl_params["readingAssignmentSubmission%2Did"] = reading_assignment_submission_id + return ReadingAssignmentSubmissionItemRequestBuilder(self.request_adapter, url_tpl_params) + + async def get(self,request_configuration: Optional[RequestConfiguration[ReadingAssignmentSubmissionsRequestBuilderGetQueryParameters]] = None) -> Optional[ReadingAssignmentSubmissionCollectionResponse]: + """ + Read the properties and relationships of a readingAssignmentSubmission object. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[ReadingAssignmentSubmissionCollectionResponse] + Find more info here: https://learn.microsoft.com/graph/api/readingassignmentsubmission-get?view=graph-rest-beta + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ....models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ....models.reading_assignment_submission_collection_response import ReadingAssignmentSubmissionCollectionResponse + + return await self.request_adapter.send_async(request_info, ReadingAssignmentSubmissionCollectionResponse, error_mapping) + + async def post(self,body: ReadingAssignmentSubmission, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ReadingAssignmentSubmission]: + """ + Create new navigation property to readingAssignmentSubmissions for education + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[ReadingAssignmentSubmission] + """ + 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") + from ....models.reading_assignment_submission import ReadingAssignmentSubmission + + return await self.request_adapter.send_async(request_info, ReadingAssignmentSubmission, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ReadingAssignmentSubmissionsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Read the properties and relationships of a readingAssignmentSubmission object. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_post_request_information(self,body: ReadingAssignmentSubmission, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Create new navigation property to readingAssignmentSubmissions for education + 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) -> ReadingAssignmentSubmissionsRequestBuilder: + """ + 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: ReadingAssignmentSubmissionsRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return ReadingAssignmentSubmissionsRequestBuilder(self.request_adapter, raw_url) + + @property + def count(self) -> CountRequestBuilder: + """ + Provides operations to count the resources in the collection. + """ + from .count.count_request_builder import CountRequestBuilder + + return CountRequestBuilder(self.request_adapter, self.path_parameters) + + @dataclass + class ReadingAssignmentSubmissionsRequestBuilderGetQueryParameters(): + """ + Read the properties and relationships of a readingAssignmentSubmission object. + """ + 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 ReadingAssignmentSubmissionsRequestBuilderGetRequestConfiguration(RequestConfiguration[ReadingAssignmentSubmissionsRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + @dataclass + class ReadingAssignmentSubmissionsRequestBuilderPostRequestConfiguration(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_beta/generated/device_management/managed_devices/item/reprovision_cloud_pc/reprovision_cloud_pc_request_builder.py b/msgraph_beta/generated/education/reports/reflect_check_in_responses/count/count_request_builder.py similarity index 53% rename from msgraph_beta/generated/device_management/managed_devices/item/reprovision_cloud_pc/reprovision_cloud_pc_request_builder.py rename to msgraph_beta/generated/education/reports/reflect_check_in_responses/count/count_request_builder.py index 1e9e989f993..86e0bc0ac8d 100644 --- a/msgraph_beta/generated/device_management/managed_devices/item/reprovision_cloud_pc/reprovision_cloud_pc_request_builder.py +++ b/msgraph_beta/generated/education/reports/reflect_check_in_responses/count/count_request_builder.py @@ -15,27 +15,26 @@ if TYPE_CHECKING: from .....models.o_data_errors.o_data_error import ODataError -class ReprovisionCloudPcRequestBuilder(BaseRequestBuilder): +class CountRequestBuilder(BaseRequestBuilder): """ - Provides operations to call the reprovisionCloudPc method. + Provides operations to count the resources in the collection. """ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: """ - Instantiates a new ReprovisionCloudPcRequestBuilder and sets the default values. + Instantiates a new CountRequestBuilder and sets the default values. param path_parameters: The raw url or the url-template parameters for the request. param request_adapter: The request adapter to use to execute the requests. Returns: None """ - super().__init__(request_adapter, "{+baseurl}/deviceManagement/managedDevices/{managedDevice%2Did}/reprovisionCloudPc", path_parameters) + super().__init__(request_adapter, "{+baseurl}/education/reports/reflectCheckInResponses/$count{?%24filter,%24search}", path_parameters) - async def post(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: + async def get(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> Optional[int]: """ - Invoke action reprovisionCloudPc + Get the number of the resource param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: None + Returns: Optional[int] """ - warn("The reprovisionCloudPc API is deprecated and will stop returning on Sep 30, 2023. Please use reprovision instead as of 2023-07/reprovisionCloudPc", DeprecationWarning) - request_info = self.to_post_request_information( + request_info = self.to_get_request_information( request_configuration ) from .....models.o_data_errors.o_data_error import ODataError @@ -45,33 +44,57 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa } 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) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) - def to_post_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Invoke action reprovisionCloudPc + Get the number of the resource param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn("The reprovisionCloudPc API is deprecated and will stop returning on Sep 30, 2023. Please use reprovision instead as of 2023-07/reprovisionCloudPc", DeprecationWarning) - request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) - request_info.headers.try_add("Accept", "application/json") + request_info.headers.try_add("Accept", "text/plain;q=0.9") return request_info - def with_url(self,raw_url: str) -> ReprovisionCloudPcRequestBuilder: + def with_url(self,raw_url: str) -> CountRequestBuilder: """ Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. param raw_url: The raw URL to use for the request builder. - Returns: ReprovisionCloudPcRequestBuilder + Returns: CountRequestBuilder """ - warn("The reprovisionCloudPc API is deprecated and will stop returning on Sep 30, 2023. Please use reprovision instead as of 2023-07/reprovisionCloudPc", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") - return ReprovisionCloudPcRequestBuilder(self.request_adapter, raw_url) + return CountRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class CountRequestBuilderGetQueryParameters(): + """ + Get the number of the resource + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "filter": + return "%24filter" + if original_name == "search": + return "%24search" + return original_name + + # Filter items by property values + filter: Optional[str] = None + + # Search items by search phrases + search: Optional[str] = None + @dataclass - class ReprovisionCloudPcRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]): + class CountRequestBuilderGetRequestConfiguration(RequestConfiguration[CountRequestBuilderGetQueryParameters]): """ Configuration for the request such as headers, query parameters, and middleware options. """ diff --git a/msgraph_beta/generated/education/reports/reflect_check_in_responses/item/reflect_check_in_response_item_request_builder.py b/msgraph_beta/generated/education/reports/reflect_check_in_responses/item/reflect_check_in_response_item_request_builder.py new file mode 100644 index 00000000000..67db24923ea --- /dev/null +++ b/msgraph_beta/generated/education/reports/reflect_check_in_responses/item/reflect_check_in_response_item_request_builder.py @@ -0,0 +1,187 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from .....models.o_data_errors.o_data_error import ODataError + from .....models.reflect_check_in_response import ReflectCheckInResponse + +class ReflectCheckInResponseItemRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the reflectCheckInResponses property of the microsoft.graph.reportsRoot entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new ReflectCheckInResponseItemRequestBuilder 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}/education/reports/reflectCheckInResponses/{reflectCheckInResponse%2Did}{?%24expand,%24select}", path_parameters) + + async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: + """ + Delete navigation property reflectCheckInResponses for education + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: None + """ + request_info = self.to_delete_request_information( + request_configuration + ) + from .....models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, 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) + + async def get(self,request_configuration: Optional[RequestConfiguration[ReflectCheckInResponseItemRequestBuilderGetQueryParameters]] = None) -> Optional[ReflectCheckInResponse]: + """ + Get reflectCheckInResponses from education + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[ReflectCheckInResponse] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from .....models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .....models.reflect_check_in_response import ReflectCheckInResponse + + return await self.request_adapter.send_async(request_info, ReflectCheckInResponse, error_mapping) + + async def patch(self,body: ReflectCheckInResponse, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ReflectCheckInResponse]: + """ + Update the navigation property reflectCheckInResponses in education + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[ReflectCheckInResponse] + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = self.to_patch_request_information( + body, request_configuration + ) + from .....models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .....models.reflect_check_in_response import ReflectCheckInResponse + + return await self.request_adapter.send_async(request_info, ReflectCheckInResponse, error_mapping) + + def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Delete navigation property reflectCheckInResponses for education + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ReflectCheckInResponseItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Get reflectCheckInResponses from education + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_patch_request_information(self,body: ReflectCheckInResponse, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Update the navigation property reflectCheckInResponses in education + 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.PATCH, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + return request_info + + def with_url(self,raw_url: str) -> ReflectCheckInResponseItemRequestBuilder: + """ + 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: ReflectCheckInResponseItemRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return ReflectCheckInResponseItemRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class ReflectCheckInResponseItemRequestBuilderDeleteRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + @dataclass + class ReflectCheckInResponseItemRequestBuilderGetQueryParameters(): + """ + Get reflectCheckInResponses from education + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "expand": + return "%24expand" + if original_name == "select": + return "%24select" + return original_name + + # Expand related entities + expand: Optional[List[str]] = None + + # Select properties to be returned + select: Optional[List[str]] = None + + + @dataclass + class ReflectCheckInResponseItemRequestBuilderGetRequestConfiguration(RequestConfiguration[ReflectCheckInResponseItemRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + @dataclass + class ReflectCheckInResponseItemRequestBuilderPatchRequestConfiguration(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_beta/generated/education/reports/reflect_check_in_responses/reflect_check_in_responses_request_builder.py b/msgraph_beta/generated/education/reports/reflect_check_in_responses/reflect_check_in_responses_request_builder.py new file mode 100644 index 00000000000..11ab75f5f08 --- /dev/null +++ b/msgraph_beta/generated/education/reports/reflect_check_in_responses/reflect_check_in_responses_request_builder.py @@ -0,0 +1,208 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from ....models.o_data_errors.o_data_error import ODataError + from ....models.reflect_check_in_response import ReflectCheckInResponse + from ....models.reflect_check_in_response_collection_response import ReflectCheckInResponseCollectionResponse + from .count.count_request_builder import CountRequestBuilder + from .item.reflect_check_in_response_item_request_builder import ReflectCheckInResponseItemRequestBuilder + +class ReflectCheckInResponsesRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the reflectCheckInResponses property of the microsoft.graph.reportsRoot entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new ReflectCheckInResponsesRequestBuilder 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}/education/reports/reflectCheckInResponses{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", path_parameters) + + def by_reflect_check_in_response_id(self,reflect_check_in_response_id: str) -> ReflectCheckInResponseItemRequestBuilder: + """ + Provides operations to manage the reflectCheckInResponses property of the microsoft.graph.reportsRoot entity. + param reflect_check_in_response_id: The unique identifier of reflectCheckInResponse + Returns: ReflectCheckInResponseItemRequestBuilder + """ + if reflect_check_in_response_id is None: + raise TypeError("reflect_check_in_response_id cannot be null.") + from .item.reflect_check_in_response_item_request_builder import ReflectCheckInResponseItemRequestBuilder + + url_tpl_params = get_path_parameters(self.path_parameters) + url_tpl_params["reflectCheckInResponse%2Did"] = reflect_check_in_response_id + return ReflectCheckInResponseItemRequestBuilder(self.request_adapter, url_tpl_params) + + async def get(self,request_configuration: Optional[RequestConfiguration[ReflectCheckInResponsesRequestBuilderGetQueryParameters]] = None) -> Optional[ReflectCheckInResponseCollectionResponse]: + """ + Read the properties and relationships of a reflectCheckInResponse object. This method gets the responses to a Microsoft Reflect check-in. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[ReflectCheckInResponseCollectionResponse] + Find more info here: https://learn.microsoft.com/graph/api/reflectcheckinresponse-get?view=graph-rest-beta + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ....models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ....models.reflect_check_in_response_collection_response import ReflectCheckInResponseCollectionResponse + + return await self.request_adapter.send_async(request_info, ReflectCheckInResponseCollectionResponse, error_mapping) + + async def post(self,body: ReflectCheckInResponse, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ReflectCheckInResponse]: + """ + Create new navigation property to reflectCheckInResponses for education + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[ReflectCheckInResponse] + """ + 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") + from ....models.reflect_check_in_response import ReflectCheckInResponse + + return await self.request_adapter.send_async(request_info, ReflectCheckInResponse, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ReflectCheckInResponsesRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Read the properties and relationships of a reflectCheckInResponse object. This method gets the responses to a Microsoft Reflect check-in. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_post_request_information(self,body: ReflectCheckInResponse, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Create new navigation property to reflectCheckInResponses for education + 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) -> ReflectCheckInResponsesRequestBuilder: + """ + 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: ReflectCheckInResponsesRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return ReflectCheckInResponsesRequestBuilder(self.request_adapter, raw_url) + + @property + def count(self) -> CountRequestBuilder: + """ + Provides operations to count the resources in the collection. + """ + from .count.count_request_builder import CountRequestBuilder + + return CountRequestBuilder(self.request_adapter, self.path_parameters) + + @dataclass + class ReflectCheckInResponsesRequestBuilderGetQueryParameters(): + """ + Read the properties and relationships of a reflectCheckInResponse object. This method gets the responses to a Microsoft Reflect check-in. + """ + 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 ReflectCheckInResponsesRequestBuilderGetRequestConfiguration(RequestConfiguration[ReflectCheckInResponsesRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + @dataclass + class ReflectCheckInResponsesRequestBuilderPostRequestConfiguration(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_beta/generated/education/reports/reports_request_builder.py b/msgraph_beta/generated/education/reports/reports_request_builder.py new file mode 100644 index 00000000000..e8243b2c630 --- /dev/null +++ b/msgraph_beta/generated/education/reports/reports_request_builder.py @@ -0,0 +1,207 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from ...models.o_data_errors.o_data_error import ODataError + from ...models.reports_root import ReportsRoot + from .reading_assignment_submissions.reading_assignment_submissions_request_builder import ReadingAssignmentSubmissionsRequestBuilder + from .reflect_check_in_responses.reflect_check_in_responses_request_builder import ReflectCheckInResponsesRequestBuilder + +class ReportsRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the reports property of the microsoft.graph.educationRoot entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new ReportsRequestBuilder 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}/education/reports{?%24expand,%24select}", path_parameters) + + async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: + """ + Delete navigation property reports for education + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: None + """ + request_info = self.to_delete_request_information( + request_configuration + ) + from ...models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, 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) + + async def get(self,request_configuration: Optional[RequestConfiguration[ReportsRequestBuilderGetQueryParameters]] = None) -> Optional[ReportsRoot]: + """ + Get reports from education + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[ReportsRoot] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ...models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ...models.reports_root import ReportsRoot + + return await self.request_adapter.send_async(request_info, ReportsRoot, error_mapping) + + async def patch(self,body: ReportsRoot, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ReportsRoot]: + """ + Update the navigation property reports in education + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[ReportsRoot] + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = self.to_patch_request_information( + body, request_configuration + ) + from ...models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ...models.reports_root import ReportsRoot + + return await self.request_adapter.send_async(request_info, ReportsRoot, error_mapping) + + def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Delete navigation property reports for education + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ReportsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Get reports from education + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_patch_request_information(self,body: ReportsRoot, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Update the navigation property reports in education + 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.PATCH, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + return request_info + + def with_url(self,raw_url: str) -> ReportsRequestBuilder: + """ + 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: ReportsRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return ReportsRequestBuilder(self.request_adapter, raw_url) + + @property + def reading_assignment_submissions(self) -> ReadingAssignmentSubmissionsRequestBuilder: + """ + Provides operations to manage the readingAssignmentSubmissions property of the microsoft.graph.reportsRoot entity. + """ + from .reading_assignment_submissions.reading_assignment_submissions_request_builder import ReadingAssignmentSubmissionsRequestBuilder + + return ReadingAssignmentSubmissionsRequestBuilder(self.request_adapter, self.path_parameters) + + @property + def reflect_check_in_responses(self) -> ReflectCheckInResponsesRequestBuilder: + """ + Provides operations to manage the reflectCheckInResponses property of the microsoft.graph.reportsRoot entity. + """ + from .reflect_check_in_responses.reflect_check_in_responses_request_builder import ReflectCheckInResponsesRequestBuilder + + return ReflectCheckInResponsesRequestBuilder(self.request_adapter, self.path_parameters) + + @dataclass + class ReportsRequestBuilderDeleteRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + @dataclass + class ReportsRequestBuilderGetQueryParameters(): + """ + Get reports from education + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "expand": + return "%24expand" + if original_name == "select": + return "%24select" + return original_name + + # Expand related entities + expand: Optional[List[str]] = None + + # Select properties to be returned + select: Optional[List[str]] = None + + + @dataclass + class ReportsRequestBuilderGetRequestConfiguration(RequestConfiguration[ReportsRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + @dataclass + class ReportsRequestBuilderPatchRequestConfiguration(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_beta/generated/education/schools/count/count_request_builder.py b/msgraph_beta/generated/education/schools/count/count_request_builder.py index 0404ed3f32c..1feb93acfe7 100644 --- a/msgraph_beta/generated/education/schools/count/count_request_builder.py +++ b/msgraph_beta/generated/education/schools/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/education/schools/delta/delta_get_response.py b/msgraph_beta/generated/education/schools/delta/delta_get_response.py index 204492215cf..413682cd965 100644 --- a/msgraph_beta/generated/education/schools/delta/delta_get_response.py +++ b/msgraph_beta/generated/education/schools/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_delta_function_response import BaseDeltaFunctionResponse + from ....models.education_school import EducationSchool + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/education/schools/item/classes/count/count_request_builder.py b/msgraph_beta/generated/education/schools/item/classes/count/count_request_builder.py index 0018e74b341..3d3a43d4688 100644 --- a/msgraph_beta/generated/education/schools/item/classes/count/count_request_builder.py +++ b/msgraph_beta/generated/education/schools/item/classes/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/education/schools/item/users/count/count_request_builder.py b/msgraph_beta/generated/education/schools/item/users/count/count_request_builder.py index 7c631eb7cff..7148e8c2c40 100644 --- a/msgraph_beta/generated/education/schools/item/users/count/count_request_builder.py +++ b/msgraph_beta/generated/education/schools/item/users/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/education/synchronization_profiles/count/count_request_builder.py b/msgraph_beta/generated/education/synchronization_profiles/count/count_request_builder.py index 55e2bc8ccd0..9d33df0c4b4 100644 --- a/msgraph_beta/generated/education/synchronization_profiles/count/count_request_builder.py +++ b/msgraph_beta/generated/education/synchronization_profiles/count/count_request_builder.py @@ -45,7 +45,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/education/synchronization_profiles/item/errors/count/count_request_builder.py b/msgraph_beta/generated/education/synchronization_profiles/item/errors/count/count_request_builder.py index 814432d5ba5..2b579587ff1 100644 --- a/msgraph_beta/generated/education/synchronization_profiles/item/errors/count/count_request_builder.py +++ b/msgraph_beta/generated/education/synchronization_profiles/item/errors/count/count_request_builder.py @@ -45,7 +45,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/education/synchronization_profiles/item/start/start_post_response.py b/msgraph_beta/generated/education/synchronization_profiles/item/start/start_post_response.py index ea2958cf998..6c012173254 100644 --- a/msgraph_beta/generated/education/synchronization_profiles/item/start/start_post_response.py +++ b/msgraph_beta/generated/education/synchronization_profiles/item/start/start_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .....models.education_file_synchronization_verification_message import EducationFileSynchronizationVerificationMessage + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/education/users/count/count_request_builder.py b/msgraph_beta/generated/education/users/count/count_request_builder.py index ff1c0cc872f..e877b548cc6 100644 --- a/msgraph_beta/generated/education/users/count/count_request_builder.py +++ b/msgraph_beta/generated/education/users/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/education/users/delta/delta_get_response.py b/msgraph_beta/generated/education/users/delta/delta_get_response.py index fc14e6a297b..32ed4c38141 100644 --- a/msgraph_beta/generated/education/users/delta/delta_get_response.py +++ b/msgraph_beta/generated/education/users/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_delta_function_response import BaseDeltaFunctionResponse + from ....models.education_user import EducationUser + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/education/users/item/assignments/count/count_request_builder.py b/msgraph_beta/generated/education/users/item/assignments/count/count_request_builder.py index f207b6e7752..cf0ec11b810 100644 --- a/msgraph_beta/generated/education/users/item/assignments/count/count_request_builder.py +++ b/msgraph_beta/generated/education/users/item/assignments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/education/users/item/assignments/delta/delta_get_response.py b/msgraph_beta/generated/education/users/item/assignments/delta/delta_get_response.py index ec9f5194fc4..78d77c4320b 100644 --- a/msgraph_beta/generated/education/users/item/assignments/delta/delta_get_response.py +++ b/msgraph_beta/generated/education/users/item/assignments/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ......models.base_delta_function_response import BaseDeltaFunctionResponse + from ......models.education_assignment import EducationAssignment + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/education/users/item/assignments/item/categories/count/count_request_builder.py b/msgraph_beta/generated/education/users/item/assignments/item/categories/count/count_request_builder.py index 6e220f0c91a..df7fcd31b3e 100644 --- a/msgraph_beta/generated/education/users/item/assignments/item/categories/count/count_request_builder.py +++ b/msgraph_beta/generated/education/users/item/assignments/item/categories/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/education/users/item/assignments/item/categories/delta/delta_get_response.py b/msgraph_beta/generated/education/users/item/assignments/item/categories/delta/delta_get_response.py index 098872a3707..04552a3d0e5 100644 --- a/msgraph_beta/generated/education/users/item/assignments/item/categories/delta/delta_get_response.py +++ b/msgraph_beta/generated/education/users/item/assignments/item/categories/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ........models.base_delta_function_response import BaseDeltaFunctionResponse + from ........models.education_category import EducationCategory + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/education/users/item/assignments/item/resources/count/count_request_builder.py b/msgraph_beta/generated/education/users/item/assignments/item/resources/count/count_request_builder.py index 0a27826548f..3a1ade65765 100644 --- a/msgraph_beta/generated/education/users/item/assignments/item/resources/count/count_request_builder.py +++ b/msgraph_beta/generated/education/users/item/assignments/item/resources/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/education/users/item/assignments/item/resources/item/dependent_resources/count/count_request_builder.py b/msgraph_beta/generated/education/users/item/assignments/item/resources/item/dependent_resources/count/count_request_builder.py index feec8fab0c7..839a859977d 100644 --- a/msgraph_beta/generated/education/users/item/assignments/item/resources/item/dependent_resources/count/count_request_builder.py +++ b/msgraph_beta/generated/education/users/item/assignments/item/resources/item/dependent_resources/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/education/users/item/assignments/item/rubric/ref/ref_request_builder.py b/msgraph_beta/generated/education/users/item/assignments/item/rubric/ref/ref_request_builder.py index 94a91136fab..e45895c6c1c 100644 --- a/msgraph_beta/generated/education/users/item/assignments/item/rubric/ref/ref_request_builder.py +++ b/msgraph_beta/generated/education/users/item/assignments/item/rubric/ref/ref_request_builder.py @@ -63,7 +63,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[QueryPar } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "str", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, str, error_mapping) async def put(self,body: ReferenceUpdate, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ diff --git a/msgraph_beta/generated/education/users/item/assignments/item/submissions/count/count_request_builder.py b/msgraph_beta/generated/education/users/item/assignments/item/submissions/count/count_request_builder.py index fdb0712d459..1b02d3276fa 100644 --- a/msgraph_beta/generated/education/users/item/assignments/item/submissions/count/count_request_builder.py +++ b/msgraph_beta/generated/education/users/item/assignments/item/submissions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/education/users/item/assignments/item/submissions/item/outcomes/count/count_request_builder.py b/msgraph_beta/generated/education/users/item/assignments/item/submissions/item/outcomes/count/count_request_builder.py index b19d646bb5e..95a22968a5e 100644 --- a/msgraph_beta/generated/education/users/item/assignments/item/submissions/item/outcomes/count/count_request_builder.py +++ b/msgraph_beta/generated/education/users/item/assignments/item/submissions/item/outcomes/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/education/users/item/assignments/item/submissions/item/resources/count/count_request_builder.py b/msgraph_beta/generated/education/users/item/assignments/item/submissions/item/resources/count/count_request_builder.py index 2a8b67e7412..7bd13d8238a 100644 --- a/msgraph_beta/generated/education/users/item/assignments/item/submissions/item/resources/count/count_request_builder.py +++ b/msgraph_beta/generated/education/users/item/assignments/item/submissions/item/resources/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/education/users/item/assignments/item/submissions/item/resources/item/dependent_resources/count/count_request_builder.py b/msgraph_beta/generated/education/users/item/assignments/item/submissions/item/resources/item/dependent_resources/count/count_request_builder.py index ad8d09b2167..f04f4e2fddb 100644 --- a/msgraph_beta/generated/education/users/item/assignments/item/submissions/item/resources/item/dependent_resources/count/count_request_builder.py +++ b/msgraph_beta/generated/education/users/item/assignments/item/submissions/item/resources/item/dependent_resources/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/education/users/item/assignments/item/submissions/item/submitted_resources/count/count_request_builder.py b/msgraph_beta/generated/education/users/item/assignments/item/submissions/item/submitted_resources/count/count_request_builder.py index f6c81d588c7..183b9a1ca4b 100644 --- a/msgraph_beta/generated/education/users/item/assignments/item/submissions/item/submitted_resources/count/count_request_builder.py +++ b/msgraph_beta/generated/education/users/item/assignments/item/submissions/item/submitted_resources/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/education/users/item/assignments/item/submissions/item/submitted_resources/item/dependent_resources/count/count_request_builder.py b/msgraph_beta/generated/education/users/item/assignments/item/submissions/item/submitted_resources/item/dependent_resources/count/count_request_builder.py index df869f75c10..27834eff054 100644 --- a/msgraph_beta/generated/education/users/item/assignments/item/submissions/item/submitted_resources/item/dependent_resources/count/count_request_builder.py +++ b/msgraph_beta/generated/education/users/item/assignments/item/submissions/item/submitted_resources/item/dependent_resources/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/education/users/item/classes/count/count_request_builder.py b/msgraph_beta/generated/education/users/item/classes/count/count_request_builder.py index 05b0f7825dd..dd2f87a972c 100644 --- a/msgraph_beta/generated/education/users/item/classes/count/count_request_builder.py +++ b/msgraph_beta/generated/education/users/item/classes/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/education/users/item/rubrics/count/count_request_builder.py b/msgraph_beta/generated/education/users/item/rubrics/count/count_request_builder.py index 639f11ed1bc..e9832a300a7 100644 --- a/msgraph_beta/generated/education/users/item/rubrics/count/count_request_builder.py +++ b/msgraph_beta/generated/education/users/item/rubrics/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/education/users/item/schools/count/count_request_builder.py b/msgraph_beta/generated/education/users/item/schools/count/count_request_builder.py index f2581c05984..e1c5cc2a901 100644 --- a/msgraph_beta/generated/education/users/item/schools/count/count_request_builder.py +++ b/msgraph_beta/generated/education/users/item/schools/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/education/users/item/taught_classes/count/count_request_builder.py b/msgraph_beta/generated/education/users/item/taught_classes/count/count_request_builder.py index 047f6507829..cddf8730693 100644 --- a/msgraph_beta/generated/education/users/item/taught_classes/count/count_request_builder.py +++ b/msgraph_beta/generated/education/users/item/taught_classes/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/education/users/item/user/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/education/users/item/user/service_provisioning_errors/count/count_request_builder.py index 0ed005906f2..baf5973c146 100644 --- a/msgraph_beta/generated/education/users/item/user/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/education/users/item/user/service_provisioning_errors/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/employee_experience/communities/count/count_request_builder.py b/msgraph_beta/generated/employee_experience/communities/count/count_request_builder.py index 64a9b26142b..118bad841cf 100644 --- a/msgraph_beta/generated/employee_experience/communities/count/count_request_builder.py +++ b/msgraph_beta/generated/employee_experience/communities/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/employee_experience/communities/item/community_item_request_builder.py b/msgraph_beta/generated/employee_experience/communities/item/community_item_request_builder.py index 6e0c567bcef..4f2627cea06 100644 --- a/msgraph_beta/generated/employee_experience/communities/item/community_item_request_builder.py +++ b/msgraph_beta/generated/employee_experience/communities/item/community_item_request_builder.py @@ -17,6 +17,7 @@ from ....models.o_data_errors.o_data_error import ODataError from .group.group_request_builder import GroupRequestBuilder from .owners.owners_request_builder import OwnersRequestBuilder + from .owners_with_user_principal_name.owners_with_user_principal_name_request_builder import OwnersWithUserPrincipalNameRequestBuilder class CommunityItemRequestBuilder(BaseRequestBuilder): """ @@ -71,6 +72,18 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Communit return await self.request_adapter.send_async(request_info, Community, error_mapping) + def owners_with_user_principal_name(self,user_principal_name: str) -> OwnersWithUserPrincipalNameRequestBuilder: + """ + Provides operations to manage the owners property of the microsoft.graph.community entity. + param user_principal_name: Alternate key of user + Returns: OwnersWithUserPrincipalNameRequestBuilder + """ + if user_principal_name is None: + raise TypeError("user_principal_name cannot be null.") + from .owners_with_user_principal_name.owners_with_user_principal_name_request_builder import OwnersWithUserPrincipalNameRequestBuilder + + return OwnersWithUserPrincipalNameRequestBuilder(self.request_adapter, self.path_parameters, user_principal_name) + async def patch(self,body: Community, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[Community]: """ Update the properties of an existing Viva Engage community. diff --git a/msgraph_beta/generated/employee_experience/communities/item/group/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/employee_experience/communities/item/group/service_provisioning_errors/count/count_request_builder.py index a984818a8f3..916b170d507 100644 --- a/msgraph_beta/generated/employee_experience/communities/item/group/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/employee_experience/communities/item/group/service_provisioning_errors/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/employee_experience/communities/item/owners/count/count_request_builder.py b/msgraph_beta/generated/employee_experience/communities/item/owners/count/count_request_builder.py index 77c8694a525..fa36aa554fd 100644 --- a/msgraph_beta/generated/employee_experience/communities/item/owners/count/count_request_builder.py +++ b/msgraph_beta/generated/employee_experience/communities/item/owners/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/employee_experience/communities/item/owners/item/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/employee_experience/communities/item/owners/item/service_provisioning_errors/count/count_request_builder.py index f656322f6d6..41dcfcb501b 100644 --- a/msgraph_beta/generated/employee_experience/communities/item/owners/item/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/employee_experience/communities/item/owners/item/service_provisioning_errors/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/employee_experience/communities/item/owners_with_user_principal_name/owners_with_user_principal_name_request_builder.py b/msgraph_beta/generated/employee_experience/communities/item/owners_with_user_principal_name/owners_with_user_principal_name_request_builder.py new file mode 100644 index 00000000000..7614e5c972a --- /dev/null +++ b/msgraph_beta/generated/employee_experience/communities/item/owners_with_user_principal_name/owners_with_user_principal_name_request_builder.py @@ -0,0 +1,109 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from .....models.o_data_errors.o_data_error import ODataError + from .....models.user import User + +class OwnersWithUserPrincipalNameRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the owners property of the microsoft.graph.community entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]], user_principal_name: Optional[str] = None) -> None: + """ + Instantiates a new OwnersWithUserPrincipalNameRequestBuilder 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 user_principal_name: Alternate key of user + Returns: None + """ + if isinstance(path_parameters, dict): + path_parameters['userPrincipalName'] = user_principal_name + super().__init__(request_adapter, "{+baseurl}/employeeExperience/communities/{community%2Did}/owners(userPrincipalName='{userPrincipalName}'){?%24expand,%24select}", path_parameters) + + async def get(self,request_configuration: Optional[RequestConfiguration[OwnersWithUserPrincipalNameRequestBuilderGetQueryParameters]] = None) -> Optional[User]: + """ + The admins of the community. Limited to 100 users. If this property isn't specified when you create the community, the calling user is automatically assigned as the community owner. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[User] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from .....models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .....models.user import User + + return await self.request_adapter.send_async(request_info, User, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[OwnersWithUserPrincipalNameRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + The admins of the community. Limited to 100 users. If this property isn't specified when you create the community, the calling user is automatically assigned as the community owner. + 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) -> OwnersWithUserPrincipalNameRequestBuilder: + """ + 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: OwnersWithUserPrincipalNameRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return OwnersWithUserPrincipalNameRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class OwnersWithUserPrincipalNameRequestBuilderGetQueryParameters(): + """ + The admins of the community. Limited to 100 users. If this property isn't specified when you create the community, the calling user is automatically assigned as the community owner. + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "expand": + return "%24expand" + if original_name == "select": + return "%24select" + return original_name + + # Expand related entities + expand: Optional[List[str]] = None + + # Select properties to be returned + select: Optional[List[str]] = None + + + @dataclass + class OwnersWithUserPrincipalNameRequestBuilderGetRequestConfiguration(RequestConfiguration[OwnersWithUserPrincipalNameRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/employee_experience/engagement_async_operations/count/count_request_builder.py b/msgraph_beta/generated/employee_experience/engagement_async_operations/count/count_request_builder.py index 5d2e8217c5f..4cf387e6673 100644 --- a/msgraph_beta/generated/employee_experience/engagement_async_operations/count/count_request_builder.py +++ b/msgraph_beta/generated/employee_experience/engagement_async_operations/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/employee_experience/goals/export_jobs/count/count_request_builder.py b/msgraph_beta/generated/employee_experience/goals/export_jobs/count/count_request_builder.py index 6c73f80087a..2cb7a739ece 100644 --- a/msgraph_beta/generated/employee_experience/goals/export_jobs/count/count_request_builder.py +++ b/msgraph_beta/generated/employee_experience/goals/export_jobs/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/employee_experience/learning_course_activities/count/count_request_builder.py b/msgraph_beta/generated/employee_experience/learning_course_activities/count/count_request_builder.py index 29ef149c17a..062430b3aef 100644 --- a/msgraph_beta/generated/employee_experience/learning_course_activities/count/count_request_builder.py +++ b/msgraph_beta/generated/employee_experience/learning_course_activities/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/employee_experience/learning_providers/count/count_request_builder.py b/msgraph_beta/generated/employee_experience/learning_providers/count/count_request_builder.py index 27304da5ea5..3e19f795a07 100644 --- a/msgraph_beta/generated/employee_experience/learning_providers/count/count_request_builder.py +++ b/msgraph_beta/generated/employee_experience/learning_providers/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/employee_experience/learning_providers/item/learning_contents/count/count_request_builder.py b/msgraph_beta/generated/employee_experience/learning_providers/item/learning_contents/count/count_request_builder.py index 73651e3cef3..33be15e2b4f 100644 --- a/msgraph_beta/generated/employee_experience/learning_providers/item/learning_contents/count/count_request_builder.py +++ b/msgraph_beta/generated/employee_experience/learning_providers/item/learning_contents/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/employee_experience/learning_providers/item/learning_course_activities/count/count_request_builder.py b/msgraph_beta/generated/employee_experience/learning_providers/item/learning_course_activities/count/count_request_builder.py index 72ccba6e132..0977b616a10 100644 --- a/msgraph_beta/generated/employee_experience/learning_providers/item/learning_course_activities/count/count_request_builder.py +++ b/msgraph_beta/generated/employee_experience/learning_providers/item/learning_course_activities/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/external/authorization_systems/count/count_request_builder.py b/msgraph_beta/generated/external/authorization_systems/count/count_request_builder.py index ba7578aefeb..c2efb0bc041 100644 --- a/msgraph_beta/generated/external/authorization_systems/count/count_request_builder.py +++ b/msgraph_beta/generated/external/authorization_systems/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/external/connections/count/count_request_builder.py b/msgraph_beta/generated/external/connections/count/count_request_builder.py index e31c0b68405..b3402a38a42 100644 --- a/msgraph_beta/generated/external/connections/count/count_request_builder.py +++ b/msgraph_beta/generated/external/connections/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/external/connections/item/groups/count/count_request_builder.py b/msgraph_beta/generated/external/connections/item/groups/count/count_request_builder.py index 9376ecfa1b5..7d859148a5f 100644 --- a/msgraph_beta/generated/external/connections/item/groups/count/count_request_builder.py +++ b/msgraph_beta/generated/external/connections/item/groups/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/external/connections/item/groups/item/members/count/count_request_builder.py b/msgraph_beta/generated/external/connections/item/groups/item/members/count/count_request_builder.py index 02007140d74..120cfe451ea 100644 --- a/msgraph_beta/generated/external/connections/item/groups/item/members/count/count_request_builder.py +++ b/msgraph_beta/generated/external/connections/item/groups/item/members/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/external/connections/item/items/count/count_request_builder.py b/msgraph_beta/generated/external/connections/item/items/count/count_request_builder.py index 59776e849b5..049fdcd8c21 100644 --- a/msgraph_beta/generated/external/connections/item/items/count/count_request_builder.py +++ b/msgraph_beta/generated/external/connections/item/items/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/external/connections/item/items/item/activities/count/count_request_builder.py b/msgraph_beta/generated/external/connections/item/items/item/activities/count/count_request_builder.py index ae3c1959c79..6d4f0ab0e7f 100644 --- a/msgraph_beta/generated/external/connections/item/items/item/activities/count/count_request_builder.py +++ b/msgraph_beta/generated/external/connections/item/items/item/activities/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/external/connections/item/items/item/external_item_item_request_builder.py b/msgraph_beta/generated/external/connections/item/items/item/external_item_item_request_builder.py index b33e300fa8e..d944240af42 100644 --- a/msgraph_beta/generated/external/connections/item/items/item/external_item_item_request_builder.py +++ b/msgraph_beta/generated/external/connections/item/items/item/external_item_item_request_builder.py @@ -73,11 +73,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[External async def put(self,body: ExternalItem, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ExternalItem]: """ - Create a new externalItem. This API can be used to create a custom item. The containing externalConnection must have a schema registered of the corresponding type. + Update the properties of an externalitem. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ExternalItem] - Find more info here: https://learn.microsoft.com/graph/api/externalconnectors-externalconnection-put-items?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/externalconnectors-externalitem-update?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -119,7 +119,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_put_request_information(self,body: ExternalItem, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Create a new externalItem. This API can be used to create a custom item. The containing externalConnection must have a schema registered of the corresponding type. + Update the properties of an externalitem. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/external/connections/item/items/item/microsoft_graph_external_connectors_add_activities/add_activities_post_request_body.py b/msgraph_beta/generated/external/connections/item/items/item/microsoft_graph_external_connectors_add_activities/add_activities_post_request_body.py index ccecad545d1..eff6c245911 100644 --- a/msgraph_beta/generated/external/connections/item/items/item/microsoft_graph_external_connectors_add_activities/add_activities_post_request_body.py +++ b/msgraph_beta/generated/external/connections/item/items/item/microsoft_graph_external_connectors_add_activities/add_activities_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .......models.external_connectors.external_activity import ExternalActivity + writer.write_collection_of_object_values("activities", self.activities) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/external/connections/item/items/item/microsoft_graph_external_connectors_add_activities/add_activities_post_response.py b/msgraph_beta/generated/external/connections/item/items/item/microsoft_graph_external_connectors_add_activities/add_activities_post_response.py index 36d8759a433..fea00ebe9d6 100644 --- a/msgraph_beta/generated/external/connections/item/items/item/microsoft_graph_external_connectors_add_activities/add_activities_post_response.py +++ b/msgraph_beta/generated/external/connections/item/items/item/microsoft_graph_external_connectors_add_activities/add_activities_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .......models.external_connectors.external_activity_result import ExternalActivityResult + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/external/connections/item/operations/count/count_request_builder.py b/msgraph_beta/generated/external/connections/item/operations/count/count_request_builder.py index fa441d22307..01a81600500 100644 --- a/msgraph_beta/generated/external/connections/item/operations/count/count_request_builder.py +++ b/msgraph_beta/generated/external/connections/item/operations/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/external/industry_data/data_connectors/count/count_request_builder.py b/msgraph_beta/generated/external/industry_data/data_connectors/count/count_request_builder.py index ae0443a4df4..da14e49c31d 100644 --- a/msgraph_beta/generated/external/industry_data/data_connectors/count/count_request_builder.py +++ b/msgraph_beta/generated/external/industry_data/data_connectors/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/external/industry_data/data_connectors/data_connectors_request_builder.py b/msgraph_beta/generated/external/industry_data/data_connectors/data_connectors_request_builder.py index df6a77535d4..8a3a06ee981 100644 --- a/msgraph_beta/generated/external/industry_data/data_connectors/data_connectors_request_builder.py +++ b/msgraph_beta/generated/external/industry_data/data_connectors/data_connectors_request_builder.py @@ -69,11 +69,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DataConn async def post(self,body: IndustryDataConnector, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[IndustryDataConnector]: """ - Create a new azureDataLakeConnector object. + Create a new oneRosterApiDataConnector object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[IndustryDataConnector] - Find more info here: https://learn.microsoft.com/graph/api/industrydata-azuredatalakeconnector-post?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/industrydata-onerosterapidataconnector-post?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -104,7 +104,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: IndustryDataConnector, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Create a new azureDataLakeConnector object. + Create a new oneRosterApiDataConnector object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/external/industry_data/inbound_flows/count/count_request_builder.py b/msgraph_beta/generated/external/industry_data/inbound_flows/count/count_request_builder.py index 2bb49a6d33c..aa73de2ff1d 100644 --- a/msgraph_beta/generated/external/industry_data/inbound_flows/count/count_request_builder.py +++ b/msgraph_beta/generated/external/industry_data/inbound_flows/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/external/industry_data/operations/count/count_request_builder.py b/msgraph_beta/generated/external/industry_data/operations/count/count_request_builder.py index 187f37e59c2..85b136335f3 100644 --- a/msgraph_beta/generated/external/industry_data/operations/count/count_request_builder.py +++ b/msgraph_beta/generated/external/industry_data/operations/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/external/industry_data/outbound_provisioning_flow_sets/count/count_request_builder.py b/msgraph_beta/generated/external/industry_data/outbound_provisioning_flow_sets/count/count_request_builder.py index 5bc06f645e3..75092f67e48 100644 --- a/msgraph_beta/generated/external/industry_data/outbound_provisioning_flow_sets/count/count_request_builder.py +++ b/msgraph_beta/generated/external/industry_data/outbound_provisioning_flow_sets/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/external/industry_data/outbound_provisioning_flow_sets/item/provisioning_flows/count/count_request_builder.py b/msgraph_beta/generated/external/industry_data/outbound_provisioning_flow_sets/item/provisioning_flows/count/count_request_builder.py index 019507fd3a4..ea400d008e0 100644 --- a/msgraph_beta/generated/external/industry_data/outbound_provisioning_flow_sets/item/provisioning_flows/count/count_request_builder.py +++ b/msgraph_beta/generated/external/industry_data/outbound_provisioning_flow_sets/item/provisioning_flows/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/external/industry_data/reference_definitions/count/count_request_builder.py b/msgraph_beta/generated/external/industry_data/reference_definitions/count/count_request_builder.py index 510828bfc3c..1fba11e3e98 100644 --- a/msgraph_beta/generated/external/industry_data/reference_definitions/count/count_request_builder.py +++ b/msgraph_beta/generated/external/industry_data/reference_definitions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/external/industry_data/role_groups/count/count_request_builder.py b/msgraph_beta/generated/external/industry_data/role_groups/count/count_request_builder.py index 26e74763dba..14d15fd29c4 100644 --- a/msgraph_beta/generated/external/industry_data/role_groups/count/count_request_builder.py +++ b/msgraph_beta/generated/external/industry_data/role_groups/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/external/industry_data/runs/count/count_request_builder.py b/msgraph_beta/generated/external/industry_data/runs/count/count_request_builder.py index 4b762a9dd1b..c0963228343 100644 --- a/msgraph_beta/generated/external/industry_data/runs/count/count_request_builder.py +++ b/msgraph_beta/generated/external/industry_data/runs/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/external/industry_data/runs/item/activities/count/count_request_builder.py b/msgraph_beta/generated/external/industry_data/runs/item/activities/count/count_request_builder.py index 4d7e9b8cdac..3df1c6820ee 100644 --- a/msgraph_beta/generated/external/industry_data/runs/item/activities/count/count_request_builder.py +++ b/msgraph_beta/generated/external/industry_data/runs/item/activities/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/external/industry_data/source_systems/count/count_request_builder.py b/msgraph_beta/generated/external/industry_data/source_systems/count/count_request_builder.py index d5719eb1f34..0359c8dbbe5 100644 --- a/msgraph_beta/generated/external/industry_data/source_systems/count/count_request_builder.py +++ b/msgraph_beta/generated/external/industry_data/source_systems/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/external/industry_data/years/count/count_request_builder.py b/msgraph_beta/generated/external/industry_data/years/count/count_request_builder.py index 6623c74afbb..476c1d43821 100644 --- a/msgraph_beta/generated/external/industry_data/years/count/count_request_builder.py +++ b/msgraph_beta/generated/external/industry_data/years/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/filter_operators/count/count_request_builder.py b/msgraph_beta/generated/filter_operators/count/count_request_builder.py index 74116f4578e..c41b5e604d2 100644 --- a/msgraph_beta/generated/filter_operators/count/count_request_builder.py +++ b/msgraph_beta/generated/filter_operators/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/filtering_policies/count/count_request_builder.py b/msgraph_beta/generated/filtering_policies/count/count_request_builder.py index 385bb805c5c..a43f4ae4369 100644 --- a/msgraph_beta/generated/filtering_policies/count/count_request_builder.py +++ b/msgraph_beta/generated/filtering_policies/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/filtering_policies/item/policy_rules/count/count_request_builder.py b/msgraph_beta/generated/filtering_policies/item/policy_rules/count/count_request_builder.py index ea56eef4e6b..175940acc4e 100644 --- a/msgraph_beta/generated/filtering_policies/item/policy_rules/count/count_request_builder.py +++ b/msgraph_beta/generated/filtering_policies/item/policy_rules/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/financials/companies/count/count_request_builder.py b/msgraph_beta/generated/financials/companies/count/count_request_builder.py index 939de9540bd..f8916b6f371 100644 --- a/msgraph_beta/generated/financials/companies/count/count_request_builder.py +++ b/msgraph_beta/generated/financials/companies/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/financials/companies/item/accounts/count/count_request_builder.py b/msgraph_beta/generated/financials/companies/item/accounts/count/count_request_builder.py index c509e090b8e..87cb685e04c 100644 --- a/msgraph_beta/generated/financials/companies/item/accounts/count/count_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/accounts/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/financials/companies/item/aged_accounts_payable/count/count_request_builder.py b/msgraph_beta/generated/financials/companies/item/aged_accounts_payable/count/count_request_builder.py index a8bce327a52..0c59a1c183c 100644 --- a/msgraph_beta/generated/financials/companies/item/aged_accounts_payable/count/count_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/aged_accounts_payable/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/financials/companies/item/aged_accounts_receivable/count/count_request_builder.py b/msgraph_beta/generated/financials/companies/item/aged_accounts_receivable/count/count_request_builder.py index b741854400a..c68b7c41510 100644 --- a/msgraph_beta/generated/financials/companies/item/aged_accounts_receivable/count/count_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/aged_accounts_receivable/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/financials/companies/item/company_information/count/count_request_builder.py b/msgraph_beta/generated/financials/companies/item/company_information/count/count_request_builder.py index 2b3baebd5ba..d4235883df3 100644 --- a/msgraph_beta/generated/financials/companies/item/company_information/count/count_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/company_information/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/financials/companies/item/countries_regions/count/count_request_builder.py b/msgraph_beta/generated/financials/companies/item/countries_regions/count/count_request_builder.py index e1e22ae082a..e839b9acb87 100644 --- a/msgraph_beta/generated/financials/companies/item/countries_regions/count/count_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/countries_regions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/financials/companies/item/currencies/count/count_request_builder.py b/msgraph_beta/generated/financials/companies/item/currencies/count/count_request_builder.py index 3aec4d49d3d..181424fc14f 100644 --- a/msgraph_beta/generated/financials/companies/item/currencies/count/count_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/currencies/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/financials/companies/item/customer_payment_journals/count/count_request_builder.py b/msgraph_beta/generated/financials/companies/item/customer_payment_journals/count/count_request_builder.py index e0a93dcb8d3..6cbfd00ea58 100644 --- a/msgraph_beta/generated/financials/companies/item/customer_payment_journals/count/count_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/customer_payment_journals/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/financials/companies/item/customer_payment_journals/item/customer_payments/count/count_request_builder.py b/msgraph_beta/generated/financials/companies/item/customer_payment_journals/item/customer_payments/count/count_request_builder.py index 90f05d14647..45630e1bd3a 100644 --- a/msgraph_beta/generated/financials/companies/item/customer_payment_journals/item/customer_payments/count/count_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/customer_payment_journals/item/customer_payments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/financials/companies/item/customer_payment_journals/item/customer_payments/item/customer/picture/count/count_request_builder.py b/msgraph_beta/generated/financials/companies/item/customer_payment_journals/item/customer_payments/item/customer/picture/count/count_request_builder.py index 3e4fb6bcf88..2aca9812397 100644 --- a/msgraph_beta/generated/financials/companies/item/customer_payment_journals/item/customer_payments/item/customer/picture/count/count_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/customer_payment_journals/item/customer_payments/item/customer/picture/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/financials/companies/item/customer_payments/count/count_request_builder.py b/msgraph_beta/generated/financials/companies/item/customer_payments/count/count_request_builder.py index c841bf067be..de5b6b3f09b 100644 --- a/msgraph_beta/generated/financials/companies/item/customer_payments/count/count_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/customer_payments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/financials/companies/item/customer_payments/item/customer/picture/count/count_request_builder.py b/msgraph_beta/generated/financials/companies/item/customer_payments/item/customer/picture/count/count_request_builder.py index f457ebc7663..c6b2f9a712b 100644 --- a/msgraph_beta/generated/financials/companies/item/customer_payments/item/customer/picture/count/count_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/customer_payments/item/customer/picture/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/financials/companies/item/customers/count/count_request_builder.py b/msgraph_beta/generated/financials/companies/item/customers/count/count_request_builder.py index a55e3832e56..4c04fca8e44 100644 --- a/msgraph_beta/generated/financials/companies/item/customers/count/count_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/customers/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/financials/companies/item/customers/item/picture/count/count_request_builder.py b/msgraph_beta/generated/financials/companies/item/customers/item/picture/count/count_request_builder.py index c04b3d2feed..6200a82d8d6 100644 --- a/msgraph_beta/generated/financials/companies/item/customers/item/picture/count/count_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/customers/item/picture/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/financials/companies/item/dimension_values/count/count_request_builder.py b/msgraph_beta/generated/financials/companies/item/dimension_values/count/count_request_builder.py index 090d227dea7..da38a6ef145 100644 --- a/msgraph_beta/generated/financials/companies/item/dimension_values/count/count_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/dimension_values/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/financials/companies/item/dimensions/count/count_request_builder.py b/msgraph_beta/generated/financials/companies/item/dimensions/count/count_request_builder.py index 237b5989865..a0a5f6903cb 100644 --- a/msgraph_beta/generated/financials/companies/item/dimensions/count/count_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/dimensions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/financials/companies/item/dimensions/item/dimension_values/count/count_request_builder.py b/msgraph_beta/generated/financials/companies/item/dimensions/item/dimension_values/count/count_request_builder.py index f16b5cb9b96..4f52c92252d 100644 --- a/msgraph_beta/generated/financials/companies/item/dimensions/item/dimension_values/count/count_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/dimensions/item/dimension_values/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/financials/companies/item/employees/count/count_request_builder.py b/msgraph_beta/generated/financials/companies/item/employees/count/count_request_builder.py index 4e2070ea20a..6b0e5492e4c 100644 --- a/msgraph_beta/generated/financials/companies/item/employees/count/count_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/employees/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/financials/companies/item/employees/item/picture/count/count_request_builder.py b/msgraph_beta/generated/financials/companies/item/employees/item/picture/count/count_request_builder.py index 76832556659..d03858c6d0a 100644 --- a/msgraph_beta/generated/financials/companies/item/employees/item/picture/count/count_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/employees/item/picture/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/financials/companies/item/general_ledger_entries/count/count_request_builder.py b/msgraph_beta/generated/financials/companies/item/general_ledger_entries/count/count_request_builder.py index 6f653d87058..33b8b9113f7 100644 --- a/msgraph_beta/generated/financials/companies/item/general_ledger_entries/count/count_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/general_ledger_entries/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/financials/companies/item/item_categories/count/count_request_builder.py b/msgraph_beta/generated/financials/companies/item/item_categories/count/count_request_builder.py index a2e90d25d7e..797f1f49886 100644 --- a/msgraph_beta/generated/financials/companies/item/item_categories/count/count_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/item_categories/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/financials/companies/item/items/count/count_request_builder.py b/msgraph_beta/generated/financials/companies/item/items/count/count_request_builder.py index db49a491c94..02d38b0342a 100644 --- a/msgraph_beta/generated/financials/companies/item/items/count/count_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/items/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/financials/companies/item/items/item/picture/count/count_request_builder.py b/msgraph_beta/generated/financials/companies/item/items/item/picture/count/count_request_builder.py index ae5f51950e7..87769b0bfa6 100644 --- a/msgraph_beta/generated/financials/companies/item/items/item/picture/count/count_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/items/item/picture/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/financials/companies/item/journal_lines/count/count_request_builder.py b/msgraph_beta/generated/financials/companies/item/journal_lines/count/count_request_builder.py index 6edfad04539..afc08ba200a 100644 --- a/msgraph_beta/generated/financials/companies/item/journal_lines/count/count_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/journal_lines/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/financials/companies/item/journals/count/count_request_builder.py b/msgraph_beta/generated/financials/companies/item/journals/count/count_request_builder.py index 53cf7aada91..9d11de403e6 100644 --- a/msgraph_beta/generated/financials/companies/item/journals/count/count_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/journals/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/financials/companies/item/journals/item/journal_lines/count/count_request_builder.py b/msgraph_beta/generated/financials/companies/item/journals/item/journal_lines/count/count_request_builder.py index 8eca0c63b40..f4c04d9b329 100644 --- a/msgraph_beta/generated/financials/companies/item/journals/item/journal_lines/count/count_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/journals/item/journal_lines/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/financials/companies/item/payment_methods/count/count_request_builder.py b/msgraph_beta/generated/financials/companies/item/payment_methods/count/count_request_builder.py index d74700875c6..9c8ac7e43b8 100644 --- a/msgraph_beta/generated/financials/companies/item/payment_methods/count/count_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/payment_methods/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/financials/companies/item/payment_terms/count/count_request_builder.py b/msgraph_beta/generated/financials/companies/item/payment_terms/count/count_request_builder.py index 44759124a58..5f1a8724bfb 100644 --- a/msgraph_beta/generated/financials/companies/item/payment_terms/count/count_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/payment_terms/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/financials/companies/item/picture/count/count_request_builder.py b/msgraph_beta/generated/financials/companies/item/picture/count/count_request_builder.py index d42a3bc1641..ab2e20cc7e9 100644 --- a/msgraph_beta/generated/financials/companies/item/picture/count/count_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/picture/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/financials/companies/item/purchase_invoice_lines/count/count_request_builder.py b/msgraph_beta/generated/financials/companies/item/purchase_invoice_lines/count/count_request_builder.py index e34245428b3..9cbe4c4d0ae 100644 --- a/msgraph_beta/generated/financials/companies/item/purchase_invoice_lines/count/count_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/purchase_invoice_lines/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/financials/companies/item/purchase_invoice_lines/item/item_escaped/picture/count/count_request_builder.py b/msgraph_beta/generated/financials/companies/item/purchase_invoice_lines/item/item_escaped/picture/count/count_request_builder.py index f6f95893545..277748a58e9 100644 --- a/msgraph_beta/generated/financials/companies/item/purchase_invoice_lines/item/item_escaped/picture/count/count_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/purchase_invoice_lines/item/item_escaped/picture/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/financials/companies/item/purchase_invoices/count/count_request_builder.py b/msgraph_beta/generated/financials/companies/item/purchase_invoices/count/count_request_builder.py index 35865ac662b..fb13f4aa994 100644 --- a/msgraph_beta/generated/financials/companies/item/purchase_invoices/count/count_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/purchase_invoices/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/financials/companies/item/purchase_invoices/item/purchase_invoice_lines/count/count_request_builder.py b/msgraph_beta/generated/financials/companies/item/purchase_invoices/item/purchase_invoice_lines/count/count_request_builder.py index 846b1c29bb9..6b20c4822c1 100644 --- a/msgraph_beta/generated/financials/companies/item/purchase_invoices/item/purchase_invoice_lines/count/count_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/purchase_invoices/item/purchase_invoice_lines/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/financials/companies/item/purchase_invoices/item/purchase_invoice_lines/item/item_escaped/picture/count/count_request_builder.py b/msgraph_beta/generated/financials/companies/item/purchase_invoices/item/purchase_invoice_lines/item/item_escaped/picture/count/count_request_builder.py index 656dbc28b9f..0dbdfab15b2 100644 --- a/msgraph_beta/generated/financials/companies/item/purchase_invoices/item/purchase_invoice_lines/item/item_escaped/picture/count/count_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/purchase_invoices/item/purchase_invoice_lines/item/item_escaped/picture/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/financials/companies/item/purchase_invoices/item/vendor/picture/count/count_request_builder.py b/msgraph_beta/generated/financials/companies/item/purchase_invoices/item/vendor/picture/count/count_request_builder.py index fe17a934f8f..5704c27d9ce 100644 --- a/msgraph_beta/generated/financials/companies/item/purchase_invoices/item/vendor/picture/count/count_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/purchase_invoices/item/vendor/picture/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/financials/companies/item/sales_credit_memo_lines/count/count_request_builder.py b/msgraph_beta/generated/financials/companies/item/sales_credit_memo_lines/count/count_request_builder.py index 99c56d650f4..be11ee1f0bc 100644 --- a/msgraph_beta/generated/financials/companies/item/sales_credit_memo_lines/count/count_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/sales_credit_memo_lines/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/financials/companies/item/sales_credit_memo_lines/item/item_escaped/picture/count/count_request_builder.py b/msgraph_beta/generated/financials/companies/item/sales_credit_memo_lines/item/item_escaped/picture/count/count_request_builder.py index 2f32c0bb15f..9c6a91d9520 100644 --- a/msgraph_beta/generated/financials/companies/item/sales_credit_memo_lines/item/item_escaped/picture/count/count_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/sales_credit_memo_lines/item/item_escaped/picture/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/financials/companies/item/sales_credit_memos/count/count_request_builder.py b/msgraph_beta/generated/financials/companies/item/sales_credit_memos/count/count_request_builder.py index e9f19fb0287..10fdb1b769f 100644 --- a/msgraph_beta/generated/financials/companies/item/sales_credit_memos/count/count_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/sales_credit_memos/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/financials/companies/item/sales_credit_memos/item/customer/picture/count/count_request_builder.py b/msgraph_beta/generated/financials/companies/item/sales_credit_memos/item/customer/picture/count/count_request_builder.py index a79b8c2c50a..3c4892bc83b 100644 --- a/msgraph_beta/generated/financials/companies/item/sales_credit_memos/item/customer/picture/count/count_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/sales_credit_memos/item/customer/picture/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/financials/companies/item/sales_credit_memos/item/sales_credit_memo_lines/count/count_request_builder.py b/msgraph_beta/generated/financials/companies/item/sales_credit_memos/item/sales_credit_memo_lines/count/count_request_builder.py index 6e9f31e32d3..1c012fc9b73 100644 --- a/msgraph_beta/generated/financials/companies/item/sales_credit_memos/item/sales_credit_memo_lines/count/count_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/sales_credit_memos/item/sales_credit_memo_lines/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/financials/companies/item/sales_credit_memos/item/sales_credit_memo_lines/item/item_escaped/picture/count/count_request_builder.py b/msgraph_beta/generated/financials/companies/item/sales_credit_memos/item/sales_credit_memo_lines/item/item_escaped/picture/count/count_request_builder.py index e8c0ae1bbe1..db30ea01f7c 100644 --- a/msgraph_beta/generated/financials/companies/item/sales_credit_memos/item/sales_credit_memo_lines/item/item_escaped/picture/count/count_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/sales_credit_memos/item/sales_credit_memo_lines/item/item_escaped/picture/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/financials/companies/item/sales_invoice_lines/count/count_request_builder.py b/msgraph_beta/generated/financials/companies/item/sales_invoice_lines/count/count_request_builder.py index 261b2e9b5f6..8c169ffda8a 100644 --- a/msgraph_beta/generated/financials/companies/item/sales_invoice_lines/count/count_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/sales_invoice_lines/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/financials/companies/item/sales_invoice_lines/item/item_escaped/picture/count/count_request_builder.py b/msgraph_beta/generated/financials/companies/item/sales_invoice_lines/item/item_escaped/picture/count/count_request_builder.py index 054f3ac756b..c66b3d09a8e 100644 --- a/msgraph_beta/generated/financials/companies/item/sales_invoice_lines/item/item_escaped/picture/count/count_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/sales_invoice_lines/item/item_escaped/picture/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/financials/companies/item/sales_invoices/count/count_request_builder.py b/msgraph_beta/generated/financials/companies/item/sales_invoices/count/count_request_builder.py index ad451f50833..4e1584d1f18 100644 --- a/msgraph_beta/generated/financials/companies/item/sales_invoices/count/count_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/sales_invoices/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/financials/companies/item/sales_invoices/item/customer/picture/count/count_request_builder.py b/msgraph_beta/generated/financials/companies/item/sales_invoices/item/customer/picture/count/count_request_builder.py index 1b50fe254e5..a747b253f47 100644 --- a/msgraph_beta/generated/financials/companies/item/sales_invoices/item/customer/picture/count/count_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/sales_invoices/item/customer/picture/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/financials/companies/item/sales_invoices/item/sales_invoice_lines/count/count_request_builder.py b/msgraph_beta/generated/financials/companies/item/sales_invoices/item/sales_invoice_lines/count/count_request_builder.py index f6909ac141a..03d1a0c7f79 100644 --- a/msgraph_beta/generated/financials/companies/item/sales_invoices/item/sales_invoice_lines/count/count_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/sales_invoices/item/sales_invoice_lines/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/financials/companies/item/sales_invoices/item/sales_invoice_lines/item/item_escaped/picture/count/count_request_builder.py b/msgraph_beta/generated/financials/companies/item/sales_invoices/item/sales_invoice_lines/item/item_escaped/picture/count/count_request_builder.py index 39e5f1b9728..28423ce0fa4 100644 --- a/msgraph_beta/generated/financials/companies/item/sales_invoices/item/sales_invoice_lines/item/item_escaped/picture/count/count_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/sales_invoices/item/sales_invoice_lines/item/item_escaped/picture/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/financials/companies/item/sales_order_lines/count/count_request_builder.py b/msgraph_beta/generated/financials/companies/item/sales_order_lines/count/count_request_builder.py index 4e2c5123222..6f3100aa1a8 100644 --- a/msgraph_beta/generated/financials/companies/item/sales_order_lines/count/count_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/sales_order_lines/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/financials/companies/item/sales_order_lines/item/item_escaped/picture/count/count_request_builder.py b/msgraph_beta/generated/financials/companies/item/sales_order_lines/item/item_escaped/picture/count/count_request_builder.py index c77536b9cd4..a8ff0421ee4 100644 --- a/msgraph_beta/generated/financials/companies/item/sales_order_lines/item/item_escaped/picture/count/count_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/sales_order_lines/item/item_escaped/picture/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/financials/companies/item/sales_orders/count/count_request_builder.py b/msgraph_beta/generated/financials/companies/item/sales_orders/count/count_request_builder.py index d884afa179f..b34f268e67f 100644 --- a/msgraph_beta/generated/financials/companies/item/sales_orders/count/count_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/sales_orders/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/financials/companies/item/sales_orders/item/customer/picture/count/count_request_builder.py b/msgraph_beta/generated/financials/companies/item/sales_orders/item/customer/picture/count/count_request_builder.py index d5751db3b28..fd7ab012c79 100644 --- a/msgraph_beta/generated/financials/companies/item/sales_orders/item/customer/picture/count/count_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/sales_orders/item/customer/picture/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/financials/companies/item/sales_orders/item/sales_order_lines/count/count_request_builder.py b/msgraph_beta/generated/financials/companies/item/sales_orders/item/sales_order_lines/count/count_request_builder.py index 3433529ba86..0a8aaadf76c 100644 --- a/msgraph_beta/generated/financials/companies/item/sales_orders/item/sales_order_lines/count/count_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/sales_orders/item/sales_order_lines/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/financials/companies/item/sales_orders/item/sales_order_lines/item/item_escaped/picture/count/count_request_builder.py b/msgraph_beta/generated/financials/companies/item/sales_orders/item/sales_order_lines/item/item_escaped/picture/count/count_request_builder.py index d41ca48323e..7fd2010226f 100644 --- a/msgraph_beta/generated/financials/companies/item/sales_orders/item/sales_order_lines/item/item_escaped/picture/count/count_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/sales_orders/item/sales_order_lines/item/item_escaped/picture/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/financials/companies/item/sales_quote_lines/count/count_request_builder.py b/msgraph_beta/generated/financials/companies/item/sales_quote_lines/count/count_request_builder.py index 792d22956e2..ecb28a7d7b9 100644 --- a/msgraph_beta/generated/financials/companies/item/sales_quote_lines/count/count_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/sales_quote_lines/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/financials/companies/item/sales_quote_lines/item/item_escaped/picture/count/count_request_builder.py b/msgraph_beta/generated/financials/companies/item/sales_quote_lines/item/item_escaped/picture/count/count_request_builder.py index 1eeb0b618a8..2b6141bace0 100644 --- a/msgraph_beta/generated/financials/companies/item/sales_quote_lines/item/item_escaped/picture/count/count_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/sales_quote_lines/item/item_escaped/picture/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/financials/companies/item/sales_quotes/count/count_request_builder.py b/msgraph_beta/generated/financials/companies/item/sales_quotes/count/count_request_builder.py index b1ad52d3031..b985ca0f964 100644 --- a/msgraph_beta/generated/financials/companies/item/sales_quotes/count/count_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/sales_quotes/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/financials/companies/item/sales_quotes/item/customer/picture/count/count_request_builder.py b/msgraph_beta/generated/financials/companies/item/sales_quotes/item/customer/picture/count/count_request_builder.py index a8693890ca1..0f4c19ce7e2 100644 --- a/msgraph_beta/generated/financials/companies/item/sales_quotes/item/customer/picture/count/count_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/sales_quotes/item/customer/picture/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/financials/companies/item/sales_quotes/item/sales_quote_lines/count/count_request_builder.py b/msgraph_beta/generated/financials/companies/item/sales_quotes/item/sales_quote_lines/count/count_request_builder.py index edf9615fe7c..c8cfe62b666 100644 --- a/msgraph_beta/generated/financials/companies/item/sales_quotes/item/sales_quote_lines/count/count_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/sales_quotes/item/sales_quote_lines/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/financials/companies/item/sales_quotes/item/sales_quote_lines/item/item_escaped/picture/count/count_request_builder.py b/msgraph_beta/generated/financials/companies/item/sales_quotes/item/sales_quote_lines/item/item_escaped/picture/count/count_request_builder.py index 1adf6a71e4c..e42a737095b 100644 --- a/msgraph_beta/generated/financials/companies/item/sales_quotes/item/sales_quote_lines/item/item_escaped/picture/count/count_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/sales_quotes/item/sales_quote_lines/item/item_escaped/picture/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/financials/companies/item/shipment_methods/count/count_request_builder.py b/msgraph_beta/generated/financials/companies/item/shipment_methods/count/count_request_builder.py index 7f9c9ba77d9..77662bbb33c 100644 --- a/msgraph_beta/generated/financials/companies/item/shipment_methods/count/count_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/shipment_methods/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/financials/companies/item/tax_areas/count/count_request_builder.py b/msgraph_beta/generated/financials/companies/item/tax_areas/count/count_request_builder.py index 44468f70f71..b76e0bc8acf 100644 --- a/msgraph_beta/generated/financials/companies/item/tax_areas/count/count_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/tax_areas/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/financials/companies/item/tax_groups/count/count_request_builder.py b/msgraph_beta/generated/financials/companies/item/tax_groups/count/count_request_builder.py index ac8d06d736a..5bc071dc505 100644 --- a/msgraph_beta/generated/financials/companies/item/tax_groups/count/count_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/tax_groups/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/financials/companies/item/units_of_measure/count/count_request_builder.py b/msgraph_beta/generated/financials/companies/item/units_of_measure/count/count_request_builder.py index 8f55341ebec..bdefe123e60 100644 --- a/msgraph_beta/generated/financials/companies/item/units_of_measure/count/count_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/units_of_measure/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/financials/companies/item/vendors/count/count_request_builder.py b/msgraph_beta/generated/financials/companies/item/vendors/count/count_request_builder.py index 82b541644bb..4c554a00936 100644 --- a/msgraph_beta/generated/financials/companies/item/vendors/count/count_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/vendors/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/financials/companies/item/vendors/item/picture/count/count_request_builder.py b/msgraph_beta/generated/financials/companies/item/vendors/item/picture/count/count_request_builder.py index 5474ab69a3f..31b066b1c4c 100644 --- a/msgraph_beta/generated/financials/companies/item/vendors/item/picture/count/count_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/vendors/item/picture/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/functions/count/count_request_builder.py b/msgraph_beta/generated/functions/count/count_request_builder.py index 3b02dd8cc8b..080f69ad8da 100644 --- a/msgraph_beta/generated/functions/count/count_request_builder.py +++ b/msgraph_beta/generated/functions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/governance_resources/count/count_request_builder.py b/msgraph_beta/generated/governance_resources/count/count_request_builder.py index 6b2c5ea1c6f..105737835d8 100644 --- a/msgraph_beta/generated/governance_resources/count/count_request_builder.py +++ b/msgraph_beta/generated/governance_resources/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/governance_resources/item/role_assignment_requests/count/count_request_builder.py b/msgraph_beta/generated/governance_resources/item/role_assignment_requests/count/count_request_builder.py index 1649a401e24..383bd0d06da 100644 --- a/msgraph_beta/generated/governance_resources/item/role_assignment_requests/count/count_request_builder.py +++ b/msgraph_beta/generated/governance_resources/item/role_assignment_requests/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/governance_resources/item/role_assignment_requests/item/update_request/update_request_post_request_body.py b/msgraph_beta/generated/governance_resources/item/role_assignment_requests/item/update_request/update_request_post_request_body.py index d6e1c18ea64..46a4cd27ddf 100644 --- a/msgraph_beta/generated/governance_resources/item/role_assignment_requests/item/update_request/update_request_post_request_body.py +++ b/msgraph_beta/generated/governance_resources/item/role_assignment_requests/item/update_request/update_request_post_request_body.py @@ -59,6 +59,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ......models.governance_schedule import GovernanceSchedule + writer.write_str_value("assignmentState", self.assignment_state) writer.write_str_value("decision", self.decision) writer.write_str_value("reason", self.reason) diff --git a/msgraph_beta/generated/governance_resources/item/role_assignments/count/count_request_builder.py b/msgraph_beta/generated/governance_resources/item/role_assignments/count/count_request_builder.py index 1fa704baa2d..4d869d284b7 100644 --- a/msgraph_beta/generated/governance_resources/item/role_assignments/count/count_request_builder.py +++ b/msgraph_beta/generated/governance_resources/item/role_assignments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/governance_resources/item/role_assignments/export/export_get_response.py b/msgraph_beta/generated/governance_resources/item/role_assignments/export/export_get_response.py index 1c29cfe13cc..2b182ad7f20 100644 --- a/msgraph_beta/generated/governance_resources/item/role_assignments/export/export_get_response.py +++ b/msgraph_beta/generated/governance_resources/item/role_assignments/export/export_get_response.py @@ -49,6 +49,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_primitive_values("value", self.value) diff --git a/msgraph_beta/generated/governance_resources/item/role_definitions/count/count_request_builder.py b/msgraph_beta/generated/governance_resources/item/role_definitions/count/count_request_builder.py index 414d27c7a9c..3ab1159e493 100644 --- a/msgraph_beta/generated/governance_resources/item/role_definitions/count/count_request_builder.py +++ b/msgraph_beta/generated/governance_resources/item/role_definitions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/governance_resources/item/role_settings/count/count_request_builder.py b/msgraph_beta/generated/governance_resources/item/role_settings/count/count_request_builder.py index 0e55fcb3980..c412a0ab365 100644 --- a/msgraph_beta/generated/governance_resources/item/role_settings/count/count_request_builder.py +++ b/msgraph_beta/generated/governance_resources/item/role_settings/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/governance_role_assignment_requests/count/count_request_builder.py b/msgraph_beta/generated/governance_role_assignment_requests/count/count_request_builder.py index 96eca7dc926..ddb8a6a58ea 100644 --- a/msgraph_beta/generated/governance_role_assignment_requests/count/count_request_builder.py +++ b/msgraph_beta/generated/governance_role_assignment_requests/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/governance_role_assignment_requests/item/update_request/update_request_post_request_body.py b/msgraph_beta/generated/governance_role_assignment_requests/item/update_request/update_request_post_request_body.py index 11f78226d4f..dc39ae0b3bd 100644 --- a/msgraph_beta/generated/governance_role_assignment_requests/item/update_request/update_request_post_request_body.py +++ b/msgraph_beta/generated/governance_role_assignment_requests/item/update_request/update_request_post_request_body.py @@ -59,6 +59,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ....models.governance_schedule import GovernanceSchedule + writer.write_str_value("assignmentState", self.assignment_state) writer.write_str_value("decision", self.decision) writer.write_str_value("reason", self.reason) diff --git a/msgraph_beta/generated/governance_role_assignments/count/count_request_builder.py b/msgraph_beta/generated/governance_role_assignments/count/count_request_builder.py index 348ea139ed7..d380aa64ea3 100644 --- a/msgraph_beta/generated/governance_role_assignments/count/count_request_builder.py +++ b/msgraph_beta/generated/governance_role_assignments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/governance_role_assignments/export/export_get_response.py b/msgraph_beta/generated/governance_role_assignments/export/export_get_response.py index 81fe805a338..ef644a83bc8 100644 --- a/msgraph_beta/generated/governance_role_assignments/export/export_get_response.py +++ b/msgraph_beta/generated/governance_role_assignments/export/export_get_response.py @@ -49,6 +49,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ...models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_primitive_values("value", self.value) diff --git a/msgraph_beta/generated/governance_role_definitions/count/count_request_builder.py b/msgraph_beta/generated/governance_role_definitions/count/count_request_builder.py index d1966200257..fc9097bc256 100644 --- a/msgraph_beta/generated/governance_role_definitions/count/count_request_builder.py +++ b/msgraph_beta/generated/governance_role_definitions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/governance_role_settings/count/count_request_builder.py b/msgraph_beta/generated/governance_role_settings/count/count_request_builder.py index 14bed68c7db..1d43cf8eef8 100644 --- a/msgraph_beta/generated/governance_role_settings/count/count_request_builder.py +++ b/msgraph_beta/generated/governance_role_settings/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/governance_subjects/count/count_request_builder.py b/msgraph_beta/generated/governance_subjects/count/count_request_builder.py index 0e23e8026cd..1c586901580 100644 --- a/msgraph_beta/generated/governance_subjects/count/count_request_builder.py +++ b/msgraph_beta/generated/governance_subjects/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/group_lifecycle_policies/count/count_request_builder.py b/msgraph_beta/generated/group_lifecycle_policies/count/count_request_builder.py index 8b5d886ce0d..3dc95db2728 100644 --- a/msgraph_beta/generated/group_lifecycle_policies/count/count_request_builder.py +++ b/msgraph_beta/generated/group_lifecycle_policies/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/count/count_request_builder.py b/msgraph_beta/generated/groups/count/count_request_builder.py index 809630e5764..324b5db05c2 100644 --- a/msgraph_beta/generated/groups/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/delta/delta_get_response.py b/msgraph_beta/generated/groups/delta/delta_get_response.py index 1e236fcdde1..831301cb7f8 100644 --- a/msgraph_beta/generated/groups/delta/delta_get_response.py +++ b/msgraph_beta/generated/groups/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ...models.base_delta_function_response import BaseDeltaFunctionResponse + from ...models.group import Group + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/groups/delta/delta_request_builder.py b/msgraph_beta/generated/groups/delta/delta_request_builder.py index 2b97e9deaa1..9753a2376c1 100644 --- a/msgraph_beta/generated/groups/delta/delta_request_builder.py +++ b/msgraph_beta/generated/groups/delta/delta_request_builder.py @@ -31,7 +31,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def get(self,request_configuration: Optional[RequestConfiguration[DeltaRequestBuilderGetQueryParameters]] = None) -> Optional[DeltaGetResponse]: """ - Get newly created, updated, or deleted groups, including group membership changes, without having to perform a full read of the entire group collection. See Using Delta Query for details. + Get newly created, updated, or deleted groups, including group membership changes, without having to perform a full read of the entire group collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeltaGetResponse] Find more info here: https://learn.microsoft.com/graph/api/group-delta?view=graph-rest-beta @@ -52,7 +52,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DeltaReq def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[DeltaRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Get newly created, updated, or deleted groups, including group membership changes, without having to perform a full read of the entire group collection. See Using Delta Query for details. + Get newly created, updated, or deleted groups, including group membership changes, without having to perform a full read of the entire group collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -74,7 +74,7 @@ def with_url(self,raw_url: str) -> DeltaRequestBuilder: @dataclass class DeltaRequestBuilderGetQueryParameters(): """ - Get newly created, updated, or deleted groups, including group membership changes, without having to perform a full read of the entire group collection. See Using Delta Query for details. + Get newly created, updated, or deleted groups, including group membership changes, without having to perform a full read of the entire group collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/groups/get_by_ids/get_by_ids_post_response.py b/msgraph_beta/generated/groups/get_by_ids/get_by_ids_post_response.py index a3099558efc..488f70f9c5d 100644 --- a/msgraph_beta/generated/groups/get_by_ids/get_by_ids_post_response.py +++ b/msgraph_beta/generated/groups/get_by_ids/get_by_ids_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ...models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ...models.directory_object import DirectoryObject + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/groups/item/accepted_senders/count/count_request_builder.py b/msgraph_beta/generated/groups/item/accepted_senders/count/count_request_builder.py index 0fec6b44052..af6359515ed 100644 --- a/msgraph_beta/generated/groups/item/accepted_senders/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/accepted_senders/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/app_role_assignments/count/count_request_builder.py b/msgraph_beta/generated/groups/item/app_role_assignments/count/count_request_builder.py index 76d7fe28bdb..64b275a4b20 100644 --- a/msgraph_beta/generated/groups/item/app_role_assignments/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/app_role_assignments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/assign_license/assign_license_post_request_body.py b/msgraph_beta/generated/groups/item/assign_license/assign_license_post_request_body.py index d274e0741b7..62c9bcac901 100644 --- a/msgraph_beta/generated/groups/item/assign_license/assign_license_post_request_body.py +++ b/msgraph_beta/generated/groups/item/assign_license/assign_license_post_request_body.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ....models.assigned_license import AssignedLicense + writer.write_collection_of_object_values("addLicenses", self.add_licenses) writer.write_collection_of_primitive_values("removeLicenses", self.remove_licenses) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/groups/item/calendar/allowed_calendar_sharing_roles_with_user/allowed_calendar_sharing_roles_with_user_get_response.py b/msgraph_beta/generated/groups/item/calendar/allowed_calendar_sharing_roles_with_user/allowed_calendar_sharing_roles_with_user_get_response.py index f0688fa2a92..2f87e8d8514 100644 --- a/msgraph_beta/generated/groups/item/calendar/allowed_calendar_sharing_roles_with_user/allowed_calendar_sharing_roles_with_user_get_response.py +++ b/msgraph_beta/generated/groups/item/calendar/allowed_calendar_sharing_roles_with_user/allowed_calendar_sharing_roles_with_user_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .....models.calendar_role_type import CalendarRoleType + writer.write_collection_of_enum_values("value", self.value) diff --git a/msgraph_beta/generated/groups/item/calendar/calendar_permissions/count/count_request_builder.py b/msgraph_beta/generated/groups/item/calendar/calendar_permissions/count/count_request_builder.py index ba981f435f9..125aabd767c 100644 --- a/msgraph_beta/generated/groups/item/calendar/calendar_permissions/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/calendar_permissions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/calendar/calendar_view/count/count_request_builder.py b/msgraph_beta/generated/groups/item/calendar/calendar_view/count/count_request_builder.py index 80037da2360..5f06b864305 100644 --- a/msgraph_beta/generated/groups/item/calendar/calendar_view/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/calendar_view/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/calendar/calendar_view/delta/delta_get_response.py b/msgraph_beta/generated/groups/item/calendar/calendar_view/delta/delta_get_response.py index 33f28895106..2331ea23723 100644 --- a/msgraph_beta/generated/groups/item/calendar/calendar_view/delta/delta_get_response.py +++ b/msgraph_beta/generated/groups/item/calendar/calendar_view/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ......models.base_delta_function_response import BaseDeltaFunctionResponse + from ......models.event import Event + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/attachments/count/count_request_builder.py b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/attachments/count/count_request_builder.py index a5e2ca7bc27..ff8c025fdde 100644 --- a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/attachments/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/attachments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/attachments/create_upload_session/create_upload_session_post_request_body.py b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/attachments/create_upload_session/create_upload_session_post_request_body.py index eeae70ea12a..2a721f3b1d0 100644 --- a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/attachments/create_upload_session/create_upload_session_post_request_body.py +++ b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/attachments/create_upload_session/create_upload_session_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ........models.attachment_item import AttachmentItem + writer.write_object_value("AttachmentItem", self.attachment_item) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/decline/decline_post_request_body.py b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/decline/decline_post_request_body.py index 6896d571d71..4b9268e5286 100644 --- a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/decline/decline_post_request_body.py +++ b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/decline/decline_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .......models.time_slot import TimeSlot + writer.write_str_value("Comment", self.comment) writer.write_object_value("ProposedNewTime", self.proposed_new_time) writer.write_bool_value("SendResponse", self.send_response) diff --git a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/count/count_request_builder.py b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/count/count_request_builder.py index 420ed6804be..393e96fabf3 100644 --- a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/delta/delta_get_response.py b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/delta/delta_get_response.py index 8b51f454302..712528b2b4e 100644 --- a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/delta/delta_get_response.py +++ b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ........models.base_delta_function_response import BaseDeltaFunctionResponse + from ........models.event import Event + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/attachments/count/count_request_builder.py b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/attachments/count/count_request_builder.py index 085126b733a..f606abc5877 100644 --- a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/attachments/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/attachments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_post_request_body.py b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_post_request_body.py index 1afb99d1e9b..1ac6a8ee63b 100644 --- a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_post_request_body.py +++ b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ..........models.attachment_item import AttachmentItem + writer.write_object_value("AttachmentItem", self.attachment_item) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/decline/decline_post_request_body.py b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/decline/decline_post_request_body.py index 3e234850025..83aba17e789 100644 --- a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/decline/decline_post_request_body.py +++ b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/decline/decline_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .........models.time_slot import TimeSlot + writer.write_str_value("Comment", self.comment) writer.write_object_value("ProposedNewTime", self.proposed_new_time) writer.write_bool_value("SendResponse", self.send_response) diff --git a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/extensions/count/count_request_builder.py b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/extensions/count/count_request_builder.py index ce3ac158bd3..83042cc7997 100644 --- a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/extensions/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/extensions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/forward/forward_post_request_body.py b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/forward/forward_post_request_body.py index 076d53b1bce..cf4d15d42c1 100644 --- a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/forward/forward_post_request_body.py +++ b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/forward/forward_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .........models.recipient import Recipient + writer.write_str_value("Comment", self.comment) writer.write_collection_of_object_values("ToRecipients", self.to_recipients) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/instances/count/count_request_builder.py b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/instances/count/count_request_builder.py index 92d86f02d0a..c58a5460a2c 100644 --- a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/instances/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/instances/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/instances/delta/delta_get_response.py b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/instances/delta/delta_get_response.py index cf86507ffc0..8093f41db23 100644 --- a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/instances/delta/delta_get_response.py +++ b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/instances/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..........models.base_delta_function_response import BaseDeltaFunctionResponse + from ..........models.event import Event + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/attachments/count/count_request_builder.py b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/attachments/count/count_request_builder.py index 64d2a931850..1ae0857205f 100644 --- a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/attachments/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/attachments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/attachments/create_upload_session/create_upload_session_post_request_body.py b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/attachments/create_upload_session/create_upload_session_post_request_body.py index c8e72057440..89fff3d15e0 100644 --- a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/attachments/create_upload_session/create_upload_session_post_request_body.py +++ b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/attachments/create_upload_session/create_upload_session_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ............models.attachment_item import AttachmentItem + writer.write_object_value("AttachmentItem", self.attachment_item) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/decline/decline_post_request_body.py b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/decline/decline_post_request_body.py index 63936b218ef..c34e5c09b6d 100644 --- a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/decline/decline_post_request_body.py +++ b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/decline/decline_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ...........models.time_slot import TimeSlot + writer.write_str_value("Comment", self.comment) writer.write_object_value("ProposedNewTime", self.proposed_new_time) writer.write_bool_value("SendResponse", self.send_response) diff --git a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/extensions/count/count_request_builder.py b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/extensions/count/count_request_builder.py index 0421288b23b..4e58d2e9f6d 100644 --- a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/extensions/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/extensions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/forward/forward_post_request_body.py b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/forward/forward_post_request_body.py index 2c300ad064f..7f7a2ba7159 100644 --- a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/forward/forward_post_request_body.py +++ b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/forward/forward_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ...........models.recipient import Recipient + writer.write_str_value("Comment", self.comment) writer.write_collection_of_object_values("ToRecipients", self.to_recipients) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/snooze_reminder/snooze_reminder_post_request_body.py b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/snooze_reminder/snooze_reminder_post_request_body.py index e15ce14e338..546e9c0475f 100644 --- a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/snooze_reminder/snooze_reminder_post_request_body.py +++ b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/snooze_reminder/snooze_reminder_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ...........models.date_time_time_zone import DateTimeTimeZone + writer.write_object_value("NewReminderTime", self.new_reminder_time) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/tentatively_accept/tentatively_accept_post_request_body.py b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/tentatively_accept/tentatively_accept_post_request_body.py index bf464913407..dec7b03eb56 100644 --- a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/tentatively_accept/tentatively_accept_post_request_body.py +++ b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/tentatively_accept/tentatively_accept_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ...........models.time_slot import TimeSlot + writer.write_str_value("Comment", self.comment) writer.write_object_value("ProposedNewTime", self.proposed_new_time) writer.write_bool_value("SendResponse", self.send_response) diff --git a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/snooze_reminder/snooze_reminder_post_request_body.py b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/snooze_reminder/snooze_reminder_post_request_body.py index 5ea881213e6..2e9f63f43aa 100644 --- a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/snooze_reminder/snooze_reminder_post_request_body.py +++ b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/snooze_reminder/snooze_reminder_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .........models.date_time_time_zone import DateTimeTimeZone + writer.write_object_value("NewReminderTime", self.new_reminder_time) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/tentatively_accept/tentatively_accept_post_request_body.py b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/tentatively_accept/tentatively_accept_post_request_body.py index e26bd40db3d..99ec091e0e3 100644 --- a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/tentatively_accept/tentatively_accept_post_request_body.py +++ b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/tentatively_accept/tentatively_accept_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .........models.time_slot import TimeSlot + writer.write_str_value("Comment", self.comment) writer.write_object_value("ProposedNewTime", self.proposed_new_time) writer.write_bool_value("SendResponse", self.send_response) diff --git a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/extensions/count/count_request_builder.py b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/extensions/count/count_request_builder.py index fb2afbd21b4..d97af8c7e39 100644 --- a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/extensions/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/extensions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/forward/forward_post_request_body.py b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/forward/forward_post_request_body.py index 0d328db4490..0e5417efbc0 100644 --- a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/forward/forward_post_request_body.py +++ b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/forward/forward_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .......models.recipient import Recipient + writer.write_str_value("Comment", self.comment) writer.write_collection_of_object_values("ToRecipients", self.to_recipients) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/count/count_request_builder.py b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/count/count_request_builder.py index 1e53bb2c423..cb010c43004 100644 --- a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/delta/delta_get_response.py b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/delta/delta_get_response.py index 8b51f454302..712528b2b4e 100644 --- a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/delta/delta_get_response.py +++ b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ........models.base_delta_function_response import BaseDeltaFunctionResponse + from ........models.event import Event + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/attachments/count/count_request_builder.py b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/attachments/count/count_request_builder.py index 5a0e5749c52..6467bc58f04 100644 --- a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/attachments/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/attachments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/attachments/create_upload_session/create_upload_session_post_request_body.py b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/attachments/create_upload_session/create_upload_session_post_request_body.py index 1afb99d1e9b..1ac6a8ee63b 100644 --- a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/attachments/create_upload_session/create_upload_session_post_request_body.py +++ b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/attachments/create_upload_session/create_upload_session_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ..........models.attachment_item import AttachmentItem + writer.write_object_value("AttachmentItem", self.attachment_item) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/decline/decline_post_request_body.py b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/decline/decline_post_request_body.py index 3e234850025..83aba17e789 100644 --- a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/decline/decline_post_request_body.py +++ b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/decline/decline_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .........models.time_slot import TimeSlot + writer.write_str_value("Comment", self.comment) writer.write_object_value("ProposedNewTime", self.proposed_new_time) writer.write_bool_value("SendResponse", self.send_response) diff --git a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/exception_occurrences/count/count_request_builder.py b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/exception_occurrences/count/count_request_builder.py index 2789b5f7522..7fa7fd50f9f 100644 --- a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/exception_occurrences/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/exception_occurrences/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/exception_occurrences/delta/delta_get_response.py b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/exception_occurrences/delta/delta_get_response.py index cf86507ffc0..8093f41db23 100644 --- a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/exception_occurrences/delta/delta_get_response.py +++ b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/exception_occurrences/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..........models.base_delta_function_response import BaseDeltaFunctionResponse + from ..........models.event import Event + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/attachments/count/count_request_builder.py b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/attachments/count/count_request_builder.py index 88152922335..baf0bb763cd 100644 --- a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/attachments/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/attachments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_post_request_body.py b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_post_request_body.py index c8e72057440..89fff3d15e0 100644 --- a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_post_request_body.py +++ b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ............models.attachment_item import AttachmentItem + writer.write_object_value("AttachmentItem", self.attachment_item) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/decline/decline_post_request_body.py b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/decline/decline_post_request_body.py index 63936b218ef..c34e5c09b6d 100644 --- a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/decline/decline_post_request_body.py +++ b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/decline/decline_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ...........models.time_slot import TimeSlot + writer.write_str_value("Comment", self.comment) writer.write_object_value("ProposedNewTime", self.proposed_new_time) writer.write_bool_value("SendResponse", self.send_response) diff --git a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/extensions/count/count_request_builder.py b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/extensions/count/count_request_builder.py index 8bcc51e021f..c24a73ac57b 100644 --- a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/extensions/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/extensions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/forward/forward_post_request_body.py b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/forward/forward_post_request_body.py index 2c300ad064f..7f7a2ba7159 100644 --- a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/forward/forward_post_request_body.py +++ b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/forward/forward_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ...........models.recipient import Recipient + writer.write_str_value("Comment", self.comment) writer.write_collection_of_object_values("ToRecipients", self.to_recipients) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/snooze_reminder/snooze_reminder_post_request_body.py b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/snooze_reminder/snooze_reminder_post_request_body.py index e15ce14e338..546e9c0475f 100644 --- a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/snooze_reminder/snooze_reminder_post_request_body.py +++ b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/snooze_reminder/snooze_reminder_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ...........models.date_time_time_zone import DateTimeTimeZone + writer.write_object_value("NewReminderTime", self.new_reminder_time) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/tentatively_accept/tentatively_accept_post_request_body.py b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/tentatively_accept/tentatively_accept_post_request_body.py index bf464913407..dec7b03eb56 100644 --- a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/tentatively_accept/tentatively_accept_post_request_body.py +++ b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/tentatively_accept/tentatively_accept_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ...........models.time_slot import TimeSlot + writer.write_str_value("Comment", self.comment) writer.write_object_value("ProposedNewTime", self.proposed_new_time) writer.write_bool_value("SendResponse", self.send_response) diff --git a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/extensions/count/count_request_builder.py b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/extensions/count/count_request_builder.py index 73e796713e3..7f8cb9acd78 100644 --- a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/extensions/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/extensions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/forward/forward_post_request_body.py b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/forward/forward_post_request_body.py index 076d53b1bce..cf4d15d42c1 100644 --- a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/forward/forward_post_request_body.py +++ b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/forward/forward_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .........models.recipient import Recipient + writer.write_str_value("Comment", self.comment) writer.write_collection_of_object_values("ToRecipients", self.to_recipients) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/snooze_reminder/snooze_reminder_post_request_body.py b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/snooze_reminder/snooze_reminder_post_request_body.py index 5ea881213e6..2e9f63f43aa 100644 --- a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/snooze_reminder/snooze_reminder_post_request_body.py +++ b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/snooze_reminder/snooze_reminder_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .........models.date_time_time_zone import DateTimeTimeZone + writer.write_object_value("NewReminderTime", self.new_reminder_time) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/tentatively_accept/tentatively_accept_post_request_body.py b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/tentatively_accept/tentatively_accept_post_request_body.py index e26bd40db3d..99ec091e0e3 100644 --- a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/tentatively_accept/tentatively_accept_post_request_body.py +++ b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/tentatively_accept/tentatively_accept_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .........models.time_slot import TimeSlot + writer.write_str_value("Comment", self.comment) writer.write_object_value("ProposedNewTime", self.proposed_new_time) writer.write_bool_value("SendResponse", self.send_response) diff --git a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/snooze_reminder/snooze_reminder_post_request_body.py b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/snooze_reminder/snooze_reminder_post_request_body.py index d8091656f07..c5a84835e87 100644 --- a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/snooze_reminder/snooze_reminder_post_request_body.py +++ b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/snooze_reminder/snooze_reminder_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .......models.date_time_time_zone import DateTimeTimeZone + writer.write_object_value("NewReminderTime", self.new_reminder_time) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/tentatively_accept/tentatively_accept_post_request_body.py b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/tentatively_accept/tentatively_accept_post_request_body.py index 8f83a4a5680..f2d9f507641 100644 --- a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/tentatively_accept/tentatively_accept_post_request_body.py +++ b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/tentatively_accept/tentatively_accept_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .......models.time_slot import TimeSlot + writer.write_str_value("Comment", self.comment) writer.write_object_value("ProposedNewTime", self.proposed_new_time) writer.write_bool_value("SendResponse", self.send_response) diff --git a/msgraph_beta/generated/groups/item/calendar/events/count/count_request_builder.py b/msgraph_beta/generated/groups/item/calendar/events/count/count_request_builder.py index e06366d0d58..94aef8fa8aa 100644 --- a/msgraph_beta/generated/groups/item/calendar/events/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/events/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/calendar/events/delta/delta_get_response.py b/msgraph_beta/generated/groups/item/calendar/events/delta/delta_get_response.py index 33f28895106..2331ea23723 100644 --- a/msgraph_beta/generated/groups/item/calendar/events/delta/delta_get_response.py +++ b/msgraph_beta/generated/groups/item/calendar/events/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ......models.base_delta_function_response import BaseDeltaFunctionResponse + from ......models.event import Event + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/groups/item/calendar/events/item/attachments/count/count_request_builder.py b/msgraph_beta/generated/groups/item/calendar/events/item/attachments/count/count_request_builder.py index fd9e40789d0..5f19d63c4c8 100644 --- a/msgraph_beta/generated/groups/item/calendar/events/item/attachments/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/events/item/attachments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/calendar/events/item/attachments/create_upload_session/create_upload_session_post_request_body.py b/msgraph_beta/generated/groups/item/calendar/events/item/attachments/create_upload_session/create_upload_session_post_request_body.py index eeae70ea12a..2a721f3b1d0 100644 --- a/msgraph_beta/generated/groups/item/calendar/events/item/attachments/create_upload_session/create_upload_session_post_request_body.py +++ b/msgraph_beta/generated/groups/item/calendar/events/item/attachments/create_upload_session/create_upload_session_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ........models.attachment_item import AttachmentItem + writer.write_object_value("AttachmentItem", self.attachment_item) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/groups/item/calendar/events/item/decline/decline_post_request_body.py b/msgraph_beta/generated/groups/item/calendar/events/item/decline/decline_post_request_body.py index 6896d571d71..4b9268e5286 100644 --- a/msgraph_beta/generated/groups/item/calendar/events/item/decline/decline_post_request_body.py +++ b/msgraph_beta/generated/groups/item/calendar/events/item/decline/decline_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .......models.time_slot import TimeSlot + writer.write_str_value("Comment", self.comment) writer.write_object_value("ProposedNewTime", self.proposed_new_time) writer.write_bool_value("SendResponse", self.send_response) diff --git a/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/count/count_request_builder.py b/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/count/count_request_builder.py index 84fdd5a0205..09537291207 100644 --- a/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/delta/delta_get_response.py b/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/delta/delta_get_response.py index 8b51f454302..712528b2b4e 100644 --- a/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/delta/delta_get_response.py +++ b/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ........models.base_delta_function_response import BaseDeltaFunctionResponse + from ........models.event import Event + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/attachments/count/count_request_builder.py b/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/attachments/count/count_request_builder.py index 174fc63784e..eb5e86796bc 100644 --- a/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/attachments/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/attachments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_post_request_body.py b/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_post_request_body.py index 1afb99d1e9b..1ac6a8ee63b 100644 --- a/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_post_request_body.py +++ b/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ..........models.attachment_item import AttachmentItem + writer.write_object_value("AttachmentItem", self.attachment_item) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/decline/decline_post_request_body.py b/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/decline/decline_post_request_body.py index 3e234850025..83aba17e789 100644 --- a/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/decline/decline_post_request_body.py +++ b/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/decline/decline_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .........models.time_slot import TimeSlot + writer.write_str_value("Comment", self.comment) writer.write_object_value("ProposedNewTime", self.proposed_new_time) writer.write_bool_value("SendResponse", self.send_response) diff --git a/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/extensions/count/count_request_builder.py b/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/extensions/count/count_request_builder.py index 76a5f4fd1ad..8205da01fd0 100644 --- a/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/extensions/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/extensions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/forward/forward_post_request_body.py b/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/forward/forward_post_request_body.py index 076d53b1bce..cf4d15d42c1 100644 --- a/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/forward/forward_post_request_body.py +++ b/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/forward/forward_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .........models.recipient import Recipient + writer.write_str_value("Comment", self.comment) writer.write_collection_of_object_values("ToRecipients", self.to_recipients) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/instances/count/count_request_builder.py b/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/instances/count/count_request_builder.py index 0f587e3b47e..a56fbd796e4 100644 --- a/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/instances/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/instances/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/instances/delta/delta_get_response.py b/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/instances/delta/delta_get_response.py index cf86507ffc0..8093f41db23 100644 --- a/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/instances/delta/delta_get_response.py +++ b/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/instances/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..........models.base_delta_function_response import BaseDeltaFunctionResponse + from ..........models.event import Event + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/instances/item/attachments/count/count_request_builder.py b/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/instances/item/attachments/count/count_request_builder.py index ffe9af9e785..aa3e82e9567 100644 --- a/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/instances/item/attachments/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/instances/item/attachments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/instances/item/attachments/create_upload_session/create_upload_session_post_request_body.py b/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/instances/item/attachments/create_upload_session/create_upload_session_post_request_body.py index c8e72057440..89fff3d15e0 100644 --- a/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/instances/item/attachments/create_upload_session/create_upload_session_post_request_body.py +++ b/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/instances/item/attachments/create_upload_session/create_upload_session_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ............models.attachment_item import AttachmentItem + writer.write_object_value("AttachmentItem", self.attachment_item) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/instances/item/decline/decline_post_request_body.py b/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/instances/item/decline/decline_post_request_body.py index 63936b218ef..c34e5c09b6d 100644 --- a/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/instances/item/decline/decline_post_request_body.py +++ b/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/instances/item/decline/decline_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ...........models.time_slot import TimeSlot + writer.write_str_value("Comment", self.comment) writer.write_object_value("ProposedNewTime", self.proposed_new_time) writer.write_bool_value("SendResponse", self.send_response) diff --git a/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/instances/item/extensions/count/count_request_builder.py b/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/instances/item/extensions/count/count_request_builder.py index e2e6a182958..6a1363a4791 100644 --- a/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/instances/item/extensions/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/instances/item/extensions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/instances/item/forward/forward_post_request_body.py b/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/instances/item/forward/forward_post_request_body.py index 2c300ad064f..7f7a2ba7159 100644 --- a/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/instances/item/forward/forward_post_request_body.py +++ b/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/instances/item/forward/forward_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ...........models.recipient import Recipient + writer.write_str_value("Comment", self.comment) writer.write_collection_of_object_values("ToRecipients", self.to_recipients) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/instances/item/snooze_reminder/snooze_reminder_post_request_body.py b/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/instances/item/snooze_reminder/snooze_reminder_post_request_body.py index e15ce14e338..546e9c0475f 100644 --- a/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/instances/item/snooze_reminder/snooze_reminder_post_request_body.py +++ b/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/instances/item/snooze_reminder/snooze_reminder_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ...........models.date_time_time_zone import DateTimeTimeZone + writer.write_object_value("NewReminderTime", self.new_reminder_time) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/instances/item/tentatively_accept/tentatively_accept_post_request_body.py b/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/instances/item/tentatively_accept/tentatively_accept_post_request_body.py index bf464913407..dec7b03eb56 100644 --- a/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/instances/item/tentatively_accept/tentatively_accept_post_request_body.py +++ b/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/instances/item/tentatively_accept/tentatively_accept_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ...........models.time_slot import TimeSlot + writer.write_str_value("Comment", self.comment) writer.write_object_value("ProposedNewTime", self.proposed_new_time) writer.write_bool_value("SendResponse", self.send_response) diff --git a/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/snooze_reminder/snooze_reminder_post_request_body.py b/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/snooze_reminder/snooze_reminder_post_request_body.py index 5ea881213e6..2e9f63f43aa 100644 --- a/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/snooze_reminder/snooze_reminder_post_request_body.py +++ b/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/snooze_reminder/snooze_reminder_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .........models.date_time_time_zone import DateTimeTimeZone + writer.write_object_value("NewReminderTime", self.new_reminder_time) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/tentatively_accept/tentatively_accept_post_request_body.py b/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/tentatively_accept/tentatively_accept_post_request_body.py index e26bd40db3d..99ec091e0e3 100644 --- a/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/tentatively_accept/tentatively_accept_post_request_body.py +++ b/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/tentatively_accept/tentatively_accept_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .........models.time_slot import TimeSlot + writer.write_str_value("Comment", self.comment) writer.write_object_value("ProposedNewTime", self.proposed_new_time) writer.write_bool_value("SendResponse", self.send_response) diff --git a/msgraph_beta/generated/groups/item/calendar/events/item/extensions/count/count_request_builder.py b/msgraph_beta/generated/groups/item/calendar/events/item/extensions/count/count_request_builder.py index 091caca5376..8f8cb777e5a 100644 --- a/msgraph_beta/generated/groups/item/calendar/events/item/extensions/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/events/item/extensions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/calendar/events/item/forward/forward_post_request_body.py b/msgraph_beta/generated/groups/item/calendar/events/item/forward/forward_post_request_body.py index 0d328db4490..0e5417efbc0 100644 --- a/msgraph_beta/generated/groups/item/calendar/events/item/forward/forward_post_request_body.py +++ b/msgraph_beta/generated/groups/item/calendar/events/item/forward/forward_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .......models.recipient import Recipient + writer.write_str_value("Comment", self.comment) writer.write_collection_of_object_values("ToRecipients", self.to_recipients) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/groups/item/calendar/events/item/instances/count/count_request_builder.py b/msgraph_beta/generated/groups/item/calendar/events/item/instances/count/count_request_builder.py index f0dd236b971..75961a368a3 100644 --- a/msgraph_beta/generated/groups/item/calendar/events/item/instances/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/events/item/instances/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/calendar/events/item/instances/delta/delta_get_response.py b/msgraph_beta/generated/groups/item/calendar/events/item/instances/delta/delta_get_response.py index 8b51f454302..712528b2b4e 100644 --- a/msgraph_beta/generated/groups/item/calendar/events/item/instances/delta/delta_get_response.py +++ b/msgraph_beta/generated/groups/item/calendar/events/item/instances/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ........models.base_delta_function_response import BaseDeltaFunctionResponse + from ........models.event import Event + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/attachments/count/count_request_builder.py b/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/attachments/count/count_request_builder.py index aa18a056eee..e1c37a2e99d 100644 --- a/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/attachments/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/attachments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/attachments/create_upload_session/create_upload_session_post_request_body.py b/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/attachments/create_upload_session/create_upload_session_post_request_body.py index 1afb99d1e9b..1ac6a8ee63b 100644 --- a/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/attachments/create_upload_session/create_upload_session_post_request_body.py +++ b/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/attachments/create_upload_session/create_upload_session_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ..........models.attachment_item import AttachmentItem + writer.write_object_value("AttachmentItem", self.attachment_item) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/decline/decline_post_request_body.py b/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/decline/decline_post_request_body.py index 3e234850025..83aba17e789 100644 --- a/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/decline/decline_post_request_body.py +++ b/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/decline/decline_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .........models.time_slot import TimeSlot + writer.write_str_value("Comment", self.comment) writer.write_object_value("ProposedNewTime", self.proposed_new_time) writer.write_bool_value("SendResponse", self.send_response) diff --git a/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/exception_occurrences/count/count_request_builder.py b/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/exception_occurrences/count/count_request_builder.py index f77da909319..336def5cdde 100644 --- a/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/exception_occurrences/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/exception_occurrences/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/exception_occurrences/delta/delta_get_response.py b/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/exception_occurrences/delta/delta_get_response.py index cf86507ffc0..8093f41db23 100644 --- a/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/exception_occurrences/delta/delta_get_response.py +++ b/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/exception_occurrences/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..........models.base_delta_function_response import BaseDeltaFunctionResponse + from ..........models.event import Event + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/exception_occurrences/item/attachments/count/count_request_builder.py b/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/exception_occurrences/item/attachments/count/count_request_builder.py index 2e1b6c5f323..2ffaad2b2ae 100644 --- a/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/exception_occurrences/item/attachments/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/exception_occurrences/item/attachments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_post_request_body.py b/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_post_request_body.py index c8e72057440..89fff3d15e0 100644 --- a/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_post_request_body.py +++ b/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ............models.attachment_item import AttachmentItem + writer.write_object_value("AttachmentItem", self.attachment_item) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/exception_occurrences/item/decline/decline_post_request_body.py b/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/exception_occurrences/item/decline/decline_post_request_body.py index 63936b218ef..c34e5c09b6d 100644 --- a/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/exception_occurrences/item/decline/decline_post_request_body.py +++ b/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/exception_occurrences/item/decline/decline_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ...........models.time_slot import TimeSlot + writer.write_str_value("Comment", self.comment) writer.write_object_value("ProposedNewTime", self.proposed_new_time) writer.write_bool_value("SendResponse", self.send_response) diff --git a/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/exception_occurrences/item/extensions/count/count_request_builder.py b/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/exception_occurrences/item/extensions/count/count_request_builder.py index 91d7127ead3..178b5c657eb 100644 --- a/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/exception_occurrences/item/extensions/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/exception_occurrences/item/extensions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/exception_occurrences/item/forward/forward_post_request_body.py b/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/exception_occurrences/item/forward/forward_post_request_body.py index 2c300ad064f..7f7a2ba7159 100644 --- a/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/exception_occurrences/item/forward/forward_post_request_body.py +++ b/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/exception_occurrences/item/forward/forward_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ...........models.recipient import Recipient + writer.write_str_value("Comment", self.comment) writer.write_collection_of_object_values("ToRecipients", self.to_recipients) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/exception_occurrences/item/snooze_reminder/snooze_reminder_post_request_body.py b/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/exception_occurrences/item/snooze_reminder/snooze_reminder_post_request_body.py index e15ce14e338..546e9c0475f 100644 --- a/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/exception_occurrences/item/snooze_reminder/snooze_reminder_post_request_body.py +++ b/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/exception_occurrences/item/snooze_reminder/snooze_reminder_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ...........models.date_time_time_zone import DateTimeTimeZone + writer.write_object_value("NewReminderTime", self.new_reminder_time) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/exception_occurrences/item/tentatively_accept/tentatively_accept_post_request_body.py b/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/exception_occurrences/item/tentatively_accept/tentatively_accept_post_request_body.py index bf464913407..dec7b03eb56 100644 --- a/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/exception_occurrences/item/tentatively_accept/tentatively_accept_post_request_body.py +++ b/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/exception_occurrences/item/tentatively_accept/tentatively_accept_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ...........models.time_slot import TimeSlot + writer.write_str_value("Comment", self.comment) writer.write_object_value("ProposedNewTime", self.proposed_new_time) writer.write_bool_value("SendResponse", self.send_response) diff --git a/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/extensions/count/count_request_builder.py b/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/extensions/count/count_request_builder.py index d8ee810d083..d253d081d4d 100644 --- a/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/extensions/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/extensions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/forward/forward_post_request_body.py b/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/forward/forward_post_request_body.py index 076d53b1bce..cf4d15d42c1 100644 --- a/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/forward/forward_post_request_body.py +++ b/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/forward/forward_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .........models.recipient import Recipient + writer.write_str_value("Comment", self.comment) writer.write_collection_of_object_values("ToRecipients", self.to_recipients) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/snooze_reminder/snooze_reminder_post_request_body.py b/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/snooze_reminder/snooze_reminder_post_request_body.py index 5ea881213e6..2e9f63f43aa 100644 --- a/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/snooze_reminder/snooze_reminder_post_request_body.py +++ b/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/snooze_reminder/snooze_reminder_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .........models.date_time_time_zone import DateTimeTimeZone + writer.write_object_value("NewReminderTime", self.new_reminder_time) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/tentatively_accept/tentatively_accept_post_request_body.py b/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/tentatively_accept/tentatively_accept_post_request_body.py index e26bd40db3d..99ec091e0e3 100644 --- a/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/tentatively_accept/tentatively_accept_post_request_body.py +++ b/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/tentatively_accept/tentatively_accept_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .........models.time_slot import TimeSlot + writer.write_str_value("Comment", self.comment) writer.write_object_value("ProposedNewTime", self.proposed_new_time) writer.write_bool_value("SendResponse", self.send_response) diff --git a/msgraph_beta/generated/groups/item/calendar/events/item/snooze_reminder/snooze_reminder_post_request_body.py b/msgraph_beta/generated/groups/item/calendar/events/item/snooze_reminder/snooze_reminder_post_request_body.py index d8091656f07..c5a84835e87 100644 --- a/msgraph_beta/generated/groups/item/calendar/events/item/snooze_reminder/snooze_reminder_post_request_body.py +++ b/msgraph_beta/generated/groups/item/calendar/events/item/snooze_reminder/snooze_reminder_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .......models.date_time_time_zone import DateTimeTimeZone + writer.write_object_value("NewReminderTime", self.new_reminder_time) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/groups/item/calendar/events/item/tentatively_accept/tentatively_accept_post_request_body.py b/msgraph_beta/generated/groups/item/calendar/events/item/tentatively_accept/tentatively_accept_post_request_body.py index 8f83a4a5680..f2d9f507641 100644 --- a/msgraph_beta/generated/groups/item/calendar/events/item/tentatively_accept/tentatively_accept_post_request_body.py +++ b/msgraph_beta/generated/groups/item/calendar/events/item/tentatively_accept/tentatively_accept_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .......models.time_slot import TimeSlot + writer.write_str_value("Comment", self.comment) writer.write_object_value("ProposedNewTime", self.proposed_new_time) writer.write_bool_value("SendResponse", self.send_response) diff --git a/msgraph_beta/generated/groups/item/calendar/get_schedule/get_schedule_post_request_body.py b/msgraph_beta/generated/groups/item/calendar/get_schedule/get_schedule_post_request_body.py index a6c1c3389a8..959478db3b8 100644 --- a/msgraph_beta/generated/groups/item/calendar/get_schedule/get_schedule_post_request_body.py +++ b/msgraph_beta/generated/groups/item/calendar/get_schedule/get_schedule_post_request_body.py @@ -59,6 +59,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.date_time_time_zone import DateTimeTimeZone + writer.write_int_value("AvailabilityViewInterval", self.availability_view_interval) writer.write_object_value("EndTime", self.end_time) writer.write_collection_of_primitive_values("Schedules", self.schedules) diff --git a/msgraph_beta/generated/groups/item/calendar/get_schedule/get_schedule_post_response.py b/msgraph_beta/generated/groups/item/calendar/get_schedule/get_schedule_post_response.py index df00ee48e7d..41c1e11f113 100644 --- a/msgraph_beta/generated/groups/item/calendar/get_schedule/get_schedule_post_response.py +++ b/msgraph_beta/generated/groups/item/calendar/get_schedule/get_schedule_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .....models.schedule_information import ScheduleInformation + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/groups/item/calendar_view/count/count_request_builder.py b/msgraph_beta/generated/groups/item/calendar_view/count/count_request_builder.py index 1a5e34caa25..03308980e43 100644 --- a/msgraph_beta/generated/groups/item/calendar_view/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar_view/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/calendar_view/delta/delta_get_response.py b/msgraph_beta/generated/groups/item/calendar_view/delta/delta_get_response.py index 624d2ff9617..7b7b14f8a80 100644 --- a/msgraph_beta/generated/groups/item/calendar_view/delta/delta_get_response.py +++ b/msgraph_beta/generated/groups/item/calendar_view/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .....models.base_delta_function_response import BaseDeltaFunctionResponse + from .....models.event import Event + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/groups/item/calendar_view/item/attachments/count/count_request_builder.py b/msgraph_beta/generated/groups/item/calendar_view/item/attachments/count/count_request_builder.py index 1cdc4153c76..a3ef70b236b 100644 --- a/msgraph_beta/generated/groups/item/calendar_view/item/attachments/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar_view/item/attachments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/calendar_view/item/attachments/create_upload_session/create_upload_session_post_request_body.py b/msgraph_beta/generated/groups/item/calendar_view/item/attachments/create_upload_session/create_upload_session_post_request_body.py index c0ac38ff4df..9b2361ec3bc 100644 --- a/msgraph_beta/generated/groups/item/calendar_view/item/attachments/create_upload_session/create_upload_session_post_request_body.py +++ b/msgraph_beta/generated/groups/item/calendar_view/item/attachments/create_upload_session/create_upload_session_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .......models.attachment_item import AttachmentItem + writer.write_object_value("AttachmentItem", self.attachment_item) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/groups/item/calendar_view/item/decline/decline_post_request_body.py b/msgraph_beta/generated/groups/item/calendar_view/item/decline/decline_post_request_body.py index 2979ad69ea0..da59f3c7288 100644 --- a/msgraph_beta/generated/groups/item/calendar_view/item/decline/decline_post_request_body.py +++ b/msgraph_beta/generated/groups/item/calendar_view/item/decline/decline_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ......models.time_slot import TimeSlot + writer.write_str_value("Comment", self.comment) writer.write_object_value("ProposedNewTime", self.proposed_new_time) writer.write_bool_value("SendResponse", self.send_response) diff --git a/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/count/count_request_builder.py b/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/count/count_request_builder.py index 0f28eb2167b..c1dc997922a 100644 --- a/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/delta/delta_get_response.py b/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/delta/delta_get_response.py index 284febf7b58..97346f2d2cd 100644 --- a/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/delta/delta_get_response.py +++ b/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .......models.base_delta_function_response import BaseDeltaFunctionResponse + from .......models.event import Event + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/attachments/count/count_request_builder.py b/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/attachments/count/count_request_builder.py index db995c561c4..16875082561 100644 --- a/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/attachments/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/attachments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_post_request_body.py b/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_post_request_body.py index 2dccea4559f..23154d22cc3 100644 --- a/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_post_request_body.py +++ b/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .........models.attachment_item import AttachmentItem + writer.write_object_value("AttachmentItem", self.attachment_item) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/decline/decline_post_request_body.py b/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/decline/decline_post_request_body.py index 5d8b2272815..553bcd6bb26 100644 --- a/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/decline/decline_post_request_body.py +++ b/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/decline/decline_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ........models.time_slot import TimeSlot + writer.write_str_value("Comment", self.comment) writer.write_object_value("ProposedNewTime", self.proposed_new_time) writer.write_bool_value("SendResponse", self.send_response) diff --git a/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/extensions/count/count_request_builder.py b/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/extensions/count/count_request_builder.py index d20b974052e..037a4af0f59 100644 --- a/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/extensions/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/extensions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/forward/forward_post_request_body.py b/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/forward/forward_post_request_body.py index c6dc81f4080..a46731eaf35 100644 --- a/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/forward/forward_post_request_body.py +++ b/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/forward/forward_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ........models.recipient import Recipient + writer.write_str_value("Comment", self.comment) writer.write_collection_of_object_values("ToRecipients", self.to_recipients) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/instances/count/count_request_builder.py b/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/instances/count/count_request_builder.py index a30fc71de8f..7f8335b7f47 100644 --- a/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/instances/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/instances/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/instances/delta/delta_get_response.py b/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/instances/delta/delta_get_response.py index 23fb1ca654a..db2534e5b05 100644 --- a/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/instances/delta/delta_get_response.py +++ b/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/instances/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .........models.base_delta_function_response import BaseDeltaFunctionResponse + from .........models.event import Event + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/instances/item/attachments/count/count_request_builder.py b/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/instances/item/attachments/count/count_request_builder.py index 79a3fdcc755..b0435729c47 100644 --- a/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/instances/item/attachments/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/instances/item/attachments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/instances/item/attachments/create_upload_session/create_upload_session_post_request_body.py b/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/instances/item/attachments/create_upload_session/create_upload_session_post_request_body.py index 720f6db83c7..c831f06aaf2 100644 --- a/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/instances/item/attachments/create_upload_session/create_upload_session_post_request_body.py +++ b/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/instances/item/attachments/create_upload_session/create_upload_session_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ...........models.attachment_item import AttachmentItem + writer.write_object_value("AttachmentItem", self.attachment_item) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/instances/item/decline/decline_post_request_body.py b/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/instances/item/decline/decline_post_request_body.py index b1b31ebf43f..af0d655163d 100644 --- a/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/instances/item/decline/decline_post_request_body.py +++ b/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/instances/item/decline/decline_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ..........models.time_slot import TimeSlot + writer.write_str_value("Comment", self.comment) writer.write_object_value("ProposedNewTime", self.proposed_new_time) writer.write_bool_value("SendResponse", self.send_response) diff --git a/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/instances/item/extensions/count/count_request_builder.py b/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/instances/item/extensions/count/count_request_builder.py index a0680bc9781..24c22fcec68 100644 --- a/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/instances/item/extensions/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/instances/item/extensions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/instances/item/forward/forward_post_request_body.py b/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/instances/item/forward/forward_post_request_body.py index e30831a3e49..291cb53db24 100644 --- a/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/instances/item/forward/forward_post_request_body.py +++ b/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/instances/item/forward/forward_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ..........models.recipient import Recipient + writer.write_str_value("Comment", self.comment) writer.write_collection_of_object_values("ToRecipients", self.to_recipients) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/instances/item/snooze_reminder/snooze_reminder_post_request_body.py b/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/instances/item/snooze_reminder/snooze_reminder_post_request_body.py index 965ed80b889..fe4b708f070 100644 --- a/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/instances/item/snooze_reminder/snooze_reminder_post_request_body.py +++ b/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/instances/item/snooze_reminder/snooze_reminder_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ..........models.date_time_time_zone import DateTimeTimeZone + writer.write_object_value("NewReminderTime", self.new_reminder_time) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/instances/item/tentatively_accept/tentatively_accept_post_request_body.py b/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/instances/item/tentatively_accept/tentatively_accept_post_request_body.py index 0f34906867b..956b28b2a29 100644 --- a/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/instances/item/tentatively_accept/tentatively_accept_post_request_body.py +++ b/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/instances/item/tentatively_accept/tentatively_accept_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ..........models.time_slot import TimeSlot + writer.write_str_value("Comment", self.comment) writer.write_object_value("ProposedNewTime", self.proposed_new_time) writer.write_bool_value("SendResponse", self.send_response) diff --git a/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/snooze_reminder/snooze_reminder_post_request_body.py b/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/snooze_reminder/snooze_reminder_post_request_body.py index 812d7af6110..74f5520c222 100644 --- a/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/snooze_reminder/snooze_reminder_post_request_body.py +++ b/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/snooze_reminder/snooze_reminder_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ........models.date_time_time_zone import DateTimeTimeZone + writer.write_object_value("NewReminderTime", self.new_reminder_time) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/tentatively_accept/tentatively_accept_post_request_body.py b/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/tentatively_accept/tentatively_accept_post_request_body.py index 1104b6b5c4d..2a8b802ad27 100644 --- a/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/tentatively_accept/tentatively_accept_post_request_body.py +++ b/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/tentatively_accept/tentatively_accept_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ........models.time_slot import TimeSlot + writer.write_str_value("Comment", self.comment) writer.write_object_value("ProposedNewTime", self.proposed_new_time) writer.write_bool_value("SendResponse", self.send_response) diff --git a/msgraph_beta/generated/groups/item/calendar_view/item/extensions/count/count_request_builder.py b/msgraph_beta/generated/groups/item/calendar_view/item/extensions/count/count_request_builder.py index d1bab36e850..3c91bdd1104 100644 --- a/msgraph_beta/generated/groups/item/calendar_view/item/extensions/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar_view/item/extensions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/calendar_view/item/forward/forward_post_request_body.py b/msgraph_beta/generated/groups/item/calendar_view/item/forward/forward_post_request_body.py index a420e81d4c8..71817be714a 100644 --- a/msgraph_beta/generated/groups/item/calendar_view/item/forward/forward_post_request_body.py +++ b/msgraph_beta/generated/groups/item/calendar_view/item/forward/forward_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ......models.recipient import Recipient + writer.write_str_value("Comment", self.comment) writer.write_collection_of_object_values("ToRecipients", self.to_recipients) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/groups/item/calendar_view/item/instances/count/count_request_builder.py b/msgraph_beta/generated/groups/item/calendar_view/item/instances/count/count_request_builder.py index e5155a107c8..ad2689d3cca 100644 --- a/msgraph_beta/generated/groups/item/calendar_view/item/instances/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar_view/item/instances/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/calendar_view/item/instances/delta/delta_get_response.py b/msgraph_beta/generated/groups/item/calendar_view/item/instances/delta/delta_get_response.py index 284febf7b58..97346f2d2cd 100644 --- a/msgraph_beta/generated/groups/item/calendar_view/item/instances/delta/delta_get_response.py +++ b/msgraph_beta/generated/groups/item/calendar_view/item/instances/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .......models.base_delta_function_response import BaseDeltaFunctionResponse + from .......models.event import Event + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/attachments/count/count_request_builder.py b/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/attachments/count/count_request_builder.py index ce238eb098e..7233e133a17 100644 --- a/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/attachments/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/attachments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/attachments/create_upload_session/create_upload_session_post_request_body.py b/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/attachments/create_upload_session/create_upload_session_post_request_body.py index 2dccea4559f..23154d22cc3 100644 --- a/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/attachments/create_upload_session/create_upload_session_post_request_body.py +++ b/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/attachments/create_upload_session/create_upload_session_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .........models.attachment_item import AttachmentItem + writer.write_object_value("AttachmentItem", self.attachment_item) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/decline/decline_post_request_body.py b/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/decline/decline_post_request_body.py index 5d8b2272815..553bcd6bb26 100644 --- a/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/decline/decline_post_request_body.py +++ b/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/decline/decline_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ........models.time_slot import TimeSlot + writer.write_str_value("Comment", self.comment) writer.write_object_value("ProposedNewTime", self.proposed_new_time) writer.write_bool_value("SendResponse", self.send_response) diff --git a/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/exception_occurrences/count/count_request_builder.py b/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/exception_occurrences/count/count_request_builder.py index 92d09349d75..f5913a62bd4 100644 --- a/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/exception_occurrences/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/exception_occurrences/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/exception_occurrences/delta/delta_get_response.py b/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/exception_occurrences/delta/delta_get_response.py index 23fb1ca654a..db2534e5b05 100644 --- a/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/exception_occurrences/delta/delta_get_response.py +++ b/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/exception_occurrences/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .........models.base_delta_function_response import BaseDeltaFunctionResponse + from .........models.event import Event + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/exception_occurrences/item/attachments/count/count_request_builder.py b/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/exception_occurrences/item/attachments/count/count_request_builder.py index ef33379f387..8cac83de9f0 100644 --- a/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/exception_occurrences/item/attachments/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/exception_occurrences/item/attachments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_post_request_body.py b/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_post_request_body.py index 720f6db83c7..c831f06aaf2 100644 --- a/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_post_request_body.py +++ b/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ...........models.attachment_item import AttachmentItem + writer.write_object_value("AttachmentItem", self.attachment_item) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/exception_occurrences/item/decline/decline_post_request_body.py b/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/exception_occurrences/item/decline/decline_post_request_body.py index b1b31ebf43f..af0d655163d 100644 --- a/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/exception_occurrences/item/decline/decline_post_request_body.py +++ b/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/exception_occurrences/item/decline/decline_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ..........models.time_slot import TimeSlot + writer.write_str_value("Comment", self.comment) writer.write_object_value("ProposedNewTime", self.proposed_new_time) writer.write_bool_value("SendResponse", self.send_response) diff --git a/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/exception_occurrences/item/extensions/count/count_request_builder.py b/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/exception_occurrences/item/extensions/count/count_request_builder.py index 64f66ed58c6..52304045e3b 100644 --- a/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/exception_occurrences/item/extensions/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/exception_occurrences/item/extensions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/exception_occurrences/item/forward/forward_post_request_body.py b/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/exception_occurrences/item/forward/forward_post_request_body.py index e30831a3e49..291cb53db24 100644 --- a/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/exception_occurrences/item/forward/forward_post_request_body.py +++ b/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/exception_occurrences/item/forward/forward_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ..........models.recipient import Recipient + writer.write_str_value("Comment", self.comment) writer.write_collection_of_object_values("ToRecipients", self.to_recipients) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/exception_occurrences/item/snooze_reminder/snooze_reminder_post_request_body.py b/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/exception_occurrences/item/snooze_reminder/snooze_reminder_post_request_body.py index 965ed80b889..fe4b708f070 100644 --- a/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/exception_occurrences/item/snooze_reminder/snooze_reminder_post_request_body.py +++ b/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/exception_occurrences/item/snooze_reminder/snooze_reminder_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ..........models.date_time_time_zone import DateTimeTimeZone + writer.write_object_value("NewReminderTime", self.new_reminder_time) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/exception_occurrences/item/tentatively_accept/tentatively_accept_post_request_body.py b/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/exception_occurrences/item/tentatively_accept/tentatively_accept_post_request_body.py index 0f34906867b..956b28b2a29 100644 --- a/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/exception_occurrences/item/tentatively_accept/tentatively_accept_post_request_body.py +++ b/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/exception_occurrences/item/tentatively_accept/tentatively_accept_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ..........models.time_slot import TimeSlot + writer.write_str_value("Comment", self.comment) writer.write_object_value("ProposedNewTime", self.proposed_new_time) writer.write_bool_value("SendResponse", self.send_response) diff --git a/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/extensions/count/count_request_builder.py b/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/extensions/count/count_request_builder.py index fd36fcee937..a08e3b360cb 100644 --- a/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/extensions/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/extensions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/forward/forward_post_request_body.py b/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/forward/forward_post_request_body.py index c6dc81f4080..a46731eaf35 100644 --- a/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/forward/forward_post_request_body.py +++ b/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/forward/forward_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ........models.recipient import Recipient + writer.write_str_value("Comment", self.comment) writer.write_collection_of_object_values("ToRecipients", self.to_recipients) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/snooze_reminder/snooze_reminder_post_request_body.py b/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/snooze_reminder/snooze_reminder_post_request_body.py index 812d7af6110..74f5520c222 100644 --- a/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/snooze_reminder/snooze_reminder_post_request_body.py +++ b/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/snooze_reminder/snooze_reminder_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ........models.date_time_time_zone import DateTimeTimeZone + writer.write_object_value("NewReminderTime", self.new_reminder_time) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/tentatively_accept/tentatively_accept_post_request_body.py b/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/tentatively_accept/tentatively_accept_post_request_body.py index 1104b6b5c4d..2a8b802ad27 100644 --- a/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/tentatively_accept/tentatively_accept_post_request_body.py +++ b/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/tentatively_accept/tentatively_accept_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ........models.time_slot import TimeSlot + writer.write_str_value("Comment", self.comment) writer.write_object_value("ProposedNewTime", self.proposed_new_time) writer.write_bool_value("SendResponse", self.send_response) diff --git a/msgraph_beta/generated/groups/item/calendar_view/item/snooze_reminder/snooze_reminder_post_request_body.py b/msgraph_beta/generated/groups/item/calendar_view/item/snooze_reminder/snooze_reminder_post_request_body.py index c3461a90c30..1328d06fb50 100644 --- a/msgraph_beta/generated/groups/item/calendar_view/item/snooze_reminder/snooze_reminder_post_request_body.py +++ b/msgraph_beta/generated/groups/item/calendar_view/item/snooze_reminder/snooze_reminder_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ......models.date_time_time_zone import DateTimeTimeZone + writer.write_object_value("NewReminderTime", self.new_reminder_time) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/groups/item/calendar_view/item/tentatively_accept/tentatively_accept_post_request_body.py b/msgraph_beta/generated/groups/item/calendar_view/item/tentatively_accept/tentatively_accept_post_request_body.py index fe8da7bf660..343d9807c96 100644 --- a/msgraph_beta/generated/groups/item/calendar_view/item/tentatively_accept/tentatively_accept_post_request_body.py +++ b/msgraph_beta/generated/groups/item/calendar_view/item/tentatively_accept/tentatively_accept_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ......models.time_slot import TimeSlot + writer.write_str_value("Comment", self.comment) writer.write_object_value("ProposedNewTime", self.proposed_new_time) writer.write_bool_value("SendResponse", self.send_response) diff --git a/msgraph_beta/generated/groups/item/check_granted_permissions_for_app/check_granted_permissions_for_app_post_response.py b/msgraph_beta/generated/groups/item/check_granted_permissions_for_app/check_granted_permissions_for_app_post_response.py index 9b7082fab6c..c50583af02a 100644 --- a/msgraph_beta/generated/groups/item/check_granted_permissions_for_app/check_granted_permissions_for_app_post_response.py +++ b/msgraph_beta/generated/groups/item/check_granted_permissions_for_app/check_granted_permissions_for_app_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ....models.resource_specific_permission_grant import ResourceSpecificPermissionGrant + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/groups/item/check_member_groups/check_member_groups_post_response.py b/msgraph_beta/generated/groups/item/check_member_groups/check_member_groups_post_response.py index cdf041e2573..b2ce0f888c9 100644 --- a/msgraph_beta/generated/groups/item/check_member_groups/check_member_groups_post_response.py +++ b/msgraph_beta/generated/groups/item/check_member_groups/check_member_groups_post_response.py @@ -49,6 +49,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_primitive_values("value", self.value) diff --git a/msgraph_beta/generated/groups/item/check_member_objects/check_member_objects_post_response.py b/msgraph_beta/generated/groups/item/check_member_objects/check_member_objects_post_response.py index 2dc94a92d04..e2a652a7c28 100644 --- a/msgraph_beta/generated/groups/item/check_member_objects/check_member_objects_post_response.py +++ b/msgraph_beta/generated/groups/item/check_member_objects/check_member_objects_post_response.py @@ -49,6 +49,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_primitive_values("value", self.value) diff --git a/msgraph_beta/generated/groups/item/conversations/count/count_request_builder.py b/msgraph_beta/generated/groups/item/conversations/count/count_request_builder.py index 55857839459..90f30f2a849 100644 --- a/msgraph_beta/generated/groups/item/conversations/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/conversations/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/conversations/item/conversation_item_request_builder.py b/msgraph_beta/generated/groups/item/conversations/item/conversation_item_request_builder.py index f9d2d8893b2..81a3ac354b5 100644 --- a/msgraph_beta/generated/groups/item/conversations/item/conversation_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/conversations/item/conversation_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 conversation. + Delete a group's conversation object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None - Find more info here: https://learn.microsoft.com/graph/api/conversation-delete?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/group-delete-conversation?view=graph-rest-beta """ request_info = self.to_delete_request_information( request_configuration @@ -72,7 +72,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Conversa def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Delete conversation. + Delete a group's conversation object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ diff --git a/msgraph_beta/generated/groups/item/conversations/item/threads/count/count_request_builder.py b/msgraph_beta/generated/groups/item/conversations/item/threads/count/count_request_builder.py index 195a00038e8..9730efb4ef3 100644 --- a/msgraph_beta/generated/groups/item/conversations/item/threads/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/conversations/item/threads/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/conversations/item/threads/item/posts/count/count_request_builder.py b/msgraph_beta/generated/groups/item/conversations/item/threads/item/posts/count/count_request_builder.py index bd7974851a2..4b915bc55d0 100644 --- a/msgraph_beta/generated/groups/item/conversations/item/threads/item/posts/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/conversations/item/threads/item/posts/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/conversations/item/threads/item/posts/item/attachments/count/count_request_builder.py b/msgraph_beta/generated/groups/item/conversations/item/threads/item/posts/item/attachments/count/count_request_builder.py index 9f92bd3f243..6039706c4e6 100644 --- a/msgraph_beta/generated/groups/item/conversations/item/threads/item/posts/item/attachments/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/conversations/item/threads/item/posts/item/attachments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/conversations/item/threads/item/posts/item/attachments/create_upload_session/create_upload_session_post_request_body.py b/msgraph_beta/generated/groups/item/conversations/item/threads/item/posts/item/attachments/create_upload_session/create_upload_session_post_request_body.py index 720f6db83c7..c831f06aaf2 100644 --- a/msgraph_beta/generated/groups/item/conversations/item/threads/item/posts/item/attachments/create_upload_session/create_upload_session_post_request_body.py +++ b/msgraph_beta/generated/groups/item/conversations/item/threads/item/posts/item/attachments/create_upload_session/create_upload_session_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ...........models.attachment_item import AttachmentItem + writer.write_object_value("AttachmentItem", self.attachment_item) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/groups/item/conversations/item/threads/item/posts/item/extensions/count/count_request_builder.py b/msgraph_beta/generated/groups/item/conversations/item/threads/item/posts/item/extensions/count/count_request_builder.py index 07aeeafe556..1476d114387 100644 --- a/msgraph_beta/generated/groups/item/conversations/item/threads/item/posts/item/extensions/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/conversations/item/threads/item/posts/item/extensions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/conversations/item/threads/item/posts/item/forward/forward_post_request_body.py b/msgraph_beta/generated/groups/item/conversations/item/threads/item/posts/item/forward/forward_post_request_body.py index e30831a3e49..291cb53db24 100644 --- a/msgraph_beta/generated/groups/item/conversations/item/threads/item/posts/item/forward/forward_post_request_body.py +++ b/msgraph_beta/generated/groups/item/conversations/item/threads/item/posts/item/forward/forward_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ..........models.recipient import Recipient + writer.write_str_value("Comment", self.comment) writer.write_collection_of_object_values("ToRecipients", self.to_recipients) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/groups/item/conversations/item/threads/item/posts/item/in_reply_to/attachments/count/count_request_builder.py b/msgraph_beta/generated/groups/item/conversations/item/threads/item/posts/item/in_reply_to/attachments/count/count_request_builder.py index adc699aa276..5421f436dcd 100644 --- a/msgraph_beta/generated/groups/item/conversations/item/threads/item/posts/item/in_reply_to/attachments/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/conversations/item/threads/item/posts/item/in_reply_to/attachments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/conversations/item/threads/item/posts/item/in_reply_to/attachments/create_upload_session/create_upload_session_post_request_body.py b/msgraph_beta/generated/groups/item/conversations/item/threads/item/posts/item/in_reply_to/attachments/create_upload_session/create_upload_session_post_request_body.py index c8e72057440..89fff3d15e0 100644 --- a/msgraph_beta/generated/groups/item/conversations/item/threads/item/posts/item/in_reply_to/attachments/create_upload_session/create_upload_session_post_request_body.py +++ b/msgraph_beta/generated/groups/item/conversations/item/threads/item/posts/item/in_reply_to/attachments/create_upload_session/create_upload_session_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ............models.attachment_item import AttachmentItem + writer.write_object_value("AttachmentItem", self.attachment_item) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/groups/item/conversations/item/threads/item/posts/item/in_reply_to/extensions/count/count_request_builder.py b/msgraph_beta/generated/groups/item/conversations/item/threads/item/posts/item/in_reply_to/extensions/count/count_request_builder.py index 6f76902e238..c3e40887393 100644 --- a/msgraph_beta/generated/groups/item/conversations/item/threads/item/posts/item/in_reply_to/extensions/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/conversations/item/threads/item/posts/item/in_reply_to/extensions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/conversations/item/threads/item/posts/item/in_reply_to/forward/forward_post_request_body.py b/msgraph_beta/generated/groups/item/conversations/item/threads/item/posts/item/in_reply_to/forward/forward_post_request_body.py index 2c300ad064f..7f7a2ba7159 100644 --- a/msgraph_beta/generated/groups/item/conversations/item/threads/item/posts/item/in_reply_to/forward/forward_post_request_body.py +++ b/msgraph_beta/generated/groups/item/conversations/item/threads/item/posts/item/in_reply_to/forward/forward_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ...........models.recipient import Recipient + writer.write_str_value("Comment", self.comment) writer.write_collection_of_object_values("ToRecipients", self.to_recipients) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/groups/item/conversations/item/threads/item/posts/item/in_reply_to/mentions/count/count_request_builder.py b/msgraph_beta/generated/groups/item/conversations/item/threads/item/posts/item/in_reply_to/mentions/count/count_request_builder.py index bf7b455b0f6..9687551b486 100644 --- a/msgraph_beta/generated/groups/item/conversations/item/threads/item/posts/item/in_reply_to/mentions/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/conversations/item/threads/item/posts/item/in_reply_to/mentions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/conversations/item/threads/item/posts/item/in_reply_to/reply/reply_post_request_body.py b/msgraph_beta/generated/groups/item/conversations/item/threads/item/posts/item/in_reply_to/reply/reply_post_request_body.py index 59e5f06fec8..418ac79e4bf 100644 --- a/msgraph_beta/generated/groups/item/conversations/item/threads/item/posts/item/in_reply_to/reply/reply_post_request_body.py +++ b/msgraph_beta/generated/groups/item/conversations/item/threads/item/posts/item/in_reply_to/reply/reply_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ...........models.post import Post + writer.write_object_value("Post", self.post) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/groups/item/conversations/item/threads/item/posts/item/mentions/count/count_request_builder.py b/msgraph_beta/generated/groups/item/conversations/item/threads/item/posts/item/mentions/count/count_request_builder.py index 7d2fb2f936b..960d5eff28c 100644 --- a/msgraph_beta/generated/groups/item/conversations/item/threads/item/posts/item/mentions/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/conversations/item/threads/item/posts/item/mentions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/conversations/item/threads/item/posts/item/reply/reply_post_request_body.py b/msgraph_beta/generated/groups/item/conversations/item/threads/item/posts/item/reply/reply_post_request_body.py index 840cd07d8e9..88b44b673d3 100644 --- a/msgraph_beta/generated/groups/item/conversations/item/threads/item/posts/item/reply/reply_post_request_body.py +++ b/msgraph_beta/generated/groups/item/conversations/item/threads/item/posts/item/reply/reply_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ..........models.post import Post + writer.write_object_value("Post", self.post) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/groups/item/conversations/item/threads/item/reply/reply_post_request_body.py b/msgraph_beta/generated/groups/item/conversations/item/threads/item/reply/reply_post_request_body.py index 00cf3b7ca4f..68764ceb003 100644 --- a/msgraph_beta/generated/groups/item/conversations/item/threads/item/reply/reply_post_request_body.py +++ b/msgraph_beta/generated/groups/item/conversations/item/threads/item/reply/reply_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ........models.post import Post + writer.write_object_value("Post", self.post) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/groups/item/conversations/item/threads/item/reply/reply_request_builder.py b/msgraph_beta/generated/groups/item/conversations/item/threads/item/reply/reply_request_builder.py index 1ffc0b08cbe..9b180f75026 100644 --- a/msgraph_beta/generated/groups/item/conversations/item/threads/item/reply/reply_request_builder.py +++ b/msgraph_beta/generated/groups/item/conversations/item/threads/item/reply/reply_request_builder.py @@ -31,11 +31,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def post(self,body: ReplyPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ - Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. + 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: None - Find more info here: https://learn.microsoft.com/graph/api/post-reply?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -53,7 +53,7 @@ async def post(self,body: ReplyPostRequestBody, request_configuration: Optional[ def to_post_request_information(self,body: ReplyPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. + 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_beta/generated/groups/item/drives/count/count_request_builder.py b/msgraph_beta/generated/groups/item/drives/count/count_request_builder.py index 07d65c21bd5..f169241ac5c 100644 --- a/msgraph_beta/generated/groups/item/drives/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/drives/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/endpoints/count/count_request_builder.py b/msgraph_beta/generated/groups/item/endpoints/count/count_request_builder.py index e474146115c..8b9c98448d8 100644 --- a/msgraph_beta/generated/groups/item/endpoints/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/endpoints/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/events/count/count_request_builder.py b/msgraph_beta/generated/groups/item/events/count/count_request_builder.py index 5a1de37ef94..c8a9b91af6a 100644 --- a/msgraph_beta/generated/groups/item/events/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/events/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/events/delta/delta_get_response.py b/msgraph_beta/generated/groups/item/events/delta/delta_get_response.py index 624d2ff9617..7b7b14f8a80 100644 --- a/msgraph_beta/generated/groups/item/events/delta/delta_get_response.py +++ b/msgraph_beta/generated/groups/item/events/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .....models.base_delta_function_response import BaseDeltaFunctionResponse + from .....models.event import Event + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/groups/item/events/item/attachments/count/count_request_builder.py b/msgraph_beta/generated/groups/item/events/item/attachments/count/count_request_builder.py index a3107d2cf5e..6cee1df27a4 100644 --- a/msgraph_beta/generated/groups/item/events/item/attachments/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/events/item/attachments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/events/item/attachments/create_upload_session/create_upload_session_post_request_body.py b/msgraph_beta/generated/groups/item/events/item/attachments/create_upload_session/create_upload_session_post_request_body.py index c0ac38ff4df..9b2361ec3bc 100644 --- a/msgraph_beta/generated/groups/item/events/item/attachments/create_upload_session/create_upload_session_post_request_body.py +++ b/msgraph_beta/generated/groups/item/events/item/attachments/create_upload_session/create_upload_session_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .......models.attachment_item import AttachmentItem + writer.write_object_value("AttachmentItem", self.attachment_item) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/groups/item/events/item/decline/decline_post_request_body.py b/msgraph_beta/generated/groups/item/events/item/decline/decline_post_request_body.py index 2979ad69ea0..da59f3c7288 100644 --- a/msgraph_beta/generated/groups/item/events/item/decline/decline_post_request_body.py +++ b/msgraph_beta/generated/groups/item/events/item/decline/decline_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ......models.time_slot import TimeSlot + writer.write_str_value("Comment", self.comment) writer.write_object_value("ProposedNewTime", self.proposed_new_time) writer.write_bool_value("SendResponse", self.send_response) diff --git a/msgraph_beta/generated/groups/item/events/item/exception_occurrences/count/count_request_builder.py b/msgraph_beta/generated/groups/item/events/item/exception_occurrences/count/count_request_builder.py index 9ae51d1c01c..2f258517438 100644 --- a/msgraph_beta/generated/groups/item/events/item/exception_occurrences/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/events/item/exception_occurrences/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/events/item/exception_occurrences/delta/delta_get_response.py b/msgraph_beta/generated/groups/item/events/item/exception_occurrences/delta/delta_get_response.py index 284febf7b58..97346f2d2cd 100644 --- a/msgraph_beta/generated/groups/item/events/item/exception_occurrences/delta/delta_get_response.py +++ b/msgraph_beta/generated/groups/item/events/item/exception_occurrences/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .......models.base_delta_function_response import BaseDeltaFunctionResponse + from .......models.event import Event + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/attachments/count/count_request_builder.py b/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/attachments/count/count_request_builder.py index 3c155eccf3d..f0647b69f19 100644 --- a/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/attachments/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/attachments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_post_request_body.py b/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_post_request_body.py index 2dccea4559f..23154d22cc3 100644 --- a/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_post_request_body.py +++ b/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .........models.attachment_item import AttachmentItem + writer.write_object_value("AttachmentItem", self.attachment_item) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/decline/decline_post_request_body.py b/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/decline/decline_post_request_body.py index 5d8b2272815..553bcd6bb26 100644 --- a/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/decline/decline_post_request_body.py +++ b/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/decline/decline_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ........models.time_slot import TimeSlot + writer.write_str_value("Comment", self.comment) writer.write_object_value("ProposedNewTime", self.proposed_new_time) writer.write_bool_value("SendResponse", self.send_response) diff --git a/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/extensions/count/count_request_builder.py b/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/extensions/count/count_request_builder.py index 8bb02a5786e..fc4219ab858 100644 --- a/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/extensions/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/extensions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/forward/forward_post_request_body.py b/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/forward/forward_post_request_body.py index c6dc81f4080..a46731eaf35 100644 --- a/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/forward/forward_post_request_body.py +++ b/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/forward/forward_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ........models.recipient import Recipient + writer.write_str_value("Comment", self.comment) writer.write_collection_of_object_values("ToRecipients", self.to_recipients) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/instances/count/count_request_builder.py b/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/instances/count/count_request_builder.py index 0dee8848679..40847814650 100644 --- a/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/instances/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/instances/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/instances/delta/delta_get_response.py b/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/instances/delta/delta_get_response.py index 23fb1ca654a..db2534e5b05 100644 --- a/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/instances/delta/delta_get_response.py +++ b/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/instances/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .........models.base_delta_function_response import BaseDeltaFunctionResponse + from .........models.event import Event + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/instances/item/attachments/count/count_request_builder.py b/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/instances/item/attachments/count/count_request_builder.py index be798e2f2ae..e789b792c10 100644 --- a/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/instances/item/attachments/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/instances/item/attachments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/instances/item/attachments/create_upload_session/create_upload_session_post_request_body.py b/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/instances/item/attachments/create_upload_session/create_upload_session_post_request_body.py index 720f6db83c7..c831f06aaf2 100644 --- a/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/instances/item/attachments/create_upload_session/create_upload_session_post_request_body.py +++ b/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/instances/item/attachments/create_upload_session/create_upload_session_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ...........models.attachment_item import AttachmentItem + writer.write_object_value("AttachmentItem", self.attachment_item) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/instances/item/decline/decline_post_request_body.py b/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/instances/item/decline/decline_post_request_body.py index b1b31ebf43f..af0d655163d 100644 --- a/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/instances/item/decline/decline_post_request_body.py +++ b/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/instances/item/decline/decline_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ..........models.time_slot import TimeSlot + writer.write_str_value("Comment", self.comment) writer.write_object_value("ProposedNewTime", self.proposed_new_time) writer.write_bool_value("SendResponse", self.send_response) diff --git a/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/instances/item/extensions/count/count_request_builder.py b/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/instances/item/extensions/count/count_request_builder.py index 3bfb783a3c2..59abd293848 100644 --- a/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/instances/item/extensions/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/instances/item/extensions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/instances/item/forward/forward_post_request_body.py b/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/instances/item/forward/forward_post_request_body.py index e30831a3e49..291cb53db24 100644 --- a/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/instances/item/forward/forward_post_request_body.py +++ b/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/instances/item/forward/forward_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ..........models.recipient import Recipient + writer.write_str_value("Comment", self.comment) writer.write_collection_of_object_values("ToRecipients", self.to_recipients) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/instances/item/snooze_reminder/snooze_reminder_post_request_body.py b/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/instances/item/snooze_reminder/snooze_reminder_post_request_body.py index 965ed80b889..fe4b708f070 100644 --- a/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/instances/item/snooze_reminder/snooze_reminder_post_request_body.py +++ b/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/instances/item/snooze_reminder/snooze_reminder_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ..........models.date_time_time_zone import DateTimeTimeZone + writer.write_object_value("NewReminderTime", self.new_reminder_time) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/instances/item/tentatively_accept/tentatively_accept_post_request_body.py b/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/instances/item/tentatively_accept/tentatively_accept_post_request_body.py index 0f34906867b..956b28b2a29 100644 --- a/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/instances/item/tentatively_accept/tentatively_accept_post_request_body.py +++ b/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/instances/item/tentatively_accept/tentatively_accept_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ..........models.time_slot import TimeSlot + writer.write_str_value("Comment", self.comment) writer.write_object_value("ProposedNewTime", self.proposed_new_time) writer.write_bool_value("SendResponse", self.send_response) diff --git a/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/snooze_reminder/snooze_reminder_post_request_body.py b/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/snooze_reminder/snooze_reminder_post_request_body.py index 812d7af6110..74f5520c222 100644 --- a/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/snooze_reminder/snooze_reminder_post_request_body.py +++ b/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/snooze_reminder/snooze_reminder_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ........models.date_time_time_zone import DateTimeTimeZone + writer.write_object_value("NewReminderTime", self.new_reminder_time) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/tentatively_accept/tentatively_accept_post_request_body.py b/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/tentatively_accept/tentatively_accept_post_request_body.py index 1104b6b5c4d..2a8b802ad27 100644 --- a/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/tentatively_accept/tentatively_accept_post_request_body.py +++ b/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/tentatively_accept/tentatively_accept_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ........models.time_slot import TimeSlot + writer.write_str_value("Comment", self.comment) writer.write_object_value("ProposedNewTime", self.proposed_new_time) writer.write_bool_value("SendResponse", self.send_response) diff --git a/msgraph_beta/generated/groups/item/events/item/extensions/count/count_request_builder.py b/msgraph_beta/generated/groups/item/events/item/extensions/count/count_request_builder.py index 7c3bb2a0903..d84fe6cb8ba 100644 --- a/msgraph_beta/generated/groups/item/events/item/extensions/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/events/item/extensions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/events/item/forward/forward_post_request_body.py b/msgraph_beta/generated/groups/item/events/item/forward/forward_post_request_body.py index a420e81d4c8..71817be714a 100644 --- a/msgraph_beta/generated/groups/item/events/item/forward/forward_post_request_body.py +++ b/msgraph_beta/generated/groups/item/events/item/forward/forward_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ......models.recipient import Recipient + writer.write_str_value("Comment", self.comment) writer.write_collection_of_object_values("ToRecipients", self.to_recipients) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/groups/item/events/item/instances/count/count_request_builder.py b/msgraph_beta/generated/groups/item/events/item/instances/count/count_request_builder.py index b4c9439c6f8..69e128d9ba7 100644 --- a/msgraph_beta/generated/groups/item/events/item/instances/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/events/item/instances/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/events/item/instances/delta/delta_get_response.py b/msgraph_beta/generated/groups/item/events/item/instances/delta/delta_get_response.py index 284febf7b58..97346f2d2cd 100644 --- a/msgraph_beta/generated/groups/item/events/item/instances/delta/delta_get_response.py +++ b/msgraph_beta/generated/groups/item/events/item/instances/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .......models.base_delta_function_response import BaseDeltaFunctionResponse + from .......models.event import Event + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/groups/item/events/item/instances/item/attachments/count/count_request_builder.py b/msgraph_beta/generated/groups/item/events/item/instances/item/attachments/count/count_request_builder.py index 26a8b9b6289..16e2dc47f24 100644 --- a/msgraph_beta/generated/groups/item/events/item/instances/item/attachments/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/events/item/instances/item/attachments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/events/item/instances/item/attachments/create_upload_session/create_upload_session_post_request_body.py b/msgraph_beta/generated/groups/item/events/item/instances/item/attachments/create_upload_session/create_upload_session_post_request_body.py index 2dccea4559f..23154d22cc3 100644 --- a/msgraph_beta/generated/groups/item/events/item/instances/item/attachments/create_upload_session/create_upload_session_post_request_body.py +++ b/msgraph_beta/generated/groups/item/events/item/instances/item/attachments/create_upload_session/create_upload_session_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .........models.attachment_item import AttachmentItem + writer.write_object_value("AttachmentItem", self.attachment_item) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/groups/item/events/item/instances/item/decline/decline_post_request_body.py b/msgraph_beta/generated/groups/item/events/item/instances/item/decline/decline_post_request_body.py index 5d8b2272815..553bcd6bb26 100644 --- a/msgraph_beta/generated/groups/item/events/item/instances/item/decline/decline_post_request_body.py +++ b/msgraph_beta/generated/groups/item/events/item/instances/item/decline/decline_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ........models.time_slot import TimeSlot + writer.write_str_value("Comment", self.comment) writer.write_object_value("ProposedNewTime", self.proposed_new_time) writer.write_bool_value("SendResponse", self.send_response) diff --git a/msgraph_beta/generated/groups/item/events/item/instances/item/exception_occurrences/count/count_request_builder.py b/msgraph_beta/generated/groups/item/events/item/instances/item/exception_occurrences/count/count_request_builder.py index d8f5e9f6e97..17e258ce390 100644 --- a/msgraph_beta/generated/groups/item/events/item/instances/item/exception_occurrences/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/events/item/instances/item/exception_occurrences/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/events/item/instances/item/exception_occurrences/delta/delta_get_response.py b/msgraph_beta/generated/groups/item/events/item/instances/item/exception_occurrences/delta/delta_get_response.py index 23fb1ca654a..db2534e5b05 100644 --- a/msgraph_beta/generated/groups/item/events/item/instances/item/exception_occurrences/delta/delta_get_response.py +++ b/msgraph_beta/generated/groups/item/events/item/instances/item/exception_occurrences/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .........models.base_delta_function_response import BaseDeltaFunctionResponse + from .........models.event import Event + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/groups/item/events/item/instances/item/exception_occurrences/item/attachments/count/count_request_builder.py b/msgraph_beta/generated/groups/item/events/item/instances/item/exception_occurrences/item/attachments/count/count_request_builder.py index cb9716c1380..b04163bb9d9 100644 --- a/msgraph_beta/generated/groups/item/events/item/instances/item/exception_occurrences/item/attachments/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/events/item/instances/item/exception_occurrences/item/attachments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/events/item/instances/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_post_request_body.py b/msgraph_beta/generated/groups/item/events/item/instances/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_post_request_body.py index 720f6db83c7..c831f06aaf2 100644 --- a/msgraph_beta/generated/groups/item/events/item/instances/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_post_request_body.py +++ b/msgraph_beta/generated/groups/item/events/item/instances/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ...........models.attachment_item import AttachmentItem + writer.write_object_value("AttachmentItem", self.attachment_item) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/groups/item/events/item/instances/item/exception_occurrences/item/decline/decline_post_request_body.py b/msgraph_beta/generated/groups/item/events/item/instances/item/exception_occurrences/item/decline/decline_post_request_body.py index b1b31ebf43f..af0d655163d 100644 --- a/msgraph_beta/generated/groups/item/events/item/instances/item/exception_occurrences/item/decline/decline_post_request_body.py +++ b/msgraph_beta/generated/groups/item/events/item/instances/item/exception_occurrences/item/decline/decline_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ..........models.time_slot import TimeSlot + writer.write_str_value("Comment", self.comment) writer.write_object_value("ProposedNewTime", self.proposed_new_time) writer.write_bool_value("SendResponse", self.send_response) diff --git a/msgraph_beta/generated/groups/item/events/item/instances/item/exception_occurrences/item/extensions/count/count_request_builder.py b/msgraph_beta/generated/groups/item/events/item/instances/item/exception_occurrences/item/extensions/count/count_request_builder.py index 55a205ac70c..f6e779dbdd7 100644 --- a/msgraph_beta/generated/groups/item/events/item/instances/item/exception_occurrences/item/extensions/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/events/item/instances/item/exception_occurrences/item/extensions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/events/item/instances/item/exception_occurrences/item/forward/forward_post_request_body.py b/msgraph_beta/generated/groups/item/events/item/instances/item/exception_occurrences/item/forward/forward_post_request_body.py index e30831a3e49..291cb53db24 100644 --- a/msgraph_beta/generated/groups/item/events/item/instances/item/exception_occurrences/item/forward/forward_post_request_body.py +++ b/msgraph_beta/generated/groups/item/events/item/instances/item/exception_occurrences/item/forward/forward_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ..........models.recipient import Recipient + writer.write_str_value("Comment", self.comment) writer.write_collection_of_object_values("ToRecipients", self.to_recipients) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/groups/item/events/item/instances/item/exception_occurrences/item/snooze_reminder/snooze_reminder_post_request_body.py b/msgraph_beta/generated/groups/item/events/item/instances/item/exception_occurrences/item/snooze_reminder/snooze_reminder_post_request_body.py index 965ed80b889..fe4b708f070 100644 --- a/msgraph_beta/generated/groups/item/events/item/instances/item/exception_occurrences/item/snooze_reminder/snooze_reminder_post_request_body.py +++ b/msgraph_beta/generated/groups/item/events/item/instances/item/exception_occurrences/item/snooze_reminder/snooze_reminder_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ..........models.date_time_time_zone import DateTimeTimeZone + writer.write_object_value("NewReminderTime", self.new_reminder_time) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/groups/item/events/item/instances/item/exception_occurrences/item/tentatively_accept/tentatively_accept_post_request_body.py b/msgraph_beta/generated/groups/item/events/item/instances/item/exception_occurrences/item/tentatively_accept/tentatively_accept_post_request_body.py index 0f34906867b..956b28b2a29 100644 --- a/msgraph_beta/generated/groups/item/events/item/instances/item/exception_occurrences/item/tentatively_accept/tentatively_accept_post_request_body.py +++ b/msgraph_beta/generated/groups/item/events/item/instances/item/exception_occurrences/item/tentatively_accept/tentatively_accept_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ..........models.time_slot import TimeSlot + writer.write_str_value("Comment", self.comment) writer.write_object_value("ProposedNewTime", self.proposed_new_time) writer.write_bool_value("SendResponse", self.send_response) diff --git a/msgraph_beta/generated/groups/item/events/item/instances/item/extensions/count/count_request_builder.py b/msgraph_beta/generated/groups/item/events/item/instances/item/extensions/count/count_request_builder.py index 912b9d028ba..8da666e6a03 100644 --- a/msgraph_beta/generated/groups/item/events/item/instances/item/extensions/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/events/item/instances/item/extensions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/events/item/instances/item/forward/forward_post_request_body.py b/msgraph_beta/generated/groups/item/events/item/instances/item/forward/forward_post_request_body.py index c6dc81f4080..a46731eaf35 100644 --- a/msgraph_beta/generated/groups/item/events/item/instances/item/forward/forward_post_request_body.py +++ b/msgraph_beta/generated/groups/item/events/item/instances/item/forward/forward_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ........models.recipient import Recipient + writer.write_str_value("Comment", self.comment) writer.write_collection_of_object_values("ToRecipients", self.to_recipients) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/groups/item/events/item/instances/item/snooze_reminder/snooze_reminder_post_request_body.py b/msgraph_beta/generated/groups/item/events/item/instances/item/snooze_reminder/snooze_reminder_post_request_body.py index 812d7af6110..74f5520c222 100644 --- a/msgraph_beta/generated/groups/item/events/item/instances/item/snooze_reminder/snooze_reminder_post_request_body.py +++ b/msgraph_beta/generated/groups/item/events/item/instances/item/snooze_reminder/snooze_reminder_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ........models.date_time_time_zone import DateTimeTimeZone + writer.write_object_value("NewReminderTime", self.new_reminder_time) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/groups/item/events/item/instances/item/tentatively_accept/tentatively_accept_post_request_body.py b/msgraph_beta/generated/groups/item/events/item/instances/item/tentatively_accept/tentatively_accept_post_request_body.py index 1104b6b5c4d..2a8b802ad27 100644 --- a/msgraph_beta/generated/groups/item/events/item/instances/item/tentatively_accept/tentatively_accept_post_request_body.py +++ b/msgraph_beta/generated/groups/item/events/item/instances/item/tentatively_accept/tentatively_accept_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ........models.time_slot import TimeSlot + writer.write_str_value("Comment", self.comment) writer.write_object_value("ProposedNewTime", self.proposed_new_time) writer.write_bool_value("SendResponse", self.send_response) diff --git a/msgraph_beta/generated/groups/item/events/item/snooze_reminder/snooze_reminder_post_request_body.py b/msgraph_beta/generated/groups/item/events/item/snooze_reminder/snooze_reminder_post_request_body.py index c3461a90c30..1328d06fb50 100644 --- a/msgraph_beta/generated/groups/item/events/item/snooze_reminder/snooze_reminder_post_request_body.py +++ b/msgraph_beta/generated/groups/item/events/item/snooze_reminder/snooze_reminder_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ......models.date_time_time_zone import DateTimeTimeZone + writer.write_object_value("NewReminderTime", self.new_reminder_time) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/groups/item/events/item/tentatively_accept/tentatively_accept_post_request_body.py b/msgraph_beta/generated/groups/item/events/item/tentatively_accept/tentatively_accept_post_request_body.py index fe8da7bf660..343d9807c96 100644 --- a/msgraph_beta/generated/groups/item/events/item/tentatively_accept/tentatively_accept_post_request_body.py +++ b/msgraph_beta/generated/groups/item/events/item/tentatively_accept/tentatively_accept_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ......models.time_slot import TimeSlot + writer.write_str_value("Comment", self.comment) writer.write_object_value("ProposedNewTime", self.proposed_new_time) writer.write_bool_value("SendResponse", self.send_response) diff --git a/msgraph_beta/generated/groups/item/extensions/count/count_request_builder.py b/msgraph_beta/generated/groups/item/extensions/count/count_request_builder.py index 4b4b4d1c7ee..594a97b2af7 100644 --- a/msgraph_beta/generated/groups/item/extensions/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/extensions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/get_member_groups/get_member_groups_post_response.py b/msgraph_beta/generated/groups/item/get_member_groups/get_member_groups_post_response.py index bd4dad887b8..5ac4a9b07d5 100644 --- a/msgraph_beta/generated/groups/item/get_member_groups/get_member_groups_post_response.py +++ b/msgraph_beta/generated/groups/item/get_member_groups/get_member_groups_post_response.py @@ -49,6 +49,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_primitive_values("value", self.value) diff --git a/msgraph_beta/generated/groups/item/get_member_objects/get_member_objects_post_response.py b/msgraph_beta/generated/groups/item/get_member_objects/get_member_objects_post_response.py index fe38b269075..e63599e52a4 100644 --- a/msgraph_beta/generated/groups/item/get_member_objects/get_member_objects_post_response.py +++ b/msgraph_beta/generated/groups/item/get_member_objects/get_member_objects_post_response.py @@ -49,6 +49,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_primitive_values("value", self.value) diff --git a/msgraph_beta/generated/groups/item/get_password_single_sign_on_credentials/get_password_single_sign_on_credentials_post_response.py b/msgraph_beta/generated/groups/item/get_password_single_sign_on_credentials/get_password_single_sign_on_credentials_post_response.py index 027e2a6fe08..813391c9e6d 100644 --- a/msgraph_beta/generated/groups/item/get_password_single_sign_on_credentials/get_password_single_sign_on_credentials_post_response.py +++ b/msgraph_beta/generated/groups/item/get_password_single_sign_on_credentials/get_password_single_sign_on_credentials_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ....models.password_single_sign_on_credential_set import PasswordSingleSignOnCredentialSet + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/groups/item/group_lifecycle_policies/count/count_request_builder.py b/msgraph_beta/generated/groups/item/group_lifecycle_policies/count/count_request_builder.py index 83815caca6c..83ff1f42d2f 100644 --- a/msgraph_beta/generated/groups/item/group_lifecycle_policies/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/group_lifecycle_policies/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/member_of/count/count_request_builder.py b/msgraph_beta/generated/groups/item/member_of/count/count_request_builder.py index d3a9d3ab559..849b3eb2c61 100644 --- a/msgraph_beta/generated/groups/item/member_of/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/member_of/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/member_of/graph_administrative_unit/count/count_request_builder.py b/msgraph_beta/generated/groups/item/member_of/graph_administrative_unit/count/count_request_builder.py index dfaec6883ca..dd8a085b050 100644 --- a/msgraph_beta/generated/groups/item/member_of/graph_administrative_unit/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/member_of/graph_administrative_unit/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/member_of/graph_group/count/count_request_builder.py b/msgraph_beta/generated/groups/item/member_of/graph_group/count/count_request_builder.py index 4e038dccbab..9059f7e7fa1 100644 --- a/msgraph_beta/generated/groups/item/member_of/graph_group/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/member_of/graph_group/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/members/count/count_request_builder.py b/msgraph_beta/generated/groups/item/members/count/count_request_builder.py index b7dc6e37d96..b832eba2297 100644 --- a/msgraph_beta/generated/groups/item/members/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/members/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/members/graph_application/count/count_request_builder.py b/msgraph_beta/generated/groups/item/members/graph_application/count/count_request_builder.py index 2ab562e627b..10a55d122a3 100644 --- a/msgraph_beta/generated/groups/item/members/graph_application/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/members/graph_application/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/members/graph_device/count/count_request_builder.py b/msgraph_beta/generated/groups/item/members/graph_device/count/count_request_builder.py index b3ad7ecf5b8..1067819d6fd 100644 --- a/msgraph_beta/generated/groups/item/members/graph_device/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/members/graph_device/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/members/graph_group/count/count_request_builder.py b/msgraph_beta/generated/groups/item/members/graph_group/count/count_request_builder.py index b0416b0eccc..63381ce3d4c 100644 --- a/msgraph_beta/generated/groups/item/members/graph_group/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/members/graph_group/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/members/graph_org_contact/count/count_request_builder.py b/msgraph_beta/generated/groups/item/members/graph_org_contact/count/count_request_builder.py index ac8ab773c57..99775bd3804 100644 --- a/msgraph_beta/generated/groups/item/members/graph_org_contact/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/members/graph_org_contact/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/members/graph_service_principal/count/count_request_builder.py b/msgraph_beta/generated/groups/item/members/graph_service_principal/count/count_request_builder.py index 06bc40204f5..e35d95ac769 100644 --- a/msgraph_beta/generated/groups/item/members/graph_service_principal/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/members/graph_service_principal/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/members/graph_user/count/count_request_builder.py b/msgraph_beta/generated/groups/item/members/graph_user/count/count_request_builder.py index ca04843ace4..4ab2bd0aa35 100644 --- a/msgraph_beta/generated/groups/item/members/graph_user/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/members/graph_user/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/members_with_license_errors/count/count_request_builder.py b/msgraph_beta/generated/groups/item/members_with_license_errors/count/count_request_builder.py index 2573509261a..47920324595 100644 --- a/msgraph_beta/generated/groups/item/members_with_license_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/members_with_license_errors/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/members_with_license_errors/graph_application/count/count_request_builder.py b/msgraph_beta/generated/groups/item/members_with_license_errors/graph_application/count/count_request_builder.py index a904d065122..0c809bbdd78 100644 --- a/msgraph_beta/generated/groups/item/members_with_license_errors/graph_application/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/members_with_license_errors/graph_application/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/members_with_license_errors/graph_device/count/count_request_builder.py b/msgraph_beta/generated/groups/item/members_with_license_errors/graph_device/count/count_request_builder.py index 9ea7dd75648..8e6c65fd8b6 100644 --- a/msgraph_beta/generated/groups/item/members_with_license_errors/graph_device/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/members_with_license_errors/graph_device/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/members_with_license_errors/graph_group/count/count_request_builder.py b/msgraph_beta/generated/groups/item/members_with_license_errors/graph_group/count/count_request_builder.py index b8b79064a82..7fa601fa2b6 100644 --- a/msgraph_beta/generated/groups/item/members_with_license_errors/graph_group/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/members_with_license_errors/graph_group/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/members_with_license_errors/graph_org_contact/count/count_request_builder.py b/msgraph_beta/generated/groups/item/members_with_license_errors/graph_org_contact/count/count_request_builder.py index f2096eb9a36..cf5563df60f 100644 --- a/msgraph_beta/generated/groups/item/members_with_license_errors/graph_org_contact/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/members_with_license_errors/graph_org_contact/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/members_with_license_errors/graph_service_principal/count/count_request_builder.py b/msgraph_beta/generated/groups/item/members_with_license_errors/graph_service_principal/count/count_request_builder.py index a7b2cf0905b..0ccd98b9c3c 100644 --- a/msgraph_beta/generated/groups/item/members_with_license_errors/graph_service_principal/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/members_with_license_errors/graph_service_principal/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/members_with_license_errors/graph_user/count/count_request_builder.py b/msgraph_beta/generated/groups/item/members_with_license_errors/graph_user/count/count_request_builder.py index b0066e72c6c..9e210d47b17 100644 --- a/msgraph_beta/generated/groups/item/members_with_license_errors/graph_user/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/members_with_license_errors/graph_user/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/onenote/notebooks/count/count_request_builder.py b/msgraph_beta/generated/groups/item/onenote/notebooks/count/count_request_builder.py index 7597e152a39..20c570f957f 100644 --- a/msgraph_beta/generated/groups/item/onenote/notebooks/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/onenote/notebooks/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/onenote/notebooks/get_recent_notebooks_with_include_personal_notebooks/get_recent_notebooks_with_include_personal_notebooks_get_response.py b/msgraph_beta/generated/groups/item/onenote/notebooks/get_recent_notebooks_with_include_personal_notebooks/get_recent_notebooks_with_include_personal_notebooks_get_response.py index 04ea6d61de3..0299334d52f 100644 --- a/msgraph_beta/generated/groups/item/onenote/notebooks/get_recent_notebooks_with_include_personal_notebooks/get_recent_notebooks_with_include_personal_notebooks_get_response.py +++ b/msgraph_beta/generated/groups/item/onenote/notebooks/get_recent_notebooks_with_include_personal_notebooks/get_recent_notebooks_with_include_personal_notebooks_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ......models.recent_notebook import RecentNotebook + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/groups/item/onenote/notebooks/item/section_groups/count/count_request_builder.py b/msgraph_beta/generated/groups/item/onenote/notebooks/item/section_groups/count/count_request_builder.py index 6bf72657d47..8c1fb7a37f8 100644 --- a/msgraph_beta/generated/groups/item/onenote/notebooks/item/section_groups/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/onenote/notebooks/item/section_groups/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/onenote/notebooks/item/section_groups/item/section_groups/count/count_request_builder.py b/msgraph_beta/generated/groups/item/onenote/notebooks/item/section_groups/item/section_groups/count/count_request_builder.py index b9671b65b2a..06bf3139498 100644 --- a/msgraph_beta/generated/groups/item/onenote/notebooks/item/section_groups/item/section_groups/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/onenote/notebooks/item/section_groups/item/section_groups/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/onenote/notebooks/item/section_groups/item/sections/count/count_request_builder.py b/msgraph_beta/generated/groups/item/onenote/notebooks/item/section_groups/item/sections/count/count_request_builder.py index 453c7fc4ae3..4577057db55 100644 --- a/msgraph_beta/generated/groups/item/onenote/notebooks/item/section_groups/item/sections/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/onenote/notebooks/item/section_groups/item/sections/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/onenote/notebooks/item/section_groups/item/sections/item/pages/count/count_request_builder.py b/msgraph_beta/generated/groups/item/onenote/notebooks/item/section_groups/item/sections/item/pages/count/count_request_builder.py index aef68ee53d0..bcba30c3e00 100644 --- a/msgraph_beta/generated/groups/item/onenote/notebooks/item/section_groups/item/sections/item/pages/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/onenote/notebooks/item/section_groups/item/sections/item/pages/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_post_request_body.py b/msgraph_beta/generated/groups/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_post_request_body.py index d9306c81c81..83889693100 100644 --- a/msgraph_beta/generated/groups/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_post_request_body.py +++ b/msgraph_beta/generated/groups/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .............models.onenote_patch_content_command import OnenotePatchContentCommand + writer.write_collection_of_object_values("commands", self.commands) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/groups/item/onenote/notebooks/item/sections/count/count_request_builder.py b/msgraph_beta/generated/groups/item/onenote/notebooks/item/sections/count/count_request_builder.py index f673063c288..321760c1ed2 100644 --- a/msgraph_beta/generated/groups/item/onenote/notebooks/item/sections/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/onenote/notebooks/item/sections/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/onenote/notebooks/item/sections/item/pages/count/count_request_builder.py b/msgraph_beta/generated/groups/item/onenote/notebooks/item/sections/item/pages/count/count_request_builder.py index b5b13a675dd..e2a27535676 100644 --- a/msgraph_beta/generated/groups/item/onenote/notebooks/item/sections/item/pages/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/onenote/notebooks/item/sections/item/pages/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/onenote/notebooks/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_post_request_body.py b/msgraph_beta/generated/groups/item/onenote/notebooks/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_post_request_body.py index adba9908f59..751ac43704e 100644 --- a/msgraph_beta/generated/groups/item/onenote/notebooks/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_post_request_body.py +++ b/msgraph_beta/generated/groups/item/onenote/notebooks/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ...........models.onenote_patch_content_command import OnenotePatchContentCommand + writer.write_collection_of_object_values("commands", self.commands) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/groups/item/onenote/operations/count/count_request_builder.py b/msgraph_beta/generated/groups/item/onenote/operations/count/count_request_builder.py index c2bcf22c9d9..f1b25137ea2 100644 --- a/msgraph_beta/generated/groups/item/onenote/operations/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/onenote/operations/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/onenote/pages/count/count_request_builder.py b/msgraph_beta/generated/groups/item/onenote/pages/count/count_request_builder.py index 6d5d9c98d2d..cde5c9e4f5e 100644 --- a/msgraph_beta/generated/groups/item/onenote/pages/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/onenote/pages/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/onenote/pages/item/onenote_patch_content/onenote_patch_content_post_request_body.py b/msgraph_beta/generated/groups/item/onenote/pages/item/onenote_patch_content/onenote_patch_content_post_request_body.py index 2e2dbeec7bd..86090bbe17a 100644 --- a/msgraph_beta/generated/groups/item/onenote/pages/item/onenote_patch_content/onenote_patch_content_post_request_body.py +++ b/msgraph_beta/generated/groups/item/onenote/pages/item/onenote_patch_content/onenote_patch_content_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .......models.onenote_patch_content_command import OnenotePatchContentCommand + writer.write_collection_of_object_values("commands", self.commands) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/groups/item/onenote/resources/count/count_request_builder.py b/msgraph_beta/generated/groups/item/onenote/resources/count/count_request_builder.py index c06a74d16b9..bb12eab8e4d 100644 --- a/msgraph_beta/generated/groups/item/onenote/resources/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/onenote/resources/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/onenote/section_groups/count/count_request_builder.py b/msgraph_beta/generated/groups/item/onenote/section_groups/count/count_request_builder.py index ab011bf8642..8bed6f57169 100644 --- a/msgraph_beta/generated/groups/item/onenote/section_groups/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/onenote/section_groups/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/onenote/section_groups/item/section_groups/count/count_request_builder.py b/msgraph_beta/generated/groups/item/onenote/section_groups/item/section_groups/count/count_request_builder.py index af73ba80ac3..16bd8c4dffc 100644 --- a/msgraph_beta/generated/groups/item/onenote/section_groups/item/section_groups/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/onenote/section_groups/item/section_groups/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/onenote/section_groups/item/sections/count/count_request_builder.py b/msgraph_beta/generated/groups/item/onenote/section_groups/item/sections/count/count_request_builder.py index a5230723d31..3015ef84e71 100644 --- a/msgraph_beta/generated/groups/item/onenote/section_groups/item/sections/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/onenote/section_groups/item/sections/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/onenote/section_groups/item/sections/item/pages/count/count_request_builder.py b/msgraph_beta/generated/groups/item/onenote/section_groups/item/sections/item/pages/count/count_request_builder.py index a53197076fb..047be4e1b0f 100644 --- a/msgraph_beta/generated/groups/item/onenote/section_groups/item/sections/item/pages/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/onenote/section_groups/item/sections/item/pages/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/onenote/section_groups/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_post_request_body.py b/msgraph_beta/generated/groups/item/onenote/section_groups/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_post_request_body.py index adba9908f59..751ac43704e 100644 --- a/msgraph_beta/generated/groups/item/onenote/section_groups/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_post_request_body.py +++ b/msgraph_beta/generated/groups/item/onenote/section_groups/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ...........models.onenote_patch_content_command import OnenotePatchContentCommand + writer.write_collection_of_object_values("commands", self.commands) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/groups/item/onenote/sections/count/count_request_builder.py b/msgraph_beta/generated/groups/item/onenote/sections/count/count_request_builder.py index 227848d0978..3671bf4224d 100644 --- a/msgraph_beta/generated/groups/item/onenote/sections/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/onenote/sections/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/onenote/sections/item/pages/count/count_request_builder.py b/msgraph_beta/generated/groups/item/onenote/sections/item/pages/count/count_request_builder.py index cbc0c789694..c2948099aca 100644 --- a/msgraph_beta/generated/groups/item/onenote/sections/item/pages/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/onenote/sections/item/pages/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/onenote/sections/item/pages/item/onenote_patch_content/onenote_patch_content_post_request_body.py b/msgraph_beta/generated/groups/item/onenote/sections/item/pages/item/onenote_patch_content/onenote_patch_content_post_request_body.py index 91dc2d61523..00b13f12e29 100644 --- a/msgraph_beta/generated/groups/item/onenote/sections/item/pages/item/onenote_patch_content/onenote_patch_content_post_request_body.py +++ b/msgraph_beta/generated/groups/item/onenote/sections/item/pages/item/onenote_patch_content/onenote_patch_content_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .........models.onenote_patch_content_command import OnenotePatchContentCommand + writer.write_collection_of_object_values("commands", self.commands) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/groups/item/owners/count/count_request_builder.py b/msgraph_beta/generated/groups/item/owners/count/count_request_builder.py index 27f19a69c78..ccc3f76e4e8 100644 --- a/msgraph_beta/generated/groups/item/owners/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/owners/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/owners/graph_application/count/count_request_builder.py b/msgraph_beta/generated/groups/item/owners/graph_application/count/count_request_builder.py index db8d761d105..3e04726439d 100644 --- a/msgraph_beta/generated/groups/item/owners/graph_application/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/owners/graph_application/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/owners/graph_device/count/count_request_builder.py b/msgraph_beta/generated/groups/item/owners/graph_device/count/count_request_builder.py index cbd7e55f1df..fdeafabccf0 100644 --- a/msgraph_beta/generated/groups/item/owners/graph_device/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/owners/graph_device/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/owners/graph_group/count/count_request_builder.py b/msgraph_beta/generated/groups/item/owners/graph_group/count/count_request_builder.py index a7f391b26ce..bb4d23e86fb 100644 --- a/msgraph_beta/generated/groups/item/owners/graph_group/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/owners/graph_group/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/owners/graph_org_contact/count/count_request_builder.py b/msgraph_beta/generated/groups/item/owners/graph_org_contact/count/count_request_builder.py index 23af1660163..382fef6c044 100644 --- a/msgraph_beta/generated/groups/item/owners/graph_org_contact/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/owners/graph_org_contact/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/owners/graph_service_principal/count/count_request_builder.py b/msgraph_beta/generated/groups/item/owners/graph_service_principal/count/count_request_builder.py index c722be53389..aa0500460af 100644 --- a/msgraph_beta/generated/groups/item/owners/graph_service_principal/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/owners/graph_service_principal/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/owners/graph_user/count/count_request_builder.py b/msgraph_beta/generated/groups/item/owners/graph_user/count/count_request_builder.py index 3eb56a0a3e9..c4c4ea273f4 100644 --- a/msgraph_beta/generated/groups/item/owners/graph_user/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/owners/graph_user/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/permission_grants/count/count_request_builder.py b/msgraph_beta/generated/groups/item/permission_grants/count/count_request_builder.py index ca0969719a5..8913cfd64a1 100644 --- a/msgraph_beta/generated/groups/item/permission_grants/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/permission_grants/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/planner/plans/count/count_request_builder.py b/msgraph_beta/generated/groups/item/planner/plans/count/count_request_builder.py index 317dd23977b..535663b650f 100644 --- a/msgraph_beta/generated/groups/item/planner/plans/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/planner/plans/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/planner/plans/delta/delta_get_response.py b/msgraph_beta/generated/groups/item/planner/plans/delta/delta_get_response.py index b9a8eefef15..61fda01a7c7 100644 --- a/msgraph_beta/generated/groups/item/planner/plans/delta/delta_get_response.py +++ b/msgraph_beta/generated/groups/item/planner/plans/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ......models.base_delta_function_response import BaseDeltaFunctionResponse + from ......models.planner_plan import PlannerPlan + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/groups/item/planner/plans/item/buckets/count/count_request_builder.py b/msgraph_beta/generated/groups/item/planner/plans/item/buckets/count/count_request_builder.py index 004dffc0c66..500175ec975 100644 --- a/msgraph_beta/generated/groups/item/planner/plans/item/buckets/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/planner/plans/item/buckets/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/planner/plans/item/buckets/delta/delta_get_response.py b/msgraph_beta/generated/groups/item/planner/plans/item/buckets/delta/delta_get_response.py index c315d7e67c2..ada58596bfc 100644 --- a/msgraph_beta/generated/groups/item/planner/plans/item/buckets/delta/delta_get_response.py +++ b/msgraph_beta/generated/groups/item/planner/plans/item/buckets/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ........models.base_delta_function_response import BaseDeltaFunctionResponse + from ........models.planner_bucket import PlannerBucket + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/groups/item/planner/plans/item/buckets/item/tasks/count/count_request_builder.py b/msgraph_beta/generated/groups/item/planner/plans/item/buckets/item/tasks/count/count_request_builder.py index 3c33538c121..eaa24743520 100644 --- a/msgraph_beta/generated/groups/item/planner/plans/item/buckets/item/tasks/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/planner/plans/item/buckets/item/tasks/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/planner/plans/item/buckets/item/tasks/delta/delta_get_response.py b/msgraph_beta/generated/groups/item/planner/plans/item/buckets/item/tasks/delta/delta_get_response.py index 48ee5c2abb5..224a2423c9a 100644 --- a/msgraph_beta/generated/groups/item/planner/plans/item/buckets/item/tasks/delta/delta_get_response.py +++ b/msgraph_beta/generated/groups/item/planner/plans/item/buckets/item/tasks/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..........models.base_delta_function_response import BaseDeltaFunctionResponse + from ..........models.planner_task import PlannerTask + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/groups/item/planner/plans/item/move_to_container/move_to_container_post_request_body.py b/msgraph_beta/generated/groups/item/planner/plans/item/move_to_container/move_to_container_post_request_body.py index 0dd79ed380a..8d80b2789c9 100644 --- a/msgraph_beta/generated/groups/item/planner/plans/item/move_to_container/move_to_container_post_request_body.py +++ b/msgraph_beta/generated/groups/item/planner/plans/item/move_to_container/move_to_container_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .......models.planner_plan_container import PlannerPlanContainer + writer.write_object_value("container", self.container) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/groups/item/planner/plans/item/tasks/count/count_request_builder.py b/msgraph_beta/generated/groups/item/planner/plans/item/tasks/count/count_request_builder.py index 37bf67bb767..f8a7b68b592 100644 --- a/msgraph_beta/generated/groups/item/planner/plans/item/tasks/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/planner/plans/item/tasks/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/planner/plans/item/tasks/delta/delta_get_response.py b/msgraph_beta/generated/groups/item/planner/plans/item/tasks/delta/delta_get_response.py index a53fa451ea8..9d2942d6955 100644 --- a/msgraph_beta/generated/groups/item/planner/plans/item/tasks/delta/delta_get_response.py +++ b/msgraph_beta/generated/groups/item/planner/plans/item/tasks/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ........models.base_delta_function_response import BaseDeltaFunctionResponse + from ........models.planner_task import PlannerTask + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/groups/item/rejected_senders/count/count_request_builder.py b/msgraph_beta/generated/groups/item/rejected_senders/count/count_request_builder.py index e0a5bb25321..01d651921b7 100644 --- a/msgraph_beta/generated/groups/item/rejected_senders/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/rejected_senders/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/groups/item/service_provisioning_errors/count/count_request_builder.py index 66930afd1d3..fd0389ba05c 100644 --- a/msgraph_beta/generated/groups/item/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/service_provisioning_errors/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/settings/count/count_request_builder.py b/msgraph_beta/generated/groups/item/settings/count/count_request_builder.py index 09a26df7659..61a27f67cf1 100644 --- a/msgraph_beta/generated/groups/item/settings/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/settings/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/sites/add/add_post_request_body.py b/msgraph_beta/generated/groups/item/sites/add/add_post_request_body.py index 55909bc1c21..d5504cf6e16 100644 --- a/msgraph_beta/generated/groups/item/sites/add/add_post_request_body.py +++ b/msgraph_beta/generated/groups/item/sites/add/add_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.site import Site + writer.write_collection_of_object_values("value", self.value) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/groups/item/sites/add/add_post_response.py b/msgraph_beta/generated/groups/item/sites/add/add_post_response.py index cccf2fb1a86..60ac780c4b9 100644 --- a/msgraph_beta/generated/groups/item/sites/add/add_post_response.py +++ b/msgraph_beta/generated/groups/item/sites/add/add_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .....models.site import Site + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/groups/item/sites/count/count_request_builder.py b/msgraph_beta/generated/groups/item/sites/count/count_request_builder.py index 8c56cc36598..404ba560bd2 100644 --- a/msgraph_beta/generated/groups/item/sites/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/sites/delta/delta_get_response.py b/msgraph_beta/generated/groups/item/sites/delta/delta_get_response.py index 3487cab5ddd..cbfe53796c9 100644 --- a/msgraph_beta/generated/groups/item/sites/delta/delta_get_response.py +++ b/msgraph_beta/generated/groups/item/sites/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .....models.base_delta_function_response import BaseDeltaFunctionResponse + from .....models.site import Site + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/groups/item/sites/get_all_sites/get_all_sites_get_response.py b/msgraph_beta/generated/groups/item/sites/get_all_sites/get_all_sites_get_response.py index f256f306647..ff934a3b3de 100644 --- a/msgraph_beta/generated/groups/item/sites/get_all_sites/get_all_sites_get_response.py +++ b/msgraph_beta/generated/groups/item/sites/get_all_sites/get_all_sites_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .....models.site import Site + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/groups/item/sites/item/analytics/item_activity_stats/count/count_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/analytics/item_activity_stats/count/count_request_builder.py index 19a5be39f46..76eaef6aa88 100644 --- a/msgraph_beta/generated/groups/item/sites/item/analytics/item_activity_stats/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/analytics/item_activity_stats/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/analytics/item_activity_stats/item/activities/count/count_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/analytics/item_activity_stats/item/activities/count/count_request_builder.py index d903afb5700..48a372f8883 100644 --- a/msgraph_beta/generated/groups/item/sites/item/analytics/item_activity_stats/item/activities/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/analytics/item_activity_stats/item/activities/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/columns/count/count_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/columns/count/count_request_builder.py index 297b7d637df..238716db9af 100644 --- a/msgraph_beta/generated/groups/item/sites/item/columns/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/columns/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/content_models/count/count_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/content_models/count/count_request_builder.py index 41b9c0f3ad3..b095ed89bd8 100644 --- a/msgraph_beta/generated/groups/item/sites/item/content_models/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/content_models/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/content_models/get_by_name_with_model_name/get_applied_drives/get_applied_drives_get_response.py b/msgraph_beta/generated/groups/item/sites/item/content_models/get_by_name_with_model_name/get_applied_drives/get_applied_drives_get_response.py index bba67574a19..df19059b8ce 100644 --- a/msgraph_beta/generated/groups/item/sites/item/content_models/get_by_name_with_model_name/get_applied_drives/get_applied_drives_get_response.py +++ b/msgraph_beta/generated/groups/item/sites/item/content_models/get_by_name_with_model_name/get_applied_drives/get_applied_drives_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ........models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ........models.content_model_usage import ContentModelUsage + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/groups/item/sites/item/content_models/item/get_applied_drives/get_applied_drives_get_response.py b/msgraph_beta/generated/groups/item/sites/item/content_models/item/get_applied_drives/get_applied_drives_get_response.py index bba67574a19..df19059b8ce 100644 --- a/msgraph_beta/generated/groups/item/sites/item/content_models/item/get_applied_drives/get_applied_drives_get_response.py +++ b/msgraph_beta/generated/groups/item/sites/item/content_models/item/get_applied_drives/get_applied_drives_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ........models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ........models.content_model_usage import ContentModelUsage + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/groups/item/sites/item/content_types/count/count_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/content_types/count/count_request_builder.py index 407cad4e4e0..1412e3618fb 100644 --- a/msgraph_beta/generated/groups/item/sites/item/content_types/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/content_types/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/content_types/get_compatible_hub_content_types/get_compatible_hub_content_types_get_response.py b/msgraph_beta/generated/groups/item/sites/item/content_types/get_compatible_hub_content_types/get_compatible_hub_content_types_get_response.py index f09f3f7fec2..1adc07d9231 100644 --- a/msgraph_beta/generated/groups/item/sites/item/content_types/get_compatible_hub_content_types/get_compatible_hub_content_types_get_response.py +++ b/msgraph_beta/generated/groups/item/sites/item/content_types/get_compatible_hub_content_types/get_compatible_hub_content_types_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .......models.content_type import ContentType + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/groups/item/sites/item/content_types/item/base_types/count/count_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/content_types/item/base_types/count/count_request_builder.py index c3c897d1e21..9ea838911a8 100644 --- a/msgraph_beta/generated/groups/item/sites/item/content_types/item/base_types/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/content_types/item/base_types/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/content_types/item/column_links/count/count_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/content_types/item/column_links/count/count_request_builder.py index 8588c17aafd..6128d778182 100644 --- a/msgraph_beta/generated/groups/item/sites/item/content_types/item/column_links/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/content_types/item/column_links/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/content_types/item/column_positions/count/count_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/content_types/item/column_positions/count/count_request_builder.py index d9d69173db7..369da2f1ec0 100644 --- a/msgraph_beta/generated/groups/item/sites/item/content_types/item/column_positions/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/content_types/item/column_positions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/content_types/item/columns/count/count_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/content_types/item/columns/count/count_request_builder.py index 57c84732893..d94919ba2df 100644 --- a/msgraph_beta/generated/groups/item/sites/item/content_types/item/columns/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/content_types/item/columns/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/content_types/item/copy_to_default_content_location/copy_to_default_content_location_post_request_body.py b/msgraph_beta/generated/groups/item/sites/item/content_types/item/copy_to_default_content_location/copy_to_default_content_location_post_request_body.py index c3ae782c67d..b3118420274 100644 --- a/msgraph_beta/generated/groups/item/sites/item/content_types/item/copy_to_default_content_location/copy_to_default_content_location_post_request_body.py +++ b/msgraph_beta/generated/groups/item/sites/item/content_types/item/copy_to_default_content_location/copy_to_default_content_location_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ........models.item_reference import ItemReference + writer.write_str_value("destinationFileName", self.destination_file_name) writer.write_object_value("sourceFile", self.source_file) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/groups/item/sites/item/created_by_user/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/created_by_user/service_provisioning_errors/count/count_request_builder.py index 773b5fb3365..120da35c5ae 100644 --- a/msgraph_beta/generated/groups/item/sites/item/created_by_user/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/created_by_user/service_provisioning_errors/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/document_processing_jobs/count/count_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/document_processing_jobs/count/count_request_builder.py index deac2b64dd0..fccf2128ab0 100644 --- a/msgraph_beta/generated/groups/item/sites/item/document_processing_jobs/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/document_processing_jobs/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/drives/count/count_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/drives/count/count_request_builder.py index 7db321862f4..ee07ffbdf3c 100644 --- a/msgraph_beta/generated/groups/item/sites/item/drives/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/drives/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/external_columns/count/count_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/external_columns/count/count_request_builder.py index 65617b8fc5c..99cbc5c5f21 100644 --- a/msgraph_beta/generated/groups/item/sites/item/external_columns/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/external_columns/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval/get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval_get_response.py b/msgraph_beta/generated/groups/item/sites/item/get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval/get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval_get_response.py index 67985bac06e..7fe33cb14d8 100644 --- a/msgraph_beta/generated/groups/item/sites/item/get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval/get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval_get_response.py +++ b/msgraph_beta/generated/groups/item/sites/item/get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval/get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ......models.item_activity_stat import ItemActivityStat + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/groups/item/sites/item/get_applicable_content_types_for_list_with_list_id/get_applicable_content_types_for_list_with_list_id_get_response.py b/msgraph_beta/generated/groups/item/sites/item/get_applicable_content_types_for_list_with_list_id/get_applicable_content_types_for_list_with_list_id_get_response.py index ffeb0c6da68..18398db491a 100644 --- a/msgraph_beta/generated/groups/item/sites/item/get_applicable_content_types_for_list_with_list_id/get_applicable_content_types_for_list_with_list_id_get_response.py +++ b/msgraph_beta/generated/groups/item/sites/item/get_applicable_content_types_for_list_with_list_id/get_applicable_content_types_for_list_with_list_id_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ......models.content_type import ContentType + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/groups/item/sites/item/get_by_path_with_path/get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval/get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval_get_response.py b/msgraph_beta/generated/groups/item/sites/item/get_by_path_with_path/get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval/get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval_get_response.py index 50e3e629d3d..d01c1a5bba0 100644 --- a/msgraph_beta/generated/groups/item/sites/item/get_by_path_with_path/get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval/get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval_get_response.py +++ b/msgraph_beta/generated/groups/item/sites/item/get_by_path_with_path/get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval/get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .......models.item_activity_stat import ItemActivityStat + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/groups/item/sites/item/get_by_path_with_path/get_applicable_content_types_for_list_with_list_id/get_applicable_content_types_for_list_with_list_id_get_response.py b/msgraph_beta/generated/groups/item/sites/item/get_by_path_with_path/get_applicable_content_types_for_list_with_list_id/get_applicable_content_types_for_list_with_list_id_get_response.py index b6daffd5402..cfce223a16f 100644 --- a/msgraph_beta/generated/groups/item/sites/item/get_by_path_with_path/get_applicable_content_types_for_list_with_list_id/get_applicable_content_types_for_list_with_list_id_get_response.py +++ b/msgraph_beta/generated/groups/item/sites/item/get_by_path_with_path/get_applicable_content_types_for_list_with_list_id/get_applicable_content_types_for_list_with_list_id_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .......models.content_type import ContentType + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/groups/item/sites/item/information_protection/bitlocker/recovery_keys/count/count_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/information_protection/bitlocker/recovery_keys/count/count_request_builder.py index f5e4dd52956..a330168d5ab 100644 --- a/msgraph_beta/generated/groups/item/sites/item/information_protection/bitlocker/recovery_keys/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/information_protection/bitlocker/recovery_keys/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/information_protection/data_loss_prevention_policies/count/count_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/information_protection/data_loss_prevention_policies/count/count_request_builder.py index dd13ae93283..c77dad3d203 100644 --- a/msgraph_beta/generated/groups/item/sites/item/information_protection/data_loss_prevention_policies/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/information_protection/data_loss_prevention_policies/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/information_protection/data_loss_prevention_policies/evaluate/evaluate_post_request_body.py b/msgraph_beta/generated/groups/item/sites/item/information_protection/data_loss_prevention_policies/evaluate/evaluate_post_request_body.py index da5e451a8e4..ddfbded0cdb 100644 --- a/msgraph_beta/generated/groups/item/sites/item/information_protection/data_loss_prevention_policies/evaluate/evaluate_post_request_body.py +++ b/msgraph_beta/generated/groups/item/sites/item/information_protection/data_loss_prevention_policies/evaluate/evaluate_post_request_body.py @@ -59,6 +59,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ........models.dlp_evaluation_input import DlpEvaluationInput + from ........models.dlp_notification import DlpNotification + writer.write_object_value("evaluationInput", self.evaluation_input) writer.write_object_value("notificationInfo", self.notification_info) writer.write_str_value("target", self.target) diff --git a/msgraph_beta/generated/groups/item/sites/item/information_protection/policy/labels/count/count_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/information_protection/policy/labels/count/count_request_builder.py index 1380d4053d6..de1b4969a04 100644 --- a/msgraph_beta/generated/groups/item/sites/item/information_protection/policy/labels/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/information_protection/policy/labels/count/count_request_builder.py @@ -45,7 +45,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/information_protection/policy/labels/evaluate_application/evaluate_application_post_request_body.py b/msgraph_beta/generated/groups/item/sites/item/information_protection/policy/labels/evaluate_application/evaluate_application_post_request_body.py index 64c72d83abe..9b305346546 100644 --- a/msgraph_beta/generated/groups/item/sites/item/information_protection/policy/labels/evaluate_application/evaluate_application_post_request_body.py +++ b/msgraph_beta/generated/groups/item/sites/item/information_protection/policy/labels/evaluate_application/evaluate_application_post_request_body.py @@ -56,6 +56,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .........models.content_info import ContentInfo + from .........models.labeling_options import LabelingOptions + writer.write_object_value("contentInfo", self.content_info) writer.write_object_value("labelingOptions", self.labeling_options) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/groups/item/sites/item/information_protection/policy/labels/evaluate_application/evaluate_application_post_response.py b/msgraph_beta/generated/groups/item/sites/item/information_protection/policy/labels/evaluate_application/evaluate_application_post_response.py index 9bed24db111..ee9d16aa003 100644 --- a/msgraph_beta/generated/groups/item/sites/item/information_protection/policy/labels/evaluate_application/evaluate_application_post_response.py +++ b/msgraph_beta/generated/groups/item/sites/item/information_protection/policy/labels/evaluate_application/evaluate_application_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .........models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .........models.information_protection_action import InformationProtectionAction + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/groups/item/sites/item/information_protection/policy/labels/evaluate_classification_results/evaluate_classification_results_post_request_body.py b/msgraph_beta/generated/groups/item/sites/item/information_protection/policy/labels/evaluate_classification_results/evaluate_classification_results_post_request_body.py index b68dd036c85..8734dfb651f 100644 --- a/msgraph_beta/generated/groups/item/sites/item/information_protection/policy/labels/evaluate_classification_results/evaluate_classification_results_post_request_body.py +++ b/msgraph_beta/generated/groups/item/sites/item/information_protection/policy/labels/evaluate_classification_results/evaluate_classification_results_post_request_body.py @@ -56,6 +56,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .........models.classification_result import ClassificationResult + from .........models.content_info import ContentInfo + writer.write_collection_of_object_values("classificationResults", self.classification_results) writer.write_object_value("contentInfo", self.content_info) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/groups/item/sites/item/information_protection/policy/labels/evaluate_classification_results/evaluate_classification_results_post_response.py b/msgraph_beta/generated/groups/item/sites/item/information_protection/policy/labels/evaluate_classification_results/evaluate_classification_results_post_response.py index f72218dcdb4..c3c429ef4f3 100644 --- a/msgraph_beta/generated/groups/item/sites/item/information_protection/policy/labels/evaluate_classification_results/evaluate_classification_results_post_response.py +++ b/msgraph_beta/generated/groups/item/sites/item/information_protection/policy/labels/evaluate_classification_results/evaluate_classification_results_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .........models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .........models.information_protection_action import InformationProtectionAction + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/groups/item/sites/item/information_protection/policy/labels/evaluate_removal/evaluate_removal_post_request_body.py b/msgraph_beta/generated/groups/item/sites/item/information_protection/policy/labels/evaluate_removal/evaluate_removal_post_request_body.py index 29e5a99341d..982da7e16cb 100644 --- a/msgraph_beta/generated/groups/item/sites/item/information_protection/policy/labels/evaluate_removal/evaluate_removal_post_request_body.py +++ b/msgraph_beta/generated/groups/item/sites/item/information_protection/policy/labels/evaluate_removal/evaluate_removal_post_request_body.py @@ -56,6 +56,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .........models.content_info import ContentInfo + from .........models.downgrade_justification import DowngradeJustification + writer.write_object_value("contentInfo", self.content_info) writer.write_object_value("downgradeJustification", self.downgrade_justification) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/groups/item/sites/item/information_protection/policy/labels/evaluate_removal/evaluate_removal_post_response.py b/msgraph_beta/generated/groups/item/sites/item/information_protection/policy/labels/evaluate_removal/evaluate_removal_post_response.py index 0fda1bf35c7..ca7b7829a61 100644 --- a/msgraph_beta/generated/groups/item/sites/item/information_protection/policy/labels/evaluate_removal/evaluate_removal_post_response.py +++ b/msgraph_beta/generated/groups/item/sites/item/information_protection/policy/labels/evaluate_removal/evaluate_removal_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .........models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .........models.information_protection_action import InformationProtectionAction + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/groups/item/sites/item/information_protection/policy/labels/extract_label/extract_label_post_request_body.py b/msgraph_beta/generated/groups/item/sites/item/information_protection/policy/labels/extract_label/extract_label_post_request_body.py index 9cc099751ae..47bce3f8fd1 100644 --- a/msgraph_beta/generated/groups/item/sites/item/information_protection/policy/labels/extract_label/extract_label_post_request_body.py +++ b/msgraph_beta/generated/groups/item/sites/item/information_protection/policy/labels/extract_label/extract_label_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .........models.content_info import ContentInfo + writer.write_object_value("contentInfo", self.content_info) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/groups/item/sites/item/information_protection/sensitivity_labels/count/count_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/information_protection/sensitivity_labels/count/count_request_builder.py index 88277a68dd2..2f094aa8ee2 100644 --- a/msgraph_beta/generated/groups/item/sites/item/information_protection/sensitivity_labels/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/information_protection/sensitivity_labels/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/information_protection/sensitivity_labels/evaluate/evaluate_post_request_body.py b/msgraph_beta/generated/groups/item/sites/item/information_protection/sensitivity_labels/evaluate/evaluate_post_request_body.py index 52d45e6d631..cb158e12515 100644 --- a/msgraph_beta/generated/groups/item/sites/item/information_protection/sensitivity_labels/evaluate/evaluate_post_request_body.py +++ b/msgraph_beta/generated/groups/item/sites/item/information_protection/sensitivity_labels/evaluate/evaluate_post_request_body.py @@ -56,6 +56,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ........models.current_label import CurrentLabel + from ........models.discovered_sensitive_type import DiscoveredSensitiveType + writer.write_object_value("currentLabel", self.current_label) writer.write_collection_of_object_values("discoveredSensitiveTypes", self.discovered_sensitive_types) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/groups/item/sites/item/information_protection/sensitivity_labels/item/sublabels/count/count_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/information_protection/sensitivity_labels/item/sublabels/count/count_request_builder.py index a4e336decbe..5b6278e5d1e 100644 --- a/msgraph_beta/generated/groups/item/sites/item/information_protection/sensitivity_labels/item/sublabels/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/information_protection/sensitivity_labels/item/sublabels/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/information_protection/sensitivity_labels/item/sublabels/evaluate/evaluate_post_request_body.py b/msgraph_beta/generated/groups/item/sites/item/information_protection/sensitivity_labels/item/sublabels/evaluate/evaluate_post_request_body.py index 82b7b0346f2..423500cb086 100644 --- a/msgraph_beta/generated/groups/item/sites/item/information_protection/sensitivity_labels/item/sublabels/evaluate/evaluate_post_request_body.py +++ b/msgraph_beta/generated/groups/item/sites/item/information_protection/sensitivity_labels/item/sublabels/evaluate/evaluate_post_request_body.py @@ -56,6 +56,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ..........models.current_label import CurrentLabel + from ..........models.discovered_sensitive_type import DiscoveredSensitiveType + writer.write_object_value("currentLabel", self.current_label) writer.write_collection_of_object_values("discoveredSensitiveTypes", self.discovered_sensitive_types) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/groups/item/sites/item/information_protection/threat_assessment_requests/count/count_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/information_protection/threat_assessment_requests/count/count_request_builder.py index f879cabe085..f80354a12c5 100644 --- a/msgraph_beta/generated/groups/item/sites/item/information_protection/threat_assessment_requests/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/information_protection/threat_assessment_requests/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/information_protection/threat_assessment_requests/item/results/count/count_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/information_protection/threat_assessment_requests/item/results/count/count_request_builder.py index 1d281e317a1..d6dd088dbee 100644 --- a/msgraph_beta/generated/groups/item/sites/item/information_protection/threat_assessment_requests/item/results/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/information_protection/threat_assessment_requests/item/results/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/items/count/count_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/items/count/count_request_builder.py index 4d1b5b822ea..6bafb1c0547 100644 --- a/msgraph_beta/generated/groups/item/sites/item/items/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/items/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py index c6d57fc0fe8..285529f9bde 100644 --- a/msgraph_beta/generated/groups/item/sites/item/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/lists/count/count_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/lists/count/count_request_builder.py index e59318361fd..64de223c249 100644 --- a/msgraph_beta/generated/groups/item/sites/item/lists/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/lists/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/lists/item/columns/count/count_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/lists/item/columns/count/count_request_builder.py index e14b1483c67..8b99fe81bb0 100644 --- a/msgraph_beta/generated/groups/item/sites/item/lists/item/columns/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/lists/item/columns/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/lists/item/content_types/count/count_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/lists/item/content_types/count/count_request_builder.py index d94c9e3ae4f..822a9d847c4 100644 --- a/msgraph_beta/generated/groups/item/sites/item/lists/item/content_types/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/lists/item/content_types/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/lists/item/content_types/get_compatible_hub_content_types/get_compatible_hub_content_types_get_response.py b/msgraph_beta/generated/groups/item/sites/item/lists/item/content_types/get_compatible_hub_content_types/get_compatible_hub_content_types_get_response.py index a4305db3aad..09dd12bfde1 100644 --- a/msgraph_beta/generated/groups/item/sites/item/lists/item/content_types/get_compatible_hub_content_types/get_compatible_hub_content_types_get_response.py +++ b/msgraph_beta/generated/groups/item/sites/item/lists/item/content_types/get_compatible_hub_content_types/get_compatible_hub_content_types_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .........models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .........models.content_type import ContentType + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/groups/item/sites/item/lists/item/content_types/item/base_types/count/count_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/lists/item/content_types/item/base_types/count/count_request_builder.py index 507c4eb7df4..36de930da4f 100644 --- a/msgraph_beta/generated/groups/item/sites/item/lists/item/content_types/item/base_types/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/lists/item/content_types/item/base_types/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/lists/item/content_types/item/column_links/count/count_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/lists/item/content_types/item/column_links/count/count_request_builder.py index 058c2a77464..3e8057a63c8 100644 --- a/msgraph_beta/generated/groups/item/sites/item/lists/item/content_types/item/column_links/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/lists/item/content_types/item/column_links/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/lists/item/content_types/item/column_positions/count/count_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/lists/item/content_types/item/column_positions/count/count_request_builder.py index fcc28092d6c..cc08ce3b8cd 100644 --- a/msgraph_beta/generated/groups/item/sites/item/lists/item/content_types/item/column_positions/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/lists/item/content_types/item/column_positions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/lists/item/content_types/item/columns/count/count_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/lists/item/content_types/item/columns/count/count_request_builder.py index 299889c8139..5adfdb1d4d7 100644 --- a/msgraph_beta/generated/groups/item/sites/item/lists/item/content_types/item/columns/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/lists/item/content_types/item/columns/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/lists/item/content_types/item/copy_to_default_content_location/copy_to_default_content_location_post_request_body.py b/msgraph_beta/generated/groups/item/sites/item/lists/item/content_types/item/copy_to_default_content_location/copy_to_default_content_location_post_request_body.py index 188809cb76b..c9c0a1070bc 100644 --- a/msgraph_beta/generated/groups/item/sites/item/lists/item/content_types/item/copy_to_default_content_location/copy_to_default_content_location_post_request_body.py +++ b/msgraph_beta/generated/groups/item/sites/item/lists/item/content_types/item/copy_to_default_content_location/copy_to_default_content_location_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ..........models.item_reference import ItemReference + writer.write_str_value("destinationFileName", self.destination_file_name) writer.write_object_value("sourceFile", self.source_file) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/groups/item/sites/item/lists/item/created_by_user/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/lists/item/created_by_user/service_provisioning_errors/count/count_request_builder.py index b9e2b8dd8ef..d67066c8a40 100644 --- a/msgraph_beta/generated/groups/item/sites/item/lists/item/created_by_user/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/lists/item/created_by_user/service_provisioning_errors/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/lists/item/items/delta/delta_get_response.py b/msgraph_beta/generated/groups/item/sites/item/lists/item/items/delta/delta_get_response.py index 33a4e58d899..524889a87d6 100644 --- a/msgraph_beta/generated/groups/item/sites/item/lists/item/items/delta/delta_get_response.py +++ b/msgraph_beta/generated/groups/item/sites/item/lists/item/items/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .........models.base_delta_function_response import BaseDeltaFunctionResponse + from .........models.list_item import ListItem + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/groups/item/sites/item/lists/item/items/delta_with_token/delta_with_token_get_response.py b/msgraph_beta/generated/groups/item/sites/item/lists/item/items/delta_with_token/delta_with_token_get_response.py index 599ad8ea330..416f7b264d2 100644 --- a/msgraph_beta/generated/groups/item/sites/item/lists/item/items/delta_with_token/delta_with_token_get_response.py +++ b/msgraph_beta/generated/groups/item/sites/item/lists/item/items/delta_with_token/delta_with_token_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .........models.base_delta_function_response import BaseDeltaFunctionResponse + from .........models.list_item import ListItem + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/activities/count/count_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/activities/count/count_request_builder.py index e79f1431c50..92ff7ea4bc8 100644 --- a/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/activities/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/activities/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/create_link/create_link_post_request_body.py b/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/create_link/create_link_post_request_body.py index a9cf8e76348..91052f8d6d4 100644 --- a/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/create_link/create_link_post_request_body.py +++ b/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/create_link/create_link_post_request_body.py @@ -72,6 +72,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ..........models.drive_recipient import DriveRecipient + writer.write_datetime_value("expirationDateTime", self.expiration_date_time) writer.write_str_value("message", self.message) writer.write_str_value("password", self.password) diff --git a/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/created_by_user/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/created_by_user/service_provisioning_errors/count/count_request_builder.py index 57ed7b38d21..d20d9936e7f 100644 --- a/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/created_by_user/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/created_by_user/service_provisioning_errors/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/document_set_versions/count/count_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/document_set_versions/count/count_request_builder.py index 2387f744ac0..e5d6a0f58a1 100644 --- a/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/document_set_versions/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/document_set_versions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval/get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval_get_response.py b/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval/get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval_get_response.py index 25762a6836c..bc28ca71d89 100644 --- a/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval/get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval_get_response.py +++ b/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval/get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..........models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ..........models.item_activity_stat import ItemActivityStat + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py index 62c6f77e245..b34a5c54a8f 100644 --- a/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/permissions/count/count_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/permissions/count/count_request_builder.py index 340960d2bb0..6a39402fb16 100644 --- a/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/permissions/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/permissions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/permissions/item/grant/grant_post_request_body.py b/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/permissions/item/grant/grant_post_request_body.py index 148153b5b67..1e45c4ed220 100644 --- a/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/permissions/item/grant/grant_post_request_body.py +++ b/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/permissions/item/grant/grant_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ............models.drive_recipient import DriveRecipient + writer.write_collection_of_object_values("recipients", self.recipients) writer.write_collection_of_primitive_values("roles", self.roles) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/permissions/item/grant/grant_post_response.py b/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/permissions/item/grant/grant_post_response.py index 661dad1f945..492b2badd1e 100644 --- a/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/permissions/item/grant/grant_post_response.py +++ b/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/permissions/item/grant/grant_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ............models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ............models.permission import Permission + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/permissions/item/revoke_grants/revoke_grants_post_request_body.py b/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/permissions/item/revoke_grants/revoke_grants_post_request_body.py index 337809beac3..ccef10d64f2 100644 --- a/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/permissions/item/revoke_grants/revoke_grants_post_request_body.py +++ b/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/permissions/item/revoke_grants/revoke_grants_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ............models.drive_recipient import DriveRecipient + writer.write_collection_of_object_values("grantees", self.grantees) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/versions/count/count_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/versions/count/count_request_builder.py index f955c22eea5..3cc8982ed17 100644 --- a/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/versions/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/versions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/lists/item/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/lists/item/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py index 8330476879b..fd7b9fc1b47 100644 --- a/msgraph_beta/generated/groups/item/sites/item/lists/item/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/lists/item/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/lists/item/operations/count/count_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/lists/item/operations/count/count_request_builder.py index 803f032639f..63d4101d592 100644 --- a/msgraph_beta/generated/groups/item/sites/item/lists/item/operations/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/lists/item/operations/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/lists/item/permissions/count/count_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/lists/item/permissions/count/count_request_builder.py index 3e267de8328..3a56d7770ec 100644 --- a/msgraph_beta/generated/groups/item/sites/item/lists/item/permissions/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/lists/item/permissions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/lists/item/permissions/item/grant/grant_post_request_body.py b/msgraph_beta/generated/groups/item/sites/item/lists/item/permissions/item/grant/grant_post_request_body.py index 9918fa124c6..e64c1579392 100644 --- a/msgraph_beta/generated/groups/item/sites/item/lists/item/permissions/item/grant/grant_post_request_body.py +++ b/msgraph_beta/generated/groups/item/sites/item/lists/item/permissions/item/grant/grant_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ..........models.drive_recipient import DriveRecipient + writer.write_collection_of_object_values("recipients", self.recipients) writer.write_collection_of_primitive_values("roles", self.roles) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/groups/item/sites/item/lists/item/permissions/item/grant/grant_post_response.py b/msgraph_beta/generated/groups/item/sites/item/lists/item/permissions/item/grant/grant_post_response.py index 9f730670a65..ca8d80e990f 100644 --- a/msgraph_beta/generated/groups/item/sites/item/lists/item/permissions/item/grant/grant_post_response.py +++ b/msgraph_beta/generated/groups/item/sites/item/lists/item/permissions/item/grant/grant_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..........models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ..........models.permission import Permission + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/groups/item/sites/item/lists/item/permissions/item/revoke_grants/revoke_grants_post_request_body.py b/msgraph_beta/generated/groups/item/sites/item/lists/item/permissions/item/revoke_grants/revoke_grants_post_request_body.py index bc564fec9eb..5b0a7524e30 100644 --- a/msgraph_beta/generated/groups/item/sites/item/lists/item/permissions/item/revoke_grants/revoke_grants_post_request_body.py +++ b/msgraph_beta/generated/groups/item/sites/item/lists/item/permissions/item/revoke_grants/revoke_grants_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ..........models.drive_recipient import DriveRecipient + writer.write_collection_of_object_values("grantees", self.grantees) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/groups/item/sites/item/lists/item/subscriptions/count/count_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/lists/item/subscriptions/count/count_request_builder.py index 122059ff354..34f8e615e0b 100644 --- a/msgraph_beta/generated/groups/item/sites/item/lists/item/subscriptions/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/lists/item/subscriptions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/count/count_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/count/count_request_builder.py index 265c5542c30..9a25b3a90ba 100644 --- a/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/get_recent_notebooks_with_include_personal_notebooks/get_recent_notebooks_with_include_personal_notebooks_get_response.py b/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/get_recent_notebooks_with_include_personal_notebooks/get_recent_notebooks_with_include_personal_notebooks_get_response.py index 34b8c276da3..c3505187065 100644 --- a/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/get_recent_notebooks_with_include_personal_notebooks/get_recent_notebooks_with_include_personal_notebooks_get_response.py +++ b/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/get_recent_notebooks_with_include_personal_notebooks/get_recent_notebooks_with_include_personal_notebooks_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ........models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ........models.recent_notebook import RecentNotebook + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/section_groups/count/count_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/section_groups/count/count_request_builder.py index 091d31ff709..c034c08d7a9 100644 --- a/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/section_groups/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/section_groups/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/section_groups/item/section_groups/count/count_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/section_groups/item/section_groups/count/count_request_builder.py index 37b4c51e8b2..767fe5db70c 100644 --- a/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/section_groups/item/section_groups/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/section_groups/item/section_groups/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/section_groups/item/sections/count/count_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/section_groups/item/sections/count/count_request_builder.py index ae80ad6d8d1..bd9faddef4f 100644 --- a/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/section_groups/item/sections/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/section_groups/item/sections/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/section_groups/item/sections/item/pages/count/count_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/section_groups/item/sections/item/pages/count/count_request_builder.py index 6c99d8dc9a2..cc3bf41e647 100644 --- a/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/section_groups/item/sections/item/pages/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/section_groups/item/sections/item/pages/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_post_request_body.py b/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_post_request_body.py index b3111acc42c..f256bb01427 100644 --- a/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_post_request_body.py +++ b/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ...............models.onenote_patch_content_command import OnenotePatchContentCommand + writer.write_collection_of_object_values("commands", self.commands) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/sections/count/count_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/sections/count/count_request_builder.py index 153921c1959..c676bca90e9 100644 --- a/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/sections/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/sections/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/sections/item/pages/count/count_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/sections/item/pages/count/count_request_builder.py index f066dbaecd6..ca0d6b8f78b 100644 --- a/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/sections/item/pages/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/sections/item/pages/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_post_request_body.py b/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_post_request_body.py index d9306c81c81..83889693100 100644 --- a/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_post_request_body.py +++ b/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .............models.onenote_patch_content_command import OnenotePatchContentCommand + writer.write_collection_of_object_values("commands", self.commands) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/groups/item/sites/item/onenote/operations/count/count_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/onenote/operations/count/count_request_builder.py index 5772f985296..c84eabd548e 100644 --- a/msgraph_beta/generated/groups/item/sites/item/onenote/operations/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/onenote/operations/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/onenote/pages/count/count_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/onenote/pages/count/count_request_builder.py index a1a6a9df70b..eb4df5d5318 100644 --- a/msgraph_beta/generated/groups/item/sites/item/onenote/pages/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/onenote/pages/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/onenote/pages/item/onenote_patch_content/onenote_patch_content_post_request_body.py b/msgraph_beta/generated/groups/item/sites/item/onenote/pages/item/onenote_patch_content/onenote_patch_content_post_request_body.py index 91dc2d61523..00b13f12e29 100644 --- a/msgraph_beta/generated/groups/item/sites/item/onenote/pages/item/onenote_patch_content/onenote_patch_content_post_request_body.py +++ b/msgraph_beta/generated/groups/item/sites/item/onenote/pages/item/onenote_patch_content/onenote_patch_content_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .........models.onenote_patch_content_command import OnenotePatchContentCommand + writer.write_collection_of_object_values("commands", self.commands) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/groups/item/sites/item/onenote/resources/count/count_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/onenote/resources/count/count_request_builder.py index e4a7d1a5c08..99592d10d94 100644 --- a/msgraph_beta/generated/groups/item/sites/item/onenote/resources/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/onenote/resources/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/onenote/section_groups/count/count_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/onenote/section_groups/count/count_request_builder.py index 580628e0a43..5dd6ba82e21 100644 --- a/msgraph_beta/generated/groups/item/sites/item/onenote/section_groups/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/onenote/section_groups/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/onenote/section_groups/item/section_groups/count/count_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/onenote/section_groups/item/section_groups/count/count_request_builder.py index 851fa025af5..84c8bbd3c93 100644 --- a/msgraph_beta/generated/groups/item/sites/item/onenote/section_groups/item/section_groups/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/onenote/section_groups/item/section_groups/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/onenote/section_groups/item/sections/count/count_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/onenote/section_groups/item/sections/count/count_request_builder.py index 218cecba987..a10f556ca4d 100644 --- a/msgraph_beta/generated/groups/item/sites/item/onenote/section_groups/item/sections/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/onenote/section_groups/item/sections/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/onenote/section_groups/item/sections/item/pages/count/count_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/onenote/section_groups/item/sections/item/pages/count/count_request_builder.py index 73d83206bb1..af90673b487 100644 --- a/msgraph_beta/generated/groups/item/sites/item/onenote/section_groups/item/sections/item/pages/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/onenote/section_groups/item/sections/item/pages/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/onenote/section_groups/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_post_request_body.py b/msgraph_beta/generated/groups/item/sites/item/onenote/section_groups/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_post_request_body.py index d9306c81c81..83889693100 100644 --- a/msgraph_beta/generated/groups/item/sites/item/onenote/section_groups/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_post_request_body.py +++ b/msgraph_beta/generated/groups/item/sites/item/onenote/section_groups/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .............models.onenote_patch_content_command import OnenotePatchContentCommand + writer.write_collection_of_object_values("commands", self.commands) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/groups/item/sites/item/onenote/sections/count/count_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/onenote/sections/count/count_request_builder.py index ecdcb6d05e4..2efff5a3eb0 100644 --- a/msgraph_beta/generated/groups/item/sites/item/onenote/sections/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/onenote/sections/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/onenote/sections/item/pages/count/count_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/onenote/sections/item/pages/count/count_request_builder.py index a0a3358c957..a7cfc8086f6 100644 --- a/msgraph_beta/generated/groups/item/sites/item/onenote/sections/item/pages/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/onenote/sections/item/pages/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/onenote/sections/item/pages/item/onenote_patch_content/onenote_patch_content_post_request_body.py b/msgraph_beta/generated/groups/item/sites/item/onenote/sections/item/pages/item/onenote_patch_content/onenote_patch_content_post_request_body.py index adba9908f59..751ac43704e 100644 --- a/msgraph_beta/generated/groups/item/sites/item/onenote/sections/item/pages/item/onenote_patch_content/onenote_patch_content_post_request_body.py +++ b/msgraph_beta/generated/groups/item/sites/item/onenote/sections/item/pages/item/onenote_patch_content/onenote_patch_content_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ...........models.onenote_patch_content_command import OnenotePatchContentCommand + writer.write_collection_of_object_values("commands", self.commands) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/groups/item/sites/item/operations/count/count_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/operations/count/count_request_builder.py index 642d8087d03..5f0ad889ae1 100644 --- a/msgraph_beta/generated/groups/item/sites/item/operations/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/operations/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/page_templates/count/count_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/page_templates/count/count_request_builder.py index 1faf7bd3eff..9c770586a90 100644 --- a/msgraph_beta/generated/groups/item/sites/item/page_templates/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/page_templates/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/page_templates/item/canvas_layout/horizontal_sections/count/count_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/page_templates/item/canvas_layout/horizontal_sections/count/count_request_builder.py index e11643fe27f..dafe81fb30a 100644 --- a/msgraph_beta/generated/groups/item/sites/item/page_templates/item/canvas_layout/horizontal_sections/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/page_templates/item/canvas_layout/horizontal_sections/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/page_templates/item/canvas_layout/horizontal_sections/item/columns/count/count_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/page_templates/item/canvas_layout/horizontal_sections/item/columns/count/count_request_builder.py index 750d3d36ea6..5a12bc89f1b 100644 --- a/msgraph_beta/generated/groups/item/sites/item/page_templates/item/canvas_layout/horizontal_sections/item/columns/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/page_templates/item/canvas_layout/horizontal_sections/item/columns/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/page_templates/item/canvas_layout/horizontal_sections/item/columns/item/webparts/count/count_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/page_templates/item/canvas_layout/horizontal_sections/item/columns/item/webparts/count/count_request_builder.py index 5cdf329e629..57f8a92115f 100644 --- a/msgraph_beta/generated/groups/item/sites/item/page_templates/item/canvas_layout/horizontal_sections/item/columns/item/webparts/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/page_templates/item/canvas_layout/horizontal_sections/item/columns/item/webparts/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/page_templates/item/canvas_layout/vertical_section/webparts/count/count_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/page_templates/item/canvas_layout/vertical_section/webparts/count/count_request_builder.py index 73e2e158ff8..6a1bd06698e 100644 --- a/msgraph_beta/generated/groups/item/sites/item/page_templates/item/canvas_layout/vertical_section/webparts/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/page_templates/item/canvas_layout/vertical_section/webparts/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/page_templates/item/created_by_user/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/page_templates/item/created_by_user/service_provisioning_errors/count/count_request_builder.py index 24b68ffdfe5..93660fc250d 100644 --- a/msgraph_beta/generated/groups/item/sites/item/page_templates/item/created_by_user/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/page_templates/item/created_by_user/service_provisioning_errors/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/page_templates/item/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/page_templates/item/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py index b66e8439391..1faa3ade7e8 100644 --- a/msgraph_beta/generated/groups/item/sites/item/page_templates/item/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/page_templates/item/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/page_templates/item/web_parts/count/count_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/page_templates/item/web_parts/count/count_request_builder.py index 45688ebd58f..51bc1ff2b9b 100644 --- a/msgraph_beta/generated/groups/item/sites/item/page_templates/item/web_parts/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/page_templates/item/web_parts/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/pages/count/count_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/pages/count/count_request_builder.py index 404adc88f81..9bcc91fadab 100644 --- a/msgraph_beta/generated/groups/item/sites/item/pages/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/pages/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/pages/graph_site_page/count/count_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/pages/graph_site_page/count/count_request_builder.py index 7c59b93f196..072be19d391 100644 --- a/msgraph_beta/generated/groups/item/sites/item/pages/graph_site_page/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/pages/graph_site_page/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/pages/item/created_by_user/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/pages/item/created_by_user/service_provisioning_errors/count/count_request_builder.py index b87c98d3bed..a147f8c1c01 100644 --- a/msgraph_beta/generated/groups/item/sites/item/pages/item/created_by_user/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/pages/item/created_by_user/service_provisioning_errors/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/pages/item/graph_site_page/canvas_layout/horizontal_sections/count/count_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/pages/item/graph_site_page/canvas_layout/horizontal_sections/count/count_request_builder.py index 94ed24a1b29..dd00a0f62ee 100644 --- a/msgraph_beta/generated/groups/item/sites/item/pages/item/graph_site_page/canvas_layout/horizontal_sections/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/pages/item/graph_site_page/canvas_layout/horizontal_sections/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/pages/item/graph_site_page/canvas_layout/horizontal_sections/item/columns/count/count_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/pages/item/graph_site_page/canvas_layout/horizontal_sections/item/columns/count/count_request_builder.py index c0af42c813b..1cf8fa09b52 100644 --- a/msgraph_beta/generated/groups/item/sites/item/pages/item/graph_site_page/canvas_layout/horizontal_sections/item/columns/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/pages/item/graph_site_page/canvas_layout/horizontal_sections/item/columns/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/pages/item/graph_site_page/canvas_layout/horizontal_sections/item/columns/item/webparts/count/count_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/pages/item/graph_site_page/canvas_layout/horizontal_sections/item/columns/item/webparts/count/count_request_builder.py index e2e0f62f74a..1d8d653eb24 100644 --- a/msgraph_beta/generated/groups/item/sites/item/pages/item/graph_site_page/canvas_layout/horizontal_sections/item/columns/item/webparts/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/pages/item/graph_site_page/canvas_layout/horizontal_sections/item/columns/item/webparts/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/pages/item/graph_site_page/canvas_layout/vertical_section/webparts/count/count_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/pages/item/graph_site_page/canvas_layout/vertical_section/webparts/count/count_request_builder.py index 7845e0f13e8..57cab7dca87 100644 --- a/msgraph_beta/generated/groups/item/sites/item/pages/item/graph_site_page/canvas_layout/vertical_section/webparts/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/pages/item/graph_site_page/canvas_layout/vertical_section/webparts/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/pages/item/graph_site_page/created_by_user/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/pages/item/graph_site_page/created_by_user/service_provisioning_errors/count/count_request_builder.py index f832756d910..86695d13ed3 100644 --- a/msgraph_beta/generated/groups/item/sites/item/pages/item/graph_site_page/created_by_user/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/pages/item/graph_site_page/created_by_user/service_provisioning_errors/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/pages/item/graph_site_page/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/pages/item/graph_site_page/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py index fca3bc61d8f..c28c475c805 100644 --- a/msgraph_beta/generated/groups/item/sites/item/pages/item/graph_site_page/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/pages/item/graph_site_page/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/pages/item/graph_site_page/web_parts/count/count_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/pages/item/graph_site_page/web_parts/count/count_request_builder.py index dcfc6cac1dc..af4abf7b9b6 100644 --- a/msgraph_beta/generated/groups/item/sites/item/pages/item/graph_site_page/web_parts/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/pages/item/graph_site_page/web_parts/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/pages/item/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/pages/item/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py index 6226d757b4f..50148340514 100644 --- a/msgraph_beta/generated/groups/item/sites/item/pages/item/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/pages/item/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/permissions/count/count_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/permissions/count/count_request_builder.py index 757374b933f..b0c03a26183 100644 --- a/msgraph_beta/generated/groups/item/sites/item/permissions/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/permissions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/permissions/item/grant/grant_post_request_body.py b/msgraph_beta/generated/groups/item/sites/item/permissions/item/grant/grant_post_request_body.py index 1d81924129b..938d3b07897 100644 --- a/msgraph_beta/generated/groups/item/sites/item/permissions/item/grant/grant_post_request_body.py +++ b/msgraph_beta/generated/groups/item/sites/item/permissions/item/grant/grant_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ........models.drive_recipient import DriveRecipient + writer.write_collection_of_object_values("recipients", self.recipients) writer.write_collection_of_primitive_values("roles", self.roles) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/groups/item/sites/item/permissions/item/grant/grant_post_response.py b/msgraph_beta/generated/groups/item/sites/item/permissions/item/grant/grant_post_response.py index 49d325a0f49..a192c772c4a 100644 --- a/msgraph_beta/generated/groups/item/sites/item/permissions/item/grant/grant_post_response.py +++ b/msgraph_beta/generated/groups/item/sites/item/permissions/item/grant/grant_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ........models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ........models.permission import Permission + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/groups/item/sites/item/permissions/item/revoke_grants/revoke_grants_post_request_body.py b/msgraph_beta/generated/groups/item/sites/item/permissions/item/revoke_grants/revoke_grants_post_request_body.py index a347271fea8..6bd46ec8a0a 100644 --- a/msgraph_beta/generated/groups/item/sites/item/permissions/item/revoke_grants/revoke_grants_post_request_body.py +++ b/msgraph_beta/generated/groups/item/sites/item/permissions/item/revoke_grants/revoke_grants_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ........models.drive_recipient import DriveRecipient + writer.write_collection_of_object_values("grantees", self.grantees) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/groups/item/sites/item/recycle_bin/created_by_user/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/recycle_bin/created_by_user/service_provisioning_errors/count/count_request_builder.py index 46f8acb1127..190345ddbf5 100644 --- a/msgraph_beta/generated/groups/item/sites/item/recycle_bin/created_by_user/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/recycle_bin/created_by_user/service_provisioning_errors/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/recycle_bin/items/count/count_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/recycle_bin/items/count/count_request_builder.py index 1dcd6ffd885..a35f6679206 100644 --- a/msgraph_beta/generated/groups/item/sites/item/recycle_bin/items/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/recycle_bin/items/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/recycle_bin/items/item/created_by_user/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/recycle_bin/items/item/created_by_user/service_provisioning_errors/count/count_request_builder.py index 6a4626752be..27c1bae6005 100644 --- a/msgraph_beta/generated/groups/item/sites/item/recycle_bin/items/item/created_by_user/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/recycle_bin/items/item/created_by_user/service_provisioning_errors/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/recycle_bin/items/item/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/recycle_bin/items/item/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py index cbcc92f331f..d9f2930174e 100644 --- a/msgraph_beta/generated/groups/item/sites/item/recycle_bin/items/item/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/recycle_bin/items/item/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/recycle_bin/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/recycle_bin/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py index fefbd7c2767..09ee636b6dc 100644 --- a/msgraph_beta/generated/groups/item/sites/item/recycle_bin/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/recycle_bin/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/sites/count/count_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/sites/count/count_request_builder.py index ab543f49b92..a6f5181b28b 100644 --- a/msgraph_beta/generated/groups/item/sites/item/sites/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/sites/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/groups/count/count_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/groups/count/count_request_builder.py index 9c5a51dc3fa..9d074650f05 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/groups/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/groups/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/count/count_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/count/count_request_builder.py index 0f2b7cd3531..8f14075f1b1 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/children/count/count_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/children/count/count_request_builder.py index ca4f31e9982..d337c77fd40 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/children/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/children/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/children/item/children/count/count_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/children/item/children/count/count_request_builder.py index 9eb6f1349dd..9a51548a5c2 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/children/item/children/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/children/item/children/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/children/item/children/item/relations/count/count_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/children/item/children/item/relations/count/count_request_builder.py index 27fa0a577c5..882769d95fc 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/children/item/children/item/relations/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/children/item/children/item/relations/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/children/item/relations/count/count_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/children/item/relations/count/count_request_builder.py index 91cba60a97d..2c82c24bdf5 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/children/item/relations/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/children/item/relations/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/relations/count/count_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/relations/count/count_request_builder.py index 206a4661b82..8691f535f6f 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/relations/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/relations/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/terms/count/count_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/terms/count/count_request_builder.py index 2e065c83284..9e7f23211e6 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/terms/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/terms/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/terms/item/children/count/count_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/terms/item/children/count/count_request_builder.py index cc74a9fed95..797dafc6669 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/terms/item/children/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/terms/item/children/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/terms/item/children/item/relations/count/count_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/terms/item/children/item/relations/count/count_request_builder.py index 84bc67afd77..1bb073ff60c 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/terms/item/children/item/relations/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/terms/item/children/item/relations/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/terms/item/relations/count/count_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/terms/item/relations/count/count_request_builder.py index a9c6aee3087..a783ef8c2a3 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/terms/item/relations/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/terms/item/relations/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/count/count_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/count/count_request_builder.py index fd1131b58e6..e68f8a74f1f 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/children/count/count_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/children/count/count_request_builder.py index 2fbbcd1508e..9f9881b6371 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/children/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/children/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/children/item/children/count/count_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/children/item/children/count/count_request_builder.py index a73fd1b4bee..bc4004bd496 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/children/item/children/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/children/item/children/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/children/item/children/item/relations/count/count_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/children/item/children/item/relations/count/count_request_builder.py index 1bce4736f51..a171645cfbd 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/children/item/children/item/relations/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/children/item/children/item/relations/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/children/item/relations/count/count_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/children/item/relations/count/count_request_builder.py index eb41c46d820..7fe60c5d4b1 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/children/item/relations/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/children/item/relations/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/count/count_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/count/count_request_builder.py index 3221288bae0..e74688ba2fe 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/children/count/count_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/children/count/count_request_builder.py index a3f947eb47a..48e39751ca3 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/children/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/children/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/children/item/children/count/count_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/children/item/children/count/count_request_builder.py index 0323d7a5d81..7f02af0ff1f 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/children/item/children/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/children/item/children/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/children/item/children/item/relations/count/count_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/children/item/children/item/relations/count/count_request_builder.py index 31eb5f6daed..3c6781e47b0 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/children/item/children/item/relations/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/children/item/children/item/relations/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/children/item/relations/count/count_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/children/item/relations/count/count_request_builder.py index 1c3a5574f13..0243ff6086a 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/children/item/relations/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/children/item/relations/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/relations/count/count_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/relations/count/count_request_builder.py index 90e8d885d47..b8085ea9df8 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/relations/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/relations/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/terms/count/count_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/terms/count/count_request_builder.py index 9c38db3aaa3..a58e1ee6caf 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/terms/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/terms/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/children/count/count_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/children/count/count_request_builder.py index d9f3bb67325..6750af47800 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/children/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/children/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/children/item/relations/count/count_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/children/item/relations/count/count_request_builder.py index 8112509c1d5..864e9eeb10c 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/children/item/relations/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/children/item/relations/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/relations/count/count_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/relations/count/count_request_builder.py index 58af18d5d61..06bfe36dbbe 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/relations/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/relations/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/relations/count/count_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/relations/count/count_request_builder.py index fa767ca1717..6ac02b6483a 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/relations/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/relations/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/terms/count/count_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/terms/count/count_request_builder.py index 89d95ee2318..0986bee5901 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/terms/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/terms/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/terms/item/children/count/count_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/terms/item/children/count/count_request_builder.py index 4b54bd689c1..8a478c0afb9 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/terms/item/children/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/terms/item/children/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/terms/item/children/item/relations/count/count_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/terms/item/children/item/relations/count/count_request_builder.py index 647dea9575c..797229ecb9a 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/terms/item/children/item/relations/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/terms/item/children/item/relations/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/terms/item/relations/count/count_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/terms/item/relations/count/count_request_builder.py index 2c79e04344c..188fdeb73cf 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/terms/item/relations/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/terms/item/relations/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/sites/remove/remove_post_request_body.py b/msgraph_beta/generated/groups/item/sites/remove/remove_post_request_body.py index 57701ce4446..9cbbba81e98 100644 --- a/msgraph_beta/generated/groups/item/sites/remove/remove_post_request_body.py +++ b/msgraph_beta/generated/groups/item/sites/remove/remove_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.site import Site + writer.write_collection_of_object_values("value", self.value) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/groups/item/sites/remove/remove_post_response.py b/msgraph_beta/generated/groups/item/sites/remove/remove_post_response.py index 31d429a1795..6261a971949 100644 --- a/msgraph_beta/generated/groups/item/sites/remove/remove_post_response.py +++ b/msgraph_beta/generated/groups/item/sites/remove/remove_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .....models.site import Site + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/groups/item/team/all_channels/count/count_request_builder.py b/msgraph_beta/generated/groups/item/team/all_channels/count/count_request_builder.py index 44ea456b8f9..98ca3beadde 100644 --- a/msgraph_beta/generated/groups/item/team/all_channels/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/all_channels/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/team/channels/all_messages/all_messages_get_response.py b/msgraph_beta/generated/groups/item/team/channels/all_messages/all_messages_get_response.py index 69cb1fcb407..e42ca4027c0 100644 --- a/msgraph_beta/generated/groups/item/team/channels/all_messages/all_messages_get_response.py +++ b/msgraph_beta/generated/groups/item/team/channels/all_messages/all_messages_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ......models.chat_message import ChatMessage + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/groups/item/team/channels/count/count_request_builder.py b/msgraph_beta/generated/groups/item/team/channels/count/count_request_builder.py index 3a32f7c4dfe..97f1932ba56 100644 --- a/msgraph_beta/generated/groups/item/team/channels/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/channels/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/team/channels/get_all_messages/get_all_messages_get_response.py b/msgraph_beta/generated/groups/item/team/channels/get_all_messages/get_all_messages_get_response.py index 743fbbbc659..b2d96c47ecd 100644 --- a/msgraph_beta/generated/groups/item/team/channels/get_all_messages/get_all_messages_get_response.py +++ b/msgraph_beta/generated/groups/item/team/channels/get_all_messages/get_all_messages_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ......models.chat_message import ChatMessage + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/groups/item/team/channels/get_all_retained_messages/get_all_retained_messages_get_response.py b/msgraph_beta/generated/groups/item/team/channels/get_all_retained_messages/get_all_retained_messages_get_response.py index ef204f71243..f5eb1125c37 100644 --- a/msgraph_beta/generated/groups/item/team/channels/get_all_retained_messages/get_all_retained_messages_get_response.py +++ b/msgraph_beta/generated/groups/item/team/channels/get_all_retained_messages/get_all_retained_messages_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ......models.chat_message import ChatMessage + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/groups/item/team/channels/item/members/add/add_post_request_body.py b/msgraph_beta/generated/groups/item/team/channels/item/members/add/add_post_request_body.py index 169ae41524a..ab7e9af2cb0 100644 --- a/msgraph_beta/generated/groups/item/team/channels/item/members/add/add_post_request_body.py +++ b/msgraph_beta/generated/groups/item/team/channels/item/members/add/add_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ........models.conversation_member import ConversationMember + writer.write_collection_of_object_values("values", self.values) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/groups/item/team/channels/item/members/add/add_post_response.py b/msgraph_beta/generated/groups/item/team/channels/item/members/add/add_post_response.py index 5eee4499256..ffa48911694 100644 --- a/msgraph_beta/generated/groups/item/team/channels/item/members/add/add_post_response.py +++ b/msgraph_beta/generated/groups/item/team/channels/item/members/add/add_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ........models.action_result_part import ActionResultPart + from ........models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/groups/item/team/channels/item/members/count/count_request_builder.py b/msgraph_beta/generated/groups/item/team/channels/item/members/count/count_request_builder.py index 3322fefe177..362182a5706 100644 --- a/msgraph_beta/generated/groups/item/team/channels/item/members/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/channels/item/members/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/team/channels/item/members/remove/remove_post_request_body.py b/msgraph_beta/generated/groups/item/team/channels/item/members/remove/remove_post_request_body.py index 86b17e2ee4d..5bb050c082d 100644 --- a/msgraph_beta/generated/groups/item/team/channels/item/members/remove/remove_post_request_body.py +++ b/msgraph_beta/generated/groups/item/team/channels/item/members/remove/remove_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ........models.conversation_member import ConversationMember + writer.write_collection_of_object_values("values", self.values) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/groups/item/team/channels/item/members/remove/remove_post_response.py b/msgraph_beta/generated/groups/item/team/channels/item/members/remove/remove_post_response.py index 124b45e29cd..6c47de51ac9 100644 --- a/msgraph_beta/generated/groups/item/team/channels/item/members/remove/remove_post_response.py +++ b/msgraph_beta/generated/groups/item/team/channels/item/members/remove/remove_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ........models.action_result_part import ActionResultPart + from ........models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/groups/item/team/channels/item/members/remove/remove_request_builder.py b/msgraph_beta/generated/groups/item/team/channels/item/members/remove/remove_request_builder.py index eb80a38a224..87bbb9d42df 100644 --- a/msgraph_beta/generated/groups/item/team/channels/item/members/remove/remove_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/channels/item/members/remove/remove_request_builder.py @@ -32,10 +32,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def post(self,body: RemovePostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[RemovePostResponse]: """ - Invoke action remove + Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[RemovePostResponse] + Find more info here: https://learn.microsoft.com/graph/api/conversationmember-remove?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -55,7 +56,7 @@ async def post(self,body: RemovePostRequestBody, request_configuration: Optional def to_post_request_information(self,body: RemovePostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Invoke action remove + Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/groups/item/team/channels/item/messages/count/count_request_builder.py b/msgraph_beta/generated/groups/item/team/channels/item/messages/count/count_request_builder.py index ba629c9236f..4e7bf97276e 100644 --- a/msgraph_beta/generated/groups/item/team/channels/item/messages/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/channels/item/messages/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/team/channels/item/messages/delta/delta_get_response.py b/msgraph_beta/generated/groups/item/team/channels/item/messages/delta/delta_get_response.py index cfcdda82a06..146b11a5c2b 100644 --- a/msgraph_beta/generated/groups/item/team/channels/item/messages/delta/delta_get_response.py +++ b/msgraph_beta/generated/groups/item/team/channels/item/messages/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ........models.base_delta_function_response import BaseDeltaFunctionResponse + from ........models.chat_message import ChatMessage + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/groups/item/team/channels/item/messages/item/hosted_contents/count/count_request_builder.py b/msgraph_beta/generated/groups/item/team/channels/item/messages/item/hosted_contents/count/count_request_builder.py index bba09e73dae..f57178801d4 100644 --- a/msgraph_beta/generated/groups/item/team/channels/item/messages/item/hosted_contents/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/channels/item/messages/item/hosted_contents/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/team/channels/item/messages/item/replies/count/count_request_builder.py b/msgraph_beta/generated/groups/item/team/channels/item/messages/item/replies/count/count_request_builder.py index f55dacf46e4..e54ec616462 100644 --- a/msgraph_beta/generated/groups/item/team/channels/item/messages/item/replies/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/channels/item/messages/item/replies/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/team/channels/item/messages/item/replies/delta/delta_get_response.py b/msgraph_beta/generated/groups/item/team/channels/item/messages/item/replies/delta/delta_get_response.py index 312926e971c..e95f9778408 100644 --- a/msgraph_beta/generated/groups/item/team/channels/item/messages/item/replies/delta/delta_get_response.py +++ b/msgraph_beta/generated/groups/item/team/channels/item/messages/item/replies/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..........models.base_delta_function_response import BaseDeltaFunctionResponse + from ..........models.chat_message import ChatMessage + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/groups/item/team/channels/item/messages/item/replies/item/hosted_contents/count/count_request_builder.py b/msgraph_beta/generated/groups/item/team/channels/item/messages/item/replies/item/hosted_contents/count/count_request_builder.py index dc6cc600c05..ef63477702c 100644 --- a/msgraph_beta/generated/groups/item/team/channels/item/messages/item/replies/item/hosted_contents/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/channels/item/messages/item/replies/item/hosted_contents/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/team/channels/item/shared_with_teams/count/count_request_builder.py b/msgraph_beta/generated/groups/item/team/channels/item/shared_with_teams/count/count_request_builder.py index 3096a9d1a4b..3ea244bb3fc 100644 --- a/msgraph_beta/generated/groups/item/team/channels/item/shared_with_teams/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/channels/item/shared_with_teams/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/team/channels/item/shared_with_teams/item/allowed_members/count/count_request_builder.py b/msgraph_beta/generated/groups/item/team/channels/item/shared_with_teams/item/allowed_members/count/count_request_builder.py index ffd8846bf90..246e5092482 100644 --- a/msgraph_beta/generated/groups/item/team/channels/item/shared_with_teams/item/allowed_members/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/channels/item/shared_with_teams/item/allowed_members/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/team/channels/item/tabs/count/count_request_builder.py b/msgraph_beta/generated/groups/item/team/channels/item/tabs/count/count_request_builder.py index 6bd686efc5c..e15e9627645 100644 --- a/msgraph_beta/generated/groups/item/team/channels/item/tabs/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/channels/item/tabs/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/team/clone/clone_post_request_body.py b/msgraph_beta/generated/groups/item/team/clone/clone_post_request_body.py index 892a1b6f04e..793a93e8492 100644 --- a/msgraph_beta/generated/groups/item/team/clone/clone_post_request_body.py +++ b/msgraph_beta/generated/groups/item/team/clone/clone_post_request_body.py @@ -68,6 +68,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.clonable_team_parts import ClonableTeamParts + from .....models.team_visibility_type import TeamVisibilityType + writer.write_str_value("classification", self.classification) writer.write_str_value("description", self.description) writer.write_str_value("displayName", self.display_name) diff --git a/msgraph_beta/generated/groups/item/team/group/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/groups/item/team/group/service_provisioning_errors/count/count_request_builder.py index 1b8b38a35cb..a5f0b160a49 100644 --- a/msgraph_beta/generated/groups/item/team/group/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/group/service_provisioning_errors/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/team/incoming_channels/count/count_request_builder.py b/msgraph_beta/generated/groups/item/team/incoming_channels/count/count_request_builder.py index 9cd42c4ac92..2bb22f34c74 100644 --- a/msgraph_beta/generated/groups/item/team/incoming_channels/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/incoming_channels/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/team/installed_apps/count/count_request_builder.py b/msgraph_beta/generated/groups/item/team/installed_apps/count/count_request_builder.py index d0c5cad3411..f31d5d2fc82 100644 --- a/msgraph_beta/generated/groups/item/team/installed_apps/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/installed_apps/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/team/installed_apps/item/upgrade/upgrade_post_request_body.py b/msgraph_beta/generated/groups/item/team/installed_apps/item/upgrade/upgrade_post_request_body.py index 004d9d8a19b..133c5453dba 100644 --- a/msgraph_beta/generated/groups/item/team/installed_apps/item/upgrade/upgrade_post_request_body.py +++ b/msgraph_beta/generated/groups/item/team/installed_apps/item/upgrade/upgrade_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .......models.teams_app_permission_set import TeamsAppPermissionSet + writer.write_object_value("consentedPermissionSet", self.consented_permission_set) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/groups/item/team/members/add/add_post_request_body.py b/msgraph_beta/generated/groups/item/team/members/add/add_post_request_body.py index 032237a2269..c8befc22279 100644 --- a/msgraph_beta/generated/groups/item/team/members/add/add_post_request_body.py +++ b/msgraph_beta/generated/groups/item/team/members/add/add_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ......models.conversation_member import ConversationMember + writer.write_collection_of_object_values("values", self.values) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/groups/item/team/members/add/add_post_response.py b/msgraph_beta/generated/groups/item/team/members/add/add_post_response.py index 13e1287093e..8d9ff833dae 100644 --- a/msgraph_beta/generated/groups/item/team/members/add/add_post_response.py +++ b/msgraph_beta/generated/groups/item/team/members/add/add_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ......models.action_result_part import ActionResultPart + from ......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/groups/item/team/members/count/count_request_builder.py b/msgraph_beta/generated/groups/item/team/members/count/count_request_builder.py index f576ef7d405..a86fac61ea0 100644 --- a/msgraph_beta/generated/groups/item/team/members/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/members/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/team/members/remove/remove_post_request_body.py b/msgraph_beta/generated/groups/item/team/members/remove/remove_post_request_body.py index 4d3d5f54c90..f323b0d9e70 100644 --- a/msgraph_beta/generated/groups/item/team/members/remove/remove_post_request_body.py +++ b/msgraph_beta/generated/groups/item/team/members/remove/remove_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ......models.conversation_member import ConversationMember + writer.write_collection_of_object_values("values", self.values) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/groups/item/team/members/remove/remove_post_response.py b/msgraph_beta/generated/groups/item/team/members/remove/remove_post_response.py index d2fb0b283dc..1d070f42a99 100644 --- a/msgraph_beta/generated/groups/item/team/members/remove/remove_post_response.py +++ b/msgraph_beta/generated/groups/item/team/members/remove/remove_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ......models.action_result_part import ActionResultPart + from ......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/groups/item/team/members/remove/remove_request_builder.py b/msgraph_beta/generated/groups/item/team/members/remove/remove_request_builder.py index aa3d97a2cf1..45853afad77 100644 --- a/msgraph_beta/generated/groups/item/team/members/remove/remove_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/members/remove/remove_request_builder.py @@ -32,10 +32,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def post(self,body: RemovePostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[RemovePostResponse]: """ - Invoke action remove + Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[RemovePostResponse] + Find more info here: https://learn.microsoft.com/graph/api/conversationmember-remove?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -55,7 +56,7 @@ async def post(self,body: RemovePostRequestBody, request_configuration: Optional def to_post_request_information(self,body: RemovePostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Invoke action remove + Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/groups/item/team/operations/count/count_request_builder.py b/msgraph_beta/generated/groups/item/team/operations/count/count_request_builder.py index 59e9f200a00..37f17084fd6 100644 --- a/msgraph_beta/generated/groups/item/team/operations/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/operations/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/team/owners/count/count_request_builder.py b/msgraph_beta/generated/groups/item/team/owners/count/count_request_builder.py index 462d525edda..ffc4c9b5fe1 100644 --- a/msgraph_beta/generated/groups/item/team/owners/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/owners/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/team/owners/item/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/groups/item/team/owners/item/service_provisioning_errors/count/count_request_builder.py index f14ffe460a7..263865d9353 100644 --- a/msgraph_beta/generated/groups/item/team/owners/item/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/owners/item/service_provisioning_errors/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/team/owners_with_user_principal_name/owners_with_user_principal_name_request_builder.py b/msgraph_beta/generated/groups/item/team/owners_with_user_principal_name/owners_with_user_principal_name_request_builder.py new file mode 100644 index 00000000000..d592037c637 --- /dev/null +++ b/msgraph_beta/generated/groups/item/team/owners_with_user_principal_name/owners_with_user_principal_name_request_builder.py @@ -0,0 +1,109 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from .....models.o_data_errors.o_data_error import ODataError + from .....models.user import User + +class OwnersWithUserPrincipalNameRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the owners property of the microsoft.graph.team entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]], user_principal_name: Optional[str] = None) -> None: + """ + Instantiates a new OwnersWithUserPrincipalNameRequestBuilder 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 user_principal_name: Alternate key of user + Returns: None + """ + if isinstance(path_parameters, dict): + path_parameters['userPrincipalName'] = user_principal_name + super().__init__(request_adapter, "{+baseurl}/groups/{group%2Did}/team/owners(userPrincipalName='{userPrincipalName}'){?%24expand,%24select}", path_parameters) + + async def get(self,request_configuration: Optional[RequestConfiguration[OwnersWithUserPrincipalNameRequestBuilderGetQueryParameters]] = None) -> Optional[User]: + """ + The list of this team's owners. Currently, when creating a team using application permissions, exactly one owner must be specified. When using user-delegated permissions, no owner can be specified (the current user is the owner). The owner must be specified as an object ID (GUID), not a UPN. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[User] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from .....models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .....models.user import User + + return await self.request_adapter.send_async(request_info, User, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[OwnersWithUserPrincipalNameRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + The list of this team's owners. Currently, when creating a team using application permissions, exactly one owner must be specified. When using user-delegated permissions, no owner can be specified (the current user is the owner). The owner must be specified as an object ID (GUID), not a UPN. + 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) -> OwnersWithUserPrincipalNameRequestBuilder: + """ + 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: OwnersWithUserPrincipalNameRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return OwnersWithUserPrincipalNameRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class OwnersWithUserPrincipalNameRequestBuilderGetQueryParameters(): + """ + The list of this team's owners. Currently, when creating a team using application permissions, exactly one owner must be specified. When using user-delegated permissions, no owner can be specified (the current user is the owner). The owner must be specified as an object ID (GUID), not a UPN. + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "expand": + return "%24expand" + if original_name == "select": + return "%24select" + return original_name + + # Expand related entities + expand: Optional[List[str]] = None + + # Select properties to be returned + select: Optional[List[str]] = None + + + @dataclass + class OwnersWithUserPrincipalNameRequestBuilderGetRequestConfiguration(RequestConfiguration[OwnersWithUserPrincipalNameRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/groups/item/team/permission_grants/count/count_request_builder.py b/msgraph_beta/generated/groups/item/team/permission_grants/count/count_request_builder.py index 8cc453feee5..fd11a096ae7 100644 --- a/msgraph_beta/generated/groups/item/team/permission_grants/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/permission_grants/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/team/primary_channel/members/add/add_post_request_body.py b/msgraph_beta/generated/groups/item/team/primary_channel/members/add/add_post_request_body.py index d47b3a79d34..5bac3d6b0b2 100644 --- a/msgraph_beta/generated/groups/item/team/primary_channel/members/add/add_post_request_body.py +++ b/msgraph_beta/generated/groups/item/team/primary_channel/members/add/add_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .......models.conversation_member import ConversationMember + writer.write_collection_of_object_values("values", self.values) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/groups/item/team/primary_channel/members/add/add_post_response.py b/msgraph_beta/generated/groups/item/team/primary_channel/members/add/add_post_response.py index 2ba15416a40..3c30081ed47 100644 --- a/msgraph_beta/generated/groups/item/team/primary_channel/members/add/add_post_response.py +++ b/msgraph_beta/generated/groups/item/team/primary_channel/members/add/add_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .......models.action_result_part import ActionResultPart + from .......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/groups/item/team/primary_channel/members/count/count_request_builder.py b/msgraph_beta/generated/groups/item/team/primary_channel/members/count/count_request_builder.py index 7c2641c9d83..df1940ae426 100644 --- a/msgraph_beta/generated/groups/item/team/primary_channel/members/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/primary_channel/members/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/team/primary_channel/members/remove/remove_post_request_body.py b/msgraph_beta/generated/groups/item/team/primary_channel/members/remove/remove_post_request_body.py index ce66f9c3264..d3fb68b63dc 100644 --- a/msgraph_beta/generated/groups/item/team/primary_channel/members/remove/remove_post_request_body.py +++ b/msgraph_beta/generated/groups/item/team/primary_channel/members/remove/remove_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .......models.conversation_member import ConversationMember + writer.write_collection_of_object_values("values", self.values) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/groups/item/team/primary_channel/members/remove/remove_post_response.py b/msgraph_beta/generated/groups/item/team/primary_channel/members/remove/remove_post_response.py index f441faaa65d..ea8d30b211c 100644 --- a/msgraph_beta/generated/groups/item/team/primary_channel/members/remove/remove_post_response.py +++ b/msgraph_beta/generated/groups/item/team/primary_channel/members/remove/remove_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .......models.action_result_part import ActionResultPart + from .......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/groups/item/team/primary_channel/members/remove/remove_request_builder.py b/msgraph_beta/generated/groups/item/team/primary_channel/members/remove/remove_request_builder.py index 8ca37e31378..cc996e29dbe 100644 --- a/msgraph_beta/generated/groups/item/team/primary_channel/members/remove/remove_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/primary_channel/members/remove/remove_request_builder.py @@ -32,10 +32,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def post(self,body: RemovePostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[RemovePostResponse]: """ - Invoke action remove + Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[RemovePostResponse] + Find more info here: https://learn.microsoft.com/graph/api/conversationmember-remove?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -55,7 +56,7 @@ async def post(self,body: RemovePostRequestBody, request_configuration: Optional def to_post_request_information(self,body: RemovePostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Invoke action remove + Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/groups/item/team/primary_channel/messages/count/count_request_builder.py b/msgraph_beta/generated/groups/item/team/primary_channel/messages/count/count_request_builder.py index a586b0fc60c..3779fddbdce 100644 --- a/msgraph_beta/generated/groups/item/team/primary_channel/messages/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/primary_channel/messages/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/team/primary_channel/messages/delta/delta_get_response.py b/msgraph_beta/generated/groups/item/team/primary_channel/messages/delta/delta_get_response.py index f638a691ec9..6ba0c1fed79 100644 --- a/msgraph_beta/generated/groups/item/team/primary_channel/messages/delta/delta_get_response.py +++ b/msgraph_beta/generated/groups/item/team/primary_channel/messages/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .......models.base_delta_function_response import BaseDeltaFunctionResponse + from .......models.chat_message import ChatMessage + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/groups/item/team/primary_channel/messages/item/hosted_contents/count/count_request_builder.py b/msgraph_beta/generated/groups/item/team/primary_channel/messages/item/hosted_contents/count/count_request_builder.py index 9e9301f6b15..c13d005d865 100644 --- a/msgraph_beta/generated/groups/item/team/primary_channel/messages/item/hosted_contents/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/primary_channel/messages/item/hosted_contents/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/team/primary_channel/messages/item/replies/count/count_request_builder.py b/msgraph_beta/generated/groups/item/team/primary_channel/messages/item/replies/count/count_request_builder.py index d80bc0b070d..6f7c0faa442 100644 --- a/msgraph_beta/generated/groups/item/team/primary_channel/messages/item/replies/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/primary_channel/messages/item/replies/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/team/primary_channel/messages/item/replies/delta/delta_get_response.py b/msgraph_beta/generated/groups/item/team/primary_channel/messages/item/replies/delta/delta_get_response.py index 19a8aeb706c..7a53690ae47 100644 --- a/msgraph_beta/generated/groups/item/team/primary_channel/messages/item/replies/delta/delta_get_response.py +++ b/msgraph_beta/generated/groups/item/team/primary_channel/messages/item/replies/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .........models.base_delta_function_response import BaseDeltaFunctionResponse + from .........models.chat_message import ChatMessage + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/groups/item/team/primary_channel/messages/item/replies/item/hosted_contents/count/count_request_builder.py b/msgraph_beta/generated/groups/item/team/primary_channel/messages/item/replies/item/hosted_contents/count/count_request_builder.py index 1e5d5afc42a..f1626daff7a 100644 --- a/msgraph_beta/generated/groups/item/team/primary_channel/messages/item/replies/item/hosted_contents/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/primary_channel/messages/item/replies/item/hosted_contents/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/team/primary_channel/shared_with_teams/count/count_request_builder.py b/msgraph_beta/generated/groups/item/team/primary_channel/shared_with_teams/count/count_request_builder.py index 6358b669635..cbd91ad6b6b 100644 --- a/msgraph_beta/generated/groups/item/team/primary_channel/shared_with_teams/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/primary_channel/shared_with_teams/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/team/primary_channel/shared_with_teams/item/allowed_members/count/count_request_builder.py b/msgraph_beta/generated/groups/item/team/primary_channel/shared_with_teams/item/allowed_members/count/count_request_builder.py index bba2a109312..0036453dc0b 100644 --- a/msgraph_beta/generated/groups/item/team/primary_channel/shared_with_teams/item/allowed_members/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/primary_channel/shared_with_teams/item/allowed_members/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/team/primary_channel/tabs/count/count_request_builder.py b/msgraph_beta/generated/groups/item/team/primary_channel/tabs/count/count_request_builder.py index 3f124ca57ba..2151ec8f734 100644 --- a/msgraph_beta/generated/groups/item/team/primary_channel/tabs/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/primary_channel/tabs/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/team/schedule/day_notes/count/count_request_builder.py b/msgraph_beta/generated/groups/item/team/schedule/day_notes/count/count_request_builder.py index dee9f53f7c7..5a2d28f92d2 100644 --- a/msgraph_beta/generated/groups/item/team/schedule/day_notes/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/schedule/day_notes/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/team/schedule/offer_shift_requests/count/count_request_builder.py b/msgraph_beta/generated/groups/item/team/schedule/offer_shift_requests/count/count_request_builder.py index 0fe26a3a7c4..c2bf992dd66 100644 --- a/msgraph_beta/generated/groups/item/team/schedule/offer_shift_requests/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/schedule/offer_shift_requests/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/team/schedule/open_shift_change_requests/count/count_request_builder.py b/msgraph_beta/generated/groups/item/team/schedule/open_shift_change_requests/count/count_request_builder.py index 12d291f3b5d..3eabddb43ce 100644 --- a/msgraph_beta/generated/groups/item/team/schedule/open_shift_change_requests/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/schedule/open_shift_change_requests/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/team/schedule/open_shifts/count/count_request_builder.py b/msgraph_beta/generated/groups/item/team/schedule/open_shifts/count/count_request_builder.py index 3e83ab967c5..719b7e0cd32 100644 --- a/msgraph_beta/generated/groups/item/team/schedule/open_shifts/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/schedule/open_shifts/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/team/schedule/scheduling_groups/count/count_request_builder.py b/msgraph_beta/generated/groups/item/team/schedule/scheduling_groups/count/count_request_builder.py index 8fcf5fdaaa8..905fac44f0f 100644 --- a/msgraph_beta/generated/groups/item/team/schedule/scheduling_groups/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/schedule/scheduling_groups/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/team/schedule/shifts/count/count_request_builder.py b/msgraph_beta/generated/groups/item/team/schedule/shifts/count/count_request_builder.py index d016e5945d9..febc37b6a66 100644 --- a/msgraph_beta/generated/groups/item/team/schedule/shifts/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/schedule/shifts/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/team/schedule/shifts_role_definitions/count/count_request_builder.py b/msgraph_beta/generated/groups/item/team/schedule/shifts_role_definitions/count/count_request_builder.py index de3fc04e944..5a786370e24 100644 --- a/msgraph_beta/generated/groups/item/team/schedule/shifts_role_definitions/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/schedule/shifts_role_definitions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/team/schedule/swap_shifts_change_requests/count/count_request_builder.py b/msgraph_beta/generated/groups/item/team/schedule/swap_shifts_change_requests/count/count_request_builder.py index 6f74557bb71..efbd67f1c27 100644 --- a/msgraph_beta/generated/groups/item/team/schedule/swap_shifts_change_requests/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/schedule/swap_shifts_change_requests/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/team/schedule/time_cards/clock_in/clock_in_post_request_body.py b/msgraph_beta/generated/groups/item/team/schedule/time_cards/clock_in/clock_in_post_request_body.py index f3fd663b0ea..46dda4d71b5 100644 --- a/msgraph_beta/generated/groups/item/team/schedule/time_cards/clock_in/clock_in_post_request_body.py +++ b/msgraph_beta/generated/groups/item/team/schedule/time_cards/clock_in/clock_in_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .......models.item_body import ItemBody + writer.write_bool_value("atApprovedLocation", self.at_approved_location) writer.write_object_value("notes", self.notes) writer.write_str_value("onBehalfOfUserId", self.on_behalf_of_user_id) diff --git a/msgraph_beta/generated/groups/item/team/schedule/time_cards/count/count_request_builder.py b/msgraph_beta/generated/groups/item/team/schedule/time_cards/count/count_request_builder.py index a6241a07016..66bea28e101 100644 --- a/msgraph_beta/generated/groups/item/team/schedule/time_cards/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/schedule/time_cards/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/team/schedule/time_cards/item/clock_out/clock_out_post_request_body.py b/msgraph_beta/generated/groups/item/team/schedule/time_cards/item/clock_out/clock_out_post_request_body.py index abf757cd1d0..29f2558c14e 100644 --- a/msgraph_beta/generated/groups/item/team/schedule/time_cards/item/clock_out/clock_out_post_request_body.py +++ b/msgraph_beta/generated/groups/item/team/schedule/time_cards/item/clock_out/clock_out_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ........models.item_body import ItemBody + writer.write_bool_value("atApprovedLocation", self.at_approved_location) writer.write_object_value("notes", self.notes) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/groups/item/team/schedule/time_cards/item/end_break/end_break_post_request_body.py b/msgraph_beta/generated/groups/item/team/schedule/time_cards/item/end_break/end_break_post_request_body.py index 692885062c5..412d12a4eb3 100644 --- a/msgraph_beta/generated/groups/item/team/schedule/time_cards/item/end_break/end_break_post_request_body.py +++ b/msgraph_beta/generated/groups/item/team/schedule/time_cards/item/end_break/end_break_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ........models.item_body import ItemBody + writer.write_bool_value("atApprovedLocation", self.at_approved_location) writer.write_object_value("notes", self.notes) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/groups/item/team/schedule/time_cards/item/start_break/start_break_post_request_body.py b/msgraph_beta/generated/groups/item/team/schedule/time_cards/item/start_break/start_break_post_request_body.py index ed596e3a2d0..5126bd71b0c 100644 --- a/msgraph_beta/generated/groups/item/team/schedule/time_cards/item/start_break/start_break_post_request_body.py +++ b/msgraph_beta/generated/groups/item/team/schedule/time_cards/item/start_break/start_break_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ........models.item_body import ItemBody + writer.write_bool_value("atApprovedLocation", self.at_approved_location) writer.write_object_value("notes", self.notes) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/groups/item/team/schedule/time_off_reasons/count/count_request_builder.py b/msgraph_beta/generated/groups/item/team/schedule/time_off_reasons/count/count_request_builder.py index 048ec92a98d..4d5c4cfca6b 100644 --- a/msgraph_beta/generated/groups/item/team/schedule/time_off_reasons/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/schedule/time_off_reasons/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/team/schedule/time_off_requests/count/count_request_builder.py b/msgraph_beta/generated/groups/item/team/schedule/time_off_requests/count/count_request_builder.py index cd76535420b..cbb23a3a58e 100644 --- a/msgraph_beta/generated/groups/item/team/schedule/time_off_requests/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/schedule/time_off_requests/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/team/schedule/times_off/count/count_request_builder.py b/msgraph_beta/generated/groups/item/team/schedule/times_off/count/count_request_builder.py index cc6f959d986..110f9f883b1 100644 --- a/msgraph_beta/generated/groups/item/team/schedule/times_off/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/schedule/times_off/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/team/send_activity_notification/send_activity_notification_post_request_body.py b/msgraph_beta/generated/groups/item/team/send_activity_notification/send_activity_notification_post_request_body.py index a9b8846ca54..057d6caa406 100644 --- a/msgraph_beta/generated/groups/item/team/send_activity_notification/send_activity_notification_post_request_body.py +++ b/msgraph_beta/generated/groups/item/team/send_activity_notification/send_activity_notification_post_request_body.py @@ -77,6 +77,11 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.item_body import ItemBody + from .....models.key_value_pair import KeyValuePair + from .....models.teamwork_activity_topic import TeamworkActivityTopic + from .....models.teamwork_notification_recipient import TeamworkNotificationRecipient + writer.write_str_value("activityType", self.activity_type) writer.write_int_value("chainId", self.chain_id) writer.write_object_value("previewText", self.preview_text) diff --git a/msgraph_beta/generated/groups/item/team/tags/count/count_request_builder.py b/msgraph_beta/generated/groups/item/team/tags/count/count_request_builder.py index 57573706b24..c4663039c37 100644 --- a/msgraph_beta/generated/groups/item/team/tags/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/tags/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/team/tags/item/members/count/count_request_builder.py b/msgraph_beta/generated/groups/item/team/tags/item/members/count/count_request_builder.py index d88e44f6893..61b11b5a96f 100644 --- a/msgraph_beta/generated/groups/item/team/tags/item/members/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/tags/item/members/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/team/team_request_builder.py b/msgraph_beta/generated/groups/item/team/team_request_builder.py index 0fbebd36056..75ec6d5ee33 100644 --- a/msgraph_beta/generated/groups/item/team/team_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/team_request_builder.py @@ -26,6 +26,7 @@ from .members.members_request_builder import MembersRequestBuilder from .operations.operations_request_builder import OperationsRequestBuilder from .owners.owners_request_builder import OwnersRequestBuilder + from .owners_with_user_principal_name.owners_with_user_principal_name_request_builder import OwnersWithUserPrincipalNameRequestBuilder from .permission_grants.permission_grants_request_builder import PermissionGrantsRequestBuilder from .photo.photo_request_builder import PhotoRequestBuilder from .primary_channel.primary_channel_request_builder import PrimaryChannelRequestBuilder @@ -87,6 +88,18 @@ async def get(self,request_configuration: Optional[RequestConfiguration[TeamRequ return await self.request_adapter.send_async(request_info, Team, error_mapping) + def owners_with_user_principal_name(self,user_principal_name: str) -> OwnersWithUserPrincipalNameRequestBuilder: + """ + Provides operations to manage the owners property of the microsoft.graph.team entity. + param user_principal_name: Alternate key of user + Returns: OwnersWithUserPrincipalNameRequestBuilder + """ + if user_principal_name is None: + raise TypeError("user_principal_name cannot be null.") + from .owners_with_user_principal_name.owners_with_user_principal_name_request_builder import OwnersWithUserPrincipalNameRequestBuilder + + return OwnersWithUserPrincipalNameRequestBuilder(self.request_adapter, self.path_parameters, user_principal_name) + async def put(self,body: Team, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[Team]: """ Create a new team from a group. In order to create a team, the group must have a least one owner. If the creation of the team call is delayed, you can retry the call up to three times before you have to wait for 15 minutes due to a propagation delay. If the group was created less than 15 minutes ago, the call might fail with a 404 error code due to replication delays. If the group was created less than 15 minutes ago, it's possible for a call to create a team to fail with a 404 error code, due to ongoing replication delays.The recommended pattern is to retry the Create team call three times, with a 10 second delay between calls. diff --git a/msgraph_beta/generated/groups/item/threads/count/count_request_builder.py b/msgraph_beta/generated/groups/item/threads/count/count_request_builder.py index 2a42a5e284c..fd1d94e3322 100644 --- a/msgraph_beta/generated/groups/item/threads/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/threads/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/threads/item/conversation_thread_item_request_builder.py b/msgraph_beta/generated/groups/item/threads/item/conversation_thread_item_request_builder.py index f92f08eef12..7aa01bea040 100644 --- a/msgraph_beta/generated/groups/item/threads/item/conversation_thread_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/threads/item/conversation_thread_item_request_builder.py @@ -52,10 +52,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[ConversationThreadItemRequestBuilderGetQueryParameters]] = None) -> Optional[ConversationThread]: """ - Get a thread object. + Get a specific thread that belongs to a group. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ConversationThread] - Find more info here: https://learn.microsoft.com/graph/api/group-get-thread?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/conversationthread-get?view=graph-rest-beta """ request_info = self.to_get_request_information( request_configuration @@ -108,7 +108,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 """ @@ -170,7 +170,7 @@ class ConversationThreadItemRequestBuilderDeleteRequestConfiguration(RequestConf @dataclass class ConversationThreadItemRequestBuilderGetQueryParameters(): """ - Get a thread object. + Get a specific thread that belongs to a group. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/groups/item/threads/item/posts/count/count_request_builder.py b/msgraph_beta/generated/groups/item/threads/item/posts/count/count_request_builder.py index 6c234f13698..1fbc7922fa7 100644 --- a/msgraph_beta/generated/groups/item/threads/item/posts/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/threads/item/posts/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/threads/item/posts/item/attachments/count/count_request_builder.py b/msgraph_beta/generated/groups/item/threads/item/posts/item/attachments/count/count_request_builder.py index 979fa5dc3b0..4404924069a 100644 --- a/msgraph_beta/generated/groups/item/threads/item/posts/item/attachments/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/threads/item/posts/item/attachments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/threads/item/posts/item/attachments/create_upload_session/create_upload_session_post_request_body.py b/msgraph_beta/generated/groups/item/threads/item/posts/item/attachments/create_upload_session/create_upload_session_post_request_body.py index 2dccea4559f..23154d22cc3 100644 --- a/msgraph_beta/generated/groups/item/threads/item/posts/item/attachments/create_upload_session/create_upload_session_post_request_body.py +++ b/msgraph_beta/generated/groups/item/threads/item/posts/item/attachments/create_upload_session/create_upload_session_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .........models.attachment_item import AttachmentItem + writer.write_object_value("AttachmentItem", self.attachment_item) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/groups/item/threads/item/posts/item/extensions/count/count_request_builder.py b/msgraph_beta/generated/groups/item/threads/item/posts/item/extensions/count/count_request_builder.py index b0f711bad67..b57c84cc8bc 100644 --- a/msgraph_beta/generated/groups/item/threads/item/posts/item/extensions/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/threads/item/posts/item/extensions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/threads/item/posts/item/forward/forward_post_request_body.py b/msgraph_beta/generated/groups/item/threads/item/posts/item/forward/forward_post_request_body.py index c6dc81f4080..a46731eaf35 100644 --- a/msgraph_beta/generated/groups/item/threads/item/posts/item/forward/forward_post_request_body.py +++ b/msgraph_beta/generated/groups/item/threads/item/posts/item/forward/forward_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ........models.recipient import Recipient + writer.write_str_value("Comment", self.comment) writer.write_collection_of_object_values("ToRecipients", self.to_recipients) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/groups/item/threads/item/posts/item/in_reply_to/attachments/count/count_request_builder.py b/msgraph_beta/generated/groups/item/threads/item/posts/item/in_reply_to/attachments/count/count_request_builder.py index b6c28292d23..5afba6da38b 100644 --- a/msgraph_beta/generated/groups/item/threads/item/posts/item/in_reply_to/attachments/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/threads/item/posts/item/in_reply_to/attachments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/threads/item/posts/item/in_reply_to/attachments/create_upload_session/create_upload_session_post_request_body.py b/msgraph_beta/generated/groups/item/threads/item/posts/item/in_reply_to/attachments/create_upload_session/create_upload_session_post_request_body.py index 1afb99d1e9b..1ac6a8ee63b 100644 --- a/msgraph_beta/generated/groups/item/threads/item/posts/item/in_reply_to/attachments/create_upload_session/create_upload_session_post_request_body.py +++ b/msgraph_beta/generated/groups/item/threads/item/posts/item/in_reply_to/attachments/create_upload_session/create_upload_session_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ..........models.attachment_item import AttachmentItem + writer.write_object_value("AttachmentItem", self.attachment_item) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/groups/item/threads/item/posts/item/in_reply_to/extensions/count/count_request_builder.py b/msgraph_beta/generated/groups/item/threads/item/posts/item/in_reply_to/extensions/count/count_request_builder.py index 70573504134..fafda68110d 100644 --- a/msgraph_beta/generated/groups/item/threads/item/posts/item/in_reply_to/extensions/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/threads/item/posts/item/in_reply_to/extensions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/threads/item/posts/item/in_reply_to/forward/forward_post_request_body.py b/msgraph_beta/generated/groups/item/threads/item/posts/item/in_reply_to/forward/forward_post_request_body.py index 076d53b1bce..cf4d15d42c1 100644 --- a/msgraph_beta/generated/groups/item/threads/item/posts/item/in_reply_to/forward/forward_post_request_body.py +++ b/msgraph_beta/generated/groups/item/threads/item/posts/item/in_reply_to/forward/forward_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .........models.recipient import Recipient + writer.write_str_value("Comment", self.comment) writer.write_collection_of_object_values("ToRecipients", self.to_recipients) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/groups/item/threads/item/posts/item/in_reply_to/mentions/count/count_request_builder.py b/msgraph_beta/generated/groups/item/threads/item/posts/item/in_reply_to/mentions/count/count_request_builder.py index 7e6763bef65..c5e97575858 100644 --- a/msgraph_beta/generated/groups/item/threads/item/posts/item/in_reply_to/mentions/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/threads/item/posts/item/in_reply_to/mentions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/threads/item/posts/item/in_reply_to/reply/reply_post_request_body.py b/msgraph_beta/generated/groups/item/threads/item/posts/item/in_reply_to/reply/reply_post_request_body.py index d5239e5ed77..4aac7671d45 100644 --- a/msgraph_beta/generated/groups/item/threads/item/posts/item/in_reply_to/reply/reply_post_request_body.py +++ b/msgraph_beta/generated/groups/item/threads/item/posts/item/in_reply_to/reply/reply_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .........models.post import Post + writer.write_object_value("Post", self.post) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/groups/item/threads/item/posts/item/mentions/count/count_request_builder.py b/msgraph_beta/generated/groups/item/threads/item/posts/item/mentions/count/count_request_builder.py index ccb419f8146..6393ac2c61e 100644 --- a/msgraph_beta/generated/groups/item/threads/item/posts/item/mentions/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/threads/item/posts/item/mentions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/threads/item/posts/item/reply/reply_post_request_body.py b/msgraph_beta/generated/groups/item/threads/item/posts/item/reply/reply_post_request_body.py index 00cf3b7ca4f..68764ceb003 100644 --- a/msgraph_beta/generated/groups/item/threads/item/posts/item/reply/reply_post_request_body.py +++ b/msgraph_beta/generated/groups/item/threads/item/posts/item/reply/reply_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ........models.post import Post + writer.write_object_value("Post", self.post) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/groups/item/threads/item/reply/reply_post_request_body.py b/msgraph_beta/generated/groups/item/threads/item/reply/reply_post_request_body.py index 394f26964a9..44fc6a90398 100644 --- a/msgraph_beta/generated/groups/item/threads/item/reply/reply_post_request_body.py +++ b/msgraph_beta/generated/groups/item/threads/item/reply/reply_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ......models.post import Post + writer.write_object_value("Post", self.post) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/groups/item/threads/item/reply/reply_request_builder.py b/msgraph_beta/generated/groups/item/threads/item/reply/reply_request_builder.py index 5f4b4b464de..201affd5c05 100644 --- a/msgraph_beta/generated/groups/item/threads/item/reply/reply_request_builder.py +++ b/msgraph_beta/generated/groups/item/threads/item/reply/reply_request_builder.py @@ -31,11 +31,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def post(self,body: ReplyPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ - Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. + 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: None - Find more info here: https://learn.microsoft.com/graph/api/post-reply?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -53,7 +53,7 @@ async def post(self,body: ReplyPostRequestBody, request_configuration: Optional[ def to_post_request_information(self,body: ReplyPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. + 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_beta/generated/groups/item/transitive_member_of/count/count_request_builder.py b/msgraph_beta/generated/groups/item/transitive_member_of/count/count_request_builder.py index 113ad8a775b..3d6f4790a9b 100644 --- a/msgraph_beta/generated/groups/item/transitive_member_of/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/transitive_member_of/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/transitive_member_of/graph_administrative_unit/count/count_request_builder.py b/msgraph_beta/generated/groups/item/transitive_member_of/graph_administrative_unit/count/count_request_builder.py index 18b9e92425f..f583038699d 100644 --- a/msgraph_beta/generated/groups/item/transitive_member_of/graph_administrative_unit/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/transitive_member_of/graph_administrative_unit/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/transitive_member_of/graph_group/count/count_request_builder.py b/msgraph_beta/generated/groups/item/transitive_member_of/graph_group/count/count_request_builder.py index 8d84198788c..6b7634622e0 100644 --- a/msgraph_beta/generated/groups/item/transitive_member_of/graph_group/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/transitive_member_of/graph_group/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/transitive_members/count/count_request_builder.py b/msgraph_beta/generated/groups/item/transitive_members/count/count_request_builder.py index 4238ace8adb..4136679b0b0 100644 --- a/msgraph_beta/generated/groups/item/transitive_members/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/transitive_members/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/transitive_members/graph_application/count/count_request_builder.py b/msgraph_beta/generated/groups/item/transitive_members/graph_application/count/count_request_builder.py index 318646c7a50..b27f6b0d4f2 100644 --- a/msgraph_beta/generated/groups/item/transitive_members/graph_application/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/transitive_members/graph_application/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/transitive_members/graph_device/count/count_request_builder.py b/msgraph_beta/generated/groups/item/transitive_members/graph_device/count/count_request_builder.py index ba23b3af713..0788466b865 100644 --- a/msgraph_beta/generated/groups/item/transitive_members/graph_device/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/transitive_members/graph_device/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/transitive_members/graph_group/count/count_request_builder.py b/msgraph_beta/generated/groups/item/transitive_members/graph_group/count/count_request_builder.py index a4493eef927..3971ee0ea9e 100644 --- a/msgraph_beta/generated/groups/item/transitive_members/graph_group/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/transitive_members/graph_group/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/transitive_members/graph_org_contact/count/count_request_builder.py b/msgraph_beta/generated/groups/item/transitive_members/graph_org_contact/count/count_request_builder.py index 9d5ea6b8e27..f9d61395093 100644 --- a/msgraph_beta/generated/groups/item/transitive_members/graph_org_contact/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/transitive_members/graph_org_contact/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/transitive_members/graph_service_principal/count/count_request_builder.py b/msgraph_beta/generated/groups/item/transitive_members/graph_service_principal/count/count_request_builder.py index 0f15c33dfb4..f621847496c 100644 --- a/msgraph_beta/generated/groups/item/transitive_members/graph_service_principal/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/transitive_members/graph_service_principal/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/groups/item/transitive_members/graph_user/count/count_request_builder.py b/msgraph_beta/generated/groups/item/transitive_members/graph_user/count/count_request_builder.py index be0b3d15162..2267c0862d4 100644 --- a/msgraph_beta/generated/groups/item/transitive_members/graph_user/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/transitive_members/graph_user/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity/api_connectors/count/count_request_builder.py b/msgraph_beta/generated/identity/api_connectors/count/count_request_builder.py index d6cf29cfbfb..08ef932a05f 100644 --- a/msgraph_beta/generated/identity/api_connectors/count/count_request_builder.py +++ b/msgraph_beta/generated/identity/api_connectors/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity/authentication_event_listeners/count/count_request_builder.py b/msgraph_beta/generated/identity/authentication_event_listeners/count/count_request_builder.py index f65743b3756..a9aa6041514 100644 --- a/msgraph_beta/generated/identity/authentication_event_listeners/count/count_request_builder.py +++ b/msgraph_beta/generated/identity/authentication_event_listeners/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity/authentication_events_flows/count/count_request_builder.py b/msgraph_beta/generated/identity/authentication_events_flows/count/count_request_builder.py index d513ba0e105..80dcb1c2bcb 100644 --- a/msgraph_beta/generated/identity/authentication_events_flows/count/count_request_builder.py +++ b/msgraph_beta/generated/identity/authentication_events_flows/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity/authentication_events_flows/graph_external_users_self_service_sign_up_events_flow/count/count_request_builder.py b/msgraph_beta/generated/identity/authentication_events_flows/graph_external_users_self_service_sign_up_events_flow/count/count_request_builder.py index 5fa44f2b401..8afb3462bc3 100644 --- a/msgraph_beta/generated/identity/authentication_events_flows/graph_external_users_self_service_sign_up_events_flow/count/count_request_builder.py +++ b/msgraph_beta/generated/identity/authentication_events_flows/graph_external_users_self_service_sign_up_events_flow/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity/authentication_events_flows/item/conditions/applications/include_applications/count/count_request_builder.py b/msgraph_beta/generated/identity/authentication_events_flows/item/conditions/applications/include_applications/count/count_request_builder.py index c0c7be11d06..b1bdcb50c15 100644 --- a/msgraph_beta/generated/identity/authentication_events_flows/item/conditions/applications/include_applications/count/count_request_builder.py +++ b/msgraph_beta/generated/identity/authentication_events_flows/item/conditions/applications/include_applications/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity/authentication_events_flows/item/graph_external_users_self_service_sign_up_events_flow/conditions/applications/include_applications/count/count_request_builder.py b/msgraph_beta/generated/identity/authentication_events_flows/item/graph_external_users_self_service_sign_up_events_flow/conditions/applications/include_applications/count/count_request_builder.py index 0a3bff8154a..5dd1d2ccf5e 100644 --- a/msgraph_beta/generated/identity/authentication_events_flows/item/graph_external_users_self_service_sign_up_events_flow/conditions/applications/include_applications/count/count_request_builder.py +++ b/msgraph_beta/generated/identity/authentication_events_flows/item/graph_external_users_self_service_sign_up_events_flow/conditions/applications/include_applications/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity/authentication_events_flows/item/graph_external_users_self_service_sign_up_events_flow/on_attribute_collection/graph_on_attribute_collection_external_users_self_service_sign_up/attributes/count/count_request_builder.py b/msgraph_beta/generated/identity/authentication_events_flows/item/graph_external_users_self_service_sign_up_events_flow/on_attribute_collection/graph_on_attribute_collection_external_users_self_service_sign_up/attributes/count/count_request_builder.py index 3bacdbc06bb..70ed6165d9d 100644 --- a/msgraph_beta/generated/identity/authentication_events_flows/item/graph_external_users_self_service_sign_up_events_flow/on_attribute_collection/graph_on_attribute_collection_external_users_self_service_sign_up/attributes/count/count_request_builder.py +++ b/msgraph_beta/generated/identity/authentication_events_flows/item/graph_external_users_self_service_sign_up_events_flow/on_attribute_collection/graph_on_attribute_collection_external_users_self_service_sign_up/attributes/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity/authentication_events_flows/item/graph_external_users_self_service_sign_up_events_flow/on_authentication_method_load_start/graph_on_authentication_method_load_start_external_users_self_service_sign_up/identity_providers/count/count_request_builder.py b/msgraph_beta/generated/identity/authentication_events_flows/item/graph_external_users_self_service_sign_up_events_flow/on_authentication_method_load_start/graph_on_authentication_method_load_start_external_users_self_service_sign_up/identity_providers/count/count_request_builder.py index 7ac16679f70..d935bbd8e1d 100644 --- a/msgraph_beta/generated/identity/authentication_events_flows/item/graph_external_users_self_service_sign_up_events_flow/on_authentication_method_load_start/graph_on_authentication_method_load_start_external_users_self_service_sign_up/identity_providers/count/count_request_builder.py +++ b/msgraph_beta/generated/identity/authentication_events_flows/item/graph_external_users_self_service_sign_up_events_flow/on_authentication_method_load_start/graph_on_authentication_method_load_start_external_users_self_service_sign_up/identity_providers/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity/b2c_user_flows/count/count_request_builder.py b/msgraph_beta/generated/identity/b2c_user_flows/count/count_request_builder.py index 0b21ad8f883..859ca74a7ec 100644 --- a/msgraph_beta/generated/identity/b2c_user_flows/count/count_request_builder.py +++ b/msgraph_beta/generated/identity/b2c_user_flows/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity/b2c_user_flows/item/identity_providers/count/count_request_builder.py b/msgraph_beta/generated/identity/b2c_user_flows/item/identity_providers/count/count_request_builder.py index 5574945fdff..4d084fb707d 100644 --- a/msgraph_beta/generated/identity/b2c_user_flows/item/identity_providers/count/count_request_builder.py +++ b/msgraph_beta/generated/identity/b2c_user_flows/item/identity_providers/count/count_request_builder.py @@ -45,7 +45,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity/b2c_user_flows/item/languages/count/count_request_builder.py b/msgraph_beta/generated/identity/b2c_user_flows/item/languages/count/count_request_builder.py index 8e538635e67..d9f9fb9ac4c 100644 --- a/msgraph_beta/generated/identity/b2c_user_flows/item/languages/count/count_request_builder.py +++ b/msgraph_beta/generated/identity/b2c_user_flows/item/languages/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity/b2c_user_flows/item/languages/item/default_pages/count/count_request_builder.py b/msgraph_beta/generated/identity/b2c_user_flows/item/languages/item/default_pages/count/count_request_builder.py index 2ed8fbbdcea..3d285b31cb8 100644 --- a/msgraph_beta/generated/identity/b2c_user_flows/item/languages/item/default_pages/count/count_request_builder.py +++ b/msgraph_beta/generated/identity/b2c_user_flows/item/languages/item/default_pages/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity/b2c_user_flows/item/languages/item/overrides_pages/count/count_request_builder.py b/msgraph_beta/generated/identity/b2c_user_flows/item/languages/item/overrides_pages/count/count_request_builder.py index dc24552c700..0b58026c6b8 100644 --- a/msgraph_beta/generated/identity/b2c_user_flows/item/languages/item/overrides_pages/count/count_request_builder.py +++ b/msgraph_beta/generated/identity/b2c_user_flows/item/languages/item/overrides_pages/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity/b2c_user_flows/item/user_attribute_assignments/count/count_request_builder.py b/msgraph_beta/generated/identity/b2c_user_flows/item/user_attribute_assignments/count/count_request_builder.py index 9f66db64134..c8b1408c61b 100644 --- a/msgraph_beta/generated/identity/b2c_user_flows/item/user_attribute_assignments/count/count_request_builder.py +++ b/msgraph_beta/generated/identity/b2c_user_flows/item/user_attribute_assignments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity/b2c_user_flows/item/user_attribute_assignments/set_order/set_order_post_request_body.py b/msgraph_beta/generated/identity/b2c_user_flows/item/user_attribute_assignments/set_order/set_order_post_request_body.py index b8fcb27e8a5..c020be4e1d8 100644 --- a/msgraph_beta/generated/identity/b2c_user_flows/item/user_attribute_assignments/set_order/set_order_post_request_body.py +++ b/msgraph_beta/generated/identity/b2c_user_flows/item/user_attribute_assignments/set_order/set_order_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ......models.assignment_order import AssignmentOrder + writer.write_object_value("newAssignmentOrder", self.new_assignment_order) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/identity/b2c_user_flows/item/user_flow_identity_providers/count/count_request_builder.py b/msgraph_beta/generated/identity/b2c_user_flows/item/user_flow_identity_providers/count/count_request_builder.py index bd9cc05cc7d..95d00e0068a 100644 --- a/msgraph_beta/generated/identity/b2c_user_flows/item/user_flow_identity_providers/count/count_request_builder.py +++ b/msgraph_beta/generated/identity/b2c_user_flows/item/user_flow_identity_providers/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity/b2x_user_flows/count/count_request_builder.py b/msgraph_beta/generated/identity/b2x_user_flows/count/count_request_builder.py index 07c60ba3fbb..0298ba93591 100644 --- a/msgraph_beta/generated/identity/b2x_user_flows/count/count_request_builder.py +++ b/msgraph_beta/generated/identity/b2x_user_flows/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity/b2x_user_flows/item/api_connector_configuration/post_attribute_collection/ref/ref_request_builder.py b/msgraph_beta/generated/identity/b2x_user_flows/item/api_connector_configuration/post_attribute_collection/ref/ref_request_builder.py index ed8fc6013bc..cb6e0fc085e 100644 --- a/msgraph_beta/generated/identity/b2x_user_flows/item/api_connector_configuration/post_attribute_collection/ref/ref_request_builder.py +++ b/msgraph_beta/generated/identity/b2x_user_flows/item/api_connector_configuration/post_attribute_collection/ref/ref_request_builder.py @@ -63,7 +63,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[QueryPar } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "str", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, str, error_mapping) async def put(self,body: ReferenceUpdate, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ diff --git a/msgraph_beta/generated/identity/b2x_user_flows/item/api_connector_configuration/post_federation_signup/ref/ref_request_builder.py b/msgraph_beta/generated/identity/b2x_user_flows/item/api_connector_configuration/post_federation_signup/ref/ref_request_builder.py index b238c684625..f56c8353f4d 100644 --- a/msgraph_beta/generated/identity/b2x_user_flows/item/api_connector_configuration/post_federation_signup/ref/ref_request_builder.py +++ b/msgraph_beta/generated/identity/b2x_user_flows/item/api_connector_configuration/post_federation_signup/ref/ref_request_builder.py @@ -63,7 +63,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[QueryPar } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "str", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, str, error_mapping) async def put(self,body: ReferenceUpdate, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ diff --git a/msgraph_beta/generated/identity/b2x_user_flows/item/identity_providers/count/count_request_builder.py b/msgraph_beta/generated/identity/b2x_user_flows/item/identity_providers/count/count_request_builder.py index a4cabede2d4..3c9a2cd8e72 100644 --- a/msgraph_beta/generated/identity/b2x_user_flows/item/identity_providers/count/count_request_builder.py +++ b/msgraph_beta/generated/identity/b2x_user_flows/item/identity_providers/count/count_request_builder.py @@ -45,7 +45,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity/b2x_user_flows/item/languages/count/count_request_builder.py b/msgraph_beta/generated/identity/b2x_user_flows/item/languages/count/count_request_builder.py index 2564959c4b4..d137dfd47f3 100644 --- a/msgraph_beta/generated/identity/b2x_user_flows/item/languages/count/count_request_builder.py +++ b/msgraph_beta/generated/identity/b2x_user_flows/item/languages/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity/b2x_user_flows/item/languages/item/default_pages/count/count_request_builder.py b/msgraph_beta/generated/identity/b2x_user_flows/item/languages/item/default_pages/count/count_request_builder.py index 9fd0ad43c75..fff45c2eb42 100644 --- a/msgraph_beta/generated/identity/b2x_user_flows/item/languages/item/default_pages/count/count_request_builder.py +++ b/msgraph_beta/generated/identity/b2x_user_flows/item/languages/item/default_pages/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity/b2x_user_flows/item/languages/item/overrides_pages/count/count_request_builder.py b/msgraph_beta/generated/identity/b2x_user_flows/item/languages/item/overrides_pages/count/count_request_builder.py index 73749fda171..c0d4d1abd4a 100644 --- a/msgraph_beta/generated/identity/b2x_user_flows/item/languages/item/overrides_pages/count/count_request_builder.py +++ b/msgraph_beta/generated/identity/b2x_user_flows/item/languages/item/overrides_pages/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity/b2x_user_flows/item/user_attribute_assignments/count/count_request_builder.py b/msgraph_beta/generated/identity/b2x_user_flows/item/user_attribute_assignments/count/count_request_builder.py index 9c8ae6559a0..e8b9d28435f 100644 --- a/msgraph_beta/generated/identity/b2x_user_flows/item/user_attribute_assignments/count/count_request_builder.py +++ b/msgraph_beta/generated/identity/b2x_user_flows/item/user_attribute_assignments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity/b2x_user_flows/item/user_attribute_assignments/set_order/set_order_post_request_body.py b/msgraph_beta/generated/identity/b2x_user_flows/item/user_attribute_assignments/set_order/set_order_post_request_body.py index b8fcb27e8a5..c020be4e1d8 100644 --- a/msgraph_beta/generated/identity/b2x_user_flows/item/user_attribute_assignments/set_order/set_order_post_request_body.py +++ b/msgraph_beta/generated/identity/b2x_user_flows/item/user_attribute_assignments/set_order/set_order_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ......models.assignment_order import AssignmentOrder + writer.write_object_value("newAssignmentOrder", self.new_assignment_order) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/identity/b2x_user_flows/item/user_flow_identity_providers/count/count_request_builder.py b/msgraph_beta/generated/identity/b2x_user_flows/item/user_flow_identity_providers/count/count_request_builder.py index 2c3ba43a875..2328094e6b4 100644 --- a/msgraph_beta/generated/identity/b2x_user_flows/item/user_flow_identity_providers/count/count_request_builder.py +++ b/msgraph_beta/generated/identity/b2x_user_flows/item/user_flow_identity_providers/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity/conditional_access/authentication_context_class_references/count/count_request_builder.py b/msgraph_beta/generated/identity/conditional_access/authentication_context_class_references/count/count_request_builder.py index 147178ab357..11657f98b09 100644 --- a/msgraph_beta/generated/identity/conditional_access/authentication_context_class_references/count/count_request_builder.py +++ b/msgraph_beta/generated/identity/conditional_access/authentication_context_class_references/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity/conditional_access/authentication_strength/authentication_method_modes/count/count_request_builder.py b/msgraph_beta/generated/identity/conditional_access/authentication_strength/authentication_method_modes/count/count_request_builder.py index 5d9b454bbeb..bacd06cbbce 100644 --- a/msgraph_beta/generated/identity/conditional_access/authentication_strength/authentication_method_modes/count/count_request_builder.py +++ b/msgraph_beta/generated/identity/conditional_access/authentication_strength/authentication_method_modes/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity/conditional_access/authentication_strength/policies/count/count_request_builder.py b/msgraph_beta/generated/identity/conditional_access/authentication_strength/policies/count/count_request_builder.py index a406efe1731..691b7575187 100644 --- a/msgraph_beta/generated/identity/conditional_access/authentication_strength/policies/count/count_request_builder.py +++ b/msgraph_beta/generated/identity/conditional_access/authentication_strength/policies/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity/conditional_access/authentication_strength/policies/find_by_method_mode_with_authentication_method_modes/find_by_method_mode_with_authentication_method_modes_get_response.py b/msgraph_beta/generated/identity/conditional_access/authentication_strength/policies/find_by_method_mode_with_authentication_method_modes/find_by_method_mode_with_authentication_method_modes_get_response.py index 2b1d9d05be7..f09345581c1 100644 --- a/msgraph_beta/generated/identity/conditional_access/authentication_strength/policies/find_by_method_mode_with_authentication_method_modes/find_by_method_mode_with_authentication_method_modes_get_response.py +++ b/msgraph_beta/generated/identity/conditional_access/authentication_strength/policies/find_by_method_mode_with_authentication_method_modes/find_by_method_mode_with_authentication_method_modes_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ......models.authentication_strength_policy import AuthenticationStrengthPolicy + from ......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/identity/conditional_access/authentication_strength/policies/item/combination_configurations/count/count_request_builder.py b/msgraph_beta/generated/identity/conditional_access/authentication_strength/policies/item/combination_configurations/count/count_request_builder.py index b1a9ed316d7..f2c9b8423fa 100644 --- a/msgraph_beta/generated/identity/conditional_access/authentication_strength/policies/item/combination_configurations/count/count_request_builder.py +++ b/msgraph_beta/generated/identity/conditional_access/authentication_strength/policies/item/combination_configurations/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity/conditional_access/authentication_strength/policies/item/update_allowed_combinations/update_allowed_combinations_post_request_body.py b/msgraph_beta/generated/identity/conditional_access/authentication_strength/policies/item/update_allowed_combinations/update_allowed_combinations_post_request_body.py index e92ff6d2c1e..0e1e965120f 100644 --- a/msgraph_beta/generated/identity/conditional_access/authentication_strength/policies/item/update_allowed_combinations/update_allowed_combinations_post_request_body.py +++ b/msgraph_beta/generated/identity/conditional_access/authentication_strength/policies/item/update_allowed_combinations/update_allowed_combinations_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .......models.authentication_method_modes import AuthenticationMethodModes + writer.write_collection_of_enum_values("allowedCombinations", self.allowed_combinations) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/identity/conditional_access/authentication_strengths/authentication_method_modes/count/count_request_builder.py b/msgraph_beta/generated/identity/conditional_access/authentication_strengths/authentication_method_modes/count/count_request_builder.py index 12829adade5..707a07633e3 100644 --- a/msgraph_beta/generated/identity/conditional_access/authentication_strengths/authentication_method_modes/count/count_request_builder.py +++ b/msgraph_beta/generated/identity/conditional_access/authentication_strengths/authentication_method_modes/count/count_request_builder.py @@ -45,7 +45,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity/conditional_access/authentication_strengths/policies/count/count_request_builder.py b/msgraph_beta/generated/identity/conditional_access/authentication_strengths/policies/count/count_request_builder.py index b965ef2bf87..89021cda7ed 100644 --- a/msgraph_beta/generated/identity/conditional_access/authentication_strengths/policies/count/count_request_builder.py +++ b/msgraph_beta/generated/identity/conditional_access/authentication_strengths/policies/count/count_request_builder.py @@ -45,7 +45,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity/conditional_access/authentication_strengths/policies/find_by_method_mode_with_authentication_method_modes/find_by_method_mode_with_authentication_method_modes_get_response.py b/msgraph_beta/generated/identity/conditional_access/authentication_strengths/policies/find_by_method_mode_with_authentication_method_modes/find_by_method_mode_with_authentication_method_modes_get_response.py index 2b1d9d05be7..f09345581c1 100644 --- a/msgraph_beta/generated/identity/conditional_access/authentication_strengths/policies/find_by_method_mode_with_authentication_method_modes/find_by_method_mode_with_authentication_method_modes_get_response.py +++ b/msgraph_beta/generated/identity/conditional_access/authentication_strengths/policies/find_by_method_mode_with_authentication_method_modes/find_by_method_mode_with_authentication_method_modes_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ......models.authentication_strength_policy import AuthenticationStrengthPolicy + from ......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/identity/conditional_access/authentication_strengths/policies/item/combination_configurations/count/count_request_builder.py b/msgraph_beta/generated/identity/conditional_access/authentication_strengths/policies/item/combination_configurations/count/count_request_builder.py index 65a5d857db5..2040e94af19 100644 --- a/msgraph_beta/generated/identity/conditional_access/authentication_strengths/policies/item/combination_configurations/count/count_request_builder.py +++ b/msgraph_beta/generated/identity/conditional_access/authentication_strengths/policies/item/combination_configurations/count/count_request_builder.py @@ -45,7 +45,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity/conditional_access/authentication_strengths/policies/item/update_allowed_combinations/update_allowed_combinations_post_request_body.py b/msgraph_beta/generated/identity/conditional_access/authentication_strengths/policies/item/update_allowed_combinations/update_allowed_combinations_post_request_body.py index e92ff6d2c1e..0e1e965120f 100644 --- a/msgraph_beta/generated/identity/conditional_access/authentication_strengths/policies/item/update_allowed_combinations/update_allowed_combinations_post_request_body.py +++ b/msgraph_beta/generated/identity/conditional_access/authentication_strengths/policies/item/update_allowed_combinations/update_allowed_combinations_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .......models.authentication_method_modes import AuthenticationMethodModes + writer.write_collection_of_enum_values("allowedCombinations", self.allowed_combinations) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/identity/conditional_access/evaluate/evaluate_post_request_body.py b/msgraph_beta/generated/identity/conditional_access/evaluate/evaluate_post_request_body.py index 8aaad2ca370..fbc3d5b3ec8 100644 --- a/msgraph_beta/generated/identity/conditional_access/evaluate/evaluate_post_request_body.py +++ b/msgraph_beta/generated/identity/conditional_access/evaluate/evaluate_post_request_body.py @@ -65,6 +65,10 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ....models.conditional_access_context import ConditionalAccessContext + from ....models.conditional_access_what_if_conditions import ConditionalAccessWhatIfConditions + from ....models.conditional_access_what_if_subject import ConditionalAccessWhatIfSubject + writer.write_bool_value("appliedPoliciesOnly", self.applied_policies_only) writer.write_object_value("conditionalAccessContext", self.conditional_access_context) writer.write_object_value("conditionalAccessWhatIfConditions", self.conditional_access_what_if_conditions) diff --git a/msgraph_beta/generated/identity/conditional_access/evaluate/evaluate_post_response.py b/msgraph_beta/generated/identity/conditional_access/evaluate/evaluate_post_response.py index 43a1dc4d5b9..9591f847377 100644 --- a/msgraph_beta/generated/identity/conditional_access/evaluate/evaluate_post_response.py +++ b/msgraph_beta/generated/identity/conditional_access/evaluate/evaluate_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ....models.conditional_access_what_if_policy import ConditionalAccessWhatIfPolicy + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/identity/conditional_access/named_locations/count/count_request_builder.py b/msgraph_beta/generated/identity/conditional_access/named_locations/count/count_request_builder.py index cb8b1882656..0ca073b10f0 100644 --- a/msgraph_beta/generated/identity/conditional_access/named_locations/count/count_request_builder.py +++ b/msgraph_beta/generated/identity/conditional_access/named_locations/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity/conditional_access/named_locations/item/named_location_item_request_builder.py b/msgraph_beta/generated/identity/conditional_access/named_locations/item/named_location_item_request_builder.py index cf6c58924e6..033861f125f 100644 --- a/msgraph_beta/generated/identity/conditional_access/named_locations/item/named_location_item_request_builder.py +++ b/msgraph_beta/generated/identity/conditional_access/named_locations/item/named_location_item_request_builder.py @@ -31,10 +31,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ - Delete a countryNamedLocation object. + Delete a namedLocation object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None - Find more info here: https://learn.microsoft.com/graph/api/countrynamedlocation-delete?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/namedlocation-delete?view=graph-rest-beta """ request_info = self.to_delete_request_information( request_configuration @@ -50,10 +50,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[NamedLocationItemRequestBuilderGetQueryParameters]] = None) -> Optional[NamedLocation]: """ - Retrieve the properties and relationships of a countryNamedLocation 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/countrynamedlocation-get?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/ipnamedlocation-get?view=graph-rest-beta """ request_info = self.to_get_request_information( request_configuration @@ -71,11 +71,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[NamedLoc async def patch(self,body: NamedLocation, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[NamedLocation]: """ - Update the properties of a countryNamedLocation object. + Update the properties of an ipNamedLocation object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[NamedLocation] - Find more info here: https://learn.microsoft.com/graph/api/countrynamedlocation-update?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/ipnamedlocation-update?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -95,7 +95,7 @@ async def patch(self,body: NamedLocation, request_configuration: Optional[Reques def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Delete a countryNamedLocation object. + Delete a namedLocation object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -106,7 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[NamedLocationItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a countryNamedLocation 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 """ @@ -117,7 +117,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_patch_request_information(self,body: NamedLocation, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Update the properties of a countryNamedLocation object. + Update the properties of an ipNamedLocation object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -150,7 +150,7 @@ class NamedLocationItemRequestBuilderDeleteRequestConfiguration(RequestConfigura @dataclass class NamedLocationItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a countryNamedLocation object. + Retrieve the properties and relationships of an ipNamedLocation object. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/identity/conditional_access/policies/count/count_request_builder.py b/msgraph_beta/generated/identity/conditional_access/policies/count/count_request_builder.py index 8846ff342ee..5b7c0d8b905 100644 --- a/msgraph_beta/generated/identity/conditional_access/policies/count/count_request_builder.py +++ b/msgraph_beta/generated/identity/conditional_access/policies/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity/conditional_access/templates/count/count_request_builder.py b/msgraph_beta/generated/identity/conditional_access/templates/count/count_request_builder.py index 98758567e8d..2d36da94561 100644 --- a/msgraph_beta/generated/identity/conditional_access/templates/count/count_request_builder.py +++ b/msgraph_beta/generated/identity/conditional_access/templates/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity/custom_authentication_extensions/count/count_request_builder.py b/msgraph_beta/generated/identity/custom_authentication_extensions/count/count_request_builder.py index 0fb0073652a..03a248792da 100644 --- a/msgraph_beta/generated/identity/custom_authentication_extensions/count/count_request_builder.py +++ b/msgraph_beta/generated/identity/custom_authentication_extensions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity/custom_authentication_extensions/validate_authentication_configuration/validate_authentication_configuration_post_request_body.py b/msgraph_beta/generated/identity/custom_authentication_extensions/validate_authentication_configuration/validate_authentication_configuration_post_request_body.py index fbd2f2d13a6..c233d9b5da9 100644 --- a/msgraph_beta/generated/identity/custom_authentication_extensions/validate_authentication_configuration/validate_authentication_configuration_post_request_body.py +++ b/msgraph_beta/generated/identity/custom_authentication_extensions/validate_authentication_configuration/validate_authentication_configuration_post_request_body.py @@ -56,6 +56,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ....models.custom_extension_authentication_configuration import CustomExtensionAuthenticationConfiguration + from ....models.custom_extension_endpoint_configuration import CustomExtensionEndpointConfiguration + writer.write_object_value("authenticationConfiguration", self.authentication_configuration) writer.write_object_value("endpointConfiguration", self.endpoint_configuration) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/identity/identity_providers/available_provider_types/available_provider_types_get_response.py b/msgraph_beta/generated/identity/identity_providers/available_provider_types/available_provider_types_get_response.py index 9a1ce4cf6e6..db11a9e783e 100644 --- a/msgraph_beta/generated/identity/identity_providers/available_provider_types/available_provider_types_get_response.py +++ b/msgraph_beta/generated/identity/identity_providers/available_provider_types/available_provider_types_get_response.py @@ -49,6 +49,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_primitive_values("value", self.value) diff --git a/msgraph_beta/generated/identity/identity_providers/count/count_request_builder.py b/msgraph_beta/generated/identity/identity_providers/count/count_request_builder.py index e49ac9f3812..c0ac7c96a1c 100644 --- a/msgraph_beta/generated/identity/identity_providers/count/count_request_builder.py +++ b/msgraph_beta/generated/identity/identity_providers/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity/user_flow_attributes/count/count_request_builder.py b/msgraph_beta/generated/identity/user_flow_attributes/count/count_request_builder.py index c732956771d..ac55e15ebbf 100644 --- a/msgraph_beta/generated/identity/user_flow_attributes/count/count_request_builder.py +++ b/msgraph_beta/generated/identity/user_flow_attributes/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity/user_flows/count/count_request_builder.py b/msgraph_beta/generated/identity/user_flows/count/count_request_builder.py index 17ce543626d..ee186d680bc 100644 --- a/msgraph_beta/generated/identity/user_flows/count/count_request_builder.py +++ b/msgraph_beta/generated/identity/user_flows/count/count_request_builder.py @@ -45,7 +45,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/access_reviews/decisions/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/decisions/count/count_request_builder.py index b7aee13c57a..a308b15d1ea 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/decisions/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/decisions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/access_reviews/decisions/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py b/msgraph_beta/generated/identity_governance/access_reviews/decisions/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py index 785a6a8d6cf..a381af52782 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/decisions/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/decisions/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .....models.access_review_instance_decision_item import AccessReviewInstanceDecisionItem + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/decisions/item/insights/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/decisions/item/insights/count/count_request_builder.py index 63d841b1fba..8a4deb70264 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/decisions/item/insights/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/decisions/item/insights/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/access_reviews/definitions/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/definitions/count/count_request_builder.py index a452db05754..6b3770ef6be 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/definitions/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/definitions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/access_reviews/definitions/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py b/msgraph_beta/generated/identity_governance/access_reviews/definitions/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py index f280aba0e59..3f31939dcf3 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/definitions/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/definitions/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .....models.access_review_schedule_definition import AccessReviewScheduleDefinition + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/count/count_request_builder.py index 68826a3f657..7504338c5b8 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py b/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py index 596faeac493..5477a36de48 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .......models.access_review_instance import AccessReviewInstance + from .......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/contacted_reviewers/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/contacted_reviewers/count/count_request_builder.py index 290c2567fb7..777aba361c6 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/contacted_reviewers/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/contacted_reviewers/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/decisions/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/decisions/count/count_request_builder.py index 6e166a14515..cd13c25217b 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/decisions/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/decisions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/decisions/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py b/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/decisions/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py index 50438de8e44..8acc0e25cf3 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/decisions/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/decisions/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .........models.access_review_instance_decision_item import AccessReviewInstanceDecisionItem + from .........models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/decisions/item/insights/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/decisions/item/insights/count/count_request_builder.py index f3efde53ff1..20d188335b3 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/decisions/item/insights/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/decisions/item/insights/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/stages/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/stages/count/count_request_builder.py index 67f98274b15..a27a42e5cd6 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/stages/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/stages/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/stages/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py b/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/stages/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py index 29207d6f94c..d9ff70f8ecf 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/stages/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/stages/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .........models.access_review_stage import AccessReviewStage + from .........models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/stages/item/decisions/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/stages/item/decisions/count/count_request_builder.py index c46bce32705..cf1e86e99b4 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/stages/item/decisions/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/stages/item/decisions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/stages/item/decisions/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py b/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/stages/item/decisions/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py index 0bf399942a7..5035513ea22 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/stages/item/decisions/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/stages/item/decisions/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ...........models.access_review_instance_decision_item import AccessReviewInstanceDecisionItem + from ...........models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/stages/item/decisions/item/insights/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/stages/item/decisions/item/insights/count/count_request_builder.py index 15a1957b28e..e2093e6912a 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/stages/item/decisions/item/insights/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/stages/item/decisions/item/insights/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/access_reviews/history_definitions/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/history_definitions/count/count_request_builder.py index 2d44220aea7..fede320fcce 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/history_definitions/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/history_definitions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/access_reviews/history_definitions/item/instances/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/history_definitions/item/instances/count/count_request_builder.py index 35dff24e460..13c5a9cd41e 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/history_definitions/item/instances/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/history_definitions/item/instances/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/app_consent/app_consent_requests/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/app_consent/app_consent_requests/count/count_request_builder.py index 3cd911e861f..be579b57ac5 100644 --- a/msgraph_beta/generated/identity_governance/app_consent/app_consent_requests/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/app_consent/app_consent_requests/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/app_consent/app_consent_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py b/msgraph_beta/generated/identity_governance/app_consent/app_consent_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py index e509b99632e..71dda6ac64b 100644 --- a/msgraph_beta/generated/identity_governance/app_consent/app_consent_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py +++ b/msgraph_beta/generated/identity_governance/app_consent/app_consent_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .....models.app_consent_request import AppConsentRequest + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/identity_governance/app_consent/app_consent_requests/item/user_consent_requests/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/app_consent/app_consent_requests/item/user_consent_requests/count/count_request_builder.py index af50a6de539..4d297ee17c9 100644 --- a/msgraph_beta/generated/identity_governance/app_consent/app_consent_requests/item/user_consent_requests/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/app_consent/app_consent_requests/item/user_consent_requests/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/app_consent/app_consent_requests/item/user_consent_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py b/msgraph_beta/generated/identity_governance/app_consent/app_consent_requests/item/user_consent_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py index 09d7071b78a..45e28dae3e5 100644 --- a/msgraph_beta/generated/identity_governance/app_consent/app_consent_requests/item/user_consent_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py +++ b/msgraph_beta/generated/identity_governance/app_consent/app_consent_requests/item/user_consent_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .......models.user_consent_request import UserConsentRequest + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/identity_governance/app_consent/app_consent_requests/item/user_consent_requests/item/approval/steps/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/app_consent/app_consent_requests/item/user_consent_requests/item/approval/steps/count/count_request_builder.py index 5cd7143ee62..f79c72ddbe1 100644 --- a/msgraph_beta/generated/identity_governance/app_consent/app_consent_requests/item/user_consent_requests/item/approval/steps/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/app_consent/app_consent_requests/item/user_consent_requests/item/approval/steps/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_approvals/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_approvals/count/count_request_builder.py index a33c609010d..d6f79151996 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_approvals/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_approvals/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_approvals/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_approvals/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py index 9d21583413e..bb1a015eccc 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_approvals/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_approvals/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .....models.approval import Approval + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_approvals/item/steps/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_approvals/item/steps/count/count_request_builder.py index 2ad51862be5..630a525b8ff 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_approvals/item/steps/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_approvals/item/steps/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_policies/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_policies/count/count_request_builder.py index 9abea4abf0c..949f4d09c80 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_policies/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_policies/count/count_request_builder.py @@ -45,7 +45,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_policies/item/custom_extension_handlers/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_policies/item/custom_extension_handlers/count/count_request_builder.py index db06c1071c4..12b16751d83 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_policies/item/custom_extension_handlers/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_policies/item/custom_extension_handlers/count/count_request_builder.py @@ -45,7 +45,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_policies/item/custom_extension_stage_settings/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_policies/item/custom_extension_stage_settings/count/count_request_builder.py index 9b1e614509f..4c81661b8a4 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_policies/item/custom_extension_stage_settings/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_policies/item/custom_extension_stage_settings/count/count_request_builder.py @@ -45,7 +45,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_requests/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_requests/count/count_request_builder.py index c9a46bee032..063c32637ed 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_requests/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_requests/count/count_request_builder.py @@ -45,7 +45,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py index 53575a5799a..c18a0d24992 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .....models.access_package_assignment_request import AccessPackageAssignmentRequest + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_requests/item/resume/resume_post_request_body.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_requests/item/resume/resume_post_request_body.py index f05c70445e2..68bf0b57928 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_requests/item/resume/resume_post_request_body.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_requests/item/resume/resume_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ......models.custom_extension_data import CustomExtensionData + writer.write_object_value("data", self.data) writer.write_str_value("source", self.source) writer.write_str_value("type", self.type) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/count/count_request_builder.py index ec64dc9fa0d..a5dd65911fc 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_assignments/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_assignments/count/count_request_builder.py index f746c0dde8f..3c4250ebbd1 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_assignments/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_assignments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_roles/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_roles/count/count_request_builder.py index ed4cde94917..637381c4044 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_roles/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_roles/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/count/count_request_builder.py index b7f6e4ec87f..e2606dfbc06 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/count/count_request_builder.py index c513c26cef0..c3cc5b82614 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/count/count_request_builder.py index 6794dcc15c9..2188f1d7b69 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/count/count_request_builder.py index b42e0266bcc..a8f03af40d1 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_scopes/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_scopes/count/count_request_builder.py index 8009b5e7bd0..6364ec03000 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_scopes/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_scopes/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/my/my_get_response.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/my/my_get_response.py index ec7067eff8b..8620c6715e1 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/my/my_get_response.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/my/my_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .....models.access_package_assignment_resource_role import AccessPackageAssignmentResourceRole + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/additional_access/additional_access_get_response.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/additional_access/additional_access_get_response.py index 40bb4944211..8d3204250be 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/additional_access/additional_access_get_response.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/additional_access/additional_access_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .....models.access_package_assignment import AccessPackageAssignment + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/additional_access_with_access_package_id_with_incompatible_access_package_id/additional_access_with_access_package_id_with_incompatible_access_package_id_get_response.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/additional_access_with_access_package_id_with_incompatible_access_package_id/additional_access_with_access_package_id_with_incompatible_access_package_id_get_response.py index 07ce5a7be4f..027ecf40e71 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/additional_access_with_access_package_id_with_incompatible_access_package_id/additional_access_with_access_package_id_with_incompatible_access_package_id_get_response.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/additional_access_with_access_package_id_with_incompatible_access_package_id/additional_access_with_access_package_id_with_incompatible_access_package_id_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .....models.access_package_assignment import AccessPackageAssignment + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/count/count_request_builder.py index a145110b0b2..af81776537e 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py index 1ba8b104b4d..1adc68db513 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .....models.access_package_assignment import AccessPackageAssignment + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_assignment_policies/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_assignment_policies/count/count_request_builder.py index 24cfc78bd12..3d901d1f55f 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_assignment_policies/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_assignment_policies/count/count_request_builder.py @@ -45,7 +45,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_assignment_policies/item/custom_extension_handlers/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_assignment_policies/item/custom_extension_handlers/count/count_request_builder.py index 2ddb2e28d57..6562f5453a8 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_assignment_policies/item/custom_extension_handlers/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_assignment_policies/item/custom_extension_handlers/count/count_request_builder.py @@ -45,7 +45,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_assignment_policies/item/custom_extension_stage_settings/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_assignment_policies/item/custom_extension_stage_settings/count/count_request_builder.py index 050a1df3693..4d03ce30146 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_assignment_policies/item/custom_extension_stage_settings/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_assignment_policies/item/custom_extension_stage_settings/count/count_request_builder.py @@ -45,7 +45,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/count/count_request_builder.py index a5f02541263..6a57c50432a 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_roles/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_roles/count/count_request_builder.py index a5ba8c9ab6e..7763259d9fb 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_roles/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_roles/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/count/count_request_builder.py index a4a4c4305b5..c142bba365e 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/count/count_request_builder.py index 0c9e96ecbee..2388568ee61 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/count/count_request_builder.py index 3c37899dbb7..30ee860e490 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/count/count_request_builder.py index 358b6f67567..2319602b52f 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_scopes/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_scopes/count/count_request_builder.py index 5447df1bbb9..5a6609fa74b 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_scopes/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_scopes/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_packages_incompatible_with/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_packages_incompatible_with/count/count_request_builder.py index 392234ae38d..95f2c0fccd4 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_packages_incompatible_with/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_packages_incompatible_with/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/get_applicable_policy_requirements/get_applicable_policy_requirements_post_response.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/get_applicable_policy_requirements/get_applicable_policy_requirements_post_response.py index 1d9009e73cc..f7243efa8c8 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/get_applicable_policy_requirements/get_applicable_policy_requirements_post_response.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/get_applicable_policy_requirements/get_applicable_policy_requirements_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .......models.access_package_assignment_request_requirements import AccessPackageAssignmentRequestRequirements + from .......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/incompatible_access_packages/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/incompatible_access_packages/count/count_request_builder.py index b989a714b3c..4064d9178a5 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/incompatible_access_packages/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/incompatible_access_packages/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/incompatible_groups/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/incompatible_groups/count/count_request_builder.py index 3998a870386..964f0ff3cf9 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/incompatible_groups/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/incompatible_groups/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/incompatible_groups/item/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/incompatible_groups/item/service_provisioning_errors/count/count_request_builder.py index 3126fea2095..b48cbd8e750 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/incompatible_groups/item/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/incompatible_groups/item/service_provisioning_errors/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_policy/custom_extension_handlers/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_policy/custom_extension_handlers/count/count_request_builder.py index 7dc14132fee..62354d1d832 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_policy/custom_extension_handlers/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_policy/custom_extension_handlers/count/count_request_builder.py @@ -45,7 +45,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_policy/custom_extension_stage_settings/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_policy/custom_extension_stage_settings/count/count_request_builder.py index d6355e16580..eae7d6f34c3 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_policy/custom_extension_stage_settings/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_policy/custom_extension_stage_settings/count/count_request_builder.py @@ -45,7 +45,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_requests/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_requests/count/count_request_builder.py index 1504de63d00..d743bbbf594 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_requests/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_requests/count/count_request_builder.py @@ -45,7 +45,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py index 0a7342e4511..35b88d7042a 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .......models.access_package_assignment_request import AccessPackageAssignmentRequest + from .......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_requests/item/resume/resume_post_request_body.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_requests/item/resume/resume_post_request_body.py index dd5e200bfd4..84860f40be0 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_requests/item/resume/resume_post_request_body.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_requests/item/resume/resume_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ........models.custom_extension_data import CustomExtensionData + writer.write_object_value("data", self.data) writer.write_str_value("source", self.source) writer.write_str_value("type", self.type) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/count/count_request_builder.py index c5f353fb0fa..545adafdd06 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_assignments/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_assignments/count/count_request_builder.py index 021374a5a46..a180d886f4e 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_assignments/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_assignments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_roles/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_roles/count/count_request_builder.py index 82b1e97b408..76cb70f9e8a 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_roles/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_roles/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/count/count_request_builder.py index ba6bb8bbc3e..491f53287f0 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/count/count_request_builder.py index 32003274943..55f61316635 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/count/count_request_builder.py index b1785a8319b..37de037a92f 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/count/count_request_builder.py index 7ec8a02eea5..3c8ccfe09d1 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_scopes/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_scopes/count/count_request_builder.py index 5a9a786ecfa..513172e788c 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_scopes/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_scopes/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/my/my_get_response.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/my/my_get_response.py index c9556963ecd..5c8328a1fc3 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/my/my_get_response.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/my/my_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .......models.access_package_assignment_resource_role import AccessPackageAssignmentResourceRole + from .......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/count/count_request_builder.py index 3aae46c94db..3b8964e314d 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/count/count_request_builder.py @@ -45,7 +45,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_custom_workflow_extensions/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_custom_workflow_extensions/count/count_request_builder.py index 3ee0782cab7..5aac11fa4b9 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_custom_workflow_extensions/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_custom_workflow_extensions/count/count_request_builder.py @@ -45,7 +45,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_roles/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_roles/count/count_request_builder.py index 95d202c2aaf..7c895ad8ad1 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_roles/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_roles/count/count_request_builder.py @@ -45,7 +45,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_roles/item/access_package_resource/access_package_resource_roles/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_roles/item/access_package_resource/access_package_resource_roles/count/count_request_builder.py index b667e214d73..60c4c546b1a 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_roles/item/access_package_resource/access_package_resource_roles/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_roles/item/access_package_resource/access_package_resource_roles/count/count_request_builder.py @@ -45,7 +45,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/count/count_request_builder.py index 7c0bfceb7c6..336848132e5 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/count/count_request_builder.py @@ -45,7 +45,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/count/count_request_builder.py index 99747418e44..50ac48f0d51 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/count/count_request_builder.py @@ -45,7 +45,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_scopes/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_scopes/count/count_request_builder.py index ecd092688d0..7783cdf1b2b 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_scopes/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_scopes/count/count_request_builder.py @@ -45,7 +45,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/count/count_request_builder.py index f34202597e5..3b25e44cc92 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/count/count_request_builder.py @@ -45,7 +45,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/count/count_request_builder.py index 738328c9716..5afac663a22 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/count/count_request_builder.py @@ -45,7 +45,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_scopes/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_scopes/count/count_request_builder.py index d6da93ae9f3..e6f3d60ed2f 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_scopes/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_scopes/count/count_request_builder.py @@ -45,7 +45,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/count/count_request_builder.py index f622f424ef5..bdfb5b4c1ae 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/count/count_request_builder.py @@ -45,7 +45,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/item/access_package_resource_roles/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/item/access_package_resource_roles/count/count_request_builder.py index 2e8e816bad7..16931b7f79e 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/item/access_package_resource_roles/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/item/access_package_resource_roles/count/count_request_builder.py @@ -45,7 +45,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/count/count_request_builder.py index d2068b8be34..08bd5a37a3e 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/count/count_request_builder.py @@ -45,7 +45,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/item/access_package_resource_scopes/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/item/access_package_resource_scopes/count/count_request_builder.py index 21a2e5234b9..857de8f22b6 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/item/access_package_resource_scopes/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/item/access_package_resource_scopes/count/count_request_builder.py @@ -45,7 +45,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/count/count_request_builder.py index fe60c2427bb..1ec41790502 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/count/count_request_builder.py @@ -45,7 +45,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_packages/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_packages/count/count_request_builder.py index 9e38f93b12c..340c01de85f 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_packages/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_packages/count/count_request_builder.py @@ -45,7 +45,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/custom_access_package_workflow_extensions/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/custom_access_package_workflow_extensions/count/count_request_builder.py index 25b2e6afbc9..40791becc28 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/custom_access_package_workflow_extensions/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/custom_access_package_workflow_extensions/count/count_request_builder.py @@ -45,7 +45,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/custom_access_package_workflow_extensions/item/custom_access_package_workflow_extension_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/custom_access_package_workflow_extensions/item/custom_access_package_workflow_extension_item_request_builder.py index 392f8a8a929..33443d53c32 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/custom_access_package_workflow_extensions/item/custom_access_package_workflow_extension_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/custom_access_package_workflow_extensions/item/custom_access_package_workflow_extension_item_request_builder.py @@ -31,10 +31,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ - Delete an accessPackageAssignmentRequestWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies:1. First retrieve the accessPackageCatalogId by calling the Get accessPackageAssignmentPolicies operation and appending ?$expand=accessPackage($expand=accessPackageCatalog) to the query. For example, https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/accessPackageAssignmentPolicies?$expand=accessPackage($expand=accessPackageCatalog).2. Use the access package catalog ID and retrieve the ID of the accessPackageCustomWorkflowExtension object that you want to delete by running the List accessPackageCustomWorkflowExtensions operation.3. Call the Update accessPackageAssignmentPolicy operation to remove the custom workflow extension object from the policy. For an example, see Example 3: Remove the customExtensionStageSettings from a policy. + Delete a customAccessPackageWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies:1. First retrieve the accessPackageCatalogId by calling the Get accessPackageAssignmentPolicies operation and appending ?$expand=accessPackage($expand=accessPackageCatalog) to the query. For example, https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/accessPackageAssignmentPolicies?$expand=accessPackage($expand=accessPackageCatalog).2. Use the access package catalog ID and retrieve the ID of the customAccessPackageWorkflowExtension object that you want to delete by running the LIST customAccessPackageWorkflowExtensions operation.3. Call the Update accessPackageAssignmentPolicy operation to remove the custom workflow extension object from the policy. For an example, see Example 2: Remove the customExtensionHandlers and verifiableCredentialSettings from a policy. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None - Find more info here: https://learn.microsoft.com/graph/api/accesspackageassignmentrequestworkflowextension-delete?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/customaccesspackageworkflowextension-delete?view=graph-rest-beta """ warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) request_info = self.to_delete_request_information( @@ -98,7 +98,7 @@ async def patch(self,body: CustomAccessPackageWorkflowExtension, request_configu def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Delete an accessPackageAssignmentRequestWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies:1. First retrieve the accessPackageCatalogId by calling the Get accessPackageAssignmentPolicies operation and appending ?$expand=accessPackage($expand=accessPackageCatalog) to the query. For example, https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/accessPackageAssignmentPolicies?$expand=accessPackage($expand=accessPackageCatalog).2. Use the access package catalog ID and retrieve the ID of the accessPackageCustomWorkflowExtension object that you want to delete by running the List accessPackageCustomWorkflowExtensions operation.3. Call the Update accessPackageAssignmentPolicy operation to remove the custom workflow extension object from the policy. For an example, see Example 3: Remove the customExtensionStageSettings from a policy. + Delete a customAccessPackageWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies:1. First retrieve the accessPackageCatalogId by calling the Get accessPackageAssignmentPolicies operation and appending ?$expand=accessPackage($expand=accessPackageCatalog) to the query. For example, https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/accessPackageAssignmentPolicies?$expand=accessPackage($expand=accessPackageCatalog).2. Use the access package catalog ID and retrieve the ID of the customAccessPackageWorkflowExtension object that you want to delete by running the LIST customAccessPackageWorkflowExtensions operation.3. Call the Update accessPackageAssignmentPolicy operation to remove the custom workflow extension object from the policy. For an example, see Example 2: Remove the customExtensionHandlers and verifiableCredentialSettings from a policy. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/search/search_get_response.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/search/search_get_response.py index 666d0dea211..20c9c17a159 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/search/search_get_response.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/search/search_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .....models.access_package_catalog import AccessPackageCatalog + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_environments/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_environments/count/count_request_builder.py index 78888fa84e1..40dcb5e9e9e 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_environments/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_environments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_environments/item/access_package_resources/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_environments/item/access_package_resources/count/count_request_builder.py index bd176d6c616..ea9a53b0f2f 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_environments/item/access_package_resources/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_environments/item/access_package_resources/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_requests/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_requests/count/count_request_builder.py index d64028f5657..4e72c29d23d 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_requests/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_requests/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/count/count_request_builder.py index d70992df8e9..360e8c6cc15 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_roles/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_roles/count/count_request_builder.py index 486ea85e402..cb8b2a4cde1 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_roles/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_roles/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/count/count_request_builder.py index e677bffe693..d84f4c0f690 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/count/count_request_builder.py index 6e3bc1a76aa..de469b9a34d 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/count/count_request_builder.py index 139f36de419..26e5b59cd17 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/count/count_request_builder.py index 9fad24d4351..bc483d1ce08 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_scopes/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_scopes/count/count_request_builder.py index b158d8bfc42..01bf7da4466 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_scopes/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_scopes/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/count/count_request_builder.py index 45f59ec1c11..0aa67cb775d 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_roles/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_roles/count/count_request_builder.py index ddac89e0d66..1b44f7bdb1f 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_roles/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_roles/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/count/count_request_builder.py index aa2decf0156..918beefcfb1 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_scopes/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_scopes/count/count_request_builder.py index 8efda7dcd07..d5ccc7c36d0 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_scopes/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_scopes/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/count/count_request_builder.py index be233674c05..9c01ead0e32 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/count/count_request_builder.py index 9de5b8cf44c..cd8680475a6 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py index b14c6de21b4..1bc9874448e 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .....models.access_package import AccessPackage + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_assignment_policies/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_assignment_policies/count/count_request_builder.py index 8173332a710..22ec1ad2c99 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_assignment_policies/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_assignment_policies/count/count_request_builder.py @@ -45,7 +45,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_assignment_policies/item/custom_extension_handlers/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_assignment_policies/item/custom_extension_handlers/count/count_request_builder.py index b0cbcb7b0e3..57a278ea934 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_assignment_policies/item/custom_extension_handlers/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_assignment_policies/item/custom_extension_handlers/count/count_request_builder.py @@ -45,7 +45,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_assignment_policies/item/custom_extension_stage_settings/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_assignment_policies/item/custom_extension_stage_settings/count/count_request_builder.py index 02d53d5abae..2db45e74d02 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_assignment_policies/item/custom_extension_stage_settings/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_assignment_policies/item/custom_extension_stage_settings/count/count_request_builder.py @@ -45,7 +45,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/count/count_request_builder.py index 1a2e4b0ec19..f5c57e7c2a9 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_roles/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_roles/count/count_request_builder.py index 05b6073b9a8..3134dbca465 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_roles/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_roles/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/count/count_request_builder.py index 7915ea88c23..8ad1ed24775 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/count/count_request_builder.py index a2090318278..0cf66ef0a93 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/count/count_request_builder.py index 883c0d3b397..244a57bae0d 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/count/count_request_builder.py index 5d70e0dcde5..cb698e8b31a 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_scopes/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_scopes/count/count_request_builder.py index a4af552403d..be1e30bb2f9 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_scopes/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_scopes/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_packages_incompatible_with/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_packages_incompatible_with/count/count_request_builder.py index 0981ffa38c7..6676576669a 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_packages_incompatible_with/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_packages_incompatible_with/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/get_applicable_policy_requirements/get_applicable_policy_requirements_post_response.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/get_applicable_policy_requirements/get_applicable_policy_requirements_post_response.py index 107ef23393d..ab0483e7ef2 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/get_applicable_policy_requirements/get_applicable_policy_requirements_post_response.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/get_applicable_policy_requirements/get_applicable_policy_requirements_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ......models.access_package_assignment_request_requirements import AccessPackageAssignmentRequestRequirements + from ......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/incompatible_access_packages/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/incompatible_access_packages/count/count_request_builder.py index f51a97b08ab..1353433eca5 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/incompatible_access_packages/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/incompatible_access_packages/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/incompatible_groups/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/incompatible_groups/count/count_request_builder.py index 59576ee848b..e019a5bf135 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/incompatible_groups/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/incompatible_groups/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/incompatible_groups/item/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/incompatible_groups/item/service_provisioning_errors/count/count_request_builder.py index 885ba068f7f..c503f9f6ca6 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/incompatible_groups/item/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/incompatible_groups/item/service_provisioning_errors/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/search/search_get_response.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/search/search_get_response.py index 7085538741e..622b46c872a 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/search/search_get_response.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/search/search_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .....models.access_package import AccessPackage + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages_with_unique_name/get_applicable_policy_requirements/get_applicable_policy_requirements_post_response.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages_with_unique_name/get_applicable_policy_requirements/get_applicable_policy_requirements_post_response.py index b337d53660b..72b83a09349 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages_with_unique_name/get_applicable_policy_requirements/get_applicable_policy_requirements_post_response.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages_with_unique_name/get_applicable_policy_requirements/get_applicable_policy_requirements_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .....models.access_package_assignment_request_requirements import AccessPackageAssignmentRequestRequirements + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/assignment_requests/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/assignment_requests/count/count_request_builder.py index cc3d6d8aa73..8f87cb7fc92 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/assignment_requests/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/assignment_requests/count/count_request_builder.py @@ -45,7 +45,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/assignment_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py b/msgraph_beta/generated/identity_governance/entitlement_management/assignment_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py index 53575a5799a..c18a0d24992 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/assignment_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/assignment_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .....models.access_package_assignment_request import AccessPackageAssignmentRequest + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/assignment_requests/item/resume/resume_post_request_body.py b/msgraph_beta/generated/identity_governance/entitlement_management/assignment_requests/item/resume/resume_post_request_body.py index f05c70445e2..68bf0b57928 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/assignment_requests/item/resume/resume_post_request_body.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/assignment_requests/item/resume/resume_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ......models.custom_extension_data import CustomExtensionData + writer.write_object_value("data", self.data) writer.write_str_value("source", self.source) writer.write_str_value("type", self.type) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/connected_organizations/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/connected_organizations/count/count_request_builder.py index bcbc9dca133..66f4f4c4879 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/connected_organizations/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/connected_organizations/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/connected_organizations/item/external_sponsors/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/connected_organizations/item/external_sponsors/count/count_request_builder.py index 367a8faea49..3d2b38d49c0 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/connected_organizations/item/external_sponsors/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/connected_organizations/item/external_sponsors/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/connected_organizations/item/internal_sponsors/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/connected_organizations/item/internal_sponsors/count/count_request_builder.py index 6500304cc66..6b19c6b703b 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/connected_organizations/item/internal_sponsors/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/connected_organizations/item/internal_sponsors/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/subjects/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/subjects/count/count_request_builder.py index 256829bd36c..516d4cc399a 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/subjects/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/subjects/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/custom_task_extensions/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/custom_task_extensions/count/count_request_builder.py index 56edb512464..beccfdb9e03 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/custom_task_extensions/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/custom_task_extensions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/custom_task_extensions/item/created_by/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/custom_task_extensions/item/created_by/service_provisioning_errors/count/count_request_builder.py index d1480162355..c9fed7fce85 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/custom_task_extensions/item/created_by/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/custom_task_extensions/item/created_by/service_provisioning_errors/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/custom_task_extensions/item/last_modified_by/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/custom_task_extensions/item/last_modified_by/service_provisioning_errors/count/count_request_builder.py index 03f89acc943..89529bbce81 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/custom_task_extensions/item/last_modified_by/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/custom_task_extensions/item/last_modified_by/service_provisioning_errors/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/count/count_request_builder.py index 07bd42323a2..7b12ed72ccf 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/created_by/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/created_by/service_provisioning_errors/count/count_request_builder.py index 5a8bdc8c415..337b934eaf5 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/created_by/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/created_by/service_provisioning_errors/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/execution_scope/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/execution_scope/count/count_request_builder.py index 470afc47fe7..1c5f341042e 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/execution_scope/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/execution_scope/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/last_modified_by/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/last_modified_by/service_provisioning_errors/count/count_request_builder.py index 1c90c740344..c68aa7ca55d 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/last_modified_by/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/last_modified_by/service_provisioning_errors/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/microsoft_graph_identity_governance_activate/activate_post_request_body.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/microsoft_graph_identity_governance_activate/activate_post_request_body.py index 427aedfbe41..8d179e2f44a 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/microsoft_graph_identity_governance_activate/activate_post_request_body.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/microsoft_graph_identity_governance_activate/activate_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .......models.user import User + writer.write_collection_of_object_values("subjects", self.subjects) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/microsoft_graph_identity_governance_create_new_version/create_new_version_post_request_body.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/microsoft_graph_identity_governance_create_new_version/create_new_version_post_request_body.py index c6d3fe9f2d9..75d9c7133ed 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/microsoft_graph_identity_governance_create_new_version/create_new_version_post_request_body.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/microsoft_graph_identity_governance_create_new_version/create_new_version_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .......models.identity_governance.workflow import Workflow + writer.write_object_value("workflow", self.workflow) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/count/count_request_builder.py index 5bc0dc4084e..743758a15b5 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/task_processing_results/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/task_processing_results/count/count_request_builder.py index 02772fdb559..077736c7229 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/task_processing_results/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/task_processing_results/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/task_processing_results/item/microsoft_graph_identity_governance_resume/resume_post_request_body.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/task_processing_results/item/microsoft_graph_identity_governance_resume/resume_post_request_body.py index f7d97b90ac7..a11bc0dbc88 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/task_processing_results/item/microsoft_graph_identity_governance_resume/resume_post_request_body.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/task_processing_results/item/microsoft_graph_identity_governance_resume/resume_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ...........models.identity_governance.custom_task_extension_callback_data import CustomTaskExtensionCallbackData + writer.write_object_value("data", self.data) writer.write_str_value("source", self.source) writer.write_str_value("type", self.type) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/task_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/task_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py index 1e49e8226a3..ab7232d2c56 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/task_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/task_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/user_processing_results/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/user_processing_results/count/count_request_builder.py index fbd5009f282..b09bfad6f7d 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/user_processing_results/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/user_processing_results/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/user_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/user_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py index 1f23a1ecbc7..7b5a225aa29 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/user_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/user_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/user_processing_results/item/task_processing_results/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/user_processing_results/item/task_processing_results/count/count_request_builder.py index 8335d517eb9..2a2e38948b6 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/user_processing_results/item/task_processing_results/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/user_processing_results/item/task_processing_results/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/user_processing_results/item/task_processing_results/item/microsoft_graph_identity_governance_resume/resume_post_request_body.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/user_processing_results/item/task_processing_results/item/microsoft_graph_identity_governance_resume/resume_post_request_body.py index bb78f513cdc..cc07853deb4 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/user_processing_results/item/task_processing_results/item/microsoft_graph_identity_governance_resume/resume_post_request_body.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/user_processing_results/item/task_processing_results/item/microsoft_graph_identity_governance_resume/resume_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .............models.identity_governance.custom_task_extension_callback_data import CustomTaskExtensionCallbackData + writer.write_object_value("data", self.data) writer.write_str_value("source", self.source) writer.write_str_value("type", self.type) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/user_processing_results/item/task_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/user_processing_results/item/task_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py index ccf8bf2ad20..24118ca2e12 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/user_processing_results/item/task_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/user_processing_results/item/task_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/task_reports/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/task_reports/count/count_request_builder.py index 5706799a0e3..9050fe96938 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/task_reports/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/task_reports/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/task_reports/item/task_processing_results/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/task_reports/item/task_processing_results/count/count_request_builder.py index 2d5f22edfab..88e702c3250 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/task_reports/item/task_processing_results/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/task_reports/item/task_processing_results/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/task_reports/item/task_processing_results/item/microsoft_graph_identity_governance_resume/resume_post_request_body.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/task_reports/item/task_processing_results/item/microsoft_graph_identity_governance_resume/resume_post_request_body.py index f7d97b90ac7..a11bc0dbc88 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/task_reports/item/task_processing_results/item/microsoft_graph_identity_governance_resume/resume_post_request_body.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/task_reports/item/task_processing_results/item/microsoft_graph_identity_governance_resume/resume_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ...........models.identity_governance.custom_task_extension_callback_data import CustomTaskExtensionCallbackData + writer.write_object_value("data", self.data) writer.write_str_value("source", self.source) writer.write_str_value("type", self.type) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/task_reports/item/task_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/task_reports/item/task_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py index 9c842e39564..fbf41c124fd 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/task_reports/item/task_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/task_reports/item/task_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/tasks/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/tasks/count/count_request_builder.py index e7b5482e208..a67104303b5 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/tasks/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/tasks/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/tasks/item/task_processing_results/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/tasks/item/task_processing_results/count/count_request_builder.py index 2ce5c08cfa6..3ab4c6472a5 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/tasks/item/task_processing_results/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/tasks/item/task_processing_results/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/tasks/item/task_processing_results/item/microsoft_graph_identity_governance_resume/resume_post_request_body.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/tasks/item/task_processing_results/item/microsoft_graph_identity_governance_resume/resume_post_request_body.py index f7d97b90ac7..a11bc0dbc88 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/tasks/item/task_processing_results/item/microsoft_graph_identity_governance_resume/resume_post_request_body.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/tasks/item/task_processing_results/item/microsoft_graph_identity_governance_resume/resume_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ...........models.identity_governance.custom_task_extension_callback_data import CustomTaskExtensionCallbackData + writer.write_object_value("data", self.data) writer.write_str_value("source", self.source) writer.write_str_value("type", self.type) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/tasks/item/task_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/tasks/item/task_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py index b6d604cfc54..5b8a0341258 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/tasks/item/task_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/tasks/item/task_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/user_processing_results/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/user_processing_results/count/count_request_builder.py index 79c8e6c7e4b..de39e866c4f 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/user_processing_results/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/user_processing_results/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/user_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/user_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py index f8b463fe4b8..57708d737e7 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/user_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/user_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/user_processing_results/item/task_processing_results/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/user_processing_results/item/task_processing_results/count/count_request_builder.py index 7c8eec19d8b..30e53cd68a6 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/user_processing_results/item/task_processing_results/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/user_processing_results/item/task_processing_results/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/user_processing_results/item/task_processing_results/item/microsoft_graph_identity_governance_resume/resume_post_request_body.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/user_processing_results/item/task_processing_results/item/microsoft_graph_identity_governance_resume/resume_post_request_body.py index f7d97b90ac7..a11bc0dbc88 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/user_processing_results/item/task_processing_results/item/microsoft_graph_identity_governance_resume/resume_post_request_body.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/user_processing_results/item/task_processing_results/item/microsoft_graph_identity_governance_resume/resume_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ...........models.identity_governance.custom_task_extension_callback_data import CustomTaskExtensionCallbackData + writer.write_object_value("data", self.data) writer.write_str_value("source", self.source) writer.write_str_value("type", self.type) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/user_processing_results/item/task_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/user_processing_results/item/task_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py index e92e683567a..b348963f57c 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/user_processing_results/item/task_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/user_processing_results/item/task_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/versions/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/versions/count/count_request_builder.py index e4f33d211b4..06b97f7461c 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/versions/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/versions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/versions/item/created_by/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/versions/item/created_by/service_provisioning_errors/count/count_request_builder.py index 793e3bb1ffd..3caa973fb45 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/versions/item/created_by/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/versions/item/created_by/service_provisioning_errors/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/versions/item/last_modified_by/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/versions/item/last_modified_by/service_provisioning_errors/count/count_request_builder.py index 850618d6c5a..e21df9479d7 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/versions/item/last_modified_by/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/versions/item/last_modified_by/service_provisioning_errors/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/versions/item/tasks/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/versions/item/tasks/count/count_request_builder.py index 56918b542c9..633e1bcb785 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/versions/item/tasks/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/versions/item/tasks/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/versions/item/tasks/item/task_processing_results/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/versions/item/tasks/item/task_processing_results/count/count_request_builder.py index 33620de80e2..2b61cb37765 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/versions/item/tasks/item/task_processing_results/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/versions/item/tasks/item/task_processing_results/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/versions/item/tasks/item/task_processing_results/item/microsoft_graph_identity_governance_resume/resume_post_request_body.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/versions/item/tasks/item/task_processing_results/item/microsoft_graph_identity_governance_resume/resume_post_request_body.py index bb78f513cdc..cc07853deb4 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/versions/item/tasks/item/task_processing_results/item/microsoft_graph_identity_governance_resume/resume_post_request_body.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/versions/item/tasks/item/task_processing_results/item/microsoft_graph_identity_governance_resume/resume_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .............models.identity_governance.custom_task_extension_callback_data import CustomTaskExtensionCallbackData + writer.write_object_value("data", self.data) writer.write_str_value("source", self.source) writer.write_str_value("type", self.type) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/versions/item/tasks/item/task_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/versions/item/tasks/item/task_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py index 8418eb4ab55..df8073f79b5 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/versions/item/tasks/item/task_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/versions/item/tasks/item/task_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/insights/microsoft_graph_identity_governance_top_tasks_processed_summary_with_start_date_time_with_end_date_time/top_tasks_processed_summary_with_start_date_time_with_end_date_time_get_response.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/insights/microsoft_graph_identity_governance_top_tasks_processed_summary_with_start_date_time_with_end_date_time/top_tasks_processed_summary_with_start_date_time_with_end_date_time_get_response.py index 677cfe35142..a01381b4950 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/insights/microsoft_graph_identity_governance_top_tasks_processed_summary_with_start_date_time_with_end_date_time/top_tasks_processed_summary_with_start_date_time_with_end_date_time_get_response.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/insights/microsoft_graph_identity_governance_top_tasks_processed_summary_with_start_date_time_with_end_date_time/top_tasks_processed_summary_with_start_date_time_with_end_date_time_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .....models.identity_governance.top_tasks_insights_summary import TopTasksInsightsSummary + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/insights/microsoft_graph_identity_governance_top_workflows_processed_summary_with_start_date_time_with_end_date_time/top_workflows_processed_summary_with_start_date_time_with_end_date_time_get_response.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/insights/microsoft_graph_identity_governance_top_workflows_processed_summary_with_start_date_time_with_end_date_time/top_workflows_processed_summary_with_start_date_time_with_end_date_time_get_response.py index a708b1e3ce4..38590ef0e9f 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/insights/microsoft_graph_identity_governance_top_workflows_processed_summary_with_start_date_time_with_end_date_time/top_workflows_processed_summary_with_start_date_time_with_end_date_time_get_response.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/insights/microsoft_graph_identity_governance_top_workflows_processed_summary_with_start_date_time_with_end_date_time/top_workflows_processed_summary_with_start_date_time_with_end_date_time_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .....models.identity_governance.top_workflows_insights_summary import TopWorkflowsInsightsSummary + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/task_definitions/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/task_definitions/count/count_request_builder.py index f40b663e877..dddc46155e8 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/task_definitions/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/task_definitions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflow_templates/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflow_templates/count/count_request_builder.py index 7c4c2df647a..363563f1af9 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflow_templates/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflow_templates/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflow_templates/item/tasks/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflow_templates/item/tasks/count/count_request_builder.py index 25b3eec8024..00af90d3158 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflow_templates/item/tasks/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflow_templates/item/tasks/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflow_templates/item/tasks/item/task_processing_results/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflow_templates/item/tasks/item/task_processing_results/count/count_request_builder.py index 0a13284d9c7..a3ccd3be77e 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflow_templates/item/tasks/item/task_processing_results/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflow_templates/item/tasks/item/task_processing_results/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflow_templates/item/tasks/item/task_processing_results/item/microsoft_graph_identity_governance_resume/resume_post_request_body.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflow_templates/item/tasks/item/task_processing_results/item/microsoft_graph_identity_governance_resume/resume_post_request_body.py index 7b65a615ab8..0b25d63401e 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflow_templates/item/tasks/item/task_processing_results/item/microsoft_graph_identity_governance_resume/resume_post_request_body.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflow_templates/item/tasks/item/task_processing_results/item/microsoft_graph_identity_governance_resume/resume_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ..........models.identity_governance.custom_task_extension_callback_data import CustomTaskExtensionCallbackData + writer.write_object_value("data", self.data) writer.write_str_value("source", self.source) writer.write_str_value("type", self.type) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflow_templates/item/tasks/item/task_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflow_templates/item/tasks/item/task_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py index 1fd33433152..2cff04c35e9 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflow_templates/item/tasks/item/task_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflow_templates/item/tasks/item/task_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/count/count_request_builder.py index 2aafae41605..d59fe913c3d 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/created_by/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/created_by/service_provisioning_errors/count/count_request_builder.py index 4ded9945f86..022c1714ae2 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/created_by/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/created_by/service_provisioning_errors/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/execution_scope/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/execution_scope/count/count_request_builder.py index 973f592538b..372719f8519 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/execution_scope/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/execution_scope/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/last_modified_by/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/last_modified_by/service_provisioning_errors/count/count_request_builder.py index 5936b1a93f6..263e20a32a0 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/last_modified_by/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/last_modified_by/service_provisioning_errors/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/microsoft_graph_identity_governance_activate/activate_post_request_body.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/microsoft_graph_identity_governance_activate/activate_post_request_body.py index a4843d3ec95..ac532d59e2b 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/microsoft_graph_identity_governance_activate/activate_post_request_body.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/microsoft_graph_identity_governance_activate/activate_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ......models.user import User + writer.write_collection_of_object_values("subjects", self.subjects) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/microsoft_graph_identity_governance_create_new_version/create_new_version_post_request_body.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/microsoft_graph_identity_governance_create_new_version/create_new_version_post_request_body.py index 52db410855f..287cc4f4339 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/microsoft_graph_identity_governance_create_new_version/create_new_version_post_request_body.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/microsoft_graph_identity_governance_create_new_version/create_new_version_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ......models.identity_governance.workflow import Workflow + writer.write_object_value("workflow", self.workflow) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/count/count_request_builder.py index 4f794271609..ed65483ff87 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/task_processing_results/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/task_processing_results/count/count_request_builder.py index 29e17ce6ebb..00ffa5b165a 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/task_processing_results/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/task_processing_results/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/task_processing_results/item/microsoft_graph_identity_governance_resume/resume_post_request_body.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/task_processing_results/item/microsoft_graph_identity_governance_resume/resume_post_request_body.py index 7b65a615ab8..0b25d63401e 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/task_processing_results/item/microsoft_graph_identity_governance_resume/resume_post_request_body.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/task_processing_results/item/microsoft_graph_identity_governance_resume/resume_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ..........models.identity_governance.custom_task_extension_callback_data import CustomTaskExtensionCallbackData + writer.write_object_value("data", self.data) writer.write_str_value("source", self.source) writer.write_str_value("type", self.type) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/task_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/task_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py index 0244c9e0477..4b1af92836b 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/task_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/task_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/user_processing_results/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/user_processing_results/count/count_request_builder.py index c12a04f7800..51d7af1eb31 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/user_processing_results/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/user_processing_results/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/user_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/user_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py index 8f789a09694..d43c6c3f12c 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/user_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/user_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/user_processing_results/item/task_processing_results/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/user_processing_results/item/task_processing_results/count/count_request_builder.py index 1b89b413a07..6754dc8c6d6 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/user_processing_results/item/task_processing_results/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/user_processing_results/item/task_processing_results/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/user_processing_results/item/task_processing_results/item/microsoft_graph_identity_governance_resume/resume_post_request_body.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/user_processing_results/item/task_processing_results/item/microsoft_graph_identity_governance_resume/resume_post_request_body.py index 443740ec4da..49e1fe1d0c5 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/user_processing_results/item/task_processing_results/item/microsoft_graph_identity_governance_resume/resume_post_request_body.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/user_processing_results/item/task_processing_results/item/microsoft_graph_identity_governance_resume/resume_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ............models.identity_governance.custom_task_extension_callback_data import CustomTaskExtensionCallbackData + writer.write_object_value("data", self.data) writer.write_str_value("source", self.source) writer.write_str_value("type", self.type) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/user_processing_results/item/task_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/user_processing_results/item/task_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py index 2f369b2ddbc..a128a2d6a66 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/user_processing_results/item/task_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/user_processing_results/item/task_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/task_reports/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/task_reports/count/count_request_builder.py index 7693c814232..ccfe716c2cc 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/task_reports/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/task_reports/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/task_reports/item/task_processing_results/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/task_reports/item/task_processing_results/count/count_request_builder.py index 8bf11a59b59..039bddd4158 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/task_reports/item/task_processing_results/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/task_reports/item/task_processing_results/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/task_reports/item/task_processing_results/item/microsoft_graph_identity_governance_resume/resume_post_request_body.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/task_reports/item/task_processing_results/item/microsoft_graph_identity_governance_resume/resume_post_request_body.py index 7b65a615ab8..0b25d63401e 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/task_reports/item/task_processing_results/item/microsoft_graph_identity_governance_resume/resume_post_request_body.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/task_reports/item/task_processing_results/item/microsoft_graph_identity_governance_resume/resume_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ..........models.identity_governance.custom_task_extension_callback_data import CustomTaskExtensionCallbackData + writer.write_object_value("data", self.data) writer.write_str_value("source", self.source) writer.write_str_value("type", self.type) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/task_reports/item/task_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/task_reports/item/task_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py index eed97184b80..92fafcd16e8 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/task_reports/item/task_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/task_reports/item/task_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/tasks/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/tasks/count/count_request_builder.py index 2d462bb788b..0afcad9544b 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/tasks/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/tasks/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/tasks/item/task_processing_results/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/tasks/item/task_processing_results/count/count_request_builder.py index 2d89e4412c2..dee7eeec4d4 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/tasks/item/task_processing_results/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/tasks/item/task_processing_results/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/tasks/item/task_processing_results/item/microsoft_graph_identity_governance_resume/resume_post_request_body.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/tasks/item/task_processing_results/item/microsoft_graph_identity_governance_resume/resume_post_request_body.py index 7b65a615ab8..0b25d63401e 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/tasks/item/task_processing_results/item/microsoft_graph_identity_governance_resume/resume_post_request_body.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/tasks/item/task_processing_results/item/microsoft_graph_identity_governance_resume/resume_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ..........models.identity_governance.custom_task_extension_callback_data import CustomTaskExtensionCallbackData + writer.write_object_value("data", self.data) writer.write_str_value("source", self.source) writer.write_str_value("type", self.type) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/tasks/item/task_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/tasks/item/task_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py index 50fc5f85f59..2394e3ee2e4 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/tasks/item/task_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/tasks/item/task_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/user_processing_results/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/user_processing_results/count/count_request_builder.py index f85dbb4183c..26c33b3cf49 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/user_processing_results/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/user_processing_results/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/user_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/user_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py index 1bfd3acec5d..97b962b350a 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/user_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/user_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/user_processing_results/item/task_processing_results/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/user_processing_results/item/task_processing_results/count/count_request_builder.py index 95cc089b6e6..c5ac6aaa322 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/user_processing_results/item/task_processing_results/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/user_processing_results/item/task_processing_results/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/user_processing_results/item/task_processing_results/item/microsoft_graph_identity_governance_resume/resume_post_request_body.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/user_processing_results/item/task_processing_results/item/microsoft_graph_identity_governance_resume/resume_post_request_body.py index 7b65a615ab8..0b25d63401e 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/user_processing_results/item/task_processing_results/item/microsoft_graph_identity_governance_resume/resume_post_request_body.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/user_processing_results/item/task_processing_results/item/microsoft_graph_identity_governance_resume/resume_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ..........models.identity_governance.custom_task_extension_callback_data import CustomTaskExtensionCallbackData + writer.write_object_value("data", self.data) writer.write_str_value("source", self.source) writer.write_str_value("type", self.type) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/user_processing_results/item/task_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/user_processing_results/item/task_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py index 09aae93134e..ebf3f9799e5 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/user_processing_results/item/task_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/user_processing_results/item/task_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/versions/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/versions/count/count_request_builder.py index b82ce4924ca..aad28aa051e 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/versions/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/versions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/versions/item/created_by/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/versions/item/created_by/service_provisioning_errors/count/count_request_builder.py index fc192f7d8a6..a6b80891d5b 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/versions/item/created_by/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/versions/item/created_by/service_provisioning_errors/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/versions/item/last_modified_by/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/versions/item/last_modified_by/service_provisioning_errors/count/count_request_builder.py index 21f540561bb..3919ea074b1 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/versions/item/last_modified_by/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/versions/item/last_modified_by/service_provisioning_errors/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/versions/item/tasks/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/versions/item/tasks/count/count_request_builder.py index 45cc4ef7710..8766ae43520 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/versions/item/tasks/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/versions/item/tasks/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/versions/item/tasks/item/task_processing_results/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/versions/item/tasks/item/task_processing_results/count/count_request_builder.py index 7cb6f39c8c4..9bea40dfc6d 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/versions/item/tasks/item/task_processing_results/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/versions/item/tasks/item/task_processing_results/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/versions/item/tasks/item/task_processing_results/item/microsoft_graph_identity_governance_resume/resume_post_request_body.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/versions/item/tasks/item/task_processing_results/item/microsoft_graph_identity_governance_resume/resume_post_request_body.py index 443740ec4da..49e1fe1d0c5 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/versions/item/tasks/item/task_processing_results/item/microsoft_graph_identity_governance_resume/resume_post_request_body.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/versions/item/tasks/item/task_processing_results/item/microsoft_graph_identity_governance_resume/resume_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ............models.identity_governance.custom_task_extension_callback_data import CustomTaskExtensionCallbackData + writer.write_object_value("data", self.data) writer.write_str_value("source", self.source) writer.write_str_value("type", self.type) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/versions/item/tasks/item/task_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/versions/item/tasks/item/task_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py index 9937dc8f249..12a3e6c0cfe 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/versions/item/tasks/item/task_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/versions/item/tasks/item/task_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/permissions_analytics/aws/findings/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/permissions_analytics/aws/findings/count/count_request_builder.py index f2487be9c95..9cdb3a0c180 100644 --- a/msgraph_beta/generated/identity_governance/permissions_analytics/aws/findings/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/permissions_analytics/aws/findings/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/permissions_analytics/aws/permissions_creep_index_distributions/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/permissions_analytics/aws/permissions_creep_index_distributions/count/count_request_builder.py index d2e32d07761..fa18232ef7d 100644 --- a/msgraph_beta/generated/identity_governance/permissions_analytics/aws/permissions_creep_index_distributions/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/permissions_analytics/aws/permissions_creep_index_distributions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/permissions_analytics/azure/findings/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/permissions_analytics/azure/findings/count/count_request_builder.py index b472abb36e4..74387926e32 100644 --- a/msgraph_beta/generated/identity_governance/permissions_analytics/azure/findings/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/permissions_analytics/azure/findings/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/permissions_analytics/azure/permissions_creep_index_distributions/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/permissions_analytics/azure/permissions_creep_index_distributions/count/count_request_builder.py index 8e92f49f2ea..dc0807d3c47 100644 --- a/msgraph_beta/generated/identity_governance/permissions_analytics/azure/permissions_creep_index_distributions/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/permissions_analytics/azure/permissions_creep_index_distributions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/permissions_analytics/gcp/findings/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/permissions_analytics/gcp/findings/count/count_request_builder.py index f52d2885e62..968aa308b60 100644 --- a/msgraph_beta/generated/identity_governance/permissions_analytics/gcp/findings/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/permissions_analytics/gcp/findings/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/permissions_analytics/gcp/permissions_creep_index_distributions/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/permissions_analytics/gcp/permissions_creep_index_distributions/count/count_request_builder.py index 3cea92cf1ed..f047f978701 100644 --- a/msgraph_beta/generated/identity_governance/permissions_analytics/gcp/permissions_creep_index_distributions/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/permissions_analytics/gcp/permissions_creep_index_distributions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/permissions_management/permissions_request_changes/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/permissions_management/permissions_request_changes/count/count_request_builder.py index a501a06f3f4..4bbc6ccb1e3 100644 --- a/msgraph_beta/generated/identity_governance/permissions_management/permissions_request_changes/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/permissions_management/permissions_request_changes/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/permissions_management/scheduled_permissions_approvals/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/permissions_management/scheduled_permissions_approvals/count/count_request_builder.py index 07f41276f2d..8a02ecf5461 100644 --- a/msgraph_beta/generated/identity_governance/permissions_management/scheduled_permissions_approvals/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/permissions_management/scheduled_permissions_approvals/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/permissions_management/scheduled_permissions_approvals/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py b/msgraph_beta/generated/identity_governance/permissions_management/scheduled_permissions_approvals/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py index 9d21583413e..bb1a015eccc 100644 --- a/msgraph_beta/generated/identity_governance/permissions_management/scheduled_permissions_approvals/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py +++ b/msgraph_beta/generated/identity_governance/permissions_management/scheduled_permissions_approvals/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .....models.approval import Approval + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/identity_governance/permissions_management/scheduled_permissions_approvals/item/steps/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/permissions_management/scheduled_permissions_approvals/item/steps/count/count_request_builder.py index 431f275b562..c2f6b242b30 100644 --- a/msgraph_beta/generated/identity_governance/permissions_management/scheduled_permissions_approvals/item/steps/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/permissions_management/scheduled_permissions_approvals/item/steps/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/permissions_management/scheduled_permissions_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py b/msgraph_beta/generated/identity_governance/permissions_management/scheduled_permissions_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py index 9858e794b34..1e7197e5cc3 100644 --- a/msgraph_beta/generated/identity_governance/permissions_management/scheduled_permissions_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py +++ b/msgraph_beta/generated/identity_governance/permissions_management/scheduled_permissions_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .....models.scheduled_permissions_request import ScheduledPermissionsRequest + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_approvals/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_approvals/count/count_request_builder.py index 22aafea008d..9c4126b5158 100644 --- a/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_approvals/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_approvals/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_approvals/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py b/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_approvals/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py index 113386f40df..8f2b8f21b50 100644 --- a/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_approvals/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py +++ b/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_approvals/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ......models.approval import Approval + from ......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_approvals/item/steps/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_approvals/item/steps/count/count_request_builder.py index eb21edc85bb..a5b33358bb7 100644 --- a/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_approvals/item/steps/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_approvals/item/steps/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedule_instances/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedule_instances/count/count_request_builder.py index fff0605b4d0..e44f8d7e5c1 100644 --- a/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedule_instances/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedule_instances/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedule_instances/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py b/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedule_instances/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py index 211e2fff2d3..4a329e5ad1b 100644 --- a/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedule_instances/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py +++ b/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedule_instances/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ......models.privileged_access_group_assignment_schedule_instance import PrivilegedAccessGroupAssignmentScheduleInstance + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedule_instances/item/group/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedule_instances/item/group/service_provisioning_errors/count/count_request_builder.py index cd5f5b2cd29..915745ab170 100644 --- a/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedule_instances/item/group/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedule_instances/item/group/service_provisioning_errors/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedule_requests/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedule_requests/count/count_request_builder.py index bfb5ed7343a..db272aabfff 100644 --- a/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedule_requests/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedule_requests/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedule_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py b/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedule_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py index 65ea32b0b66..453bd50155a 100644 --- a/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedule_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py +++ b/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedule_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ......models.privileged_access_group_assignment_schedule_request import PrivilegedAccessGroupAssignmentScheduleRequest + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedule_requests/item/group/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedule_requests/item/group/service_provisioning_errors/count/count_request_builder.py index fc192032aa6..06007ef2b38 100644 --- a/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedule_requests/item/group/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedule_requests/item/group/service_provisioning_errors/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedules/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedules/count/count_request_builder.py index 37b636a10eb..db31e6965b7 100644 --- a/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedules/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedules/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedules/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py b/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedules/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py index 8403871819e..617bd202c02 100644 --- a/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedules/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py +++ b/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedules/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ......models.privileged_access_group_assignment_schedule import PrivilegedAccessGroupAssignmentSchedule + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedules/item/group/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedules/item/group/service_provisioning_errors/count/count_request_builder.py index 8cd8f845817..67cc80abf89 100644 --- a/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedules/item/group/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedules/item/group/service_provisioning_errors/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedule_instances/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedule_instances/count/count_request_builder.py index 3e493a407df..e8334960b94 100644 --- a/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedule_instances/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedule_instances/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedule_instances/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py b/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedule_instances/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py index f5268857c07..7ab72d51550 100644 --- a/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedule_instances/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py +++ b/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedule_instances/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ......models.privileged_access_group_eligibility_schedule_instance import PrivilegedAccessGroupEligibilityScheduleInstance + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedule_instances/item/group/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedule_instances/item/group/service_provisioning_errors/count/count_request_builder.py index 79ea5a3f57d..2cac0439eb2 100644 --- a/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedule_instances/item/group/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedule_instances/item/group/service_provisioning_errors/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedule_requests/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedule_requests/count/count_request_builder.py index 3f2953b83b9..c1027e74c1c 100644 --- a/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedule_requests/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedule_requests/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedule_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py b/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedule_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py index ff15b0ba9f5..e4d6f7d576f 100644 --- a/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedule_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py +++ b/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedule_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ......models.privileged_access_group_eligibility_schedule_request import PrivilegedAccessGroupEligibilityScheduleRequest + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedule_requests/item/group/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedule_requests/item/group/service_provisioning_errors/count/count_request_builder.py index 522fb46810b..53bf0483ef9 100644 --- a/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedule_requests/item/group/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedule_requests/item/group/service_provisioning_errors/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedules/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedules/count/count_request_builder.py index b220658f015..d0bc4396436 100644 --- a/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedules/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedules/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedules/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py b/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedules/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py index cc771e7f545..0f7b8f7f78a 100644 --- a/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedules/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py +++ b/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedules/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ......models.privileged_access_group_eligibility_schedule import PrivilegedAccessGroupEligibilitySchedule + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedules/item/group/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedules/item/group/service_provisioning_errors/count/count_request_builder.py index 230f0847de2..2cddd1c1986 100644 --- a/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedules/item/group/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedules/item/group/service_provisioning_errors/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/role_management_alerts/alert_configurations/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/role_management_alerts/alert_configurations/count/count_request_builder.py index 8d4db8b7c4a..8b9f4644a2b 100644 --- a/msgraph_beta/generated/identity_governance/role_management_alerts/alert_configurations/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/role_management_alerts/alert_configurations/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/role_management_alerts/alert_definitions/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/role_management_alerts/alert_definitions/count/count_request_builder.py index 0fe2275e2a6..9c673148d70 100644 --- a/msgraph_beta/generated/identity_governance/role_management_alerts/alert_definitions/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/role_management_alerts/alert_definitions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/role_management_alerts/alerts/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/role_management_alerts/alerts/count/count_request_builder.py index 0734cc10934..18607bfca29 100644 --- a/msgraph_beta/generated/identity_governance/role_management_alerts/alerts/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/role_management_alerts/alerts/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/role_management_alerts/alerts/item/alert_incidents/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/role_management_alerts/alerts/item/alert_incidents/count/count_request_builder.py index 59238199422..5ffa0c81c1d 100644 --- a/msgraph_beta/generated/identity_governance/role_management_alerts/alerts/item/alert_incidents/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/role_management_alerts/alerts/item/alert_incidents/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/role_management_alerts/operations/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/role_management_alerts/operations/count/count_request_builder.py index 9e9884ee133..c1e5e38cf4b 100644 --- a/msgraph_beta/generated/identity_governance/role_management_alerts/operations/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/role_management_alerts/operations/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/terms_of_use/agreement_acceptances/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/terms_of_use/agreement_acceptances/count/count_request_builder.py index f114e3fa505..735d9d29cde 100644 --- a/msgraph_beta/generated/identity_governance/terms_of_use/agreement_acceptances/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/terms_of_use/agreement_acceptances/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/terms_of_use/agreements/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/terms_of_use/agreements/count/count_request_builder.py index 8f262bf5843..887dc557369 100644 --- a/msgraph_beta/generated/identity_governance/terms_of_use/agreements/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/terms_of_use/agreements/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/terms_of_use/agreements/item/acceptances/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/terms_of_use/agreements/item/acceptances/count/count_request_builder.py index 052bd02cc65..120d9b254a1 100644 --- a/msgraph_beta/generated/identity_governance/terms_of_use/agreements/item/acceptances/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/terms_of_use/agreements/item/acceptances/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/terms_of_use/agreements/item/file/localizations/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/terms_of_use/agreements/item/file/localizations/count/count_request_builder.py index b3fe8f2a5f2..9b019b376c4 100644 --- a/msgraph_beta/generated/identity_governance/terms_of_use/agreements/item/file/localizations/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/terms_of_use/agreements/item/file/localizations/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/terms_of_use/agreements/item/file/localizations/item/versions/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/terms_of_use/agreements/item/file/localizations/item/versions/count/count_request_builder.py index 4be4cd2530a..d1f3aab0806 100644 --- a/msgraph_beta/generated/identity_governance/terms_of_use/agreements/item/file/localizations/item/versions/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/terms_of_use/agreements/item/file/localizations/item/versions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/terms_of_use/agreements/item/files/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/terms_of_use/agreements/item/files/count/count_request_builder.py index d05fd345316..258cf4281cd 100644 --- a/msgraph_beta/generated/identity_governance/terms_of_use/agreements/item/files/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/terms_of_use/agreements/item/files/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_governance/terms_of_use/agreements/item/files/item/versions/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/terms_of_use/agreements/item/files/item/versions/count/count_request_builder.py index ac6d8a8d3b4..e492f23bf13 100644 --- a/msgraph_beta/generated/identity_governance/terms_of_use/agreements/item/files/item/versions/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/terms_of_use/agreements/item/files/item/versions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_protection/risk_detections/count/count_request_builder.py b/msgraph_beta/generated/identity_protection/risk_detections/count/count_request_builder.py index 90352c39dd6..804bd25fdc6 100644 --- a/msgraph_beta/generated/identity_protection/risk_detections/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_protection/risk_detections/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_protection/risk_detections/item/risk_detection_item_request_builder.py b/msgraph_beta/generated/identity_protection/risk_detections/item/risk_detection_item_request_builder.py index 49513b26780..d68fcfd92ab 100644 --- a/msgraph_beta/generated/identity_protection/risk_detections/item/risk_detection_item_request_builder.py +++ b/msgraph_beta/generated/identity_protection/risk_detections/item/risk_detection_item_request_builder.py @@ -49,10 +49,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[RiskDetectionItemRequestBuilderGetQueryParameters]] = None) -> Optional[RiskDetection]: """ - Retrieve the properties of a riskDetection object. + Retrieve the properties of a collection of riskDetection objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[RiskDetection] - Find more info here: https://learn.microsoft.com/graph/api/riskdetection-get?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/riskdetection-list?view=graph-rest-beta """ request_info = self.to_get_request_information( request_configuration @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[RiskDetectionItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Retrieve the properties of a riskDetection object. + Retrieve the properties of a collection of riskDetection objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -148,7 +148,7 @@ class RiskDetectionItemRequestBuilderDeleteRequestConfiguration(RequestConfigura @dataclass class RiskDetectionItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties of a riskDetection object. + Retrieve the properties of a collection of riskDetection objects. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/identity_protection/risky_service_principals/count/count_request_builder.py b/msgraph_beta/generated/identity_protection/risky_service_principals/count/count_request_builder.py index f27ad31a970..11e2e5992a2 100644 --- a/msgraph_beta/generated/identity_protection/risky_service_principals/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_protection/risky_service_principals/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_protection/risky_service_principals/item/history/count/count_request_builder.py b/msgraph_beta/generated/identity_protection/risky_service_principals/item/history/count/count_request_builder.py index 27299fd8bc3..7f1320abad1 100644 --- a/msgraph_beta/generated/identity_protection/risky_service_principals/item/history/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_protection/risky_service_principals/item/history/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_protection/risky_users/count/count_request_builder.py b/msgraph_beta/generated/identity_protection/risky_users/count/count_request_builder.py index 093905127ea..0dfd1929a0f 100644 --- a/msgraph_beta/generated/identity_protection/risky_users/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_protection/risky_users/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_protection/risky_users/item/history/count/count_request_builder.py b/msgraph_beta/generated/identity_protection/risky_users/item/history/count/count_request_builder.py index bdc334bfbf7..11d64ed4239 100644 --- a/msgraph_beta/generated/identity_protection/risky_users/item/history/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_protection/risky_users/item/history/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_protection/risky_users/risky_users_request_builder.py b/msgraph_beta/generated/identity_protection/risky_users/risky_users_request_builder.py index b06d5e49a9d..044edfec6ef 100644 --- a/msgraph_beta/generated/identity_protection/risky_users/risky_users_request_builder.py +++ b/msgraph_beta/generated/identity_protection/risky_users/risky_users_request_builder.py @@ -50,10 +50,10 @@ def by_risky_user_id(self,risky_user_id: str) -> RiskyUserItemRequestBuilder: async def get(self,request_configuration: Optional[RequestConfiguration[RiskyUsersRequestBuilderGetQueryParameters]] = None) -> Optional[RiskyUserCollectionResponse]: """ - Retrieve the properties and relationships of a collection of riskyUser objects. + Retrieve the properties and relationships of a riskyUser object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[RiskyUserCollectionResponse] - Find more info here: https://learn.microsoft.com/graph/api/riskyusers-list?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/riskyusers-get?view=graph-rest-beta """ request_info = self.to_get_request_information( request_configuration @@ -94,7 +94,7 @@ async def post(self,body: RiskyUser, request_configuration: Optional[RequestConf def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[RiskyUsersRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a collection of riskyUser objects. + Retrieve the properties and relationships of a riskyUser object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -158,7 +158,7 @@ def dismiss(self) -> DismissRequestBuilder: @dataclass class RiskyUsersRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a collection of riskyUser objects. + Retrieve the properties and relationships of a riskyUser object. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/identity_protection/service_principal_risk_detections/count/count_request_builder.py b/msgraph_beta/generated/identity_protection/service_principal_risk_detections/count/count_request_builder.py index 49414960e7c..4624bb72994 100644 --- a/msgraph_beta/generated/identity_protection/service_principal_risk_detections/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_protection/service_principal_risk_detections/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/identity_providers/available_provider_types/available_provider_types_get_response.py b/msgraph_beta/generated/identity_providers/available_provider_types/available_provider_types_get_response.py index 9d646682c95..70c99bd6998 100644 --- a/msgraph_beta/generated/identity_providers/available_provider_types/available_provider_types_get_response.py +++ b/msgraph_beta/generated/identity_providers/available_provider_types/available_provider_types_get_response.py @@ -49,6 +49,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ...models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_primitive_values("value", self.value) diff --git a/msgraph_beta/generated/identity_providers/count/count_request_builder.py b/msgraph_beta/generated/identity_providers/count/count_request_builder.py index 60d3dc29111..02e8eda1342 100644 --- a/msgraph_beta/generated/identity_providers/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_providers/count/count_request_builder.py @@ -45,7 +45,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/information_protection/bitlocker/recovery_keys/count/count_request_builder.py b/msgraph_beta/generated/information_protection/bitlocker/recovery_keys/count/count_request_builder.py index c0e94fe3921..0c7f25171f1 100644 --- a/msgraph_beta/generated/information_protection/bitlocker/recovery_keys/count/count_request_builder.py +++ b/msgraph_beta/generated/information_protection/bitlocker/recovery_keys/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/information_protection/data_loss_prevention_policies/count/count_request_builder.py b/msgraph_beta/generated/information_protection/data_loss_prevention_policies/count/count_request_builder.py index 0dda73cdae2..8152ca447af 100644 --- a/msgraph_beta/generated/information_protection/data_loss_prevention_policies/count/count_request_builder.py +++ b/msgraph_beta/generated/information_protection/data_loss_prevention_policies/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/information_protection/data_loss_prevention_policies/evaluate/evaluate_post_request_body.py b/msgraph_beta/generated/information_protection/data_loss_prevention_policies/evaluate/evaluate_post_request_body.py index 6b67724e573..d82af69a7bf 100644 --- a/msgraph_beta/generated/information_protection/data_loss_prevention_policies/evaluate/evaluate_post_request_body.py +++ b/msgraph_beta/generated/information_protection/data_loss_prevention_policies/evaluate/evaluate_post_request_body.py @@ -59,6 +59,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ....models.dlp_evaluation_input import DlpEvaluationInput + from ....models.dlp_notification import DlpNotification + writer.write_object_value("evaluationInput", self.evaluation_input) writer.write_object_value("notificationInfo", self.notification_info) writer.write_str_value("target", self.target) diff --git a/msgraph_beta/generated/information_protection/policy/labels/count/count_request_builder.py b/msgraph_beta/generated/information_protection/policy/labels/count/count_request_builder.py index 733b64bfe17..87bfe0d98f6 100644 --- a/msgraph_beta/generated/information_protection/policy/labels/count/count_request_builder.py +++ b/msgraph_beta/generated/information_protection/policy/labels/count/count_request_builder.py @@ -45,7 +45,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/information_protection/policy/labels/evaluate_application/evaluate_application_post_request_body.py b/msgraph_beta/generated/information_protection/policy/labels/evaluate_application/evaluate_application_post_request_body.py index 38ce82fefbc..07a9d05add4 100644 --- a/msgraph_beta/generated/information_protection/policy/labels/evaluate_application/evaluate_application_post_request_body.py +++ b/msgraph_beta/generated/information_protection/policy/labels/evaluate_application/evaluate_application_post_request_body.py @@ -56,6 +56,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.content_info import ContentInfo + from .....models.labeling_options import LabelingOptions + writer.write_object_value("contentInfo", self.content_info) writer.write_object_value("labelingOptions", self.labeling_options) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/information_protection/policy/labels/evaluate_application/evaluate_application_post_response.py b/msgraph_beta/generated/information_protection/policy/labels/evaluate_application/evaluate_application_post_response.py index ec1716d25df..50a2d1d9cb1 100644 --- a/msgraph_beta/generated/information_protection/policy/labels/evaluate_application/evaluate_application_post_response.py +++ b/msgraph_beta/generated/information_protection/policy/labels/evaluate_application/evaluate_application_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .....models.information_protection_action import InformationProtectionAction + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/information_protection/policy/labels/evaluate_classification_results/evaluate_classification_results_post_request_body.py b/msgraph_beta/generated/information_protection/policy/labels/evaluate_classification_results/evaluate_classification_results_post_request_body.py index 4d6183b87f0..d6f51bd0304 100644 --- a/msgraph_beta/generated/information_protection/policy/labels/evaluate_classification_results/evaluate_classification_results_post_request_body.py +++ b/msgraph_beta/generated/information_protection/policy/labels/evaluate_classification_results/evaluate_classification_results_post_request_body.py @@ -56,6 +56,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.classification_result import ClassificationResult + from .....models.content_info import ContentInfo + writer.write_collection_of_object_values("classificationResults", self.classification_results) writer.write_object_value("contentInfo", self.content_info) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/information_protection/policy/labels/evaluate_classification_results/evaluate_classification_results_post_response.py b/msgraph_beta/generated/information_protection/policy/labels/evaluate_classification_results/evaluate_classification_results_post_response.py index 6722c80b291..056999a19f4 100644 --- a/msgraph_beta/generated/information_protection/policy/labels/evaluate_classification_results/evaluate_classification_results_post_response.py +++ b/msgraph_beta/generated/information_protection/policy/labels/evaluate_classification_results/evaluate_classification_results_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .....models.information_protection_action import InformationProtectionAction + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/information_protection/policy/labels/evaluate_removal/evaluate_removal_post_request_body.py b/msgraph_beta/generated/information_protection/policy/labels/evaluate_removal/evaluate_removal_post_request_body.py index 7687e1a32ae..bca31d64838 100644 --- a/msgraph_beta/generated/information_protection/policy/labels/evaluate_removal/evaluate_removal_post_request_body.py +++ b/msgraph_beta/generated/information_protection/policy/labels/evaluate_removal/evaluate_removal_post_request_body.py @@ -56,6 +56,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.content_info import ContentInfo + from .....models.downgrade_justification import DowngradeJustification + writer.write_object_value("contentInfo", self.content_info) writer.write_object_value("downgradeJustification", self.downgrade_justification) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/information_protection/policy/labels/evaluate_removal/evaluate_removal_post_response.py b/msgraph_beta/generated/information_protection/policy/labels/evaluate_removal/evaluate_removal_post_response.py index b8fa9a8f7e1..8004219173a 100644 --- a/msgraph_beta/generated/information_protection/policy/labels/evaluate_removal/evaluate_removal_post_response.py +++ b/msgraph_beta/generated/information_protection/policy/labels/evaluate_removal/evaluate_removal_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .....models.information_protection_action import InformationProtectionAction + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/information_protection/policy/labels/extract_label/extract_label_post_request_body.py b/msgraph_beta/generated/information_protection/policy/labels/extract_label/extract_label_post_request_body.py index e7ef180bef1..635b4651319 100644 --- a/msgraph_beta/generated/information_protection/policy/labels/extract_label/extract_label_post_request_body.py +++ b/msgraph_beta/generated/information_protection/policy/labels/extract_label/extract_label_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.content_info import ContentInfo + writer.write_object_value("contentInfo", self.content_info) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/information_protection/sensitivity_labels/count/count_request_builder.py b/msgraph_beta/generated/information_protection/sensitivity_labels/count/count_request_builder.py index cb39402c70b..4f67a355c3f 100644 --- a/msgraph_beta/generated/information_protection/sensitivity_labels/count/count_request_builder.py +++ b/msgraph_beta/generated/information_protection/sensitivity_labels/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/information_protection/sensitivity_labels/evaluate/evaluate_post_request_body.py b/msgraph_beta/generated/information_protection/sensitivity_labels/evaluate/evaluate_post_request_body.py index 152aeec2fe1..962614c56df 100644 --- a/msgraph_beta/generated/information_protection/sensitivity_labels/evaluate/evaluate_post_request_body.py +++ b/msgraph_beta/generated/information_protection/sensitivity_labels/evaluate/evaluate_post_request_body.py @@ -56,6 +56,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ....models.current_label import CurrentLabel + from ....models.discovered_sensitive_type import DiscoveredSensitiveType + writer.write_object_value("currentLabel", self.current_label) writer.write_collection_of_object_values("discoveredSensitiveTypes", self.discovered_sensitive_types) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/information_protection/sensitivity_labels/item/sublabels/count/count_request_builder.py b/msgraph_beta/generated/information_protection/sensitivity_labels/item/sublabels/count/count_request_builder.py index 2cd93b69455..a17e723a86f 100644 --- a/msgraph_beta/generated/information_protection/sensitivity_labels/item/sublabels/count/count_request_builder.py +++ b/msgraph_beta/generated/information_protection/sensitivity_labels/item/sublabels/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/information_protection/sensitivity_labels/item/sublabels/evaluate/evaluate_post_request_body.py b/msgraph_beta/generated/information_protection/sensitivity_labels/item/sublabels/evaluate/evaluate_post_request_body.py index ab630148f58..b9c7528cf2b 100644 --- a/msgraph_beta/generated/information_protection/sensitivity_labels/item/sublabels/evaluate/evaluate_post_request_body.py +++ b/msgraph_beta/generated/information_protection/sensitivity_labels/item/sublabels/evaluate/evaluate_post_request_body.py @@ -56,6 +56,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ......models.current_label import CurrentLabel + from ......models.discovered_sensitive_type import DiscoveredSensitiveType + writer.write_object_value("currentLabel", self.current_label) writer.write_collection_of_object_values("discoveredSensitiveTypes", self.discovered_sensitive_types) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/information_protection/threat_assessment_requests/count/count_request_builder.py b/msgraph_beta/generated/information_protection/threat_assessment_requests/count/count_request_builder.py index 3e685a37e2f..521b9284a59 100644 --- a/msgraph_beta/generated/information_protection/threat_assessment_requests/count/count_request_builder.py +++ b/msgraph_beta/generated/information_protection/threat_assessment_requests/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/information_protection/threat_assessment_requests/item/results/count/count_request_builder.py b/msgraph_beta/generated/information_protection/threat_assessment_requests/item/results/count/count_request_builder.py index 918f21e4436..748421ffae9 100644 --- a/msgraph_beta/generated/information_protection/threat_assessment_requests/item/results/count/count_request_builder.py +++ b/msgraph_beta/generated/information_protection/threat_assessment_requests/item/results/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/invitations/count/count_request_builder.py b/msgraph_beta/generated/invitations/count/count_request_builder.py index e43cbb8b0f6..fbb261ac394 100644 --- a/msgraph_beta/generated/invitations/count/count_request_builder.py +++ b/msgraph_beta/generated/invitations/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/invitations/invited_user/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/invitations/invited_user/service_provisioning_errors/count/count_request_builder.py index 7ff9c7071d0..a4cffa2ac8b 100644 --- a/msgraph_beta/generated/invitations/invited_user/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/invitations/invited_user/service_provisioning_errors/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/invitations/invited_user_sponsors/count/count_request_builder.py b/msgraph_beta/generated/invitations/invited_user_sponsors/count/count_request_builder.py index a8564c4be81..ff7cac4a55e 100644 --- a/msgraph_beta/generated/invitations/invited_user_sponsors/count/count_request_builder.py +++ b/msgraph_beta/generated/invitations/invited_user_sponsors/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/kiota-dom-export.txt b/msgraph_beta/generated/kiota-dom-export.txt index c527ee4dda5..039f75f194e 100644 --- a/msgraph_beta/generated/kiota-dom-export.txt +++ b/msgraph_beta/generated/kiota-dom-export.txt @@ -10501,6 +10501,7 @@ msgraph_beta.generated.BaseGraphServiceClient::|public|threat_submission:ThreatS msgraph_beta.generated.BaseGraphServiceClient::|public|trust_framework:TrustFrameworkRequestBuilder msgraph_beta.generated.BaseGraphServiceClient::|public|url_template:str msgraph_beta.generated.BaseGraphServiceClient::|public|users:UsersRequestBuilder +msgraph_beta.generated.BaseGraphServiceClient::|public|users_with_user_principal_name(user_principal_name:str):UsersWithUserPrincipalNameRequestBuilder msgraph_beta.generated.BaseGraphServiceClient::|public|workplace:WorkplaceRequestBuilder msgraph_beta.generated.bookingBusinesses.BookingBusinessesRequestBuilder-->BaseRequestBuilder msgraph_beta.generated.bookingBusinesses.BookingBusinessesRequestBuilder.BookingBusinessesRequestBuilderGetQueryParameters::|public|count:bool @@ -31061,6 +31062,8 @@ msgraph_beta.generated.deviceManagement.cloudCertificationAuthority.item.CloudCe msgraph_beta.generated.deviceManagement.cloudCertificationAuthority.item.CloudCertificationAuthorityItemRequestBuilder::|public|request_adapter:RequestAdapter msgraph_beta.generated.deviceManagement.cloudCertificationAuthority.item.CloudCertificationAuthorityItemRequestBuilder::|public|revoke_cloud_certification_authority_certificate:RevokeCloudCertificationAuthorityCertificateRequestBuilder msgraph_beta.generated.deviceManagement.cloudCertificationAuthority.item.CloudCertificationAuthorityItemRequestBuilder::|public|revoke_leaf_certificate:RevokeLeafCertificateRequestBuilder +msgraph_beta.generated.deviceManagement.cloudCertificationAuthority.item.CloudCertificationAuthorityItemRequestBuilder::|public|revoke_leaf_certificate_by_serial_number:RevokeLeafCertificateBySerialNumberRequestBuilder +msgraph_beta.generated.deviceManagement.cloudCertificationAuthority.item.CloudCertificationAuthorityItemRequestBuilder::|public|search_cloud_certification_authority_leaf_certificate_by_serial_number:SearchCloudCertificationAuthorityLeafCertificateBySerialNumberRequestBuilder msgraph_beta.generated.deviceManagement.cloudCertificationAuthority.item.CloudCertificationAuthorityItemRequestBuilder::|public|to_delete_request_information(request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation msgraph_beta.generated.deviceManagement.cloudCertificationAuthority.item.CloudCertificationAuthorityItemRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[CloudCertificationAuthorityItemRequestBuilderGetQueryParameters]):RequestInformation msgraph_beta.generated.deviceManagement.cloudCertificationAuthority.item.CloudCertificationAuthorityItemRequestBuilder::|public|to_patch_request_information(body:CloudCertificationAuthority; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation @@ -31215,6 +31218,44 @@ msgraph_beta.generated.deviceManagement.cloudCertificationAuthority.item.revokeL msgraph_beta.generated.deviceManagement.cloudCertificationAuthority.item.revokeLeafCertificate.RevokeLeafCertificateRequestBuilder::|public|to_post_request_information(body:RevokeLeafCertificatePostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation msgraph_beta.generated.deviceManagement.cloudCertificationAuthority.item.revokeLeafCertificate.RevokeLeafCertificateRequestBuilder::|public|url_template:str msgraph_beta.generated.deviceManagement.cloudCertificationAuthority.item.revokeLeafCertificate.RevokeLeafCertificateRequestBuilder::|public|with_url(raw_url:str):RevokeLeafCertificateRequestBuilder +msgraph_beta.generated.deviceManagement.cloudCertificationAuthority.item.revokeLeafCertificateBySerialNumber.RevokeLeafCertificateBySerialNumberPostRequestBody::|public|additional_data():Dict[str, Any] +msgraph_beta.generated.deviceManagement.cloudCertificationAuthority.item.revokeLeafCertificateBySerialNumber.RevokeLeafCertificateBySerialNumberPostRequestBody::|public|additional_data(value:Dict[str, Any]):None +msgraph_beta.generated.deviceManagement.cloudCertificationAuthority.item.revokeLeafCertificateBySerialNumber.RevokeLeafCertificateBySerialNumberPostRequestBody::|public|backing_store:BackingStore +msgraph_beta.generated.deviceManagement.cloudCertificationAuthority.item.revokeLeafCertificateBySerialNumber.RevokeLeafCertificateBySerialNumberPostRequestBody::|public|certificate_serial_number():str +msgraph_beta.generated.deviceManagement.cloudCertificationAuthority.item.revokeLeafCertificateBySerialNumber.RevokeLeafCertificateBySerialNumberPostRequestBody::|public|certificate_serial_number(value:str):None +msgraph_beta.generated.deviceManagement.cloudCertificationAuthority.item.revokeLeafCertificateBySerialNumber.RevokeLeafCertificateBySerialNumberPostRequestBody::|public|constructor():None +msgraph_beta.generated.deviceManagement.cloudCertificationAuthority.item.revokeLeafCertificateBySerialNumber.RevokeLeafCertificateBySerialNumberPostRequestBody::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.deviceManagement.cloudCertificationAuthority.item.revokeLeafCertificateBySerialNumber.RevokeLeafCertificateBySerialNumberPostRequestBody::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.deviceManagement.cloudCertificationAuthority.item.revokeLeafCertificateBySerialNumber.RevokeLeafCertificateBySerialNumberPostRequestBody::|static|public|create_from_discriminator_value(parse_node:ParseNode):RevokeLeafCertificateBySerialNumberPostRequestBody +msgraph_beta.generated.deviceManagement.cloudCertificationAuthority.item.revokeLeafCertificateBySerialNumber.RevokeLeafCertificateBySerialNumberPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +msgraph_beta.generated.deviceManagement.cloudCertificationAuthority.item.revokeLeafCertificateBySerialNumber.RevokeLeafCertificateBySerialNumberRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.deviceManagement.cloudCertificationAuthority.item.revokeLeafCertificateBySerialNumber.RevokeLeafCertificateBySerialNumberRequestBuilder.RevokeLeafCertificateBySerialNumberRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.deviceManagement.cloudCertificationAuthority.item.revokeLeafCertificateBySerialNumber.RevokeLeafCertificateBySerialNumberRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.deviceManagement.cloudCertificationAuthority.item.revokeLeafCertificateBySerialNumber.RevokeLeafCertificateBySerialNumberRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph_beta.generated.deviceManagement.cloudCertificationAuthority.item.revokeLeafCertificateBySerialNumber.RevokeLeafCertificateBySerialNumberRequestBuilder::|public|post(body:RevokeLeafCertificateBySerialNumberPostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):CloudCertificationAuthorityLeafCertificate +msgraph_beta.generated.deviceManagement.cloudCertificationAuthority.item.revokeLeafCertificateBySerialNumber.RevokeLeafCertificateBySerialNumberRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.deviceManagement.cloudCertificationAuthority.item.revokeLeafCertificateBySerialNumber.RevokeLeafCertificateBySerialNumberRequestBuilder::|public|to_post_request_information(body:RevokeLeafCertificateBySerialNumberPostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.deviceManagement.cloudCertificationAuthority.item.revokeLeafCertificateBySerialNumber.RevokeLeafCertificateBySerialNumberRequestBuilder::|public|url_template:str +msgraph_beta.generated.deviceManagement.cloudCertificationAuthority.item.revokeLeafCertificateBySerialNumber.RevokeLeafCertificateBySerialNumberRequestBuilder::|public|with_url(raw_url:str):RevokeLeafCertificateBySerialNumberRequestBuilder +msgraph_beta.generated.deviceManagement.cloudCertificationAuthority.item.searchCloudCertificationAuthorityLeafCertificateBySerialNumber.SearchCloudCertificationAuthorityLeafCertificateBySerialNumberPostRequestBody::|public|additional_data():Dict[str, Any] +msgraph_beta.generated.deviceManagement.cloudCertificationAuthority.item.searchCloudCertificationAuthorityLeafCertificateBySerialNumber.SearchCloudCertificationAuthorityLeafCertificateBySerialNumberPostRequestBody::|public|additional_data(value:Dict[str, Any]):None +msgraph_beta.generated.deviceManagement.cloudCertificationAuthority.item.searchCloudCertificationAuthorityLeafCertificateBySerialNumber.SearchCloudCertificationAuthorityLeafCertificateBySerialNumberPostRequestBody::|public|backing_store:BackingStore +msgraph_beta.generated.deviceManagement.cloudCertificationAuthority.item.searchCloudCertificationAuthorityLeafCertificateBySerialNumber.SearchCloudCertificationAuthorityLeafCertificateBySerialNumberPostRequestBody::|public|certificate_serial_number():str +msgraph_beta.generated.deviceManagement.cloudCertificationAuthority.item.searchCloudCertificationAuthorityLeafCertificateBySerialNumber.SearchCloudCertificationAuthorityLeafCertificateBySerialNumberPostRequestBody::|public|certificate_serial_number(value:str):None +msgraph_beta.generated.deviceManagement.cloudCertificationAuthority.item.searchCloudCertificationAuthorityLeafCertificateBySerialNumber.SearchCloudCertificationAuthorityLeafCertificateBySerialNumberPostRequestBody::|public|constructor():None +msgraph_beta.generated.deviceManagement.cloudCertificationAuthority.item.searchCloudCertificationAuthorityLeafCertificateBySerialNumber.SearchCloudCertificationAuthorityLeafCertificateBySerialNumberPostRequestBody::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.deviceManagement.cloudCertificationAuthority.item.searchCloudCertificationAuthorityLeafCertificateBySerialNumber.SearchCloudCertificationAuthorityLeafCertificateBySerialNumberPostRequestBody::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.deviceManagement.cloudCertificationAuthority.item.searchCloudCertificationAuthorityLeafCertificateBySerialNumber.SearchCloudCertificationAuthorityLeafCertificateBySerialNumberPostRequestBody::|static|public|create_from_discriminator_value(parse_node:ParseNode):SearchCloudCertificationAuthorityLeafCertificateBySerialNumberPostRequestBody +msgraph_beta.generated.deviceManagement.cloudCertificationAuthority.item.searchCloudCertificationAuthorityLeafCertificateBySerialNumber.SearchCloudCertificationAuthorityLeafCertificateBySerialNumberPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +msgraph_beta.generated.deviceManagement.cloudCertificationAuthority.item.searchCloudCertificationAuthorityLeafCertificateBySerialNumber.SearchCloudCertificationAuthorityLeafCertificateBySerialNumberRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.deviceManagement.cloudCertificationAuthority.item.searchCloudCertificationAuthorityLeafCertificateBySerialNumber.SearchCloudCertificationAuthorityLeafCertificateBySerialNumberRequestBuilder.SearchCloudCertificationAuthorityLeafCertificateBySerialNumberRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.deviceManagement.cloudCertificationAuthority.item.searchCloudCertificationAuthorityLeafCertificateBySerialNumber.SearchCloudCertificationAuthorityLeafCertificateBySerialNumberRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.deviceManagement.cloudCertificationAuthority.item.searchCloudCertificationAuthorityLeafCertificateBySerialNumber.SearchCloudCertificationAuthorityLeafCertificateBySerialNumberRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph_beta.generated.deviceManagement.cloudCertificationAuthority.item.searchCloudCertificationAuthorityLeafCertificateBySerialNumber.SearchCloudCertificationAuthorityLeafCertificateBySerialNumberRequestBuilder::|public|post(body:SearchCloudCertificationAuthorityLeafCertificateBySerialNumberPostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):CloudCertificationAuthorityLeafCertificate +msgraph_beta.generated.deviceManagement.cloudCertificationAuthority.item.searchCloudCertificationAuthorityLeafCertificateBySerialNumber.SearchCloudCertificationAuthorityLeafCertificateBySerialNumberRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.deviceManagement.cloudCertificationAuthority.item.searchCloudCertificationAuthorityLeafCertificateBySerialNumber.SearchCloudCertificationAuthorityLeafCertificateBySerialNumberRequestBuilder::|public|to_post_request_information(body:SearchCloudCertificationAuthorityLeafCertificateBySerialNumberPostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.deviceManagement.cloudCertificationAuthority.item.searchCloudCertificationAuthorityLeafCertificateBySerialNumber.SearchCloudCertificationAuthorityLeafCertificateBySerialNumberRequestBuilder::|public|url_template:str +msgraph_beta.generated.deviceManagement.cloudCertificationAuthority.item.searchCloudCertificationAuthorityLeafCertificateBySerialNumber.SearchCloudCertificationAuthorityLeafCertificateBySerialNumberRequestBuilder::|public|with_url(raw_url:str):SearchCloudCertificationAuthorityLeafCertificateBySerialNumberRequestBuilder msgraph_beta.generated.deviceManagement.cloudCertificationAuthority.item.uploadExternallySignedCertificationAuthorityCertificate.UploadExternallySignedCertificationAuthorityCertificatePostRequestBody::|public|additional_data():Dict[str, Any] msgraph_beta.generated.deviceManagement.cloudCertificationAuthority.item.uploadExternallySignedCertificationAuthorityCertificate.UploadExternallySignedCertificationAuthorityCertificatePostRequestBody::|public|additional_data(value:Dict[str, Any]):None msgraph_beta.generated.deviceManagement.cloudCertificationAuthority.item.uploadExternallySignedCertificationAuthorityCertificate.UploadExternallySignedCertificationAuthorityCertificatePostRequestBody::|public|backing_store:BackingStore @@ -32261,12 +32302,9 @@ msgraph_beta.generated.deviceManagement.comanagedDevices.item.ManagedDeviceItemR msgraph_beta.generated.deviceManagement.comanagedDevices.item.ManagedDeviceItemRequestBuilder::|public|reenable:ReenableRequestBuilder msgraph_beta.generated.deviceManagement.comanagedDevices.item.ManagedDeviceItemRequestBuilder::|public|remote_lock:RemoteLockRequestBuilder msgraph_beta.generated.deviceManagement.comanagedDevices.item.ManagedDeviceItemRequestBuilder::|public|remove_device_firmware_configuration_interface_management:RemoveDeviceFirmwareConfigurationInterfaceManagementRequestBuilder -msgraph_beta.generated.deviceManagement.comanagedDevices.item.ManagedDeviceItemRequestBuilder::|public|reprovision_cloud_pc:ReprovisionCloudPcRequestBuilder msgraph_beta.generated.deviceManagement.comanagedDevices.item.ManagedDeviceItemRequestBuilder::|public|request_adapter:RequestAdapter msgraph_beta.generated.deviceManagement.comanagedDevices.item.ManagedDeviceItemRequestBuilder::|public|request_remote_assistance:RequestRemoteAssistanceRequestBuilder msgraph_beta.generated.deviceManagement.comanagedDevices.item.ManagedDeviceItemRequestBuilder::|public|reset_passcode:ResetPasscodeRequestBuilder -msgraph_beta.generated.deviceManagement.comanagedDevices.item.ManagedDeviceItemRequestBuilder::|public|resize_cloud_pc:ResizeCloudPcRequestBuilder -msgraph_beta.generated.deviceManagement.comanagedDevices.item.ManagedDeviceItemRequestBuilder::|public|restore_cloud_pc:RestoreCloudPcRequestBuilder msgraph_beta.generated.deviceManagement.comanagedDevices.item.ManagedDeviceItemRequestBuilder::|public|retire:RetireRequestBuilder msgraph_beta.generated.deviceManagement.comanagedDevices.item.ManagedDeviceItemRequestBuilder::|public|revoke_apple_vpp_licenses:RevokeAppleVppLicensesRequestBuilder msgraph_beta.generated.deviceManagement.comanagedDevices.item.ManagedDeviceItemRequestBuilder::|public|rotate_bit_locker_keys:RotateBitLockerKeysRequestBuilder @@ -32447,15 +32485,6 @@ msgraph_beta.generated.deviceManagement.comanagedDevices.item.removeDeviceFirmwa msgraph_beta.generated.deviceManagement.comanagedDevices.item.removeDeviceFirmwareConfigurationInterfaceManagement.RemoveDeviceFirmwareConfigurationInterfaceManagementRequestBuilder::|public|to_post_request_information(request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation msgraph_beta.generated.deviceManagement.comanagedDevices.item.removeDeviceFirmwareConfigurationInterfaceManagement.RemoveDeviceFirmwareConfigurationInterfaceManagementRequestBuilder::|public|url_template:str msgraph_beta.generated.deviceManagement.comanagedDevices.item.removeDeviceFirmwareConfigurationInterfaceManagement.RemoveDeviceFirmwareConfigurationInterfaceManagementRequestBuilder::|public|with_url(raw_url:str):RemoveDeviceFirmwareConfigurationInterfaceManagementRequestBuilder -msgraph_beta.generated.deviceManagement.comanagedDevices.item.reprovisionCloudPc.ReprovisionCloudPcRequestBuilder-->BaseRequestBuilder -msgraph_beta.generated.deviceManagement.comanagedDevices.item.reprovisionCloudPc.ReprovisionCloudPcRequestBuilder.ReprovisionCloudPcRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] -msgraph_beta.generated.deviceManagement.comanagedDevices.item.reprovisionCloudPc.ReprovisionCloudPcRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None -msgraph_beta.generated.deviceManagement.comanagedDevices.item.reprovisionCloudPc.ReprovisionCloudPcRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] -msgraph_beta.generated.deviceManagement.comanagedDevices.item.reprovisionCloudPc.ReprovisionCloudPcRequestBuilder::|public|post(request_configuration?:RequestConfiguration[QueryParameters]):None -msgraph_beta.generated.deviceManagement.comanagedDevices.item.reprovisionCloudPc.ReprovisionCloudPcRequestBuilder::|public|request_adapter:RequestAdapter -msgraph_beta.generated.deviceManagement.comanagedDevices.item.reprovisionCloudPc.ReprovisionCloudPcRequestBuilder::|public|to_post_request_information(request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation -msgraph_beta.generated.deviceManagement.comanagedDevices.item.reprovisionCloudPc.ReprovisionCloudPcRequestBuilder::|public|url_template:str -msgraph_beta.generated.deviceManagement.comanagedDevices.item.reprovisionCloudPc.ReprovisionCloudPcRequestBuilder::|public|with_url(raw_url:str):ReprovisionCloudPcRequestBuilder msgraph_beta.generated.deviceManagement.comanagedDevices.item.requestRemoteAssistance.RequestRemoteAssistanceRequestBuilder-->BaseRequestBuilder msgraph_beta.generated.deviceManagement.comanagedDevices.item.requestRemoteAssistance.RequestRemoteAssistanceRequestBuilder.RequestRemoteAssistanceRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] msgraph_beta.generated.deviceManagement.comanagedDevices.item.requestRemoteAssistance.RequestRemoteAssistanceRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None @@ -32474,44 +32503,6 @@ msgraph_beta.generated.deviceManagement.comanagedDevices.item.resetPasscode.Rese msgraph_beta.generated.deviceManagement.comanagedDevices.item.resetPasscode.ResetPasscodeRequestBuilder::|public|to_post_request_information(request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation msgraph_beta.generated.deviceManagement.comanagedDevices.item.resetPasscode.ResetPasscodeRequestBuilder::|public|url_template:str msgraph_beta.generated.deviceManagement.comanagedDevices.item.resetPasscode.ResetPasscodeRequestBuilder::|public|with_url(raw_url:str):ResetPasscodeRequestBuilder -msgraph_beta.generated.deviceManagement.comanagedDevices.item.resizeCloudPc.ResizeCloudPcPostRequestBody::|public|additional_data():Dict[str, Any] -msgraph_beta.generated.deviceManagement.comanagedDevices.item.resizeCloudPc.ResizeCloudPcPostRequestBody::|public|additional_data(value:Dict[str, Any]):None -msgraph_beta.generated.deviceManagement.comanagedDevices.item.resizeCloudPc.ResizeCloudPcPostRequestBody::|public|backing_store:BackingStore -msgraph_beta.generated.deviceManagement.comanagedDevices.item.resizeCloudPc.ResizeCloudPcPostRequestBody::|public|constructor():None -msgraph_beta.generated.deviceManagement.comanagedDevices.item.resizeCloudPc.ResizeCloudPcPostRequestBody::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] -msgraph_beta.generated.deviceManagement.comanagedDevices.item.resizeCloudPc.ResizeCloudPcPostRequestBody::|public|serialize(writer:SerializationWriter):None -msgraph_beta.generated.deviceManagement.comanagedDevices.item.resizeCloudPc.ResizeCloudPcPostRequestBody::|public|target_service_plan_id():str -msgraph_beta.generated.deviceManagement.comanagedDevices.item.resizeCloudPc.ResizeCloudPcPostRequestBody::|public|target_service_plan_id(value:str):None -msgraph_beta.generated.deviceManagement.comanagedDevices.item.resizeCloudPc.ResizeCloudPcPostRequestBody::|static|public|create_from_discriminator_value(parse_node:ParseNode):ResizeCloudPcPostRequestBody -msgraph_beta.generated.deviceManagement.comanagedDevices.item.resizeCloudPc.ResizeCloudPcPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable -msgraph_beta.generated.deviceManagement.comanagedDevices.item.resizeCloudPc.ResizeCloudPcRequestBuilder-->BaseRequestBuilder -msgraph_beta.generated.deviceManagement.comanagedDevices.item.resizeCloudPc.ResizeCloudPcRequestBuilder.ResizeCloudPcRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] -msgraph_beta.generated.deviceManagement.comanagedDevices.item.resizeCloudPc.ResizeCloudPcRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None -msgraph_beta.generated.deviceManagement.comanagedDevices.item.resizeCloudPc.ResizeCloudPcRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] -msgraph_beta.generated.deviceManagement.comanagedDevices.item.resizeCloudPc.ResizeCloudPcRequestBuilder::|public|post(body:ResizeCloudPcPostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):None -msgraph_beta.generated.deviceManagement.comanagedDevices.item.resizeCloudPc.ResizeCloudPcRequestBuilder::|public|request_adapter:RequestAdapter -msgraph_beta.generated.deviceManagement.comanagedDevices.item.resizeCloudPc.ResizeCloudPcRequestBuilder::|public|to_post_request_information(body:ResizeCloudPcPostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation -msgraph_beta.generated.deviceManagement.comanagedDevices.item.resizeCloudPc.ResizeCloudPcRequestBuilder::|public|url_template:str -msgraph_beta.generated.deviceManagement.comanagedDevices.item.resizeCloudPc.ResizeCloudPcRequestBuilder::|public|with_url(raw_url:str):ResizeCloudPcRequestBuilder -msgraph_beta.generated.deviceManagement.comanagedDevices.item.restoreCloudPc.RestoreCloudPcPostRequestBody::|public|additional_data():Dict[str, Any] -msgraph_beta.generated.deviceManagement.comanagedDevices.item.restoreCloudPc.RestoreCloudPcPostRequestBody::|public|additional_data(value:Dict[str, Any]):None -msgraph_beta.generated.deviceManagement.comanagedDevices.item.restoreCloudPc.RestoreCloudPcPostRequestBody::|public|backing_store:BackingStore -msgraph_beta.generated.deviceManagement.comanagedDevices.item.restoreCloudPc.RestoreCloudPcPostRequestBody::|public|cloud_pc_snapshot_id():str -msgraph_beta.generated.deviceManagement.comanagedDevices.item.restoreCloudPc.RestoreCloudPcPostRequestBody::|public|cloud_pc_snapshot_id(value:str):None -msgraph_beta.generated.deviceManagement.comanagedDevices.item.restoreCloudPc.RestoreCloudPcPostRequestBody::|public|constructor():None -msgraph_beta.generated.deviceManagement.comanagedDevices.item.restoreCloudPc.RestoreCloudPcPostRequestBody::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] -msgraph_beta.generated.deviceManagement.comanagedDevices.item.restoreCloudPc.RestoreCloudPcPostRequestBody::|public|serialize(writer:SerializationWriter):None -msgraph_beta.generated.deviceManagement.comanagedDevices.item.restoreCloudPc.RestoreCloudPcPostRequestBody::|static|public|create_from_discriminator_value(parse_node:ParseNode):RestoreCloudPcPostRequestBody -msgraph_beta.generated.deviceManagement.comanagedDevices.item.restoreCloudPc.RestoreCloudPcPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable -msgraph_beta.generated.deviceManagement.comanagedDevices.item.restoreCloudPc.RestoreCloudPcRequestBuilder-->BaseRequestBuilder -msgraph_beta.generated.deviceManagement.comanagedDevices.item.restoreCloudPc.RestoreCloudPcRequestBuilder.RestoreCloudPcRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] -msgraph_beta.generated.deviceManagement.comanagedDevices.item.restoreCloudPc.RestoreCloudPcRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None -msgraph_beta.generated.deviceManagement.comanagedDevices.item.restoreCloudPc.RestoreCloudPcRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] -msgraph_beta.generated.deviceManagement.comanagedDevices.item.restoreCloudPc.RestoreCloudPcRequestBuilder::|public|post(body:RestoreCloudPcPostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):None -msgraph_beta.generated.deviceManagement.comanagedDevices.item.restoreCloudPc.RestoreCloudPcRequestBuilder::|public|request_adapter:RequestAdapter -msgraph_beta.generated.deviceManagement.comanagedDevices.item.restoreCloudPc.RestoreCloudPcRequestBuilder::|public|to_post_request_information(body:RestoreCloudPcPostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation -msgraph_beta.generated.deviceManagement.comanagedDevices.item.restoreCloudPc.RestoreCloudPcRequestBuilder::|public|url_template:str -msgraph_beta.generated.deviceManagement.comanagedDevices.item.restoreCloudPc.RestoreCloudPcRequestBuilder::|public|with_url(raw_url:str):RestoreCloudPcRequestBuilder msgraph_beta.generated.deviceManagement.comanagedDevices.item.retire.RetireRequestBuilder-->BaseRequestBuilder msgraph_beta.generated.deviceManagement.comanagedDevices.item.retire.RetireRequestBuilder.RetireRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] msgraph_beta.generated.deviceManagement.comanagedDevices.item.retire.RetireRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None @@ -37619,6 +37610,7 @@ msgraph_beta.generated.deviceManagement.DeviceManagementRequestBuilder::|public| msgraph_beta.generated.deviceManagement.DeviceManagementRequestBuilder::|public|request_adapter:RequestAdapter msgraph_beta.generated.deviceManagement.DeviceManagementRequestBuilder::|public|resource_access_profiles:ResourceAccessProfilesRequestBuilder msgraph_beta.generated.deviceManagement.DeviceManagementRequestBuilder::|public|resource_operations:ResourceOperationsRequestBuilder +msgraph_beta.generated.deviceManagement.DeviceManagementRequestBuilder::|public|retrieve_user_role_detail_with_userid(userid:str):RetrieveUserRoleDetailWithUseridRequestBuilder msgraph_beta.generated.deviceManagement.DeviceManagementRequestBuilder::|public|reusable_policy_settings:ReusablePolicySettingsRequestBuilder msgraph_beta.generated.deviceManagement.DeviceManagementRequestBuilder::|public|reusable_settings:ReusableSettingsRequestBuilder msgraph_beta.generated.deviceManagement.DeviceManagementRequestBuilder::|public|role_assignments:RoleAssignmentsRequestBuilder @@ -43520,12 +43512,9 @@ msgraph_beta.generated.deviceManagement.managedDevices.item.ManagedDeviceItemReq msgraph_beta.generated.deviceManagement.managedDevices.item.ManagedDeviceItemRequestBuilder::|public|reenable:ReenableRequestBuilder msgraph_beta.generated.deviceManagement.managedDevices.item.ManagedDeviceItemRequestBuilder::|public|remote_lock:RemoteLockRequestBuilder msgraph_beta.generated.deviceManagement.managedDevices.item.ManagedDeviceItemRequestBuilder::|public|remove_device_firmware_configuration_interface_management:RemoveDeviceFirmwareConfigurationInterfaceManagementRequestBuilder -msgraph_beta.generated.deviceManagement.managedDevices.item.ManagedDeviceItemRequestBuilder::|public|reprovision_cloud_pc:ReprovisionCloudPcRequestBuilder msgraph_beta.generated.deviceManagement.managedDevices.item.ManagedDeviceItemRequestBuilder::|public|request_adapter:RequestAdapter msgraph_beta.generated.deviceManagement.managedDevices.item.ManagedDeviceItemRequestBuilder::|public|request_remote_assistance:RequestRemoteAssistanceRequestBuilder msgraph_beta.generated.deviceManagement.managedDevices.item.ManagedDeviceItemRequestBuilder::|public|reset_passcode:ResetPasscodeRequestBuilder -msgraph_beta.generated.deviceManagement.managedDevices.item.ManagedDeviceItemRequestBuilder::|public|resize_cloud_pc:ResizeCloudPcRequestBuilder -msgraph_beta.generated.deviceManagement.managedDevices.item.ManagedDeviceItemRequestBuilder::|public|restore_cloud_pc:RestoreCloudPcRequestBuilder msgraph_beta.generated.deviceManagement.managedDevices.item.ManagedDeviceItemRequestBuilder::|public|retire:RetireRequestBuilder msgraph_beta.generated.deviceManagement.managedDevices.item.ManagedDeviceItemRequestBuilder::|public|revoke_apple_vpp_licenses:RevokeAppleVppLicensesRequestBuilder msgraph_beta.generated.deviceManagement.managedDevices.item.ManagedDeviceItemRequestBuilder::|public|rotate_bit_locker_keys:RotateBitLockerKeysRequestBuilder @@ -43706,15 +43695,6 @@ msgraph_beta.generated.deviceManagement.managedDevices.item.removeDeviceFirmware msgraph_beta.generated.deviceManagement.managedDevices.item.removeDeviceFirmwareConfigurationInterfaceManagement.RemoveDeviceFirmwareConfigurationInterfaceManagementRequestBuilder::|public|to_post_request_information(request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation msgraph_beta.generated.deviceManagement.managedDevices.item.removeDeviceFirmwareConfigurationInterfaceManagement.RemoveDeviceFirmwareConfigurationInterfaceManagementRequestBuilder::|public|url_template:str msgraph_beta.generated.deviceManagement.managedDevices.item.removeDeviceFirmwareConfigurationInterfaceManagement.RemoveDeviceFirmwareConfigurationInterfaceManagementRequestBuilder::|public|with_url(raw_url:str):RemoveDeviceFirmwareConfigurationInterfaceManagementRequestBuilder -msgraph_beta.generated.deviceManagement.managedDevices.item.reprovisionCloudPc.ReprovisionCloudPcRequestBuilder-->BaseRequestBuilder -msgraph_beta.generated.deviceManagement.managedDevices.item.reprovisionCloudPc.ReprovisionCloudPcRequestBuilder.ReprovisionCloudPcRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] -msgraph_beta.generated.deviceManagement.managedDevices.item.reprovisionCloudPc.ReprovisionCloudPcRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None -msgraph_beta.generated.deviceManagement.managedDevices.item.reprovisionCloudPc.ReprovisionCloudPcRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] -msgraph_beta.generated.deviceManagement.managedDevices.item.reprovisionCloudPc.ReprovisionCloudPcRequestBuilder::|public|post(request_configuration?:RequestConfiguration[QueryParameters]):None -msgraph_beta.generated.deviceManagement.managedDevices.item.reprovisionCloudPc.ReprovisionCloudPcRequestBuilder::|public|request_adapter:RequestAdapter -msgraph_beta.generated.deviceManagement.managedDevices.item.reprovisionCloudPc.ReprovisionCloudPcRequestBuilder::|public|to_post_request_information(request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation -msgraph_beta.generated.deviceManagement.managedDevices.item.reprovisionCloudPc.ReprovisionCloudPcRequestBuilder::|public|url_template:str -msgraph_beta.generated.deviceManagement.managedDevices.item.reprovisionCloudPc.ReprovisionCloudPcRequestBuilder::|public|with_url(raw_url:str):ReprovisionCloudPcRequestBuilder msgraph_beta.generated.deviceManagement.managedDevices.item.requestRemoteAssistance.RequestRemoteAssistanceRequestBuilder-->BaseRequestBuilder msgraph_beta.generated.deviceManagement.managedDevices.item.requestRemoteAssistance.RequestRemoteAssistanceRequestBuilder.RequestRemoteAssistanceRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] msgraph_beta.generated.deviceManagement.managedDevices.item.requestRemoteAssistance.RequestRemoteAssistanceRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None @@ -43733,44 +43713,6 @@ msgraph_beta.generated.deviceManagement.managedDevices.item.resetPasscode.ResetP msgraph_beta.generated.deviceManagement.managedDevices.item.resetPasscode.ResetPasscodeRequestBuilder::|public|to_post_request_information(request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation msgraph_beta.generated.deviceManagement.managedDevices.item.resetPasscode.ResetPasscodeRequestBuilder::|public|url_template:str msgraph_beta.generated.deviceManagement.managedDevices.item.resetPasscode.ResetPasscodeRequestBuilder::|public|with_url(raw_url:str):ResetPasscodeRequestBuilder -msgraph_beta.generated.deviceManagement.managedDevices.item.resizeCloudPc.ResizeCloudPcPostRequestBody::|public|additional_data():Dict[str, Any] -msgraph_beta.generated.deviceManagement.managedDevices.item.resizeCloudPc.ResizeCloudPcPostRequestBody::|public|additional_data(value:Dict[str, Any]):None -msgraph_beta.generated.deviceManagement.managedDevices.item.resizeCloudPc.ResizeCloudPcPostRequestBody::|public|backing_store:BackingStore -msgraph_beta.generated.deviceManagement.managedDevices.item.resizeCloudPc.ResizeCloudPcPostRequestBody::|public|constructor():None -msgraph_beta.generated.deviceManagement.managedDevices.item.resizeCloudPc.ResizeCloudPcPostRequestBody::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] -msgraph_beta.generated.deviceManagement.managedDevices.item.resizeCloudPc.ResizeCloudPcPostRequestBody::|public|serialize(writer:SerializationWriter):None -msgraph_beta.generated.deviceManagement.managedDevices.item.resizeCloudPc.ResizeCloudPcPostRequestBody::|public|target_service_plan_id():str -msgraph_beta.generated.deviceManagement.managedDevices.item.resizeCloudPc.ResizeCloudPcPostRequestBody::|public|target_service_plan_id(value:str):None -msgraph_beta.generated.deviceManagement.managedDevices.item.resizeCloudPc.ResizeCloudPcPostRequestBody::|static|public|create_from_discriminator_value(parse_node:ParseNode):ResizeCloudPcPostRequestBody -msgraph_beta.generated.deviceManagement.managedDevices.item.resizeCloudPc.ResizeCloudPcPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable -msgraph_beta.generated.deviceManagement.managedDevices.item.resizeCloudPc.ResizeCloudPcRequestBuilder-->BaseRequestBuilder -msgraph_beta.generated.deviceManagement.managedDevices.item.resizeCloudPc.ResizeCloudPcRequestBuilder.ResizeCloudPcRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] -msgraph_beta.generated.deviceManagement.managedDevices.item.resizeCloudPc.ResizeCloudPcRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None -msgraph_beta.generated.deviceManagement.managedDevices.item.resizeCloudPc.ResizeCloudPcRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] -msgraph_beta.generated.deviceManagement.managedDevices.item.resizeCloudPc.ResizeCloudPcRequestBuilder::|public|post(body:ResizeCloudPcPostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):None -msgraph_beta.generated.deviceManagement.managedDevices.item.resizeCloudPc.ResizeCloudPcRequestBuilder::|public|request_adapter:RequestAdapter -msgraph_beta.generated.deviceManagement.managedDevices.item.resizeCloudPc.ResizeCloudPcRequestBuilder::|public|to_post_request_information(body:ResizeCloudPcPostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation -msgraph_beta.generated.deviceManagement.managedDevices.item.resizeCloudPc.ResizeCloudPcRequestBuilder::|public|url_template:str -msgraph_beta.generated.deviceManagement.managedDevices.item.resizeCloudPc.ResizeCloudPcRequestBuilder::|public|with_url(raw_url:str):ResizeCloudPcRequestBuilder -msgraph_beta.generated.deviceManagement.managedDevices.item.restoreCloudPc.RestoreCloudPcPostRequestBody::|public|additional_data():Dict[str, Any] -msgraph_beta.generated.deviceManagement.managedDevices.item.restoreCloudPc.RestoreCloudPcPostRequestBody::|public|additional_data(value:Dict[str, Any]):None -msgraph_beta.generated.deviceManagement.managedDevices.item.restoreCloudPc.RestoreCloudPcPostRequestBody::|public|backing_store:BackingStore -msgraph_beta.generated.deviceManagement.managedDevices.item.restoreCloudPc.RestoreCloudPcPostRequestBody::|public|cloud_pc_snapshot_id():str -msgraph_beta.generated.deviceManagement.managedDevices.item.restoreCloudPc.RestoreCloudPcPostRequestBody::|public|cloud_pc_snapshot_id(value:str):None -msgraph_beta.generated.deviceManagement.managedDevices.item.restoreCloudPc.RestoreCloudPcPostRequestBody::|public|constructor():None -msgraph_beta.generated.deviceManagement.managedDevices.item.restoreCloudPc.RestoreCloudPcPostRequestBody::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] -msgraph_beta.generated.deviceManagement.managedDevices.item.restoreCloudPc.RestoreCloudPcPostRequestBody::|public|serialize(writer:SerializationWriter):None -msgraph_beta.generated.deviceManagement.managedDevices.item.restoreCloudPc.RestoreCloudPcPostRequestBody::|static|public|create_from_discriminator_value(parse_node:ParseNode):RestoreCloudPcPostRequestBody -msgraph_beta.generated.deviceManagement.managedDevices.item.restoreCloudPc.RestoreCloudPcPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable -msgraph_beta.generated.deviceManagement.managedDevices.item.restoreCloudPc.RestoreCloudPcRequestBuilder-->BaseRequestBuilder -msgraph_beta.generated.deviceManagement.managedDevices.item.restoreCloudPc.RestoreCloudPcRequestBuilder.RestoreCloudPcRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] -msgraph_beta.generated.deviceManagement.managedDevices.item.restoreCloudPc.RestoreCloudPcRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None -msgraph_beta.generated.deviceManagement.managedDevices.item.restoreCloudPc.RestoreCloudPcRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] -msgraph_beta.generated.deviceManagement.managedDevices.item.restoreCloudPc.RestoreCloudPcRequestBuilder::|public|post(body:RestoreCloudPcPostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):None -msgraph_beta.generated.deviceManagement.managedDevices.item.restoreCloudPc.RestoreCloudPcRequestBuilder::|public|request_adapter:RequestAdapter -msgraph_beta.generated.deviceManagement.managedDevices.item.restoreCloudPc.RestoreCloudPcRequestBuilder::|public|to_post_request_information(body:RestoreCloudPcPostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation -msgraph_beta.generated.deviceManagement.managedDevices.item.restoreCloudPc.RestoreCloudPcRequestBuilder::|public|url_template:str -msgraph_beta.generated.deviceManagement.managedDevices.item.restoreCloudPc.RestoreCloudPcRequestBuilder::|public|with_url(raw_url:str):RestoreCloudPcRequestBuilder msgraph_beta.generated.deviceManagement.managedDevices.item.retire.RetireRequestBuilder-->BaseRequestBuilder msgraph_beta.generated.deviceManagement.managedDevices.item.retire.RetireRequestBuilder.RetireRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] msgraph_beta.generated.deviceManagement.managedDevices.item.retire.RetireRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None @@ -48439,6 +48381,7 @@ msgraph_beta.generated.deviceManagement.reports.ReportsRequestBuilder::|public|g msgraph_beta.generated.deviceManagement.reports.ReportsRequestBuilder::|public|patch(body:DeviceManagementReports; request_configuration?:RequestConfiguration[QueryParameters]):DeviceManagementReports msgraph_beta.generated.deviceManagement.reports.ReportsRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] msgraph_beta.generated.deviceManagement.reports.ReportsRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.deviceManagement.reports.ReportsRequestBuilder::|public|retrieve_device_app_installation_status_report:RetrieveDeviceAppInstallationStatusReportRequestBuilder msgraph_beta.generated.deviceManagement.reports.ReportsRequestBuilder::|public|retrieve_security_task_apps_report:RetrieveSecurityTaskAppsReportRequestBuilder msgraph_beta.generated.deviceManagement.reports.ReportsRequestBuilder::|public|retrieve_win32_catalog_apps_update_report:RetrieveWin32CatalogAppsUpdateReportRequestBuilder msgraph_beta.generated.deviceManagement.reports.ReportsRequestBuilder::|public|to_delete_request_information(request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation @@ -48446,6 +48389,41 @@ msgraph_beta.generated.deviceManagement.reports.ReportsRequestBuilder::|public|t msgraph_beta.generated.deviceManagement.reports.ReportsRequestBuilder::|public|to_patch_request_information(body:DeviceManagementReports; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation msgraph_beta.generated.deviceManagement.reports.ReportsRequestBuilder::|public|url_template:str msgraph_beta.generated.deviceManagement.reports.ReportsRequestBuilder::|public|with_url(raw_url:str):ReportsRequestBuilder +msgraph_beta.generated.deviceManagement.reports.retrieveDeviceAppInstallationStatusReport.RetrieveDeviceAppInstallationStatusReportPostRequestBody::|public|additional_data():Dict[str, Any] +msgraph_beta.generated.deviceManagement.reports.retrieveDeviceAppInstallationStatusReport.RetrieveDeviceAppInstallationStatusReportPostRequestBody::|public|additional_data(value:Dict[str, Any]):None +msgraph_beta.generated.deviceManagement.reports.retrieveDeviceAppInstallationStatusReport.RetrieveDeviceAppInstallationStatusReportPostRequestBody::|public|backing_store:BackingStore +msgraph_beta.generated.deviceManagement.reports.retrieveDeviceAppInstallationStatusReport.RetrieveDeviceAppInstallationStatusReportPostRequestBody::|public|constructor():None +msgraph_beta.generated.deviceManagement.reports.retrieveDeviceAppInstallationStatusReport.RetrieveDeviceAppInstallationStatusReportPostRequestBody::|public|filter():str +msgraph_beta.generated.deviceManagement.reports.retrieveDeviceAppInstallationStatusReport.RetrieveDeviceAppInstallationStatusReportPostRequestBody::|public|filter(value:str):None +msgraph_beta.generated.deviceManagement.reports.retrieveDeviceAppInstallationStatusReport.RetrieveDeviceAppInstallationStatusReportPostRequestBody::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.deviceManagement.reports.retrieveDeviceAppInstallationStatusReport.RetrieveDeviceAppInstallationStatusReportPostRequestBody::|public|group_by():List[str] +msgraph_beta.generated.deviceManagement.reports.retrieveDeviceAppInstallationStatusReport.RetrieveDeviceAppInstallationStatusReportPostRequestBody::|public|group_by(value:List[str]):None +msgraph_beta.generated.deviceManagement.reports.retrieveDeviceAppInstallationStatusReport.RetrieveDeviceAppInstallationStatusReportPostRequestBody::|public|name():str +msgraph_beta.generated.deviceManagement.reports.retrieveDeviceAppInstallationStatusReport.RetrieveDeviceAppInstallationStatusReportPostRequestBody::|public|name(value:str):None +msgraph_beta.generated.deviceManagement.reports.retrieveDeviceAppInstallationStatusReport.RetrieveDeviceAppInstallationStatusReportPostRequestBody::|public|order_by():List[str] +msgraph_beta.generated.deviceManagement.reports.retrieveDeviceAppInstallationStatusReport.RetrieveDeviceAppInstallationStatusReportPostRequestBody::|public|order_by(value:List[str]):None +msgraph_beta.generated.deviceManagement.reports.retrieveDeviceAppInstallationStatusReport.RetrieveDeviceAppInstallationStatusReportPostRequestBody::|public|search():str +msgraph_beta.generated.deviceManagement.reports.retrieveDeviceAppInstallationStatusReport.RetrieveDeviceAppInstallationStatusReportPostRequestBody::|public|search(value:str):None +msgraph_beta.generated.deviceManagement.reports.retrieveDeviceAppInstallationStatusReport.RetrieveDeviceAppInstallationStatusReportPostRequestBody::|public|select():List[str] +msgraph_beta.generated.deviceManagement.reports.retrieveDeviceAppInstallationStatusReport.RetrieveDeviceAppInstallationStatusReportPostRequestBody::|public|select(value:List[str]):None +msgraph_beta.generated.deviceManagement.reports.retrieveDeviceAppInstallationStatusReport.RetrieveDeviceAppInstallationStatusReportPostRequestBody::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.deviceManagement.reports.retrieveDeviceAppInstallationStatusReport.RetrieveDeviceAppInstallationStatusReportPostRequestBody::|public|session_id():str +msgraph_beta.generated.deviceManagement.reports.retrieveDeviceAppInstallationStatusReport.RetrieveDeviceAppInstallationStatusReportPostRequestBody::|public|session_id(value:str):None +msgraph_beta.generated.deviceManagement.reports.retrieveDeviceAppInstallationStatusReport.RetrieveDeviceAppInstallationStatusReportPostRequestBody::|public|skip():int +msgraph_beta.generated.deviceManagement.reports.retrieveDeviceAppInstallationStatusReport.RetrieveDeviceAppInstallationStatusReportPostRequestBody::|public|skip(value:int):None +msgraph_beta.generated.deviceManagement.reports.retrieveDeviceAppInstallationStatusReport.RetrieveDeviceAppInstallationStatusReportPostRequestBody::|public|top():int +msgraph_beta.generated.deviceManagement.reports.retrieveDeviceAppInstallationStatusReport.RetrieveDeviceAppInstallationStatusReportPostRequestBody::|public|top(value:int):None +msgraph_beta.generated.deviceManagement.reports.retrieveDeviceAppInstallationStatusReport.RetrieveDeviceAppInstallationStatusReportPostRequestBody::|static|public|create_from_discriminator_value(parse_node:ParseNode):RetrieveDeviceAppInstallationStatusReportPostRequestBody +msgraph_beta.generated.deviceManagement.reports.retrieveDeviceAppInstallationStatusReport.RetrieveDeviceAppInstallationStatusReportPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +msgraph_beta.generated.deviceManagement.reports.retrieveDeviceAppInstallationStatusReport.RetrieveDeviceAppInstallationStatusReportRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.deviceManagement.reports.retrieveDeviceAppInstallationStatusReport.RetrieveDeviceAppInstallationStatusReportRequestBuilder.RetrieveDeviceAppInstallationStatusReportRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.deviceManagement.reports.retrieveDeviceAppInstallationStatusReport.RetrieveDeviceAppInstallationStatusReportRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.deviceManagement.reports.retrieveDeviceAppInstallationStatusReport.RetrieveDeviceAppInstallationStatusReportRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph_beta.generated.deviceManagement.reports.retrieveDeviceAppInstallationStatusReport.RetrieveDeviceAppInstallationStatusReportRequestBuilder::|public|post(body:RetrieveDeviceAppInstallationStatusReportPostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):bytes +msgraph_beta.generated.deviceManagement.reports.retrieveDeviceAppInstallationStatusReport.RetrieveDeviceAppInstallationStatusReportRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.deviceManagement.reports.retrieveDeviceAppInstallationStatusReport.RetrieveDeviceAppInstallationStatusReportRequestBuilder::|public|to_post_request_information(body:RetrieveDeviceAppInstallationStatusReportPostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.deviceManagement.reports.retrieveDeviceAppInstallationStatusReport.RetrieveDeviceAppInstallationStatusReportRequestBuilder::|public|url_template:str +msgraph_beta.generated.deviceManagement.reports.retrieveDeviceAppInstallationStatusReport.RetrieveDeviceAppInstallationStatusReportRequestBuilder::|public|with_url(raw_url:str):RetrieveDeviceAppInstallationStatusReportRequestBuilder msgraph_beta.generated.deviceManagement.reports.retrieveSecurityTaskAppsReport.RetrieveSecurityTaskAppsReportPostRequestBody::|public|additional_data():Dict[str, Any] msgraph_beta.generated.deviceManagement.reports.retrieveSecurityTaskAppsReport.RetrieveSecurityTaskAppsReportPostRequestBody::|public|additional_data(value:Dict[str, Any]):None msgraph_beta.generated.deviceManagement.reports.retrieveSecurityTaskAppsReport.RetrieveSecurityTaskAppsReportPostRequestBody::|public|backing_store:BackingStore @@ -48753,6 +48731,15 @@ msgraph_beta.generated.deviceManagement.resourceOperations.ResourceOperationsReq msgraph_beta.generated.deviceManagement.resourceOperations.ResourceOperationsRequestBuilder::|public|to_post_request_information(body:ResourceOperation; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation msgraph_beta.generated.deviceManagement.resourceOperations.ResourceOperationsRequestBuilder::|public|url_template:str msgraph_beta.generated.deviceManagement.resourceOperations.ResourceOperationsRequestBuilder::|public|with_url(raw_url:str):ResourceOperationsRequestBuilder +msgraph_beta.generated.deviceManagement.retrieveUserRoleDetailWithUserid.RetrieveUserRoleDetailWithUseridRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.deviceManagement.retrieveUserRoleDetailWithUserid.RetrieveUserRoleDetailWithUseridRequestBuilder.RetrieveUserRoleDetailWithUseridRequestBuilderGetRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.deviceManagement.retrieveUserRoleDetailWithUserid.RetrieveUserRoleDetailWithUseridRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter; userid?:str):None +msgraph_beta.generated.deviceManagement.retrieveUserRoleDetailWithUserid.RetrieveUserRoleDetailWithUseridRequestBuilder::|public|get(request_configuration?:RequestConfiguration[QueryParameters]):DeviceAndAppManagementAssignedRoleDetail +msgraph_beta.generated.deviceManagement.retrieveUserRoleDetailWithUserid.RetrieveUserRoleDetailWithUseridRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph_beta.generated.deviceManagement.retrieveUserRoleDetailWithUserid.RetrieveUserRoleDetailWithUseridRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.deviceManagement.retrieveUserRoleDetailWithUserid.RetrieveUserRoleDetailWithUseridRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.deviceManagement.retrieveUserRoleDetailWithUserid.RetrieveUserRoleDetailWithUseridRequestBuilder::|public|url_template:str +msgraph_beta.generated.deviceManagement.retrieveUserRoleDetailWithUserid.RetrieveUserRoleDetailWithUseridRequestBuilder::|public|with_url(raw_url:str):RetrieveUserRoleDetailWithUseridRequestBuilder msgraph_beta.generated.deviceManagement.reusablePolicySettings.count.CountRequestBuilder-->BaseRequestBuilder msgraph_beta.generated.deviceManagement.reusablePolicySettings.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|filter:str msgraph_beta.generated.deviceManagement.reusablePolicySettings.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str @@ -53714,11 +53701,31 @@ msgraph_beta.generated.deviceManagement.virtualEndpoint.bulkActions.item.CloudPc msgraph_beta.generated.deviceManagement.virtualEndpoint.bulkActions.item.CloudPcBulkActionItemRequestBuilder::|public|patch(body:CloudPcBulkAction; request_configuration?:RequestConfiguration[QueryParameters]):CloudPcBulkAction msgraph_beta.generated.deviceManagement.virtualEndpoint.bulkActions.item.CloudPcBulkActionItemRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] msgraph_beta.generated.deviceManagement.virtualEndpoint.bulkActions.item.CloudPcBulkActionItemRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.deviceManagement.virtualEndpoint.bulkActions.item.CloudPcBulkActionItemRequestBuilder::|public|retry:RetryRequestBuilder msgraph_beta.generated.deviceManagement.virtualEndpoint.bulkActions.item.CloudPcBulkActionItemRequestBuilder::|public|to_delete_request_information(request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation msgraph_beta.generated.deviceManagement.virtualEndpoint.bulkActions.item.CloudPcBulkActionItemRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[CloudPcBulkActionItemRequestBuilderGetQueryParameters]):RequestInformation msgraph_beta.generated.deviceManagement.virtualEndpoint.bulkActions.item.CloudPcBulkActionItemRequestBuilder::|public|to_patch_request_information(body:CloudPcBulkAction; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation msgraph_beta.generated.deviceManagement.virtualEndpoint.bulkActions.item.CloudPcBulkActionItemRequestBuilder::|public|url_template:str msgraph_beta.generated.deviceManagement.virtualEndpoint.bulkActions.item.CloudPcBulkActionItemRequestBuilder::|public|with_url(raw_url:str):CloudPcBulkActionItemRequestBuilder +msgraph_beta.generated.deviceManagement.virtualEndpoint.bulkActions.item.retry.RetryPostRequestBody::|public|additional_data():Dict[str, Any] +msgraph_beta.generated.deviceManagement.virtualEndpoint.bulkActions.item.retry.RetryPostRequestBody::|public|additional_data(value:Dict[str, Any]):None +msgraph_beta.generated.deviceManagement.virtualEndpoint.bulkActions.item.retry.RetryPostRequestBody::|public|backing_store:BackingStore +msgraph_beta.generated.deviceManagement.virtualEndpoint.bulkActions.item.retry.RetryPostRequestBody::|public|cloud_pc_ids():List[str] +msgraph_beta.generated.deviceManagement.virtualEndpoint.bulkActions.item.retry.RetryPostRequestBody::|public|cloud_pc_ids(value:List[str]):None +msgraph_beta.generated.deviceManagement.virtualEndpoint.bulkActions.item.retry.RetryPostRequestBody::|public|constructor():None +msgraph_beta.generated.deviceManagement.virtualEndpoint.bulkActions.item.retry.RetryPostRequestBody::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.deviceManagement.virtualEndpoint.bulkActions.item.retry.RetryPostRequestBody::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.deviceManagement.virtualEndpoint.bulkActions.item.retry.RetryPostRequestBody::|static|public|create_from_discriminator_value(parse_node:ParseNode):RetryPostRequestBody +msgraph_beta.generated.deviceManagement.virtualEndpoint.bulkActions.item.retry.RetryPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +msgraph_beta.generated.deviceManagement.virtualEndpoint.bulkActions.item.retry.RetryRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.deviceManagement.virtualEndpoint.bulkActions.item.retry.RetryRequestBuilder.RetryRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.deviceManagement.virtualEndpoint.bulkActions.item.retry.RetryRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.deviceManagement.virtualEndpoint.bulkActions.item.retry.RetryRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph_beta.generated.deviceManagement.virtualEndpoint.bulkActions.item.retry.RetryRequestBuilder::|public|post(body:RetryPostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):None +msgraph_beta.generated.deviceManagement.virtualEndpoint.bulkActions.item.retry.RetryRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.deviceManagement.virtualEndpoint.bulkActions.item.retry.RetryRequestBuilder::|public|to_post_request_information(body:RetryPostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.deviceManagement.virtualEndpoint.bulkActions.item.retry.RetryRequestBuilder::|public|url_template:str +msgraph_beta.generated.deviceManagement.virtualEndpoint.bulkActions.item.retry.RetryRequestBuilder::|public|with_url(raw_url:str):RetryRequestBuilder msgraph_beta.generated.deviceManagement.virtualEndpoint.cloudPCs.bulkResize.BulkResizePostRequestBody::|public|additional_data():Dict[str, Any] msgraph_beta.generated.deviceManagement.virtualEndpoint.cloudPCs.bulkResize.BulkResizePostRequestBody::|public|additional_data(value:Dict[str, Any]):None msgraph_beta.generated.deviceManagement.virtualEndpoint.cloudPCs.bulkResize.BulkResizePostRequestBody::|public|backing_store:BackingStore @@ -54619,6 +54626,8 @@ msgraph_beta.generated.deviceManagement.virtualEndpoint.provisioningPolicies.ite msgraph_beta.generated.deviceManagement.virtualEndpoint.provisioningPolicies.item.apply.ApplyPostRequestBody::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] msgraph_beta.generated.deviceManagement.virtualEndpoint.provisioningPolicies.item.apply.ApplyPostRequestBody::|public|policy_settings():CloudPcPolicySettingType msgraph_beta.generated.deviceManagement.virtualEndpoint.provisioningPolicies.item.apply.ApplyPostRequestBody::|public|policy_settings(value:CloudPcPolicySettingType):None +msgraph_beta.generated.deviceManagement.virtualEndpoint.provisioningPolicies.item.apply.ApplyPostRequestBody::|public|reserve_percentage():int +msgraph_beta.generated.deviceManagement.virtualEndpoint.provisioningPolicies.item.apply.ApplyPostRequestBody::|public|reserve_percentage(value:int):None msgraph_beta.generated.deviceManagement.virtualEndpoint.provisioningPolicies.item.apply.ApplyPostRequestBody::|public|serialize(writer:SerializationWriter):None msgraph_beta.generated.deviceManagement.virtualEndpoint.provisioningPolicies.item.apply.ApplyPostRequestBody::|static|public|create_from_discriminator_value(parse_node:ParseNode):ApplyPostRequestBody msgraph_beta.generated.deviceManagement.virtualEndpoint.provisioningPolicies.item.apply.ApplyPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable @@ -54777,6 +54786,18 @@ msgraph_beta.generated.deviceManagement.virtualEndpoint.provisioningPolicies.ite msgraph_beta.generated.deviceManagement.virtualEndpoint.provisioningPolicies.item.assignments.item.assignedUsers.item.UserItemRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[UserItemRequestBuilderGetQueryParameters]):RequestInformation msgraph_beta.generated.deviceManagement.virtualEndpoint.provisioningPolicies.item.assignments.item.assignedUsers.item.UserItemRequestBuilder::|public|url_template:str msgraph_beta.generated.deviceManagement.virtualEndpoint.provisioningPolicies.item.assignments.item.assignedUsers.item.UserItemRequestBuilder::|public|with_url(raw_url:str):UserItemRequestBuilder +msgraph_beta.generated.deviceManagement.virtualEndpoint.provisioningPolicies.item.assignments.item.assignedUsersWithUserPrincipalName.AssignedUsersWithUserPrincipalNameRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.deviceManagement.virtualEndpoint.provisioningPolicies.item.assignments.item.assignedUsersWithUserPrincipalName.AssignedUsersWithUserPrincipalNameRequestBuilder.AssignedUsersWithUserPrincipalNameRequestBuilderGetQueryParameters::|public|expand:List[str] +msgraph_beta.generated.deviceManagement.virtualEndpoint.provisioningPolicies.item.assignments.item.assignedUsersWithUserPrincipalName.AssignedUsersWithUserPrincipalNameRequestBuilder.AssignedUsersWithUserPrincipalNameRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.deviceManagement.virtualEndpoint.provisioningPolicies.item.assignments.item.assignedUsersWithUserPrincipalName.AssignedUsersWithUserPrincipalNameRequestBuilder.AssignedUsersWithUserPrincipalNameRequestBuilderGetQueryParameters::|public|select:List[str] +msgraph_beta.generated.deviceManagement.virtualEndpoint.provisioningPolicies.item.assignments.item.assignedUsersWithUserPrincipalName.AssignedUsersWithUserPrincipalNameRequestBuilder.AssignedUsersWithUserPrincipalNameRequestBuilderGetRequestConfiguration-->RequestConfiguration[AssignedUsersWithUserPrincipalNameRequestBuilderGetQueryParameters] +msgraph_beta.generated.deviceManagement.virtualEndpoint.provisioningPolicies.item.assignments.item.assignedUsersWithUserPrincipalName.AssignedUsersWithUserPrincipalNameRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter; user_principal_name?:str):None +msgraph_beta.generated.deviceManagement.virtualEndpoint.provisioningPolicies.item.assignments.item.assignedUsersWithUserPrincipalName.AssignedUsersWithUserPrincipalNameRequestBuilder::|public|get(request_configuration?:RequestConfiguration[AssignedUsersWithUserPrincipalNameRequestBuilderGetQueryParameters]):User +msgraph_beta.generated.deviceManagement.virtualEndpoint.provisioningPolicies.item.assignments.item.assignedUsersWithUserPrincipalName.AssignedUsersWithUserPrincipalNameRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph_beta.generated.deviceManagement.virtualEndpoint.provisioningPolicies.item.assignments.item.assignedUsersWithUserPrincipalName.AssignedUsersWithUserPrincipalNameRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.deviceManagement.virtualEndpoint.provisioningPolicies.item.assignments.item.assignedUsersWithUserPrincipalName.AssignedUsersWithUserPrincipalNameRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[AssignedUsersWithUserPrincipalNameRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.deviceManagement.virtualEndpoint.provisioningPolicies.item.assignments.item.assignedUsersWithUserPrincipalName.AssignedUsersWithUserPrincipalNameRequestBuilder::|public|url_template:str +msgraph_beta.generated.deviceManagement.virtualEndpoint.provisioningPolicies.item.assignments.item.assignedUsersWithUserPrincipalName.AssignedUsersWithUserPrincipalNameRequestBuilder::|public|with_url(raw_url:str):AssignedUsersWithUserPrincipalNameRequestBuilder msgraph_beta.generated.deviceManagement.virtualEndpoint.provisioningPolicies.item.assignments.item.CloudPcProvisioningPolicyAssignmentItemRequestBuilder-->BaseRequestBuilder msgraph_beta.generated.deviceManagement.virtualEndpoint.provisioningPolicies.item.assignments.item.CloudPcProvisioningPolicyAssignmentItemRequestBuilder.CloudPcProvisioningPolicyAssignmentItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration[QueryParameters] msgraph_beta.generated.deviceManagement.virtualEndpoint.provisioningPolicies.item.assignments.item.CloudPcProvisioningPolicyAssignmentItemRequestBuilder.CloudPcProvisioningPolicyAssignmentItemRequestBuilderGetQueryParameters::|public|expand:List[str] @@ -54785,6 +54806,7 @@ msgraph_beta.generated.deviceManagement.virtualEndpoint.provisioningPolicies.ite msgraph_beta.generated.deviceManagement.virtualEndpoint.provisioningPolicies.item.assignments.item.CloudPcProvisioningPolicyAssignmentItemRequestBuilder.CloudPcProvisioningPolicyAssignmentItemRequestBuilderGetRequestConfiguration-->RequestConfiguration[CloudPcProvisioningPolicyAssignmentItemRequestBuilderGetQueryParameters] msgraph_beta.generated.deviceManagement.virtualEndpoint.provisioningPolicies.item.assignments.item.CloudPcProvisioningPolicyAssignmentItemRequestBuilder.CloudPcProvisioningPolicyAssignmentItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration[QueryParameters] msgraph_beta.generated.deviceManagement.virtualEndpoint.provisioningPolicies.item.assignments.item.CloudPcProvisioningPolicyAssignmentItemRequestBuilder::|public|assigned_users:AssignedUsersRequestBuilder +msgraph_beta.generated.deviceManagement.virtualEndpoint.provisioningPolicies.item.assignments.item.CloudPcProvisioningPolicyAssignmentItemRequestBuilder::|public|assigned_users_with_user_principal_name(user_principal_name:str):AssignedUsersWithUserPrincipalNameRequestBuilder msgraph_beta.generated.deviceManagement.virtualEndpoint.provisioningPolicies.item.assignments.item.CloudPcProvisioningPolicyAssignmentItemRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None msgraph_beta.generated.deviceManagement.virtualEndpoint.provisioningPolicies.item.assignments.item.CloudPcProvisioningPolicyAssignmentItemRequestBuilder::|public|delete(request_configuration?:RequestConfiguration[QueryParameters]):None msgraph_beta.generated.deviceManagement.virtualEndpoint.provisioningPolicies.item.assignments.item.CloudPcProvisioningPolicyAssignmentItemRequestBuilder::|public|get(request_configuration?:RequestConfiguration[CloudPcProvisioningPolicyAssignmentItemRequestBuilderGetQueryParameters]):CloudPcProvisioningPolicyAssignment @@ -55290,13 +55312,46 @@ msgraph_beta.generated.deviceManagement.virtualEndpoint.reports.ReportsRequestBu msgraph_beta.generated.deviceManagement.virtualEndpoint.reports.ReportsRequestBuilder::|public|patch(body:CloudPcReports; request_configuration?:RequestConfiguration[QueryParameters]):CloudPcReports msgraph_beta.generated.deviceManagement.virtualEndpoint.reports.ReportsRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] msgraph_beta.generated.deviceManagement.virtualEndpoint.reports.ReportsRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.deviceManagement.virtualEndpoint.reports.ReportsRequestBuilder::|public|retrieve_bulk_action_status_report:RetrieveBulkActionStatusReportRequestBuilder msgraph_beta.generated.deviceManagement.virtualEndpoint.reports.ReportsRequestBuilder::|public|retrieve_connection_quality_reports:RetrieveConnectionQualityReportsRequestBuilder msgraph_beta.generated.deviceManagement.virtualEndpoint.reports.ReportsRequestBuilder::|public|retrieve_cross_region_disaster_recovery_report:RetrieveCrossRegionDisasterRecoveryReportRequestBuilder +msgraph_beta.generated.deviceManagement.virtualEndpoint.reports.ReportsRequestBuilder::|public|retrieve_frontline_reports:RetrieveFrontlineReportsRequestBuilder msgraph_beta.generated.deviceManagement.virtualEndpoint.reports.ReportsRequestBuilder::|public|to_delete_request_information(request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation msgraph_beta.generated.deviceManagement.virtualEndpoint.reports.ReportsRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[ReportsRequestBuilderGetQueryParameters]):RequestInformation msgraph_beta.generated.deviceManagement.virtualEndpoint.reports.ReportsRequestBuilder::|public|to_patch_request_information(body:CloudPcReports; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation msgraph_beta.generated.deviceManagement.virtualEndpoint.reports.ReportsRequestBuilder::|public|url_template:str msgraph_beta.generated.deviceManagement.virtualEndpoint.reports.ReportsRequestBuilder::|public|with_url(raw_url:str):ReportsRequestBuilder +msgraph_beta.generated.deviceManagement.virtualEndpoint.reports.retrieveBulkActionStatusReport.RetrieveBulkActionStatusReportPostRequestBody::|public|additional_data():Dict[str, Any] +msgraph_beta.generated.deviceManagement.virtualEndpoint.reports.retrieveBulkActionStatusReport.RetrieveBulkActionStatusReportPostRequestBody::|public|additional_data(value:Dict[str, Any]):None +msgraph_beta.generated.deviceManagement.virtualEndpoint.reports.retrieveBulkActionStatusReport.RetrieveBulkActionStatusReportPostRequestBody::|public|backing_store:BackingStore +msgraph_beta.generated.deviceManagement.virtualEndpoint.reports.retrieveBulkActionStatusReport.RetrieveBulkActionStatusReportPostRequestBody::|public|constructor():None +msgraph_beta.generated.deviceManagement.virtualEndpoint.reports.retrieveBulkActionStatusReport.RetrieveBulkActionStatusReportPostRequestBody::|public|filter():str +msgraph_beta.generated.deviceManagement.virtualEndpoint.reports.retrieveBulkActionStatusReport.RetrieveBulkActionStatusReportPostRequestBody::|public|filter(value:str):None +msgraph_beta.generated.deviceManagement.virtualEndpoint.reports.retrieveBulkActionStatusReport.RetrieveBulkActionStatusReportPostRequestBody::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.deviceManagement.virtualEndpoint.reports.retrieveBulkActionStatusReport.RetrieveBulkActionStatusReportPostRequestBody::|public|group_by():List[str] +msgraph_beta.generated.deviceManagement.virtualEndpoint.reports.retrieveBulkActionStatusReport.RetrieveBulkActionStatusReportPostRequestBody::|public|group_by(value:List[str]):None +msgraph_beta.generated.deviceManagement.virtualEndpoint.reports.retrieveBulkActionStatusReport.RetrieveBulkActionStatusReportPostRequestBody::|public|order_by():List[str] +msgraph_beta.generated.deviceManagement.virtualEndpoint.reports.retrieveBulkActionStatusReport.RetrieveBulkActionStatusReportPostRequestBody::|public|order_by(value:List[str]):None +msgraph_beta.generated.deviceManagement.virtualEndpoint.reports.retrieveBulkActionStatusReport.RetrieveBulkActionStatusReportPostRequestBody::|public|search():str +msgraph_beta.generated.deviceManagement.virtualEndpoint.reports.retrieveBulkActionStatusReport.RetrieveBulkActionStatusReportPostRequestBody::|public|search(value:str):None +msgraph_beta.generated.deviceManagement.virtualEndpoint.reports.retrieveBulkActionStatusReport.RetrieveBulkActionStatusReportPostRequestBody::|public|select():List[str] +msgraph_beta.generated.deviceManagement.virtualEndpoint.reports.retrieveBulkActionStatusReport.RetrieveBulkActionStatusReportPostRequestBody::|public|select(value:List[str]):None +msgraph_beta.generated.deviceManagement.virtualEndpoint.reports.retrieveBulkActionStatusReport.RetrieveBulkActionStatusReportPostRequestBody::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.deviceManagement.virtualEndpoint.reports.retrieveBulkActionStatusReport.RetrieveBulkActionStatusReportPostRequestBody::|public|skip():int +msgraph_beta.generated.deviceManagement.virtualEndpoint.reports.retrieveBulkActionStatusReport.RetrieveBulkActionStatusReportPostRequestBody::|public|skip(value:int):None +msgraph_beta.generated.deviceManagement.virtualEndpoint.reports.retrieveBulkActionStatusReport.RetrieveBulkActionStatusReportPostRequestBody::|public|top():int +msgraph_beta.generated.deviceManagement.virtualEndpoint.reports.retrieveBulkActionStatusReport.RetrieveBulkActionStatusReportPostRequestBody::|public|top(value:int):None +msgraph_beta.generated.deviceManagement.virtualEndpoint.reports.retrieveBulkActionStatusReport.RetrieveBulkActionStatusReportPostRequestBody::|static|public|create_from_discriminator_value(parse_node:ParseNode):RetrieveBulkActionStatusReportPostRequestBody +msgraph_beta.generated.deviceManagement.virtualEndpoint.reports.retrieveBulkActionStatusReport.RetrieveBulkActionStatusReportPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +msgraph_beta.generated.deviceManagement.virtualEndpoint.reports.retrieveBulkActionStatusReport.RetrieveBulkActionStatusReportRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.deviceManagement.virtualEndpoint.reports.retrieveBulkActionStatusReport.RetrieveBulkActionStatusReportRequestBuilder.RetrieveBulkActionStatusReportRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.deviceManagement.virtualEndpoint.reports.retrieveBulkActionStatusReport.RetrieveBulkActionStatusReportRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.deviceManagement.virtualEndpoint.reports.retrieveBulkActionStatusReport.RetrieveBulkActionStatusReportRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph_beta.generated.deviceManagement.virtualEndpoint.reports.retrieveBulkActionStatusReport.RetrieveBulkActionStatusReportRequestBuilder::|public|post(body:RetrieveBulkActionStatusReportPostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):bytes +msgraph_beta.generated.deviceManagement.virtualEndpoint.reports.retrieveBulkActionStatusReport.RetrieveBulkActionStatusReportRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.deviceManagement.virtualEndpoint.reports.retrieveBulkActionStatusReport.RetrieveBulkActionStatusReportRequestBuilder::|public|to_post_request_information(body:RetrieveBulkActionStatusReportPostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.deviceManagement.virtualEndpoint.reports.retrieveBulkActionStatusReport.RetrieveBulkActionStatusReportRequestBuilder::|public|url_template:str +msgraph_beta.generated.deviceManagement.virtualEndpoint.reports.retrieveBulkActionStatusReport.RetrieveBulkActionStatusReportRequestBuilder::|public|with_url(raw_url:str):RetrieveBulkActionStatusReportRequestBuilder msgraph_beta.generated.deviceManagement.virtualEndpoint.reports.retrieveConnectionQualityReports.RetrieveConnectionQualityReportsPostRequestBody::|public|additional_data():Dict[str, Any] msgraph_beta.generated.deviceManagement.virtualEndpoint.reports.retrieveConnectionQualityReports.RetrieveConnectionQualityReportsPostRequestBody::|public|additional_data(value:Dict[str, Any]):None msgraph_beta.generated.deviceManagement.virtualEndpoint.reports.retrieveConnectionQualityReports.RetrieveConnectionQualityReportsPostRequestBody::|public|backing_store:BackingStore @@ -55361,6 +55416,39 @@ msgraph_beta.generated.deviceManagement.virtualEndpoint.reports.retrieveCrossReg msgraph_beta.generated.deviceManagement.virtualEndpoint.reports.retrieveCrossRegionDisasterRecoveryReport.RetrieveCrossRegionDisasterRecoveryReportRequestBuilder::|public|to_post_request_information(body:RetrieveCrossRegionDisasterRecoveryReportPostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation msgraph_beta.generated.deviceManagement.virtualEndpoint.reports.retrieveCrossRegionDisasterRecoveryReport.RetrieveCrossRegionDisasterRecoveryReportRequestBuilder::|public|url_template:str msgraph_beta.generated.deviceManagement.virtualEndpoint.reports.retrieveCrossRegionDisasterRecoveryReport.RetrieveCrossRegionDisasterRecoveryReportRequestBuilder::|public|with_url(raw_url:str):RetrieveCrossRegionDisasterRecoveryReportRequestBuilder +msgraph_beta.generated.deviceManagement.virtualEndpoint.reports.retrieveFrontlineReports.RetrieveFrontlineReportsPostRequestBody::|public|additional_data():Dict[str, Any] +msgraph_beta.generated.deviceManagement.virtualEndpoint.reports.retrieveFrontlineReports.RetrieveFrontlineReportsPostRequestBody::|public|additional_data(value:Dict[str, Any]):None +msgraph_beta.generated.deviceManagement.virtualEndpoint.reports.retrieveFrontlineReports.RetrieveFrontlineReportsPostRequestBody::|public|backing_store:BackingStore +msgraph_beta.generated.deviceManagement.virtualEndpoint.reports.retrieveFrontlineReports.RetrieveFrontlineReportsPostRequestBody::|public|constructor():None +msgraph_beta.generated.deviceManagement.virtualEndpoint.reports.retrieveFrontlineReports.RetrieveFrontlineReportsPostRequestBody::|public|filter():str +msgraph_beta.generated.deviceManagement.virtualEndpoint.reports.retrieveFrontlineReports.RetrieveFrontlineReportsPostRequestBody::|public|filter(value:str):None +msgraph_beta.generated.deviceManagement.virtualEndpoint.reports.retrieveFrontlineReports.RetrieveFrontlineReportsPostRequestBody::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.deviceManagement.virtualEndpoint.reports.retrieveFrontlineReports.RetrieveFrontlineReportsPostRequestBody::|public|group_by():List[str] +msgraph_beta.generated.deviceManagement.virtualEndpoint.reports.retrieveFrontlineReports.RetrieveFrontlineReportsPostRequestBody::|public|group_by(value:List[str]):None +msgraph_beta.generated.deviceManagement.virtualEndpoint.reports.retrieveFrontlineReports.RetrieveFrontlineReportsPostRequestBody::|public|order_by():List[str] +msgraph_beta.generated.deviceManagement.virtualEndpoint.reports.retrieveFrontlineReports.RetrieveFrontlineReportsPostRequestBody::|public|order_by(value:List[str]):None +msgraph_beta.generated.deviceManagement.virtualEndpoint.reports.retrieveFrontlineReports.RetrieveFrontlineReportsPostRequestBody::|public|report_name():CloudPCFrontlineReportType +msgraph_beta.generated.deviceManagement.virtualEndpoint.reports.retrieveFrontlineReports.RetrieveFrontlineReportsPostRequestBody::|public|report_name(value:CloudPCFrontlineReportType):None +msgraph_beta.generated.deviceManagement.virtualEndpoint.reports.retrieveFrontlineReports.RetrieveFrontlineReportsPostRequestBody::|public|search():str +msgraph_beta.generated.deviceManagement.virtualEndpoint.reports.retrieveFrontlineReports.RetrieveFrontlineReportsPostRequestBody::|public|search(value:str):None +msgraph_beta.generated.deviceManagement.virtualEndpoint.reports.retrieveFrontlineReports.RetrieveFrontlineReportsPostRequestBody::|public|select():List[str] +msgraph_beta.generated.deviceManagement.virtualEndpoint.reports.retrieveFrontlineReports.RetrieveFrontlineReportsPostRequestBody::|public|select(value:List[str]):None +msgraph_beta.generated.deviceManagement.virtualEndpoint.reports.retrieveFrontlineReports.RetrieveFrontlineReportsPostRequestBody::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.deviceManagement.virtualEndpoint.reports.retrieveFrontlineReports.RetrieveFrontlineReportsPostRequestBody::|public|skip():int +msgraph_beta.generated.deviceManagement.virtualEndpoint.reports.retrieveFrontlineReports.RetrieveFrontlineReportsPostRequestBody::|public|skip(value:int):None +msgraph_beta.generated.deviceManagement.virtualEndpoint.reports.retrieveFrontlineReports.RetrieveFrontlineReportsPostRequestBody::|public|top():int +msgraph_beta.generated.deviceManagement.virtualEndpoint.reports.retrieveFrontlineReports.RetrieveFrontlineReportsPostRequestBody::|public|top(value:int):None +msgraph_beta.generated.deviceManagement.virtualEndpoint.reports.retrieveFrontlineReports.RetrieveFrontlineReportsPostRequestBody::|static|public|create_from_discriminator_value(parse_node:ParseNode):RetrieveFrontlineReportsPostRequestBody +msgraph_beta.generated.deviceManagement.virtualEndpoint.reports.retrieveFrontlineReports.RetrieveFrontlineReportsPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +msgraph_beta.generated.deviceManagement.virtualEndpoint.reports.retrieveFrontlineReports.RetrieveFrontlineReportsRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.deviceManagement.virtualEndpoint.reports.retrieveFrontlineReports.RetrieveFrontlineReportsRequestBuilder.RetrieveFrontlineReportsRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.deviceManagement.virtualEndpoint.reports.retrieveFrontlineReports.RetrieveFrontlineReportsRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.deviceManagement.virtualEndpoint.reports.retrieveFrontlineReports.RetrieveFrontlineReportsRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph_beta.generated.deviceManagement.virtualEndpoint.reports.retrieveFrontlineReports.RetrieveFrontlineReportsRequestBuilder::|public|post(body:RetrieveFrontlineReportsPostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):bytes +msgraph_beta.generated.deviceManagement.virtualEndpoint.reports.retrieveFrontlineReports.RetrieveFrontlineReportsRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.deviceManagement.virtualEndpoint.reports.retrieveFrontlineReports.RetrieveFrontlineReportsRequestBuilder::|public|to_post_request_information(body:RetrieveFrontlineReportsPostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.deviceManagement.virtualEndpoint.reports.retrieveFrontlineReports.RetrieveFrontlineReportsRequestBuilder::|public|url_template:str +msgraph_beta.generated.deviceManagement.virtualEndpoint.reports.retrieveFrontlineReports.RetrieveFrontlineReportsRequestBuilder::|public|with_url(raw_url:str):RetrieveFrontlineReportsRequestBuilder msgraph_beta.generated.deviceManagement.virtualEndpoint.retrieveScopedPermissions.RetrieveScopedPermissionsGetResponse-->BaseCollectionPaginationCountResponse msgraph_beta.generated.deviceManagement.virtualEndpoint.retrieveScopedPermissions.RetrieveScopedPermissionsGetResponse::|public|constructor():None msgraph_beta.generated.deviceManagement.virtualEndpoint.retrieveScopedPermissions.RetrieveScopedPermissionsGetResponse::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] @@ -89859,6 +89947,7 @@ msgraph_beta.generated.education.EducationRequestBuilder::|public|get(request_co msgraph_beta.generated.education.EducationRequestBuilder::|public|me:MeRequestBuilder msgraph_beta.generated.education.EducationRequestBuilder::|public|patch(body:EducationRoot; request_configuration?:RequestConfiguration[QueryParameters]):EducationRoot msgraph_beta.generated.education.EducationRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph_beta.generated.education.EducationRequestBuilder::|public|reports:ReportsRequestBuilder msgraph_beta.generated.education.EducationRequestBuilder::|public|request_adapter:RequestAdapter msgraph_beta.generated.education.EducationRequestBuilder::|public|schools:SchoolsRequestBuilder msgraph_beta.generated.education.EducationRequestBuilder::|public|synchronization_profiles:SynchronizationProfilesRequestBuilder @@ -90920,6 +91009,132 @@ msgraph_beta.generated.education.me.user.UserRequestBuilder::|public|service_pro msgraph_beta.generated.education.me.user.UserRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[UserRequestBuilderGetQueryParameters]):RequestInformation msgraph_beta.generated.education.me.user.UserRequestBuilder::|public|url_template:str msgraph_beta.generated.education.me.user.UserRequestBuilder::|public|with_url(raw_url:str):UserRequestBuilder +msgraph_beta.generated.education.reports.readingAssignmentSubmissions.count.CountRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.education.reports.readingAssignmentSubmissions.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|filter:str +msgraph_beta.generated.education.reports.readingAssignmentSubmissions.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.education.reports.readingAssignmentSubmissions.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|search:str +msgraph_beta.generated.education.reports.readingAssignmentSubmissions.count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration[CountRequestBuilderGetQueryParameters] +msgraph_beta.generated.education.reports.readingAssignmentSubmissions.count.CountRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.education.reports.readingAssignmentSubmissions.count.CountRequestBuilder::|public|get(request_configuration?:RequestConfiguration[CountRequestBuilderGetQueryParameters]):int +msgraph_beta.generated.education.reports.readingAssignmentSubmissions.count.CountRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph_beta.generated.education.reports.readingAssignmentSubmissions.count.CountRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.education.reports.readingAssignmentSubmissions.count.CountRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[CountRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.education.reports.readingAssignmentSubmissions.count.CountRequestBuilder::|public|url_template:str +msgraph_beta.generated.education.reports.readingAssignmentSubmissions.count.CountRequestBuilder::|public|with_url(raw_url:str):CountRequestBuilder +msgraph_beta.generated.education.reports.readingAssignmentSubmissions.item.ReadingAssignmentSubmissionItemRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.education.reports.readingAssignmentSubmissions.item.ReadingAssignmentSubmissionItemRequestBuilder.ReadingAssignmentSubmissionItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.education.reports.readingAssignmentSubmissions.item.ReadingAssignmentSubmissionItemRequestBuilder.ReadingAssignmentSubmissionItemRequestBuilderGetQueryParameters::|public|expand:List[str] +msgraph_beta.generated.education.reports.readingAssignmentSubmissions.item.ReadingAssignmentSubmissionItemRequestBuilder.ReadingAssignmentSubmissionItemRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.education.reports.readingAssignmentSubmissions.item.ReadingAssignmentSubmissionItemRequestBuilder.ReadingAssignmentSubmissionItemRequestBuilderGetQueryParameters::|public|select:List[str] +msgraph_beta.generated.education.reports.readingAssignmentSubmissions.item.ReadingAssignmentSubmissionItemRequestBuilder.ReadingAssignmentSubmissionItemRequestBuilderGetRequestConfiguration-->RequestConfiguration[ReadingAssignmentSubmissionItemRequestBuilderGetQueryParameters] +msgraph_beta.generated.education.reports.readingAssignmentSubmissions.item.ReadingAssignmentSubmissionItemRequestBuilder.ReadingAssignmentSubmissionItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.education.reports.readingAssignmentSubmissions.item.ReadingAssignmentSubmissionItemRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.education.reports.readingAssignmentSubmissions.item.ReadingAssignmentSubmissionItemRequestBuilder::|public|delete(request_configuration?:RequestConfiguration[QueryParameters]):None +msgraph_beta.generated.education.reports.readingAssignmentSubmissions.item.ReadingAssignmentSubmissionItemRequestBuilder::|public|get(request_configuration?:RequestConfiguration[ReadingAssignmentSubmissionItemRequestBuilderGetQueryParameters]):ReadingAssignmentSubmission +msgraph_beta.generated.education.reports.readingAssignmentSubmissions.item.ReadingAssignmentSubmissionItemRequestBuilder::|public|patch(body:ReadingAssignmentSubmission; request_configuration?:RequestConfiguration[QueryParameters]):ReadingAssignmentSubmission +msgraph_beta.generated.education.reports.readingAssignmentSubmissions.item.ReadingAssignmentSubmissionItemRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph_beta.generated.education.reports.readingAssignmentSubmissions.item.ReadingAssignmentSubmissionItemRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.education.reports.readingAssignmentSubmissions.item.ReadingAssignmentSubmissionItemRequestBuilder::|public|to_delete_request_information(request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.education.reports.readingAssignmentSubmissions.item.ReadingAssignmentSubmissionItemRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[ReadingAssignmentSubmissionItemRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.education.reports.readingAssignmentSubmissions.item.ReadingAssignmentSubmissionItemRequestBuilder::|public|to_patch_request_information(body:ReadingAssignmentSubmission; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.education.reports.readingAssignmentSubmissions.item.ReadingAssignmentSubmissionItemRequestBuilder::|public|url_template:str +msgraph_beta.generated.education.reports.readingAssignmentSubmissions.item.ReadingAssignmentSubmissionItemRequestBuilder::|public|with_url(raw_url:str):ReadingAssignmentSubmissionItemRequestBuilder +msgraph_beta.generated.education.reports.readingAssignmentSubmissions.ReadingAssignmentSubmissionsRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.education.reports.readingAssignmentSubmissions.ReadingAssignmentSubmissionsRequestBuilder.ReadingAssignmentSubmissionsRequestBuilderGetQueryParameters::|public|count:bool +msgraph_beta.generated.education.reports.readingAssignmentSubmissions.ReadingAssignmentSubmissionsRequestBuilder.ReadingAssignmentSubmissionsRequestBuilderGetQueryParameters::|public|expand:List[str] +msgraph_beta.generated.education.reports.readingAssignmentSubmissions.ReadingAssignmentSubmissionsRequestBuilder.ReadingAssignmentSubmissionsRequestBuilderGetQueryParameters::|public|filter:str +msgraph_beta.generated.education.reports.readingAssignmentSubmissions.ReadingAssignmentSubmissionsRequestBuilder.ReadingAssignmentSubmissionsRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.education.reports.readingAssignmentSubmissions.ReadingAssignmentSubmissionsRequestBuilder.ReadingAssignmentSubmissionsRequestBuilderGetQueryParameters::|public|orderby:List[str] +msgraph_beta.generated.education.reports.readingAssignmentSubmissions.ReadingAssignmentSubmissionsRequestBuilder.ReadingAssignmentSubmissionsRequestBuilderGetQueryParameters::|public|search:str +msgraph_beta.generated.education.reports.readingAssignmentSubmissions.ReadingAssignmentSubmissionsRequestBuilder.ReadingAssignmentSubmissionsRequestBuilderGetQueryParameters::|public|select:List[str] +msgraph_beta.generated.education.reports.readingAssignmentSubmissions.ReadingAssignmentSubmissionsRequestBuilder.ReadingAssignmentSubmissionsRequestBuilderGetQueryParameters::|public|skip:int +msgraph_beta.generated.education.reports.readingAssignmentSubmissions.ReadingAssignmentSubmissionsRequestBuilder.ReadingAssignmentSubmissionsRequestBuilderGetQueryParameters::|public|top:int +msgraph_beta.generated.education.reports.readingAssignmentSubmissions.ReadingAssignmentSubmissionsRequestBuilder.ReadingAssignmentSubmissionsRequestBuilderGetRequestConfiguration-->RequestConfiguration[ReadingAssignmentSubmissionsRequestBuilderGetQueryParameters] +msgraph_beta.generated.education.reports.readingAssignmentSubmissions.ReadingAssignmentSubmissionsRequestBuilder.ReadingAssignmentSubmissionsRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.education.reports.readingAssignmentSubmissions.ReadingAssignmentSubmissionsRequestBuilder::|public|by_reading_assignment_submission_id(reading_assignment_submission_id:str):ReadingAssignmentSubmissionItemRequestBuilder +msgraph_beta.generated.education.reports.readingAssignmentSubmissions.ReadingAssignmentSubmissionsRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.education.reports.readingAssignmentSubmissions.ReadingAssignmentSubmissionsRequestBuilder::|public|count:CountRequestBuilder +msgraph_beta.generated.education.reports.readingAssignmentSubmissions.ReadingAssignmentSubmissionsRequestBuilder::|public|get(request_configuration?:RequestConfiguration[ReadingAssignmentSubmissionsRequestBuilderGetQueryParameters]):ReadingAssignmentSubmissionCollectionResponse +msgraph_beta.generated.education.reports.readingAssignmentSubmissions.ReadingAssignmentSubmissionsRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph_beta.generated.education.reports.readingAssignmentSubmissions.ReadingAssignmentSubmissionsRequestBuilder::|public|post(body:ReadingAssignmentSubmission; request_configuration?:RequestConfiguration[QueryParameters]):ReadingAssignmentSubmission +msgraph_beta.generated.education.reports.readingAssignmentSubmissions.ReadingAssignmentSubmissionsRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.education.reports.readingAssignmentSubmissions.ReadingAssignmentSubmissionsRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[ReadingAssignmentSubmissionsRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.education.reports.readingAssignmentSubmissions.ReadingAssignmentSubmissionsRequestBuilder::|public|to_post_request_information(body:ReadingAssignmentSubmission; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.education.reports.readingAssignmentSubmissions.ReadingAssignmentSubmissionsRequestBuilder::|public|url_template:str +msgraph_beta.generated.education.reports.readingAssignmentSubmissions.ReadingAssignmentSubmissionsRequestBuilder::|public|with_url(raw_url:str):ReadingAssignmentSubmissionsRequestBuilder +msgraph_beta.generated.education.reports.reflectCheckInResponses.count.CountRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.education.reports.reflectCheckInResponses.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|filter:str +msgraph_beta.generated.education.reports.reflectCheckInResponses.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.education.reports.reflectCheckInResponses.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|search:str +msgraph_beta.generated.education.reports.reflectCheckInResponses.count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration[CountRequestBuilderGetQueryParameters] +msgraph_beta.generated.education.reports.reflectCheckInResponses.count.CountRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.education.reports.reflectCheckInResponses.count.CountRequestBuilder::|public|get(request_configuration?:RequestConfiguration[CountRequestBuilderGetQueryParameters]):int +msgraph_beta.generated.education.reports.reflectCheckInResponses.count.CountRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph_beta.generated.education.reports.reflectCheckInResponses.count.CountRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.education.reports.reflectCheckInResponses.count.CountRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[CountRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.education.reports.reflectCheckInResponses.count.CountRequestBuilder::|public|url_template:str +msgraph_beta.generated.education.reports.reflectCheckInResponses.count.CountRequestBuilder::|public|with_url(raw_url:str):CountRequestBuilder +msgraph_beta.generated.education.reports.reflectCheckInResponses.item.ReflectCheckInResponseItemRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.education.reports.reflectCheckInResponses.item.ReflectCheckInResponseItemRequestBuilder.ReflectCheckInResponseItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.education.reports.reflectCheckInResponses.item.ReflectCheckInResponseItemRequestBuilder.ReflectCheckInResponseItemRequestBuilderGetQueryParameters::|public|expand:List[str] +msgraph_beta.generated.education.reports.reflectCheckInResponses.item.ReflectCheckInResponseItemRequestBuilder.ReflectCheckInResponseItemRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.education.reports.reflectCheckInResponses.item.ReflectCheckInResponseItemRequestBuilder.ReflectCheckInResponseItemRequestBuilderGetQueryParameters::|public|select:List[str] +msgraph_beta.generated.education.reports.reflectCheckInResponses.item.ReflectCheckInResponseItemRequestBuilder.ReflectCheckInResponseItemRequestBuilderGetRequestConfiguration-->RequestConfiguration[ReflectCheckInResponseItemRequestBuilderGetQueryParameters] +msgraph_beta.generated.education.reports.reflectCheckInResponses.item.ReflectCheckInResponseItemRequestBuilder.ReflectCheckInResponseItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.education.reports.reflectCheckInResponses.item.ReflectCheckInResponseItemRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.education.reports.reflectCheckInResponses.item.ReflectCheckInResponseItemRequestBuilder::|public|delete(request_configuration?:RequestConfiguration[QueryParameters]):None +msgraph_beta.generated.education.reports.reflectCheckInResponses.item.ReflectCheckInResponseItemRequestBuilder::|public|get(request_configuration?:RequestConfiguration[ReflectCheckInResponseItemRequestBuilderGetQueryParameters]):ReflectCheckInResponse +msgraph_beta.generated.education.reports.reflectCheckInResponses.item.ReflectCheckInResponseItemRequestBuilder::|public|patch(body:ReflectCheckInResponse; request_configuration?:RequestConfiguration[QueryParameters]):ReflectCheckInResponse +msgraph_beta.generated.education.reports.reflectCheckInResponses.item.ReflectCheckInResponseItemRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph_beta.generated.education.reports.reflectCheckInResponses.item.ReflectCheckInResponseItemRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.education.reports.reflectCheckInResponses.item.ReflectCheckInResponseItemRequestBuilder::|public|to_delete_request_information(request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.education.reports.reflectCheckInResponses.item.ReflectCheckInResponseItemRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[ReflectCheckInResponseItemRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.education.reports.reflectCheckInResponses.item.ReflectCheckInResponseItemRequestBuilder::|public|to_patch_request_information(body:ReflectCheckInResponse; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.education.reports.reflectCheckInResponses.item.ReflectCheckInResponseItemRequestBuilder::|public|url_template:str +msgraph_beta.generated.education.reports.reflectCheckInResponses.item.ReflectCheckInResponseItemRequestBuilder::|public|with_url(raw_url:str):ReflectCheckInResponseItemRequestBuilder +msgraph_beta.generated.education.reports.reflectCheckInResponses.ReflectCheckInResponsesRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.education.reports.reflectCheckInResponses.ReflectCheckInResponsesRequestBuilder.ReflectCheckInResponsesRequestBuilderGetQueryParameters::|public|count:bool +msgraph_beta.generated.education.reports.reflectCheckInResponses.ReflectCheckInResponsesRequestBuilder.ReflectCheckInResponsesRequestBuilderGetQueryParameters::|public|expand:List[str] +msgraph_beta.generated.education.reports.reflectCheckInResponses.ReflectCheckInResponsesRequestBuilder.ReflectCheckInResponsesRequestBuilderGetQueryParameters::|public|filter:str +msgraph_beta.generated.education.reports.reflectCheckInResponses.ReflectCheckInResponsesRequestBuilder.ReflectCheckInResponsesRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.education.reports.reflectCheckInResponses.ReflectCheckInResponsesRequestBuilder.ReflectCheckInResponsesRequestBuilderGetQueryParameters::|public|orderby:List[str] +msgraph_beta.generated.education.reports.reflectCheckInResponses.ReflectCheckInResponsesRequestBuilder.ReflectCheckInResponsesRequestBuilderGetQueryParameters::|public|search:str +msgraph_beta.generated.education.reports.reflectCheckInResponses.ReflectCheckInResponsesRequestBuilder.ReflectCheckInResponsesRequestBuilderGetQueryParameters::|public|select:List[str] +msgraph_beta.generated.education.reports.reflectCheckInResponses.ReflectCheckInResponsesRequestBuilder.ReflectCheckInResponsesRequestBuilderGetQueryParameters::|public|skip:int +msgraph_beta.generated.education.reports.reflectCheckInResponses.ReflectCheckInResponsesRequestBuilder.ReflectCheckInResponsesRequestBuilderGetQueryParameters::|public|top:int +msgraph_beta.generated.education.reports.reflectCheckInResponses.ReflectCheckInResponsesRequestBuilder.ReflectCheckInResponsesRequestBuilderGetRequestConfiguration-->RequestConfiguration[ReflectCheckInResponsesRequestBuilderGetQueryParameters] +msgraph_beta.generated.education.reports.reflectCheckInResponses.ReflectCheckInResponsesRequestBuilder.ReflectCheckInResponsesRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.education.reports.reflectCheckInResponses.ReflectCheckInResponsesRequestBuilder::|public|by_reflect_check_in_response_id(reflect_check_in_response_id:str):ReflectCheckInResponseItemRequestBuilder +msgraph_beta.generated.education.reports.reflectCheckInResponses.ReflectCheckInResponsesRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.education.reports.reflectCheckInResponses.ReflectCheckInResponsesRequestBuilder::|public|count:CountRequestBuilder +msgraph_beta.generated.education.reports.reflectCheckInResponses.ReflectCheckInResponsesRequestBuilder::|public|get(request_configuration?:RequestConfiguration[ReflectCheckInResponsesRequestBuilderGetQueryParameters]):ReflectCheckInResponseCollectionResponse +msgraph_beta.generated.education.reports.reflectCheckInResponses.ReflectCheckInResponsesRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph_beta.generated.education.reports.reflectCheckInResponses.ReflectCheckInResponsesRequestBuilder::|public|post(body:ReflectCheckInResponse; request_configuration?:RequestConfiguration[QueryParameters]):ReflectCheckInResponse +msgraph_beta.generated.education.reports.reflectCheckInResponses.ReflectCheckInResponsesRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.education.reports.reflectCheckInResponses.ReflectCheckInResponsesRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[ReflectCheckInResponsesRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.education.reports.reflectCheckInResponses.ReflectCheckInResponsesRequestBuilder::|public|to_post_request_information(body:ReflectCheckInResponse; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.education.reports.reflectCheckInResponses.ReflectCheckInResponsesRequestBuilder::|public|url_template:str +msgraph_beta.generated.education.reports.reflectCheckInResponses.ReflectCheckInResponsesRequestBuilder::|public|with_url(raw_url:str):ReflectCheckInResponsesRequestBuilder +msgraph_beta.generated.education.reports.ReportsRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.education.reports.ReportsRequestBuilder.ReportsRequestBuilderDeleteRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.education.reports.ReportsRequestBuilder.ReportsRequestBuilderGetQueryParameters::|public|expand:List[str] +msgraph_beta.generated.education.reports.ReportsRequestBuilder.ReportsRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.education.reports.ReportsRequestBuilder.ReportsRequestBuilderGetQueryParameters::|public|select:List[str] +msgraph_beta.generated.education.reports.ReportsRequestBuilder.ReportsRequestBuilderGetRequestConfiguration-->RequestConfiguration[ReportsRequestBuilderGetQueryParameters] +msgraph_beta.generated.education.reports.ReportsRequestBuilder.ReportsRequestBuilderPatchRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.education.reports.ReportsRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.education.reports.ReportsRequestBuilder::|public|delete(request_configuration?:RequestConfiguration[QueryParameters]):None +msgraph_beta.generated.education.reports.ReportsRequestBuilder::|public|get(request_configuration?:RequestConfiguration[ReportsRequestBuilderGetQueryParameters]):ReportsRoot +msgraph_beta.generated.education.reports.ReportsRequestBuilder::|public|patch(body:ReportsRoot; request_configuration?:RequestConfiguration[QueryParameters]):ReportsRoot +msgraph_beta.generated.education.reports.ReportsRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph_beta.generated.education.reports.ReportsRequestBuilder::|public|reading_assignment_submissions:ReadingAssignmentSubmissionsRequestBuilder +msgraph_beta.generated.education.reports.ReportsRequestBuilder::|public|reflect_check_in_responses:ReflectCheckInResponsesRequestBuilder +msgraph_beta.generated.education.reports.ReportsRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.education.reports.ReportsRequestBuilder::|public|to_delete_request_information(request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.education.reports.ReportsRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[ReportsRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.education.reports.ReportsRequestBuilder::|public|to_patch_request_information(body:ReportsRoot; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.education.reports.ReportsRequestBuilder::|public|url_template:str +msgraph_beta.generated.education.reports.ReportsRequestBuilder::|public|with_url(raw_url:str):ReportsRequestBuilder msgraph_beta.generated.education.schools.count.CountRequestBuilder-->BaseRequestBuilder msgraph_beta.generated.education.schools.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|filter:str msgraph_beta.generated.education.schools.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str @@ -92515,6 +92730,7 @@ msgraph_beta.generated.employeeExperience.communities.item.CommunityItemRequestB msgraph_beta.generated.employeeExperience.communities.item.CommunityItemRequestBuilder::|public|get(request_configuration?:RequestConfiguration[CommunityItemRequestBuilderGetQueryParameters]):Community msgraph_beta.generated.employeeExperience.communities.item.CommunityItemRequestBuilder::|public|group:GroupRequestBuilder msgraph_beta.generated.employeeExperience.communities.item.CommunityItemRequestBuilder::|public|owners:OwnersRequestBuilder +msgraph_beta.generated.employeeExperience.communities.item.CommunityItemRequestBuilder::|public|owners_with_user_principal_name(user_principal_name:str):OwnersWithUserPrincipalNameRequestBuilder msgraph_beta.generated.employeeExperience.communities.item.CommunityItemRequestBuilder::|public|patch(body:Community; request_configuration?:RequestConfiguration[QueryParameters]):Community msgraph_beta.generated.employeeExperience.communities.item.CommunityItemRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] msgraph_beta.generated.employeeExperience.communities.item.CommunityItemRequestBuilder::|public|request_adapter:RequestAdapter @@ -92659,6 +92875,18 @@ msgraph_beta.generated.employeeExperience.communities.item.owners.OwnersRequestB msgraph_beta.generated.employeeExperience.communities.item.owners.OwnersRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[OwnersRequestBuilderGetQueryParameters]):RequestInformation msgraph_beta.generated.employeeExperience.communities.item.owners.OwnersRequestBuilder::|public|url_template:str msgraph_beta.generated.employeeExperience.communities.item.owners.OwnersRequestBuilder::|public|with_url(raw_url:str):OwnersRequestBuilder +msgraph_beta.generated.employeeExperience.communities.item.ownersWithUserPrincipalName.OwnersWithUserPrincipalNameRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.employeeExperience.communities.item.ownersWithUserPrincipalName.OwnersWithUserPrincipalNameRequestBuilder.OwnersWithUserPrincipalNameRequestBuilderGetQueryParameters::|public|expand:List[str] +msgraph_beta.generated.employeeExperience.communities.item.ownersWithUserPrincipalName.OwnersWithUserPrincipalNameRequestBuilder.OwnersWithUserPrincipalNameRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.employeeExperience.communities.item.ownersWithUserPrincipalName.OwnersWithUserPrincipalNameRequestBuilder.OwnersWithUserPrincipalNameRequestBuilderGetQueryParameters::|public|select:List[str] +msgraph_beta.generated.employeeExperience.communities.item.ownersWithUserPrincipalName.OwnersWithUserPrincipalNameRequestBuilder.OwnersWithUserPrincipalNameRequestBuilderGetRequestConfiguration-->RequestConfiguration[OwnersWithUserPrincipalNameRequestBuilderGetQueryParameters] +msgraph_beta.generated.employeeExperience.communities.item.ownersWithUserPrincipalName.OwnersWithUserPrincipalNameRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter; user_principal_name?:str):None +msgraph_beta.generated.employeeExperience.communities.item.ownersWithUserPrincipalName.OwnersWithUserPrincipalNameRequestBuilder::|public|get(request_configuration?:RequestConfiguration[OwnersWithUserPrincipalNameRequestBuilderGetQueryParameters]):User +msgraph_beta.generated.employeeExperience.communities.item.ownersWithUserPrincipalName.OwnersWithUserPrincipalNameRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph_beta.generated.employeeExperience.communities.item.ownersWithUserPrincipalName.OwnersWithUserPrincipalNameRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.employeeExperience.communities.item.ownersWithUserPrincipalName.OwnersWithUserPrincipalNameRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[OwnersWithUserPrincipalNameRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.employeeExperience.communities.item.ownersWithUserPrincipalName.OwnersWithUserPrincipalNameRequestBuilder::|public|url_template:str +msgraph_beta.generated.employeeExperience.communities.item.ownersWithUserPrincipalName.OwnersWithUserPrincipalNameRequestBuilder::|public|with_url(raw_url:str):OwnersWithUserPrincipalNameRequestBuilder msgraph_beta.generated.employeeExperience.EmployeeExperienceRequestBuilder-->BaseRequestBuilder msgraph_beta.generated.employeeExperience.EmployeeExperienceRequestBuilder.EmployeeExperienceRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str msgraph_beta.generated.employeeExperience.EmployeeExperienceRequestBuilder.EmployeeExperienceRequestBuilderGetQueryParameters::|public|select:List[str] @@ -125749,6 +125977,18 @@ msgraph_beta.generated.groups.item.team.owners.OwnersRequestBuilder::|public|req msgraph_beta.generated.groups.item.team.owners.OwnersRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[OwnersRequestBuilderGetQueryParameters]):RequestInformation msgraph_beta.generated.groups.item.team.owners.OwnersRequestBuilder::|public|url_template:str msgraph_beta.generated.groups.item.team.owners.OwnersRequestBuilder::|public|with_url(raw_url:str):OwnersRequestBuilder +msgraph_beta.generated.groups.item.team.ownersWithUserPrincipalName.OwnersWithUserPrincipalNameRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.groups.item.team.ownersWithUserPrincipalName.OwnersWithUserPrincipalNameRequestBuilder.OwnersWithUserPrincipalNameRequestBuilderGetQueryParameters::|public|expand:List[str] +msgraph_beta.generated.groups.item.team.ownersWithUserPrincipalName.OwnersWithUserPrincipalNameRequestBuilder.OwnersWithUserPrincipalNameRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.groups.item.team.ownersWithUserPrincipalName.OwnersWithUserPrincipalNameRequestBuilder.OwnersWithUserPrincipalNameRequestBuilderGetQueryParameters::|public|select:List[str] +msgraph_beta.generated.groups.item.team.ownersWithUserPrincipalName.OwnersWithUserPrincipalNameRequestBuilder.OwnersWithUserPrincipalNameRequestBuilderGetRequestConfiguration-->RequestConfiguration[OwnersWithUserPrincipalNameRequestBuilderGetQueryParameters] +msgraph_beta.generated.groups.item.team.ownersWithUserPrincipalName.OwnersWithUserPrincipalNameRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter; user_principal_name?:str):None +msgraph_beta.generated.groups.item.team.ownersWithUserPrincipalName.OwnersWithUserPrincipalNameRequestBuilder::|public|get(request_configuration?:RequestConfiguration[OwnersWithUserPrincipalNameRequestBuilderGetQueryParameters]):User +msgraph_beta.generated.groups.item.team.ownersWithUserPrincipalName.OwnersWithUserPrincipalNameRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph_beta.generated.groups.item.team.ownersWithUserPrincipalName.OwnersWithUserPrincipalNameRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.groups.item.team.ownersWithUserPrincipalName.OwnersWithUserPrincipalNameRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[OwnersWithUserPrincipalNameRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.groups.item.team.ownersWithUserPrincipalName.OwnersWithUserPrincipalNameRequestBuilder::|public|url_template:str +msgraph_beta.generated.groups.item.team.ownersWithUserPrincipalName.OwnersWithUserPrincipalNameRequestBuilder::|public|with_url(raw_url:str):OwnersWithUserPrincipalNameRequestBuilder msgraph_beta.generated.groups.item.team.permissionGrants.count.CountRequestBuilder-->BaseRequestBuilder msgraph_beta.generated.groups.item.team.permissionGrants.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|filter:str msgraph_beta.generated.groups.item.team.permissionGrants.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str @@ -127638,6 +127878,7 @@ msgraph_beta.generated.groups.item.team.TeamRequestBuilder::|public|installed_ap msgraph_beta.generated.groups.item.team.TeamRequestBuilder::|public|members:MembersRequestBuilder msgraph_beta.generated.groups.item.team.TeamRequestBuilder::|public|operations:OperationsRequestBuilder msgraph_beta.generated.groups.item.team.TeamRequestBuilder::|public|owners:OwnersRequestBuilder +msgraph_beta.generated.groups.item.team.TeamRequestBuilder::|public|owners_with_user_principal_name(user_principal_name:str):OwnersWithUserPrincipalNameRequestBuilder msgraph_beta.generated.groups.item.team.TeamRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] msgraph_beta.generated.groups.item.team.TeamRequestBuilder::|public|permission_grants:PermissionGrantsRequestBuilder msgraph_beta.generated.groups.item.team.TeamRequestBuilder::|public|photo:PhotoRequestBuilder @@ -153118,6 +153359,9 @@ msgraph_beta.generated.models.AllowedDataLocationCollectionResponse::|public|ser msgraph_beta.generated.models.AllowedDataLocationCollectionResponse::|public|value():List[AllowedDataLocation] msgraph_beta.generated.models.AllowedDataLocationCollectionResponse::|public|value(value:List[AllowedDataLocation]):None msgraph_beta.generated.models.AllowedDataLocationCollectionResponse::|static|public|create_from_discriminator_value(parse_node:ParseNode):AllowedDataLocationCollectionResponse +msgraph_beta.generated.models.AllowedLobbyAdmitterRoles::0000-OrganizerAndCoOrganizersAndPresenters +msgraph_beta.generated.models.AllowedLobbyAdmitterRoles::0001-OrganizerAndCoOrganizers +msgraph_beta.generated.models.AllowedLobbyAdmitterRoles::0002-UnknownFutureValue msgraph_beta.generated.models.AllowedRolePrincipalTypes::0000-User msgraph_beta.generated.models.AllowedRolePrincipalTypes::0001-ServicePrincipal msgraph_beta.generated.models.AllowedRolePrincipalTypes::0002-Group @@ -153537,6 +153781,8 @@ msgraph_beta.generated.models.AndroidDeviceOwnerEnterpriseWiFiConfiguration::|pu msgraph_beta.generated.models.AndroidDeviceOwnerEnterpriseWiFiConfiguration::|public|odata_type:str msgraph_beta.generated.models.AndroidDeviceOwnerEnterpriseWiFiConfiguration::|public|outer_identity_privacy_temporary_value():str msgraph_beta.generated.models.AndroidDeviceOwnerEnterpriseWiFiConfiguration::|public|outer_identity_privacy_temporary_value(value:str):None +msgraph_beta.generated.models.AndroidDeviceOwnerEnterpriseWiFiConfiguration::|public|root_certificates_for_server_validation():List[AndroidDeviceOwnerTrustedRootCertificate] +msgraph_beta.generated.models.AndroidDeviceOwnerEnterpriseWiFiConfiguration::|public|root_certificates_for_server_validation(value:List[AndroidDeviceOwnerTrustedRootCertificate]):None msgraph_beta.generated.models.AndroidDeviceOwnerEnterpriseWiFiConfiguration::|public|root_certificate_for_server_validation():AndroidDeviceOwnerTrustedRootCertificate msgraph_beta.generated.models.AndroidDeviceOwnerEnterpriseWiFiConfiguration::|public|root_certificate_for_server_validation(value:AndroidDeviceOwnerTrustedRootCertificate):None msgraph_beta.generated.models.AndroidDeviceOwnerEnterpriseWiFiConfiguration::|public|serialize(writer:SerializationWriter):None @@ -155297,6 +155543,8 @@ msgraph_beta.generated.models.AndroidMinimumOperatingSystem::|public|v13_0():boo msgraph_beta.generated.models.AndroidMinimumOperatingSystem::|public|v13_0(value:bool):None msgraph_beta.generated.models.AndroidMinimumOperatingSystem::|public|v14_0():bool msgraph_beta.generated.models.AndroidMinimumOperatingSystem::|public|v14_0(value:bool):None +msgraph_beta.generated.models.AndroidMinimumOperatingSystem::|public|v15_0():bool +msgraph_beta.generated.models.AndroidMinimumOperatingSystem::|public|v15_0(value:bool):None msgraph_beta.generated.models.AndroidMinimumOperatingSystem::|public|v4_0():bool msgraph_beta.generated.models.AndroidMinimumOperatingSystem::|public|v4_0(value:bool):None msgraph_beta.generated.models.AndroidMinimumOperatingSystem::|public|v4_0_3():bool @@ -155503,6 +155751,9 @@ msgraph_beta.generated.models.AndroidWiFiConfiguration::|static|public|create_fr msgraph_beta.generated.models.AndroidWiFiSecurityType::0000-Open msgraph_beta.generated.models.AndroidWiFiSecurityType::0001-WpaEnterprise msgraph_beta.generated.models.AndroidWiFiSecurityType::0002-Wpa2Enterprise +msgraph_beta.generated.models.AndroidWiFiSecurityType::0003-Wep +msgraph_beta.generated.models.AndroidWiFiSecurityType::0004-WpaPersonal +msgraph_beta.generated.models.AndroidWiFiSecurityType::0005-UnknownFutureValue msgraph_beta.generated.models.AndroidWorkProfileAccountUse::0000-AllowAllExceptGoogleAccounts msgraph_beta.generated.models.AndroidWorkProfileAccountUse::0001-BlockAll msgraph_beta.generated.models.AndroidWorkProfileAccountUse::0002-AllowAll @@ -155649,10 +155900,6 @@ msgraph_beta.generated.models.AndroidWorkProfileEnterpriseWiFiConfiguration::|pu msgraph_beta.generated.models.AndroidWorkProfileEnterpriseWiFiConfiguration::|public|odata_type:str msgraph_beta.generated.models.AndroidWorkProfileEnterpriseWiFiConfiguration::|public|outer_identity_privacy_temporary_value():str msgraph_beta.generated.models.AndroidWorkProfileEnterpriseWiFiConfiguration::|public|outer_identity_privacy_temporary_value(value:str):None -msgraph_beta.generated.models.AndroidWorkProfileEnterpriseWiFiConfiguration::|public|proxy_automatic_configuration_url():str -msgraph_beta.generated.models.AndroidWorkProfileEnterpriseWiFiConfiguration::|public|proxy_automatic_configuration_url(value:str):None -msgraph_beta.generated.models.AndroidWorkProfileEnterpriseWiFiConfiguration::|public|proxy_settings():WiFiProxySetting -msgraph_beta.generated.models.AndroidWorkProfileEnterpriseWiFiConfiguration::|public|proxy_settings(value:WiFiProxySetting):None msgraph_beta.generated.models.AndroidWorkProfileEnterpriseWiFiConfiguration::|public|root_certificate_for_server_validation():AndroidWorkProfileTrustedRootCertificate msgraph_beta.generated.models.AndroidWorkProfileEnterpriseWiFiConfiguration::|public|root_certificate_for_server_validation(value:AndroidWorkProfileTrustedRootCertificate):None msgraph_beta.generated.models.AndroidWorkProfileEnterpriseWiFiConfiguration::|public|serialize(writer:SerializationWriter):None @@ -155903,6 +156150,14 @@ msgraph_beta.generated.models.AndroidWorkProfileWiFiConfiguration::|public|get_f msgraph_beta.generated.models.AndroidWorkProfileWiFiConfiguration::|public|network_name():str msgraph_beta.generated.models.AndroidWorkProfileWiFiConfiguration::|public|network_name(value:str):None msgraph_beta.generated.models.AndroidWorkProfileWiFiConfiguration::|public|odata_type:str +msgraph_beta.generated.models.AndroidWorkProfileWiFiConfiguration::|public|pre_shared_key():str +msgraph_beta.generated.models.AndroidWorkProfileWiFiConfiguration::|public|pre_shared_key(value:str):None +msgraph_beta.generated.models.AndroidWorkProfileWiFiConfiguration::|public|pre_shared_key_is_set():bool +msgraph_beta.generated.models.AndroidWorkProfileWiFiConfiguration::|public|pre_shared_key_is_set(value:bool):None +msgraph_beta.generated.models.AndroidWorkProfileWiFiConfiguration::|public|proxy_automatic_configuration_url():str +msgraph_beta.generated.models.AndroidWorkProfileWiFiConfiguration::|public|proxy_automatic_configuration_url(value:str):None +msgraph_beta.generated.models.AndroidWorkProfileWiFiConfiguration::|public|proxy_settings():WiFiProxySetting +msgraph_beta.generated.models.AndroidWorkProfileWiFiConfiguration::|public|proxy_settings(value:WiFiProxySetting):None msgraph_beta.generated.models.AndroidWorkProfileWiFiConfiguration::|public|serialize(writer:SerializationWriter):None msgraph_beta.generated.models.AndroidWorkProfileWiFiConfiguration::|public|ssid():str msgraph_beta.generated.models.AndroidWorkProfileWiFiConfiguration::|public|ssid(value:str):None @@ -156956,6 +157211,18 @@ msgraph_beta.generated.models.AppManagementPolicy::|public|restrictions():Custom msgraph_beta.generated.models.AppManagementPolicy::|public|restrictions(value:CustomAppManagementConfiguration):None msgraph_beta.generated.models.AppManagementPolicy::|public|serialize(writer:SerializationWriter):None msgraph_beta.generated.models.AppManagementPolicy::|static|public|create_from_discriminator_value(parse_node:ParseNode):AppManagementPolicy +msgraph_beta.generated.models.AppManagementPolicyActorExemptions::|public|additional_data():Dict[str, Any] +msgraph_beta.generated.models.AppManagementPolicyActorExemptions::|public|additional_data(value:Dict[str, Any]):None +msgraph_beta.generated.models.AppManagementPolicyActorExemptions::|public|backing_store:BackingStore +msgraph_beta.generated.models.AppManagementPolicyActorExemptions::|public|constructor():None +msgraph_beta.generated.models.AppManagementPolicyActorExemptions::|public|custom_security_attributes():List[CustomSecurityAttributeExemption] +msgraph_beta.generated.models.AppManagementPolicyActorExemptions::|public|custom_security_attributes(value:List[CustomSecurityAttributeExemption]):None +msgraph_beta.generated.models.AppManagementPolicyActorExemptions::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.models.AppManagementPolicyActorExemptions::|public|odata_type():str +msgraph_beta.generated.models.AppManagementPolicyActorExemptions::|public|odata_type(value:str):None +msgraph_beta.generated.models.AppManagementPolicyActorExemptions::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.models.AppManagementPolicyActorExemptions::|static|public|create_from_discriminator_value(parse_node:ParseNode):AppManagementPolicyActorExemptions +msgraph_beta.generated.models.AppManagementPolicyActorExemptions~~>AdditionalDataHolder; BackedModel; Parsable msgraph_beta.generated.models.AppManagementPolicyCollectionResponse-->BaseCollectionPaginationCountResponse msgraph_beta.generated.models.AppManagementPolicyCollectionResponse::|public|constructor():None msgraph_beta.generated.models.AppManagementPolicyCollectionResponse::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] @@ -158042,6 +158309,8 @@ msgraph_beta.generated.models.AttendanceRecord::|public|identity(value:Identity) msgraph_beta.generated.models.AttendanceRecord::|public|odata_type:str msgraph_beta.generated.models.AttendanceRecord::|public|registrant_id():str msgraph_beta.generated.models.AttendanceRecord::|public|registrant_id(value:str):None +msgraph_beta.generated.models.AttendanceRecord::|public|registration_id():str +msgraph_beta.generated.models.AttendanceRecord::|public|registration_id(value:str):None msgraph_beta.generated.models.AttendanceRecord::|public|role():str msgraph_beta.generated.models.AttendanceRecord::|public|role(value:str):None msgraph_beta.generated.models.AttendanceRecord::|public|serialize(writer:SerializationWriter):None @@ -158888,6 +159157,9 @@ msgraph_beta.generated.models.AuthenticationEventsPolicy::|static|public|create_ msgraph_beta.generated.models.AuthenticationEventType::0000-TokenIssuanceStart msgraph_beta.generated.models.AuthenticationEventType::0001-PageRenderStart msgraph_beta.generated.models.AuthenticationEventType::0002-UnknownFutureValue +msgraph_beta.generated.models.AuthenticationEventType::0003-AttributeCollectionStart +msgraph_beta.generated.models.AuthenticationEventType::0004-AttributeCollectionSubmit +msgraph_beta.generated.models.AuthenticationEventType::0005-EmailOtpSend msgraph_beta.generated.models.AuthenticationFailure-->Entity msgraph_beta.generated.models.AuthenticationFailure::|public|constructor():None msgraph_beta.generated.models.AuthenticationFailure::|public|count():int @@ -163335,6 +163607,20 @@ msgraph_beta.generated.models.CertificationControl::|public|url(value:str):None msgraph_beta.generated.models.CertificationControl::|static|public|create_from_discriminator_value(parse_node:ParseNode):CertificationControl msgraph_beta.generated.models.CertificationControl~~>AdditionalDataHolder; BackedModel; Parsable msgraph_beta.generated.models.Certification~~>AdditionalDataHolder; BackedModel; Parsable +msgraph_beta.generated.models.ChallengingWord::|public|additional_data():Dict[str, Any] +msgraph_beta.generated.models.ChallengingWord::|public|additional_data(value:Dict[str, Any]):None +msgraph_beta.generated.models.ChallengingWord::|public|backing_store:BackingStore +msgraph_beta.generated.models.ChallengingWord::|public|constructor():None +msgraph_beta.generated.models.ChallengingWord::|public|count():int +msgraph_beta.generated.models.ChallengingWord::|public|count(value:int):None +msgraph_beta.generated.models.ChallengingWord::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.models.ChallengingWord::|public|odata_type():str +msgraph_beta.generated.models.ChallengingWord::|public|odata_type(value:str):None +msgraph_beta.generated.models.ChallengingWord::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.models.ChallengingWord::|public|word():str +msgraph_beta.generated.models.ChallengingWord::|public|word(value:str):None +msgraph_beta.generated.models.ChallengingWord::|static|public|create_from_discriminator_value(parse_node:ParseNode):ChallengingWord +msgraph_beta.generated.models.ChallengingWord~~>AdditionalDataHolder; BackedModel; Parsable msgraph_beta.generated.models.ChangeAssignmentsActionResult-->DeviceActionResult msgraph_beta.generated.models.ChangeAssignmentsActionResult::|public|constructor():None msgraph_beta.generated.models.ChangeAssignmentsActionResult::|public|device_assignment_items():List[DeviceAssignmentItem] @@ -164480,6 +164766,63 @@ msgraph_beta.generated.models.CloudCommunications::|public|presences(value:List[ msgraph_beta.generated.models.CloudCommunications::|public|serialize(writer:SerializationWriter):None msgraph_beta.generated.models.CloudCommunications::|static|public|create_from_discriminator_value(parse_node:ParseNode):CloudCommunications msgraph_beta.generated.models.CloudCommunications~~>AdditionalDataHolder; BackedModel; Parsable +msgraph_beta.generated.models.cloudLicensing.AssigneeTypes::0000-None_ +msgraph_beta.generated.models.cloudLicensing.AssigneeTypes::0001-User +msgraph_beta.generated.models.cloudLicensing.AssigneeTypes::0002-Group +msgraph_beta.generated.models.cloudLicensing.AssigneeTypes::0003-Device +msgraph_beta.generated.models.cloudLicensing.AssigneeTypes::0004-UnknownFutureValue +msgraph_beta.generated.models.cloudLicensing.GroupCloudLicensing::|public|additional_data():Dict[str, Any] +msgraph_beta.generated.models.cloudLicensing.GroupCloudLicensing::|public|additional_data(value:Dict[str, Any]):None +msgraph_beta.generated.models.cloudLicensing.GroupCloudLicensing::|public|backing_store:BackingStore +msgraph_beta.generated.models.cloudLicensing.GroupCloudLicensing::|public|constructor():None +msgraph_beta.generated.models.cloudLicensing.GroupCloudLicensing::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.models.cloudLicensing.GroupCloudLicensing::|public|odata_type():str +msgraph_beta.generated.models.cloudLicensing.GroupCloudLicensing::|public|odata_type(value:str):None +msgraph_beta.generated.models.cloudLicensing.GroupCloudLicensing::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.models.cloudLicensing.GroupCloudLicensing::|public|usage_rights():List[UsageRight] +msgraph_beta.generated.models.cloudLicensing.GroupCloudLicensing::|public|usage_rights(value:List[UsageRight]):None +msgraph_beta.generated.models.cloudLicensing.GroupCloudLicensing::|static|public|create_from_discriminator_value(parse_node:ParseNode):GroupCloudLicensing +msgraph_beta.generated.models.cloudLicensing.GroupCloudLicensing~~>AdditionalDataHolder; BackedModel; Parsable +msgraph_beta.generated.models.cloudLicensing.Service::|public|additional_data():Dict[str, Any] +msgraph_beta.generated.models.cloudLicensing.Service::|public|additional_data(value:Dict[str, Any]):None +msgraph_beta.generated.models.cloudLicensing.Service::|public|assignable_to():AssigneeTypes +msgraph_beta.generated.models.cloudLicensing.Service::|public|assignable_to(value:AssigneeTypes):None +msgraph_beta.generated.models.cloudLicensing.Service::|public|backing_store:BackingStore +msgraph_beta.generated.models.cloudLicensing.Service::|public|constructor():None +msgraph_beta.generated.models.cloudLicensing.Service::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.models.cloudLicensing.Service::|public|odata_type():str +msgraph_beta.generated.models.cloudLicensing.Service::|public|odata_type(value:str):None +msgraph_beta.generated.models.cloudLicensing.Service::|public|plan_id():UUID +msgraph_beta.generated.models.cloudLicensing.Service::|public|plan_id(value:UUID):None +msgraph_beta.generated.models.cloudLicensing.Service::|public|plan_name():str +msgraph_beta.generated.models.cloudLicensing.Service::|public|plan_name(value:str):None +msgraph_beta.generated.models.cloudLicensing.Service::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.models.cloudLicensing.Service::|static|public|create_from_discriminator_value(parse_node:ParseNode):Service +msgraph_beta.generated.models.cloudLicensing.Service~~>AdditionalDataHolder; BackedModel; Parsable +msgraph_beta.generated.models.cloudLicensing.UsageRight-->Entity +msgraph_beta.generated.models.cloudLicensing.UsageRight::|public|constructor():None +msgraph_beta.generated.models.cloudLicensing.UsageRight::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.models.cloudLicensing.UsageRight::|public|odata_type:str +msgraph_beta.generated.models.cloudLicensing.UsageRight::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.models.cloudLicensing.UsageRight::|public|services():List[Service] +msgraph_beta.generated.models.cloudLicensing.UsageRight::|public|services(value:List[Service]):None +msgraph_beta.generated.models.cloudLicensing.UsageRight::|public|sku_id():UUID +msgraph_beta.generated.models.cloudLicensing.UsageRight::|public|sku_id(value:UUID):None +msgraph_beta.generated.models.cloudLicensing.UsageRight::|public|sku_part_number():str +msgraph_beta.generated.models.cloudLicensing.UsageRight::|public|sku_part_number(value:str):None +msgraph_beta.generated.models.cloudLicensing.UsageRight::|static|public|create_from_discriminator_value(parse_node:ParseNode):UsageRight +msgraph_beta.generated.models.cloudLicensing.UserCloudLicensing::|public|additional_data():Dict[str, Any] +msgraph_beta.generated.models.cloudLicensing.UserCloudLicensing::|public|additional_data(value:Dict[str, Any]):None +msgraph_beta.generated.models.cloudLicensing.UserCloudLicensing::|public|backing_store:BackingStore +msgraph_beta.generated.models.cloudLicensing.UserCloudLicensing::|public|constructor():None +msgraph_beta.generated.models.cloudLicensing.UserCloudLicensing::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.models.cloudLicensing.UserCloudLicensing::|public|odata_type():str +msgraph_beta.generated.models.cloudLicensing.UserCloudLicensing::|public|odata_type(value:str):None +msgraph_beta.generated.models.cloudLicensing.UserCloudLicensing::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.models.cloudLicensing.UserCloudLicensing::|public|usage_rights():List[UsageRight] +msgraph_beta.generated.models.cloudLicensing.UserCloudLicensing::|public|usage_rights(value:List[UsageRight]):None +msgraph_beta.generated.models.cloudLicensing.UserCloudLicensing::|static|public|create_from_discriminator_value(parse_node:ParseNode):UserCloudLicensing +msgraph_beta.generated.models.cloudLicensing.UserCloudLicensing~~>AdditionalDataHolder; BackedModel; Parsable msgraph_beta.generated.models.CloudPC-->Entity msgraph_beta.generated.models.CloudPC::|public|aad_device_id():str msgraph_beta.generated.models.CloudPC::|public|aad_device_id(value:str):None @@ -164759,6 +165102,12 @@ msgraph_beta.generated.models.CloudPcBulkModifyDiskEncryptionType::|public|get_f msgraph_beta.generated.models.CloudPcBulkModifyDiskEncryptionType::|public|odata_type:str msgraph_beta.generated.models.CloudPcBulkModifyDiskEncryptionType::|public|serialize(writer:SerializationWriter):None msgraph_beta.generated.models.CloudPcBulkModifyDiskEncryptionType::|static|public|create_from_discriminator_value(parse_node:ParseNode):CloudPcBulkModifyDiskEncryptionType +msgraph_beta.generated.models.CloudPcBulkMove-->CloudPcBulkAction +msgraph_beta.generated.models.CloudPcBulkMove::|public|constructor():None +msgraph_beta.generated.models.CloudPcBulkMove::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.models.CloudPcBulkMove::|public|odata_type:str +msgraph_beta.generated.models.CloudPcBulkMove::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.models.CloudPcBulkMove::|static|public|create_from_discriminator_value(parse_node:ParseNode):CloudPcBulkMove msgraph_beta.generated.models.CloudPcBulkPowerOff-->CloudPcBulkAction msgraph_beta.generated.models.CloudPcBulkPowerOff::|public|constructor():None msgraph_beta.generated.models.CloudPcBulkPowerOff::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] @@ -164961,6 +165310,8 @@ msgraph_beta.generated.models.CloudPcCrossRegionDisasterRecoverySetting::|public msgraph_beta.generated.models.CloudPcCrossRegionDisasterRecoverySetting::|public|cross_region_disaster_recovery_enabled(value:bool):None msgraph_beta.generated.models.CloudPcCrossRegionDisasterRecoverySetting::|public|disaster_recovery_network_setting():CloudPcDisasterRecoveryNetworkSetting msgraph_beta.generated.models.CloudPcCrossRegionDisasterRecoverySetting::|public|disaster_recovery_network_setting(value:CloudPcDisasterRecoveryNetworkSetting):None +msgraph_beta.generated.models.CloudPcCrossRegionDisasterRecoverySetting::|public|disaster_recovery_type():CloudPcDisasterRecoveryType +msgraph_beta.generated.models.CloudPcCrossRegionDisasterRecoverySetting::|public|disaster_recovery_type(value:CloudPcDisasterRecoveryType):None msgraph_beta.generated.models.CloudPcCrossRegionDisasterRecoverySetting::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] msgraph_beta.generated.models.CloudPcCrossRegionDisasterRecoverySetting::|public|maintain_cross_region_restore_point_enabled():bool msgraph_beta.generated.models.CloudPcCrossRegionDisasterRecoverySetting::|public|maintain_cross_region_restore_point_enabled(value:bool):None @@ -165084,6 +165435,10 @@ msgraph_beta.generated.models.CloudPcDisasterRecoveryNetworkSetting::|public|oda msgraph_beta.generated.models.CloudPcDisasterRecoveryNetworkSetting::|public|serialize(writer:SerializationWriter):None msgraph_beta.generated.models.CloudPcDisasterRecoveryNetworkSetting::|static|public|create_from_discriminator_value(parse_node:ParseNode):CloudPcDisasterRecoveryNetworkSetting msgraph_beta.generated.models.CloudPcDisasterRecoveryNetworkSetting~~>AdditionalDataHolder; BackedModel; Parsable +msgraph_beta.generated.models.CloudPcDisasterRecoveryType::0000-NotConfigured +msgraph_beta.generated.models.CloudPcDisasterRecoveryType::0001-CrossRegion +msgraph_beta.generated.models.CloudPcDisasterRecoveryType::0002-Premium +msgraph_beta.generated.models.CloudPcDisasterRecoveryType::0003-UnknownFutureValue msgraph_beta.generated.models.CloudPcDiskEncryptionState::0000-NotAvailable msgraph_beta.generated.models.CloudPcDiskEncryptionState::0001-NotEncrypted msgraph_beta.generated.models.CloudPcDiskEncryptionState::0002-EncryptedUsingPlatformManagedKey @@ -165187,6 +165542,12 @@ msgraph_beta.generated.models.CloudPcForensicStorageAccount::|public|storage_acc msgraph_beta.generated.models.CloudPcForensicStorageAccount::|public|storage_account_name():str msgraph_beta.generated.models.CloudPcForensicStorageAccount::|public|storage_account_name(value:str):None msgraph_beta.generated.models.CloudPcForensicStorageAccount::|static|public|create_from_discriminator_value(parse_node:ParseNode):CloudPcForensicStorageAccount +msgraph_beta.generated.models.CloudPCFrontlineReportType::0000-NoLicenseAvailableConnectivityFailureReport +msgraph_beta.generated.models.CloudPCFrontlineReportType::0001-LicenseUsageReport +msgraph_beta.generated.models.CloudPCFrontlineReportType::0002-LicenseUsageRealTimeReport +msgraph_beta.generated.models.CloudPCFrontlineReportType::0003-LicenseHourlyUsageReport +msgraph_beta.generated.models.CloudPCFrontlineReportType::0004-ConnectedUserRealtimeReport +msgraph_beta.generated.models.CloudPCFrontlineReportType::0005-UnknownFutureValue msgraph_beta.generated.models.CloudPcFrontLineServicePlan-->Entity msgraph_beta.generated.models.CloudPcFrontLineServicePlan::|public|allotment_licenses_count():int msgraph_beta.generated.models.CloudPcFrontLineServicePlan::|public|allotment_licenses_count(value:int):None @@ -165363,6 +165724,8 @@ msgraph_beta.generated.models.CloudPcOnPremisesConnection::|public|constructor() msgraph_beta.generated.models.CloudPcOnPremisesConnection::|public|display_name():str msgraph_beta.generated.models.CloudPcOnPremisesConnection::|public|display_name(value:str):None msgraph_beta.generated.models.CloudPcOnPremisesConnection::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.models.CloudPcOnPremisesConnection::|public|health_check_paused():bool +msgraph_beta.generated.models.CloudPcOnPremisesConnection::|public|health_check_paused(value:bool):None msgraph_beta.generated.models.CloudPcOnPremisesConnection::|public|health_check_status():CloudPcOnPremisesConnectionStatus msgraph_beta.generated.models.CloudPcOnPremisesConnection::|public|health_check_status(value:CloudPcOnPremisesConnectionStatus):None msgraph_beta.generated.models.CloudPcOnPremisesConnection::|public|health_check_status_detail():CloudPcOnPremisesConnectionStatusDetail @@ -165371,6 +165734,8 @@ msgraph_beta.generated.models.CloudPcOnPremisesConnection::|public|health_check_ msgraph_beta.generated.models.CloudPcOnPremisesConnection::|public|health_check_status_details(value:CloudPcOnPremisesConnectionStatusDetails):None msgraph_beta.generated.models.CloudPcOnPremisesConnection::|public|in_use():bool msgraph_beta.generated.models.CloudPcOnPremisesConnection::|public|in_use(value:bool):None +msgraph_beta.generated.models.CloudPcOnPremisesConnection::|public|in_use_by_cloud_pc():bool +msgraph_beta.generated.models.CloudPcOnPremisesConnection::|public|in_use_by_cloud_pc(value:bool):None msgraph_beta.generated.models.CloudPcOnPremisesConnection::|public|managed_by():CloudPcManagementService msgraph_beta.generated.models.CloudPcOnPremisesConnection::|public|managed_by(value:CloudPcManagementService):None msgraph_beta.generated.models.CloudPcOnPremisesConnection::|public|odata_type:str @@ -165786,6 +166151,9 @@ msgraph_beta.generated.models.CloudPcReportName::0016-InaccessibleCloudPcTrendRe msgraph_beta.generated.models.CloudPcReportName::0017-RegionalConnectionQualityTrendReport msgraph_beta.generated.models.CloudPcReportName::0018-RegionalConnectionQualityInsightsReport msgraph_beta.generated.models.CloudPcReportName::0019-RemoteConnectionQualityReport +msgraph_beta.generated.models.CloudPcReportName::0020-FrontlineLicenseHourlyUsageReport +msgraph_beta.generated.models.CloudPcReportName::0021-FrontlineRealtimeUserConnectionsReport +msgraph_beta.generated.models.CloudPcReportName::0022-BulkActionStatusReport msgraph_beta.generated.models.CloudPcReports-->Entity msgraph_beta.generated.models.CloudPcReports::|public|constructor():None msgraph_beta.generated.models.CloudPcReports::|public|export_jobs():List[CloudPcExportJob] @@ -165977,6 +166345,7 @@ msgraph_beta.generated.models.CloudPcStatus::0011-MovingRegion msgraph_beta.generated.models.CloudPcStatus::0012-ResizePendingLicense msgraph_beta.generated.models.CloudPcStatus::0013-UpdatingSingleSignOn msgraph_beta.generated.models.CloudPcStatus::0014-ModifyingSingleSignOn +msgraph_beta.generated.models.CloudPcStatus::0015-Preparing msgraph_beta.generated.models.CloudPcStatusDetail::|public|additional_data():Dict[str, Any] msgraph_beta.generated.models.CloudPcStatusDetail::|public|additional_data(value:Dict[str, Any]):None msgraph_beta.generated.models.CloudPcStatusDetail::|public|additional_information():List[KeyValuePair] @@ -169588,6 +169957,8 @@ msgraph_beta.generated.models.CustomSecurityAttributeAuditCollectionResponse::|p msgraph_beta.generated.models.CustomSecurityAttributeAuditCollectionResponse::|public|value():List[CustomSecurityAttributeAudit] msgraph_beta.generated.models.CustomSecurityAttributeAuditCollectionResponse::|public|value(value:List[CustomSecurityAttributeAudit]):None msgraph_beta.generated.models.CustomSecurityAttributeAuditCollectionResponse::|static|public|create_from_discriminator_value(parse_node:ParseNode):CustomSecurityAttributeAuditCollectionResponse +msgraph_beta.generated.models.CustomSecurityAttributeComparisonOperator::0000-Equals +msgraph_beta.generated.models.CustomSecurityAttributeComparisonOperator::0001-UnknownFutureValue msgraph_beta.generated.models.CustomSecurityAttributeDefinition-->Entity msgraph_beta.generated.models.CustomSecurityAttributeDefinition::|public|allowed_values():List[AllowedValue] msgraph_beta.generated.models.CustomSecurityAttributeDefinition::|public|allowed_values(value:List[AllowedValue]):None @@ -169619,6 +169990,22 @@ msgraph_beta.generated.models.CustomSecurityAttributeDefinitionCollectionRespons msgraph_beta.generated.models.CustomSecurityAttributeDefinitionCollectionResponse::|public|value():List[CustomSecurityAttributeDefinition] msgraph_beta.generated.models.CustomSecurityAttributeDefinitionCollectionResponse::|public|value(value:List[CustomSecurityAttributeDefinition]):None msgraph_beta.generated.models.CustomSecurityAttributeDefinitionCollectionResponse::|static|public|create_from_discriminator_value(parse_node:ParseNode):CustomSecurityAttributeDefinitionCollectionResponse +msgraph_beta.generated.models.CustomSecurityAttributeExemption-->Entity +msgraph_beta.generated.models.CustomSecurityAttributeExemption::|public|constructor():None +msgraph_beta.generated.models.CustomSecurityAttributeExemption::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.models.CustomSecurityAttributeExemption::|public|odata_type:str +msgraph_beta.generated.models.CustomSecurityAttributeExemption::|public|operator():CustomSecurityAttributeComparisonOperator +msgraph_beta.generated.models.CustomSecurityAttributeExemption::|public|operator(value:CustomSecurityAttributeComparisonOperator):None +msgraph_beta.generated.models.CustomSecurityAttributeExemption::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.models.CustomSecurityAttributeExemption::|static|public|create_from_discriminator_value(parse_node:ParseNode):CustomSecurityAttributeExemption +msgraph_beta.generated.models.CustomSecurityAttributeStringValueExemption-->CustomSecurityAttributeExemption +msgraph_beta.generated.models.CustomSecurityAttributeStringValueExemption::|public|constructor():None +msgraph_beta.generated.models.CustomSecurityAttributeStringValueExemption::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.models.CustomSecurityAttributeStringValueExemption::|public|odata_type:str +msgraph_beta.generated.models.CustomSecurityAttributeStringValueExemption::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.models.CustomSecurityAttributeStringValueExemption::|public|value():str +msgraph_beta.generated.models.CustomSecurityAttributeStringValueExemption::|public|value(value:str):None +msgraph_beta.generated.models.CustomSecurityAttributeStringValueExemption::|static|public|create_from_discriminator_value(parse_node:ParseNode):CustomSecurityAttributeStringValueExemption msgraph_beta.generated.models.CustomSecurityAttributeValue::|public|additional_data():Dict[str, Any] msgraph_beta.generated.models.CustomSecurityAttributeValue::|public|additional_data(value:Dict[str, Any]):None msgraph_beta.generated.models.CustomSecurityAttributeValue::|public|backing_store:BackingStore @@ -171182,6 +171569,33 @@ msgraph_beta.generated.models.DeviceActionResult::|public|start_date_time():date msgraph_beta.generated.models.DeviceActionResult::|public|start_date_time(value:datetime.datetime):None msgraph_beta.generated.models.DeviceActionResult::|static|public|create_from_discriminator_value(parse_node:ParseNode):DeviceActionResult msgraph_beta.generated.models.DeviceActionResult~~>AdditionalDataHolder; BackedModel; Parsable +msgraph_beta.generated.models.DeviceAndAppManagementAssignedRoleDefinition::|public|additional_data():Dict[str, Any] +msgraph_beta.generated.models.DeviceAndAppManagementAssignedRoleDefinition::|public|additional_data(value:Dict[str, Any]):None +msgraph_beta.generated.models.DeviceAndAppManagementAssignedRoleDefinition::|public|backing_store:BackingStore +msgraph_beta.generated.models.DeviceAndAppManagementAssignedRoleDefinition::|public|constructor():None +msgraph_beta.generated.models.DeviceAndAppManagementAssignedRoleDefinition::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.models.DeviceAndAppManagementAssignedRoleDefinition::|public|odata_type():str +msgraph_beta.generated.models.DeviceAndAppManagementAssignedRoleDefinition::|public|odata_type(value:str):None +msgraph_beta.generated.models.DeviceAndAppManagementAssignedRoleDefinition::|public|permissions():List[str] +msgraph_beta.generated.models.DeviceAndAppManagementAssignedRoleDefinition::|public|permissions(value:List[str]):None +msgraph_beta.generated.models.DeviceAndAppManagementAssignedRoleDefinition::|public|role_definition_display_name():str +msgraph_beta.generated.models.DeviceAndAppManagementAssignedRoleDefinition::|public|role_definition_display_name(value:str):None +msgraph_beta.generated.models.DeviceAndAppManagementAssignedRoleDefinition::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.models.DeviceAndAppManagementAssignedRoleDefinition::|static|public|create_from_discriminator_value(parse_node:ParseNode):DeviceAndAppManagementAssignedRoleDefinition +msgraph_beta.generated.models.DeviceAndAppManagementAssignedRoleDefinition~~>AdditionalDataHolder; BackedModel; Parsable +msgraph_beta.generated.models.DeviceAndAppManagementAssignedRoleDetail::|public|additional_data():Dict[str, Any] +msgraph_beta.generated.models.DeviceAndAppManagementAssignedRoleDetail::|public|additional_data(value:Dict[str, Any]):None +msgraph_beta.generated.models.DeviceAndAppManagementAssignedRoleDetail::|public|backing_store:BackingStore +msgraph_beta.generated.models.DeviceAndAppManagementAssignedRoleDetail::|public|constructor():None +msgraph_beta.generated.models.DeviceAndAppManagementAssignedRoleDetail::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.models.DeviceAndAppManagementAssignedRoleDetail::|public|odata_type():str +msgraph_beta.generated.models.DeviceAndAppManagementAssignedRoleDetail::|public|odata_type(value:str):None +msgraph_beta.generated.models.DeviceAndAppManagementAssignedRoleDetail::|public|permissions():List[str] +msgraph_beta.generated.models.DeviceAndAppManagementAssignedRoleDetail::|public|permissions(value:List[str]):None +msgraph_beta.generated.models.DeviceAndAppManagementAssignedRoleDetail::|public|role_definitions():List[DeviceAndAppManagementAssignedRoleDefinition] +msgraph_beta.generated.models.DeviceAndAppManagementAssignedRoleDetail::|public|role_definitions(value:List[DeviceAndAppManagementAssignedRoleDefinition]):None +msgraph_beta.generated.models.DeviceAndAppManagementAssignedRoleDetail::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.models.DeviceAndAppManagementAssignedRoleDetail::|static|public|create_from_discriminator_value(parse_node:ParseNode):DeviceAndAppManagementAssignedRoleDetail msgraph_beta.generated.models.DeviceAndAppManagementAssignedRoleDetails::|public|additional_data():Dict[str, Any] msgraph_beta.generated.models.DeviceAndAppManagementAssignedRoleDetails::|public|additional_data(value:Dict[str, Any]):None msgraph_beta.generated.models.DeviceAndAppManagementAssignedRoleDetails::|public|backing_store:BackingStore @@ -171196,6 +171610,7 @@ msgraph_beta.generated.models.DeviceAndAppManagementAssignedRoleDetails::|public msgraph_beta.generated.models.DeviceAndAppManagementAssignedRoleDetails::|public|serialize(writer:SerializationWriter):None msgraph_beta.generated.models.DeviceAndAppManagementAssignedRoleDetails::|static|public|create_from_discriminator_value(parse_node:ParseNode):DeviceAndAppManagementAssignedRoleDetails msgraph_beta.generated.models.DeviceAndAppManagementAssignedRoleDetails~~>AdditionalDataHolder; BackedModel; Parsable +msgraph_beta.generated.models.DeviceAndAppManagementAssignedRoleDetail~~>AdditionalDataHolder; BackedModel; Parsable msgraph_beta.generated.models.DeviceAndAppManagementAssignmentFilter-->Entity msgraph_beta.generated.models.DeviceAndAppManagementAssignmentFilter::|public|assignment_filter_management_type():AssignmentFilterManagementType msgraph_beta.generated.models.DeviceAndAppManagementAssignmentFilter::|public|assignment_filter_management_type(value:AssignmentFilterManagementType):None @@ -175270,15 +175685,19 @@ msgraph_beta.generated.models.DeviceManagementConfigurationTechnologies::0000-No msgraph_beta.generated.models.DeviceManagementConfigurationTechnologies::0001-Mdm msgraph_beta.generated.models.DeviceManagementConfigurationTechnologies::0002-Windows10XManagement msgraph_beta.generated.models.DeviceManagementConfigurationTechnologies::0003-ConfigManager -msgraph_beta.generated.models.DeviceManagementConfigurationTechnologies::0004-AppleRemoteManagement -msgraph_beta.generated.models.DeviceManagementConfigurationTechnologies::0005-MicrosoftSense -msgraph_beta.generated.models.DeviceManagementConfigurationTechnologies::0006-ExchangeOnline -msgraph_beta.generated.models.DeviceManagementConfigurationTechnologies::0007-MobileApplicationManagement -msgraph_beta.generated.models.DeviceManagementConfigurationTechnologies::0008-LinuxMdm -msgraph_beta.generated.models.DeviceManagementConfigurationTechnologies::0009-Enrollment -msgraph_beta.generated.models.DeviceManagementConfigurationTechnologies::0010-EndpointPrivilegeManagement -msgraph_beta.generated.models.DeviceManagementConfigurationTechnologies::0011-UnknownFutureValue -msgraph_beta.generated.models.DeviceManagementConfigurationTechnologies::0012-WindowsOsRecovery +msgraph_beta.generated.models.DeviceManagementConfigurationTechnologies::0004-IntuneManagementExtension +msgraph_beta.generated.models.DeviceManagementConfigurationTechnologies::0005-ThirdParty +msgraph_beta.generated.models.DeviceManagementConfigurationTechnologies::0006-DocumentGateway +msgraph_beta.generated.models.DeviceManagementConfigurationTechnologies::0007-AppleRemoteManagement +msgraph_beta.generated.models.DeviceManagementConfigurationTechnologies::0008-MicrosoftSense +msgraph_beta.generated.models.DeviceManagementConfigurationTechnologies::0009-ExchangeOnline +msgraph_beta.generated.models.DeviceManagementConfigurationTechnologies::0010-MobileApplicationManagement +msgraph_beta.generated.models.DeviceManagementConfigurationTechnologies::0011-LinuxMdm +msgraph_beta.generated.models.DeviceManagementConfigurationTechnologies::0012-Enrollment +msgraph_beta.generated.models.DeviceManagementConfigurationTechnologies::0013-EndpointPrivilegeManagement +msgraph_beta.generated.models.DeviceManagementConfigurationTechnologies::0014-UnknownFutureValue +msgraph_beta.generated.models.DeviceManagementConfigurationTechnologies::0015-WindowsOsRecovery +msgraph_beta.generated.models.DeviceManagementConfigurationTechnologies::0016-Android msgraph_beta.generated.models.DeviceManagementConfigurationTemplateFamily::0000-None_ msgraph_beta.generated.models.DeviceManagementConfigurationTemplateFamily::0001-EndpointSecurityAntivirus msgraph_beta.generated.models.DeviceManagementConfigurationTemplateFamily::0002-EndpointSecurityDiskEncryption @@ -178008,6 +178427,23 @@ msgraph_beta.generated.models.DriveRestoreArtifactCollectionResponse::|public|se msgraph_beta.generated.models.DriveRestoreArtifactCollectionResponse::|public|value():List[DriveRestoreArtifact] msgraph_beta.generated.models.DriveRestoreArtifactCollectionResponse::|public|value(value:List[DriveRestoreArtifact]):None msgraph_beta.generated.models.DriveRestoreArtifactCollectionResponse::|static|public|create_from_discriminator_value(parse_node:ParseNode):DriveRestoreArtifactCollectionResponse +msgraph_beta.generated.models.DriveRestoreArtifactsBulkAdditionRequest-->RestoreArtifactsBulkRequestBase +msgraph_beta.generated.models.DriveRestoreArtifactsBulkAdditionRequest::|public|constructor():None +msgraph_beta.generated.models.DriveRestoreArtifactsBulkAdditionRequest::|public|directory_object_ids():List[str] +msgraph_beta.generated.models.DriveRestoreArtifactsBulkAdditionRequest::|public|directory_object_ids(value:List[str]):None +msgraph_beta.generated.models.DriveRestoreArtifactsBulkAdditionRequest::|public|drives():List[str] +msgraph_beta.generated.models.DriveRestoreArtifactsBulkAdditionRequest::|public|drives(value:List[str]):None +msgraph_beta.generated.models.DriveRestoreArtifactsBulkAdditionRequest::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.models.DriveRestoreArtifactsBulkAdditionRequest::|public|odata_type:str +msgraph_beta.generated.models.DriveRestoreArtifactsBulkAdditionRequest::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.models.DriveRestoreArtifactsBulkAdditionRequest::|static|public|create_from_discriminator_value(parse_node:ParseNode):DriveRestoreArtifactsBulkAdditionRequest +msgraph_beta.generated.models.DriveRestoreArtifactsBulkAdditionRequestCollectionResponse-->BaseCollectionPaginationCountResponse +msgraph_beta.generated.models.DriveRestoreArtifactsBulkAdditionRequestCollectionResponse::|public|constructor():None +msgraph_beta.generated.models.DriveRestoreArtifactsBulkAdditionRequestCollectionResponse::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.models.DriveRestoreArtifactsBulkAdditionRequestCollectionResponse::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.models.DriveRestoreArtifactsBulkAdditionRequestCollectionResponse::|public|value():List[DriveRestoreArtifactsBulkAdditionRequest] +msgraph_beta.generated.models.DriveRestoreArtifactsBulkAdditionRequestCollectionResponse::|public|value(value:List[DriveRestoreArtifactsBulkAdditionRequest]):None +msgraph_beta.generated.models.DriveRestoreArtifactsBulkAdditionRequestCollectionResponse::|static|public|create_from_discriminator_value(parse_node:ParseNode):DriveRestoreArtifactsBulkAdditionRequestCollectionResponse msgraph_beta.generated.models.DriverUpdateProfileApprovalType::0000-Manual msgraph_beta.generated.models.DriverUpdateProfileApprovalType::0001-Automatic msgraph_beta.generated.models.EapFastConfiguration::0000-NoProtectedAccessCredential @@ -179534,6 +179970,8 @@ msgraph_beta.generated.models.EducationRoot::|public|me():EducationUser msgraph_beta.generated.models.EducationRoot::|public|me(value:EducationUser):None msgraph_beta.generated.models.EducationRoot::|public|odata_type():str msgraph_beta.generated.models.EducationRoot::|public|odata_type(value:str):None +msgraph_beta.generated.models.EducationRoot::|public|reports():ReportsRoot +msgraph_beta.generated.models.EducationRoot::|public|reports(value:ReportsRoot):None msgraph_beta.generated.models.EducationRoot::|public|schools():List[EducationSchool] msgraph_beta.generated.models.EducationRoot::|public|schools(value:List[EducationSchool]):None msgraph_beta.generated.models.EducationRoot::|public|serialize(writer:SerializationWriter):None @@ -181520,6 +181958,8 @@ msgraph_beta.generated.models.ExchangeRestoreSession::|public|granular_mailbox_r msgraph_beta.generated.models.ExchangeRestoreSession::|public|granular_mailbox_restore_artifacts(value:List[GranularMailboxRestoreArtifact]):None msgraph_beta.generated.models.ExchangeRestoreSession::|public|mailbox_restore_artifacts():List[MailboxRestoreArtifact] msgraph_beta.generated.models.ExchangeRestoreSession::|public|mailbox_restore_artifacts(value:List[MailboxRestoreArtifact]):None +msgraph_beta.generated.models.ExchangeRestoreSession::|public|mailbox_restore_artifacts_bulk_addition_requests():List[MailboxRestoreArtifactsBulkAdditionRequest] +msgraph_beta.generated.models.ExchangeRestoreSession::|public|mailbox_restore_artifacts_bulk_addition_requests(value:List[MailboxRestoreArtifactsBulkAdditionRequest]):None msgraph_beta.generated.models.ExchangeRestoreSession::|public|odata_type:str msgraph_beta.generated.models.ExchangeRestoreSession::|public|serialize(writer:SerializationWriter):None msgraph_beta.generated.models.ExchangeRestoreSession::|static|public|create_from_discriminator_value(parse_node:ParseNode):ExchangeRestoreSession @@ -183784,6 +184224,8 @@ msgraph_beta.generated.models.Group::|public|calendar_view():List[Event] msgraph_beta.generated.models.Group::|public|calendar_view(value:List[Event]):None msgraph_beta.generated.models.Group::|public|classification():str msgraph_beta.generated.models.Group::|public|classification(value:str):None +msgraph_beta.generated.models.Group::|public|cloud_licensing():GroupCloudLicensing +msgraph_beta.generated.models.Group::|public|cloud_licensing(value:GroupCloudLicensing):None msgraph_beta.generated.models.Group::|public|constructor():None msgraph_beta.generated.models.Group::|public|conversations():List[Conversation] msgraph_beta.generated.models.Group::|public|conversations(value:List[Conversation]):None @@ -185399,6 +185841,8 @@ msgraph_beta.generated.models.IdentifierUriRestriction::|public|additional_data( msgraph_beta.generated.models.IdentifierUriRestriction::|public|additional_data(value:Dict[str, Any]):None msgraph_beta.generated.models.IdentifierUriRestriction::|public|backing_store:BackingStore msgraph_beta.generated.models.IdentifierUriRestriction::|public|constructor():None +msgraph_beta.generated.models.IdentifierUriRestriction::|public|exclude_actors():AppManagementPolicyActorExemptions +msgraph_beta.generated.models.IdentifierUriRestriction::|public|exclude_actors(value:AppManagementPolicyActorExemptions):None msgraph_beta.generated.models.IdentifierUriRestriction::|public|exclude_apps_receiving_v2_tokens():bool msgraph_beta.generated.models.IdentifierUriRestriction::|public|exclude_apps_receiving_v2_tokens(value:bool):None msgraph_beta.generated.models.IdentifierUriRestriction::|public|exclude_saml():bool @@ -193323,6 +193767,23 @@ msgraph_beta.generated.models.MailboxRestoreArtifactCollectionResponse::|public| msgraph_beta.generated.models.MailboxRestoreArtifactCollectionResponse::|public|value():List[MailboxRestoreArtifact] msgraph_beta.generated.models.MailboxRestoreArtifactCollectionResponse::|public|value(value:List[MailboxRestoreArtifact]):None msgraph_beta.generated.models.MailboxRestoreArtifactCollectionResponse::|static|public|create_from_discriminator_value(parse_node:ParseNode):MailboxRestoreArtifactCollectionResponse +msgraph_beta.generated.models.MailboxRestoreArtifactsBulkAdditionRequest-->RestoreArtifactsBulkRequestBase +msgraph_beta.generated.models.MailboxRestoreArtifactsBulkAdditionRequest::|public|constructor():None +msgraph_beta.generated.models.MailboxRestoreArtifactsBulkAdditionRequest::|public|directory_object_ids():List[str] +msgraph_beta.generated.models.MailboxRestoreArtifactsBulkAdditionRequest::|public|directory_object_ids(value:List[str]):None +msgraph_beta.generated.models.MailboxRestoreArtifactsBulkAdditionRequest::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.models.MailboxRestoreArtifactsBulkAdditionRequest::|public|mailboxes():List[str] +msgraph_beta.generated.models.MailboxRestoreArtifactsBulkAdditionRequest::|public|mailboxes(value:List[str]):None +msgraph_beta.generated.models.MailboxRestoreArtifactsBulkAdditionRequest::|public|odata_type:str +msgraph_beta.generated.models.MailboxRestoreArtifactsBulkAdditionRequest::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.models.MailboxRestoreArtifactsBulkAdditionRequest::|static|public|create_from_discriminator_value(parse_node:ParseNode):MailboxRestoreArtifactsBulkAdditionRequest +msgraph_beta.generated.models.MailboxRestoreArtifactsBulkAdditionRequestCollectionResponse-->BaseCollectionPaginationCountResponse +msgraph_beta.generated.models.MailboxRestoreArtifactsBulkAdditionRequestCollectionResponse::|public|constructor():None +msgraph_beta.generated.models.MailboxRestoreArtifactsBulkAdditionRequestCollectionResponse::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.models.MailboxRestoreArtifactsBulkAdditionRequestCollectionResponse::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.models.MailboxRestoreArtifactsBulkAdditionRequestCollectionResponse::|public|value():List[MailboxRestoreArtifactsBulkAdditionRequest] +msgraph_beta.generated.models.MailboxRestoreArtifactsBulkAdditionRequestCollectionResponse::|public|value(value:List[MailboxRestoreArtifactsBulkAdditionRequest]):None +msgraph_beta.generated.models.MailboxRestoreArtifactsBulkAdditionRequestCollectionResponse::|static|public|create_from_discriminator_value(parse_node:ParseNode):MailboxRestoreArtifactsBulkAdditionRequestCollectionResponse msgraph_beta.generated.models.MailboxSettings::|public|additional_data():Dict[str, Any] msgraph_beta.generated.models.MailboxSettings::|public|additional_data(value:Dict[str, Any]):None msgraph_beta.generated.models.MailboxSettings::|public|archive_folder():str @@ -193985,6 +194446,7 @@ msgraph_beta.generated.models.ManagedAppRegistrationCollectionResponse::|static| msgraph_beta.generated.models.ManagedAppRemediationAction::0000-Block msgraph_beta.generated.models.ManagedAppRemediationAction::0001-Wipe msgraph_beta.generated.models.ManagedAppRemediationAction::0002-Warn +msgraph_beta.generated.models.ManagedAppRemediationAction::0003-BlockWhenSettingIsSupported msgraph_beta.generated.models.ManagedAppStatus-->Entity msgraph_beta.generated.models.ManagedAppStatus::|public|constructor():None msgraph_beta.generated.models.ManagedAppStatus::|public|display_name():str @@ -194600,6 +195062,7 @@ msgraph_beta.generated.models.ManagedDeviceOverview::|static|public|create_from_ msgraph_beta.generated.models.ManagedDeviceOwnerType::0000-Unknown msgraph_beta.generated.models.ManagedDeviceOwnerType::0001-Company msgraph_beta.generated.models.ManagedDeviceOwnerType::0002-Personal +msgraph_beta.generated.models.ManagedDeviceOwnerType::0003-UnknownFutureValue msgraph_beta.generated.models.ManagedDevicePartnerReportedHealthState::0000-Unknown msgraph_beta.generated.models.ManagedDevicePartnerReportedHealthState::0001-Activated msgraph_beta.generated.models.ManagedDevicePartnerReportedHealthState::0002-Deactivated @@ -198883,6 +199346,14 @@ msgraph_beta.generated.models.MobileAppRelationship::|public|constructor():None msgraph_beta.generated.models.MobileAppRelationship::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] msgraph_beta.generated.models.MobileAppRelationship::|public|odata_type:str msgraph_beta.generated.models.MobileAppRelationship::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.models.MobileAppRelationship::|public|source_display_name():str +msgraph_beta.generated.models.MobileAppRelationship::|public|source_display_name(value:str):None +msgraph_beta.generated.models.MobileAppRelationship::|public|source_display_version():str +msgraph_beta.generated.models.MobileAppRelationship::|public|source_display_version(value:str):None +msgraph_beta.generated.models.MobileAppRelationship::|public|source_id():str +msgraph_beta.generated.models.MobileAppRelationship::|public|source_id(value:str):None +msgraph_beta.generated.models.MobileAppRelationship::|public|source_publisher_display_name():str +msgraph_beta.generated.models.MobileAppRelationship::|public|source_publisher_display_name(value:str):None msgraph_beta.generated.models.MobileAppRelationship::|public|target_display_name():str msgraph_beta.generated.models.MobileAppRelationship::|public|target_display_name(value:str):None msgraph_beta.generated.models.MobileAppRelationship::|public|target_display_version():str @@ -198891,6 +199362,8 @@ msgraph_beta.generated.models.MobileAppRelationship::|public|target_id():str msgraph_beta.generated.models.MobileAppRelationship::|public|target_id(value:str):None msgraph_beta.generated.models.MobileAppRelationship::|public|target_publisher():str msgraph_beta.generated.models.MobileAppRelationship::|public|target_publisher(value:str):None +msgraph_beta.generated.models.MobileAppRelationship::|public|target_publisher_display_name():str +msgraph_beta.generated.models.MobileAppRelationship::|public|target_publisher_display_name(value:str):None msgraph_beta.generated.models.MobileAppRelationship::|public|target_type():MobileAppRelationshipType msgraph_beta.generated.models.MobileAppRelationship::|public|target_type(value:MobileAppRelationshipType):None msgraph_beta.generated.models.MobileAppRelationship::|static|public|create_from_discriminator_value(parse_node:ParseNode):MobileAppRelationship @@ -200401,6 +200874,8 @@ msgraph_beta.generated.models.networkaccess.NetworkAccessTraffic::|public|networ msgraph_beta.generated.models.networkaccess.NetworkAccessTraffic::|public|network_protocol(value:NetworkingProtocol):None msgraph_beta.generated.models.networkaccess.NetworkAccessTraffic::|public|odata_type():str msgraph_beta.generated.models.networkaccess.NetworkAccessTraffic::|public|odata_type(value:str):None +msgraph_beta.generated.models.networkaccess.NetworkAccessTraffic::|public|operation_status():NetworkTrafficOperationStatus +msgraph_beta.generated.models.networkaccess.NetworkAccessTraffic::|public|operation_status(value:NetworkTrafficOperationStatus):None msgraph_beta.generated.models.networkaccess.NetworkAccessTraffic::|public|policy_id():str msgraph_beta.generated.models.networkaccess.NetworkAccessTraffic::|public|policy_id(value:str):None msgraph_beta.generated.models.networkaccess.NetworkAccessTraffic::|public|policy_name():str @@ -200409,6 +200884,8 @@ msgraph_beta.generated.models.networkaccess.NetworkAccessTraffic::|public|policy msgraph_beta.generated.models.networkaccess.NetworkAccessTraffic::|public|policy_rule_id(value:str):None msgraph_beta.generated.models.networkaccess.NetworkAccessTraffic::|public|policy_rule_name():str msgraph_beta.generated.models.networkaccess.NetworkAccessTraffic::|public|policy_rule_name(value:str):None +msgraph_beta.generated.models.networkaccess.NetworkAccessTraffic::|public|pop_processing_region():str +msgraph_beta.generated.models.networkaccess.NetworkAccessTraffic::|public|pop_processing_region(value:str):None msgraph_beta.generated.models.networkaccess.NetworkAccessTraffic::|public|private_access_details():PrivateAccessDetails msgraph_beta.generated.models.networkaccess.NetworkAccessTraffic::|public|private_access_details(value:PrivateAccessDetails):None msgraph_beta.generated.models.networkaccess.NetworkAccessTraffic::|public|received_bytes():int @@ -200485,6 +200962,9 @@ msgraph_beta.generated.models.networkaccess.NetworkingProtocol::0019-Raw msgraph_beta.generated.models.networkaccess.NetworkingProtocol::0020-Spx msgraph_beta.generated.models.networkaccess.NetworkingProtocol::0021-SpxII msgraph_beta.generated.models.networkaccess.NetworkingProtocol::0022-UnknownFutureValue +msgraph_beta.generated.models.networkaccess.NetworkTrafficOperationStatus::0000-Success +msgraph_beta.generated.models.networkaccess.NetworkTrafficOperationStatus::0001-Failure +msgraph_beta.generated.models.networkaccess.NetworkTrafficOperationStatus::0002-UnknownFutureValue msgraph_beta.generated.models.networkaccess.OnboardingStatus::0000-Offboarded msgraph_beta.generated.models.networkaccess.OnboardingStatus::0001-OffboardingInProgress msgraph_beta.generated.models.networkaccess.OnboardingStatus::0002-OnboardingInProgress @@ -202269,6 +202749,8 @@ msgraph_beta.generated.models.OneDriveForBusinessRestoreSession-->RestoreSession msgraph_beta.generated.models.OneDriveForBusinessRestoreSession::|public|constructor():None msgraph_beta.generated.models.OneDriveForBusinessRestoreSession::|public|drive_restore_artifacts():List[DriveRestoreArtifact] msgraph_beta.generated.models.OneDriveForBusinessRestoreSession::|public|drive_restore_artifacts(value:List[DriveRestoreArtifact]):None +msgraph_beta.generated.models.OneDriveForBusinessRestoreSession::|public|drive_restore_artifacts_bulk_addition_requests():List[DriveRestoreArtifactsBulkAdditionRequest] +msgraph_beta.generated.models.OneDriveForBusinessRestoreSession::|public|drive_restore_artifacts_bulk_addition_requests(value:List[DriveRestoreArtifactsBulkAdditionRequest]):None msgraph_beta.generated.models.OneDriveForBusinessRestoreSession::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] msgraph_beta.generated.models.OneDriveForBusinessRestoreSession::|public|odata_type:str msgraph_beta.generated.models.OneDriveForBusinessRestoreSession::|public|serialize(writer:SerializationWriter):None @@ -202570,6 +203052,8 @@ msgraph_beta.generated.models.OnlineMeeting::|public|transcripts():List[CallTran msgraph_beta.generated.models.OnlineMeeting::|public|transcripts(value:List[CallTranscript]):None msgraph_beta.generated.models.OnlineMeeting::|static|public|create_from_discriminator_value(parse_node:ParseNode):OnlineMeeting msgraph_beta.generated.models.OnlineMeetingBase-->Entity +msgraph_beta.generated.models.OnlineMeetingBase::|public|allowed_lobby_admitters():AllowedLobbyAdmitterRoles +msgraph_beta.generated.models.OnlineMeetingBase::|public|allowed_lobby_admitters(value:AllowedLobbyAdmitterRoles):None msgraph_beta.generated.models.OnlineMeetingBase::|public|allowed_presenters():OnlineMeetingPresenters msgraph_beta.generated.models.OnlineMeetingBase::|public|allowed_presenters(value:OnlineMeetingPresenters):None msgraph_beta.generated.models.OnlineMeetingBase::|public|allow_attendee_to_enable_camera():bool @@ -211521,6 +212005,61 @@ msgraph_beta.generated.models.ReactionsFacet::|public|share_count():int msgraph_beta.generated.models.ReactionsFacet::|public|share_count(value:int):None msgraph_beta.generated.models.ReactionsFacet::|static|public|create_from_discriminator_value(parse_node:ParseNode):ReactionsFacet msgraph_beta.generated.models.ReactionsFacet~~>AdditionalDataHolder; BackedModel; Parsable +msgraph_beta.generated.models.ReadingAssignmentSubmission-->Entity +msgraph_beta.generated.models.ReadingAssignmentSubmission::|public|accuracy_score():float +msgraph_beta.generated.models.ReadingAssignmentSubmission::|public|accuracy_score(value:float):None +msgraph_beta.generated.models.ReadingAssignmentSubmission::|public|action():str +msgraph_beta.generated.models.ReadingAssignmentSubmission::|public|action(value:str):None +msgraph_beta.generated.models.ReadingAssignmentSubmission::|public|assignment_id():str +msgraph_beta.generated.models.ReadingAssignmentSubmission::|public|assignment_id(value:str):None +msgraph_beta.generated.models.ReadingAssignmentSubmission::|public|challenging_words():List[ChallengingWord] +msgraph_beta.generated.models.ReadingAssignmentSubmission::|public|challenging_words(value:List[ChallengingWord]):None +msgraph_beta.generated.models.ReadingAssignmentSubmission::|public|class_id():str +msgraph_beta.generated.models.ReadingAssignmentSubmission::|public|class_id(value:str):None +msgraph_beta.generated.models.ReadingAssignmentSubmission::|public|constructor():None +msgraph_beta.generated.models.ReadingAssignmentSubmission::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.models.ReadingAssignmentSubmission::|public|insertions():int +msgraph_beta.generated.models.ReadingAssignmentSubmission::|public|insertions(value:int):None +msgraph_beta.generated.models.ReadingAssignmentSubmission::|public|mispronunciations():int +msgraph_beta.generated.models.ReadingAssignmentSubmission::|public|mispronunciations(value:int):None +msgraph_beta.generated.models.ReadingAssignmentSubmission::|public|missed_exclamation_marks():int +msgraph_beta.generated.models.ReadingAssignmentSubmission::|public|missed_exclamation_marks(value:int):None +msgraph_beta.generated.models.ReadingAssignmentSubmission::|public|missed_periods():int +msgraph_beta.generated.models.ReadingAssignmentSubmission::|public|missed_periods(value:int):None +msgraph_beta.generated.models.ReadingAssignmentSubmission::|public|missed_question_marks():int +msgraph_beta.generated.models.ReadingAssignmentSubmission::|public|missed_question_marks(value:int):None +msgraph_beta.generated.models.ReadingAssignmentSubmission::|public|missed_shorts():int +msgraph_beta.generated.models.ReadingAssignmentSubmission::|public|missed_shorts(value:int):None +msgraph_beta.generated.models.ReadingAssignmentSubmission::|public|monotone_score():float +msgraph_beta.generated.models.ReadingAssignmentSubmission::|public|monotone_score(value:float):None +msgraph_beta.generated.models.ReadingAssignmentSubmission::|public|odata_type:str +msgraph_beta.generated.models.ReadingAssignmentSubmission::|public|omissions():int +msgraph_beta.generated.models.ReadingAssignmentSubmission::|public|omissions(value:int):None +msgraph_beta.generated.models.ReadingAssignmentSubmission::|public|repetitions():int +msgraph_beta.generated.models.ReadingAssignmentSubmission::|public|repetitions(value:int):None +msgraph_beta.generated.models.ReadingAssignmentSubmission::|public|self_corrections():int +msgraph_beta.generated.models.ReadingAssignmentSubmission::|public|self_corrections(value:int):None +msgraph_beta.generated.models.ReadingAssignmentSubmission::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.models.ReadingAssignmentSubmission::|public|student_id():str +msgraph_beta.generated.models.ReadingAssignmentSubmission::|public|student_id(value:str):None +msgraph_beta.generated.models.ReadingAssignmentSubmission::|public|submission_date_time():datetime.datetime +msgraph_beta.generated.models.ReadingAssignmentSubmission::|public|submission_date_time(value:datetime.datetime):None +msgraph_beta.generated.models.ReadingAssignmentSubmission::|public|submission_id():str +msgraph_beta.generated.models.ReadingAssignmentSubmission::|public|submission_id(value:str):None +msgraph_beta.generated.models.ReadingAssignmentSubmission::|public|unexpected_pauses():int +msgraph_beta.generated.models.ReadingAssignmentSubmission::|public|unexpected_pauses(value:int):None +msgraph_beta.generated.models.ReadingAssignmentSubmission::|public|words_per_minute():float +msgraph_beta.generated.models.ReadingAssignmentSubmission::|public|words_per_minute(value:float):None +msgraph_beta.generated.models.ReadingAssignmentSubmission::|public|word_count():int +msgraph_beta.generated.models.ReadingAssignmentSubmission::|public|word_count(value:int):None +msgraph_beta.generated.models.ReadingAssignmentSubmission::|static|public|create_from_discriminator_value(parse_node:ParseNode):ReadingAssignmentSubmission +msgraph_beta.generated.models.ReadingAssignmentSubmissionCollectionResponse-->BaseCollectionPaginationCountResponse +msgraph_beta.generated.models.ReadingAssignmentSubmissionCollectionResponse::|public|constructor():None +msgraph_beta.generated.models.ReadingAssignmentSubmissionCollectionResponse::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.models.ReadingAssignmentSubmissionCollectionResponse::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.models.ReadingAssignmentSubmissionCollectionResponse::|public|value():List[ReadingAssignmentSubmission] +msgraph_beta.generated.models.ReadingAssignmentSubmissionCollectionResponse::|public|value(value:List[ReadingAssignmentSubmission]):None +msgraph_beta.generated.models.ReadingAssignmentSubmissionCollectionResponse::|static|public|create_from_discriminator_value(parse_node:ParseNode):ReadingAssignmentSubmissionCollectionResponse msgraph_beta.generated.models.RecentNotebook::|public|additional_data():Dict[str, Any] msgraph_beta.generated.models.RecentNotebook::|public|additional_data(value:Dict[str, Any]):None msgraph_beta.generated.models.RecentNotebook::|public|backing_store:BackingStore @@ -211980,6 +212519,39 @@ msgraph_beta.generated.models.ReferenceUpdate::|public|odata_type(value:str):Non msgraph_beta.generated.models.ReferenceUpdate::|public|serialize(writer:SerializationWriter):None msgraph_beta.generated.models.ReferenceUpdate::|static|public|create_from_discriminator_value(parse_node:ParseNode):ReferenceUpdate msgraph_beta.generated.models.ReferenceUpdate~~>AdditionalDataHolder; BackedModel; Parsable +msgraph_beta.generated.models.ReflectCheckInResponse-->Entity +msgraph_beta.generated.models.ReflectCheckInResponse::|public|check_in_id():str +msgraph_beta.generated.models.ReflectCheckInResponse::|public|check_in_id(value:str):None +msgraph_beta.generated.models.ReflectCheckInResponse::|public|check_in_title():str +msgraph_beta.generated.models.ReflectCheckInResponse::|public|check_in_title(value:str):None +msgraph_beta.generated.models.ReflectCheckInResponse::|public|class_id():str +msgraph_beta.generated.models.ReflectCheckInResponse::|public|class_id(value:str):None +msgraph_beta.generated.models.ReflectCheckInResponse::|public|constructor():None +msgraph_beta.generated.models.ReflectCheckInResponse::|public|created_date_time():datetime.datetime +msgraph_beta.generated.models.ReflectCheckInResponse::|public|created_date_time(value:datetime.datetime):None +msgraph_beta.generated.models.ReflectCheckInResponse::|public|creator_id():str +msgraph_beta.generated.models.ReflectCheckInResponse::|public|creator_id(value:str):None +msgraph_beta.generated.models.ReflectCheckInResponse::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.models.ReflectCheckInResponse::|public|is_closed():bool +msgraph_beta.generated.models.ReflectCheckInResponse::|public|is_closed(value:bool):None +msgraph_beta.generated.models.ReflectCheckInResponse::|public|odata_type:str +msgraph_beta.generated.models.ReflectCheckInResponse::|public|responder_id():str +msgraph_beta.generated.models.ReflectCheckInResponse::|public|responder_id(value:str):None +msgraph_beta.generated.models.ReflectCheckInResponse::|public|response_emotion():ResponseEmotionType +msgraph_beta.generated.models.ReflectCheckInResponse::|public|response_emotion(value:ResponseEmotionType):None +msgraph_beta.generated.models.ReflectCheckInResponse::|public|response_feedback():ResponseFeedbackType +msgraph_beta.generated.models.ReflectCheckInResponse::|public|response_feedback(value:ResponseFeedbackType):None +msgraph_beta.generated.models.ReflectCheckInResponse::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.models.ReflectCheckInResponse::|public|submit_date_time():datetime.datetime +msgraph_beta.generated.models.ReflectCheckInResponse::|public|submit_date_time(value:datetime.datetime):None +msgraph_beta.generated.models.ReflectCheckInResponse::|static|public|create_from_discriminator_value(parse_node:ParseNode):ReflectCheckInResponse +msgraph_beta.generated.models.ReflectCheckInResponseCollectionResponse-->BaseCollectionPaginationCountResponse +msgraph_beta.generated.models.ReflectCheckInResponseCollectionResponse::|public|constructor():None +msgraph_beta.generated.models.ReflectCheckInResponseCollectionResponse::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.models.ReflectCheckInResponseCollectionResponse::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.models.ReflectCheckInResponseCollectionResponse::|public|value():List[ReflectCheckInResponse] +msgraph_beta.generated.models.ReflectCheckInResponseCollectionResponse::|public|value(value:List[ReflectCheckInResponse]):None +msgraph_beta.generated.models.ReflectCheckInResponseCollectionResponse::|static|public|create_from_discriminator_value(parse_node:ParseNode):ReflectCheckInResponseCollectionResponse msgraph_beta.generated.models.RegexReplaceTransformation-->CustomClaimTransformation msgraph_beta.generated.models.RegexReplaceTransformation::|public|additional_attributes():List[SourcedAttribute] msgraph_beta.generated.models.RegexReplaceTransformation::|public|additional_attributes(value:List[SourcedAttribute]):None @@ -212530,6 +213102,16 @@ msgraph_beta.generated.models.ReportRoot::|public|user_credential_usage_details( msgraph_beta.generated.models.ReportRoot::|public|user_insights():UserInsightsRoot msgraph_beta.generated.models.ReportRoot::|public|user_insights(value:UserInsightsRoot):None msgraph_beta.generated.models.ReportRoot::|static|public|create_from_discriminator_value(parse_node:ParseNode):ReportRoot +msgraph_beta.generated.models.ReportsRoot-->Entity +msgraph_beta.generated.models.ReportsRoot::|public|constructor():None +msgraph_beta.generated.models.ReportsRoot::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.models.ReportsRoot::|public|odata_type:str +msgraph_beta.generated.models.ReportsRoot::|public|reading_assignment_submissions():List[ReadingAssignmentSubmission] +msgraph_beta.generated.models.ReportsRoot::|public|reading_assignment_submissions(value:List[ReadingAssignmentSubmission]):None +msgraph_beta.generated.models.ReportsRoot::|public|reflect_check_in_responses():List[ReflectCheckInResponse] +msgraph_beta.generated.models.ReportsRoot::|public|reflect_check_in_responses(value:List[ReflectCheckInResponse]):None +msgraph_beta.generated.models.ReportsRoot::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.models.ReportsRoot::|static|public|create_from_discriminator_value(parse_node:ParseNode):ReportsRoot msgraph_beta.generated.models.ReportSuspiciousActivitySettings::|public|additional_data():Dict[str, Any] msgraph_beta.generated.models.ReportSuspiciousActivitySettings::|public|additional_data(value:Dict[str, Any]):None msgraph_beta.generated.models.ReportSuspiciousActivitySettings::|public|backing_store:BackingStore @@ -212845,6 +213427,72 @@ msgraph_beta.generated.models.ResourceVisualization::|public|type():str msgraph_beta.generated.models.ResourceVisualization::|public|type(value:str):None msgraph_beta.generated.models.ResourceVisualization::|static|public|create_from_discriminator_value(parse_node:ParseNode):ResourceVisualization msgraph_beta.generated.models.ResourceVisualization~~>AdditionalDataHolder; BackedModel; Parsable +msgraph_beta.generated.models.ResponseEmotionType::0000-None_ +msgraph_beta.generated.models.ResponseEmotionType::0001-Confident +msgraph_beta.generated.models.ResponseEmotionType::0002-Excited +msgraph_beta.generated.models.ResponseEmotionType::0003-Happy +msgraph_beta.generated.models.ResponseEmotionType::0004-Motivated +msgraph_beta.generated.models.ResponseEmotionType::0005-Peaceful +msgraph_beta.generated.models.ResponseEmotionType::0006-Ambitious +msgraph_beta.generated.models.ResponseEmotionType::0007-Cheerful +msgraph_beta.generated.models.ResponseEmotionType::0008-Comfortable +msgraph_beta.generated.models.ResponseEmotionType::0009-Creative +msgraph_beta.generated.models.ResponseEmotionType::0010-Determined +msgraph_beta.generated.models.ResponseEmotionType::0011-Energized +msgraph_beta.generated.models.ResponseEmotionType::0012-Focused +msgraph_beta.generated.models.ResponseEmotionType::0013-Fulfilled +msgraph_beta.generated.models.ResponseEmotionType::0014-Grateful +msgraph_beta.generated.models.ResponseEmotionType::0015-Included +msgraph_beta.generated.models.ResponseEmotionType::0016-Inspired +msgraph_beta.generated.models.ResponseEmotionType::0017-Optimistic +msgraph_beta.generated.models.ResponseEmotionType::0018-Proud +msgraph_beta.generated.models.ResponseEmotionType::0019-Successful +msgraph_beta.generated.models.ResponseEmotionType::0020-Valuable +msgraph_beta.generated.models.ResponseEmotionType::0021-Annoyed +msgraph_beta.generated.models.ResponseEmotionType::0022-Bored +msgraph_beta.generated.models.ResponseEmotionType::0023-Calm +msgraph_beta.generated.models.ResponseEmotionType::0024-Confused +msgraph_beta.generated.models.ResponseEmotionType::0025-Glad +msgraph_beta.generated.models.ResponseEmotionType::0026-Content +msgraph_beta.generated.models.ResponseEmotionType::0027-Pensive +msgraph_beta.generated.models.ResponseEmotionType::0028-Reserved +msgraph_beta.generated.models.ResponseEmotionType::0029-Restless +msgraph_beta.generated.models.ResponseEmotionType::0030-Shocked +msgraph_beta.generated.models.ResponseEmotionType::0031-Tired +msgraph_beta.generated.models.ResponseEmotionType::0032-Angry +msgraph_beta.generated.models.ResponseEmotionType::0033-Depressed +msgraph_beta.generated.models.ResponseEmotionType::0034-Exhausted +msgraph_beta.generated.models.ResponseEmotionType::0035-Lonely +msgraph_beta.generated.models.ResponseEmotionType::0036-Nervous +msgraph_beta.generated.models.ResponseEmotionType::0037-Anxious +msgraph_beta.generated.models.ResponseEmotionType::0038-Apathetic +msgraph_beta.generated.models.ResponseEmotionType::0039-Concerned +msgraph_beta.generated.models.ResponseEmotionType::0040-Disappointed +msgraph_beta.generated.models.ResponseEmotionType::0041-Frightened +msgraph_beta.generated.models.ResponseEmotionType::0042-Frustrated +msgraph_beta.generated.models.ResponseEmotionType::0043-Hopeless +msgraph_beta.generated.models.ResponseEmotionType::0044-Hurt +msgraph_beta.generated.models.ResponseEmotionType::0045-Jealous +msgraph_beta.generated.models.ResponseEmotionType::0046-Miserable +msgraph_beta.generated.models.ResponseEmotionType::0047-Overwhelmed +msgraph_beta.generated.models.ResponseEmotionType::0048-Skeptical +msgraph_beta.generated.models.ResponseEmotionType::0049-Stressed +msgraph_beta.generated.models.ResponseEmotionType::0050-Stuck +msgraph_beta.generated.models.ResponseEmotionType::0051-Worthless +msgraph_beta.generated.models.ResponseEmotionType::0052-Awed +msgraph_beta.generated.models.ResponseEmotionType::0053-Ashamed +msgraph_beta.generated.models.ResponseEmotionType::0054-Curious +msgraph_beta.generated.models.ResponseEmotionType::0055-Sensitive +msgraph_beta.generated.models.ResponseEmotionType::0056-Sad +msgraph_beta.generated.models.ResponseEmotionType::0057-UnknownFutureValue +msgraph_beta.generated.models.ResponseFeedbackType::0000-None_ +msgraph_beta.generated.models.ResponseFeedbackType::0001-NotDetected +msgraph_beta.generated.models.ResponseFeedbackType::0002-VeryUnpleasant +msgraph_beta.generated.models.ResponseFeedbackType::0003-Unpleasant +msgraph_beta.generated.models.ResponseFeedbackType::0004-Neutral +msgraph_beta.generated.models.ResponseFeedbackType::0005-Pleasant +msgraph_beta.generated.models.ResponseFeedbackType::0006-VeryPleasant +msgraph_beta.generated.models.ResponseFeedbackType::0007-UnknownFutureValue msgraph_beta.generated.models.ResponseStatus::|public|additional_data():Dict[str, Any] msgraph_beta.generated.models.ResponseStatus::|public|additional_data(value:Dict[str, Any]):None msgraph_beta.generated.models.ResponseStatus::|public|backing_store:BackingStore @@ -212931,6 +213579,41 @@ msgraph_beta.generated.models.RestoreArtifactBase::|public|start_date_time(value msgraph_beta.generated.models.RestoreArtifactBase::|public|status():ArtifactRestoreStatus msgraph_beta.generated.models.RestoreArtifactBase::|public|status(value:ArtifactRestoreStatus):None msgraph_beta.generated.models.RestoreArtifactBase::|static|public|create_from_discriminator_value(parse_node:ParseNode):RestoreArtifactBase +msgraph_beta.generated.models.RestoreArtifactsBulkRequestBase-->Entity +msgraph_beta.generated.models.RestoreArtifactsBulkRequestBase::|public|constructor():None +msgraph_beta.generated.models.RestoreArtifactsBulkRequestBase::|public|created_by():IdentitySet +msgraph_beta.generated.models.RestoreArtifactsBulkRequestBase::|public|created_by(value:IdentitySet):None +msgraph_beta.generated.models.RestoreArtifactsBulkRequestBase::|public|created_date_time():datetime.datetime +msgraph_beta.generated.models.RestoreArtifactsBulkRequestBase::|public|created_date_time(value:datetime.datetime):None +msgraph_beta.generated.models.RestoreArtifactsBulkRequestBase::|public|destination_type():DestinationType +msgraph_beta.generated.models.RestoreArtifactsBulkRequestBase::|public|destination_type(value:DestinationType):None +msgraph_beta.generated.models.RestoreArtifactsBulkRequestBase::|public|display_name():str +msgraph_beta.generated.models.RestoreArtifactsBulkRequestBase::|public|display_name(value:str):None +msgraph_beta.generated.models.RestoreArtifactsBulkRequestBase::|public|error():PublicError +msgraph_beta.generated.models.RestoreArtifactsBulkRequestBase::|public|error(value:PublicError):None +msgraph_beta.generated.models.RestoreArtifactsBulkRequestBase::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.models.RestoreArtifactsBulkRequestBase::|public|last_modified_by():IdentitySet +msgraph_beta.generated.models.RestoreArtifactsBulkRequestBase::|public|last_modified_by(value:IdentitySet):None +msgraph_beta.generated.models.RestoreArtifactsBulkRequestBase::|public|last_modified_date_time():datetime.datetime +msgraph_beta.generated.models.RestoreArtifactsBulkRequestBase::|public|last_modified_date_time(value:datetime.datetime):None +msgraph_beta.generated.models.RestoreArtifactsBulkRequestBase::|public|odata_type:str +msgraph_beta.generated.models.RestoreArtifactsBulkRequestBase::|public|protection_time_period():TimePeriod +msgraph_beta.generated.models.RestoreArtifactsBulkRequestBase::|public|protection_time_period(value:TimePeriod):None +msgraph_beta.generated.models.RestoreArtifactsBulkRequestBase::|public|protection_unit_ids():List[str] +msgraph_beta.generated.models.RestoreArtifactsBulkRequestBase::|public|protection_unit_ids(value:List[str]):None +msgraph_beta.generated.models.RestoreArtifactsBulkRequestBase::|public|restore_point_preference():RestorePointPreference +msgraph_beta.generated.models.RestoreArtifactsBulkRequestBase::|public|restore_point_preference(value:RestorePointPreference):None +msgraph_beta.generated.models.RestoreArtifactsBulkRequestBase::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.models.RestoreArtifactsBulkRequestBase::|public|status():RestoreArtifactsBulkRequestStatus +msgraph_beta.generated.models.RestoreArtifactsBulkRequestBase::|public|status(value:RestoreArtifactsBulkRequestStatus):None +msgraph_beta.generated.models.RestoreArtifactsBulkRequestBase::|public|tags():RestorePointTags +msgraph_beta.generated.models.RestoreArtifactsBulkRequestBase::|public|tags(value:RestorePointTags):None +msgraph_beta.generated.models.RestoreArtifactsBulkRequestBase::|static|public|create_from_discriminator_value(parse_node:ParseNode):RestoreArtifactsBulkRequestBase +msgraph_beta.generated.models.RestoreArtifactsBulkRequestStatus::0000-Unknown +msgraph_beta.generated.models.RestoreArtifactsBulkRequestStatus::0001-Active +msgraph_beta.generated.models.RestoreArtifactsBulkRequestStatus::0002-Completed +msgraph_beta.generated.models.RestoreArtifactsBulkRequestStatus::0003-CompletedWithErrors +msgraph_beta.generated.models.RestoreArtifactsBulkRequestStatus::0004-UnknownFutureValue msgraph_beta.generated.models.RestorePoint-->Entity msgraph_beta.generated.models.RestorePoint::|public|constructor():None msgraph_beta.generated.models.RestorePoint::|public|expiration_date_time():datetime.datetime @@ -220702,8 +221385,8 @@ msgraph_beta.generated.models.security.PurgeAreas::0000-Mailboxes msgraph_beta.generated.models.security.PurgeAreas::0001-TeamsMessages msgraph_beta.generated.models.security.PurgeAreas::0002-UnknownFutureValue msgraph_beta.generated.models.security.PurgeType::0000-Recoverable -msgraph_beta.generated.models.security.PurgeType::0001-PermanentlyDeleted -msgraph_beta.generated.models.security.PurgeType::0002-UnknownFutureValue +msgraph_beta.generated.models.security.PurgeType::0001-UnknownFutureValue +msgraph_beta.generated.models.security.PurgeType::0002-PermanentlyDelete msgraph_beta.generated.models.security.PurviewInsiderRiskAlertsRecord-->AuditData msgraph_beta.generated.models.security.PurviewInsiderRiskAlertsRecord::|public|constructor():None msgraph_beta.generated.models.security.PurviewInsiderRiskAlertsRecord::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] @@ -224281,6 +224964,8 @@ msgraph_beta.generated.models.SharePointRestoreSession::|public|odata_type:str msgraph_beta.generated.models.SharePointRestoreSession::|public|serialize(writer:SerializationWriter):None msgraph_beta.generated.models.SharePointRestoreSession::|public|site_restore_artifacts():List[SiteRestoreArtifact] msgraph_beta.generated.models.SharePointRestoreSession::|public|site_restore_artifacts(value:List[SiteRestoreArtifact]):None +msgraph_beta.generated.models.SharePointRestoreSession::|public|site_restore_artifacts_bulk_addition_requests():List[SiteRestoreArtifactsBulkAdditionRequest] +msgraph_beta.generated.models.SharePointRestoreSession::|public|site_restore_artifacts_bulk_addition_requests(value:List[SiteRestoreArtifactsBulkAdditionRequest]):None msgraph_beta.generated.models.SharePointRestoreSession::|static|public|create_from_discriminator_value(parse_node:ParseNode):SharePointRestoreSession msgraph_beta.generated.models.SharePointRestoreSessionCollectionResponse-->BaseCollectionPaginationCountResponse msgraph_beta.generated.models.SharePointRestoreSessionCollectionResponse::|public|constructor():None @@ -224806,6 +225491,8 @@ msgraph_beta.generated.models.SignIn::|public|service_principal_id():str msgraph_beta.generated.models.SignIn::|public|service_principal_id(value:str):None msgraph_beta.generated.models.SignIn::|public|service_principal_name():str msgraph_beta.generated.models.SignIn::|public|service_principal_name(value:str):None +msgraph_beta.generated.models.SignIn::|public|session_id():str +msgraph_beta.generated.models.SignIn::|public|session_id(value:str):None msgraph_beta.generated.models.SignIn::|public|session_lifetime_policies():List[SessionLifetimePolicy] msgraph_beta.generated.models.SignIn::|public|session_lifetime_policies(value:List[SessionLifetimePolicy]):None msgraph_beta.generated.models.SignIn::|public|sign_in_event_types():List[str] @@ -225471,6 +226158,23 @@ msgraph_beta.generated.models.SiteRestoreArtifactCollectionResponse::|public|ser msgraph_beta.generated.models.SiteRestoreArtifactCollectionResponse::|public|value():List[SiteRestoreArtifact] msgraph_beta.generated.models.SiteRestoreArtifactCollectionResponse::|public|value(value:List[SiteRestoreArtifact]):None msgraph_beta.generated.models.SiteRestoreArtifactCollectionResponse::|static|public|create_from_discriminator_value(parse_node:ParseNode):SiteRestoreArtifactCollectionResponse +msgraph_beta.generated.models.SiteRestoreArtifactsBulkAdditionRequest-->RestoreArtifactsBulkRequestBase +msgraph_beta.generated.models.SiteRestoreArtifactsBulkAdditionRequest::|public|constructor():None +msgraph_beta.generated.models.SiteRestoreArtifactsBulkAdditionRequest::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.models.SiteRestoreArtifactsBulkAdditionRequest::|public|odata_type:str +msgraph_beta.generated.models.SiteRestoreArtifactsBulkAdditionRequest::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.models.SiteRestoreArtifactsBulkAdditionRequest::|public|site_ids():List[str] +msgraph_beta.generated.models.SiteRestoreArtifactsBulkAdditionRequest::|public|site_ids(value:List[str]):None +msgraph_beta.generated.models.SiteRestoreArtifactsBulkAdditionRequest::|public|site_web_urls():List[str] +msgraph_beta.generated.models.SiteRestoreArtifactsBulkAdditionRequest::|public|site_web_urls(value:List[str]):None +msgraph_beta.generated.models.SiteRestoreArtifactsBulkAdditionRequest::|static|public|create_from_discriminator_value(parse_node:ParseNode):SiteRestoreArtifactsBulkAdditionRequest +msgraph_beta.generated.models.SiteRestoreArtifactsBulkAdditionRequestCollectionResponse-->BaseCollectionPaginationCountResponse +msgraph_beta.generated.models.SiteRestoreArtifactsBulkAdditionRequestCollectionResponse::|public|constructor():None +msgraph_beta.generated.models.SiteRestoreArtifactsBulkAdditionRequestCollectionResponse::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.models.SiteRestoreArtifactsBulkAdditionRequestCollectionResponse::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.models.SiteRestoreArtifactsBulkAdditionRequestCollectionResponse::|public|value():List[SiteRestoreArtifactsBulkAdditionRequest] +msgraph_beta.generated.models.SiteRestoreArtifactsBulkAdditionRequestCollectionResponse::|public|value(value:List[SiteRestoreArtifactsBulkAdditionRequest]):None +msgraph_beta.generated.models.SiteRestoreArtifactsBulkAdditionRequestCollectionResponse::|static|public|create_from_discriminator_value(parse_node:ParseNode):SiteRestoreArtifactsBulkAdditionRequestCollectionResponse msgraph_beta.generated.models.SiteSecurityLevel::0000-UserDefined msgraph_beta.generated.models.SiteSecurityLevel::0001-Low msgraph_beta.generated.models.SiteSecurityLevel::0002-MediumLow @@ -231768,6 +232472,8 @@ msgraph_beta.generated.models.User::|public|city():str msgraph_beta.generated.models.User::|public|city(value:str):None msgraph_beta.generated.models.User::|public|cloud_clipboard():CloudClipboardRoot msgraph_beta.generated.models.User::|public|cloud_clipboard(value:CloudClipboardRoot):None +msgraph_beta.generated.models.User::|public|cloud_licensing():UserCloudLicensing +msgraph_beta.generated.models.User::|public|cloud_licensing(value:UserCloudLicensing):None msgraph_beta.generated.models.User::|public|cloud_p_cs():List[CloudPC] msgraph_beta.generated.models.User::|public|cloud_p_cs(value:List[CloudPC]):None msgraph_beta.generated.models.User::|public|cloud_realtime_communication_info():CloudRealtimeCommunicationInfo @@ -236624,6 +237330,8 @@ msgraph_beta.generated.models.Windows10CompliancePolicy::|public|valid_operating msgraph_beta.generated.models.Windows10CompliancePolicy::|public|valid_operating_system_build_ranges(value:List[OperatingSystemVersionRange]):None msgraph_beta.generated.models.Windows10CompliancePolicy::|public|virtualization_based_security_enabled():bool msgraph_beta.generated.models.Windows10CompliancePolicy::|public|virtualization_based_security_enabled(value:bool):None +msgraph_beta.generated.models.Windows10CompliancePolicy::|public|wsl_distributions():List[WslDistributionConfiguration] +msgraph_beta.generated.models.Windows10CompliancePolicy::|public|wsl_distributions(value:List[WslDistributionConfiguration]):None msgraph_beta.generated.models.Windows10CompliancePolicy::|static|public|create_from_discriminator_value(parse_node:ParseNode):Windows10CompliancePolicy msgraph_beta.generated.models.Windows10CustomConfiguration-->DeviceConfiguration msgraph_beta.generated.models.Windows10CustomConfiguration::|public|constructor():None @@ -243404,6 +244112,22 @@ msgraph_beta.generated.models.WritebackConfiguration::|public|odata_type(value:s msgraph_beta.generated.models.WritebackConfiguration::|public|serialize(writer:SerializationWriter):None msgraph_beta.generated.models.WritebackConfiguration::|static|public|create_from_discriminator_value(parse_node:ParseNode):WritebackConfiguration msgraph_beta.generated.models.WritebackConfiguration~~>AdditionalDataHolder; BackedModel; Parsable +msgraph_beta.generated.models.WslDistributionConfiguration::|public|additional_data():Dict[str, Any] +msgraph_beta.generated.models.WslDistributionConfiguration::|public|additional_data(value:Dict[str, Any]):None +msgraph_beta.generated.models.WslDistributionConfiguration::|public|backing_store:BackingStore +msgraph_beta.generated.models.WslDistributionConfiguration::|public|constructor():None +msgraph_beta.generated.models.WslDistributionConfiguration::|public|distribution():str +msgraph_beta.generated.models.WslDistributionConfiguration::|public|distribution(value:str):None +msgraph_beta.generated.models.WslDistributionConfiguration::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.models.WslDistributionConfiguration::|public|maximum_o_s_version():str +msgraph_beta.generated.models.WslDistributionConfiguration::|public|maximum_o_s_version(value:str):None +msgraph_beta.generated.models.WslDistributionConfiguration::|public|minimum_o_s_version():str +msgraph_beta.generated.models.WslDistributionConfiguration::|public|minimum_o_s_version(value:str):None +msgraph_beta.generated.models.WslDistributionConfiguration::|public|odata_type():str +msgraph_beta.generated.models.WslDistributionConfiguration::|public|odata_type(value:str):None +msgraph_beta.generated.models.WslDistributionConfiguration::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.models.WslDistributionConfiguration::|static|public|create_from_discriminator_value(parse_node:ParseNode):WslDistributionConfiguration +msgraph_beta.generated.models.WslDistributionConfiguration~~>AdditionalDataHolder; BackedModel; Parsable msgraph_beta.generated.models.X509CertificateAffinityLevel::0000-Low msgraph_beta.generated.models.X509CertificateAffinityLevel::0001-High msgraph_beta.generated.models.X509CertificateAffinityLevel::0002-UnknownFutureValue @@ -254132,6 +254856,18 @@ msgraph_beta.generated.privacy.subjectRightsRequests.item.approvers.item.UserIte msgraph_beta.generated.privacy.subjectRightsRequests.item.approvers.item.UserItemRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[UserItemRequestBuilderGetQueryParameters]):RequestInformation msgraph_beta.generated.privacy.subjectRightsRequests.item.approvers.item.UserItemRequestBuilder::|public|url_template:str msgraph_beta.generated.privacy.subjectRightsRequests.item.approvers.item.UserItemRequestBuilder::|public|with_url(raw_url:str):UserItemRequestBuilder +msgraph_beta.generated.privacy.subjectRightsRequests.item.approversWithUserPrincipalName.ApproversWithUserPrincipalNameRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.privacy.subjectRightsRequests.item.approversWithUserPrincipalName.ApproversWithUserPrincipalNameRequestBuilder.ApproversWithUserPrincipalNameRequestBuilderGetQueryParameters::|public|expand:List[str] +msgraph_beta.generated.privacy.subjectRightsRequests.item.approversWithUserPrincipalName.ApproversWithUserPrincipalNameRequestBuilder.ApproversWithUserPrincipalNameRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.privacy.subjectRightsRequests.item.approversWithUserPrincipalName.ApproversWithUserPrincipalNameRequestBuilder.ApproversWithUserPrincipalNameRequestBuilderGetQueryParameters::|public|select:List[str] +msgraph_beta.generated.privacy.subjectRightsRequests.item.approversWithUserPrincipalName.ApproversWithUserPrincipalNameRequestBuilder.ApproversWithUserPrincipalNameRequestBuilderGetRequestConfiguration-->RequestConfiguration[ApproversWithUserPrincipalNameRequestBuilderGetQueryParameters] +msgraph_beta.generated.privacy.subjectRightsRequests.item.approversWithUserPrincipalName.ApproversWithUserPrincipalNameRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter; user_principal_name?:str):None +msgraph_beta.generated.privacy.subjectRightsRequests.item.approversWithUserPrincipalName.ApproversWithUserPrincipalNameRequestBuilder::|public|get(request_configuration?:RequestConfiguration[ApproversWithUserPrincipalNameRequestBuilderGetQueryParameters]):User +msgraph_beta.generated.privacy.subjectRightsRequests.item.approversWithUserPrincipalName.ApproversWithUserPrincipalNameRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph_beta.generated.privacy.subjectRightsRequests.item.approversWithUserPrincipalName.ApproversWithUserPrincipalNameRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.privacy.subjectRightsRequests.item.approversWithUserPrincipalName.ApproversWithUserPrincipalNameRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[ApproversWithUserPrincipalNameRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.privacy.subjectRightsRequests.item.approversWithUserPrincipalName.ApproversWithUserPrincipalNameRequestBuilder::|public|url_template:str +msgraph_beta.generated.privacy.subjectRightsRequests.item.approversWithUserPrincipalName.ApproversWithUserPrincipalNameRequestBuilder::|public|with_url(raw_url:str):ApproversWithUserPrincipalNameRequestBuilder msgraph_beta.generated.privacy.subjectRightsRequests.item.collaborators.CollaboratorsRequestBuilder-->BaseRequestBuilder msgraph_beta.generated.privacy.subjectRightsRequests.item.collaborators.CollaboratorsRequestBuilder.CollaboratorsRequestBuilderGetQueryParameters::|public|count:bool msgraph_beta.generated.privacy.subjectRightsRequests.item.collaborators.CollaboratorsRequestBuilder.CollaboratorsRequestBuilderGetQueryParameters::|public|expand:List[str] @@ -254224,6 +254960,18 @@ msgraph_beta.generated.privacy.subjectRightsRequests.item.collaborators.item.Use msgraph_beta.generated.privacy.subjectRightsRequests.item.collaborators.item.UserItemRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[UserItemRequestBuilderGetQueryParameters]):RequestInformation msgraph_beta.generated.privacy.subjectRightsRequests.item.collaborators.item.UserItemRequestBuilder::|public|url_template:str msgraph_beta.generated.privacy.subjectRightsRequests.item.collaborators.item.UserItemRequestBuilder::|public|with_url(raw_url:str):UserItemRequestBuilder +msgraph_beta.generated.privacy.subjectRightsRequests.item.collaboratorsWithUserPrincipalName.CollaboratorsWithUserPrincipalNameRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.privacy.subjectRightsRequests.item.collaboratorsWithUserPrincipalName.CollaboratorsWithUserPrincipalNameRequestBuilder.CollaboratorsWithUserPrincipalNameRequestBuilderGetQueryParameters::|public|expand:List[str] +msgraph_beta.generated.privacy.subjectRightsRequests.item.collaboratorsWithUserPrincipalName.CollaboratorsWithUserPrincipalNameRequestBuilder.CollaboratorsWithUserPrincipalNameRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.privacy.subjectRightsRequests.item.collaboratorsWithUserPrincipalName.CollaboratorsWithUserPrincipalNameRequestBuilder.CollaboratorsWithUserPrincipalNameRequestBuilderGetQueryParameters::|public|select:List[str] +msgraph_beta.generated.privacy.subjectRightsRequests.item.collaboratorsWithUserPrincipalName.CollaboratorsWithUserPrincipalNameRequestBuilder.CollaboratorsWithUserPrincipalNameRequestBuilderGetRequestConfiguration-->RequestConfiguration[CollaboratorsWithUserPrincipalNameRequestBuilderGetQueryParameters] +msgraph_beta.generated.privacy.subjectRightsRequests.item.collaboratorsWithUserPrincipalName.CollaboratorsWithUserPrincipalNameRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter; user_principal_name?:str):None +msgraph_beta.generated.privacy.subjectRightsRequests.item.collaboratorsWithUserPrincipalName.CollaboratorsWithUserPrincipalNameRequestBuilder::|public|get(request_configuration?:RequestConfiguration[CollaboratorsWithUserPrincipalNameRequestBuilderGetQueryParameters]):User +msgraph_beta.generated.privacy.subjectRightsRequests.item.collaboratorsWithUserPrincipalName.CollaboratorsWithUserPrincipalNameRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph_beta.generated.privacy.subjectRightsRequests.item.collaboratorsWithUserPrincipalName.CollaboratorsWithUserPrincipalNameRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.privacy.subjectRightsRequests.item.collaboratorsWithUserPrincipalName.CollaboratorsWithUserPrincipalNameRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[CollaboratorsWithUserPrincipalNameRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.privacy.subjectRightsRequests.item.collaboratorsWithUserPrincipalName.CollaboratorsWithUserPrincipalNameRequestBuilder::|public|url_template:str +msgraph_beta.generated.privacy.subjectRightsRequests.item.collaboratorsWithUserPrincipalName.CollaboratorsWithUserPrincipalNameRequestBuilder::|public|with_url(raw_url:str):CollaboratorsWithUserPrincipalNameRequestBuilder msgraph_beta.generated.privacy.subjectRightsRequests.item.getFinalAttachment.GetFinalAttachmentRequestBuilder-->BaseRequestBuilder msgraph_beta.generated.privacy.subjectRightsRequests.item.getFinalAttachment.GetFinalAttachmentRequestBuilder.GetFinalAttachmentRequestBuilderGetRequestConfiguration-->RequestConfiguration[QueryParameters] msgraph_beta.generated.privacy.subjectRightsRequests.item.getFinalAttachment.GetFinalAttachmentRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None @@ -254303,7 +255051,9 @@ msgraph_beta.generated.privacy.subjectRightsRequests.item.SubjectRightsRequestIt msgraph_beta.generated.privacy.subjectRightsRequests.item.SubjectRightsRequestItemRequestBuilder.SubjectRightsRequestItemRequestBuilderGetRequestConfiguration-->RequestConfiguration[SubjectRightsRequestItemRequestBuilderGetQueryParameters] msgraph_beta.generated.privacy.subjectRightsRequests.item.SubjectRightsRequestItemRequestBuilder.SubjectRightsRequestItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration[QueryParameters] msgraph_beta.generated.privacy.subjectRightsRequests.item.SubjectRightsRequestItemRequestBuilder::|public|approvers:ApproversRequestBuilder +msgraph_beta.generated.privacy.subjectRightsRequests.item.SubjectRightsRequestItemRequestBuilder::|public|approvers_with_user_principal_name(user_principal_name:str):ApproversWithUserPrincipalNameRequestBuilder msgraph_beta.generated.privacy.subjectRightsRequests.item.SubjectRightsRequestItemRequestBuilder::|public|collaborators:CollaboratorsRequestBuilder +msgraph_beta.generated.privacy.subjectRightsRequests.item.SubjectRightsRequestItemRequestBuilder::|public|collaborators_with_user_principal_name(user_principal_name:str):CollaboratorsWithUserPrincipalNameRequestBuilder msgraph_beta.generated.privacy.subjectRightsRequests.item.SubjectRightsRequestItemRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None msgraph_beta.generated.privacy.subjectRightsRequests.item.SubjectRightsRequestItemRequestBuilder::|public|delete(request_configuration?:RequestConfiguration[QueryParameters]):None msgraph_beta.generated.privacy.subjectRightsRequests.item.SubjectRightsRequestItemRequestBuilder::|public|get(request_configuration?:RequestConfiguration[SubjectRightsRequestItemRequestBuilderGetQueryParameters]):SubjectRightsRequest @@ -273620,6 +274370,18 @@ msgraph_beta.generated.security.subjectRightsRequests.item.approvers.item.UserIt msgraph_beta.generated.security.subjectRightsRequests.item.approvers.item.UserItemRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[UserItemRequestBuilderGetQueryParameters]):RequestInformation msgraph_beta.generated.security.subjectRightsRequests.item.approvers.item.UserItemRequestBuilder::|public|url_template:str msgraph_beta.generated.security.subjectRightsRequests.item.approvers.item.UserItemRequestBuilder::|public|with_url(raw_url:str):UserItemRequestBuilder +msgraph_beta.generated.security.subjectRightsRequests.item.approversWithUserPrincipalName.ApproversWithUserPrincipalNameRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.security.subjectRightsRequests.item.approversWithUserPrincipalName.ApproversWithUserPrincipalNameRequestBuilder.ApproversWithUserPrincipalNameRequestBuilderGetQueryParameters::|public|expand:List[str] +msgraph_beta.generated.security.subjectRightsRequests.item.approversWithUserPrincipalName.ApproversWithUserPrincipalNameRequestBuilder.ApproversWithUserPrincipalNameRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.security.subjectRightsRequests.item.approversWithUserPrincipalName.ApproversWithUserPrincipalNameRequestBuilder.ApproversWithUserPrincipalNameRequestBuilderGetQueryParameters::|public|select:List[str] +msgraph_beta.generated.security.subjectRightsRequests.item.approversWithUserPrincipalName.ApproversWithUserPrincipalNameRequestBuilder.ApproversWithUserPrincipalNameRequestBuilderGetRequestConfiguration-->RequestConfiguration[ApproversWithUserPrincipalNameRequestBuilderGetQueryParameters] +msgraph_beta.generated.security.subjectRightsRequests.item.approversWithUserPrincipalName.ApproversWithUserPrincipalNameRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter; user_principal_name?:str):None +msgraph_beta.generated.security.subjectRightsRequests.item.approversWithUserPrincipalName.ApproversWithUserPrincipalNameRequestBuilder::|public|get(request_configuration?:RequestConfiguration[ApproversWithUserPrincipalNameRequestBuilderGetQueryParameters]):User +msgraph_beta.generated.security.subjectRightsRequests.item.approversWithUserPrincipalName.ApproversWithUserPrincipalNameRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph_beta.generated.security.subjectRightsRequests.item.approversWithUserPrincipalName.ApproversWithUserPrincipalNameRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.security.subjectRightsRequests.item.approversWithUserPrincipalName.ApproversWithUserPrincipalNameRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[ApproversWithUserPrincipalNameRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.security.subjectRightsRequests.item.approversWithUserPrincipalName.ApproversWithUserPrincipalNameRequestBuilder::|public|url_template:str +msgraph_beta.generated.security.subjectRightsRequests.item.approversWithUserPrincipalName.ApproversWithUserPrincipalNameRequestBuilder::|public|with_url(raw_url:str):ApproversWithUserPrincipalNameRequestBuilder msgraph_beta.generated.security.subjectRightsRequests.item.collaborators.CollaboratorsRequestBuilder-->BaseRequestBuilder msgraph_beta.generated.security.subjectRightsRequests.item.collaborators.CollaboratorsRequestBuilder.CollaboratorsRequestBuilderGetQueryParameters::|public|count:bool msgraph_beta.generated.security.subjectRightsRequests.item.collaborators.CollaboratorsRequestBuilder.CollaboratorsRequestBuilderGetQueryParameters::|public|expand:List[str] @@ -273712,6 +274474,18 @@ msgraph_beta.generated.security.subjectRightsRequests.item.collaborators.item.Us msgraph_beta.generated.security.subjectRightsRequests.item.collaborators.item.UserItemRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[UserItemRequestBuilderGetQueryParameters]):RequestInformation msgraph_beta.generated.security.subjectRightsRequests.item.collaborators.item.UserItemRequestBuilder::|public|url_template:str msgraph_beta.generated.security.subjectRightsRequests.item.collaborators.item.UserItemRequestBuilder::|public|with_url(raw_url:str):UserItemRequestBuilder +msgraph_beta.generated.security.subjectRightsRequests.item.collaboratorsWithUserPrincipalName.CollaboratorsWithUserPrincipalNameRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.security.subjectRightsRequests.item.collaboratorsWithUserPrincipalName.CollaboratorsWithUserPrincipalNameRequestBuilder.CollaboratorsWithUserPrincipalNameRequestBuilderGetQueryParameters::|public|expand:List[str] +msgraph_beta.generated.security.subjectRightsRequests.item.collaboratorsWithUserPrincipalName.CollaboratorsWithUserPrincipalNameRequestBuilder.CollaboratorsWithUserPrincipalNameRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.security.subjectRightsRequests.item.collaboratorsWithUserPrincipalName.CollaboratorsWithUserPrincipalNameRequestBuilder.CollaboratorsWithUserPrincipalNameRequestBuilderGetQueryParameters::|public|select:List[str] +msgraph_beta.generated.security.subjectRightsRequests.item.collaboratorsWithUserPrincipalName.CollaboratorsWithUserPrincipalNameRequestBuilder.CollaboratorsWithUserPrincipalNameRequestBuilderGetRequestConfiguration-->RequestConfiguration[CollaboratorsWithUserPrincipalNameRequestBuilderGetQueryParameters] +msgraph_beta.generated.security.subjectRightsRequests.item.collaboratorsWithUserPrincipalName.CollaboratorsWithUserPrincipalNameRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter; user_principal_name?:str):None +msgraph_beta.generated.security.subjectRightsRequests.item.collaboratorsWithUserPrincipalName.CollaboratorsWithUserPrincipalNameRequestBuilder::|public|get(request_configuration?:RequestConfiguration[CollaboratorsWithUserPrincipalNameRequestBuilderGetQueryParameters]):User +msgraph_beta.generated.security.subjectRightsRequests.item.collaboratorsWithUserPrincipalName.CollaboratorsWithUserPrincipalNameRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph_beta.generated.security.subjectRightsRequests.item.collaboratorsWithUserPrincipalName.CollaboratorsWithUserPrincipalNameRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.security.subjectRightsRequests.item.collaboratorsWithUserPrincipalName.CollaboratorsWithUserPrincipalNameRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[CollaboratorsWithUserPrincipalNameRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.security.subjectRightsRequests.item.collaboratorsWithUserPrincipalName.CollaboratorsWithUserPrincipalNameRequestBuilder::|public|url_template:str +msgraph_beta.generated.security.subjectRightsRequests.item.collaboratorsWithUserPrincipalName.CollaboratorsWithUserPrincipalNameRequestBuilder::|public|with_url(raw_url:str):CollaboratorsWithUserPrincipalNameRequestBuilder msgraph_beta.generated.security.subjectRightsRequests.item.getFinalAttachment.GetFinalAttachmentRequestBuilder-->BaseRequestBuilder msgraph_beta.generated.security.subjectRightsRequests.item.getFinalAttachment.GetFinalAttachmentRequestBuilder.GetFinalAttachmentRequestBuilderGetRequestConfiguration-->RequestConfiguration[QueryParameters] msgraph_beta.generated.security.subjectRightsRequests.item.getFinalAttachment.GetFinalAttachmentRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None @@ -273791,7 +274565,9 @@ msgraph_beta.generated.security.subjectRightsRequests.item.SubjectRightsRequestI msgraph_beta.generated.security.subjectRightsRequests.item.SubjectRightsRequestItemRequestBuilder.SubjectRightsRequestItemRequestBuilderGetRequestConfiguration-->RequestConfiguration[SubjectRightsRequestItemRequestBuilderGetQueryParameters] msgraph_beta.generated.security.subjectRightsRequests.item.SubjectRightsRequestItemRequestBuilder.SubjectRightsRequestItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration[QueryParameters] msgraph_beta.generated.security.subjectRightsRequests.item.SubjectRightsRequestItemRequestBuilder::|public|approvers:ApproversRequestBuilder +msgraph_beta.generated.security.subjectRightsRequests.item.SubjectRightsRequestItemRequestBuilder::|public|approvers_with_user_principal_name(user_principal_name:str):ApproversWithUserPrincipalNameRequestBuilder msgraph_beta.generated.security.subjectRightsRequests.item.SubjectRightsRequestItemRequestBuilder::|public|collaborators:CollaboratorsRequestBuilder +msgraph_beta.generated.security.subjectRightsRequests.item.SubjectRightsRequestItemRequestBuilder::|public|collaborators_with_user_principal_name(user_principal_name:str):CollaboratorsWithUserPrincipalNameRequestBuilder msgraph_beta.generated.security.subjectRightsRequests.item.SubjectRightsRequestItemRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None msgraph_beta.generated.security.subjectRightsRequests.item.SubjectRightsRequestItemRequestBuilder::|public|delete(request_configuration?:RequestConfiguration[QueryParameters]):None msgraph_beta.generated.security.subjectRightsRequests.item.SubjectRightsRequestItemRequestBuilder::|public|get(request_configuration?:RequestConfiguration[SubjectRightsRequestItemRequestBuilderGetQueryParameters]):SubjectRightsRequest @@ -292221,6 +292997,7 @@ msgraph_beta.generated.solutions.backupRestore.exchangeRestoreSessions.item.Exch msgraph_beta.generated.solutions.backupRestore.exchangeRestoreSessions.item.ExchangeRestoreSessionItemRequestBuilder::|public|get(request_configuration?:RequestConfiguration[ExchangeRestoreSessionItemRequestBuilderGetQueryParameters]):ExchangeRestoreSession msgraph_beta.generated.solutions.backupRestore.exchangeRestoreSessions.item.ExchangeRestoreSessionItemRequestBuilder::|public|granular_mailbox_restore_artifacts:GranularMailboxRestoreArtifactsRequestBuilder msgraph_beta.generated.solutions.backupRestore.exchangeRestoreSessions.item.ExchangeRestoreSessionItemRequestBuilder::|public|mailbox_restore_artifacts:MailboxRestoreArtifactsRequestBuilder +msgraph_beta.generated.solutions.backupRestore.exchangeRestoreSessions.item.ExchangeRestoreSessionItemRequestBuilder::|public|mailbox_restore_artifacts_bulk_addition_requests:MailboxRestoreArtifactsBulkAdditionRequestsRequestBuilder msgraph_beta.generated.solutions.backupRestore.exchangeRestoreSessions.item.ExchangeRestoreSessionItemRequestBuilder::|public|patch(body:ExchangeRestoreSession; request_configuration?:RequestConfiguration[QueryParameters]):ExchangeRestoreSession msgraph_beta.generated.solutions.backupRestore.exchangeRestoreSessions.item.ExchangeRestoreSessionItemRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] msgraph_beta.generated.solutions.backupRestore.exchangeRestoreSessions.item.ExchangeRestoreSessionItemRequestBuilder::|public|request_adapter:RequestAdapter @@ -292361,6 +293138,59 @@ msgraph_beta.generated.solutions.backupRestore.exchangeRestoreSessions.item.mail msgraph_beta.generated.solutions.backupRestore.exchangeRestoreSessions.item.mailboxRestoreArtifacts.MailboxRestoreArtifactsRequestBuilder::|public|to_post_request_information(body:MailboxRestoreArtifact; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation msgraph_beta.generated.solutions.backupRestore.exchangeRestoreSessions.item.mailboxRestoreArtifacts.MailboxRestoreArtifactsRequestBuilder::|public|url_template:str msgraph_beta.generated.solutions.backupRestore.exchangeRestoreSessions.item.mailboxRestoreArtifacts.MailboxRestoreArtifactsRequestBuilder::|public|with_url(raw_url:str):MailboxRestoreArtifactsRequestBuilder +msgraph_beta.generated.solutions.backupRestore.exchangeRestoreSessions.item.mailboxRestoreArtifactsBulkAdditionRequests.count.CountRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.solutions.backupRestore.exchangeRestoreSessions.item.mailboxRestoreArtifactsBulkAdditionRequests.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|filter:str +msgraph_beta.generated.solutions.backupRestore.exchangeRestoreSessions.item.mailboxRestoreArtifactsBulkAdditionRequests.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.solutions.backupRestore.exchangeRestoreSessions.item.mailboxRestoreArtifactsBulkAdditionRequests.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|search:str +msgraph_beta.generated.solutions.backupRestore.exchangeRestoreSessions.item.mailboxRestoreArtifactsBulkAdditionRequests.count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration[CountRequestBuilderGetQueryParameters] +msgraph_beta.generated.solutions.backupRestore.exchangeRestoreSessions.item.mailboxRestoreArtifactsBulkAdditionRequests.count.CountRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.solutions.backupRestore.exchangeRestoreSessions.item.mailboxRestoreArtifactsBulkAdditionRequests.count.CountRequestBuilder::|public|get(request_configuration?:RequestConfiguration[CountRequestBuilderGetQueryParameters]):int +msgraph_beta.generated.solutions.backupRestore.exchangeRestoreSessions.item.mailboxRestoreArtifactsBulkAdditionRequests.count.CountRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph_beta.generated.solutions.backupRestore.exchangeRestoreSessions.item.mailboxRestoreArtifactsBulkAdditionRequests.count.CountRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.solutions.backupRestore.exchangeRestoreSessions.item.mailboxRestoreArtifactsBulkAdditionRequests.count.CountRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[CountRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.solutions.backupRestore.exchangeRestoreSessions.item.mailboxRestoreArtifactsBulkAdditionRequests.count.CountRequestBuilder::|public|url_template:str +msgraph_beta.generated.solutions.backupRestore.exchangeRestoreSessions.item.mailboxRestoreArtifactsBulkAdditionRequests.count.CountRequestBuilder::|public|with_url(raw_url:str):CountRequestBuilder +msgraph_beta.generated.solutions.backupRestore.exchangeRestoreSessions.item.mailboxRestoreArtifactsBulkAdditionRequests.item.MailboxRestoreArtifactsBulkAdditionRequestItemRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.solutions.backupRestore.exchangeRestoreSessions.item.mailboxRestoreArtifactsBulkAdditionRequests.item.MailboxRestoreArtifactsBulkAdditionRequestItemRequestBuilder.MailboxRestoreArtifactsBulkAdditionRequestItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.solutions.backupRestore.exchangeRestoreSessions.item.mailboxRestoreArtifactsBulkAdditionRequests.item.MailboxRestoreArtifactsBulkAdditionRequestItemRequestBuilder.MailboxRestoreArtifactsBulkAdditionRequestItemRequestBuilderGetQueryParameters::|public|expand:List[str] +msgraph_beta.generated.solutions.backupRestore.exchangeRestoreSessions.item.mailboxRestoreArtifactsBulkAdditionRequests.item.MailboxRestoreArtifactsBulkAdditionRequestItemRequestBuilder.MailboxRestoreArtifactsBulkAdditionRequestItemRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.solutions.backupRestore.exchangeRestoreSessions.item.mailboxRestoreArtifactsBulkAdditionRequests.item.MailboxRestoreArtifactsBulkAdditionRequestItemRequestBuilder.MailboxRestoreArtifactsBulkAdditionRequestItemRequestBuilderGetQueryParameters::|public|select:List[str] +msgraph_beta.generated.solutions.backupRestore.exchangeRestoreSessions.item.mailboxRestoreArtifactsBulkAdditionRequests.item.MailboxRestoreArtifactsBulkAdditionRequestItemRequestBuilder.MailboxRestoreArtifactsBulkAdditionRequestItemRequestBuilderGetRequestConfiguration-->RequestConfiguration[MailboxRestoreArtifactsBulkAdditionRequestItemRequestBuilderGetQueryParameters] +msgraph_beta.generated.solutions.backupRestore.exchangeRestoreSessions.item.mailboxRestoreArtifactsBulkAdditionRequests.item.MailboxRestoreArtifactsBulkAdditionRequestItemRequestBuilder.MailboxRestoreArtifactsBulkAdditionRequestItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.solutions.backupRestore.exchangeRestoreSessions.item.mailboxRestoreArtifactsBulkAdditionRequests.item.MailboxRestoreArtifactsBulkAdditionRequestItemRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.solutions.backupRestore.exchangeRestoreSessions.item.mailboxRestoreArtifactsBulkAdditionRequests.item.MailboxRestoreArtifactsBulkAdditionRequestItemRequestBuilder::|public|delete(request_configuration?:RequestConfiguration[QueryParameters]):None +msgraph_beta.generated.solutions.backupRestore.exchangeRestoreSessions.item.mailboxRestoreArtifactsBulkAdditionRequests.item.MailboxRestoreArtifactsBulkAdditionRequestItemRequestBuilder::|public|get(request_configuration?:RequestConfiguration[MailboxRestoreArtifactsBulkAdditionRequestItemRequestBuilderGetQueryParameters]):MailboxRestoreArtifactsBulkAdditionRequest +msgraph_beta.generated.solutions.backupRestore.exchangeRestoreSessions.item.mailboxRestoreArtifactsBulkAdditionRequests.item.MailboxRestoreArtifactsBulkAdditionRequestItemRequestBuilder::|public|patch(body:MailboxRestoreArtifactsBulkAdditionRequest; request_configuration?:RequestConfiguration[QueryParameters]):MailboxRestoreArtifactsBulkAdditionRequest +msgraph_beta.generated.solutions.backupRestore.exchangeRestoreSessions.item.mailboxRestoreArtifactsBulkAdditionRequests.item.MailboxRestoreArtifactsBulkAdditionRequestItemRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph_beta.generated.solutions.backupRestore.exchangeRestoreSessions.item.mailboxRestoreArtifactsBulkAdditionRequests.item.MailboxRestoreArtifactsBulkAdditionRequestItemRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.solutions.backupRestore.exchangeRestoreSessions.item.mailboxRestoreArtifactsBulkAdditionRequests.item.MailboxRestoreArtifactsBulkAdditionRequestItemRequestBuilder::|public|to_delete_request_information(request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.solutions.backupRestore.exchangeRestoreSessions.item.mailboxRestoreArtifactsBulkAdditionRequests.item.MailboxRestoreArtifactsBulkAdditionRequestItemRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[MailboxRestoreArtifactsBulkAdditionRequestItemRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.solutions.backupRestore.exchangeRestoreSessions.item.mailboxRestoreArtifactsBulkAdditionRequests.item.MailboxRestoreArtifactsBulkAdditionRequestItemRequestBuilder::|public|to_patch_request_information(body:MailboxRestoreArtifactsBulkAdditionRequest; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.solutions.backupRestore.exchangeRestoreSessions.item.mailboxRestoreArtifactsBulkAdditionRequests.item.MailboxRestoreArtifactsBulkAdditionRequestItemRequestBuilder::|public|url_template:str +msgraph_beta.generated.solutions.backupRestore.exchangeRestoreSessions.item.mailboxRestoreArtifactsBulkAdditionRequests.item.MailboxRestoreArtifactsBulkAdditionRequestItemRequestBuilder::|public|with_url(raw_url:str):MailboxRestoreArtifactsBulkAdditionRequestItemRequestBuilder +msgraph_beta.generated.solutions.backupRestore.exchangeRestoreSessions.item.mailboxRestoreArtifactsBulkAdditionRequests.MailboxRestoreArtifactsBulkAdditionRequestsRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.solutions.backupRestore.exchangeRestoreSessions.item.mailboxRestoreArtifactsBulkAdditionRequests.MailboxRestoreArtifactsBulkAdditionRequestsRequestBuilder.MailboxRestoreArtifactsBulkAdditionRequestsRequestBuilderGetQueryParameters::|public|count:bool +msgraph_beta.generated.solutions.backupRestore.exchangeRestoreSessions.item.mailboxRestoreArtifactsBulkAdditionRequests.MailboxRestoreArtifactsBulkAdditionRequestsRequestBuilder.MailboxRestoreArtifactsBulkAdditionRequestsRequestBuilderGetQueryParameters::|public|expand:List[str] +msgraph_beta.generated.solutions.backupRestore.exchangeRestoreSessions.item.mailboxRestoreArtifactsBulkAdditionRequests.MailboxRestoreArtifactsBulkAdditionRequestsRequestBuilder.MailboxRestoreArtifactsBulkAdditionRequestsRequestBuilderGetQueryParameters::|public|filter:str +msgraph_beta.generated.solutions.backupRestore.exchangeRestoreSessions.item.mailboxRestoreArtifactsBulkAdditionRequests.MailboxRestoreArtifactsBulkAdditionRequestsRequestBuilder.MailboxRestoreArtifactsBulkAdditionRequestsRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.solutions.backupRestore.exchangeRestoreSessions.item.mailboxRestoreArtifactsBulkAdditionRequests.MailboxRestoreArtifactsBulkAdditionRequestsRequestBuilder.MailboxRestoreArtifactsBulkAdditionRequestsRequestBuilderGetQueryParameters::|public|orderby:List[str] +msgraph_beta.generated.solutions.backupRestore.exchangeRestoreSessions.item.mailboxRestoreArtifactsBulkAdditionRequests.MailboxRestoreArtifactsBulkAdditionRequestsRequestBuilder.MailboxRestoreArtifactsBulkAdditionRequestsRequestBuilderGetQueryParameters::|public|search:str +msgraph_beta.generated.solutions.backupRestore.exchangeRestoreSessions.item.mailboxRestoreArtifactsBulkAdditionRequests.MailboxRestoreArtifactsBulkAdditionRequestsRequestBuilder.MailboxRestoreArtifactsBulkAdditionRequestsRequestBuilderGetQueryParameters::|public|select:List[str] +msgraph_beta.generated.solutions.backupRestore.exchangeRestoreSessions.item.mailboxRestoreArtifactsBulkAdditionRequests.MailboxRestoreArtifactsBulkAdditionRequestsRequestBuilder.MailboxRestoreArtifactsBulkAdditionRequestsRequestBuilderGetQueryParameters::|public|skip:int +msgraph_beta.generated.solutions.backupRestore.exchangeRestoreSessions.item.mailboxRestoreArtifactsBulkAdditionRequests.MailboxRestoreArtifactsBulkAdditionRequestsRequestBuilder.MailboxRestoreArtifactsBulkAdditionRequestsRequestBuilderGetQueryParameters::|public|top:int +msgraph_beta.generated.solutions.backupRestore.exchangeRestoreSessions.item.mailboxRestoreArtifactsBulkAdditionRequests.MailboxRestoreArtifactsBulkAdditionRequestsRequestBuilder.MailboxRestoreArtifactsBulkAdditionRequestsRequestBuilderGetRequestConfiguration-->RequestConfiguration[MailboxRestoreArtifactsBulkAdditionRequestsRequestBuilderGetQueryParameters] +msgraph_beta.generated.solutions.backupRestore.exchangeRestoreSessions.item.mailboxRestoreArtifactsBulkAdditionRequests.MailboxRestoreArtifactsBulkAdditionRequestsRequestBuilder.MailboxRestoreArtifactsBulkAdditionRequestsRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.solutions.backupRestore.exchangeRestoreSessions.item.mailboxRestoreArtifactsBulkAdditionRequests.MailboxRestoreArtifactsBulkAdditionRequestsRequestBuilder::|public|by_mailbox_restore_artifacts_bulk_addition_request_id(mailbox_restore_artifacts_bulk_addition_request_id:str):MailboxRestoreArtifactsBulkAdditionRequestItemRequestBuilder +msgraph_beta.generated.solutions.backupRestore.exchangeRestoreSessions.item.mailboxRestoreArtifactsBulkAdditionRequests.MailboxRestoreArtifactsBulkAdditionRequestsRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.solutions.backupRestore.exchangeRestoreSessions.item.mailboxRestoreArtifactsBulkAdditionRequests.MailboxRestoreArtifactsBulkAdditionRequestsRequestBuilder::|public|count:CountRequestBuilder +msgraph_beta.generated.solutions.backupRestore.exchangeRestoreSessions.item.mailboxRestoreArtifactsBulkAdditionRequests.MailboxRestoreArtifactsBulkAdditionRequestsRequestBuilder::|public|get(request_configuration?:RequestConfiguration[MailboxRestoreArtifactsBulkAdditionRequestsRequestBuilderGetQueryParameters]):MailboxRestoreArtifactsBulkAdditionRequestCollectionResponse +msgraph_beta.generated.solutions.backupRestore.exchangeRestoreSessions.item.mailboxRestoreArtifactsBulkAdditionRequests.MailboxRestoreArtifactsBulkAdditionRequestsRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph_beta.generated.solutions.backupRestore.exchangeRestoreSessions.item.mailboxRestoreArtifactsBulkAdditionRequests.MailboxRestoreArtifactsBulkAdditionRequestsRequestBuilder::|public|post(body:MailboxRestoreArtifactsBulkAdditionRequest; request_configuration?:RequestConfiguration[QueryParameters]):MailboxRestoreArtifactsBulkAdditionRequest +msgraph_beta.generated.solutions.backupRestore.exchangeRestoreSessions.item.mailboxRestoreArtifactsBulkAdditionRequests.MailboxRestoreArtifactsBulkAdditionRequestsRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.solutions.backupRestore.exchangeRestoreSessions.item.mailboxRestoreArtifactsBulkAdditionRequests.MailboxRestoreArtifactsBulkAdditionRequestsRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[MailboxRestoreArtifactsBulkAdditionRequestsRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.solutions.backupRestore.exchangeRestoreSessions.item.mailboxRestoreArtifactsBulkAdditionRequests.MailboxRestoreArtifactsBulkAdditionRequestsRequestBuilder::|public|to_post_request_information(body:MailboxRestoreArtifactsBulkAdditionRequest; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.solutions.backupRestore.exchangeRestoreSessions.item.mailboxRestoreArtifactsBulkAdditionRequests.MailboxRestoreArtifactsBulkAdditionRequestsRequestBuilder::|public|url_template:str +msgraph_beta.generated.solutions.backupRestore.exchangeRestoreSessions.item.mailboxRestoreArtifactsBulkAdditionRequests.MailboxRestoreArtifactsBulkAdditionRequestsRequestBuilder::|public|with_url(raw_url:str):MailboxRestoreArtifactsBulkAdditionRequestsRequestBuilder msgraph_beta.generated.solutions.backupRestore.mailboxInclusionRules.count.CountRequestBuilder-->BaseRequestBuilder msgraph_beta.generated.solutions.backupRestore.mailboxInclusionRules.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|filter:str msgraph_beta.generated.solutions.backupRestore.mailboxInclusionRules.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str @@ -292786,6 +293616,59 @@ msgraph_beta.generated.solutions.backupRestore.oneDriveForBusinessRestoreSession msgraph_beta.generated.solutions.backupRestore.oneDriveForBusinessRestoreSessions.item.driveRestoreArtifacts.item.restorePoint.RestorePointRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[RestorePointRequestBuilderGetQueryParameters]):RequestInformation msgraph_beta.generated.solutions.backupRestore.oneDriveForBusinessRestoreSessions.item.driveRestoreArtifacts.item.restorePoint.RestorePointRequestBuilder::|public|url_template:str msgraph_beta.generated.solutions.backupRestore.oneDriveForBusinessRestoreSessions.item.driveRestoreArtifacts.item.restorePoint.RestorePointRequestBuilder::|public|with_url(raw_url:str):RestorePointRequestBuilder +msgraph_beta.generated.solutions.backupRestore.oneDriveForBusinessRestoreSessions.item.driveRestoreArtifactsBulkAdditionRequests.count.CountRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.solutions.backupRestore.oneDriveForBusinessRestoreSessions.item.driveRestoreArtifactsBulkAdditionRequests.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|filter:str +msgraph_beta.generated.solutions.backupRestore.oneDriveForBusinessRestoreSessions.item.driveRestoreArtifactsBulkAdditionRequests.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.solutions.backupRestore.oneDriveForBusinessRestoreSessions.item.driveRestoreArtifactsBulkAdditionRequests.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|search:str +msgraph_beta.generated.solutions.backupRestore.oneDriveForBusinessRestoreSessions.item.driveRestoreArtifactsBulkAdditionRequests.count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration[CountRequestBuilderGetQueryParameters] +msgraph_beta.generated.solutions.backupRestore.oneDriveForBusinessRestoreSessions.item.driveRestoreArtifactsBulkAdditionRequests.count.CountRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.solutions.backupRestore.oneDriveForBusinessRestoreSessions.item.driveRestoreArtifactsBulkAdditionRequests.count.CountRequestBuilder::|public|get(request_configuration?:RequestConfiguration[CountRequestBuilderGetQueryParameters]):int +msgraph_beta.generated.solutions.backupRestore.oneDriveForBusinessRestoreSessions.item.driveRestoreArtifactsBulkAdditionRequests.count.CountRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph_beta.generated.solutions.backupRestore.oneDriveForBusinessRestoreSessions.item.driveRestoreArtifactsBulkAdditionRequests.count.CountRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.solutions.backupRestore.oneDriveForBusinessRestoreSessions.item.driveRestoreArtifactsBulkAdditionRequests.count.CountRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[CountRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.solutions.backupRestore.oneDriveForBusinessRestoreSessions.item.driveRestoreArtifactsBulkAdditionRequests.count.CountRequestBuilder::|public|url_template:str +msgraph_beta.generated.solutions.backupRestore.oneDriveForBusinessRestoreSessions.item.driveRestoreArtifactsBulkAdditionRequests.count.CountRequestBuilder::|public|with_url(raw_url:str):CountRequestBuilder +msgraph_beta.generated.solutions.backupRestore.oneDriveForBusinessRestoreSessions.item.driveRestoreArtifactsBulkAdditionRequests.DriveRestoreArtifactsBulkAdditionRequestsRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.solutions.backupRestore.oneDriveForBusinessRestoreSessions.item.driveRestoreArtifactsBulkAdditionRequests.DriveRestoreArtifactsBulkAdditionRequestsRequestBuilder.DriveRestoreArtifactsBulkAdditionRequestsRequestBuilderGetQueryParameters::|public|count:bool +msgraph_beta.generated.solutions.backupRestore.oneDriveForBusinessRestoreSessions.item.driveRestoreArtifactsBulkAdditionRequests.DriveRestoreArtifactsBulkAdditionRequestsRequestBuilder.DriveRestoreArtifactsBulkAdditionRequestsRequestBuilderGetQueryParameters::|public|expand:List[str] +msgraph_beta.generated.solutions.backupRestore.oneDriveForBusinessRestoreSessions.item.driveRestoreArtifactsBulkAdditionRequests.DriveRestoreArtifactsBulkAdditionRequestsRequestBuilder.DriveRestoreArtifactsBulkAdditionRequestsRequestBuilderGetQueryParameters::|public|filter:str +msgraph_beta.generated.solutions.backupRestore.oneDriveForBusinessRestoreSessions.item.driveRestoreArtifactsBulkAdditionRequests.DriveRestoreArtifactsBulkAdditionRequestsRequestBuilder.DriveRestoreArtifactsBulkAdditionRequestsRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.solutions.backupRestore.oneDriveForBusinessRestoreSessions.item.driveRestoreArtifactsBulkAdditionRequests.DriveRestoreArtifactsBulkAdditionRequestsRequestBuilder.DriveRestoreArtifactsBulkAdditionRequestsRequestBuilderGetQueryParameters::|public|orderby:List[str] +msgraph_beta.generated.solutions.backupRestore.oneDriveForBusinessRestoreSessions.item.driveRestoreArtifactsBulkAdditionRequests.DriveRestoreArtifactsBulkAdditionRequestsRequestBuilder.DriveRestoreArtifactsBulkAdditionRequestsRequestBuilderGetQueryParameters::|public|search:str +msgraph_beta.generated.solutions.backupRestore.oneDriveForBusinessRestoreSessions.item.driveRestoreArtifactsBulkAdditionRequests.DriveRestoreArtifactsBulkAdditionRequestsRequestBuilder.DriveRestoreArtifactsBulkAdditionRequestsRequestBuilderGetQueryParameters::|public|select:List[str] +msgraph_beta.generated.solutions.backupRestore.oneDriveForBusinessRestoreSessions.item.driveRestoreArtifactsBulkAdditionRequests.DriveRestoreArtifactsBulkAdditionRequestsRequestBuilder.DriveRestoreArtifactsBulkAdditionRequestsRequestBuilderGetQueryParameters::|public|skip:int +msgraph_beta.generated.solutions.backupRestore.oneDriveForBusinessRestoreSessions.item.driveRestoreArtifactsBulkAdditionRequests.DriveRestoreArtifactsBulkAdditionRequestsRequestBuilder.DriveRestoreArtifactsBulkAdditionRequestsRequestBuilderGetQueryParameters::|public|top:int +msgraph_beta.generated.solutions.backupRestore.oneDriveForBusinessRestoreSessions.item.driveRestoreArtifactsBulkAdditionRequests.DriveRestoreArtifactsBulkAdditionRequestsRequestBuilder.DriveRestoreArtifactsBulkAdditionRequestsRequestBuilderGetRequestConfiguration-->RequestConfiguration[DriveRestoreArtifactsBulkAdditionRequestsRequestBuilderGetQueryParameters] +msgraph_beta.generated.solutions.backupRestore.oneDriveForBusinessRestoreSessions.item.driveRestoreArtifactsBulkAdditionRequests.DriveRestoreArtifactsBulkAdditionRequestsRequestBuilder.DriveRestoreArtifactsBulkAdditionRequestsRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.solutions.backupRestore.oneDriveForBusinessRestoreSessions.item.driveRestoreArtifactsBulkAdditionRequests.DriveRestoreArtifactsBulkAdditionRequestsRequestBuilder::|public|by_drive_restore_artifacts_bulk_addition_request_id(drive_restore_artifacts_bulk_addition_request_id:str):DriveRestoreArtifactsBulkAdditionRequestItemRequestBuilder +msgraph_beta.generated.solutions.backupRestore.oneDriveForBusinessRestoreSessions.item.driveRestoreArtifactsBulkAdditionRequests.DriveRestoreArtifactsBulkAdditionRequestsRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.solutions.backupRestore.oneDriveForBusinessRestoreSessions.item.driveRestoreArtifactsBulkAdditionRequests.DriveRestoreArtifactsBulkAdditionRequestsRequestBuilder::|public|count:CountRequestBuilder +msgraph_beta.generated.solutions.backupRestore.oneDriveForBusinessRestoreSessions.item.driveRestoreArtifactsBulkAdditionRequests.DriveRestoreArtifactsBulkAdditionRequestsRequestBuilder::|public|get(request_configuration?:RequestConfiguration[DriveRestoreArtifactsBulkAdditionRequestsRequestBuilderGetQueryParameters]):DriveRestoreArtifactsBulkAdditionRequestCollectionResponse +msgraph_beta.generated.solutions.backupRestore.oneDriveForBusinessRestoreSessions.item.driveRestoreArtifactsBulkAdditionRequests.DriveRestoreArtifactsBulkAdditionRequestsRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph_beta.generated.solutions.backupRestore.oneDriveForBusinessRestoreSessions.item.driveRestoreArtifactsBulkAdditionRequests.DriveRestoreArtifactsBulkAdditionRequestsRequestBuilder::|public|post(body:DriveRestoreArtifactsBulkAdditionRequest; request_configuration?:RequestConfiguration[QueryParameters]):DriveRestoreArtifactsBulkAdditionRequest +msgraph_beta.generated.solutions.backupRestore.oneDriveForBusinessRestoreSessions.item.driveRestoreArtifactsBulkAdditionRequests.DriveRestoreArtifactsBulkAdditionRequestsRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.solutions.backupRestore.oneDriveForBusinessRestoreSessions.item.driveRestoreArtifactsBulkAdditionRequests.DriveRestoreArtifactsBulkAdditionRequestsRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[DriveRestoreArtifactsBulkAdditionRequestsRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.solutions.backupRestore.oneDriveForBusinessRestoreSessions.item.driveRestoreArtifactsBulkAdditionRequests.DriveRestoreArtifactsBulkAdditionRequestsRequestBuilder::|public|to_post_request_information(body:DriveRestoreArtifactsBulkAdditionRequest; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.solutions.backupRestore.oneDriveForBusinessRestoreSessions.item.driveRestoreArtifactsBulkAdditionRequests.DriveRestoreArtifactsBulkAdditionRequestsRequestBuilder::|public|url_template:str +msgraph_beta.generated.solutions.backupRestore.oneDriveForBusinessRestoreSessions.item.driveRestoreArtifactsBulkAdditionRequests.DriveRestoreArtifactsBulkAdditionRequestsRequestBuilder::|public|with_url(raw_url:str):DriveRestoreArtifactsBulkAdditionRequestsRequestBuilder +msgraph_beta.generated.solutions.backupRestore.oneDriveForBusinessRestoreSessions.item.driveRestoreArtifactsBulkAdditionRequests.item.DriveRestoreArtifactsBulkAdditionRequestItemRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.solutions.backupRestore.oneDriveForBusinessRestoreSessions.item.driveRestoreArtifactsBulkAdditionRequests.item.DriveRestoreArtifactsBulkAdditionRequestItemRequestBuilder.DriveRestoreArtifactsBulkAdditionRequestItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.solutions.backupRestore.oneDriveForBusinessRestoreSessions.item.driveRestoreArtifactsBulkAdditionRequests.item.DriveRestoreArtifactsBulkAdditionRequestItemRequestBuilder.DriveRestoreArtifactsBulkAdditionRequestItemRequestBuilderGetQueryParameters::|public|expand:List[str] +msgraph_beta.generated.solutions.backupRestore.oneDriveForBusinessRestoreSessions.item.driveRestoreArtifactsBulkAdditionRequests.item.DriveRestoreArtifactsBulkAdditionRequestItemRequestBuilder.DriveRestoreArtifactsBulkAdditionRequestItemRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.solutions.backupRestore.oneDriveForBusinessRestoreSessions.item.driveRestoreArtifactsBulkAdditionRequests.item.DriveRestoreArtifactsBulkAdditionRequestItemRequestBuilder.DriveRestoreArtifactsBulkAdditionRequestItemRequestBuilderGetQueryParameters::|public|select:List[str] +msgraph_beta.generated.solutions.backupRestore.oneDriveForBusinessRestoreSessions.item.driveRestoreArtifactsBulkAdditionRequests.item.DriveRestoreArtifactsBulkAdditionRequestItemRequestBuilder.DriveRestoreArtifactsBulkAdditionRequestItemRequestBuilderGetRequestConfiguration-->RequestConfiguration[DriveRestoreArtifactsBulkAdditionRequestItemRequestBuilderGetQueryParameters] +msgraph_beta.generated.solutions.backupRestore.oneDriveForBusinessRestoreSessions.item.driveRestoreArtifactsBulkAdditionRequests.item.DriveRestoreArtifactsBulkAdditionRequestItemRequestBuilder.DriveRestoreArtifactsBulkAdditionRequestItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.solutions.backupRestore.oneDriveForBusinessRestoreSessions.item.driveRestoreArtifactsBulkAdditionRequests.item.DriveRestoreArtifactsBulkAdditionRequestItemRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.solutions.backupRestore.oneDriveForBusinessRestoreSessions.item.driveRestoreArtifactsBulkAdditionRequests.item.DriveRestoreArtifactsBulkAdditionRequestItemRequestBuilder::|public|delete(request_configuration?:RequestConfiguration[QueryParameters]):None +msgraph_beta.generated.solutions.backupRestore.oneDriveForBusinessRestoreSessions.item.driveRestoreArtifactsBulkAdditionRequests.item.DriveRestoreArtifactsBulkAdditionRequestItemRequestBuilder::|public|get(request_configuration?:RequestConfiguration[DriveRestoreArtifactsBulkAdditionRequestItemRequestBuilderGetQueryParameters]):DriveRestoreArtifactsBulkAdditionRequest +msgraph_beta.generated.solutions.backupRestore.oneDriveForBusinessRestoreSessions.item.driveRestoreArtifactsBulkAdditionRequests.item.DriveRestoreArtifactsBulkAdditionRequestItemRequestBuilder::|public|patch(body:DriveRestoreArtifactsBulkAdditionRequest; request_configuration?:RequestConfiguration[QueryParameters]):DriveRestoreArtifactsBulkAdditionRequest +msgraph_beta.generated.solutions.backupRestore.oneDriveForBusinessRestoreSessions.item.driveRestoreArtifactsBulkAdditionRequests.item.DriveRestoreArtifactsBulkAdditionRequestItemRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph_beta.generated.solutions.backupRestore.oneDriveForBusinessRestoreSessions.item.driveRestoreArtifactsBulkAdditionRequests.item.DriveRestoreArtifactsBulkAdditionRequestItemRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.solutions.backupRestore.oneDriveForBusinessRestoreSessions.item.driveRestoreArtifactsBulkAdditionRequests.item.DriveRestoreArtifactsBulkAdditionRequestItemRequestBuilder::|public|to_delete_request_information(request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.solutions.backupRestore.oneDriveForBusinessRestoreSessions.item.driveRestoreArtifactsBulkAdditionRequests.item.DriveRestoreArtifactsBulkAdditionRequestItemRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[DriveRestoreArtifactsBulkAdditionRequestItemRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.solutions.backupRestore.oneDriveForBusinessRestoreSessions.item.driveRestoreArtifactsBulkAdditionRequests.item.DriveRestoreArtifactsBulkAdditionRequestItemRequestBuilder::|public|to_patch_request_information(body:DriveRestoreArtifactsBulkAdditionRequest; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.solutions.backupRestore.oneDriveForBusinessRestoreSessions.item.driveRestoreArtifactsBulkAdditionRequests.item.DriveRestoreArtifactsBulkAdditionRequestItemRequestBuilder::|public|url_template:str +msgraph_beta.generated.solutions.backupRestore.oneDriveForBusinessRestoreSessions.item.driveRestoreArtifactsBulkAdditionRequests.item.DriveRestoreArtifactsBulkAdditionRequestItemRequestBuilder::|public|with_url(raw_url:str):DriveRestoreArtifactsBulkAdditionRequestItemRequestBuilder msgraph_beta.generated.solutions.backupRestore.oneDriveForBusinessRestoreSessions.item.OneDriveForBusinessRestoreSessionItemRequestBuilder-->BaseRequestBuilder msgraph_beta.generated.solutions.backupRestore.oneDriveForBusinessRestoreSessions.item.OneDriveForBusinessRestoreSessionItemRequestBuilder.OneDriveForBusinessRestoreSessionItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration[QueryParameters] msgraph_beta.generated.solutions.backupRestore.oneDriveForBusinessRestoreSessions.item.OneDriveForBusinessRestoreSessionItemRequestBuilder.OneDriveForBusinessRestoreSessionItemRequestBuilderGetQueryParameters::|public|expand:List[str] @@ -292796,6 +293679,7 @@ msgraph_beta.generated.solutions.backupRestore.oneDriveForBusinessRestoreSession msgraph_beta.generated.solutions.backupRestore.oneDriveForBusinessRestoreSessions.item.OneDriveForBusinessRestoreSessionItemRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None msgraph_beta.generated.solutions.backupRestore.oneDriveForBusinessRestoreSessions.item.OneDriveForBusinessRestoreSessionItemRequestBuilder::|public|delete(request_configuration?:RequestConfiguration[QueryParameters]):None msgraph_beta.generated.solutions.backupRestore.oneDriveForBusinessRestoreSessions.item.OneDriveForBusinessRestoreSessionItemRequestBuilder::|public|drive_restore_artifacts:DriveRestoreArtifactsRequestBuilder +msgraph_beta.generated.solutions.backupRestore.oneDriveForBusinessRestoreSessions.item.OneDriveForBusinessRestoreSessionItemRequestBuilder::|public|drive_restore_artifacts_bulk_addition_requests:DriveRestoreArtifactsBulkAdditionRequestsRequestBuilder msgraph_beta.generated.solutions.backupRestore.oneDriveForBusinessRestoreSessions.item.OneDriveForBusinessRestoreSessionItemRequestBuilder::|public|get(request_configuration?:RequestConfiguration[OneDriveForBusinessRestoreSessionItemRequestBuilderGetQueryParameters]):OneDriveForBusinessRestoreSession msgraph_beta.generated.solutions.backupRestore.oneDriveForBusinessRestoreSessions.item.OneDriveForBusinessRestoreSessionItemRequestBuilder::|public|patch(body:OneDriveForBusinessRestoreSession; request_configuration?:RequestConfiguration[QueryParameters]):OneDriveForBusinessRestoreSession msgraph_beta.generated.solutions.backupRestore.oneDriveForBusinessRestoreSessions.item.OneDriveForBusinessRestoreSessionItemRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] @@ -293399,6 +294283,7 @@ msgraph_beta.generated.solutions.backupRestore.sharePointRestoreSessions.item.Sh msgraph_beta.generated.solutions.backupRestore.sharePointRestoreSessions.item.SharePointRestoreSessionItemRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] msgraph_beta.generated.solutions.backupRestore.sharePointRestoreSessions.item.SharePointRestoreSessionItemRequestBuilder::|public|request_adapter:RequestAdapter msgraph_beta.generated.solutions.backupRestore.sharePointRestoreSessions.item.SharePointRestoreSessionItemRequestBuilder::|public|site_restore_artifacts:SiteRestoreArtifactsRequestBuilder +msgraph_beta.generated.solutions.backupRestore.sharePointRestoreSessions.item.SharePointRestoreSessionItemRequestBuilder::|public|site_restore_artifacts_bulk_addition_requests:SiteRestoreArtifactsBulkAdditionRequestsRequestBuilder msgraph_beta.generated.solutions.backupRestore.sharePointRestoreSessions.item.SharePointRestoreSessionItemRequestBuilder::|public|to_delete_request_information(request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation msgraph_beta.generated.solutions.backupRestore.sharePointRestoreSessions.item.SharePointRestoreSessionItemRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[SharePointRestoreSessionItemRequestBuilderGetQueryParameters]):RequestInformation msgraph_beta.generated.solutions.backupRestore.sharePointRestoreSessions.item.SharePointRestoreSessionItemRequestBuilder::|public|to_patch_request_information(body:SharePointRestoreSession; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation @@ -293470,6 +294355,59 @@ msgraph_beta.generated.solutions.backupRestore.sharePointRestoreSessions.item.si msgraph_beta.generated.solutions.backupRestore.sharePointRestoreSessions.item.siteRestoreArtifacts.SiteRestoreArtifactsRequestBuilder::|public|to_post_request_information(body:SiteRestoreArtifact; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation msgraph_beta.generated.solutions.backupRestore.sharePointRestoreSessions.item.siteRestoreArtifacts.SiteRestoreArtifactsRequestBuilder::|public|url_template:str msgraph_beta.generated.solutions.backupRestore.sharePointRestoreSessions.item.siteRestoreArtifacts.SiteRestoreArtifactsRequestBuilder::|public|with_url(raw_url:str):SiteRestoreArtifactsRequestBuilder +msgraph_beta.generated.solutions.backupRestore.sharePointRestoreSessions.item.siteRestoreArtifactsBulkAdditionRequests.count.CountRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.solutions.backupRestore.sharePointRestoreSessions.item.siteRestoreArtifactsBulkAdditionRequests.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|filter:str +msgraph_beta.generated.solutions.backupRestore.sharePointRestoreSessions.item.siteRestoreArtifactsBulkAdditionRequests.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.solutions.backupRestore.sharePointRestoreSessions.item.siteRestoreArtifactsBulkAdditionRequests.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|search:str +msgraph_beta.generated.solutions.backupRestore.sharePointRestoreSessions.item.siteRestoreArtifactsBulkAdditionRequests.count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration[CountRequestBuilderGetQueryParameters] +msgraph_beta.generated.solutions.backupRestore.sharePointRestoreSessions.item.siteRestoreArtifactsBulkAdditionRequests.count.CountRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.solutions.backupRestore.sharePointRestoreSessions.item.siteRestoreArtifactsBulkAdditionRequests.count.CountRequestBuilder::|public|get(request_configuration?:RequestConfiguration[CountRequestBuilderGetQueryParameters]):int +msgraph_beta.generated.solutions.backupRestore.sharePointRestoreSessions.item.siteRestoreArtifactsBulkAdditionRequests.count.CountRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph_beta.generated.solutions.backupRestore.sharePointRestoreSessions.item.siteRestoreArtifactsBulkAdditionRequests.count.CountRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.solutions.backupRestore.sharePointRestoreSessions.item.siteRestoreArtifactsBulkAdditionRequests.count.CountRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[CountRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.solutions.backupRestore.sharePointRestoreSessions.item.siteRestoreArtifactsBulkAdditionRequests.count.CountRequestBuilder::|public|url_template:str +msgraph_beta.generated.solutions.backupRestore.sharePointRestoreSessions.item.siteRestoreArtifactsBulkAdditionRequests.count.CountRequestBuilder::|public|with_url(raw_url:str):CountRequestBuilder +msgraph_beta.generated.solutions.backupRestore.sharePointRestoreSessions.item.siteRestoreArtifactsBulkAdditionRequests.item.SiteRestoreArtifactsBulkAdditionRequestItemRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.solutions.backupRestore.sharePointRestoreSessions.item.siteRestoreArtifactsBulkAdditionRequests.item.SiteRestoreArtifactsBulkAdditionRequestItemRequestBuilder.SiteRestoreArtifactsBulkAdditionRequestItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.solutions.backupRestore.sharePointRestoreSessions.item.siteRestoreArtifactsBulkAdditionRequests.item.SiteRestoreArtifactsBulkAdditionRequestItemRequestBuilder.SiteRestoreArtifactsBulkAdditionRequestItemRequestBuilderGetQueryParameters::|public|expand:List[str] +msgraph_beta.generated.solutions.backupRestore.sharePointRestoreSessions.item.siteRestoreArtifactsBulkAdditionRequests.item.SiteRestoreArtifactsBulkAdditionRequestItemRequestBuilder.SiteRestoreArtifactsBulkAdditionRequestItemRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.solutions.backupRestore.sharePointRestoreSessions.item.siteRestoreArtifactsBulkAdditionRequests.item.SiteRestoreArtifactsBulkAdditionRequestItemRequestBuilder.SiteRestoreArtifactsBulkAdditionRequestItemRequestBuilderGetQueryParameters::|public|select:List[str] +msgraph_beta.generated.solutions.backupRestore.sharePointRestoreSessions.item.siteRestoreArtifactsBulkAdditionRequests.item.SiteRestoreArtifactsBulkAdditionRequestItemRequestBuilder.SiteRestoreArtifactsBulkAdditionRequestItemRequestBuilderGetRequestConfiguration-->RequestConfiguration[SiteRestoreArtifactsBulkAdditionRequestItemRequestBuilderGetQueryParameters] +msgraph_beta.generated.solutions.backupRestore.sharePointRestoreSessions.item.siteRestoreArtifactsBulkAdditionRequests.item.SiteRestoreArtifactsBulkAdditionRequestItemRequestBuilder.SiteRestoreArtifactsBulkAdditionRequestItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.solutions.backupRestore.sharePointRestoreSessions.item.siteRestoreArtifactsBulkAdditionRequests.item.SiteRestoreArtifactsBulkAdditionRequestItemRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.solutions.backupRestore.sharePointRestoreSessions.item.siteRestoreArtifactsBulkAdditionRequests.item.SiteRestoreArtifactsBulkAdditionRequestItemRequestBuilder::|public|delete(request_configuration?:RequestConfiguration[QueryParameters]):None +msgraph_beta.generated.solutions.backupRestore.sharePointRestoreSessions.item.siteRestoreArtifactsBulkAdditionRequests.item.SiteRestoreArtifactsBulkAdditionRequestItemRequestBuilder::|public|get(request_configuration?:RequestConfiguration[SiteRestoreArtifactsBulkAdditionRequestItemRequestBuilderGetQueryParameters]):SiteRestoreArtifactsBulkAdditionRequest +msgraph_beta.generated.solutions.backupRestore.sharePointRestoreSessions.item.siteRestoreArtifactsBulkAdditionRequests.item.SiteRestoreArtifactsBulkAdditionRequestItemRequestBuilder::|public|patch(body:SiteRestoreArtifactsBulkAdditionRequest; request_configuration?:RequestConfiguration[QueryParameters]):SiteRestoreArtifactsBulkAdditionRequest +msgraph_beta.generated.solutions.backupRestore.sharePointRestoreSessions.item.siteRestoreArtifactsBulkAdditionRequests.item.SiteRestoreArtifactsBulkAdditionRequestItemRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph_beta.generated.solutions.backupRestore.sharePointRestoreSessions.item.siteRestoreArtifactsBulkAdditionRequests.item.SiteRestoreArtifactsBulkAdditionRequestItemRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.solutions.backupRestore.sharePointRestoreSessions.item.siteRestoreArtifactsBulkAdditionRequests.item.SiteRestoreArtifactsBulkAdditionRequestItemRequestBuilder::|public|to_delete_request_information(request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.solutions.backupRestore.sharePointRestoreSessions.item.siteRestoreArtifactsBulkAdditionRequests.item.SiteRestoreArtifactsBulkAdditionRequestItemRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[SiteRestoreArtifactsBulkAdditionRequestItemRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.solutions.backupRestore.sharePointRestoreSessions.item.siteRestoreArtifactsBulkAdditionRequests.item.SiteRestoreArtifactsBulkAdditionRequestItemRequestBuilder::|public|to_patch_request_information(body:SiteRestoreArtifactsBulkAdditionRequest; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.solutions.backupRestore.sharePointRestoreSessions.item.siteRestoreArtifactsBulkAdditionRequests.item.SiteRestoreArtifactsBulkAdditionRequestItemRequestBuilder::|public|url_template:str +msgraph_beta.generated.solutions.backupRestore.sharePointRestoreSessions.item.siteRestoreArtifactsBulkAdditionRequests.item.SiteRestoreArtifactsBulkAdditionRequestItemRequestBuilder::|public|with_url(raw_url:str):SiteRestoreArtifactsBulkAdditionRequestItemRequestBuilder +msgraph_beta.generated.solutions.backupRestore.sharePointRestoreSessions.item.siteRestoreArtifactsBulkAdditionRequests.SiteRestoreArtifactsBulkAdditionRequestsRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.solutions.backupRestore.sharePointRestoreSessions.item.siteRestoreArtifactsBulkAdditionRequests.SiteRestoreArtifactsBulkAdditionRequestsRequestBuilder.SiteRestoreArtifactsBulkAdditionRequestsRequestBuilderGetQueryParameters::|public|count:bool +msgraph_beta.generated.solutions.backupRestore.sharePointRestoreSessions.item.siteRestoreArtifactsBulkAdditionRequests.SiteRestoreArtifactsBulkAdditionRequestsRequestBuilder.SiteRestoreArtifactsBulkAdditionRequestsRequestBuilderGetQueryParameters::|public|expand:List[str] +msgraph_beta.generated.solutions.backupRestore.sharePointRestoreSessions.item.siteRestoreArtifactsBulkAdditionRequests.SiteRestoreArtifactsBulkAdditionRequestsRequestBuilder.SiteRestoreArtifactsBulkAdditionRequestsRequestBuilderGetQueryParameters::|public|filter:str +msgraph_beta.generated.solutions.backupRestore.sharePointRestoreSessions.item.siteRestoreArtifactsBulkAdditionRequests.SiteRestoreArtifactsBulkAdditionRequestsRequestBuilder.SiteRestoreArtifactsBulkAdditionRequestsRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.solutions.backupRestore.sharePointRestoreSessions.item.siteRestoreArtifactsBulkAdditionRequests.SiteRestoreArtifactsBulkAdditionRequestsRequestBuilder.SiteRestoreArtifactsBulkAdditionRequestsRequestBuilderGetQueryParameters::|public|orderby:List[str] +msgraph_beta.generated.solutions.backupRestore.sharePointRestoreSessions.item.siteRestoreArtifactsBulkAdditionRequests.SiteRestoreArtifactsBulkAdditionRequestsRequestBuilder.SiteRestoreArtifactsBulkAdditionRequestsRequestBuilderGetQueryParameters::|public|search:str +msgraph_beta.generated.solutions.backupRestore.sharePointRestoreSessions.item.siteRestoreArtifactsBulkAdditionRequests.SiteRestoreArtifactsBulkAdditionRequestsRequestBuilder.SiteRestoreArtifactsBulkAdditionRequestsRequestBuilderGetQueryParameters::|public|select:List[str] +msgraph_beta.generated.solutions.backupRestore.sharePointRestoreSessions.item.siteRestoreArtifactsBulkAdditionRequests.SiteRestoreArtifactsBulkAdditionRequestsRequestBuilder.SiteRestoreArtifactsBulkAdditionRequestsRequestBuilderGetQueryParameters::|public|skip:int +msgraph_beta.generated.solutions.backupRestore.sharePointRestoreSessions.item.siteRestoreArtifactsBulkAdditionRequests.SiteRestoreArtifactsBulkAdditionRequestsRequestBuilder.SiteRestoreArtifactsBulkAdditionRequestsRequestBuilderGetQueryParameters::|public|top:int +msgraph_beta.generated.solutions.backupRestore.sharePointRestoreSessions.item.siteRestoreArtifactsBulkAdditionRequests.SiteRestoreArtifactsBulkAdditionRequestsRequestBuilder.SiteRestoreArtifactsBulkAdditionRequestsRequestBuilderGetRequestConfiguration-->RequestConfiguration[SiteRestoreArtifactsBulkAdditionRequestsRequestBuilderGetQueryParameters] +msgraph_beta.generated.solutions.backupRestore.sharePointRestoreSessions.item.siteRestoreArtifactsBulkAdditionRequests.SiteRestoreArtifactsBulkAdditionRequestsRequestBuilder.SiteRestoreArtifactsBulkAdditionRequestsRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.solutions.backupRestore.sharePointRestoreSessions.item.siteRestoreArtifactsBulkAdditionRequests.SiteRestoreArtifactsBulkAdditionRequestsRequestBuilder::|public|by_site_restore_artifacts_bulk_addition_request_id(site_restore_artifacts_bulk_addition_request_id:str):SiteRestoreArtifactsBulkAdditionRequestItemRequestBuilder +msgraph_beta.generated.solutions.backupRestore.sharePointRestoreSessions.item.siteRestoreArtifactsBulkAdditionRequests.SiteRestoreArtifactsBulkAdditionRequestsRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.solutions.backupRestore.sharePointRestoreSessions.item.siteRestoreArtifactsBulkAdditionRequests.SiteRestoreArtifactsBulkAdditionRequestsRequestBuilder::|public|count:CountRequestBuilder +msgraph_beta.generated.solutions.backupRestore.sharePointRestoreSessions.item.siteRestoreArtifactsBulkAdditionRequests.SiteRestoreArtifactsBulkAdditionRequestsRequestBuilder::|public|get(request_configuration?:RequestConfiguration[SiteRestoreArtifactsBulkAdditionRequestsRequestBuilderGetQueryParameters]):SiteRestoreArtifactsBulkAdditionRequestCollectionResponse +msgraph_beta.generated.solutions.backupRestore.sharePointRestoreSessions.item.siteRestoreArtifactsBulkAdditionRequests.SiteRestoreArtifactsBulkAdditionRequestsRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph_beta.generated.solutions.backupRestore.sharePointRestoreSessions.item.siteRestoreArtifactsBulkAdditionRequests.SiteRestoreArtifactsBulkAdditionRequestsRequestBuilder::|public|post(body:SiteRestoreArtifactsBulkAdditionRequest; request_configuration?:RequestConfiguration[QueryParameters]):SiteRestoreArtifactsBulkAdditionRequest +msgraph_beta.generated.solutions.backupRestore.sharePointRestoreSessions.item.siteRestoreArtifactsBulkAdditionRequests.SiteRestoreArtifactsBulkAdditionRequestsRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.solutions.backupRestore.sharePointRestoreSessions.item.siteRestoreArtifactsBulkAdditionRequests.SiteRestoreArtifactsBulkAdditionRequestsRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[SiteRestoreArtifactsBulkAdditionRequestsRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.solutions.backupRestore.sharePointRestoreSessions.item.siteRestoreArtifactsBulkAdditionRequests.SiteRestoreArtifactsBulkAdditionRequestsRequestBuilder::|public|to_post_request_information(body:SiteRestoreArtifactsBulkAdditionRequest; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.solutions.backupRestore.sharePointRestoreSessions.item.siteRestoreArtifactsBulkAdditionRequests.SiteRestoreArtifactsBulkAdditionRequestsRequestBuilder::|public|url_template:str +msgraph_beta.generated.solutions.backupRestore.sharePointRestoreSessions.item.siteRestoreArtifactsBulkAdditionRequests.SiteRestoreArtifactsBulkAdditionRequestsRequestBuilder::|public|with_url(raw_url:str):SiteRestoreArtifactsBulkAdditionRequestsRequestBuilder msgraph_beta.generated.solutions.backupRestore.sharePointRestoreSessions.SharePointRestoreSessionsRequestBuilder-->BaseRequestBuilder msgraph_beta.generated.solutions.backupRestore.sharePointRestoreSessions.SharePointRestoreSessionsRequestBuilder.SharePointRestoreSessionsRequestBuilderGetQueryParameters::|public|count:bool msgraph_beta.generated.solutions.backupRestore.sharePointRestoreSessions.SharePointRestoreSessionsRequestBuilder.SharePointRestoreSessionsRequestBuilderGetQueryParameters::|public|expand:List[str] @@ -299345,6 +300283,18 @@ msgraph_beta.generated.teams.item.owners.OwnersRequestBuilder::|public|request_a msgraph_beta.generated.teams.item.owners.OwnersRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[OwnersRequestBuilderGetQueryParameters]):RequestInformation msgraph_beta.generated.teams.item.owners.OwnersRequestBuilder::|public|url_template:str msgraph_beta.generated.teams.item.owners.OwnersRequestBuilder::|public|with_url(raw_url:str):OwnersRequestBuilder +msgraph_beta.generated.teams.item.ownersWithUserPrincipalName.OwnersWithUserPrincipalNameRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.teams.item.ownersWithUserPrincipalName.OwnersWithUserPrincipalNameRequestBuilder.OwnersWithUserPrincipalNameRequestBuilderGetQueryParameters::|public|expand:List[str] +msgraph_beta.generated.teams.item.ownersWithUserPrincipalName.OwnersWithUserPrincipalNameRequestBuilder.OwnersWithUserPrincipalNameRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.teams.item.ownersWithUserPrincipalName.OwnersWithUserPrincipalNameRequestBuilder.OwnersWithUserPrincipalNameRequestBuilderGetQueryParameters::|public|select:List[str] +msgraph_beta.generated.teams.item.ownersWithUserPrincipalName.OwnersWithUserPrincipalNameRequestBuilder.OwnersWithUserPrincipalNameRequestBuilderGetRequestConfiguration-->RequestConfiguration[OwnersWithUserPrincipalNameRequestBuilderGetQueryParameters] +msgraph_beta.generated.teams.item.ownersWithUserPrincipalName.OwnersWithUserPrincipalNameRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter; user_principal_name?:str):None +msgraph_beta.generated.teams.item.ownersWithUserPrincipalName.OwnersWithUserPrincipalNameRequestBuilder::|public|get(request_configuration?:RequestConfiguration[OwnersWithUserPrincipalNameRequestBuilderGetQueryParameters]):User +msgraph_beta.generated.teams.item.ownersWithUserPrincipalName.OwnersWithUserPrincipalNameRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph_beta.generated.teams.item.ownersWithUserPrincipalName.OwnersWithUserPrincipalNameRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.teams.item.ownersWithUserPrincipalName.OwnersWithUserPrincipalNameRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[OwnersWithUserPrincipalNameRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.teams.item.ownersWithUserPrincipalName.OwnersWithUserPrincipalNameRequestBuilder::|public|url_template:str +msgraph_beta.generated.teams.item.ownersWithUserPrincipalName.OwnersWithUserPrincipalNameRequestBuilder::|public|with_url(raw_url:str):OwnersWithUserPrincipalNameRequestBuilder msgraph_beta.generated.teams.item.permissionGrants.count.CountRequestBuilder-->BaseRequestBuilder msgraph_beta.generated.teams.item.permissionGrants.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|filter:str msgraph_beta.generated.teams.item.permissionGrants.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str @@ -301234,6 +302184,7 @@ msgraph_beta.generated.teams.item.TeamItemRequestBuilder::|public|installed_apps msgraph_beta.generated.teams.item.TeamItemRequestBuilder::|public|members:MembersRequestBuilder msgraph_beta.generated.teams.item.TeamItemRequestBuilder::|public|operations:OperationsRequestBuilder msgraph_beta.generated.teams.item.TeamItemRequestBuilder::|public|owners:OwnersRequestBuilder +msgraph_beta.generated.teams.item.TeamItemRequestBuilder::|public|owners_with_user_principal_name(user_principal_name:str):OwnersWithUserPrincipalNameRequestBuilder msgraph_beta.generated.teams.item.TeamItemRequestBuilder::|public|patch(body:Team; request_configuration?:RequestConfiguration[QueryParameters]):Team msgraph_beta.generated.teams.item.TeamItemRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] msgraph_beta.generated.teams.item.TeamItemRequestBuilder::|public|permission_grants:PermissionGrantsRequestBuilder @@ -302887,6 +303838,18 @@ msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.owners.OwnersR msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.owners.OwnersRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[OwnersRequestBuilderGetQueryParameters]):RequestInformation msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.owners.OwnersRequestBuilder::|public|url_template:str msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.owners.OwnersRequestBuilder::|public|with_url(raw_url:str):OwnersRequestBuilder +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.ownersWithUserPrincipalName.OwnersWithUserPrincipalNameRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.ownersWithUserPrincipalName.OwnersWithUserPrincipalNameRequestBuilder.OwnersWithUserPrincipalNameRequestBuilderGetQueryParameters::|public|expand:List[str] +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.ownersWithUserPrincipalName.OwnersWithUserPrincipalNameRequestBuilder.OwnersWithUserPrincipalNameRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.ownersWithUserPrincipalName.OwnersWithUserPrincipalNameRequestBuilder.OwnersWithUserPrincipalNameRequestBuilderGetQueryParameters::|public|select:List[str] +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.ownersWithUserPrincipalName.OwnersWithUserPrincipalNameRequestBuilder.OwnersWithUserPrincipalNameRequestBuilderGetRequestConfiguration-->RequestConfiguration[OwnersWithUserPrincipalNameRequestBuilderGetQueryParameters] +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.ownersWithUserPrincipalName.OwnersWithUserPrincipalNameRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter; user_principal_name?:str):None +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.ownersWithUserPrincipalName.OwnersWithUserPrincipalNameRequestBuilder::|public|get(request_configuration?:RequestConfiguration[OwnersWithUserPrincipalNameRequestBuilderGetQueryParameters]):User +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.ownersWithUserPrincipalName.OwnersWithUserPrincipalNameRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.ownersWithUserPrincipalName.OwnersWithUserPrincipalNameRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.ownersWithUserPrincipalName.OwnersWithUserPrincipalNameRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[OwnersWithUserPrincipalNameRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.ownersWithUserPrincipalName.OwnersWithUserPrincipalNameRequestBuilder::|public|url_template:str +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.ownersWithUserPrincipalName.OwnersWithUserPrincipalNameRequestBuilder::|public|with_url(raw_url:str):OwnersWithUserPrincipalNameRequestBuilder msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.permissionGrants.count.CountRequestBuilder-->BaseRequestBuilder msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.permissionGrants.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|filter:str msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.permissionGrants.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str @@ -304776,6 +305739,7 @@ msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.TeamDefinition msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.TeamDefinitionRequestBuilder::|public|members:MembersRequestBuilder msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.TeamDefinitionRequestBuilder::|public|operations:OperationsRequestBuilder msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.TeamDefinitionRequestBuilder::|public|owners:OwnersRequestBuilder +msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.TeamDefinitionRequestBuilder::|public|owners_with_user_principal_name(user_principal_name:str):OwnersWithUserPrincipalNameRequestBuilder msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.TeamDefinitionRequestBuilder::|public|patch(body:Team; request_configuration?:RequestConfiguration[QueryParameters]):Team msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.TeamDefinitionRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] msgraph_beta.generated.teamTemplateDefinition.item.teamDefinition.TeamDefinitionRequestBuilder::|public|permission_grants:PermissionGrantsRequestBuilder @@ -307794,6 +308758,18 @@ msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefiniti msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.owners.OwnersRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[OwnersRequestBuilderGetQueryParameters]):RequestInformation msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.owners.OwnersRequestBuilder::|public|url_template:str msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.owners.OwnersRequestBuilder::|public|with_url(raw_url:str):OwnersRequestBuilder +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.ownersWithUserPrincipalName.OwnersWithUserPrincipalNameRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.ownersWithUserPrincipalName.OwnersWithUserPrincipalNameRequestBuilder.OwnersWithUserPrincipalNameRequestBuilderGetQueryParameters::|public|expand:List[str] +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.ownersWithUserPrincipalName.OwnersWithUserPrincipalNameRequestBuilder.OwnersWithUserPrincipalNameRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.ownersWithUserPrincipalName.OwnersWithUserPrincipalNameRequestBuilder.OwnersWithUserPrincipalNameRequestBuilderGetQueryParameters::|public|select:List[str] +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.ownersWithUserPrincipalName.OwnersWithUserPrincipalNameRequestBuilder.OwnersWithUserPrincipalNameRequestBuilderGetRequestConfiguration-->RequestConfiguration[OwnersWithUserPrincipalNameRequestBuilderGetQueryParameters] +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.ownersWithUserPrincipalName.OwnersWithUserPrincipalNameRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter; user_principal_name?:str):None +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.ownersWithUserPrincipalName.OwnersWithUserPrincipalNameRequestBuilder::|public|get(request_configuration?:RequestConfiguration[OwnersWithUserPrincipalNameRequestBuilderGetQueryParameters]):User +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.ownersWithUserPrincipalName.OwnersWithUserPrincipalNameRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.ownersWithUserPrincipalName.OwnersWithUserPrincipalNameRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.ownersWithUserPrincipalName.OwnersWithUserPrincipalNameRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[OwnersWithUserPrincipalNameRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.ownersWithUserPrincipalName.OwnersWithUserPrincipalNameRequestBuilder::|public|url_template:str +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.ownersWithUserPrincipalName.OwnersWithUserPrincipalNameRequestBuilder::|public|with_url(raw_url:str):OwnersWithUserPrincipalNameRequestBuilder msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.permissionGrants.count.CountRequestBuilder-->BaseRequestBuilder msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.permissionGrants.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|filter:str msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.permissionGrants.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str @@ -309683,6 +310659,7 @@ msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefiniti msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.TeamDefinitionRequestBuilder::|public|members:MembersRequestBuilder msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.TeamDefinitionRequestBuilder::|public|operations:OperationsRequestBuilder msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.TeamDefinitionRequestBuilder::|public|owners:OwnersRequestBuilder +msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.TeamDefinitionRequestBuilder::|public|owners_with_user_principal_name(user_principal_name:str):OwnersWithUserPrincipalNameRequestBuilder msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.TeamDefinitionRequestBuilder::|public|patch(body:Team; request_configuration?:RequestConfiguration[QueryParameters]):Team msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.TeamDefinitionRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] msgraph_beta.generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.TeamDefinitionRequestBuilder::|public|permission_grants:PermissionGrantsRequestBuilder @@ -341231,12 +342208,9 @@ msgraph_beta.generated.users.item.managedDevices.item.ManagedDeviceItemRequestBu msgraph_beta.generated.users.item.managedDevices.item.ManagedDeviceItemRequestBuilder::|public|reenable:ReenableRequestBuilder msgraph_beta.generated.users.item.managedDevices.item.ManagedDeviceItemRequestBuilder::|public|remote_lock:RemoteLockRequestBuilder msgraph_beta.generated.users.item.managedDevices.item.ManagedDeviceItemRequestBuilder::|public|remove_device_firmware_configuration_interface_management:RemoveDeviceFirmwareConfigurationInterfaceManagementRequestBuilder -msgraph_beta.generated.users.item.managedDevices.item.ManagedDeviceItemRequestBuilder::|public|reprovision_cloud_pc:ReprovisionCloudPcRequestBuilder msgraph_beta.generated.users.item.managedDevices.item.ManagedDeviceItemRequestBuilder::|public|request_adapter:RequestAdapter msgraph_beta.generated.users.item.managedDevices.item.ManagedDeviceItemRequestBuilder::|public|request_remote_assistance:RequestRemoteAssistanceRequestBuilder msgraph_beta.generated.users.item.managedDevices.item.ManagedDeviceItemRequestBuilder::|public|reset_passcode:ResetPasscodeRequestBuilder -msgraph_beta.generated.users.item.managedDevices.item.ManagedDeviceItemRequestBuilder::|public|resize_cloud_pc:ResizeCloudPcRequestBuilder -msgraph_beta.generated.users.item.managedDevices.item.ManagedDeviceItemRequestBuilder::|public|restore_cloud_pc:RestoreCloudPcRequestBuilder msgraph_beta.generated.users.item.managedDevices.item.ManagedDeviceItemRequestBuilder::|public|retire:RetireRequestBuilder msgraph_beta.generated.users.item.managedDevices.item.ManagedDeviceItemRequestBuilder::|public|revoke_apple_vpp_licenses:RevokeAppleVppLicensesRequestBuilder msgraph_beta.generated.users.item.managedDevices.item.ManagedDeviceItemRequestBuilder::|public|rotate_bit_locker_keys:RotateBitLockerKeysRequestBuilder @@ -341417,15 +342391,6 @@ msgraph_beta.generated.users.item.managedDevices.item.removeDeviceFirmwareConfig msgraph_beta.generated.users.item.managedDevices.item.removeDeviceFirmwareConfigurationInterfaceManagement.RemoveDeviceFirmwareConfigurationInterfaceManagementRequestBuilder::|public|to_post_request_information(request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation msgraph_beta.generated.users.item.managedDevices.item.removeDeviceFirmwareConfigurationInterfaceManagement.RemoveDeviceFirmwareConfigurationInterfaceManagementRequestBuilder::|public|url_template:str msgraph_beta.generated.users.item.managedDevices.item.removeDeviceFirmwareConfigurationInterfaceManagement.RemoveDeviceFirmwareConfigurationInterfaceManagementRequestBuilder::|public|with_url(raw_url:str):RemoveDeviceFirmwareConfigurationInterfaceManagementRequestBuilder -msgraph_beta.generated.users.item.managedDevices.item.reprovisionCloudPc.ReprovisionCloudPcRequestBuilder-->BaseRequestBuilder -msgraph_beta.generated.users.item.managedDevices.item.reprovisionCloudPc.ReprovisionCloudPcRequestBuilder.ReprovisionCloudPcRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] -msgraph_beta.generated.users.item.managedDevices.item.reprovisionCloudPc.ReprovisionCloudPcRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None -msgraph_beta.generated.users.item.managedDevices.item.reprovisionCloudPc.ReprovisionCloudPcRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] -msgraph_beta.generated.users.item.managedDevices.item.reprovisionCloudPc.ReprovisionCloudPcRequestBuilder::|public|post(request_configuration?:RequestConfiguration[QueryParameters]):None -msgraph_beta.generated.users.item.managedDevices.item.reprovisionCloudPc.ReprovisionCloudPcRequestBuilder::|public|request_adapter:RequestAdapter -msgraph_beta.generated.users.item.managedDevices.item.reprovisionCloudPc.ReprovisionCloudPcRequestBuilder::|public|to_post_request_information(request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation -msgraph_beta.generated.users.item.managedDevices.item.reprovisionCloudPc.ReprovisionCloudPcRequestBuilder::|public|url_template:str -msgraph_beta.generated.users.item.managedDevices.item.reprovisionCloudPc.ReprovisionCloudPcRequestBuilder::|public|with_url(raw_url:str):ReprovisionCloudPcRequestBuilder msgraph_beta.generated.users.item.managedDevices.item.requestRemoteAssistance.RequestRemoteAssistanceRequestBuilder-->BaseRequestBuilder msgraph_beta.generated.users.item.managedDevices.item.requestRemoteAssistance.RequestRemoteAssistanceRequestBuilder.RequestRemoteAssistanceRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] msgraph_beta.generated.users.item.managedDevices.item.requestRemoteAssistance.RequestRemoteAssistanceRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None @@ -341444,44 +342409,6 @@ msgraph_beta.generated.users.item.managedDevices.item.resetPasscode.ResetPasscod msgraph_beta.generated.users.item.managedDevices.item.resetPasscode.ResetPasscodeRequestBuilder::|public|to_post_request_information(request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation msgraph_beta.generated.users.item.managedDevices.item.resetPasscode.ResetPasscodeRequestBuilder::|public|url_template:str msgraph_beta.generated.users.item.managedDevices.item.resetPasscode.ResetPasscodeRequestBuilder::|public|with_url(raw_url:str):ResetPasscodeRequestBuilder -msgraph_beta.generated.users.item.managedDevices.item.resizeCloudPc.ResizeCloudPcPostRequestBody::|public|additional_data():Dict[str, Any] -msgraph_beta.generated.users.item.managedDevices.item.resizeCloudPc.ResizeCloudPcPostRequestBody::|public|additional_data(value:Dict[str, Any]):None -msgraph_beta.generated.users.item.managedDevices.item.resizeCloudPc.ResizeCloudPcPostRequestBody::|public|backing_store:BackingStore -msgraph_beta.generated.users.item.managedDevices.item.resizeCloudPc.ResizeCloudPcPostRequestBody::|public|constructor():None -msgraph_beta.generated.users.item.managedDevices.item.resizeCloudPc.ResizeCloudPcPostRequestBody::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] -msgraph_beta.generated.users.item.managedDevices.item.resizeCloudPc.ResizeCloudPcPostRequestBody::|public|serialize(writer:SerializationWriter):None -msgraph_beta.generated.users.item.managedDevices.item.resizeCloudPc.ResizeCloudPcPostRequestBody::|public|target_service_plan_id():str -msgraph_beta.generated.users.item.managedDevices.item.resizeCloudPc.ResizeCloudPcPostRequestBody::|public|target_service_plan_id(value:str):None -msgraph_beta.generated.users.item.managedDevices.item.resizeCloudPc.ResizeCloudPcPostRequestBody::|static|public|create_from_discriminator_value(parse_node:ParseNode):ResizeCloudPcPostRequestBody -msgraph_beta.generated.users.item.managedDevices.item.resizeCloudPc.ResizeCloudPcPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable -msgraph_beta.generated.users.item.managedDevices.item.resizeCloudPc.ResizeCloudPcRequestBuilder-->BaseRequestBuilder -msgraph_beta.generated.users.item.managedDevices.item.resizeCloudPc.ResizeCloudPcRequestBuilder.ResizeCloudPcRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] -msgraph_beta.generated.users.item.managedDevices.item.resizeCloudPc.ResizeCloudPcRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None -msgraph_beta.generated.users.item.managedDevices.item.resizeCloudPc.ResizeCloudPcRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] -msgraph_beta.generated.users.item.managedDevices.item.resizeCloudPc.ResizeCloudPcRequestBuilder::|public|post(body:ResizeCloudPcPostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):None -msgraph_beta.generated.users.item.managedDevices.item.resizeCloudPc.ResizeCloudPcRequestBuilder::|public|request_adapter:RequestAdapter -msgraph_beta.generated.users.item.managedDevices.item.resizeCloudPc.ResizeCloudPcRequestBuilder::|public|to_post_request_information(body:ResizeCloudPcPostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation -msgraph_beta.generated.users.item.managedDevices.item.resizeCloudPc.ResizeCloudPcRequestBuilder::|public|url_template:str -msgraph_beta.generated.users.item.managedDevices.item.resizeCloudPc.ResizeCloudPcRequestBuilder::|public|with_url(raw_url:str):ResizeCloudPcRequestBuilder -msgraph_beta.generated.users.item.managedDevices.item.restoreCloudPc.RestoreCloudPcPostRequestBody::|public|additional_data():Dict[str, Any] -msgraph_beta.generated.users.item.managedDevices.item.restoreCloudPc.RestoreCloudPcPostRequestBody::|public|additional_data(value:Dict[str, Any]):None -msgraph_beta.generated.users.item.managedDevices.item.restoreCloudPc.RestoreCloudPcPostRequestBody::|public|backing_store:BackingStore -msgraph_beta.generated.users.item.managedDevices.item.restoreCloudPc.RestoreCloudPcPostRequestBody::|public|cloud_pc_snapshot_id():str -msgraph_beta.generated.users.item.managedDevices.item.restoreCloudPc.RestoreCloudPcPostRequestBody::|public|cloud_pc_snapshot_id(value:str):None -msgraph_beta.generated.users.item.managedDevices.item.restoreCloudPc.RestoreCloudPcPostRequestBody::|public|constructor():None -msgraph_beta.generated.users.item.managedDevices.item.restoreCloudPc.RestoreCloudPcPostRequestBody::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] -msgraph_beta.generated.users.item.managedDevices.item.restoreCloudPc.RestoreCloudPcPostRequestBody::|public|serialize(writer:SerializationWriter):None -msgraph_beta.generated.users.item.managedDevices.item.restoreCloudPc.RestoreCloudPcPostRequestBody::|static|public|create_from_discriminator_value(parse_node:ParseNode):RestoreCloudPcPostRequestBody -msgraph_beta.generated.users.item.managedDevices.item.restoreCloudPc.RestoreCloudPcPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable -msgraph_beta.generated.users.item.managedDevices.item.restoreCloudPc.RestoreCloudPcRequestBuilder-->BaseRequestBuilder -msgraph_beta.generated.users.item.managedDevices.item.restoreCloudPc.RestoreCloudPcRequestBuilder.RestoreCloudPcRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] -msgraph_beta.generated.users.item.managedDevices.item.restoreCloudPc.RestoreCloudPcRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None -msgraph_beta.generated.users.item.managedDevices.item.restoreCloudPc.RestoreCloudPcRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] -msgraph_beta.generated.users.item.managedDevices.item.restoreCloudPc.RestoreCloudPcRequestBuilder::|public|post(body:RestoreCloudPcPostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):None -msgraph_beta.generated.users.item.managedDevices.item.restoreCloudPc.RestoreCloudPcRequestBuilder::|public|request_adapter:RequestAdapter -msgraph_beta.generated.users.item.managedDevices.item.restoreCloudPc.RestoreCloudPcRequestBuilder::|public|to_post_request_information(body:RestoreCloudPcPostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation -msgraph_beta.generated.users.item.managedDevices.item.restoreCloudPc.RestoreCloudPcRequestBuilder::|public|url_template:str -msgraph_beta.generated.users.item.managedDevices.item.restoreCloudPc.RestoreCloudPcRequestBuilder::|public|with_url(raw_url:str):RestoreCloudPcRequestBuilder msgraph_beta.generated.users.item.managedDevices.item.retire.RetireRequestBuilder-->BaseRequestBuilder msgraph_beta.generated.users.item.managedDevices.item.retire.RetireRequestBuilder.RetireRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] msgraph_beta.generated.users.item.managedDevices.item.retire.RetireRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None @@ -352933,6 +353860,24 @@ msgraph_beta.generated.users.validateProperties.ValidatePropertiesRequestBuilder msgraph_beta.generated.users.validateProperties.ValidatePropertiesRequestBuilder::|public|to_post_request_information(body:ValidatePropertiesPostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation msgraph_beta.generated.users.validateProperties.ValidatePropertiesRequestBuilder::|public|url_template:str msgraph_beta.generated.users.validateProperties.ValidatePropertiesRequestBuilder::|public|with_url(raw_url:str):ValidatePropertiesRequestBuilder +msgraph_beta.generated.usersWithUserPrincipalName.UsersWithUserPrincipalNameRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.usersWithUserPrincipalName.UsersWithUserPrincipalNameRequestBuilder.UsersWithUserPrincipalNameRequestBuilderDeleteRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.usersWithUserPrincipalName.UsersWithUserPrincipalNameRequestBuilder.UsersWithUserPrincipalNameRequestBuilderGetQueryParameters::|public|expand:List[str] +msgraph_beta.generated.usersWithUserPrincipalName.UsersWithUserPrincipalNameRequestBuilder.UsersWithUserPrincipalNameRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.usersWithUserPrincipalName.UsersWithUserPrincipalNameRequestBuilder.UsersWithUserPrincipalNameRequestBuilderGetQueryParameters::|public|select:List[str] +msgraph_beta.generated.usersWithUserPrincipalName.UsersWithUserPrincipalNameRequestBuilder.UsersWithUserPrincipalNameRequestBuilderGetRequestConfiguration-->RequestConfiguration[UsersWithUserPrincipalNameRequestBuilderGetQueryParameters] +msgraph_beta.generated.usersWithUserPrincipalName.UsersWithUserPrincipalNameRequestBuilder.UsersWithUserPrincipalNameRequestBuilderPatchRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.usersWithUserPrincipalName.UsersWithUserPrincipalNameRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter; user_principal_name?:str):None +msgraph_beta.generated.usersWithUserPrincipalName.UsersWithUserPrincipalNameRequestBuilder::|public|delete(request_configuration?:RequestConfiguration[QueryParameters]):None +msgraph_beta.generated.usersWithUserPrincipalName.UsersWithUserPrincipalNameRequestBuilder::|public|get(request_configuration?:RequestConfiguration[UsersWithUserPrincipalNameRequestBuilderGetQueryParameters]):User +msgraph_beta.generated.usersWithUserPrincipalName.UsersWithUserPrincipalNameRequestBuilder::|public|patch(body:User; request_configuration?:RequestConfiguration[QueryParameters]):User +msgraph_beta.generated.usersWithUserPrincipalName.UsersWithUserPrincipalNameRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph_beta.generated.usersWithUserPrincipalName.UsersWithUserPrincipalNameRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.usersWithUserPrincipalName.UsersWithUserPrincipalNameRequestBuilder::|public|to_delete_request_information(request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.usersWithUserPrincipalName.UsersWithUserPrincipalNameRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[UsersWithUserPrincipalNameRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.usersWithUserPrincipalName.UsersWithUserPrincipalNameRequestBuilder::|public|to_patch_request_information(body:User; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.usersWithUserPrincipalName.UsersWithUserPrincipalNameRequestBuilder::|public|url_template:str +msgraph_beta.generated.usersWithUserPrincipalName.UsersWithUserPrincipalNameRequestBuilder::|public|with_url(raw_url:str):UsersWithUserPrincipalNameRequestBuilder msgraph_beta.generated.workplace.sensorDevices.count.CountRequestBuilder-->BaseRequestBuilder msgraph_beta.generated.workplace.sensorDevices.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|filter:str msgraph_beta.generated.workplace.sensorDevices.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str diff --git a/msgraph_beta/generated/kiota-lock.json b/msgraph_beta/generated/kiota-lock.json index df4ee7d32d0..c6094d95839 100644 --- a/msgraph_beta/generated/kiota-lock.json +++ b/msgraph_beta/generated/kiota-lock.json @@ -1,5 +1,5 @@ { - "descriptionHash": "DBE5DE0CBA4894792B7D7E02465BF1DA6F44CADF8ABE1668ECBFD5B42339225EFEFB85F86C6299821E9D24E12EC83142A597DA175F860F78922B26535AE72B83", + "descriptionHash": "BCE655FEBE05572BA6F08E504504E1C78FCCD6B3EDA68569E827896E78D1B2120C4CD29669EFD188D1AF9A573FF3D9F355EB05301687A914B8BFCF2BF6F1567B", "descriptionLocation": "../../msgraph-metadata/clean_beta_openapi/openapi.yaml", "lockFileVersion": "1.0.0", "kiotaVersion": "1.20.0", diff --git a/msgraph_beta/generated/message_events/count/count_request_builder.py b/msgraph_beta/generated/message_events/count/count_request_builder.py index 401a45775ea..9a66c612882 100644 --- a/msgraph_beta/generated/message_events/count/count_request_builder.py +++ b/msgraph_beta/generated/message_events/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/message_recipients/count/count_request_builder.py b/msgraph_beta/generated/message_recipients/count/count_request_builder.py index 5f514ebf571..8290d7ed9a6 100644 --- a/msgraph_beta/generated/message_recipients/count/count_request_builder.py +++ b/msgraph_beta/generated/message_recipients/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/message_recipients/item/events/count/count_request_builder.py b/msgraph_beta/generated/message_recipients/item/events/count/count_request_builder.py index f679381ac60..976ea555573 100644 --- a/msgraph_beta/generated/message_recipients/item/events/count/count_request_builder.py +++ b/msgraph_beta/generated/message_recipients/item/events/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/message_traces/count/count_request_builder.py b/msgraph_beta/generated/message_traces/count/count_request_builder.py index e4655211230..d91b4e5f959 100644 --- a/msgraph_beta/generated/message_traces/count/count_request_builder.py +++ b/msgraph_beta/generated/message_traces/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/message_traces/item/recipients/count/count_request_builder.py b/msgraph_beta/generated/message_traces/item/recipients/count/count_request_builder.py index c796939f00a..17fa2b76003 100644 --- a/msgraph_beta/generated/message_traces/item/recipients/count/count_request_builder.py +++ b/msgraph_beta/generated/message_traces/item/recipients/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/message_traces/item/recipients/item/events/count/count_request_builder.py b/msgraph_beta/generated/message_traces/item/recipients/item/events/count/count_request_builder.py index cb9b9e53c71..aab583bc5bf 100644 --- a/msgraph_beta/generated/message_traces/item/recipients/item/events/count/count_request_builder.py +++ b/msgraph_beta/generated/message_traces/item/recipients/item/events/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/mobility_management_policies/count/count_request_builder.py b/msgraph_beta/generated/mobility_management_policies/count/count_request_builder.py index 25d550cd1f0..deb63565b3e 100644 --- a/msgraph_beta/generated/mobility_management_policies/count/count_request_builder.py +++ b/msgraph_beta/generated/mobility_management_policies/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/mobility_management_policies/item/included_groups/count/count_request_builder.py b/msgraph_beta/generated/mobility_management_policies/item/included_groups/count/count_request_builder.py index 9892329724d..93a4fc96e65 100644 --- a/msgraph_beta/generated/mobility_management_policies/item/included_groups/count/count_request_builder.py +++ b/msgraph_beta/generated/mobility_management_policies/item/included_groups/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/mobility_management_policies/item/included_groups/item/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/mobility_management_policies/item/included_groups/item/service_provisioning_errors/count/count_request_builder.py index a4c91ecfdc7..db69c856fe5 100644 --- a/msgraph_beta/generated/mobility_management_policies/item/included_groups/item/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/mobility_management_policies/item/included_groups/item/service_provisioning_errors/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/models/aad_source.py b/msgraph_beta/generated/models/aad_source.py index e68c2011b15..5efcb54868c 100644 --- a/msgraph_beta/generated/models/aad_source.py +++ b/msgraph_beta/generated/models/aad_source.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .authorization_system_identity_source import AuthorizationSystemIdentitySource + writer.write_str_value("domain", self.domain) diff --git a/msgraph_beta/generated/models/aad_user_conversation_member.py b/msgraph_beta/generated/models/aad_user_conversation_member.py index ecb68d0208e..669613584a9 100644 --- a/msgraph_beta/generated/models/aad_user_conversation_member.py +++ b/msgraph_beta/generated/models/aad_user_conversation_member.py @@ -63,6 +63,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .conversation_member import ConversationMember + from .user import User + writer.write_str_value("email", self.email) writer.write_str_value("tenantId", self.tenant_id) writer.write_object_value("user", self.user) diff --git a/msgraph_beta/generated/models/aad_user_conversation_member_result.py b/msgraph_beta/generated/models/aad_user_conversation_member_result.py index feca609f881..9ec2cee0d55 100644 --- a/msgraph_beta/generated/models/aad_user_conversation_member_result.py +++ b/msgraph_beta/generated/models/aad_user_conversation_member_result.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .action_result_part import ActionResultPart + writer.write_str_value("userId", self.user_id) diff --git a/msgraph_beta/generated/models/aad_user_notification_recipient.py b/msgraph_beta/generated/models/aad_user_notification_recipient.py index ebe49c59028..7e4522ed892 100644 --- a/msgraph_beta/generated/models/aad_user_notification_recipient.py +++ b/msgraph_beta/generated/models/aad_user_notification_recipient.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .teamwork_notification_recipient import TeamworkNotificationRecipient + writer.write_str_value("userId", self.user_id) diff --git a/msgraph_beta/generated/models/access_package.py b/msgraph_beta/generated/models/access_package.py index 60cb23d9b5c..4a40a8bbcb1 100644 --- a/msgraph_beta/generated/models/access_package.py +++ b/msgraph_beta/generated/models/access_package.py @@ -109,6 +109,12 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .access_package_assignment_policy import AccessPackageAssignmentPolicy + from .access_package_catalog import AccessPackageCatalog + from .access_package_resource_role_scope import AccessPackageResourceRoleScope + from .entity import Entity + from .group import Group + writer.write_collection_of_object_values("accessPackageAssignmentPolicies", self.access_package_assignment_policies) writer.write_object_value("accessPackageCatalog", self.access_package_catalog) writer.write_collection_of_object_values("accessPackageResourceRoleScopes", self.access_package_resource_role_scopes) diff --git a/msgraph_beta/generated/models/access_package_answer.py b/msgraph_beta/generated/models/access_package_answer.py index bc4a2aedd94..ecf53c83057 100644 --- a/msgraph_beta/generated/models/access_package_answer.py +++ b/msgraph_beta/generated/models/access_package_answer.py @@ -32,7 +32,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> AccessPackageAnswe if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.accessPackageAnswerString".casefold(): @@ -67,6 +68,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .access_package_answer_string import AccessPackageAnswerString + from .access_package_question import AccessPackageQuestion + writer.write_object_value("answeredQuestion", self.answered_question) writer.write_str_value("displayValue", self.display_value) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/access_package_answer_choice.py b/msgraph_beta/generated/models/access_package_answer_choice.py index 802b48876d1..ba0f495b5f0 100644 --- a/msgraph_beta/generated/models/access_package_answer_choice.py +++ b/msgraph_beta/generated/models/access_package_answer_choice.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .access_package_localized_content import AccessPackageLocalizedContent + writer.write_str_value("actualValue", self.actual_value) writer.write_object_value("displayValue", self.display_value) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/access_package_answer_string.py b/msgraph_beta/generated/models/access_package_answer_string.py index ba143e5c7e4..fefd42daff9 100644 --- a/msgraph_beta/generated/models/access_package_answer_string.py +++ b/msgraph_beta/generated/models/access_package_answer_string.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .access_package_answer import AccessPackageAnswer + writer.write_str_value("value", self.value) diff --git a/msgraph_beta/generated/models/access_package_assignment.py b/msgraph_beta/generated/models/access_package_assignment.py index 1931830be88..44a91dd6a7f 100644 --- a/msgraph_beta/generated/models/access_package_assignment.py +++ b/msgraph_beta/generated/models/access_package_assignment.py @@ -115,6 +115,15 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .access_package import AccessPackage + from .access_package_assignment_policy import AccessPackageAssignmentPolicy + from .access_package_assignment_request import AccessPackageAssignmentRequest + from .access_package_assignment_resource_role import AccessPackageAssignmentResourceRole + from .access_package_subject import AccessPackageSubject + from .custom_extension_callout_instance import CustomExtensionCalloutInstance + from .entity import Entity + from .request_schedule import RequestSchedule + writer.write_object_value("accessPackage", self.access_package) writer.write_object_value("accessPackageAssignmentPolicy", self.access_package_assignment_policy) writer.write_collection_of_object_values("accessPackageAssignmentRequests", self.access_package_assignment_requests) diff --git a/msgraph_beta/generated/models/access_package_assignment_collection_response.py b/msgraph_beta/generated/models/access_package_assignment_collection_response.py index 4c1b07dbc57..e49b1c4afe3 100644 --- a/msgraph_beta/generated/models/access_package_assignment_collection_response.py +++ b/msgraph_beta/generated/models/access_package_assignment_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .access_package_assignment import AccessPackageAssignment + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/access_package_assignment_policy.py b/msgraph_beta/generated/models/access_package_assignment_policy.py index c964781d168..9fcb2b38b27 100644 --- a/msgraph_beta/generated/models/access_package_assignment_policy.py +++ b/msgraph_beta/generated/models/access_package_assignment_policy.py @@ -139,6 +139,18 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .access_package import AccessPackage + from .access_package_catalog import AccessPackageCatalog + from .access_package_notification_settings import AccessPackageNotificationSettings + from .access_package_question import AccessPackageQuestion + from .approval_settings import ApprovalSettings + from .assignment_review_settings import AssignmentReviewSettings + from .custom_extension_handler import CustomExtensionHandler + from .custom_extension_stage_setting import CustomExtensionStageSetting + from .entity import Entity + from .requestor_settings import RequestorSettings + from .verifiable_credential_settings import VerifiableCredentialSettings + writer.write_object_value("accessPackage", self.access_package) writer.write_object_value("accessPackageCatalog", self.access_package_catalog) writer.write_str_value("accessPackageId", self.access_package_id) diff --git a/msgraph_beta/generated/models/access_package_assignment_policy_collection_response.py b/msgraph_beta/generated/models/access_package_assignment_policy_collection_response.py index fe52c8be81e..326288b4842 100644 --- a/msgraph_beta/generated/models/access_package_assignment_policy_collection_response.py +++ b/msgraph_beta/generated/models/access_package_assignment_policy_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .access_package_assignment_policy import AccessPackageAssignmentPolicy + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/access_package_assignment_request.py b/msgraph_beta/generated/models/access_package_assignment_request.py index 23ff3e0d7d3..6380420d918 100644 --- a/msgraph_beta/generated/models/access_package_assignment_request.py +++ b/msgraph_beta/generated/models/access_package_assignment_request.py @@ -127,6 +127,17 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .access_package import AccessPackage + from .access_package_answer import AccessPackageAnswer + from .access_package_assignment import AccessPackageAssignment + from .access_package_subject import AccessPackageSubject + from .custom_extension_callout_instance import CustomExtensionCalloutInstance + from .custom_extension_handler_instance import CustomExtensionHandlerInstance + from .entity import Entity + from .request_activity import RequestActivity + from .request_schedule import RequestSchedule + from .verified_credential_data import VerifiedCredentialData + writer.write_object_value("accessPackage", self.access_package) writer.write_object_value("accessPackageAssignment", self.access_package_assignment) writer.write_collection_of_object_values("answers", self.answers) diff --git a/msgraph_beta/generated/models/access_package_assignment_request_callback_data.py b/msgraph_beta/generated/models/access_package_assignment_request_callback_data.py index df8176c488d..02f25d0a787 100644 --- a/msgraph_beta/generated/models/access_package_assignment_request_callback_data.py +++ b/msgraph_beta/generated/models/access_package_assignment_request_callback_data.py @@ -63,6 +63,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .access_package_custom_extension_stage import AccessPackageCustomExtensionStage + from .custom_extension_data import CustomExtensionData + writer.write_str_value("customExtensionStageInstanceDetail", self.custom_extension_stage_instance_detail) writer.write_str_value("customExtensionStageInstanceId", self.custom_extension_stage_instance_id) writer.write_enum_value("stage", self.stage) diff --git a/msgraph_beta/generated/models/access_package_assignment_request_collection_response.py b/msgraph_beta/generated/models/access_package_assignment_request_collection_response.py index 9d9574416f9..9abf78f920b 100644 --- a/msgraph_beta/generated/models/access_package_assignment_request_collection_response.py +++ b/msgraph_beta/generated/models/access_package_assignment_request_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .access_package_assignment_request import AccessPackageAssignmentRequest + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/access_package_assignment_request_requirements.py b/msgraph_beta/generated/models/access_package_assignment_request_requirements.py index e855e3271db..8f59da8b82e 100644 --- a/msgraph_beta/generated/models/access_package_assignment_request_requirements.py +++ b/msgraph_beta/generated/models/access_package_assignment_request_requirements.py @@ -92,6 +92,11 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .access_package_answer import AccessPackageAnswer + from .access_package_question import AccessPackageQuestion + from .request_schedule import RequestSchedule + from .verifiable_credential_requirement_status import VerifiableCredentialRequirementStatus + writer.write_collection_of_object_values("existingAnswers", self.existing_answers) writer.write_bool_value("isApprovalRequired", self.is_approval_required) writer.write_bool_value("isApprovalRequiredForExtension", self.is_approval_required_for_extension) diff --git a/msgraph_beta/generated/models/access_package_assignment_request_workflow_extension.py b/msgraph_beta/generated/models/access_package_assignment_request_workflow_extension.py index ff986a64246..b08b031ca7c 100644 --- a/msgraph_beta/generated/models/access_package_assignment_request_workflow_extension.py +++ b/msgraph_beta/generated/models/access_package_assignment_request_workflow_extension.py @@ -67,6 +67,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .custom_callout_extension import CustomCalloutExtension + from .custom_extension_callback_configuration import CustomExtensionCallbackConfiguration + writer.write_object_value("callbackConfiguration", self.callback_configuration) writer.write_str_value("createdBy", self.created_by) writer.write_datetime_value("createdDateTime", self.created_date_time) diff --git a/msgraph_beta/generated/models/access_package_assignment_resource_role.py b/msgraph_beta/generated/models/access_package_assignment_resource_role.py index 9ca4ac70df2..471b9cfaa57 100644 --- a/msgraph_beta/generated/models/access_package_assignment_resource_role.py +++ b/msgraph_beta/generated/models/access_package_assignment_resource_role.py @@ -81,6 +81,12 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .access_package_assignment import AccessPackageAssignment + from .access_package_resource_role import AccessPackageResourceRole + from .access_package_resource_scope import AccessPackageResourceScope + from .access_package_subject import AccessPackageSubject + from .entity import Entity + writer.write_collection_of_object_values("accessPackageAssignments", self.access_package_assignments) writer.write_object_value("accessPackageResourceRole", self.access_package_resource_role) writer.write_object_value("accessPackageResourceScope", self.access_package_resource_scope) diff --git a/msgraph_beta/generated/models/access_package_assignment_resource_role_collection_response.py b/msgraph_beta/generated/models/access_package_assignment_resource_role_collection_response.py index cbf112759eb..8405eb192fa 100644 --- a/msgraph_beta/generated/models/access_package_assignment_resource_role_collection_response.py +++ b/msgraph_beta/generated/models/access_package_assignment_resource_role_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .access_package_assignment_resource_role import AccessPackageAssignmentResourceRole + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/access_package_assignment_workflow_extension.py b/msgraph_beta/generated/models/access_package_assignment_workflow_extension.py index 425f373e4ed..0cf149c3a91 100644 --- a/msgraph_beta/generated/models/access_package_assignment_workflow_extension.py +++ b/msgraph_beta/generated/models/access_package_assignment_workflow_extension.py @@ -67,6 +67,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .custom_callout_extension import CustomCalloutExtension + from .custom_extension_callback_configuration import CustomExtensionCallbackConfiguration + writer.write_object_value("callbackConfiguration", self.callback_configuration) writer.write_str_value("createdBy", self.created_by) writer.write_datetime_value("createdDateTime", self.created_date_time) diff --git a/msgraph_beta/generated/models/access_package_catalog.py b/msgraph_beta/generated/models/access_package_catalog.py index c1a0c5f290d..78341c39b81 100644 --- a/msgraph_beta/generated/models/access_package_catalog.py +++ b/msgraph_beta/generated/models/access_package_catalog.py @@ -115,6 +115,14 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .access_package import AccessPackage + from .access_package_resource import AccessPackageResource + from .access_package_resource_role import AccessPackageResourceRole + from .access_package_resource_scope import AccessPackageResourceScope + from .custom_access_package_workflow_extension import CustomAccessPackageWorkflowExtension + from .custom_callout_extension import CustomCalloutExtension + from .entity import Entity + writer.write_collection_of_object_values("accessPackageCustomWorkflowExtensions", self.access_package_custom_workflow_extensions) writer.write_collection_of_object_values("accessPackageResourceRoles", self.access_package_resource_roles) writer.write_collection_of_object_values("accessPackageResourceScopes", self.access_package_resource_scopes) diff --git a/msgraph_beta/generated/models/access_package_catalog_collection_response.py b/msgraph_beta/generated/models/access_package_catalog_collection_response.py index f75118aa0a0..f4933cc0d76 100644 --- a/msgraph_beta/generated/models/access_package_catalog_collection_response.py +++ b/msgraph_beta/generated/models/access_package_catalog_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .access_package_catalog import AccessPackageCatalog + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/access_package_collection_response.py b/msgraph_beta/generated/models/access_package_collection_response.py index be95e6d90c7..c668b9792fb 100644 --- a/msgraph_beta/generated/models/access_package_collection_response.py +++ b/msgraph_beta/generated/models/access_package_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .access_package import AccessPackage + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/access_package_localized_content.py b/msgraph_beta/generated/models/access_package_localized_content.py index cce4e38ca20..d69caa0a284 100644 --- a/msgraph_beta/generated/models/access_package_localized_content.py +++ b/msgraph_beta/generated/models/access_package_localized_content.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .access_package_localized_text import AccessPackageLocalizedText + writer.write_str_value("defaultText", self.default_text) writer.write_collection_of_object_values("localizedTexts", self.localized_texts) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/access_package_multiple_choice_question.py b/msgraph_beta/generated/models/access_package_multiple_choice_question.py index 49b3893c63e..e72e3eb1416 100644 --- a/msgraph_beta/generated/models/access_package_multiple_choice_question.py +++ b/msgraph_beta/generated/models/access_package_multiple_choice_question.py @@ -57,6 +57,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .access_package_answer_choice import AccessPackageAnswerChoice + from .access_package_question import AccessPackageQuestion + writer.write_bool_value("allowsMultipleSelection", self.allows_multiple_selection) writer.write_collection_of_object_values("choices", self.choices) diff --git a/msgraph_beta/generated/models/access_package_question.py b/msgraph_beta/generated/models/access_package_question.py index 6e3a9977b0c..d9d879ef243 100644 --- a/msgraph_beta/generated/models/access_package_question.py +++ b/msgraph_beta/generated/models/access_package_question.py @@ -39,7 +39,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> AccessPackageQuest if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.accessPackageMultipleChoiceQuestion".casefold(): @@ -83,6 +84,10 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .access_package_localized_content import AccessPackageLocalizedContent + from .access_package_multiple_choice_question import AccessPackageMultipleChoiceQuestion + from .access_package_text_input_question import AccessPackageTextInputQuestion + writer.write_str_value("id", self.id) writer.write_bool_value("isAnswerEditable", self.is_answer_editable) writer.write_bool_value("isRequired", self.is_required) diff --git a/msgraph_beta/generated/models/access_package_resource.py b/msgraph_beta/generated/models/access_package_resource.py index 4a1dba22698..3037524aee7 100644 --- a/msgraph_beta/generated/models/access_package_resource.py +++ b/msgraph_beta/generated/models/access_package_resource.py @@ -100,6 +100,12 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .access_package_resource_attribute import AccessPackageResourceAttribute + from .access_package_resource_environment import AccessPackageResourceEnvironment + from .access_package_resource_role import AccessPackageResourceRole + from .access_package_resource_scope import AccessPackageResourceScope + from .entity import Entity + writer.write_object_value("accessPackageResourceEnvironment", self.access_package_resource_environment) writer.write_collection_of_object_values("accessPackageResourceRoles", self.access_package_resource_roles) writer.write_collection_of_object_values("accessPackageResourceScopes", self.access_package_resource_scopes) diff --git a/msgraph_beta/generated/models/access_package_resource_attribute.py b/msgraph_beta/generated/models/access_package_resource_attribute.py index 5fb3916a250..7979d102eaf 100644 --- a/msgraph_beta/generated/models/access_package_resource_attribute.py +++ b/msgraph_beta/generated/models/access_package_resource_attribute.py @@ -71,6 +71,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .access_package_resource_attribute_destination import AccessPackageResourceAttributeDestination + from .access_package_resource_attribute_source import AccessPackageResourceAttributeSource + writer.write_object_value("attributeDestination", self.attribute_destination) writer.write_str_value("attributeName", self.attribute_name) writer.write_object_value("attributeSource", self.attribute_source) diff --git a/msgraph_beta/generated/models/access_package_resource_attribute_destination.py b/msgraph_beta/generated/models/access_package_resource_attribute_destination.py index 686559b1ca0..09e7dbaa555 100644 --- a/msgraph_beta/generated/models/access_package_resource_attribute_destination.py +++ b/msgraph_beta/generated/models/access_package_resource_attribute_destination.py @@ -27,7 +27,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> AccessPackageResou if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.accessPackageUserDirectoryAttributeStore".casefold(): @@ -58,6 +59,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .access_package_user_directory_attribute_store import AccessPackageUserDirectoryAttributeStore + writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/access_package_resource_attribute_question.py b/msgraph_beta/generated/models/access_package_resource_attribute_question.py index 959f3203c55..b50b6d686be 100644 --- a/msgraph_beta/generated/models/access_package_resource_attribute_question.py +++ b/msgraph_beta/generated/models/access_package_resource_attribute_question.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .access_package_question import AccessPackageQuestion + from .access_package_resource_attribute_source import AccessPackageResourceAttributeSource + writer.write_object_value("question", self.question) diff --git a/msgraph_beta/generated/models/access_package_resource_attribute_source.py b/msgraph_beta/generated/models/access_package_resource_attribute_source.py index a2a6cad20ee..d7cc38e8e2d 100644 --- a/msgraph_beta/generated/models/access_package_resource_attribute_source.py +++ b/msgraph_beta/generated/models/access_package_resource_attribute_source.py @@ -27,7 +27,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> AccessPackageResou if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.accessPackageResourceAttributeQuestion".casefold(): @@ -58,6 +59,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .access_package_resource_attribute_question import AccessPackageResourceAttributeQuestion + writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/access_package_resource_collection_response.py b/msgraph_beta/generated/models/access_package_resource_collection_response.py index f3c51ba9530..7ef79c3c4b6 100644 --- a/msgraph_beta/generated/models/access_package_resource_collection_response.py +++ b/msgraph_beta/generated/models/access_package_resource_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .access_package_resource import AccessPackageResource + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/access_package_resource_environment.py b/msgraph_beta/generated/models/access_package_resource_environment.py index 6a9656992c3..cd8db187067 100644 --- a/msgraph_beta/generated/models/access_package_resource_environment.py +++ b/msgraph_beta/generated/models/access_package_resource_environment.py @@ -88,6 +88,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .access_package_resource import AccessPackageResource + from .connection_info import ConnectionInfo + from .entity import Entity + writer.write_collection_of_object_values("accessPackageResources", self.access_package_resources) writer.write_object_value("connectionInfo", self.connection_info) writer.write_str_value("createdBy", self.created_by) diff --git a/msgraph_beta/generated/models/access_package_resource_environment_collection_response.py b/msgraph_beta/generated/models/access_package_resource_environment_collection_response.py index 5a3298c405e..27819caf3c4 100644 --- a/msgraph_beta/generated/models/access_package_resource_environment_collection_response.py +++ b/msgraph_beta/generated/models/access_package_resource_environment_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .access_package_resource_environment import AccessPackageResourceEnvironment + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/access_package_resource_request.py b/msgraph_beta/generated/models/access_package_resource_request.py index e10af4dfd20..36514a2e340 100644 --- a/msgraph_beta/generated/models/access_package_resource_request.py +++ b/msgraph_beta/generated/models/access_package_resource_request.py @@ -85,6 +85,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .access_package_resource import AccessPackageResource + from .access_package_subject import AccessPackageSubject + from .entity import Entity + writer.write_object_value("accessPackageResource", self.access_package_resource) writer.write_str_value("catalogId", self.catalog_id) writer.write_bool_value("executeImmediately", self.execute_immediately) diff --git a/msgraph_beta/generated/models/access_package_resource_request_collection_response.py b/msgraph_beta/generated/models/access_package_resource_request_collection_response.py index 763b4d34529..5f87ec2b11f 100644 --- a/msgraph_beta/generated/models/access_package_resource_request_collection_response.py +++ b/msgraph_beta/generated/models/access_package_resource_request_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .access_package_resource_request import AccessPackageResourceRequest + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/access_package_resource_role.py b/msgraph_beta/generated/models/access_package_resource_role.py index fd35240b31e..1f65f036575 100644 --- a/msgraph_beta/generated/models/access_package_resource_role.py +++ b/msgraph_beta/generated/models/access_package_resource_role.py @@ -66,6 +66,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .access_package_resource import AccessPackageResource + from .entity import Entity + writer.write_object_value("accessPackageResource", self.access_package_resource) writer.write_str_value("description", self.description) writer.write_str_value("displayName", self.display_name) diff --git a/msgraph_beta/generated/models/access_package_resource_role_collection_response.py b/msgraph_beta/generated/models/access_package_resource_role_collection_response.py index e9733fbad75..014c5ed3b41 100644 --- a/msgraph_beta/generated/models/access_package_resource_role_collection_response.py +++ b/msgraph_beta/generated/models/access_package_resource_role_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .access_package_resource_role import AccessPackageResourceRole + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/access_package_resource_role_scope.py b/msgraph_beta/generated/models/access_package_resource_role_scope.py index 78d4a36c4c6..b0c85c84267 100644 --- a/msgraph_beta/generated/models/access_package_resource_role_scope.py +++ b/msgraph_beta/generated/models/access_package_resource_role_scope.py @@ -73,6 +73,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .access_package_resource_role import AccessPackageResourceRole + from .access_package_resource_scope import AccessPackageResourceScope + from .entity import Entity + writer.write_object_value("accessPackageResourceRole", self.access_package_resource_role) writer.write_object_value("accessPackageResourceScope", self.access_package_resource_scope) writer.write_str_value("createdBy", self.created_by) diff --git a/msgraph_beta/generated/models/access_package_resource_role_scope_collection_response.py b/msgraph_beta/generated/models/access_package_resource_role_scope_collection_response.py index 23b7f4028c3..55e77810ea6 100644 --- a/msgraph_beta/generated/models/access_package_resource_role_scope_collection_response.py +++ b/msgraph_beta/generated/models/access_package_resource_role_scope_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .access_package_resource_role_scope import AccessPackageResourceRoleScope + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/access_package_resource_scope.py b/msgraph_beta/generated/models/access_package_resource_scope.py index 0eff5ebb204..bb82677d3f4 100644 --- a/msgraph_beta/generated/models/access_package_resource_scope.py +++ b/msgraph_beta/generated/models/access_package_resource_scope.py @@ -75,6 +75,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .access_package_resource import AccessPackageResource + from .entity import Entity + writer.write_object_value("accessPackageResource", self.access_package_resource) writer.write_str_value("description", self.description) writer.write_str_value("displayName", self.display_name) diff --git a/msgraph_beta/generated/models/access_package_resource_scope_collection_response.py b/msgraph_beta/generated/models/access_package_resource_scope_collection_response.py index 8ba1ba767c7..f4e914beb44 100644 --- a/msgraph_beta/generated/models/access_package_resource_scope_collection_response.py +++ b/msgraph_beta/generated/models/access_package_resource_scope_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .access_package_resource_scope import AccessPackageResourceScope + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/access_package_subject.py b/msgraph_beta/generated/models/access_package_subject.py index 26e34d4431d..4ff807e3fdd 100644 --- a/msgraph_beta/generated/models/access_package_subject.py +++ b/msgraph_beta/generated/models/access_package_subject.py @@ -88,6 +88,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .access_package_subject_lifecycle import AccessPackageSubjectLifecycle + from .connected_organization import ConnectedOrganization + from .entity import Entity + writer.write_str_value("altSecId", self.alt_sec_id) writer.write_datetime_value("cleanupScheduledDateTime", self.cleanup_scheduled_date_time) writer.write_object_value("connectedOrganization", self.connected_organization) diff --git a/msgraph_beta/generated/models/access_package_subject_collection_response.py b/msgraph_beta/generated/models/access_package_subject_collection_response.py index af86d0706ca..aa68ee59611 100644 --- a/msgraph_beta/generated/models/access_package_subject_collection_response.py +++ b/msgraph_beta/generated/models/access_package_subject_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .access_package_subject import AccessPackageSubject + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/access_package_text_input_question.py b/msgraph_beta/generated/models/access_package_text_input_question.py index 30f5809fd7b..9a2ac1cc94b 100644 --- a/msgraph_beta/generated/models/access_package_text_input_question.py +++ b/msgraph_beta/generated/models/access_package_text_input_question.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .access_package_question import AccessPackageQuestion + writer.write_bool_value("isSingleLineQuestion", self.is_single_line_question) writer.write_str_value("regexPattern", self.regex_pattern) diff --git a/msgraph_beta/generated/models/access_package_user_directory_attribute_store.py b/msgraph_beta/generated/models/access_package_user_directory_attribute_store.py index 04cf6b5869d..95449b3168a 100644 --- a/msgraph_beta/generated/models/access_package_user_directory_attribute_store.py +++ b/msgraph_beta/generated/models/access_package_user_directory_attribute_store.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .access_package_resource_attribute_destination import AccessPackageResourceAttributeDestination + diff --git a/msgraph_beta/generated/models/access_review.py b/msgraph_beta/generated/models/access_review.py index 1e5756c407e..5cdb7c6f856 100644 --- a/msgraph_beta/generated/models/access_review.py +++ b/msgraph_beta/generated/models/access_review.py @@ -106,6 +106,13 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .access_review_decision import AccessReviewDecision + from .access_review_reviewer import AccessReviewReviewer + from .access_review_settings import AccessReviewSettings + from .entity import Entity + from .identity import Identity + from .user_identity import UserIdentity + writer.write_str_value("businessFlowTemplateId", self.business_flow_template_id) writer.write_object_value("createdBy", self.created_by) writer.write_collection_of_object_values("decisions", self.decisions) diff --git a/msgraph_beta/generated/models/access_review_apply_action.py b/msgraph_beta/generated/models/access_review_apply_action.py index fdfdc51fb50..e2ed90051f8 100644 --- a/msgraph_beta/generated/models/access_review_apply_action.py +++ b/msgraph_beta/generated/models/access_review_apply_action.py @@ -28,7 +28,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> AccessReviewApplyA if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.disableAndDeleteUserApplyAction".casefold(): @@ -65,6 +66,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .disable_and_delete_user_apply_action import DisableAndDeleteUserApplyAction + from .remove_access_apply_action import RemoveAccessApplyAction + writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/access_review_collection_response.py b/msgraph_beta/generated/models/access_review_collection_response.py index dae9b4aaf96..a5abf5a6f9f 100644 --- a/msgraph_beta/generated/models/access_review_collection_response.py +++ b/msgraph_beta/generated/models/access_review_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .access_review import AccessReview + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/access_review_decision.py b/msgraph_beta/generated/models/access_review_decision.py index 321fa84038b..c3e7971d319 100644 --- a/msgraph_beta/generated/models/access_review_decision.py +++ b/msgraph_beta/generated/models/access_review_decision.py @@ -79,6 +79,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .user_identity import UserIdentity + writer.write_str_value("accessRecommendation", self.access_recommendation) writer.write_str_value("accessReviewId", self.access_review_id) writer.write_object_value("appliedBy", self.applied_by) diff --git a/msgraph_beta/generated/models/access_review_decision_collection_response.py b/msgraph_beta/generated/models/access_review_decision_collection_response.py index 2186af7e21f..3e872792455 100644 --- a/msgraph_beta/generated/models/access_review_decision_collection_response.py +++ b/msgraph_beta/generated/models/access_review_decision_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .access_review_decision import AccessReviewDecision + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/access_review_error.py b/msgraph_beta/generated/models/access_review_error.py index 157b07a7c5e..a28ba097dc6 100644 --- a/msgraph_beta/generated/models/access_review_error.py +++ b/msgraph_beta/generated/models/access_review_error.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .generic_error import GenericError + diff --git a/msgraph_beta/generated/models/access_review_history_definition.py b/msgraph_beta/generated/models/access_review_history_definition.py index a5e0d8a3c78..c98b6dfc01b 100644 --- a/msgraph_beta/generated/models/access_review_history_definition.py +++ b/msgraph_beta/generated/models/access_review_history_definition.py @@ -103,6 +103,14 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .access_review_history_decision_filter import AccessReviewHistoryDecisionFilter + from .access_review_history_instance import AccessReviewHistoryInstance + from .access_review_history_schedule_settings import AccessReviewHistoryScheduleSettings + from .access_review_history_status import AccessReviewHistoryStatus + from .access_review_scope import AccessReviewScope + from .entity import Entity + from .user_identity import UserIdentity + writer.write_object_value("createdBy", self.created_by) writer.write_datetime_value("createdDateTime", self.created_date_time) writer.write_collection_of_enum_values("decisions", self.decisions) diff --git a/msgraph_beta/generated/models/access_review_history_definition_collection_response.py b/msgraph_beta/generated/models/access_review_history_definition_collection_response.py index 03305020788..9e3443849bc 100644 --- a/msgraph_beta/generated/models/access_review_history_definition_collection_response.py +++ b/msgraph_beta/generated/models/access_review_history_definition_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .access_review_history_definition import AccessReviewHistoryDefinition + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/access_review_history_instance.py b/msgraph_beta/generated/models/access_review_history_instance.py index 0bb4e1f3797..0b28d834c9e 100644 --- a/msgraph_beta/generated/models/access_review_history_instance.py +++ b/msgraph_beta/generated/models/access_review_history_instance.py @@ -73,6 +73,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .access_review_history_status import AccessReviewHistoryStatus + from .entity import Entity + writer.write_str_value("downloadUri", self.download_uri) writer.write_datetime_value("expirationDateTime", self.expiration_date_time) writer.write_datetime_value("fulfilledDateTime", self.fulfilled_date_time) diff --git a/msgraph_beta/generated/models/access_review_history_instance_collection_response.py b/msgraph_beta/generated/models/access_review_history_instance_collection_response.py index 5015ec2d8a9..4bade667562 100644 --- a/msgraph_beta/generated/models/access_review_history_instance_collection_response.py +++ b/msgraph_beta/generated/models/access_review_history_instance_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .access_review_history_instance import AccessReviewHistoryInstance + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/access_review_history_schedule_settings.py b/msgraph_beta/generated/models/access_review_history_schedule_settings.py index cafac3b48fb..dfcb7cbf7f4 100644 --- a/msgraph_beta/generated/models/access_review_history_schedule_settings.py +++ b/msgraph_beta/generated/models/access_review_history_schedule_settings.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .patterned_recurrence import PatternedRecurrence + writer.write_str_value("@odata.type", self.odata_type) writer.write_object_value("recurrence", self.recurrence) writer.write_str_value("reportRange", self.report_range) diff --git a/msgraph_beta/generated/models/access_review_inactive_users_query_scope.py b/msgraph_beta/generated/models/access_review_inactive_users_query_scope.py index 3f955c02e99..32992bc0e18 100644 --- a/msgraph_beta/generated/models/access_review_inactive_users_query_scope.py +++ b/msgraph_beta/generated/models/access_review_inactive_users_query_scope.py @@ -52,6 +52,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .access_review_query_scope import AccessReviewQueryScope + writer.write_timedelta_value("inactiveDuration", self.inactive_duration) diff --git a/msgraph_beta/generated/models/access_review_instance.py b/msgraph_beta/generated/models/access_review_instance.py index 821c02700f4..25fee97baf1 100644 --- a/msgraph_beta/generated/models/access_review_instance.py +++ b/msgraph_beta/generated/models/access_review_instance.py @@ -103,6 +103,15 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .access_review_error import AccessReviewError + from .access_review_instance_decision_item import AccessReviewInstanceDecisionItem + from .access_review_reviewer import AccessReviewReviewer + from .access_review_reviewer_scope import AccessReviewReviewerScope + from .access_review_schedule_definition import AccessReviewScheduleDefinition + from .access_review_scope import AccessReviewScope + from .access_review_stage import AccessReviewStage + from .entity import Entity + writer.write_collection_of_object_values("contactedReviewers", self.contacted_reviewers) writer.write_collection_of_object_values("decisions", self.decisions) writer.write_object_value("definition", self.definition) diff --git a/msgraph_beta/generated/models/access_review_instance_collection_response.py b/msgraph_beta/generated/models/access_review_instance_collection_response.py index 9e9f8e75ecd..303b3e01262 100644 --- a/msgraph_beta/generated/models/access_review_instance_collection_response.py +++ b/msgraph_beta/generated/models/access_review_instance_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .access_review_instance import AccessReviewInstance + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/access_review_instance_decision_item.py b/msgraph_beta/generated/models/access_review_instance_decision_item.py index f23b4a40d58..6527cec18f5 100644 --- a/msgraph_beta/generated/models/access_review_instance_decision_item.py +++ b/msgraph_beta/generated/models/access_review_instance_decision_item.py @@ -121,6 +121,15 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .access_review_instance import AccessReviewInstance + from .access_review_instance_decision_item_resource import AccessReviewInstanceDecisionItemResource + from .access_review_instance_decision_item_target import AccessReviewInstanceDecisionItemTarget + from .decision_item_principal_resource_membership import DecisionItemPrincipalResourceMembership + from .entity import Entity + from .governance_insight import GovernanceInsight + from .identity import Identity + from .user_identity import UserIdentity + writer.write_str_value("accessReviewId", self.access_review_id) writer.write_object_value("appliedBy", self.applied_by) writer.write_datetime_value("appliedDateTime", self.applied_date_time) diff --git a/msgraph_beta/generated/models/access_review_instance_decision_item_access_package_assignment_policy_resource.py b/msgraph_beta/generated/models/access_review_instance_decision_item_access_package_assignment_policy_resource.py index 0c603a1f77c..1dabfed7e2c 100644 --- a/msgraph_beta/generated/models/access_review_instance_decision_item_access_package_assignment_policy_resource.py +++ b/msgraph_beta/generated/models/access_review_instance_decision_item_access_package_assignment_policy_resource.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .access_review_instance_decision_item_resource import AccessReviewInstanceDecisionItemResource + writer.write_str_value("accessPackageDisplayName", self.access_package_display_name) writer.write_str_value("accessPackageId", self.access_package_id) diff --git a/msgraph_beta/generated/models/access_review_instance_decision_item_azure_role_resource.py b/msgraph_beta/generated/models/access_review_instance_decision_item_azure_role_resource.py index 5e2ae6b49c4..a7c3b603270 100644 --- a/msgraph_beta/generated/models/access_review_instance_decision_item_azure_role_resource.py +++ b/msgraph_beta/generated/models/access_review_instance_decision_item_azure_role_resource.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .access_review_instance_decision_item_resource import AccessReviewInstanceDecisionItemResource + writer.write_object_value("scope", self.scope) diff --git a/msgraph_beta/generated/models/access_review_instance_decision_item_collection_response.py b/msgraph_beta/generated/models/access_review_instance_decision_item_collection_response.py index 42c712219cb..aa3944dd7aa 100644 --- a/msgraph_beta/generated/models/access_review_instance_decision_item_collection_response.py +++ b/msgraph_beta/generated/models/access_review_instance_decision_item_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .access_review_instance_decision_item import AccessReviewInstanceDecisionItem + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/access_review_instance_decision_item_resource.py b/msgraph_beta/generated/models/access_review_instance_decision_item_resource.py index 1e359165935..2764924b6f9 100644 --- a/msgraph_beta/generated/models/access_review_instance_decision_item_resource.py +++ b/msgraph_beta/generated/models/access_review_instance_decision_item_resource.py @@ -35,7 +35,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> AccessReviewInstan if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.accessReviewInstanceDecisionItemAccessPackageAssignmentPolicyResource".casefold(): @@ -81,6 +82,10 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .access_review_instance_decision_item_access_package_assignment_policy_resource import AccessReviewInstanceDecisionItemAccessPackageAssignmentPolicyResource + from .access_review_instance_decision_item_azure_role_resource import AccessReviewInstanceDecisionItemAzureRoleResource + from .access_review_instance_decision_item_service_principal_resource import AccessReviewInstanceDecisionItemServicePrincipalResource + writer.write_str_value("displayName", self.display_name) writer.write_str_value("id", self.id) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/access_review_instance_decision_item_service_principal_resource.py b/msgraph_beta/generated/models/access_review_instance_decision_item_service_principal_resource.py index 7ccce88cd36..15ada8dabc6 100644 --- a/msgraph_beta/generated/models/access_review_instance_decision_item_service_principal_resource.py +++ b/msgraph_beta/generated/models/access_review_instance_decision_item_service_principal_resource.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .access_review_instance_decision_item_resource import AccessReviewInstanceDecisionItemResource + writer.write_str_value("appId", self.app_id) diff --git a/msgraph_beta/generated/models/access_review_instance_decision_item_service_principal_target.py b/msgraph_beta/generated/models/access_review_instance_decision_item_service_principal_target.py index e601aa67a9c..ce0a9738422 100644 --- a/msgraph_beta/generated/models/access_review_instance_decision_item_service_principal_target.py +++ b/msgraph_beta/generated/models/access_review_instance_decision_item_service_principal_target.py @@ -57,6 +57,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .access_review_instance_decision_item_target import AccessReviewInstanceDecisionItemTarget + writer.write_str_value("appId", self.app_id) writer.write_str_value("servicePrincipalDisplayName", self.service_principal_display_name) writer.write_str_value("servicePrincipalId", self.service_principal_id) diff --git a/msgraph_beta/generated/models/access_review_instance_decision_item_target.py b/msgraph_beta/generated/models/access_review_instance_decision_item_target.py index 15068da7022..f46cb880b6f 100644 --- a/msgraph_beta/generated/models/access_review_instance_decision_item_target.py +++ b/msgraph_beta/generated/models/access_review_instance_decision_item_target.py @@ -28,7 +28,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> AccessReviewInstan if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.accessReviewInstanceDecisionItemServicePrincipalTarget".casefold(): @@ -65,6 +66,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .access_review_instance_decision_item_service_principal_target import AccessReviewInstanceDecisionItemServicePrincipalTarget + from .access_review_instance_decision_item_user_target import AccessReviewInstanceDecisionItemUserTarget + writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/access_review_instance_decision_item_user_target.py b/msgraph_beta/generated/models/access_review_instance_decision_item_user_target.py index 39aec88816c..ce5449758d0 100644 --- a/msgraph_beta/generated/models/access_review_instance_decision_item_user_target.py +++ b/msgraph_beta/generated/models/access_review_instance_decision_item_user_target.py @@ -57,6 +57,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .access_review_instance_decision_item_target import AccessReviewInstanceDecisionItemTarget + writer.write_str_value("userDisplayName", self.user_display_name) writer.write_str_value("userId", self.user_id) writer.write_str_value("userPrincipalName", self.user_principal_name) diff --git a/msgraph_beta/generated/models/access_review_notification_recipient_item.py b/msgraph_beta/generated/models/access_review_notification_recipient_item.py index 04936d484d2..659fd53e66f 100644 --- a/msgraph_beta/generated/models/access_review_notification_recipient_item.py +++ b/msgraph_beta/generated/models/access_review_notification_recipient_item.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .access_review_notification_recipient_scope import AccessReviewNotificationRecipientScope + writer.write_object_value("notificationRecipientScope", self.notification_recipient_scope) writer.write_str_value("notificationTemplateType", self.notification_template_type) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/access_review_notification_recipient_query_scope.py b/msgraph_beta/generated/models/access_review_notification_recipient_query_scope.py index 0c618e9a9d9..1e7cc9294cc 100644 --- a/msgraph_beta/generated/models/access_review_notification_recipient_query_scope.py +++ b/msgraph_beta/generated/models/access_review_notification_recipient_query_scope.py @@ -57,6 +57,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .access_review_notification_recipient_scope import AccessReviewNotificationRecipientScope + writer.write_str_value("query", self.query) writer.write_str_value("queryRoot", self.query_root) writer.write_str_value("queryType", self.query_type) diff --git a/msgraph_beta/generated/models/access_review_notification_recipient_scope.py b/msgraph_beta/generated/models/access_review_notification_recipient_scope.py index ba59540aca6..75a566eda7b 100644 --- a/msgraph_beta/generated/models/access_review_notification_recipient_scope.py +++ b/msgraph_beta/generated/models/access_review_notification_recipient_scope.py @@ -27,7 +27,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> AccessReviewNotifi if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.accessReviewNotificationRecipientQueryScope".casefold(): @@ -58,6 +59,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .access_review_notification_recipient_query_scope import AccessReviewNotificationRecipientQueryScope + writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/access_review_policy.py b/msgraph_beta/generated/models/access_review_policy.py index 33d277e23f2..de206a939f0 100644 --- a/msgraph_beta/generated/models/access_review_policy.py +++ b/msgraph_beta/generated/models/access_review_policy.py @@ -57,6 +57,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_str_value("description", self.description) writer.write_str_value("displayName", self.display_name) writer.write_bool_value("isGroupOwnerManagementEnabled", self.is_group_owner_management_enabled) diff --git a/msgraph_beta/generated/models/access_review_query_scope.py b/msgraph_beta/generated/models/access_review_query_scope.py index 47631de464b..cb879dbd0e7 100644 --- a/msgraph_beta/generated/models/access_review_query_scope.py +++ b/msgraph_beta/generated/models/access_review_query_scope.py @@ -30,7 +30,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> AccessReviewQueryS if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.accessReviewInactiveUsersQueryScope".casefold(): @@ -68,6 +69,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .access_review_inactive_users_query_scope import AccessReviewInactiveUsersQueryScope + from .access_review_scope import AccessReviewScope + writer.write_str_value("query", self.query) writer.write_str_value("queryRoot", self.query_root) writer.write_str_value("queryType", self.query_type) diff --git a/msgraph_beta/generated/models/access_review_recommendation_insight_setting.py b/msgraph_beta/generated/models/access_review_recommendation_insight_setting.py index c658121d5d5..5b5c1e0cf9f 100644 --- a/msgraph_beta/generated/models/access_review_recommendation_insight_setting.py +++ b/msgraph_beta/generated/models/access_review_recommendation_insight_setting.py @@ -28,7 +28,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> AccessReviewRecomm if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.groupPeerOutlierRecommendationInsightSettings".casefold(): @@ -65,6 +66,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .group_peer_outlier_recommendation_insight_settings import GroupPeerOutlierRecommendationInsightSettings + from .user_last_sign_in_recommendation_insight_setting import UserLastSignInRecommendationInsightSetting + writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/access_review_reviewer.py b/msgraph_beta/generated/models/access_review_reviewer.py index 7606a6da27d..50fae1622e4 100644 --- a/msgraph_beta/generated/models/access_review_reviewer.py +++ b/msgraph_beta/generated/models/access_review_reviewer.py @@ -58,6 +58,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_datetime_value("createdDateTime", self.created_date_time) writer.write_str_value("displayName", self.display_name) writer.write_str_value("userPrincipalName", self.user_principal_name) diff --git a/msgraph_beta/generated/models/access_review_reviewer_collection_response.py b/msgraph_beta/generated/models/access_review_reviewer_collection_response.py index f3dde5f3b51..2c9dd6cd646 100644 --- a/msgraph_beta/generated/models/access_review_reviewer_collection_response.py +++ b/msgraph_beta/generated/models/access_review_reviewer_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .access_review_reviewer import AccessReviewReviewer + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/access_review_reviewer_scope.py b/msgraph_beta/generated/models/access_review_reviewer_scope.py index bcec4af0530..5a82aabbe6f 100644 --- a/msgraph_beta/generated/models/access_review_reviewer_scope.py +++ b/msgraph_beta/generated/models/access_review_reviewer_scope.py @@ -57,6 +57,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .access_review_scope import AccessReviewScope + writer.write_str_value("query", self.query) writer.write_str_value("queryRoot", self.query_root) writer.write_str_value("queryType", self.query_type) diff --git a/msgraph_beta/generated/models/access_review_schedule_definition.py b/msgraph_beta/generated/models/access_review_schedule_definition.py index 34d2a5d2f27..f41d5257bc8 100644 --- a/msgraph_beta/generated/models/access_review_schedule_definition.py +++ b/msgraph_beta/generated/models/access_review_schedule_definition.py @@ -118,6 +118,15 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .access_review_instance import AccessReviewInstance + from .access_review_notification_recipient_item import AccessReviewNotificationRecipientItem + from .access_review_reviewer_scope import AccessReviewReviewerScope + from .access_review_schedule_settings import AccessReviewScheduleSettings + from .access_review_scope import AccessReviewScope + from .access_review_stage_settings import AccessReviewStageSettings + from .entity import Entity + from .user_identity import UserIdentity + writer.write_collection_of_object_values("additionalNotificationRecipients", self.additional_notification_recipients) writer.write_collection_of_object_values("backupReviewers", self.backup_reviewers) writer.write_object_value("createdBy", self.created_by) diff --git a/msgraph_beta/generated/models/access_review_schedule_definition_collection_response.py b/msgraph_beta/generated/models/access_review_schedule_definition_collection_response.py index ca850138e7b..962d4eb895d 100644 --- a/msgraph_beta/generated/models/access_review_schedule_definition_collection_response.py +++ b/msgraph_beta/generated/models/access_review_schedule_definition_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .access_review_schedule_definition import AccessReviewScheduleDefinition + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/access_review_schedule_settings.py b/msgraph_beta/generated/models/access_review_schedule_settings.py index 291fc9ef2ed..3a412f260e9 100644 --- a/msgraph_beta/generated/models/access_review_schedule_settings.py +++ b/msgraph_beta/generated/models/access_review_schedule_settings.py @@ -96,6 +96,10 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .access_review_apply_action import AccessReviewApplyAction + from .access_review_recommendation_insight_setting import AccessReviewRecommendationInsightSetting + from .patterned_recurrence import PatternedRecurrence + writer.write_collection_of_object_values("applyActions", self.apply_actions) writer.write_bool_value("autoApplyDecisionsEnabled", self.auto_apply_decisions_enabled) writer.write_bool_value("decisionHistoriesForReviewersEnabled", self.decision_histories_for_reviewers_enabled) diff --git a/msgraph_beta/generated/models/access_review_scope.py b/msgraph_beta/generated/models/access_review_scope.py index 7e2ca4637d4..8dede7822a6 100644 --- a/msgraph_beta/generated/models/access_review_scope.py +++ b/msgraph_beta/generated/models/access_review_scope.py @@ -30,7 +30,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> AccessReviewScope: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.accessReviewInactiveUsersQueryScope".casefold(): @@ -79,6 +80,11 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .access_review_inactive_users_query_scope import AccessReviewInactiveUsersQueryScope + from .access_review_query_scope import AccessReviewQueryScope + from .access_review_reviewer_scope import AccessReviewReviewerScope + from .principal_resource_memberships_scope import PrincipalResourceMembershipsScope + writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/access_review_set.py b/msgraph_beta/generated/models/access_review_set.py index 3318dfa43c5..2f16b788968 100644 --- a/msgraph_beta/generated/models/access_review_set.py +++ b/msgraph_beta/generated/models/access_review_set.py @@ -72,6 +72,12 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .access_review_history_definition import AccessReviewHistoryDefinition + from .access_review_instance_decision_item import AccessReviewInstanceDecisionItem + from .access_review_policy import AccessReviewPolicy + from .access_review_schedule_definition import AccessReviewScheduleDefinition + from .entity import Entity + writer.write_collection_of_object_values("decisions", self.decisions) writer.write_collection_of_object_values("definitions", self.definitions) writer.write_collection_of_object_values("historyDefinitions", self.history_definitions) diff --git a/msgraph_beta/generated/models/access_review_settings.py b/msgraph_beta/generated/models/access_review_settings.py index 44bc8185df0..ddf90da556e 100644 --- a/msgraph_beta/generated/models/access_review_settings.py +++ b/msgraph_beta/generated/models/access_review_settings.py @@ -47,7 +47,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> AccessReviewSettin if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.businessFlowSettings".casefold(): @@ -91,6 +92,10 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .access_review_recurrence_settings import AccessReviewRecurrenceSettings + from .auto_review_settings import AutoReviewSettings + from .business_flow_settings import BusinessFlowSettings + writer.write_bool_value("accessRecommendationsEnabled", self.access_recommendations_enabled) writer.write_int_value("activityDurationInDays", self.activity_duration_in_days) writer.write_bool_value("autoApplyReviewResultsEnabled", self.auto_apply_review_results_enabled) diff --git a/msgraph_beta/generated/models/access_review_stage.py b/msgraph_beta/generated/models/access_review_stage.py index 4e5ddaf67b7..06b06ad3d9f 100644 --- a/msgraph_beta/generated/models/access_review_stage.py +++ b/msgraph_beta/generated/models/access_review_stage.py @@ -73,6 +73,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .access_review_instance_decision_item import AccessReviewInstanceDecisionItem + from .access_review_reviewer_scope import AccessReviewReviewerScope + from .entity import Entity + writer.write_collection_of_object_values("decisions", self.decisions) writer.write_datetime_value("endDateTime", self.end_date_time) writer.write_collection_of_object_values("fallbackReviewers", self.fallback_reviewers) diff --git a/msgraph_beta/generated/models/access_review_stage_collection_response.py b/msgraph_beta/generated/models/access_review_stage_collection_response.py index f95c5054b94..c3cb0dcb7d8 100644 --- a/msgraph_beta/generated/models/access_review_stage_collection_response.py +++ b/msgraph_beta/generated/models/access_review_stage_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .access_review_stage import AccessReviewStage + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/access_review_stage_settings.py b/msgraph_beta/generated/models/access_review_stage_settings.py index 7154e57ffea..8bb1d207e94 100644 --- a/msgraph_beta/generated/models/access_review_stage_settings.py +++ b/msgraph_beta/generated/models/access_review_stage_settings.py @@ -81,6 +81,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .access_review_recommendation_insight_setting import AccessReviewRecommendationInsightSetting + from .access_review_reviewer_scope import AccessReviewReviewerScope + writer.write_collection_of_primitive_values("decisionsThatWillMoveToNextStage", self.decisions_that_will_move_to_next_stage) writer.write_collection_of_primitive_values("dependsOn", self.depends_on) writer.write_int_value("durationInDays", self.duration_in_days) diff --git a/msgraph_beta/generated/models/account_collection_response.py b/msgraph_beta/generated/models/account_collection_response.py index 52b90c4c314..cd6e69ff74b 100644 --- a/msgraph_beta/generated/models/account_collection_response.py +++ b/msgraph_beta/generated/models/account_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .account import Account + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/account_target_content.py b/msgraph_beta/generated/models/account_target_content.py index d23d753d492..cf15da78381 100644 --- a/msgraph_beta/generated/models/account_target_content.py +++ b/msgraph_beta/generated/models/account_target_content.py @@ -31,7 +31,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> AccountTargetConte if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.addressBookAccountTargetContent".casefold(): @@ -71,6 +72,10 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .account_target_content_type import AccountTargetContentType + from .address_book_account_target_content import AddressBookAccountTargetContent + from .include_all_account_target_content import IncludeAllAccountTargetContent + writer.write_str_value("@odata.type", self.odata_type) writer.write_enum_value("type", self.type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/accounts_with_access.py b/msgraph_beta/generated/models/accounts_with_access.py index b0a9f2480aa..49bda644313 100644 --- a/msgraph_beta/generated/models/accounts_with_access.py +++ b/msgraph_beta/generated/models/accounts_with_access.py @@ -28,7 +28,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> AccountsWithAccess if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.allAccountsWithAccess".casefold(): @@ -65,6 +66,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .all_accounts_with_access import AllAccountsWithAccess + from .enumerated_accounts_with_access import EnumeratedAccountsWithAccess + writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/acl.py b/msgraph_beta/generated/models/acl.py index be3235d7ec5..919e080e0b9 100644 --- a/msgraph_beta/generated/models/acl.py +++ b/msgraph_beta/generated/models/acl.py @@ -68,6 +68,10 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .access_type import AccessType + from .acl_type import AclType + from .identity_source_type import IdentitySourceType + writer.write_enum_value("accessType", self.access_type) writer.write_enum_value("identitySource", self.identity_source) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/action_result_part.py b/msgraph_beta/generated/models/action_result_part.py index 16470170567..c5f2f230b30 100644 --- a/msgraph_beta/generated/models/action_result_part.py +++ b/msgraph_beta/generated/models/action_result_part.py @@ -30,7 +30,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> ActionResultPart: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.aadUserConversationMemberResult".casefold(): @@ -64,6 +65,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .aad_user_conversation_member_result import AadUserConversationMemberResult + from .public_error import PublicError + writer.write_object_value("error", self.error) writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/action_step.py b/msgraph_beta/generated/models/action_step.py index de373ecb8de..7cd63f27331 100644 --- a/msgraph_beta/generated/models/action_step.py +++ b/msgraph_beta/generated/models/action_step.py @@ -59,6 +59,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .action_url import ActionUrl + writer.write_object_value("actionUrl", self.action_url) writer.write_str_value("@odata.type", self.odata_type) writer.write_int_value("stepNumber", self.step_number) diff --git a/msgraph_beta/generated/models/activate_device_esim_action_result.py b/msgraph_beta/generated/models/activate_device_esim_action_result.py index 5005deede2d..7e600197a4d 100644 --- a/msgraph_beta/generated/models/activate_device_esim_action_result.py +++ b/msgraph_beta/generated/models/activate_device_esim_action_result.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_action_result import DeviceActionResult + writer.write_str_value("carrierUrl", self.carrier_url) diff --git a/msgraph_beta/generated/models/active_directory_windows_autopilot_deployment_profile.py b/msgraph_beta/generated/models/active_directory_windows_autopilot_deployment_profile.py index c73bbf5eb3f..3ddecb83568 100644 --- a/msgraph_beta/generated/models/active_directory_windows_autopilot_deployment_profile.py +++ b/msgraph_beta/generated/models/active_directory_windows_autopilot_deployment_profile.py @@ -60,6 +60,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .windows_autopilot_deployment_profile import WindowsAutopilotDeploymentProfile + from .windows_domain_join_configuration import WindowsDomainJoinConfiguration + writer.write_object_value("domainJoinConfiguration", self.domain_join_configuration) writer.write_bool_value("hybridAzureADJoinSkipConnectivityCheck", self.hybrid_azure_a_d_join_skip_connectivity_check) diff --git a/msgraph_beta/generated/models/active_users_metric.py b/msgraph_beta/generated/models/active_users_metric.py index bb230a808d5..37f2a4ff0f8 100644 --- a/msgraph_beta/generated/models/active_users_metric.py +++ b/msgraph_beta/generated/models/active_users_metric.py @@ -70,6 +70,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_str_value("appId", self.app_id) writer.write_str_value("appName", self.app_name) writer.write_int_value("count", self.count) diff --git a/msgraph_beta/generated/models/active_users_metric_collection_response.py b/msgraph_beta/generated/models/active_users_metric_collection_response.py index 82c89ed7aed..6de753ef42c 100644 --- a/msgraph_beta/generated/models/active_users_metric_collection_response.py +++ b/msgraph_beta/generated/models/active_users_metric_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .active_users_metric import ActiveUsersMetric + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/activity_based_timeout_policy.py b/msgraph_beta/generated/models/activity_based_timeout_policy.py index 2bbb7bdf3e5..dcd3006a0da 100644 --- a/msgraph_beta/generated/models/activity_based_timeout_policy.py +++ b/msgraph_beta/generated/models/activity_based_timeout_policy.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .sts_policy import StsPolicy + diff --git a/msgraph_beta/generated/models/activity_based_timeout_policy_collection_response.py b/msgraph_beta/generated/models/activity_based_timeout_policy_collection_response.py index b545c6e7c81..0b5a4e45d81 100644 --- a/msgraph_beta/generated/models/activity_based_timeout_policy_collection_response.py +++ b/msgraph_beta/generated/models/activity_based_timeout_policy_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .activity_based_timeout_policy import ActivityBasedTimeoutPolicy + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/activity_history_item.py b/msgraph_beta/generated/models/activity_history_item.py index 693b64c17f0..22337da5638 100644 --- a/msgraph_beta/generated/models/activity_history_item.py +++ b/msgraph_beta/generated/models/activity_history_item.py @@ -82,6 +82,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .status import Status + from .user_activity import UserActivity + writer.write_int_value("activeDurationSeconds", self.active_duration_seconds) writer.write_object_value("activity", self.activity) writer.write_datetime_value("createdDateTime", self.created_date_time) diff --git a/msgraph_beta/generated/models/activity_history_item_collection_response.py b/msgraph_beta/generated/models/activity_history_item_collection_response.py index f5e9418d185..e3c8ed21ffe 100644 --- a/msgraph_beta/generated/models/activity_history_item_collection_response.py +++ b/msgraph_beta/generated/models/activity_history_item_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .activity_history_item import ActivityHistoryItem + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/activity_statistics.py b/msgraph_beta/generated/models/activity_statistics.py index d6b8f79769f..322801b78b4 100644 --- a/msgraph_beta/generated/models/activity_statistics.py +++ b/msgraph_beta/generated/models/activity_statistics.py @@ -40,7 +40,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> ActivityStatistics if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.callActivityStatistics".casefold(): @@ -106,6 +107,14 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .analytics_activity_type import AnalyticsActivityType + from .call_activity_statistics import CallActivityStatistics + from .chat_activity_statistics import ChatActivityStatistics + from .email_activity_statistics import EmailActivityStatistics + from .entity import Entity + from .focus_activity_statistics import FocusActivityStatistics + from .meeting_activity_statistics import MeetingActivityStatistics + writer.write_enum_value("activity", self.activity) writer.write_timedelta_value("duration", self.duration) writer.write_date_value("endDate", self.end_date) diff --git a/msgraph_beta/generated/models/activity_statistics_collection_response.py b/msgraph_beta/generated/models/activity_statistics_collection_response.py index ff9710e5053..63fffcbdef9 100644 --- a/msgraph_beta/generated/models/activity_statistics_collection_response.py +++ b/msgraph_beta/generated/models/activity_statistics_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .activity_statistics import ActivityStatistics + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/add_content_footer_action.py b/msgraph_beta/generated/models/add_content_footer_action.py index e8eeddd871b..e0478658c65 100644 --- a/msgraph_beta/generated/models/add_content_footer_action.py +++ b/msgraph_beta/generated/models/add_content_footer_action.py @@ -72,6 +72,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .content_alignment import ContentAlignment + from .information_protection_action import InformationProtectionAction + writer.write_enum_value("alignment", self.alignment) writer.write_str_value("fontColor", self.font_color) writer.write_str_value("fontName", self.font_name) diff --git a/msgraph_beta/generated/models/add_content_header_action.py b/msgraph_beta/generated/models/add_content_header_action.py index 8e7d0b0559d..1983f43fcb6 100644 --- a/msgraph_beta/generated/models/add_content_header_action.py +++ b/msgraph_beta/generated/models/add_content_header_action.py @@ -72,6 +72,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .content_alignment import ContentAlignment + from .information_protection_action import InformationProtectionAction + writer.write_enum_value("alignment", self.alignment) writer.write_str_value("fontColor", self.font_color) writer.write_str_value("fontName", self.font_name) diff --git a/msgraph_beta/generated/models/add_footer.py b/msgraph_beta/generated/models/add_footer.py index e7c53592e36..fccb5d24632 100644 --- a/msgraph_beta/generated/models/add_footer.py +++ b/msgraph_beta/generated/models/add_footer.py @@ -57,6 +57,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .alignment import Alignment + from .mark_content import MarkContent + writer.write_enum_value("alignment", self.alignment) writer.write_int_value("margin", self.margin) diff --git a/msgraph_beta/generated/models/add_header.py b/msgraph_beta/generated/models/add_header.py index dd5ab7581fa..ce6338961a0 100644 --- a/msgraph_beta/generated/models/add_header.py +++ b/msgraph_beta/generated/models/add_header.py @@ -57,6 +57,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .alignment import Alignment + from .mark_content import MarkContent + writer.write_enum_value("alignment", self.alignment) writer.write_int_value("margin", self.margin) diff --git a/msgraph_beta/generated/models/add_in.py b/msgraph_beta/generated/models/add_in.py index 45b0f515f92..357ad78a585 100644 --- a/msgraph_beta/generated/models/add_in.py +++ b/msgraph_beta/generated/models/add_in.py @@ -60,6 +60,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .key_value import KeyValue + writer.write_uuid_value("id", self.id) writer.write_str_value("@odata.type", self.odata_type) writer.write_collection_of_object_values("properties", self.properties) diff --git a/msgraph_beta/generated/models/add_large_gallery_view_operation.py b/msgraph_beta/generated/models/add_large_gallery_view_operation.py index 6e76904f52f..17d8c58055d 100644 --- a/msgraph_beta/generated/models/add_large_gallery_view_operation.py +++ b/msgraph_beta/generated/models/add_large_gallery_view_operation.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .comms_operation import CommsOperation + diff --git a/msgraph_beta/generated/models/add_watermark.py b/msgraph_beta/generated/models/add_watermark.py index 503873ab563..f91ebe35be4 100644 --- a/msgraph_beta/generated/models/add_watermark.py +++ b/msgraph_beta/generated/models/add_watermark.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .mark_content import MarkContent + from .page_orientation import PageOrientation + writer.write_enum_value("orientation", self.orientation) diff --git a/msgraph_beta/generated/models/add_watermark_action.py b/msgraph_beta/generated/models/add_watermark_action.py index 845c38df7c6..ac5e4981a84 100644 --- a/msgraph_beta/generated/models/add_watermark_action.py +++ b/msgraph_beta/generated/models/add_watermark_action.py @@ -69,6 +69,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .information_protection_action import InformationProtectionAction + from .watermark_layout import WatermarkLayout + writer.write_str_value("fontColor", self.font_color) writer.write_str_value("fontName", self.font_name) writer.write_int_value("fontSize", self.font_size) diff --git a/msgraph_beta/generated/models/address_book_account_target_content.py b/msgraph_beta/generated/models/address_book_account_target_content.py index 7bda09c5004..7b7294488f4 100644 --- a/msgraph_beta/generated/models/address_book_account_target_content.py +++ b/msgraph_beta/generated/models/address_book_account_target_content.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .account_target_content import AccountTargetContent + writer.write_collection_of_primitive_values("accountTargetEmails", self.account_target_emails) diff --git a/msgraph_beta/generated/models/admin.py b/msgraph_beta/generated/models/admin.py index c5beefff3a6..dab589896f7 100644 --- a/msgraph_beta/generated/models/admin.py +++ b/msgraph_beta/generated/models/admin.py @@ -31,7 +31,7 @@ class Admin(AdditionalDataHolder, BackedModel, Parsable): dynamics: Optional[AdminDynamics] = None # A container for Microsoft Edge resources. Read-only. edge: Optional[Edge] = None - # The entra property + # A container for Microsoft Entra resources. Read-only. entra: Optional[Entra] = None # The forms property forms: Optional[AdminForms] = None @@ -119,6 +119,19 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .admin_apps_and_services import AdminAppsAndServices + from .admin_dynamics import AdminDynamics + from .admin_forms import AdminForms + from .admin_microsoft365_apps import AdminMicrosoft365Apps + from .admin_report_settings import AdminReportSettings + from .admin_todo import AdminTodo + from .admin_windows import AdminWindows + from .edge import Edge + from .entra import Entra + from .people_admin_settings import PeopleAdminSettings + from .service_announcement import ServiceAnnouncement + from .sharepoint import Sharepoint + writer.write_object_value("appsAndServices", self.apps_and_services) writer.write_object_value("dynamics", self.dynamics) writer.write_object_value("edge", self.edge) diff --git a/msgraph_beta/generated/models/admin_apps_and_services.py b/msgraph_beta/generated/models/admin_apps_and_services.py index 3c38156d4b5..5735a3c6f5d 100644 --- a/msgraph_beta/generated/models/admin_apps_and_services.py +++ b/msgraph_beta/generated/models/admin_apps_and_services.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .apps_and_services_settings import AppsAndServicesSettings + from .entity import Entity + writer.write_object_value("settings", self.settings) diff --git a/msgraph_beta/generated/models/admin_consent.py b/msgraph_beta/generated/models/admin_consent.py index b90b6b0b7f1..585a8987cec 100644 --- a/msgraph_beta/generated/models/admin_consent.py +++ b/msgraph_beta/generated/models/admin_consent.py @@ -59,6 +59,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .admin_consent_state import AdminConsentState + writer.write_str_value("@odata.type", self.odata_type) writer.write_enum_value("shareAPNSData", self.share_a_p_n_s_data) writer.write_enum_value("shareUserExperienceAnalyticsData", self.share_user_experience_analytics_data) diff --git a/msgraph_beta/generated/models/admin_consent_request_policy.py b/msgraph_beta/generated/models/admin_consent_request_policy.py index 9a8b04b3595..fabf95a9b00 100644 --- a/msgraph_beta/generated/models/admin_consent_request_policy.py +++ b/msgraph_beta/generated/models/admin_consent_request_policy.py @@ -69,6 +69,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .access_review_reviewer_scope import AccessReviewReviewerScope + from .entity import Entity + writer.write_bool_value("isEnabled", self.is_enabled) writer.write_bool_value("notifyReviewers", self.notify_reviewers) writer.write_bool_value("remindersEnabled", self.reminders_enabled) diff --git a/msgraph_beta/generated/models/admin_dynamics.py b/msgraph_beta/generated/models/admin_dynamics.py index 9e43f6352f4..65dab04889b 100644 --- a/msgraph_beta/generated/models/admin_dynamics.py +++ b/msgraph_beta/generated/models/admin_dynamics.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .customer_voice_settings import CustomerVoiceSettings + from .entity import Entity + writer.write_object_value("customerVoice", self.customer_voice) diff --git a/msgraph_beta/generated/models/admin_forms.py b/msgraph_beta/generated/models/admin_forms.py index 24276da4e30..d21f5b6b5b0 100644 --- a/msgraph_beta/generated/models/admin_forms.py +++ b/msgraph_beta/generated/models/admin_forms.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .forms_settings import FormsSettings + writer.write_object_value("settings", self.settings) diff --git a/msgraph_beta/generated/models/admin_microsoft365_apps.py b/msgraph_beta/generated/models/admin_microsoft365_apps.py index ac1af3903ce..6750a388163 100644 --- a/msgraph_beta/generated/models/admin_microsoft365_apps.py +++ b/msgraph_beta/generated/models/admin_microsoft365_apps.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .m365_apps_installation_options import M365AppsInstallationOptions + writer.write_object_value("installationOptions", self.installation_options) diff --git a/msgraph_beta/generated/models/admin_report_settings.py b/msgraph_beta/generated/models/admin_report_settings.py index 267b1d82d98..5d3557425a7 100644 --- a/msgraph_beta/generated/models/admin_report_settings.py +++ b/msgraph_beta/generated/models/admin_report_settings.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_bool_value("displayConcealedNames", self.display_concealed_names) diff --git a/msgraph_beta/generated/models/admin_todo.py b/msgraph_beta/generated/models/admin_todo.py index 26ac3eb09db..98e336c4eda 100644 --- a/msgraph_beta/generated/models/admin_todo.py +++ b/msgraph_beta/generated/models/admin_todo.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .todo_settings import TodoSettings + writer.write_object_value("settings", self.settings) diff --git a/msgraph_beta/generated/models/admin_windows.py b/msgraph_beta/generated/models/admin_windows.py index 00b3813069b..4e15abf8e48 100644 --- a/msgraph_beta/generated/models/admin_windows.py +++ b/msgraph_beta/generated/models/admin_windows.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .admin_windows_updates import AdminWindowsUpdates + from .entity import Entity + writer.write_object_value("updates", self.updates) diff --git a/msgraph_beta/generated/models/admin_windows_updates.py b/msgraph_beta/generated/models/admin_windows_updates.py index 24ddc2434e5..2441bb7048e 100644 --- a/msgraph_beta/generated/models/admin_windows_updates.py +++ b/msgraph_beta/generated/models/admin_windows_updates.py @@ -90,6 +90,15 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .windows_updates.catalog import Catalog + from .windows_updates.deployment import Deployment + from .windows_updates.deployment_audience import DeploymentAudience + from .windows_updates.product import Product + from .windows_updates.resource_connection import ResourceConnection + from .windows_updates.updatable_asset import UpdatableAsset + from .windows_updates.update_policy import UpdatePolicy + writer.write_object_value("catalog", self.catalog) writer.write_collection_of_object_values("deploymentAudiences", self.deployment_audiences) writer.write_collection_of_object_values("deployments", self.deployments) diff --git a/msgraph_beta/generated/models/administrative_unit.py b/msgraph_beta/generated/models/administrative_unit.py index fc771648825..57270ee7427 100644 --- a/msgraph_beta/generated/models/administrative_unit.py +++ b/msgraph_beta/generated/models/administrative_unit.py @@ -84,6 +84,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .directory_object import DirectoryObject + from .extension import Extension + from .scoped_role_membership import ScopedRoleMembership + writer.write_str_value("description", self.description) writer.write_str_value("displayName", self.display_name) writer.write_collection_of_object_values("extensions", self.extensions) diff --git a/msgraph_beta/generated/models/administrative_unit_collection_response.py b/msgraph_beta/generated/models/administrative_unit_collection_response.py index 03d5561bece..561e674862f 100644 --- a/msgraph_beta/generated/models/administrative_unit_collection_response.py +++ b/msgraph_beta/generated/models/administrative_unit_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .administrative_unit import AdministrativeUnit + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/advanced_threat_protection_onboarding_device_setting_state.py b/msgraph_beta/generated/models/advanced_threat_protection_onboarding_device_setting_state.py index 2b6f53f0262..ea289bdfe83 100644 --- a/msgraph_beta/generated/models/advanced_threat_protection_onboarding_device_setting_state.py +++ b/msgraph_beta/generated/models/advanced_threat_protection_onboarding_device_setting_state.py @@ -94,6 +94,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .compliance_status import ComplianceStatus + from .device_type import DeviceType + from .entity import Entity + writer.write_datetime_value("complianceGracePeriodExpirationDateTime", self.compliance_grace_period_expiration_date_time) writer.write_str_value("deviceId", self.device_id) writer.write_str_value("deviceModel", self.device_model) diff --git a/msgraph_beta/generated/models/advanced_threat_protection_onboarding_device_setting_state_collection_response.py b/msgraph_beta/generated/models/advanced_threat_protection_onboarding_device_setting_state_collection_response.py index 783a118163d..8c4ad5e82c9 100644 --- a/msgraph_beta/generated/models/advanced_threat_protection_onboarding_device_setting_state_collection_response.py +++ b/msgraph_beta/generated/models/advanced_threat_protection_onboarding_device_setting_state_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .advanced_threat_protection_onboarding_device_setting_state import AdvancedThreatProtectionOnboardingDeviceSettingState + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/advanced_threat_protection_onboarding_state_summary.py b/msgraph_beta/generated/models/advanced_threat_protection_onboarding_state_summary.py index 10b57a9f52b..7046f4e4cd0 100644 --- a/msgraph_beta/generated/models/advanced_threat_protection_onboarding_state_summary.py +++ b/msgraph_beta/generated/models/advanced_threat_protection_onboarding_state_summary.py @@ -81,6 +81,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .advanced_threat_protection_onboarding_device_setting_state import AdvancedThreatProtectionOnboardingDeviceSettingState + from .entity import Entity + writer.write_collection_of_object_values("advancedThreatProtectionOnboardingDeviceSettingStates", self.advanced_threat_protection_onboarding_device_setting_states) writer.write_int_value("compliantDeviceCount", self.compliant_device_count) writer.write_int_value("conflictDeviceCount", self.conflict_device_count) diff --git a/msgraph_beta/generated/models/aged_accounts_payable_collection_response.py b/msgraph_beta/generated/models/aged_accounts_payable_collection_response.py index b67bb9ca201..26cdc610b83 100644 --- a/msgraph_beta/generated/models/aged_accounts_payable_collection_response.py +++ b/msgraph_beta/generated/models/aged_accounts_payable_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .aged_accounts_payable import AgedAccountsPayable + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/aged_accounts_receivable_collection_response.py b/msgraph_beta/generated/models/aged_accounts_receivable_collection_response.py index 3811677c82c..f3a69ac49a0 100644 --- a/msgraph_beta/generated/models/aged_accounts_receivable_collection_response.py +++ b/msgraph_beta/generated/models/aged_accounts_receivable_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .aged_accounts_receivable import AgedAccountsReceivable + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/aggregation_option.py b/msgraph_beta/generated/models/aggregation_option.py index 31750896cba..8babc671fe0 100644 --- a/msgraph_beta/generated/models/aggregation_option.py +++ b/msgraph_beta/generated/models/aggregation_option.py @@ -59,6 +59,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .bucket_aggregation_definition import BucketAggregationDefinition + writer.write_object_value("bucketDefinition", self.bucket_definition) writer.write_str_value("field", self.field) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/agreement.py b/msgraph_beta/generated/models/agreement.py index 02340790bcb..c96bfce9767 100644 --- a/msgraph_beta/generated/models/agreement.py +++ b/msgraph_beta/generated/models/agreement.py @@ -85,6 +85,12 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .agreement_acceptance import AgreementAcceptance + from .agreement_file import AgreementFile + from .agreement_file_localization import AgreementFileLocalization + from .entity import Entity + from .terms_expiration import TermsExpiration + writer.write_collection_of_object_values("acceptances", self.acceptances) writer.write_str_value("displayName", self.display_name) writer.write_object_value("file", self.file) diff --git a/msgraph_beta/generated/models/agreement_acceptance.py b/msgraph_beta/generated/models/agreement_acceptance.py index 86af38bd867..4b0e6ac1c4c 100644 --- a/msgraph_beta/generated/models/agreement_acceptance.py +++ b/msgraph_beta/generated/models/agreement_acceptance.py @@ -91,6 +91,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .agreement_acceptance_state import AgreementAcceptanceState + from .entity import Entity + writer.write_str_value("agreementFileId", self.agreement_file_id) writer.write_str_value("agreementId", self.agreement_id) writer.write_str_value("deviceDisplayName", self.device_display_name) diff --git a/msgraph_beta/generated/models/agreement_acceptance_collection_response.py b/msgraph_beta/generated/models/agreement_acceptance_collection_response.py index 9d4b0081d38..d46434ea682 100644 --- a/msgraph_beta/generated/models/agreement_acceptance_collection_response.py +++ b/msgraph_beta/generated/models/agreement_acceptance_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .agreement_acceptance import AgreementAcceptance + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/agreement_collection_response.py b/msgraph_beta/generated/models/agreement_collection_response.py index a81ee9b5260..b693dcb1dac 100644 --- a/msgraph_beta/generated/models/agreement_collection_response.py +++ b/msgraph_beta/generated/models/agreement_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .agreement import Agreement + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/agreement_file.py b/msgraph_beta/generated/models/agreement_file.py index e5a2779627d..8d380b2dd26 100644 --- a/msgraph_beta/generated/models/agreement_file.py +++ b/msgraph_beta/generated/models/agreement_file.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .agreement_file_localization import AgreementFileLocalization + from .agreement_file_properties import AgreementFileProperties + writer.write_collection_of_object_values("localizations", self.localizations) diff --git a/msgraph_beta/generated/models/agreement_file_localization.py b/msgraph_beta/generated/models/agreement_file_localization.py index 8d720888829..ce7a4ebf85a 100644 --- a/msgraph_beta/generated/models/agreement_file_localization.py +++ b/msgraph_beta/generated/models/agreement_file_localization.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .agreement_file_properties import AgreementFileProperties + from .agreement_file_version import AgreementFileVersion + writer.write_collection_of_object_values("versions", self.versions) diff --git a/msgraph_beta/generated/models/agreement_file_localization_collection_response.py b/msgraph_beta/generated/models/agreement_file_localization_collection_response.py index 8f71c1d114b..5ca24891794 100644 --- a/msgraph_beta/generated/models/agreement_file_localization_collection_response.py +++ b/msgraph_beta/generated/models/agreement_file_localization_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .agreement_file_localization import AgreementFileLocalization + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/agreement_file_properties.py b/msgraph_beta/generated/models/agreement_file_properties.py index 22d3953b57b..ac47a9e46a9 100644 --- a/msgraph_beta/generated/models/agreement_file_properties.py +++ b/msgraph_beta/generated/models/agreement_file_properties.py @@ -42,7 +42,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> AgreementFilePrope if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.agreementFile".casefold(): @@ -98,6 +99,12 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .agreement_file import AgreementFile + from .agreement_file_data import AgreementFileData + from .agreement_file_localization import AgreementFileLocalization + from .agreement_file_version import AgreementFileVersion + from .entity import Entity + writer.write_datetime_value("createdDateTime", self.created_date_time) writer.write_str_value("displayName", self.display_name) writer.write_object_value("fileData", self.file_data) diff --git a/msgraph_beta/generated/models/agreement_file_version.py b/msgraph_beta/generated/models/agreement_file_version.py index 16bed04a912..616b78f39a7 100644 --- a/msgraph_beta/generated/models/agreement_file_version.py +++ b/msgraph_beta/generated/models/agreement_file_version.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .agreement_file_properties import AgreementFileProperties + diff --git a/msgraph_beta/generated/models/agreement_file_version_collection_response.py b/msgraph_beta/generated/models/agreement_file_version_collection_response.py index 83c073b205c..9ec3a639df0 100644 --- a/msgraph_beta/generated/models/agreement_file_version_collection_response.py +++ b/msgraph_beta/generated/models/agreement_file_version_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .agreement_file_version import AgreementFileVersion + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/air_print_settings.py b/msgraph_beta/generated/models/air_print_settings.py index 99be159ecba..bf6458e1b44 100644 --- a/msgraph_beta/generated/models/air_print_settings.py +++ b/msgraph_beta/generated/models/air_print_settings.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .incompatible_printer_settings import IncompatiblePrinterSettings + writer.write_enum_value("incompatiblePrinters", self.incompatible_printers) writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/alert.py b/msgraph_beta/generated/models/alert.py index 3bfbfabd1e2..2952bc1c1c3 100644 --- a/msgraph_beta/generated/models/alert.py +++ b/msgraph_beta/generated/models/alert.py @@ -226,6 +226,28 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .alert_detection import AlertDetection + from .alert_feedback import AlertFeedback + from .alert_history_state import AlertHistoryState + from .alert_severity import AlertSeverity + from .alert_status import AlertStatus + from .alert_trigger import AlertTrigger + from .cloud_app_security_state import CloudAppSecurityState + from .entity import Entity + from .file_security_state import FileSecurityState + from .host_security_state import HostSecurityState + from .investigation_security_state import InvestigationSecurityState + from .malware_state import MalwareState + from .message_security_state import MessageSecurityState + from .network_connection import NetworkConnection + from .process import Process + from .registry_key_state import RegistryKeyState + from .security_resource import SecurityResource + from .security_vendor_information import SecurityVendorInformation + from .uri_click_security_state import UriClickSecurityState + from .user_security_state import UserSecurityState + from .vulnerability_state import VulnerabilityState + writer.write_str_value("activityGroupName", self.activity_group_name) writer.write_collection_of_object_values("alertDetections", self.alert_detections) writer.write_str_value("assignedTo", self.assigned_to) diff --git a/msgraph_beta/generated/models/alert_collection_response.py b/msgraph_beta/generated/models/alert_collection_response.py index 863fbd6e5a5..17db7d89e6f 100644 --- a/msgraph_beta/generated/models/alert_collection_response.py +++ b/msgraph_beta/generated/models/alert_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .alert import Alert + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/alert_history_state.py b/msgraph_beta/generated/models/alert_history_state.py index 8a05a52a201..9ebb7765a5d 100644 --- a/msgraph_beta/generated/models/alert_history_state.py +++ b/msgraph_beta/generated/models/alert_history_state.py @@ -75,6 +75,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .alert_feedback import AlertFeedback + from .alert_status import AlertStatus + writer.write_str_value("appId", self.app_id) writer.write_str_value("assignedTo", self.assigned_to) writer.write_collection_of_primitive_values("comments", self.comments) diff --git a/msgraph_beta/generated/models/all_accounts_with_access.py b/msgraph_beta/generated/models/all_accounts_with_access.py index 0662759f8bb..3727bda3ce5 100644 --- a/msgraph_beta/generated/models/all_accounts_with_access.py +++ b/msgraph_beta/generated/models/all_accounts_with_access.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .accounts_with_access import AccountsWithAccess + diff --git a/msgraph_beta/generated/models/all_device_registration_membership.py b/msgraph_beta/generated/models/all_device_registration_membership.py index 5ebc9077c64..541e1badafa 100644 --- a/msgraph_beta/generated/models/all_device_registration_membership.py +++ b/msgraph_beta/generated/models/all_device_registration_membership.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_registration_membership import DeviceRegistrationMembership + diff --git a/msgraph_beta/generated/models/all_devices_assignment_target.py b/msgraph_beta/generated/models/all_devices_assignment_target.py index 8130a4d2e74..f7d0e9ca46c 100644 --- a/msgraph_beta/generated/models/all_devices_assignment_target.py +++ b/msgraph_beta/generated/models/all_devices_assignment_target.py @@ -51,5 +51,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_and_app_management_assignment_target import DeviceAndAppManagementAssignmentTarget + diff --git a/msgraph_beta/generated/models/all_domains.py b/msgraph_beta/generated/models/all_domains.py index b22d03eda35..cece05ddc55 100644 --- a/msgraph_beta/generated/models/all_domains.py +++ b/msgraph_beta/generated/models/all_domains.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .validating_domains import ValidatingDomains + diff --git a/msgraph_beta/generated/models/all_inbound_ports.py b/msgraph_beta/generated/models/all_inbound_ports.py index baf2575969a..74b5857e333 100644 --- a/msgraph_beta/generated/models/all_inbound_ports.py +++ b/msgraph_beta/generated/models/all_inbound_ports.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .inbound_ports import InboundPorts + diff --git a/msgraph_beta/generated/models/all_licensed_users_assignment_target.py b/msgraph_beta/generated/models/all_licensed_users_assignment_target.py index 955f500b548..76265df3b10 100644 --- a/msgraph_beta/generated/models/all_licensed_users_assignment_target.py +++ b/msgraph_beta/generated/models/all_licensed_users_assignment_target.py @@ -51,5 +51,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_and_app_management_assignment_target import DeviceAndAppManagementAssignmentTarget + diff --git a/msgraph_beta/generated/models/all_pre_approved_permissions.py b/msgraph_beta/generated/models/all_pre_approved_permissions.py index 8915038eda4..b9654520cf1 100644 --- a/msgraph_beta/generated/models/all_pre_approved_permissions.py +++ b/msgraph_beta/generated/models/all_pre_approved_permissions.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .pre_approved_permissions import PreApprovedPermissions + diff --git a/msgraph_beta/generated/models/all_pre_approved_permissions_on_resource_app.py b/msgraph_beta/generated/models/all_pre_approved_permissions_on_resource_app.py index 48d1a126ad4..0d934789b18 100644 --- a/msgraph_beta/generated/models/all_pre_approved_permissions_on_resource_app.py +++ b/msgraph_beta/generated/models/all_pre_approved_permissions_on_resource_app.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .pre_approved_permissions import PreApprovedPermissions + writer.write_str_value("resourceApplicationId", self.resource_application_id) diff --git a/msgraph_beta/generated/models/all_scope_sensitivity_labels.py b/msgraph_beta/generated/models/all_scope_sensitivity_labels.py index 352754ab456..466d9d04204 100644 --- a/msgraph_beta/generated/models/all_scope_sensitivity_labels.py +++ b/msgraph_beta/generated/models/all_scope_sensitivity_labels.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .scope_sensitivity_labels import ScopeSensitivityLabels + diff --git a/msgraph_beta/generated/models/allowed_data_location.py b/msgraph_beta/generated/models/allowed_data_location.py index aa918628fe6..321dd35e25f 100644 --- a/msgraph_beta/generated/models/allowed_data_location.py +++ b/msgraph_beta/generated/models/allowed_data_location.py @@ -60,6 +60,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_str_value("appId", self.app_id) writer.write_str_value("domain", self.domain) writer.write_bool_value("isDefault", self.is_default) diff --git a/msgraph_beta/generated/models/allowed_data_location_collection_response.py b/msgraph_beta/generated/models/allowed_data_location_collection_response.py index 7b6b73ae9ca..d3515056bba 100644 --- a/msgraph_beta/generated/models/allowed_data_location_collection_response.py +++ b/msgraph_beta/generated/models/allowed_data_location_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .allowed_data_location import AllowedDataLocation + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/allowed_lobby_admitter_roles.py b/msgraph_beta/generated/models/allowed_lobby_admitter_roles.py new file mode 100644 index 00000000000..15909ef2e3d --- /dev/null +++ b/msgraph_beta/generated/models/allowed_lobby_admitter_roles.py @@ -0,0 +1,7 @@ +from enum import Enum + +class AllowedLobbyAdmitterRoles(str, Enum): + OrganizerAndCoOrganizersAndPresenters = "organizerAndCoOrganizersAndPresenters", + OrganizerAndCoOrganizers = "organizerAndCoOrganizers", + UnknownFutureValue = "unknownFutureValue", + diff --git a/msgraph_beta/generated/models/allowed_value.py b/msgraph_beta/generated/models/allowed_value.py index c54497038e7..a5a2a45688a 100644 --- a/msgraph_beta/generated/models/allowed_value.py +++ b/msgraph_beta/generated/models/allowed_value.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_bool_value("isActive", self.is_active) diff --git a/msgraph_beta/generated/models/allowed_value_collection_response.py b/msgraph_beta/generated/models/allowed_value_collection_response.py index 263ebf3a703..5e3838a18cb 100644 --- a/msgraph_beta/generated/models/allowed_value_collection_response.py +++ b/msgraph_beta/generated/models/allowed_value_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .allowed_value import AllowedValue + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/alteration_response.py b/msgraph_beta/generated/models/alteration_response.py index 4f876618a09..0d1bc26510b 100644 --- a/msgraph_beta/generated/models/alteration_response.py +++ b/msgraph_beta/generated/models/alteration_response.py @@ -62,6 +62,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .search_alteration import SearchAlteration + from .search_alteration_type import SearchAlterationType + writer.write_str_value("@odata.type", self.odata_type) writer.write_str_value("originalQueryString", self.original_query_string) writer.write_object_value("queryAlteration", self.query_alteration) diff --git a/msgraph_beta/generated/models/android_certificate_profile_base.py b/msgraph_beta/generated/models/android_certificate_profile_base.py index 4bea425d192..063a14b38b6 100644 --- a/msgraph_beta/generated/models/android_certificate_profile_base.py +++ b/msgraph_beta/generated/models/android_certificate_profile_base.py @@ -49,7 +49,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> AndroidCertificate if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.androidForWorkImportedPFXCertificateProfile".casefold(): @@ -119,6 +120,17 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .android_for_work_imported_p_f_x_certificate_profile import AndroidForWorkImportedPFXCertificateProfile + from .android_imported_p_f_x_certificate_profile import AndroidImportedPFXCertificateProfile + from .android_pkcs_certificate_profile import AndroidPkcsCertificateProfile + from .android_scep_certificate_profile import AndroidScepCertificateProfile + from .android_trusted_root_certificate import AndroidTrustedRootCertificate + from .certificate_validity_period_scale import CertificateValidityPeriodScale + from .device_configuration import DeviceConfiguration + from .extended_key_usage import ExtendedKeyUsage + from .subject_alternative_name_type import SubjectAlternativeNameType + from .subject_name_format import SubjectNameFormat + writer.write_enum_value("certificateValidityPeriodScale", self.certificate_validity_period_scale) writer.write_int_value("certificateValidityPeriodValue", self.certificate_validity_period_value) writer.write_collection_of_object_values("extendedKeyUsages", self.extended_key_usages) diff --git a/msgraph_beta/generated/models/android_compliance_policy.py b/msgraph_beta/generated/models/android_compliance_policy.py index 0365d944cce..4224e3e40b3 100644 --- a/msgraph_beta/generated/models/android_compliance_policy.py +++ b/msgraph_beta/generated/models/android_compliance_policy.py @@ -144,6 +144,12 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .android_required_password_complexity import AndroidRequiredPasswordComplexity + from .android_required_password_type import AndroidRequiredPasswordType + from .app_list_item import AppListItem + from .device_compliance_policy import DeviceCompliancePolicy + from .device_threat_protection_level import DeviceThreatProtectionLevel + writer.write_enum_value("advancedThreatProtectionRequiredSecurityLevel", self.advanced_threat_protection_required_security_level) writer.write_str_value("conditionStatementId", self.condition_statement_id) writer.write_bool_value("deviceThreatProtectionEnabled", self.device_threat_protection_enabled) diff --git a/msgraph_beta/generated/models/android_custom_configuration.py b/msgraph_beta/generated/models/android_custom_configuration.py index 4d93bbdcd2a..c4635679c59 100644 --- a/msgraph_beta/generated/models/android_custom_configuration.py +++ b/msgraph_beta/generated/models/android_custom_configuration.py @@ -57,6 +57,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_configuration import DeviceConfiguration + from .oma_setting import OmaSetting + writer.write_collection_of_object_values("omaSettings", self.oma_settings) diff --git a/msgraph_beta/generated/models/android_device_compliance_local_action_base.py b/msgraph_beta/generated/models/android_device_compliance_local_action_base.py index fc584ef6e73..157424ebe1b 100644 --- a/msgraph_beta/generated/models/android_device_compliance_local_action_base.py +++ b/msgraph_beta/generated/models/android_device_compliance_local_action_base.py @@ -30,7 +30,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> AndroidDeviceCompl if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.androidDeviceComplianceLocalActionLockDevice".casefold(): @@ -72,6 +73,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .android_device_compliance_local_action_lock_device import AndroidDeviceComplianceLocalActionLockDevice + from .android_device_compliance_local_action_lock_device_with_passcode import AndroidDeviceComplianceLocalActionLockDeviceWithPasscode + from .entity import Entity + writer.write_int_value("gracePeriodInMinutes", self.grace_period_in_minutes) diff --git a/msgraph_beta/generated/models/android_device_compliance_local_action_lock_device.py b/msgraph_beta/generated/models/android_device_compliance_local_action_lock_device.py index fd9ded74db1..c078f1da5ae 100644 --- a/msgraph_beta/generated/models/android_device_compliance_local_action_lock_device.py +++ b/msgraph_beta/generated/models/android_device_compliance_local_action_lock_device.py @@ -51,5 +51,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .android_device_compliance_local_action_base import AndroidDeviceComplianceLocalActionBase + diff --git a/msgraph_beta/generated/models/android_device_compliance_local_action_lock_device_with_passcode.py b/msgraph_beta/generated/models/android_device_compliance_local_action_lock_device_with_passcode.py index 4260b560622..9d8a108b8d3 100644 --- a/msgraph_beta/generated/models/android_device_compliance_local_action_lock_device_with_passcode.py +++ b/msgraph_beta/generated/models/android_device_compliance_local_action_lock_device_with_passcode.py @@ -57,6 +57,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .android_device_compliance_local_action_base import AndroidDeviceComplianceLocalActionBase + writer.write_int_value("passcodeSignInFailureCountBeforeWipe", self.passcode_sign_in_failure_count_before_wipe) diff --git a/msgraph_beta/generated/models/android_device_owner_certificate_profile_base.py b/msgraph_beta/generated/models/android_device_owner_certificate_profile_base.py index 251a008ee7d..ea76880b659 100644 --- a/msgraph_beta/generated/models/android_device_owner_certificate_profile_base.py +++ b/msgraph_beta/generated/models/android_device_owner_certificate_profile_base.py @@ -48,7 +48,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> AndroidDeviceOwner if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.androidDeviceOwnerImportedPFXCertificateProfile".casefold(): @@ -112,6 +113,16 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .android_device_owner_imported_p_f_x_certificate_profile import AndroidDeviceOwnerImportedPFXCertificateProfile + from .android_device_owner_pkcs_certificate_profile import AndroidDeviceOwnerPkcsCertificateProfile + from .android_device_owner_scep_certificate_profile import AndroidDeviceOwnerScepCertificateProfile + from .android_device_owner_trusted_root_certificate import AndroidDeviceOwnerTrustedRootCertificate + from .certificate_validity_period_scale import CertificateValidityPeriodScale + from .device_configuration import DeviceConfiguration + from .extended_key_usage import ExtendedKeyUsage + from .subject_alternative_name_type import SubjectAlternativeNameType + from .subject_name_format import SubjectNameFormat + writer.write_enum_value("certificateValidityPeriodScale", self.certificate_validity_period_scale) writer.write_int_value("certificateValidityPeriodValue", self.certificate_validity_period_value) writer.write_collection_of_object_values("extendedKeyUsages", self.extended_key_usages) diff --git a/msgraph_beta/generated/models/android_device_owner_compliance_policy.py b/msgraph_beta/generated/models/android_device_owner_compliance_policy.py index 0fd1ff80a75..622d30dafa2 100644 --- a/msgraph_beta/generated/models/android_device_owner_compliance_policy.py +++ b/msgraph_beta/generated/models/android_device_owner_compliance_policy.py @@ -132,6 +132,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .android_device_owner_required_password_type import AndroidDeviceOwnerRequiredPasswordType + from .android_safety_net_evaluation_type import AndroidSafetyNetEvaluationType + from .device_compliance_policy import DeviceCompliancePolicy + from .device_threat_protection_level import DeviceThreatProtectionLevel + writer.write_enum_value("advancedThreatProtectionRequiredSecurityLevel", self.advanced_threat_protection_required_security_level) writer.write_bool_value("deviceThreatProtectionEnabled", self.device_threat_protection_enabled) writer.write_enum_value("deviceThreatProtectionRequiredSecurityLevel", self.device_threat_protection_required_security_level) diff --git a/msgraph_beta/generated/models/android_device_owner_delegated_scope_app_setting.py b/msgraph_beta/generated/models/android_device_owner_delegated_scope_app_setting.py index 4c39606d10a..a343e3bafab 100644 --- a/msgraph_beta/generated/models/android_device_owner_delegated_scope_app_setting.py +++ b/msgraph_beta/generated/models/android_device_owner_delegated_scope_app_setting.py @@ -62,6 +62,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .android_device_owner_delegated_app_scope_type import AndroidDeviceOwnerDelegatedAppScopeType + from .app_list_item import AppListItem + writer.write_object_value("appDetail", self.app_detail) writer.write_collection_of_enum_values("appScopes", self.app_scopes) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/android_device_owner_derived_credential_authentication_configuration.py b/msgraph_beta/generated/models/android_device_owner_derived_credential_authentication_configuration.py index b7165747e2c..d9463dd1898 100644 --- a/msgraph_beta/generated/models/android_device_owner_derived_credential_authentication_configuration.py +++ b/msgraph_beta/generated/models/android_device_owner_derived_credential_authentication_configuration.py @@ -69,6 +69,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .android_device_owner_certificate_access_type import AndroidDeviceOwnerCertificateAccessType + from .android_device_owner_silent_certificate_access import AndroidDeviceOwnerSilentCertificateAccess + from .device_configuration import DeviceConfiguration + from .device_management_derived_credential_settings import DeviceManagementDerivedCredentialSettings + writer.write_enum_value("certificateAccessType", self.certificate_access_type) writer.write_object_value("derivedCredentialSettings", self.derived_credential_settings) writer.write_collection_of_object_values("silentCertificateAccessDetails", self.silent_certificate_access_details) diff --git a/msgraph_beta/generated/models/android_device_owner_enrollment_profile.py b/msgraph_beta/generated/models/android_device_owner_enrollment_profile.py index c778d2617fc..4874e9e55c8 100644 --- a/msgraph_beta/generated/models/android_device_owner_enrollment_profile.py +++ b/msgraph_beta/generated/models/android_device_owner_enrollment_profile.py @@ -127,6 +127,12 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .android_device_owner_enrollment_mode import AndroidDeviceOwnerEnrollmentMode + from .android_device_owner_enrollment_token_type import AndroidDeviceOwnerEnrollmentTokenType + from .aosp_wifi_security_type import AospWifiSecurityType + from .entity import Entity + from .mime_content import MimeContent + writer.write_str_value("accountId", self.account_id) writer.write_bool_value("configureWifi", self.configure_wifi) writer.write_datetime_value("createdDateTime", self.created_date_time) diff --git a/msgraph_beta/generated/models/android_device_owner_enrollment_profile_collection_response.py b/msgraph_beta/generated/models/android_device_owner_enrollment_profile_collection_response.py index 3228eb1cd54..a86b6b50763 100644 --- a/msgraph_beta/generated/models/android_device_owner_enrollment_profile_collection_response.py +++ b/msgraph_beta/generated/models/android_device_owner_enrollment_profile_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .android_device_owner_enrollment_profile import AndroidDeviceOwnerEnrollmentProfile + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/android_device_owner_enterprise_wi_fi_configuration.py b/msgraph_beta/generated/models/android_device_owner_enterprise_wi_fi_configuration.py index 77b8f843754..6da592588f3 100644 --- a/msgraph_beta/generated/models/android_device_owner_enterprise_wi_fi_configuration.py +++ b/msgraph_beta/generated/models/android_device_owner_enterprise_wi_fi_configuration.py @@ -38,6 +38,8 @@ class AndroidDeviceOwnerEnterpriseWiFiConfiguration(AndroidDeviceOwnerWiFiConfig outer_identity_privacy_temporary_value: Optional[str] = None # Trusted Root Certificate for Server Validation when EAP Type is configured to EAP-TLS, EAP-TTLS or PEAP. This is the certificate presented by the Wi-Fi endpoint when the device attempts to connect to Wi-Fi endpoint. The device (or user) must accept this certificate to continue the connection attempt. root_certificate_for_server_validation: Optional[AndroidDeviceOwnerTrustedRootCertificate] = None + # Trusted Root Certificates for Server Validation when EAP Type is configured to EAP-TLS, EAP-TTLS or PEAP. This is the certificate presented by the Wi-Fi endpoint when the device attempts to connect to Wi-Fi endpoint. The device (or user) must accept this certificate to continue the connection attempt. This collection can contain a maximum of 500 elements. + root_certificates_for_server_validation: Optional[List[AndroidDeviceOwnerTrustedRootCertificate]] = None # Trusted server certificate names when EAP Type is configured to EAP-TLS/TTLS/FAST or PEAP. This is the common name used in the certificates issued by your trusted certificate authority (CA). If you provide this information, you can bypass the dynamic trust dialog that is displayed on end users' devices when they connect to this Wi-Fi network. trusted_server_certificate_names: Optional[List[str]] = None @@ -84,6 +86,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: "innerAuthenticationProtocolForPeap": lambda n : setattr(self, 'inner_authentication_protocol_for_peap', n.get_enum_value(NonEapAuthenticationMethodForPeap)), "outerIdentityPrivacyTemporaryValue": lambda n : setattr(self, 'outer_identity_privacy_temporary_value', n.get_str_value()), "rootCertificateForServerValidation": lambda n : setattr(self, 'root_certificate_for_server_validation', n.get_object_value(AndroidDeviceOwnerTrustedRootCertificate)), + "rootCertificatesForServerValidation": lambda n : setattr(self, 'root_certificates_for_server_validation', n.get_collection_of_object_values(AndroidDeviceOwnerTrustedRootCertificate)), "trustedServerCertificateNames": lambda n : setattr(self, 'trusted_server_certificate_names', n.get_collection_of_primitive_values(str)), } super_fields = super().get_field_deserializers() @@ -99,6 +102,15 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .android_device_owner_certificate_profile_base import AndroidDeviceOwnerCertificateProfileBase + from .android_device_owner_trusted_root_certificate import AndroidDeviceOwnerTrustedRootCertificate + from .android_device_owner_wi_fi_configuration import AndroidDeviceOwnerWiFiConfiguration + from .android_eap_type import AndroidEapType + from .device_management_derived_credential_settings import DeviceManagementDerivedCredentialSettings + from .non_eap_authentication_method_for_eap_ttls_type import NonEapAuthenticationMethodForEapTtlsType + from .non_eap_authentication_method_for_peap import NonEapAuthenticationMethodForPeap + from .wi_fi_authentication_method import WiFiAuthenticationMethod + writer.write_enum_value("authenticationMethod", self.authentication_method) writer.write_object_value("derivedCredentialSettings", self.derived_credential_settings) writer.write_enum_value("eapType", self.eap_type) @@ -107,6 +119,7 @@ def serialize(self,writer: SerializationWriter) -> None: writer.write_enum_value("innerAuthenticationProtocolForPeap", self.inner_authentication_protocol_for_peap) writer.write_str_value("outerIdentityPrivacyTemporaryValue", self.outer_identity_privacy_temporary_value) writer.write_object_value("rootCertificateForServerValidation", self.root_certificate_for_server_validation) + writer.write_collection_of_object_values("rootCertificatesForServerValidation", self.root_certificates_for_server_validation) writer.write_collection_of_primitive_values("trustedServerCertificateNames", self.trusted_server_certificate_names) diff --git a/msgraph_beta/generated/models/android_device_owner_general_device_configuration.py b/msgraph_beta/generated/models/android_device_owner_general_device_configuration.py index c374539e9d4..d318917c432 100644 --- a/msgraph_beta/generated/models/android_device_owner_general_device_configuration.py +++ b/msgraph_beta/generated/models/android_device_owner_general_device_configuration.py @@ -555,6 +555,37 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .android_device_owner_app_auto_update_policy_type import AndroidDeviceOwnerAppAutoUpdatePolicyType + from .android_device_owner_battery_plugged_mode import AndroidDeviceOwnerBatteryPluggedMode + from .android_device_owner_cross_profile_data_sharing import AndroidDeviceOwnerCrossProfileDataSharing + from .android_device_owner_default_app_permission_policy_type import AndroidDeviceOwnerDefaultAppPermissionPolicyType + from .android_device_owner_delegated_scope_app_setting import AndroidDeviceOwnerDelegatedScopeAppSetting + from .android_device_owner_enrollment_profile_type import AndroidDeviceOwnerEnrollmentProfileType + from .android_device_owner_global_proxy import AndroidDeviceOwnerGlobalProxy + from .android_device_owner_kiosk_customization_status_bar import AndroidDeviceOwnerKioskCustomizationStatusBar + from .android_device_owner_kiosk_customization_system_navigation import AndroidDeviceOwnerKioskCustomizationSystemNavigation + from .android_device_owner_kiosk_mode_app_position_item import AndroidDeviceOwnerKioskModeAppPositionItem + from .android_device_owner_kiosk_mode_folder_icon import AndroidDeviceOwnerKioskModeFolderIcon + from .android_device_owner_kiosk_mode_icon_size import AndroidDeviceOwnerKioskModeIconSize + from .android_device_owner_kiosk_mode_managed_folder import AndroidDeviceOwnerKioskModeManagedFolder + from .android_device_owner_kiosk_mode_screen_orientation import AndroidDeviceOwnerKioskModeScreenOrientation + from .android_device_owner_location_mode import AndroidDeviceOwnerLocationMode + from .android_device_owner_play_store_mode import AndroidDeviceOwnerPlayStoreMode + from .android_device_owner_required_password_type import AndroidDeviceOwnerRequiredPasswordType + from .android_device_owner_required_password_unlock import AndroidDeviceOwnerRequiredPasswordUnlock + from .android_device_owner_system_update_freeze_period import AndroidDeviceOwnerSystemUpdateFreezePeriod + from .android_device_owner_system_update_install_type import AndroidDeviceOwnerSystemUpdateInstallType + from .android_device_owner_user_facing_message import AndroidDeviceOwnerUserFacingMessage + from .android_device_owner_virtual_home_button_type import AndroidDeviceOwnerVirtualHomeButtonType + from .android_keyguard_feature import AndroidKeyguardFeature + from .app_list_item import AppListItem + from .device_configuration import DeviceConfiguration + from .kiosk_mode_managed_home_screen_pin_complexity import KioskModeManagedHomeScreenPinComplexity + from .kiosk_mode_type import KioskModeType + from .microsoft_launcher_dock_presence import MicrosoftLauncherDockPresence + from .microsoft_launcher_search_bar_placement import MicrosoftLauncherSearchBarPlacement + from .personal_profile_personal_play_store_mode import PersonalProfilePersonalPlayStoreMode + writer.write_bool_value("accountsBlockModification", self.accounts_block_modification) writer.write_collection_of_object_values("androidDeviceOwnerDelegatedScopeAppSettings", self.android_device_owner_delegated_scope_app_settings) writer.write_bool_value("appsAllowInstallFromUnknownSources", self.apps_allow_install_from_unknown_sources) diff --git a/msgraph_beta/generated/models/android_device_owner_global_proxy.py b/msgraph_beta/generated/models/android_device_owner_global_proxy.py index 01776465ae3..357d8580d71 100644 --- a/msgraph_beta/generated/models/android_device_owner_global_proxy.py +++ b/msgraph_beta/generated/models/android_device_owner_global_proxy.py @@ -31,7 +31,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> AndroidDeviceOwner if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.androidDeviceOwnerGlobalProxyAutoConfig".casefold(): @@ -68,6 +69,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .android_device_owner_global_proxy_auto_config import AndroidDeviceOwnerGlobalProxyAutoConfig + from .android_device_owner_global_proxy_direct import AndroidDeviceOwnerGlobalProxyDirect + writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/android_device_owner_global_proxy_auto_config.py b/msgraph_beta/generated/models/android_device_owner_global_proxy_auto_config.py index 82706d4f43e..095d3580c82 100644 --- a/msgraph_beta/generated/models/android_device_owner_global_proxy_auto_config.py +++ b/msgraph_beta/generated/models/android_device_owner_global_proxy_auto_config.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .android_device_owner_global_proxy import AndroidDeviceOwnerGlobalProxy + writer.write_str_value("proxyAutoConfigURL", self.proxy_auto_config_u_r_l) diff --git a/msgraph_beta/generated/models/android_device_owner_global_proxy_direct.py b/msgraph_beta/generated/models/android_device_owner_global_proxy_direct.py index b4da3f38fe7..b47e4697582 100644 --- a/msgraph_beta/generated/models/android_device_owner_global_proxy_direct.py +++ b/msgraph_beta/generated/models/android_device_owner_global_proxy_direct.py @@ -60,6 +60,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .android_device_owner_global_proxy import AndroidDeviceOwnerGlobalProxy + writer.write_collection_of_primitive_values("excludedHosts", self.excluded_hosts) writer.write_str_value("host", self.host) writer.write_int_value("port", self.port) diff --git a/msgraph_beta/generated/models/android_device_owner_imported_p_f_x_certificate_profile.py b/msgraph_beta/generated/models/android_device_owner_imported_p_f_x_certificate_profile.py index e962a441e14..3748639167b 100644 --- a/msgraph_beta/generated/models/android_device_owner_imported_p_f_x_certificate_profile.py +++ b/msgraph_beta/generated/models/android_device_owner_imported_p_f_x_certificate_profile.py @@ -75,6 +75,12 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .android_device_owner_certificate_access_type import AndroidDeviceOwnerCertificateAccessType + from .android_device_owner_certificate_profile_base import AndroidDeviceOwnerCertificateProfileBase + from .android_device_owner_silent_certificate_access import AndroidDeviceOwnerSilentCertificateAccess + from .intended_purpose import IntendedPurpose + from .managed_device_certificate_state import ManagedDeviceCertificateState + writer.write_enum_value("certificateAccessType", self.certificate_access_type) writer.write_enum_value("intendedPurpose", self.intended_purpose) writer.write_collection_of_object_values("managedDeviceCertificateStates", self.managed_device_certificate_states) diff --git a/msgraph_beta/generated/models/android_device_owner_kiosk_mode_app.py b/msgraph_beta/generated/models/android_device_owner_kiosk_mode_app.py index 2dfd57b812d..92841682486 100644 --- a/msgraph_beta/generated/models/android_device_owner_kiosk_mode_app.py +++ b/msgraph_beta/generated/models/android_device_owner_kiosk_mode_app.py @@ -57,6 +57,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .android_device_owner_kiosk_mode_folder_item import AndroidDeviceOwnerKioskModeFolderItem + writer.write_str_value("className", self.class_name) writer.write_str_value("package", self.package) diff --git a/msgraph_beta/generated/models/android_device_owner_kiosk_mode_app_position_item.py b/msgraph_beta/generated/models/android_device_owner_kiosk_mode_app_position_item.py index 96290fd5f3b..1b68e893343 100644 --- a/msgraph_beta/generated/models/android_device_owner_kiosk_mode_app_position_item.py +++ b/msgraph_beta/generated/models/android_device_owner_kiosk_mode_app_position_item.py @@ -59,6 +59,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .android_device_owner_kiosk_mode_home_screen_item import AndroidDeviceOwnerKioskModeHomeScreenItem + writer.write_object_value("item", self.item) writer.write_str_value("@odata.type", self.odata_type) writer.write_int_value("position", self.position) diff --git a/msgraph_beta/generated/models/android_device_owner_kiosk_mode_folder_item.py b/msgraph_beta/generated/models/android_device_owner_kiosk_mode_folder_item.py index c11239b02d8..8ed178c159c 100644 --- a/msgraph_beta/generated/models/android_device_owner_kiosk_mode_folder_item.py +++ b/msgraph_beta/generated/models/android_device_owner_kiosk_mode_folder_item.py @@ -28,7 +28,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> AndroidDeviceOwner if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.androidDeviceOwnerKioskModeApp".casefold(): @@ -69,5 +70,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .android_device_owner_kiosk_mode_app import AndroidDeviceOwnerKioskModeApp + from .android_device_owner_kiosk_mode_home_screen_item import AndroidDeviceOwnerKioskModeHomeScreenItem + from .android_device_owner_kiosk_mode_weblink import AndroidDeviceOwnerKioskModeWeblink + diff --git a/msgraph_beta/generated/models/android_device_owner_kiosk_mode_home_screen_item.py b/msgraph_beta/generated/models/android_device_owner_kiosk_mode_home_screen_item.py index 25d3c47a48c..d0daf8d50f4 100644 --- a/msgraph_beta/generated/models/android_device_owner_kiosk_mode_home_screen_item.py +++ b/msgraph_beta/generated/models/android_device_owner_kiosk_mode_home_screen_item.py @@ -33,7 +33,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> AndroidDeviceOwner if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.androidDeviceOwnerKioskModeApp".casefold(): @@ -82,6 +83,11 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .android_device_owner_kiosk_mode_app import AndroidDeviceOwnerKioskModeApp + from .android_device_owner_kiosk_mode_folder_item import AndroidDeviceOwnerKioskModeFolderItem + from .android_device_owner_kiosk_mode_managed_folder_reference import AndroidDeviceOwnerKioskModeManagedFolderReference + from .android_device_owner_kiosk_mode_weblink import AndroidDeviceOwnerKioskModeWeblink + writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/android_device_owner_kiosk_mode_managed_folder.py b/msgraph_beta/generated/models/android_device_owner_kiosk_mode_managed_folder.py index e2a6b73f101..89e03d352de 100644 --- a/msgraph_beta/generated/models/android_device_owner_kiosk_mode_managed_folder.py +++ b/msgraph_beta/generated/models/android_device_owner_kiosk_mode_managed_folder.py @@ -62,6 +62,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .android_device_owner_kiosk_mode_folder_item import AndroidDeviceOwnerKioskModeFolderItem + writer.write_str_value("folderIdentifier", self.folder_identifier) writer.write_str_value("folderName", self.folder_name) writer.write_collection_of_object_values("items", self.items) diff --git a/msgraph_beta/generated/models/android_device_owner_kiosk_mode_managed_folder_reference.py b/msgraph_beta/generated/models/android_device_owner_kiosk_mode_managed_folder_reference.py index 637a0454df4..56152c7904b 100644 --- a/msgraph_beta/generated/models/android_device_owner_kiosk_mode_managed_folder_reference.py +++ b/msgraph_beta/generated/models/android_device_owner_kiosk_mode_managed_folder_reference.py @@ -57,6 +57,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .android_device_owner_kiosk_mode_home_screen_item import AndroidDeviceOwnerKioskModeHomeScreenItem + writer.write_str_value("folderIdentifier", self.folder_identifier) writer.write_str_value("folderName", self.folder_name) diff --git a/msgraph_beta/generated/models/android_device_owner_kiosk_mode_weblink.py b/msgraph_beta/generated/models/android_device_owner_kiosk_mode_weblink.py index ac0db7f1430..28fdf43e15e 100644 --- a/msgraph_beta/generated/models/android_device_owner_kiosk_mode_weblink.py +++ b/msgraph_beta/generated/models/android_device_owner_kiosk_mode_weblink.py @@ -57,6 +57,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .android_device_owner_kiosk_mode_folder_item import AndroidDeviceOwnerKioskModeFolderItem + writer.write_str_value("label", self.label) writer.write_str_value("link", self.link) diff --git a/msgraph_beta/generated/models/android_device_owner_pkcs_certificate_profile.py b/msgraph_beta/generated/models/android_device_owner_pkcs_certificate_profile.py index d7695c380f0..72bca2398c6 100644 --- a/msgraph_beta/generated/models/android_device_owner_pkcs_certificate_profile.py +++ b/msgraph_beta/generated/models/android_device_owner_pkcs_certificate_profile.py @@ -102,6 +102,14 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .android_device_owner_certificate_access_type import AndroidDeviceOwnerCertificateAccessType + from .android_device_owner_certificate_profile_base import AndroidDeviceOwnerCertificateProfileBase + from .android_device_owner_silent_certificate_access import AndroidDeviceOwnerSilentCertificateAccess + from .certificate_store import CertificateStore + from .custom_subject_alternative_name import CustomSubjectAlternativeName + from .device_management_certification_authority import DeviceManagementCertificationAuthority + from .managed_device_certificate_state import ManagedDeviceCertificateState + writer.write_enum_value("certificateAccessType", self.certificate_access_type) writer.write_enum_value("certificateStore", self.certificate_store) writer.write_str_value("certificateTemplateName", self.certificate_template_name) diff --git a/msgraph_beta/generated/models/android_device_owner_scep_certificate_profile.py b/msgraph_beta/generated/models/android_device_owner_scep_certificate_profile.py index eb6a1d1c59d..081dcaf42f6 100644 --- a/msgraph_beta/generated/models/android_device_owner_scep_certificate_profile.py +++ b/msgraph_beta/generated/models/android_device_owner_scep_certificate_profile.py @@ -108,6 +108,16 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .android_device_owner_certificate_access_type import AndroidDeviceOwnerCertificateAccessType + from .android_device_owner_certificate_profile_base import AndroidDeviceOwnerCertificateProfileBase + from .android_device_owner_silent_certificate_access import AndroidDeviceOwnerSilentCertificateAccess + from .certificate_store import CertificateStore + from .custom_subject_alternative_name import CustomSubjectAlternativeName + from .hash_algorithms import HashAlgorithms + from .key_size import KeySize + from .key_usages import KeyUsages + from .managed_device_certificate_state import ManagedDeviceCertificateState + writer.write_enum_value("certificateAccessType", self.certificate_access_type) writer.write_enum_value("certificateStore", self.certificate_store) writer.write_collection_of_object_values("customSubjectAlternativeNames", self.custom_subject_alternative_names) diff --git a/msgraph_beta/generated/models/android_device_owner_trusted_root_certificate.py b/msgraph_beta/generated/models/android_device_owner_trusted_root_certificate.py index 2edd22cd006..6133f4c771e 100644 --- a/msgraph_beta/generated/models/android_device_owner_trusted_root_certificate.py +++ b/msgraph_beta/generated/models/android_device_owner_trusted_root_certificate.py @@ -57,6 +57,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_configuration import DeviceConfiguration + writer.write_str_value("certFileName", self.cert_file_name) writer.write_bytes_value("trustedRootCertificate", self.trusted_root_certificate) diff --git a/msgraph_beta/generated/models/android_device_owner_user_facing_message.py b/msgraph_beta/generated/models/android_device_owner_user_facing_message.py index 39c128ef479..4a043134401 100644 --- a/msgraph_beta/generated/models/android_device_owner_user_facing_message.py +++ b/msgraph_beta/generated/models/android_device_owner_user_facing_message.py @@ -59,6 +59,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .key_value_pair import KeyValuePair + writer.write_str_value("defaultMessage", self.default_message) writer.write_collection_of_object_values("localizedMessages", self.localized_messages) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/android_device_owner_vpn_configuration.py b/msgraph_beta/generated/models/android_device_owner_vpn_configuration.py index 974f87172fc..931430891f0 100644 --- a/msgraph_beta/generated/models/android_device_owner_vpn_configuration.py +++ b/msgraph_beta/generated/models/android_device_owner_vpn_configuration.py @@ -108,6 +108,15 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .android_device_owner_certificate_profile_base import AndroidDeviceOwnerCertificateProfileBase + from .android_vpn_connection_type import AndroidVpnConnectionType + from .app_list_item import AppListItem + from .device_management_derived_credential_settings import DeviceManagementDerivedCredentialSettings + from .key_value import KeyValue + from .key_value_pair import KeyValuePair + from .vpn_configuration import VpnConfiguration + from .vpn_proxy_server import VpnProxyServer + writer.write_bool_value("alwaysOn", self.always_on) writer.write_bool_value("alwaysOnLockdown", self.always_on_lockdown) writer.write_enum_value("connectionType", self.connection_type) diff --git a/msgraph_beta/generated/models/android_device_owner_wi_fi_configuration.py b/msgraph_beta/generated/models/android_device_owner_wi_fi_configuration.py index cb556384f53..68e269471c3 100644 --- a/msgraph_beta/generated/models/android_device_owner_wi_fi_configuration.py +++ b/msgraph_beta/generated/models/android_device_owner_wi_fi_configuration.py @@ -56,7 +56,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> AndroidDeviceOwner if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.androidDeviceOwnerEnterpriseWiFiConfiguration".casefold(): @@ -110,6 +111,12 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .android_device_owner_enterprise_wi_fi_configuration import AndroidDeviceOwnerEnterpriseWiFiConfiguration + from .android_device_owner_wi_fi_security_type import AndroidDeviceOwnerWiFiSecurityType + from .device_configuration import DeviceConfiguration + from .mac_address_randomization_mode import MacAddressRandomizationMode + from .wi_fi_proxy_setting import WiFiProxySetting + writer.write_bool_value("connectAutomatically", self.connect_automatically) writer.write_bool_value("connectWhenNetworkNameIsHidden", self.connect_when_network_name_is_hidden) writer.write_enum_value("macAddressRandomizationMode", self.mac_address_randomization_mode) diff --git a/msgraph_beta/generated/models/android_eas_email_profile_configuration.py b/msgraph_beta/generated/models/android_eas_email_profile_configuration.py index 98173ce5a2f..9fc2494979d 100644 --- a/msgraph_beta/generated/models/android_eas_email_profile_configuration.py +++ b/msgraph_beta/generated/models/android_eas_email_profile_configuration.py @@ -123,6 +123,15 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .android_certificate_profile_base import AndroidCertificateProfileBase + from .android_username_source import AndroidUsernameSource + from .device_configuration import DeviceConfiguration + from .domain_name_source import DomainNameSource + from .eas_authentication_method import EasAuthenticationMethod + from .email_sync_duration import EmailSyncDuration + from .email_sync_schedule import EmailSyncSchedule + from .user_email_source import UserEmailSource + writer.write_str_value("accountName", self.account_name) writer.write_enum_value("authenticationMethod", self.authentication_method) writer.write_str_value("customDomainName", self.custom_domain_name) diff --git a/msgraph_beta/generated/models/android_enrollment_company_code.py b/msgraph_beta/generated/models/android_enrollment_company_code.py index 43e1799a101..655f055b5a9 100644 --- a/msgraph_beta/generated/models/android_enrollment_company_code.py +++ b/msgraph_beta/generated/models/android_enrollment_company_code.py @@ -62,6 +62,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .mime_content import MimeContent + writer.write_str_value("enrollmentToken", self.enrollment_token) writer.write_str_value("@odata.type", self.odata_type) writer.write_str_value("qrCodeContent", self.qr_code_content) diff --git a/msgraph_beta/generated/models/android_enterprise_wi_fi_configuration.py b/msgraph_beta/generated/models/android_enterprise_wi_fi_configuration.py index 23ed5c3362d..7d590f6b3f9 100644 --- a/msgraph_beta/generated/models/android_enterprise_wi_fi_configuration.py +++ b/msgraph_beta/generated/models/android_enterprise_wi_fi_configuration.py @@ -102,6 +102,14 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .android_certificate_profile_base import AndroidCertificateProfileBase + from .android_eap_type import AndroidEapType + from .android_trusted_root_certificate import AndroidTrustedRootCertificate + from .android_wi_fi_configuration import AndroidWiFiConfiguration + from .non_eap_authentication_method_for_eap_ttls_type import NonEapAuthenticationMethodForEapTtlsType + from .non_eap_authentication_method_for_peap import NonEapAuthenticationMethodForPeap + from .wi_fi_authentication_method import WiFiAuthenticationMethod + writer.write_enum_value("authenticationMethod", self.authentication_method) writer.write_enum_value("eapType", self.eap_type) writer.write_object_value("identityCertificateForClientAuthentication", self.identity_certificate_for_client_authentication) diff --git a/msgraph_beta/generated/models/android_for_work_app.py b/msgraph_beta/generated/models/android_for_work_app.py index b1db2fe6614..e00b4729bfb 100644 --- a/msgraph_beta/generated/models/android_for_work_app.py +++ b/msgraph_beta/generated/models/android_for_work_app.py @@ -66,6 +66,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .mobile_app import MobileApp + writer.write_str_value("appStoreUrl", self.app_store_url) writer.write_int_value("totalLicenseCount", self.total_license_count) writer.write_int_value("usedLicenseCount", self.used_license_count) diff --git a/msgraph_beta/generated/models/android_for_work_app_collection_response.py b/msgraph_beta/generated/models/android_for_work_app_collection_response.py index 959bef58f3c..4a70d15147c 100644 --- a/msgraph_beta/generated/models/android_for_work_app_collection_response.py +++ b/msgraph_beta/generated/models/android_for_work_app_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .android_for_work_app import AndroidForWorkApp + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/android_for_work_app_configuration_schema.py b/msgraph_beta/generated/models/android_for_work_app_configuration_schema.py index 241aeb8a33c..e206c303a96 100644 --- a/msgraph_beta/generated/models/android_for_work_app_configuration_schema.py +++ b/msgraph_beta/generated/models/android_for_work_app_configuration_schema.py @@ -60,6 +60,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .android_for_work_app_configuration_schema_item import AndroidForWorkAppConfigurationSchemaItem + from .entity import Entity + writer.write_bytes_value("exampleJson", self.example_json) writer.write_collection_of_object_values("schemaItems", self.schema_items) diff --git a/msgraph_beta/generated/models/android_for_work_app_configuration_schema_collection_response.py b/msgraph_beta/generated/models/android_for_work_app_configuration_schema_collection_response.py index 5b6b99108b8..2bf3b0e0ead 100644 --- a/msgraph_beta/generated/models/android_for_work_app_configuration_schema_collection_response.py +++ b/msgraph_beta/generated/models/android_for_work_app_configuration_schema_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .android_for_work_app_configuration_schema import AndroidForWorkAppConfigurationSchema + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/android_for_work_app_configuration_schema_item.py b/msgraph_beta/generated/models/android_for_work_app_configuration_schema_item.py index 18c9b765e83..b8d340c0231 100644 --- a/msgraph_beta/generated/models/android_for_work_app_configuration_schema_item.py +++ b/msgraph_beta/generated/models/android_for_work_app_configuration_schema_item.py @@ -83,6 +83,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .android_for_work_app_configuration_schema_item_data_type import AndroidForWorkAppConfigurationSchemaItemDataType + from .key_value_pair import KeyValuePair + writer.write_enum_value("dataType", self.data_type) writer.write_bool_value("defaultBoolValue", self.default_bool_value) writer.write_int_value("defaultIntValue", self.default_int_value) diff --git a/msgraph_beta/generated/models/android_for_work_certificate_profile_base.py b/msgraph_beta/generated/models/android_for_work_certificate_profile_base.py index 92f65db1706..3644b8e33f1 100644 --- a/msgraph_beta/generated/models/android_for_work_certificate_profile_base.py +++ b/msgraph_beta/generated/models/android_for_work_certificate_profile_base.py @@ -47,7 +47,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> AndroidForWorkCert if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.androidForWorkPkcsCertificateProfile".casefold(): @@ -105,6 +106,15 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .android_for_work_pkcs_certificate_profile import AndroidForWorkPkcsCertificateProfile + from .android_for_work_scep_certificate_profile import AndroidForWorkScepCertificateProfile + from .android_for_work_trusted_root_certificate import AndroidForWorkTrustedRootCertificate + from .certificate_validity_period_scale import CertificateValidityPeriodScale + from .device_configuration import DeviceConfiguration + from .extended_key_usage import ExtendedKeyUsage + from .subject_alternative_name_type import SubjectAlternativeNameType + from .subject_name_format import SubjectNameFormat + writer.write_enum_value("certificateValidityPeriodScale", self.certificate_validity_period_scale) writer.write_int_value("certificateValidityPeriodValue", self.certificate_validity_period_value) writer.write_collection_of_object_values("extendedKeyUsages", self.extended_key_usages) diff --git a/msgraph_beta/generated/models/android_for_work_compliance_policy.py b/msgraph_beta/generated/models/android_for_work_compliance_policy.py index 64c2a61e323..9ee4dadbbdd 100644 --- a/msgraph_beta/generated/models/android_for_work_compliance_policy.py +++ b/msgraph_beta/generated/models/android_for_work_compliance_policy.py @@ -159,6 +159,13 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .android_for_work_required_password_type import AndroidForWorkRequiredPasswordType + from .android_required_password_complexity import AndroidRequiredPasswordComplexity + from .android_required_password_type import AndroidRequiredPasswordType + from .android_safety_net_evaluation_type import AndroidSafetyNetEvaluationType + from .device_compliance_policy import DeviceCompliancePolicy + from .device_threat_protection_level import DeviceThreatProtectionLevel + writer.write_bool_value("deviceThreatProtectionEnabled", self.device_threat_protection_enabled) writer.write_enum_value("deviceThreatProtectionRequiredSecurityLevel", self.device_threat_protection_required_security_level) writer.write_str_value("minAndroidSecurityPatchLevel", self.min_android_security_patch_level) diff --git a/msgraph_beta/generated/models/android_for_work_custom_configuration.py b/msgraph_beta/generated/models/android_for_work_custom_configuration.py index b7448431bd6..85dc062e4d9 100644 --- a/msgraph_beta/generated/models/android_for_work_custom_configuration.py +++ b/msgraph_beta/generated/models/android_for_work_custom_configuration.py @@ -57,6 +57,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_configuration import DeviceConfiguration + from .oma_setting import OmaSetting + writer.write_collection_of_object_values("omaSettings", self.oma_settings) diff --git a/msgraph_beta/generated/models/android_for_work_eas_email_profile_base.py b/msgraph_beta/generated/models/android_for_work_eas_email_profile_base.py index b86d5c107a0..336e2056fac 100644 --- a/msgraph_beta/generated/models/android_for_work_eas_email_profile_base.py +++ b/msgraph_beta/generated/models/android_for_work_eas_email_profile_base.py @@ -47,7 +47,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> AndroidForWorkEasE if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.androidForWorkGmailEasConfiguration".casefold(): @@ -105,6 +106,15 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .android_for_work_certificate_profile_base import AndroidForWorkCertificateProfileBase + from .android_for_work_gmail_eas_configuration import AndroidForWorkGmailEasConfiguration + from .android_for_work_nine_work_eas_configuration import AndroidForWorkNineWorkEasConfiguration + from .android_username_source import AndroidUsernameSource + from .device_configuration import DeviceConfiguration + from .eas_authentication_method import EasAuthenticationMethod + from .email_sync_duration import EmailSyncDuration + from .user_email_source import UserEmailSource + writer.write_enum_value("authenticationMethod", self.authentication_method) writer.write_enum_value("durationOfEmailToSync", self.duration_of_email_to_sync) writer.write_enum_value("emailAddressSource", self.email_address_source) diff --git a/msgraph_beta/generated/models/android_for_work_enrollment_profile.py b/msgraph_beta/generated/models/android_for_work_enrollment_profile.py index 73688534863..955fe872446 100644 --- a/msgraph_beta/generated/models/android_for_work_enrollment_profile.py +++ b/msgraph_beta/generated/models/android_for_work_enrollment_profile.py @@ -85,6 +85,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .mime_content import MimeContent + writer.write_str_value("accountId", self.account_id) writer.write_datetime_value("createdDateTime", self.created_date_time) writer.write_str_value("description", self.description) diff --git a/msgraph_beta/generated/models/android_for_work_enrollment_profile_collection_response.py b/msgraph_beta/generated/models/android_for_work_enrollment_profile_collection_response.py index a66940924c8..eaa8adc0ede 100644 --- a/msgraph_beta/generated/models/android_for_work_enrollment_profile_collection_response.py +++ b/msgraph_beta/generated/models/android_for_work_enrollment_profile_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .android_for_work_enrollment_profile import AndroidForWorkEnrollmentProfile + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/android_for_work_enterprise_wi_fi_configuration.py b/msgraph_beta/generated/models/android_for_work_enterprise_wi_fi_configuration.py index 9d4428d8c7f..4d4c8036ce3 100644 --- a/msgraph_beta/generated/models/android_for_work_enterprise_wi_fi_configuration.py +++ b/msgraph_beta/generated/models/android_for_work_enterprise_wi_fi_configuration.py @@ -93,6 +93,14 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .android_eap_type import AndroidEapType + from .android_for_work_certificate_profile_base import AndroidForWorkCertificateProfileBase + from .android_for_work_trusted_root_certificate import AndroidForWorkTrustedRootCertificate + from .android_for_work_wi_fi_configuration import AndroidForWorkWiFiConfiguration + from .non_eap_authentication_method_for_eap_ttls_type import NonEapAuthenticationMethodForEapTtlsType + from .non_eap_authentication_method_for_peap import NonEapAuthenticationMethodForPeap + from .wi_fi_authentication_method import WiFiAuthenticationMethod + writer.write_enum_value("authenticationMethod", self.authentication_method) writer.write_enum_value("eapType", self.eap_type) writer.write_object_value("identityCertificateForClientAuthentication", self.identity_certificate_for_client_authentication) diff --git a/msgraph_beta/generated/models/android_for_work_general_device_configuration.py b/msgraph_beta/generated/models/android_for_work_general_device_configuration.py index 2be618e730a..1435e648320 100644 --- a/msgraph_beta/generated/models/android_for_work_general_device_configuration.py +++ b/msgraph_beta/generated/models/android_for_work_general_device_configuration.py @@ -207,6 +207,13 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .android_for_work_cross_profile_data_sharing_type import AndroidForWorkCrossProfileDataSharingType + from .android_for_work_default_app_permission_policy_type import AndroidForWorkDefaultAppPermissionPolicyType + from .android_for_work_required_password_type import AndroidForWorkRequiredPasswordType + from .android_required_password_complexity import AndroidRequiredPasswordComplexity + from .android_work_profile_account_use import AndroidWorkProfileAccountUse + from .device_configuration import DeviceConfiguration + writer.write_collection_of_primitive_values("allowedGoogleAccountDomains", self.allowed_google_account_domains) writer.write_bool_value("blockUnifiedPasswordForWorkProfile", self.block_unified_password_for_work_profile) writer.write_bool_value("passwordBlockFaceUnlock", self.password_block_face_unlock) diff --git a/msgraph_beta/generated/models/android_for_work_gmail_eas_configuration.py b/msgraph_beta/generated/models/android_for_work_gmail_eas_configuration.py index f998f371b90..46a1ea976b6 100644 --- a/msgraph_beta/generated/models/android_for_work_gmail_eas_configuration.py +++ b/msgraph_beta/generated/models/android_for_work_gmail_eas_configuration.py @@ -51,5 +51,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .android_for_work_eas_email_profile_base import AndroidForWorkEasEmailProfileBase + diff --git a/msgraph_beta/generated/models/android_for_work_imported_p_f_x_certificate_profile.py b/msgraph_beta/generated/models/android_for_work_imported_p_f_x_certificate_profile.py index 5f008a97e7e..36bfeac51af 100644 --- a/msgraph_beta/generated/models/android_for_work_imported_p_f_x_certificate_profile.py +++ b/msgraph_beta/generated/models/android_for_work_imported_p_f_x_certificate_profile.py @@ -63,6 +63,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .android_certificate_profile_base import AndroidCertificateProfileBase + from .intended_purpose import IntendedPurpose + from .managed_device_certificate_state import ManagedDeviceCertificateState + writer.write_enum_value("intendedPurpose", self.intended_purpose) writer.write_collection_of_object_values("managedDeviceCertificateStates", self.managed_device_certificate_states) diff --git a/msgraph_beta/generated/models/android_for_work_mobile_app_configuration.py b/msgraph_beta/generated/models/android_for_work_mobile_app_configuration.py index 2c9f8780bea..a840a9cba40 100644 --- a/msgraph_beta/generated/models/android_for_work_mobile_app_configuration.py +++ b/msgraph_beta/generated/models/android_for_work_mobile_app_configuration.py @@ -72,6 +72,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .android_permission_action import AndroidPermissionAction + from .android_profile_applicability import AndroidProfileApplicability + from .managed_device_mobile_app_configuration import ManagedDeviceMobileAppConfiguration + writer.write_bool_value("connectedAppsEnabled", self.connected_apps_enabled) writer.write_str_value("packageId", self.package_id) writer.write_str_value("payloadJson", self.payload_json) diff --git a/msgraph_beta/generated/models/android_for_work_nine_work_eas_configuration.py b/msgraph_beta/generated/models/android_for_work_nine_work_eas_configuration.py index 0ad84b407b6..499c2a992f2 100644 --- a/msgraph_beta/generated/models/android_for_work_nine_work_eas_configuration.py +++ b/msgraph_beta/generated/models/android_for_work_nine_work_eas_configuration.py @@ -60,6 +60,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .android_for_work_eas_email_profile_base import AndroidForWorkEasEmailProfileBase + writer.write_bool_value("syncCalendar", self.sync_calendar) writer.write_bool_value("syncContacts", self.sync_contacts) writer.write_bool_value("syncTasks", self.sync_tasks) diff --git a/msgraph_beta/generated/models/android_for_work_pkcs_certificate_profile.py b/msgraph_beta/generated/models/android_for_work_pkcs_certificate_profile.py index afb005678ed..d7cc85c2fda 100644 --- a/msgraph_beta/generated/models/android_for_work_pkcs_certificate_profile.py +++ b/msgraph_beta/generated/models/android_for_work_pkcs_certificate_profile.py @@ -69,6 +69,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .android_for_work_certificate_profile_base import AndroidForWorkCertificateProfileBase + from .managed_device_certificate_state import ManagedDeviceCertificateState + writer.write_str_value("certificateTemplateName", self.certificate_template_name) writer.write_str_value("certificationAuthority", self.certification_authority) writer.write_str_value("certificationAuthorityName", self.certification_authority_name) diff --git a/msgraph_beta/generated/models/android_for_work_scep_certificate_profile.py b/msgraph_beta/generated/models/android_for_work_scep_certificate_profile.py index 03269c340ba..a4dbf2d6536 100644 --- a/msgraph_beta/generated/models/android_for_work_scep_certificate_profile.py +++ b/msgraph_beta/generated/models/android_for_work_scep_certificate_profile.py @@ -96,6 +96,14 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .android_for_work_certificate_profile_base import AndroidForWorkCertificateProfileBase + from .certificate_store import CertificateStore + from .custom_subject_alternative_name import CustomSubjectAlternativeName + from .hash_algorithms import HashAlgorithms + from .key_size import KeySize + from .key_usages import KeyUsages + from .managed_device_certificate_state import ManagedDeviceCertificateState + writer.write_enum_value("certificateStore", self.certificate_store) writer.write_collection_of_object_values("customSubjectAlternativeNames", self.custom_subject_alternative_names) writer.write_enum_value("hashAlgorithm", self.hash_algorithm) diff --git a/msgraph_beta/generated/models/android_for_work_settings.py b/msgraph_beta/generated/models/android_for_work_settings.py index 73b3347bcc8..22bb7cc15aa 100644 --- a/msgraph_beta/generated/models/android_for_work_settings.py +++ b/msgraph_beta/generated/models/android_for_work_settings.py @@ -88,6 +88,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .android_for_work_bind_status import AndroidForWorkBindStatus + from .android_for_work_enrollment_target import AndroidForWorkEnrollmentTarget + from .android_for_work_sync_status import AndroidForWorkSyncStatus + from .entity import Entity + writer.write_enum_value("bindStatus", self.bind_status) writer.write_bool_value("deviceOwnerManagementEnabled", self.device_owner_management_enabled) writer.write_enum_value("enrollmentTarget", self.enrollment_target) diff --git a/msgraph_beta/generated/models/android_for_work_trusted_root_certificate.py b/msgraph_beta/generated/models/android_for_work_trusted_root_certificate.py index aa37ae1abaa..ccd7d1d96d1 100644 --- a/msgraph_beta/generated/models/android_for_work_trusted_root_certificate.py +++ b/msgraph_beta/generated/models/android_for_work_trusted_root_certificate.py @@ -57,6 +57,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_configuration import DeviceConfiguration + writer.write_str_value("certFileName", self.cert_file_name) writer.write_bytes_value("trustedRootCertificate", self.trusted_root_certificate) diff --git a/msgraph_beta/generated/models/android_for_work_vpn_configuration.py b/msgraph_beta/generated/models/android_for_work_vpn_configuration.py index 5d1de20ca74..50600646711 100644 --- a/msgraph_beta/generated/models/android_for_work_vpn_configuration.py +++ b/msgraph_beta/generated/models/android_for_work_vpn_configuration.py @@ -99,6 +99,14 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .android_for_work_certificate_profile_base import AndroidForWorkCertificateProfileBase + from .android_for_work_vpn_connection_type import AndroidForWorkVpnConnectionType + from .device_configuration import DeviceConfiguration + from .key_value import KeyValue + from .key_value_pair import KeyValuePair + from .vpn_authentication_method import VpnAuthenticationMethod + from .vpn_server import VpnServer + writer.write_enum_value("authenticationMethod", self.authentication_method) writer.write_str_value("connectionName", self.connection_name) writer.write_enum_value("connectionType", self.connection_type) diff --git a/msgraph_beta/generated/models/android_for_work_wi_fi_configuration.py b/msgraph_beta/generated/models/android_for_work_wi_fi_configuration.py index f9d51c026fc..f6736cb3042 100644 --- a/msgraph_beta/generated/models/android_for_work_wi_fi_configuration.py +++ b/msgraph_beta/generated/models/android_for_work_wi_fi_configuration.py @@ -25,7 +25,7 @@ class AndroidForWorkWiFiConfiguration(DeviceConfiguration): network_name: Optional[str] = None # This is the name of the Wi-Fi network that is broadcast to all devices. ssid: Optional[str] = None - # Wi-Fi Security Types for Android. + # The possible security types for Android Wi-Fi profiles. Default value 'Open', indicates no authentication required for the network. The security protocols supported are WEP, WPA and WPA2. 'WpaEnterprise' and 'Wpa2Enterprise' options are available for Enterprise Wi-Fi profiles. 'Wep' and 'WpaPersonal' (supports WPA and WPA2) options are available for Basic Wi-Fi profiles. wi_fi_security_type: Optional[AndroidWiFiSecurityType] = None @staticmethod @@ -38,7 +38,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> AndroidForWorkWiFi if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.androidForWorkEnterpriseWiFiConfiguration".casefold(): @@ -80,6 +81,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .android_for_work_enterprise_wi_fi_configuration import AndroidForWorkEnterpriseWiFiConfiguration + from .android_wi_fi_security_type import AndroidWiFiSecurityType + from .device_configuration import DeviceConfiguration + writer.write_bool_value("connectAutomatically", self.connect_automatically) writer.write_bool_value("connectWhenNetworkNameIsHidden", self.connect_when_network_name_is_hidden) writer.write_str_value("networkName", self.network_name) diff --git a/msgraph_beta/generated/models/android_fota_deployment_assignment.py b/msgraph_beta/generated/models/android_fota_deployment_assignment.py index 7305c4004a8..f6e3510ff19 100644 --- a/msgraph_beta/generated/models/android_fota_deployment_assignment.py +++ b/msgraph_beta/generated/models/android_fota_deployment_assignment.py @@ -68,6 +68,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .android_fota_deployment_assignment_target import AndroidFotaDeploymentAssignmentTarget + from .device_and_app_management_assignment_target import DeviceAndAppManagementAssignmentTarget + writer.write_object_value("assignmentTarget", self.assignment_target) writer.write_str_value("displayName", self.display_name) writer.write_str_value("id", self.id) diff --git a/msgraph_beta/generated/models/android_fota_deployment_assignment_target.py b/msgraph_beta/generated/models/android_fota_deployment_assignment_target.py index 321852c6a4b..a2de34330e4 100644 --- a/msgraph_beta/generated/models/android_fota_deployment_assignment_target.py +++ b/msgraph_beta/generated/models/android_fota_deployment_assignment_target.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_and_app_management_assignment_target import DeviceAndAppManagementAssignmentTarget + writer.write_str_value("groupId", self.group_id) diff --git a/msgraph_beta/generated/models/android_general_device_configuration.py b/msgraph_beta/generated/models/android_general_device_configuration.py index 56e0e9fe9e8..11b884cfdc3 100644 --- a/msgraph_beta/generated/models/android_general_device_configuration.py +++ b/msgraph_beta/generated/models/android_general_device_configuration.py @@ -216,6 +216,13 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .android_required_password_complexity import AndroidRequiredPasswordComplexity + from .android_required_password_type import AndroidRequiredPasswordType + from .app_list_item import AppListItem + from .app_list_type import AppListType + from .device_configuration import DeviceConfiguration + from .web_browser_cookie_settings import WebBrowserCookieSettings + writer.write_bool_value("appsBlockClipboardSharing", self.apps_block_clipboard_sharing) writer.write_bool_value("appsBlockCopyPaste", self.apps_block_copy_paste) writer.write_bool_value("appsBlockYouTube", self.apps_block_you_tube) diff --git a/msgraph_beta/generated/models/android_imported_p_f_x_certificate_profile.py b/msgraph_beta/generated/models/android_imported_p_f_x_certificate_profile.py index c9c70af2386..96fee2048bd 100644 --- a/msgraph_beta/generated/models/android_imported_p_f_x_certificate_profile.py +++ b/msgraph_beta/generated/models/android_imported_p_f_x_certificate_profile.py @@ -63,6 +63,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .android_certificate_profile_base import AndroidCertificateProfileBase + from .intended_purpose import IntendedPurpose + from .managed_device_certificate_state import ManagedDeviceCertificateState + writer.write_enum_value("intendedPurpose", self.intended_purpose) writer.write_collection_of_object_values("managedDeviceCertificateStates", self.managed_device_certificate_states) diff --git a/msgraph_beta/generated/models/android_lob_app.py b/msgraph_beta/generated/models/android_lob_app.py index fe0778b70b9..da830775f1b 100644 --- a/msgraph_beta/generated/models/android_lob_app.py +++ b/msgraph_beta/generated/models/android_lob_app.py @@ -72,6 +72,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .android_minimum_operating_system import AndroidMinimumOperatingSystem + from .android_targeted_platforms import AndroidTargetedPlatforms + from .mobile_lob_app import MobileLobApp + writer.write_object_value("minimumSupportedOperatingSystem", self.minimum_supported_operating_system) writer.write_str_value("packageId", self.package_id) writer.write_enum_value("targetedPlatforms", self.targeted_platforms) diff --git a/msgraph_beta/generated/models/android_lob_app_collection_response.py b/msgraph_beta/generated/models/android_lob_app_collection_response.py index f0b0f0c77c6..82efdc14c72 100644 --- a/msgraph_beta/generated/models/android_lob_app_collection_response.py +++ b/msgraph_beta/generated/models/android_lob_app_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .android_lob_app import AndroidLobApp + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/android_managed_app_protection.py b/msgraph_beta/generated/models/android_managed_app_protection.py index 24f62fc9208..00a2f627954 100644 --- a/msgraph_beta/generated/models/android_managed_app_protection.py +++ b/msgraph_beta/generated/models/android_managed_app_protection.py @@ -56,9 +56,9 @@ class AndroidManagedAppProtection(TargetedManagedAppProtection): block_after_company_portal_update_deferral_in_days: Optional[int] = None # Whether the app should connect to the configured VPN on launch. connect_to_vpn_on_launch: Optional[bool] = None - # Friendly name of the preferred custom browser to open weblink on Android. + # Friendly name of the preferred custom browser to open weblink on Android. When this property is configured, ManagedBrowserToOpenLinksRequired should be true. custom_browser_display_name: Optional[str] = None - # Unique identifier of a custom browser to open weblink on Android. + # Unique identifier of the preferred custom browser to open weblink on Android. When this property is configured, ManagedBrowserToOpenLinksRequired should be true. custom_browser_package_id: Optional[str] = None # Friendly name of a custom dialer app to click-to-open a phone number on Android. custom_dialer_app_display_name: Optional[str] = None @@ -207,6 +207,15 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .android_managed_app_safety_net_apps_verification_type import AndroidManagedAppSafetyNetAppsVerificationType + from .android_managed_app_safety_net_device_attestation_type import AndroidManagedAppSafetyNetDeviceAttestationType + from .android_managed_app_safety_net_evaluation_type import AndroidManagedAppSafetyNetEvaluationType + from .key_value_pair import KeyValuePair + from .managed_app_policy_deployment_summary import ManagedAppPolicyDeploymentSummary + from .managed_app_remediation_action import ManagedAppRemediationAction + from .managed_mobile_app import ManagedMobileApp + from .targeted_managed_app_protection import TargetedManagedAppProtection + writer.write_str_value("allowedAndroidDeviceManufacturers", self.allowed_android_device_manufacturers) writer.write_collection_of_primitive_values("allowedAndroidDeviceModels", self.allowed_android_device_models) writer.write_enum_value("appActionIfAccountIsClockedOut", self.app_action_if_account_is_clocked_out) diff --git a/msgraph_beta/generated/models/android_managed_app_protection_collection_response.py b/msgraph_beta/generated/models/android_managed_app_protection_collection_response.py index 7d7f39959ec..58c33cd0a32 100644 --- a/msgraph_beta/generated/models/android_managed_app_protection_collection_response.py +++ b/msgraph_beta/generated/models/android_managed_app_protection_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .android_managed_app_protection import AndroidManagedAppProtection + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/android_managed_app_registration.py b/msgraph_beta/generated/models/android_managed_app_registration.py index 0b747887d48..bc15217c010 100644 --- a/msgraph_beta/generated/models/android_managed_app_registration.py +++ b/msgraph_beta/generated/models/android_managed_app_registration.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .managed_app_registration import ManagedAppRegistration + writer.write_str_value("patchVersion", self.patch_version) diff --git a/msgraph_beta/generated/models/android_managed_store_account_enterprise_settings.py b/msgraph_beta/generated/models/android_managed_store_account_enterprise_settings.py index 778504d6a58..ece84e7b7eb 100644 --- a/msgraph_beta/generated/models/android_managed_store_account_enterprise_settings.py +++ b/msgraph_beta/generated/models/android_managed_store_account_enterprise_settings.py @@ -100,6 +100,12 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .android_enrollment_company_code import AndroidEnrollmentCompanyCode + from .android_managed_store_account_app_sync_status import AndroidManagedStoreAccountAppSyncStatus + from .android_managed_store_account_bind_status import AndroidManagedStoreAccountBindStatus + from .android_managed_store_account_enrollment_target import AndroidManagedStoreAccountEnrollmentTarget + from .entity import Entity + writer.write_bool_value("androidDeviceOwnerFullyManagedEnrollmentEnabled", self.android_device_owner_fully_managed_enrollment_enabled) writer.write_enum_value("bindStatus", self.bind_status) writer.write_collection_of_object_values("companyCodes", self.company_codes) diff --git a/msgraph_beta/generated/models/android_managed_store_app.py b/msgraph_beta/generated/models/android_managed_store_app.py index 091e2f7d23e..b219d1221b0 100644 --- a/msgraph_beta/generated/models/android_managed_store_app.py +++ b/msgraph_beta/generated/models/android_managed_store_app.py @@ -46,7 +46,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> AndroidManagedStor if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.androidManagedStoreWebApp".casefold(): @@ -92,6 +93,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .android_managed_store_app_track import AndroidManagedStoreAppTrack + from .android_managed_store_web_app import AndroidManagedStoreWebApp + from .mobile_app import MobileApp + writer.write_str_value("appIdentifier", self.app_identifier) writer.write_bool_value("isSystemApp", self.is_system_app) diff --git a/msgraph_beta/generated/models/android_managed_store_app_assignment_settings.py b/msgraph_beta/generated/models/android_managed_store_app_assignment_settings.py index daa36bc1d8c..75168928762 100644 --- a/msgraph_beta/generated/models/android_managed_store_app_assignment_settings.py +++ b/msgraph_beta/generated/models/android_managed_store_app_assignment_settings.py @@ -60,6 +60,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .android_managed_store_auto_update_mode import AndroidManagedStoreAutoUpdateMode + from .mobile_app_assignment_settings import MobileAppAssignmentSettings + writer.write_collection_of_primitive_values("androidManagedStoreAppTrackIds", self.android_managed_store_app_track_ids) writer.write_enum_value("autoUpdateMode", self.auto_update_mode) diff --git a/msgraph_beta/generated/models/android_managed_store_app_collection_response.py b/msgraph_beta/generated/models/android_managed_store_app_collection_response.py index 1b5246613f6..0ca04b402dd 100644 --- a/msgraph_beta/generated/models/android_managed_store_app_collection_response.py +++ b/msgraph_beta/generated/models/android_managed_store_app_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .android_managed_store_app import AndroidManagedStoreApp + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/android_managed_store_app_configuration.py b/msgraph_beta/generated/models/android_managed_store_app_configuration.py index 64b82c332ff..17ff6c899c1 100644 --- a/msgraph_beta/generated/models/android_managed_store_app_configuration.py +++ b/msgraph_beta/generated/models/android_managed_store_app_configuration.py @@ -75,6 +75,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .android_permission_action import AndroidPermissionAction + from .android_profile_applicability import AndroidProfileApplicability + from .managed_device_mobile_app_configuration import ManagedDeviceMobileAppConfiguration + writer.write_bool_value("connectedAppsEnabled", self.connected_apps_enabled) writer.write_str_value("packageId", self.package_id) writer.write_str_value("payloadJson", self.payload_json) diff --git a/msgraph_beta/generated/models/android_managed_store_app_configuration_schema.py b/msgraph_beta/generated/models/android_managed_store_app_configuration_schema.py index 004f3f660d0..8dd20c2cf9a 100644 --- a/msgraph_beta/generated/models/android_managed_store_app_configuration_schema.py +++ b/msgraph_beta/generated/models/android_managed_store_app_configuration_schema.py @@ -63,6 +63,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .android_managed_store_app_configuration_schema_item import AndroidManagedStoreAppConfigurationSchemaItem + from .entity import Entity + writer.write_bytes_value("exampleJson", self.example_json) writer.write_collection_of_object_values("nestedSchemaItems", self.nested_schema_items) writer.write_collection_of_object_values("schemaItems", self.schema_items) diff --git a/msgraph_beta/generated/models/android_managed_store_app_configuration_schema_collection_response.py b/msgraph_beta/generated/models/android_managed_store_app_configuration_schema_collection_response.py index e85701c4dce..18e8d07d279 100644 --- a/msgraph_beta/generated/models/android_managed_store_app_configuration_schema_collection_response.py +++ b/msgraph_beta/generated/models/android_managed_store_app_configuration_schema_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .android_managed_store_app_configuration_schema import AndroidManagedStoreAppConfigurationSchema + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/android_managed_store_app_configuration_schema_item.py b/msgraph_beta/generated/models/android_managed_store_app_configuration_schema_item.py index f57e24b3a8e..ae1b08484d0 100644 --- a/msgraph_beta/generated/models/android_managed_store_app_configuration_schema_item.py +++ b/msgraph_beta/generated/models/android_managed_store_app_configuration_schema_item.py @@ -89,6 +89,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .android_managed_store_app_configuration_schema_item_data_type import AndroidManagedStoreAppConfigurationSchemaItemDataType + from .key_value_pair import KeyValuePair + writer.write_enum_value("dataType", self.data_type) writer.write_bool_value("defaultBoolValue", self.default_bool_value) writer.write_int_value("defaultIntValue", self.default_int_value) diff --git a/msgraph_beta/generated/models/android_managed_store_web_app.py b/msgraph_beta/generated/models/android_managed_store_web_app.py index 8aceb735a4a..9ae07399b52 100644 --- a/msgraph_beta/generated/models/android_managed_store_web_app.py +++ b/msgraph_beta/generated/models/android_managed_store_web_app.py @@ -51,5 +51,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .android_managed_store_app import AndroidManagedStoreApp + diff --git a/msgraph_beta/generated/models/android_minimum_operating_system.py b/msgraph_beta/generated/models/android_minimum_operating_system.py index a3ee373457d..d3ef4c500a1 100644 --- a/msgraph_beta/generated/models/android_minimum_operating_system.py +++ b/msgraph_beta/generated/models/android_minimum_operating_system.py @@ -26,6 +26,8 @@ class AndroidMinimumOperatingSystem(AdditionalDataHolder, BackedModel, Parsable) v13_0: Optional[bool] = None # When TRUE, only Version 14.0 or later is supported. Default value is FALSE. Exactly one of the minimum operating system boolean values will be TRUE. v14_0: Optional[bool] = None + # When TRUE, only Version 15.0 or later is supported. Default value is FALSE. Exactly one of the minimum operating system boolean values will be TRUE. + v15_0: Optional[bool] = None # When TRUE, only Version 4.0 or later is supported. Default value is FALSE. Exactly one of the minimum operating system boolean values will be TRUE. v4_0: Optional[bool] = None # When TRUE, only Version 4.0.3 or later is supported. Default value is FALSE. Exactly one of the minimum operating system boolean values will be TRUE. @@ -78,6 +80,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: "v12_0": lambda n : setattr(self, 'v12_0', n.get_bool_value()), "v13_0": lambda n : setattr(self, 'v13_0', n.get_bool_value()), "v14_0": lambda n : setattr(self, 'v14_0', n.get_bool_value()), + "v15_0": lambda n : setattr(self, 'v15_0', n.get_bool_value()), "v4_0": lambda n : setattr(self, 'v4_0', n.get_bool_value()), "v4_0_3": lambda n : setattr(self, 'v4_0_3', n.get_bool_value()), "v4_1": lambda n : setattr(self, 'v4_1', n.get_bool_value()), @@ -109,6 +112,7 @@ def serialize(self,writer: SerializationWriter) -> None: writer.write_bool_value("v12_0", self.v12_0) writer.write_bool_value("v13_0", self.v13_0) writer.write_bool_value("v14_0", self.v14_0) + writer.write_bool_value("v15_0", self.v15_0) writer.write_bool_value("v4_0", self.v4_0) writer.write_bool_value("v4_0_3", self.v4_0_3) writer.write_bool_value("v4_1", self.v4_1) diff --git a/msgraph_beta/generated/models/android_mobile_app_identifier.py b/msgraph_beta/generated/models/android_mobile_app_identifier.py index e294f9ab8e9..c175eb68e16 100644 --- a/msgraph_beta/generated/models/android_mobile_app_identifier.py +++ b/msgraph_beta/generated/models/android_mobile_app_identifier.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .mobile_app_identifier import MobileAppIdentifier + writer.write_str_value("packageId", self.package_id) diff --git a/msgraph_beta/generated/models/android_oma_cp_configuration.py b/msgraph_beta/generated/models/android_oma_cp_configuration.py index 7b7389ed7a7..8ea18752269 100644 --- a/msgraph_beta/generated/models/android_oma_cp_configuration.py +++ b/msgraph_beta/generated/models/android_oma_cp_configuration.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_configuration import DeviceConfiguration + writer.write_bytes_value("configurationXml", self.configuration_xml) diff --git a/msgraph_beta/generated/models/android_permission_action.py b/msgraph_beta/generated/models/android_permission_action.py index a8b4be45b25..1defbc61eb2 100644 --- a/msgraph_beta/generated/models/android_permission_action.py +++ b/msgraph_beta/generated/models/android_permission_action.py @@ -59,6 +59,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .android_permission_action_type import AndroidPermissionActionType + writer.write_enum_value("action", self.action) writer.write_str_value("@odata.type", self.odata_type) writer.write_str_value("permission", self.permission) diff --git a/msgraph_beta/generated/models/android_pkcs_certificate_profile.py b/msgraph_beta/generated/models/android_pkcs_certificate_profile.py index df7b541a776..aa11f0d60ee 100644 --- a/msgraph_beta/generated/models/android_pkcs_certificate_profile.py +++ b/msgraph_beta/generated/models/android_pkcs_certificate_profile.py @@ -69,6 +69,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .android_certificate_profile_base import AndroidCertificateProfileBase + from .managed_device_certificate_state import ManagedDeviceCertificateState + writer.write_str_value("certificateTemplateName", self.certificate_template_name) writer.write_str_value("certificationAuthority", self.certification_authority) writer.write_str_value("certificationAuthorityName", self.certification_authority_name) diff --git a/msgraph_beta/generated/models/android_scep_certificate_profile.py b/msgraph_beta/generated/models/android_scep_certificate_profile.py index c54305ed662..a608d48dee9 100644 --- a/msgraph_beta/generated/models/android_scep_certificate_profile.py +++ b/msgraph_beta/generated/models/android_scep_certificate_profile.py @@ -84,6 +84,12 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .android_certificate_profile_base import AndroidCertificateProfileBase + from .hash_algorithms import HashAlgorithms + from .key_size import KeySize + from .key_usages import KeyUsages + from .managed_device_certificate_state import ManagedDeviceCertificateState + writer.write_enum_value("hashAlgorithm", self.hash_algorithm) writer.write_enum_value("keySize", self.key_size) writer.write_enum_value("keyUsage", self.key_usage) diff --git a/msgraph_beta/generated/models/android_store_app.py b/msgraph_beta/generated/models/android_store_app.py index b1c427f9cf2..ef4db530618 100644 --- a/msgraph_beta/generated/models/android_store_app.py +++ b/msgraph_beta/generated/models/android_store_app.py @@ -63,6 +63,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .android_minimum_operating_system import AndroidMinimumOperatingSystem + from .mobile_app import MobileApp + writer.write_str_value("appStoreUrl", self.app_store_url) writer.write_object_value("minimumSupportedOperatingSystem", self.minimum_supported_operating_system) diff --git a/msgraph_beta/generated/models/android_store_app_collection_response.py b/msgraph_beta/generated/models/android_store_app_collection_response.py index 9b248ced8da..0cc9b7916f8 100644 --- a/msgraph_beta/generated/models/android_store_app_collection_response.py +++ b/msgraph_beta/generated/models/android_store_app_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .android_store_app import AndroidStoreApp + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/android_trusted_root_certificate.py b/msgraph_beta/generated/models/android_trusted_root_certificate.py index 4016a39593b..942f9d19e02 100644 --- a/msgraph_beta/generated/models/android_trusted_root_certificate.py +++ b/msgraph_beta/generated/models/android_trusted_root_certificate.py @@ -57,6 +57,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_configuration import DeviceConfiguration + writer.write_str_value("certFileName", self.cert_file_name) writer.write_bytes_value("trustedRootCertificate", self.trusted_root_certificate) diff --git a/msgraph_beta/generated/models/android_vpn_configuration.py b/msgraph_beta/generated/models/android_vpn_configuration.py index 68d26b547cd..da75228b6ac 100644 --- a/msgraph_beta/generated/models/android_vpn_configuration.py +++ b/msgraph_beta/generated/models/android_vpn_configuration.py @@ -99,6 +99,14 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .android_certificate_profile_base import AndroidCertificateProfileBase + from .android_vpn_connection_type import AndroidVpnConnectionType + from .device_configuration import DeviceConfiguration + from .key_value import KeyValue + from .key_value_pair import KeyValuePair + from .vpn_authentication_method import VpnAuthenticationMethod + from .vpn_server import VpnServer + writer.write_enum_value("authenticationMethod", self.authentication_method) writer.write_str_value("connectionName", self.connection_name) writer.write_enum_value("connectionType", self.connection_type) diff --git a/msgraph_beta/generated/models/android_wi_fi_configuration.py b/msgraph_beta/generated/models/android_wi_fi_configuration.py index a8878cdd3bc..909cf087d18 100644 --- a/msgraph_beta/generated/models/android_wi_fi_configuration.py +++ b/msgraph_beta/generated/models/android_wi_fi_configuration.py @@ -25,7 +25,7 @@ class AndroidWiFiConfiguration(DeviceConfiguration): network_name: Optional[str] = None # This is the name of the Wi-Fi network that is broadcast to all devices. ssid: Optional[str] = None - # Wi-Fi Security Types for Android. + # The possible security types for Android Wi-Fi profiles. Default value 'Open', indicates no authentication required for the network. The security protocols supported are WEP, WPA and WPA2. 'WpaEnterprise' and 'Wpa2Enterprise' options are available for Enterprise Wi-Fi profiles. 'Wep' and 'WpaPersonal' (supports WPA and WPA2) options are available for Basic Wi-Fi profiles. wi_fi_security_type: Optional[AndroidWiFiSecurityType] = None @staticmethod @@ -38,7 +38,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> AndroidWiFiConfigu if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.androidEnterpriseWiFiConfiguration".casefold(): @@ -80,6 +81,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .android_enterprise_wi_fi_configuration import AndroidEnterpriseWiFiConfiguration + from .android_wi_fi_security_type import AndroidWiFiSecurityType + from .device_configuration import DeviceConfiguration + writer.write_bool_value("connectAutomatically", self.connect_automatically) writer.write_bool_value("connectWhenNetworkNameIsHidden", self.connect_when_network_name_is_hidden) writer.write_str_value("networkName", self.network_name) diff --git a/msgraph_beta/generated/models/android_wi_fi_security_type.py b/msgraph_beta/generated/models/android_wi_fi_security_type.py index a62e541849a..be43653d5e5 100644 --- a/msgraph_beta/generated/models/android_wi_fi_security_type.py +++ b/msgraph_beta/generated/models/android_wi_fi_security_type.py @@ -1,10 +1,16 @@ from enum import Enum class AndroidWiFiSecurityType(str, Enum): - # Open (No Authentication). + # Default. Indicates Android Wifi Security Type is set to "Open" i.e. no authentication is required. (No Authentication). Open = "open", - # WPA-Enterprise. Must use AndroidEnterpriseWifiConfiguration type to configure enterprise options. + # Indicates Android Wifi Security Type is set to WPA encryption. Must use AndroidWorkProfileEnterpriseWifiConfiguration type to configure enterprise options. WpaEnterprise = "wpaEnterprise", - # WPA2-Enterprise. Must use AndroidEnterpriseWifiConfiguration type to configure enterprise options. + # Indicates Android Wifi Security Type is set to WPA2 encryption. Must use AndroidWorkProfileEnterpriseWifiConfiguration type to configure enterprise options. Wpa2Enterprise = "wpa2Enterprise", + # Indicates Android Wifi Security Type is set to WEP encryption. This restricts the preSharedKey to a valid passphrase (5 or 13 characters) or a valid HEX key (10 or 26 hexidecimal characters). Use AndroidWorkProfileWifiConfiguration to configure basic Wi-Fi options. + Wep = "wep", + # Indicates Android Wifi Security Type is set to WPA encryption. This restricts the preSharedKey to a string between 8 and 64 characters long. Use AndroidWorkProfileWifiConfiguration to configure basic Wi-Fi options. + WpaPersonal = "wpaPersonal", + # Evolvable enumeration sentinel value. Do not use. + UnknownFutureValue = "unknownFutureValue", diff --git a/msgraph_beta/generated/models/android_work_profile_certificate_profile_base.py b/msgraph_beta/generated/models/android_work_profile_certificate_profile_base.py index 00fb22f8910..79d38a78d3e 100644 --- a/msgraph_beta/generated/models/android_work_profile_certificate_profile_base.py +++ b/msgraph_beta/generated/models/android_work_profile_certificate_profile_base.py @@ -47,7 +47,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> AndroidWorkProfile if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.androidWorkProfilePkcsCertificateProfile".casefold(): @@ -105,6 +106,15 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .android_work_profile_pkcs_certificate_profile import AndroidWorkProfilePkcsCertificateProfile + from .android_work_profile_scep_certificate_profile import AndroidWorkProfileScepCertificateProfile + from .android_work_profile_trusted_root_certificate import AndroidWorkProfileTrustedRootCertificate + from .certificate_validity_period_scale import CertificateValidityPeriodScale + from .device_configuration import DeviceConfiguration + from .extended_key_usage import ExtendedKeyUsage + from .subject_alternative_name_type import SubjectAlternativeNameType + from .subject_name_format import SubjectNameFormat + writer.write_enum_value("certificateValidityPeriodScale", self.certificate_validity_period_scale) writer.write_int_value("certificateValidityPeriodValue", self.certificate_validity_period_value) writer.write_collection_of_object_values("extendedKeyUsages", self.extended_key_usages) diff --git a/msgraph_beta/generated/models/android_work_profile_compliance_policy.py b/msgraph_beta/generated/models/android_work_profile_compliance_policy.py index f48a220bc69..ed095ee6d13 100644 --- a/msgraph_beta/generated/models/android_work_profile_compliance_policy.py +++ b/msgraph_beta/generated/models/android_work_profile_compliance_policy.py @@ -162,6 +162,13 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .android_required_password_complexity import AndroidRequiredPasswordComplexity + from .android_required_password_type import AndroidRequiredPasswordType + from .android_safety_net_evaluation_type import AndroidSafetyNetEvaluationType + from .android_work_profile_required_password_type import AndroidWorkProfileRequiredPasswordType + from .device_compliance_policy import DeviceCompliancePolicy + from .device_threat_protection_level import DeviceThreatProtectionLevel + writer.write_enum_value("advancedThreatProtectionRequiredSecurityLevel", self.advanced_threat_protection_required_security_level) writer.write_bool_value("deviceThreatProtectionEnabled", self.device_threat_protection_enabled) writer.write_enum_value("deviceThreatProtectionRequiredSecurityLevel", self.device_threat_protection_required_security_level) diff --git a/msgraph_beta/generated/models/android_work_profile_custom_configuration.py b/msgraph_beta/generated/models/android_work_profile_custom_configuration.py index 6923f3c71ca..95c08b25139 100644 --- a/msgraph_beta/generated/models/android_work_profile_custom_configuration.py +++ b/msgraph_beta/generated/models/android_work_profile_custom_configuration.py @@ -57,6 +57,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_configuration import DeviceConfiguration + from .oma_setting import OmaSetting + writer.write_collection_of_object_values("omaSettings", self.oma_settings) diff --git a/msgraph_beta/generated/models/android_work_profile_eas_email_profile_base.py b/msgraph_beta/generated/models/android_work_profile_eas_email_profile_base.py index 18d6de1433a..284ea1c76ec 100644 --- a/msgraph_beta/generated/models/android_work_profile_eas_email_profile_base.py +++ b/msgraph_beta/generated/models/android_work_profile_eas_email_profile_base.py @@ -47,7 +47,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> AndroidWorkProfile if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.androidWorkProfileGmailEasConfiguration".casefold(): @@ -105,6 +106,15 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .android_username_source import AndroidUsernameSource + from .android_work_profile_certificate_profile_base import AndroidWorkProfileCertificateProfileBase + from .android_work_profile_gmail_eas_configuration import AndroidWorkProfileGmailEasConfiguration + from .android_work_profile_nine_work_eas_configuration import AndroidWorkProfileNineWorkEasConfiguration + from .device_configuration import DeviceConfiguration + from .eas_authentication_method import EasAuthenticationMethod + from .email_sync_duration import EmailSyncDuration + from .user_email_source import UserEmailSource + writer.write_enum_value("authenticationMethod", self.authentication_method) writer.write_enum_value("durationOfEmailToSync", self.duration_of_email_to_sync) writer.write_enum_value("emailAddressSource", self.email_address_source) diff --git a/msgraph_beta/generated/models/android_work_profile_enterprise_wi_fi_configuration.py b/msgraph_beta/generated/models/android_work_profile_enterprise_wi_fi_configuration.py index 0ed0bb9db01..46824f46578 100644 --- a/msgraph_beta/generated/models/android_work_profile_enterprise_wi_fi_configuration.py +++ b/msgraph_beta/generated/models/android_work_profile_enterprise_wi_fi_configuration.py @@ -11,7 +11,6 @@ from .non_eap_authentication_method_for_eap_ttls_type import NonEapAuthenticationMethodForEapTtlsType from .non_eap_authentication_method_for_peap import NonEapAuthenticationMethodForPeap from .wi_fi_authentication_method import WiFiAuthenticationMethod - from .wi_fi_proxy_setting import WiFiProxySetting from .android_work_profile_wi_fi_configuration import AndroidWorkProfileWiFiConfiguration @@ -34,10 +33,6 @@ class AndroidWorkProfileEnterpriseWiFiConfiguration(AndroidWorkProfileWiFiConfig inner_authentication_protocol_for_peap: Optional[NonEapAuthenticationMethodForPeap] = None # Enable identity privacy (Outer Identity) when EAP Type is configured to EAP-TTLS or PEAP. The String provided here is used to mask the username of individual users when they attempt to connect to Wi-Fi network. outer_identity_privacy_temporary_value: Optional[str] = None - # URL of the proxy server automatic configuration script when automatic configuration is selected. This URL is typically the location of PAC (Proxy Auto Configuration) file. - proxy_automatic_configuration_url: Optional[str] = None - # Wi-Fi Proxy Settings. - proxy_settings: Optional[WiFiProxySetting] = None # Trusted Root Certificate for Server Validation when EAP Type is configured to EAP-TLS, EAP-TTLS or PEAP. This is the certificate presented by the Wi-Fi endpoint when the device attempts to connect to Wi-Fi endpoint. The device (or user) must accept this certificate to continue the connection attempt. root_certificate_for_server_validation: Optional[AndroidWorkProfileTrustedRootCertificate] = None # Trusted server certificate names when EAP Type is configured to EAP-TLS/TTLS/FAST or PEAP. This is the common name used in the certificates issued by your trusted certificate authority (CA). If you provide this information, you can bypass the dynamic trust dialog that is displayed on end users' devices when they connect to this Wi-Fi network. @@ -66,7 +61,6 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .non_eap_authentication_method_for_eap_ttls_type import NonEapAuthenticationMethodForEapTtlsType from .non_eap_authentication_method_for_peap import NonEapAuthenticationMethodForPeap from .wi_fi_authentication_method import WiFiAuthenticationMethod - from .wi_fi_proxy_setting import WiFiProxySetting from .android_eap_type import AndroidEapType from .android_work_profile_certificate_profile_base import AndroidWorkProfileCertificateProfileBase @@ -75,7 +69,6 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .non_eap_authentication_method_for_eap_ttls_type import NonEapAuthenticationMethodForEapTtlsType from .non_eap_authentication_method_for_peap import NonEapAuthenticationMethodForPeap from .wi_fi_authentication_method import WiFiAuthenticationMethod - from .wi_fi_proxy_setting import WiFiProxySetting fields: Dict[str, Callable[[Any], None]] = { "authenticationMethod": lambda n : setattr(self, 'authentication_method', n.get_enum_value(WiFiAuthenticationMethod)), @@ -84,8 +77,6 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: "innerAuthenticationProtocolForEapTtls": lambda n : setattr(self, 'inner_authentication_protocol_for_eap_ttls', n.get_enum_value(NonEapAuthenticationMethodForEapTtlsType)), "innerAuthenticationProtocolForPeap": lambda n : setattr(self, 'inner_authentication_protocol_for_peap', n.get_enum_value(NonEapAuthenticationMethodForPeap)), "outerIdentityPrivacyTemporaryValue": lambda n : setattr(self, 'outer_identity_privacy_temporary_value', n.get_str_value()), - "proxyAutomaticConfigurationUrl": lambda n : setattr(self, 'proxy_automatic_configuration_url', n.get_str_value()), - "proxySettings": lambda n : setattr(self, 'proxy_settings', n.get_enum_value(WiFiProxySetting)), "rootCertificateForServerValidation": lambda n : setattr(self, 'root_certificate_for_server_validation', n.get_object_value(AndroidWorkProfileTrustedRootCertificate)), "trustedServerCertificateNames": lambda n : setattr(self, 'trusted_server_certificate_names', n.get_collection_of_primitive_values(str)), } @@ -102,14 +93,20 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .android_eap_type import AndroidEapType + from .android_work_profile_certificate_profile_base import AndroidWorkProfileCertificateProfileBase + from .android_work_profile_trusted_root_certificate import AndroidWorkProfileTrustedRootCertificate + from .android_work_profile_wi_fi_configuration import AndroidWorkProfileWiFiConfiguration + from .non_eap_authentication_method_for_eap_ttls_type import NonEapAuthenticationMethodForEapTtlsType + from .non_eap_authentication_method_for_peap import NonEapAuthenticationMethodForPeap + from .wi_fi_authentication_method import WiFiAuthenticationMethod + writer.write_enum_value("authenticationMethod", self.authentication_method) writer.write_enum_value("eapType", self.eap_type) writer.write_object_value("identityCertificateForClientAuthentication", self.identity_certificate_for_client_authentication) writer.write_enum_value("innerAuthenticationProtocolForEapTtls", self.inner_authentication_protocol_for_eap_ttls) writer.write_enum_value("innerAuthenticationProtocolForPeap", self.inner_authentication_protocol_for_peap) writer.write_str_value("outerIdentityPrivacyTemporaryValue", self.outer_identity_privacy_temporary_value) - writer.write_str_value("proxyAutomaticConfigurationUrl", self.proxy_automatic_configuration_url) - writer.write_enum_value("proxySettings", self.proxy_settings) writer.write_object_value("rootCertificateForServerValidation", self.root_certificate_for_server_validation) writer.write_collection_of_primitive_values("trustedServerCertificateNames", self.trusted_server_certificate_names) diff --git a/msgraph_beta/generated/models/android_work_profile_general_device_configuration.py b/msgraph_beta/generated/models/android_work_profile_general_device_configuration.py index a4c03269eff..a998844d0d3 100644 --- a/msgraph_beta/generated/models/android_work_profile_general_device_configuration.py +++ b/msgraph_beta/generated/models/android_work_profile_general_device_configuration.py @@ -210,6 +210,13 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .android_required_password_complexity import AndroidRequiredPasswordComplexity + from .android_work_profile_account_use import AndroidWorkProfileAccountUse + from .android_work_profile_cross_profile_data_sharing_type import AndroidWorkProfileCrossProfileDataSharingType + from .android_work_profile_default_app_permission_policy_type import AndroidWorkProfileDefaultAppPermissionPolicyType + from .android_work_profile_required_password_type import AndroidWorkProfileRequiredPasswordType + from .device_configuration import DeviceConfiguration + writer.write_collection_of_primitive_values("allowedGoogleAccountDomains", self.allowed_google_account_domains) writer.write_bool_value("blockUnifiedPasswordForWorkProfile", self.block_unified_password_for_work_profile) writer.write_bool_value("passwordBlockFaceUnlock", self.password_block_face_unlock) diff --git a/msgraph_beta/generated/models/android_work_profile_gmail_eas_configuration.py b/msgraph_beta/generated/models/android_work_profile_gmail_eas_configuration.py index 3b1f3d2a99b..ee1b7a64e49 100644 --- a/msgraph_beta/generated/models/android_work_profile_gmail_eas_configuration.py +++ b/msgraph_beta/generated/models/android_work_profile_gmail_eas_configuration.py @@ -51,5 +51,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .android_work_profile_eas_email_profile_base import AndroidWorkProfileEasEmailProfileBase + diff --git a/msgraph_beta/generated/models/android_work_profile_nine_work_eas_configuration.py b/msgraph_beta/generated/models/android_work_profile_nine_work_eas_configuration.py index 8163d99564d..a116ab748c5 100644 --- a/msgraph_beta/generated/models/android_work_profile_nine_work_eas_configuration.py +++ b/msgraph_beta/generated/models/android_work_profile_nine_work_eas_configuration.py @@ -60,6 +60,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .android_work_profile_eas_email_profile_base import AndroidWorkProfileEasEmailProfileBase + writer.write_bool_value("syncCalendar", self.sync_calendar) writer.write_bool_value("syncContacts", self.sync_contacts) writer.write_bool_value("syncTasks", self.sync_tasks) diff --git a/msgraph_beta/generated/models/android_work_profile_pkcs_certificate_profile.py b/msgraph_beta/generated/models/android_work_profile_pkcs_certificate_profile.py index eaabe6badd5..0c1aed06d8a 100644 --- a/msgraph_beta/generated/models/android_work_profile_pkcs_certificate_profile.py +++ b/msgraph_beta/generated/models/android_work_profile_pkcs_certificate_profile.py @@ -84,6 +84,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .android_work_profile_certificate_profile_base import AndroidWorkProfileCertificateProfileBase + from .certificate_store import CertificateStore + from .custom_subject_alternative_name import CustomSubjectAlternativeName + from .managed_device_certificate_state import ManagedDeviceCertificateState + writer.write_enum_value("certificateStore", self.certificate_store) writer.write_str_value("certificateTemplateName", self.certificate_template_name) writer.write_str_value("certificationAuthority", self.certification_authority) diff --git a/msgraph_beta/generated/models/android_work_profile_scep_certificate_profile.py b/msgraph_beta/generated/models/android_work_profile_scep_certificate_profile.py index a6171029085..e65192c327d 100644 --- a/msgraph_beta/generated/models/android_work_profile_scep_certificate_profile.py +++ b/msgraph_beta/generated/models/android_work_profile_scep_certificate_profile.py @@ -96,6 +96,14 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .android_work_profile_certificate_profile_base import AndroidWorkProfileCertificateProfileBase + from .certificate_store import CertificateStore + from .custom_subject_alternative_name import CustomSubjectAlternativeName + from .hash_algorithms import HashAlgorithms + from .key_size import KeySize + from .key_usages import KeyUsages + from .managed_device_certificate_state import ManagedDeviceCertificateState + writer.write_enum_value("certificateStore", self.certificate_store) writer.write_collection_of_object_values("customSubjectAlternativeNames", self.custom_subject_alternative_names) writer.write_enum_value("hashAlgorithm", self.hash_algorithm) diff --git a/msgraph_beta/generated/models/android_work_profile_trusted_root_certificate.py b/msgraph_beta/generated/models/android_work_profile_trusted_root_certificate.py index 66dcbc92270..26c2f95cc6e 100644 --- a/msgraph_beta/generated/models/android_work_profile_trusted_root_certificate.py +++ b/msgraph_beta/generated/models/android_work_profile_trusted_root_certificate.py @@ -57,6 +57,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_configuration import DeviceConfiguration + writer.write_str_value("certFileName", self.cert_file_name) writer.write_bytes_value("trustedRootCertificate", self.trusted_root_certificate) diff --git a/msgraph_beta/generated/models/android_work_profile_vpn_configuration.py b/msgraph_beta/generated/models/android_work_profile_vpn_configuration.py index 207a2c73875..7c2d16596ef 100644 --- a/msgraph_beta/generated/models/android_work_profile_vpn_configuration.py +++ b/msgraph_beta/generated/models/android_work_profile_vpn_configuration.py @@ -126,6 +126,16 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .android_work_profile_certificate_profile_base import AndroidWorkProfileCertificateProfileBase + from .android_work_profile_vpn_connection_type import AndroidWorkProfileVpnConnectionType + from .app_list_item import AppListItem + from .device_configuration import DeviceConfiguration + from .key_value import KeyValue + from .key_value_pair import KeyValuePair + from .vpn_authentication_method import VpnAuthenticationMethod + from .vpn_proxy_server import VpnProxyServer + from .vpn_server import VpnServer + writer.write_bool_value("alwaysOn", self.always_on) writer.write_bool_value("alwaysOnLockdown", self.always_on_lockdown) writer.write_enum_value("authenticationMethod", self.authentication_method) diff --git a/msgraph_beta/generated/models/android_work_profile_wi_fi_configuration.py b/msgraph_beta/generated/models/android_work_profile_wi_fi_configuration.py index d0319ba59f5..8b3d6099a34 100644 --- a/msgraph_beta/generated/models/android_work_profile_wi_fi_configuration.py +++ b/msgraph_beta/generated/models/android_work_profile_wi_fi_configuration.py @@ -7,6 +7,7 @@ from .android_wi_fi_security_type import AndroidWiFiSecurityType from .android_work_profile_enterprise_wi_fi_configuration import AndroidWorkProfileEnterpriseWiFiConfiguration from .device_configuration import DeviceConfiguration + from .wi_fi_proxy_setting import WiFiProxySetting from .device_configuration import DeviceConfiguration @@ -23,9 +24,17 @@ class AndroidWorkProfileWiFiConfiguration(DeviceConfiguration): connect_when_network_name_is_hidden: Optional[bool] = None # Network Name network_name: Optional[str] = None + # Specify the pre-shared key for a WEP or WPA personal Wi-Fi network. Restrictions depend on the value set for wiFiSecurityType. If WEP type security is used, then preSharedKey must be a valid passphrase (5 or 13 characters) or a valid HEX key (10 or 26 hexidecimal characters). If WPA security type is used, then preSharedKey can be any string between 8 and 64 characters long. + pre_shared_key: Optional[str] = None + # When set to true, indicates that the pre-shared key is configured. When set to false, indicates that pre-shared key is not configured (any values set for preSharedKey will be ignored). Default value is false. + pre_shared_key_is_set: Optional[bool] = None + # URL of the proxy server automatic configuration script when automatic configuration is selected. This URL is typically the location of PAC (Proxy Auto Configuration) file. + proxy_automatic_configuration_url: Optional[str] = None + # Wi-Fi Proxy Settings. + proxy_settings: Optional[WiFiProxySetting] = None # This is the name of the Wi-Fi network that is broadcast to all devices. ssid: Optional[str] = None - # Wi-Fi Security Types for Android. + # The possible security types for Android Wi-Fi profiles. Default value 'Open', indicates no authentication required for the network. The security protocols supported are WEP, WPA and WPA2. 'WpaEnterprise' and 'Wpa2Enterprise' options are available for Enterprise Wi-Fi profiles. 'Wep' and 'WpaPersonal' (supports WPA and WPA2) options are available for Basic Wi-Fi profiles. wi_fi_security_type: Optional[AndroidWiFiSecurityType] = None @staticmethod @@ -38,7 +47,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> AndroidWorkProfile if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.androidWorkProfileEnterpriseWiFiConfiguration".casefold(): @@ -55,15 +65,21 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .android_wi_fi_security_type import AndroidWiFiSecurityType from .android_work_profile_enterprise_wi_fi_configuration import AndroidWorkProfileEnterpriseWiFiConfiguration from .device_configuration import DeviceConfiguration + from .wi_fi_proxy_setting import WiFiProxySetting from .android_wi_fi_security_type import AndroidWiFiSecurityType from .android_work_profile_enterprise_wi_fi_configuration import AndroidWorkProfileEnterpriseWiFiConfiguration from .device_configuration import DeviceConfiguration + from .wi_fi_proxy_setting import WiFiProxySetting fields: Dict[str, Callable[[Any], None]] = { "connectAutomatically": lambda n : setattr(self, 'connect_automatically', n.get_bool_value()), "connectWhenNetworkNameIsHidden": lambda n : setattr(self, 'connect_when_network_name_is_hidden', n.get_bool_value()), "networkName": lambda n : setattr(self, 'network_name', n.get_str_value()), + "preSharedKey": lambda n : setattr(self, 'pre_shared_key', n.get_str_value()), + "preSharedKeyIsSet": lambda n : setattr(self, 'pre_shared_key_is_set', n.get_bool_value()), + "proxyAutomaticConfigurationUrl": lambda n : setattr(self, 'proxy_automatic_configuration_url', n.get_str_value()), + "proxySettings": lambda n : setattr(self, 'proxy_settings', n.get_enum_value(WiFiProxySetting)), "ssid": lambda n : setattr(self, 'ssid', n.get_str_value()), "wiFiSecurityType": lambda n : setattr(self, 'wi_fi_security_type', n.get_enum_value(AndroidWiFiSecurityType)), } @@ -80,9 +96,18 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .android_wi_fi_security_type import AndroidWiFiSecurityType + from .android_work_profile_enterprise_wi_fi_configuration import AndroidWorkProfileEnterpriseWiFiConfiguration + from .device_configuration import DeviceConfiguration + from .wi_fi_proxy_setting import WiFiProxySetting + writer.write_bool_value("connectAutomatically", self.connect_automatically) writer.write_bool_value("connectWhenNetworkNameIsHidden", self.connect_when_network_name_is_hidden) writer.write_str_value("networkName", self.network_name) + writer.write_str_value("preSharedKey", self.pre_shared_key) + writer.write_bool_value("preSharedKeyIsSet", self.pre_shared_key_is_set) + writer.write_str_value("proxyAutomaticConfigurationUrl", self.proxy_automatic_configuration_url) + writer.write_enum_value("proxySettings", self.proxy_settings) writer.write_str_value("ssid", self.ssid) writer.write_enum_value("wiFiSecurityType", self.wi_fi_security_type) diff --git a/msgraph_beta/generated/models/anonymous_guest_conversation_member.py b/msgraph_beta/generated/models/anonymous_guest_conversation_member.py index 2e55c802bc1..00942c557f0 100644 --- a/msgraph_beta/generated/models/anonymous_guest_conversation_member.py +++ b/msgraph_beta/generated/models/anonymous_guest_conversation_member.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .conversation_member import ConversationMember + writer.write_str_value("anonymousGuestId", self.anonymous_guest_id) diff --git a/msgraph_beta/generated/models/aosp_device_owner_certificate_profile_base.py b/msgraph_beta/generated/models/aosp_device_owner_certificate_profile_base.py index 7d9ae63d266..beeeede2f67 100644 --- a/msgraph_beta/generated/models/aosp_device_owner_certificate_profile_base.py +++ b/msgraph_beta/generated/models/aosp_device_owner_certificate_profile_base.py @@ -47,7 +47,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> AospDeviceOwnerCer if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.aospDeviceOwnerPkcsCertificateProfile".casefold(): @@ -105,6 +106,15 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .aosp_device_owner_pkcs_certificate_profile import AospDeviceOwnerPkcsCertificateProfile + from .aosp_device_owner_scep_certificate_profile import AospDeviceOwnerScepCertificateProfile + from .aosp_device_owner_trusted_root_certificate import AospDeviceOwnerTrustedRootCertificate + from .certificate_validity_period_scale import CertificateValidityPeriodScale + from .device_configuration import DeviceConfiguration + from .extended_key_usage import ExtendedKeyUsage + from .subject_alternative_name_type import SubjectAlternativeNameType + from .subject_name_format import SubjectNameFormat + writer.write_enum_value("certificateValidityPeriodScale", self.certificate_validity_period_scale) writer.write_int_value("certificateValidityPeriodValue", self.certificate_validity_period_value) writer.write_collection_of_object_values("extendedKeyUsages", self.extended_key_usages) diff --git a/msgraph_beta/generated/models/aosp_device_owner_compliance_policy.py b/msgraph_beta/generated/models/aosp_device_owner_compliance_policy.py index 73902c91a3f..7caec7576f2 100644 --- a/msgraph_beta/generated/models/aosp_device_owner_compliance_policy.py +++ b/msgraph_beta/generated/models/aosp_device_owner_compliance_policy.py @@ -81,6 +81,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .android_device_owner_required_password_type import AndroidDeviceOwnerRequiredPasswordType + from .device_compliance_policy import DeviceCompliancePolicy + writer.write_str_value("minAndroidSecurityPatchLevel", self.min_android_security_patch_level) writer.write_str_value("osMaximumVersion", self.os_maximum_version) writer.write_str_value("osMinimumVersion", self.os_minimum_version) diff --git a/msgraph_beta/generated/models/aosp_device_owner_device_configuration.py b/msgraph_beta/generated/models/aosp_device_owner_device_configuration.py index 7bf81ce0e90..8db2675ae3e 100644 --- a/msgraph_beta/generated/models/aosp_device_owner_device_configuration.py +++ b/msgraph_beta/generated/models/aosp_device_owner_device_configuration.py @@ -96,6 +96,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .android_device_owner_required_password_type import AndroidDeviceOwnerRequiredPasswordType + from .device_configuration import DeviceConfiguration + writer.write_bool_value("appsBlockInstallFromUnknownSources", self.apps_block_install_from_unknown_sources) writer.write_bool_value("bluetoothBlockConfiguration", self.bluetooth_block_configuration) writer.write_bool_value("bluetoothBlocked", self.bluetooth_blocked) diff --git a/msgraph_beta/generated/models/aosp_device_owner_enterprise_wi_fi_configuration.py b/msgraph_beta/generated/models/aosp_device_owner_enterprise_wi_fi_configuration.py index ad67eb45b48..863c3e7597b 100644 --- a/msgraph_beta/generated/models/aosp_device_owner_enterprise_wi_fi_configuration.py +++ b/msgraph_beta/generated/models/aosp_device_owner_enterprise_wi_fi_configuration.py @@ -93,6 +93,14 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .android_eap_type import AndroidEapType + from .aosp_device_owner_certificate_profile_base import AospDeviceOwnerCertificateProfileBase + from .aosp_device_owner_trusted_root_certificate import AospDeviceOwnerTrustedRootCertificate + from .aosp_device_owner_wi_fi_configuration import AospDeviceOwnerWiFiConfiguration + from .non_eap_authentication_method_for_eap_ttls_type import NonEapAuthenticationMethodForEapTtlsType + from .non_eap_authentication_method_for_peap import NonEapAuthenticationMethodForPeap + from .wi_fi_authentication_method import WiFiAuthenticationMethod + writer.write_enum_value("authenticationMethod", self.authentication_method) writer.write_enum_value("eapType", self.eap_type) writer.write_object_value("identityCertificateForClientAuthentication", self.identity_certificate_for_client_authentication) diff --git a/msgraph_beta/generated/models/aosp_device_owner_pkcs_certificate_profile.py b/msgraph_beta/generated/models/aosp_device_owner_pkcs_certificate_profile.py index aaaeff975da..12faf5f08b3 100644 --- a/msgraph_beta/generated/models/aosp_device_owner_pkcs_certificate_profile.py +++ b/msgraph_beta/generated/models/aosp_device_owner_pkcs_certificate_profile.py @@ -90,6 +90,12 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .aosp_device_owner_certificate_profile_base import AospDeviceOwnerCertificateProfileBase + from .certificate_store import CertificateStore + from .custom_subject_alternative_name import CustomSubjectAlternativeName + from .device_management_certification_authority import DeviceManagementCertificationAuthority + from .managed_device_certificate_state import ManagedDeviceCertificateState + writer.write_enum_value("certificateStore", self.certificate_store) writer.write_str_value("certificateTemplateName", self.certificate_template_name) writer.write_str_value("certificationAuthority", self.certification_authority) diff --git a/msgraph_beta/generated/models/aosp_device_owner_scep_certificate_profile.py b/msgraph_beta/generated/models/aosp_device_owner_scep_certificate_profile.py index b5f23dec316..791df3f7ec5 100644 --- a/msgraph_beta/generated/models/aosp_device_owner_scep_certificate_profile.py +++ b/msgraph_beta/generated/models/aosp_device_owner_scep_certificate_profile.py @@ -96,6 +96,14 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .aosp_device_owner_certificate_profile_base import AospDeviceOwnerCertificateProfileBase + from .certificate_store import CertificateStore + from .custom_subject_alternative_name import CustomSubjectAlternativeName + from .hash_algorithms import HashAlgorithms + from .key_size import KeySize + from .key_usages import KeyUsages + from .managed_device_certificate_state import ManagedDeviceCertificateState + writer.write_enum_value("certificateStore", self.certificate_store) writer.write_collection_of_object_values("customSubjectAlternativeNames", self.custom_subject_alternative_names) writer.write_enum_value("hashAlgorithm", self.hash_algorithm) diff --git a/msgraph_beta/generated/models/aosp_device_owner_trusted_root_certificate.py b/msgraph_beta/generated/models/aosp_device_owner_trusted_root_certificate.py index 43e32f772d2..5f37f896469 100644 --- a/msgraph_beta/generated/models/aosp_device_owner_trusted_root_certificate.py +++ b/msgraph_beta/generated/models/aosp_device_owner_trusted_root_certificate.py @@ -57,6 +57,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_configuration import DeviceConfiguration + writer.write_str_value("certFileName", self.cert_file_name) writer.write_bytes_value("trustedRootCertificate", self.trusted_root_certificate) diff --git a/msgraph_beta/generated/models/aosp_device_owner_wi_fi_configuration.py b/msgraph_beta/generated/models/aosp_device_owner_wi_fi_configuration.py index 0a52e40115f..e1a08bb89e6 100644 --- a/msgraph_beta/generated/models/aosp_device_owner_wi_fi_configuration.py +++ b/msgraph_beta/generated/models/aosp_device_owner_wi_fi_configuration.py @@ -53,7 +53,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> AospDeviceOwnerWiF if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.aospDeviceOwnerEnterpriseWiFiConfiguration".casefold(): @@ -104,6 +105,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .aosp_device_owner_enterprise_wi_fi_configuration import AospDeviceOwnerEnterpriseWiFiConfiguration + from .aosp_device_owner_wi_fi_security_type import AospDeviceOwnerWiFiSecurityType + from .device_configuration import DeviceConfiguration + from .wi_fi_proxy_setting import WiFiProxySetting + writer.write_bool_value("connectAutomatically", self.connect_automatically) writer.write_bool_value("connectWhenNetworkNameIsHidden", self.connect_when_network_name_is_hidden) writer.write_str_value("networkName", self.network_name) diff --git a/msgraph_beta/generated/models/api_application.py b/msgraph_beta/generated/models/api_application.py index 6e73d4479a4..30d4a58849d 100644 --- a/msgraph_beta/generated/models/api_application.py +++ b/msgraph_beta/generated/models/api_application.py @@ -69,6 +69,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .permission_scope import PermissionScope + from .pre_authorized_application import PreAuthorizedApplication + writer.write_bool_value("acceptMappedClaims", self.accept_mapped_claims) writer.write_collection_of_primitive_values("knownClientApplications", self.known_client_applications) writer.write_collection_of_object_values("oauth2PermissionScopes", self.oauth2_permission_scopes) diff --git a/msgraph_beta/generated/models/api_authentication_configuration_base.py b/msgraph_beta/generated/models/api_authentication_configuration_base.py index 9803e939e31..f285c2fc1db 100644 --- a/msgraph_beta/generated/models/api_authentication_configuration_base.py +++ b/msgraph_beta/generated/models/api_authentication_configuration_base.py @@ -29,7 +29,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> ApiAuthenticationC if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.basicAuthentication".casefold(): @@ -72,6 +73,10 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .basic_authentication import BasicAuthentication + from .client_certificate_authentication import ClientCertificateAuthentication + from .pkcs12_certificate import Pkcs12Certificate + writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/app_catalogs.py b/msgraph_beta/generated/models/app_catalogs.py index 87ce0952720..32badd33a9f 100644 --- a/msgraph_beta/generated/models/app_catalogs.py +++ b/msgraph_beta/generated/models/app_catalogs.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .teams_app import TeamsApp + writer.write_str_value("@odata.type", self.odata_type) writer.write_collection_of_object_values("teamsApps", self.teams_apps) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/app_configuration_setting_item.py b/msgraph_beta/generated/models/app_configuration_setting_item.py index 0662d4ab972..1a133104bda 100644 --- a/msgraph_beta/generated/models/app_configuration_setting_item.py +++ b/msgraph_beta/generated/models/app_configuration_setting_item.py @@ -62,6 +62,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .mdm_app_config_key_type import MdmAppConfigKeyType + writer.write_str_value("appConfigKey", self.app_config_key) writer.write_enum_value("appConfigKeyType", self.app_config_key_type) writer.write_str_value("appConfigKeyValue", self.app_config_key_value) diff --git a/msgraph_beta/generated/models/app_consent_approval_route.py b/msgraph_beta/generated/models/app_consent_approval_route.py index 08e482028c1..2f967281b04 100644 --- a/msgraph_beta/generated/models/app_consent_approval_route.py +++ b/msgraph_beta/generated/models/app_consent_approval_route.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .app_consent_request import AppConsentRequest + from .entity import Entity + writer.write_collection_of_object_values("appConsentRequests", self.app_consent_requests) diff --git a/msgraph_beta/generated/models/app_consent_request.py b/msgraph_beta/generated/models/app_consent_request.py index d8d1d2cecc0..ce57a38ed88 100644 --- a/msgraph_beta/generated/models/app_consent_request.py +++ b/msgraph_beta/generated/models/app_consent_request.py @@ -69,6 +69,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .app_consent_request_scope import AppConsentRequestScope + from .entity import Entity + from .user_consent_request import UserConsentRequest + writer.write_str_value("appDisplayName", self.app_display_name) writer.write_str_value("appId", self.app_id) writer.write_str_value("consentType", self.consent_type) diff --git a/msgraph_beta/generated/models/app_consent_request_collection_response.py b/msgraph_beta/generated/models/app_consent_request_collection_response.py index 3692a0fe2c2..a0ea4b018e9 100644 --- a/msgraph_beta/generated/models/app_consent_request_collection_response.py +++ b/msgraph_beta/generated/models/app_consent_request_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .app_consent_request import AppConsentRequest + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/app_credential_sign_in_activity.py b/msgraph_beta/generated/models/app_credential_sign_in_activity.py index 6f5e9c994a1..75dafb370fa 100644 --- a/msgraph_beta/generated/models/app_credential_sign_in_activity.py +++ b/msgraph_beta/generated/models/app_credential_sign_in_activity.py @@ -94,6 +94,12 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .application_key_origin import ApplicationKeyOrigin + from .application_key_type import ApplicationKeyType + from .application_key_usage import ApplicationKeyUsage + from .entity import Entity + from .sign_in_activity import SignInActivity + writer.write_str_value("appId", self.app_id) writer.write_str_value("appObjectId", self.app_object_id) writer.write_datetime_value("createdDateTime", self.created_date_time) diff --git a/msgraph_beta/generated/models/app_credential_sign_in_activity_collection_response.py b/msgraph_beta/generated/models/app_credential_sign_in_activity_collection_response.py index 78e7302eafa..cc630f8c1ea 100644 --- a/msgraph_beta/generated/models/app_credential_sign_in_activity_collection_response.py +++ b/msgraph_beta/generated/models/app_credential_sign_in_activity_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .app_credential_sign_in_activity import AppCredentialSignInActivity + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/app_hosted_media_config.py b/msgraph_beta/generated/models/app_hosted_media_config.py index 71158b203ec..71ee13b5559 100644 --- a/msgraph_beta/generated/models/app_hosted_media_config.py +++ b/msgraph_beta/generated/models/app_hosted_media_config.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .media_config import MediaConfig + writer.write_str_value("blob", self.blob) diff --git a/msgraph_beta/generated/models/app_list_item.py b/msgraph_beta/generated/models/app_list_item.py index 7ddc755e479..df371b6c841 100644 --- a/msgraph_beta/generated/models/app_list_item.py +++ b/msgraph_beta/generated/models/app_list_item.py @@ -38,7 +38,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> AppListItem: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.appleAppListItem".casefold(): @@ -73,6 +74,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .apple_app_list_item import AppleAppListItem + writer.write_str_value("appId", self.app_id) writer.write_str_value("appStoreUrl", self.app_store_url) writer.write_str_value("name", self.name) diff --git a/msgraph_beta/generated/models/app_log_collection_download_details.py b/msgraph_beta/generated/models/app_log_collection_download_details.py index 282b3966307..0b339cf05f9 100644 --- a/msgraph_beta/generated/models/app_log_collection_download_details.py +++ b/msgraph_beta/generated/models/app_log_collection_download_details.py @@ -59,6 +59,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .app_log_decryption_algorithm import AppLogDecryptionAlgorithm + writer.write_enum_value("appLogDecryptionAlgorithm", self.app_log_decryption_algorithm) writer.write_str_value("decryptionKey", self.decryption_key) writer.write_str_value("downloadUrl", self.download_url) diff --git a/msgraph_beta/generated/models/app_log_collection_request.py b/msgraph_beta/generated/models/app_log_collection_request.py index cb5ba3f1b5a..6fedc89890e 100644 --- a/msgraph_beta/generated/models/app_log_collection_request.py +++ b/msgraph_beta/generated/models/app_log_collection_request.py @@ -67,6 +67,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .app_log_upload_state import AppLogUploadState + from .entity import Entity + writer.write_datetime_value("completedDateTime", self.completed_date_time) writer.write_collection_of_primitive_values("customLogFolders", self.custom_log_folders) writer.write_str_value("errorMessage", self.error_message) diff --git a/msgraph_beta/generated/models/app_log_collection_request_collection_response.py b/msgraph_beta/generated/models/app_log_collection_request_collection_response.py index 7795e535664..f5b4042e903 100644 --- a/msgraph_beta/generated/models/app_log_collection_request_collection_response.py +++ b/msgraph_beta/generated/models/app_log_collection_request_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .app_log_collection_request import AppLogCollectionRequest + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/app_management_application_configuration.py b/msgraph_beta/generated/models/app_management_application_configuration.py index 553250f1a09..b3891f27bc8 100644 --- a/msgraph_beta/generated/models/app_management_application_configuration.py +++ b/msgraph_beta/generated/models/app_management_application_configuration.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .app_management_configuration import AppManagementConfiguration + from .identifier_uri_configuration import IdentifierUriConfiguration + writer.write_object_value("identifierUris", self.identifier_uris) diff --git a/msgraph_beta/generated/models/app_management_configuration.py b/msgraph_beta/generated/models/app_management_configuration.py index 6a1c2c43f48..b0f334a0574 100644 --- a/msgraph_beta/generated/models/app_management_configuration.py +++ b/msgraph_beta/generated/models/app_management_configuration.py @@ -35,7 +35,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> AppManagementConfi if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.appManagementApplicationConfiguration".casefold(): @@ -84,6 +85,12 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .app_management_application_configuration import AppManagementApplicationConfiguration + from .app_management_service_principal_configuration import AppManagementServicePrincipalConfiguration + from .custom_app_management_configuration import CustomAppManagementConfiguration + from .key_credential_configuration import KeyCredentialConfiguration + from .password_credential_configuration import PasswordCredentialConfiguration + writer.write_collection_of_object_values("keyCredentials", self.key_credentials) writer.write_str_value("@odata.type", self.odata_type) writer.write_collection_of_object_values("passwordCredentials", self.password_credentials) diff --git a/msgraph_beta/generated/models/app_management_policy.py b/msgraph_beta/generated/models/app_management_policy.py index 8d85c311eb9..cf533cccb12 100644 --- a/msgraph_beta/generated/models/app_management_policy.py +++ b/msgraph_beta/generated/models/app_management_policy.py @@ -63,6 +63,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .custom_app_management_configuration import CustomAppManagementConfiguration + from .directory_object import DirectoryObject + from .policy_base import PolicyBase + writer.write_collection_of_object_values("appliesTo", self.applies_to) writer.write_bool_value("isEnabled", self.is_enabled) writer.write_object_value("restrictions", self.restrictions) diff --git a/msgraph_beta/generated/models/app_management_policy_actor_exemptions.py b/msgraph_beta/generated/models/app_management_policy_actor_exemptions.py new file mode 100644 index 00000000000..0f63bf292c0 --- /dev/null +++ b/msgraph_beta/generated/models/app_management_policy_actor_exemptions.py @@ -0,0 +1,62 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .custom_security_attribute_exemption import CustomSecurityAttributeExemption + +@dataclass +class AppManagementPolicyActorExemptions(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 customSecurityAttributes property + custom_security_attributes: Optional[List[CustomSecurityAttributeExemption]] = None + # The OdataType property + odata_type: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> AppManagementPolicyActorExemptions: + """ + 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: AppManagementPolicyActorExemptions + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return AppManagementPolicyActorExemptions() + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .custom_security_attribute_exemption import CustomSecurityAttributeExemption + + from .custom_security_attribute_exemption import CustomSecurityAttributeExemption + + fields: Dict[str, Callable[[Any], None]] = { + "customSecurityAttributes": lambda n : setattr(self, 'custom_security_attributes', n.get_collection_of_object_values(CustomSecurityAttributeExemption)), + "@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.") + from .custom_security_attribute_exemption import CustomSecurityAttributeExemption + + writer.write_collection_of_object_values("customSecurityAttributes", self.custom_security_attributes) + writer.write_str_value("@odata.type", self.odata_type) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/models/app_management_policy_collection_response.py b/msgraph_beta/generated/models/app_management_policy_collection_response.py index 3bd74670f24..e393b815817 100644 --- a/msgraph_beta/generated/models/app_management_policy_collection_response.py +++ b/msgraph_beta/generated/models/app_management_policy_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .app_management_policy import AppManagementPolicy + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/app_management_service_principal_configuration.py b/msgraph_beta/generated/models/app_management_service_principal_configuration.py index cc4f68a6e32..543941719ff 100644 --- a/msgraph_beta/generated/models/app_management_service_principal_configuration.py +++ b/msgraph_beta/generated/models/app_management_service_principal_configuration.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .app_management_configuration import AppManagementConfiguration + diff --git a/msgraph_beta/generated/models/app_role_assignment.py b/msgraph_beta/generated/models/app_role_assignment.py index 3b2f1342835..e34d262628b 100644 --- a/msgraph_beta/generated/models/app_role_assignment.py +++ b/msgraph_beta/generated/models/app_role_assignment.py @@ -71,6 +71,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_uuid_value("appRoleId", self.app_role_id) writer.write_datetime_value("creationTimestamp", self.creation_timestamp) writer.write_str_value("principalDisplayName", self.principal_display_name) diff --git a/msgraph_beta/generated/models/app_role_assignment_collection_response.py b/msgraph_beta/generated/models/app_role_assignment_collection_response.py index 08a9bbf7e0b..36af851d0c8 100644 --- a/msgraph_beta/generated/models/app_role_assignment_collection_response.py +++ b/msgraph_beta/generated/models/app_role_assignment_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .app_role_assignment import AppRoleAssignment + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/app_scope.py b/msgraph_beta/generated/models/app_scope.py index b6b69754e24..688e5608a1a 100644 --- a/msgraph_beta/generated/models/app_scope.py +++ b/msgraph_beta/generated/models/app_scope.py @@ -28,7 +28,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> AppScope: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.customAppScope".casefold(): @@ -65,6 +66,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .custom_app_scope import CustomAppScope + from .entity import Entity + writer.write_str_value("displayName", self.display_name) writer.write_str_value("type", self.type) diff --git a/msgraph_beta/generated/models/app_scope_collection_response.py b/msgraph_beta/generated/models/app_scope_collection_response.py index ac44ba9bdd0..2828bb1a95e 100644 --- a/msgraph_beta/generated/models/app_scope_collection_response.py +++ b/msgraph_beta/generated/models/app_scope_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .app_scope import AppScope + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/app_vulnerability_managed_device.py b/msgraph_beta/generated/models/app_vulnerability_managed_device.py index 2457d643840..ef3ff72f4d7 100644 --- a/msgraph_beta/generated/models/app_vulnerability_managed_device.py +++ b/msgraph_beta/generated/models/app_vulnerability_managed_device.py @@ -61,6 +61,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_str_value("displayName", self.display_name) writer.write_datetime_value("lastSyncDateTime", self.last_sync_date_time) writer.write_str_value("managedDeviceId", self.managed_device_id) diff --git a/msgraph_beta/generated/models/app_vulnerability_mobile_app.py b/msgraph_beta/generated/models/app_vulnerability_mobile_app.py index 3b97826aa2e..7230641c3cd 100644 --- a/msgraph_beta/generated/models/app_vulnerability_mobile_app.py +++ b/msgraph_beta/generated/models/app_vulnerability_mobile_app.py @@ -70,6 +70,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_datetime_value("createdDateTime", self.created_date_time) writer.write_str_value("displayName", self.display_name) writer.write_datetime_value("lastModifiedDateTime", self.last_modified_date_time) diff --git a/msgraph_beta/generated/models/app_vulnerability_task.py b/msgraph_beta/generated/models/app_vulnerability_task.py index 52c3c7bcd15..ff66c547549 100644 --- a/msgraph_beta/generated/models/app_vulnerability_task.py +++ b/msgraph_beta/generated/models/app_vulnerability_task.py @@ -90,6 +90,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .app_vulnerability_managed_device import AppVulnerabilityManagedDevice + from .app_vulnerability_mobile_app import AppVulnerabilityMobileApp + from .app_vulnerability_task_mitigation_type import AppVulnerabilityTaskMitigationType + from .device_app_management_task import DeviceAppManagementTask + writer.write_str_value("appName", self.app_name) writer.write_str_value("appPublisher", self.app_publisher) writer.write_str_value("appVersion", self.app_version) diff --git a/msgraph_beta/generated/models/apple_app_list_item.py b/msgraph_beta/generated/models/apple_app_list_item.py index 34479d8cf94..a7242dfdadd 100644 --- a/msgraph_beta/generated/models/apple_app_list_item.py +++ b/msgraph_beta/generated/models/apple_app_list_item.py @@ -51,5 +51,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .app_list_item import AppListItem + diff --git a/msgraph_beta/generated/models/apple_device_features_configuration_base.py b/msgraph_beta/generated/models/apple_device_features_configuration_base.py index b82744d3056..ff1723fd1d2 100644 --- a/msgraph_beta/generated/models/apple_device_features_configuration_base.py +++ b/msgraph_beta/generated/models/apple_device_features_configuration_base.py @@ -31,7 +31,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> AppleDeviceFeature if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.iosDeviceFeaturesConfiguration".casefold(): @@ -75,6 +76,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .air_print_destination import AirPrintDestination + from .device_configuration import DeviceConfiguration + from .ios_device_features_configuration import IosDeviceFeaturesConfiguration + from .mac_o_s_device_features_configuration import MacOSDeviceFeaturesConfiguration + writer.write_collection_of_object_values("airPrintDestinations", self.air_print_destinations) diff --git a/msgraph_beta/generated/models/apple_enrollment_profile_assignment.py b/msgraph_beta/generated/models/apple_enrollment_profile_assignment.py index 7062302d885..dbc09563d24 100644 --- a/msgraph_beta/generated/models/apple_enrollment_profile_assignment.py +++ b/msgraph_beta/generated/models/apple_enrollment_profile_assignment.py @@ -57,6 +57,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_and_app_management_assignment_target import DeviceAndAppManagementAssignmentTarget + from .entity import Entity + writer.write_object_value("target", self.target) diff --git a/msgraph_beta/generated/models/apple_enrollment_profile_assignment_collection_response.py b/msgraph_beta/generated/models/apple_enrollment_profile_assignment_collection_response.py index f5a5da95c02..9f0bb4bfb43 100644 --- a/msgraph_beta/generated/models/apple_enrollment_profile_assignment_collection_response.py +++ b/msgraph_beta/generated/models/apple_enrollment_profile_assignment_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .apple_enrollment_profile_assignment import AppleEnrollmentProfileAssignment + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/apple_expedited_checkin_configuration_base.py b/msgraph_beta/generated/models/apple_expedited_checkin_configuration_base.py index be6b94f67ba..4508138bda8 100644 --- a/msgraph_beta/generated/models/apple_expedited_checkin_configuration_base.py +++ b/msgraph_beta/generated/models/apple_expedited_checkin_configuration_base.py @@ -29,7 +29,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> AppleExpeditedChec if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.iosExpeditedCheckinConfiguration".casefold(): @@ -65,6 +66,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_configuration import DeviceConfiguration + from .ios_expedited_checkin_configuration import IosExpeditedCheckinConfiguration + writer.write_bool_value("enableExpeditedCheckin", self.enable_expedited_checkin) diff --git a/msgraph_beta/generated/models/apple_managed_identity_provider.py b/msgraph_beta/generated/models/apple_managed_identity_provider.py index b9ce2220d2c..6a6364b9e25 100644 --- a/msgraph_beta/generated/models/apple_managed_identity_provider.py +++ b/msgraph_beta/generated/models/apple_managed_identity_provider.py @@ -60,6 +60,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .identity_provider_base import IdentityProviderBase + writer.write_str_value("certificateData", self.certificate_data) writer.write_str_value("developerId", self.developer_id) writer.write_str_value("keyId", self.key_id) diff --git a/msgraph_beta/generated/models/apple_owner_type_enrollment_type.py b/msgraph_beta/generated/models/apple_owner_type_enrollment_type.py index 1ffdc4a3846..fe67458b329 100644 --- a/msgraph_beta/generated/models/apple_owner_type_enrollment_type.py +++ b/msgraph_beta/generated/models/apple_owner_type_enrollment_type.py @@ -59,6 +59,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .apple_user_initiated_enrollment_type import AppleUserInitiatedEnrollmentType + from .managed_device_owner_type import ManagedDeviceOwnerType + writer.write_enum_value("enrollmentType", self.enrollment_type) writer.write_str_value("@odata.type", self.odata_type) writer.write_enum_value("ownerType", self.owner_type) diff --git a/msgraph_beta/generated/models/apple_push_notification_certificate.py b/msgraph_beta/generated/models/apple_push_notification_certificate.py index 333daf9f2f7..245045676f9 100644 --- a/msgraph_beta/generated/models/apple_push_notification_certificate.py +++ b/msgraph_beta/generated/models/apple_push_notification_certificate.py @@ -76,6 +76,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_str_value("appleIdentifier", self.apple_identifier) writer.write_str_value("certificate", self.certificate) writer.write_str_value("certificateUploadFailureReason", self.certificate_upload_failure_reason) diff --git a/msgraph_beta/generated/models/apple_user_initiated_enrollment_profile.py b/msgraph_beta/generated/models/apple_user_initiated_enrollment_profile.py index ed8cfbd2ec4..33f5f6e198e 100644 --- a/msgraph_beta/generated/models/apple_user_initiated_enrollment_profile.py +++ b/msgraph_beta/generated/models/apple_user_initiated_enrollment_profile.py @@ -91,6 +91,12 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .apple_enrollment_profile_assignment import AppleEnrollmentProfileAssignment + from .apple_owner_type_enrollment_type import AppleOwnerTypeEnrollmentType + from .apple_user_initiated_enrollment_type import AppleUserInitiatedEnrollmentType + from .device_platform_type import DevicePlatformType + from .entity import Entity + writer.write_collection_of_object_values("assignments", self.assignments) writer.write_collection_of_object_values("availableEnrollmentTypeOptions", self.available_enrollment_type_options) writer.write_datetime_value("createdDateTime", self.created_date_time) diff --git a/msgraph_beta/generated/models/apple_user_initiated_enrollment_profile_collection_response.py b/msgraph_beta/generated/models/apple_user_initiated_enrollment_profile_collection_response.py index e14c9560388..e91d5468f9b 100644 --- a/msgraph_beta/generated/models/apple_user_initiated_enrollment_profile_collection_response.py +++ b/msgraph_beta/generated/models/apple_user_initiated_enrollment_profile_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .apple_user_initiated_enrollment_profile import AppleUserInitiatedEnrollmentProfile + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/apple_vpn_always_on_configuration.py b/msgraph_beta/generated/models/apple_vpn_always_on_configuration.py index fd58212a6a3..130ea2def25 100644 --- a/msgraph_beta/generated/models/apple_vpn_always_on_configuration.py +++ b/msgraph_beta/generated/models/apple_vpn_always_on_configuration.py @@ -89,6 +89,10 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .specified_captive_network_plugins import SpecifiedCaptiveNetworkPlugins + from .vpn_service_exception_action import VpnServiceExceptionAction + from .vpn_tunnel_configuration_type import VpnTunnelConfigurationType + writer.write_enum_value("airPrintExceptionAction", self.air_print_exception_action) writer.write_bool_value("allowAllCaptiveNetworkPlugins", self.allow_all_captive_network_plugins) writer.write_bool_value("allowCaptiveWebSheet", self.allow_captive_web_sheet) diff --git a/msgraph_beta/generated/models/apple_vpn_configuration.py b/msgraph_beta/generated/models/apple_vpn_configuration.py index 5a78ab715c1..81009c5e460 100644 --- a/msgraph_beta/generated/models/apple_vpn_configuration.py +++ b/msgraph_beta/generated/models/apple_vpn_configuration.py @@ -81,7 +81,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> AppleVpnConfigurat if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.iosikEv2VpnConfiguration".casefold(): @@ -166,6 +167,19 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .apple_vpn_connection_type import AppleVpnConnectionType + from .device_configuration import DeviceConfiguration + from .iosik_ev2_vpn_configuration import IosikEv2VpnConfiguration + from .ios_vpn_configuration import IosVpnConfiguration + from .key_value import KeyValue + from .key_value_pair import KeyValuePair + from .mac_o_s_vpn_configuration import MacOSVpnConfiguration + from .vpn_authentication_method import VpnAuthenticationMethod + from .vpn_on_demand_rule import VpnOnDemandRule + from .vpn_provider_type import VpnProviderType + from .vpn_proxy_server import VpnProxyServer + from .vpn_server import VpnServer + writer.write_collection_of_primitive_values("associatedDomains", self.associated_domains) writer.write_enum_value("authenticationMethod", self.authentication_method) writer.write_str_value("connectionName", self.connection_name) diff --git a/msgraph_beta/generated/models/apple_vpp_token_troubleshooting_event.py b/msgraph_beta/generated/models/apple_vpp_token_troubleshooting_event.py index acc1f3fea1a..a50592c318c 100644 --- a/msgraph_beta/generated/models/apple_vpp_token_troubleshooting_event.py +++ b/msgraph_beta/generated/models/apple_vpp_token_troubleshooting_event.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_management_troubleshooting_event import DeviceManagementTroubleshootingEvent + writer.write_str_value("tokenId", self.token_id) diff --git a/msgraph_beta/generated/models/application.py b/msgraph_beta/generated/models/application.py index 6347031f207..578cef2be4c 100644 --- a/msgraph_beta/generated/models/application.py +++ b/msgraph_beta/generated/models/application.py @@ -275,6 +275,35 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .api_application import ApiApplication + from .app_management_policy import AppManagementPolicy + from .app_role import AppRole + from .authentication_behaviors import AuthenticationBehaviors + from .certification import Certification + from .connector_group import ConnectorGroup + from .directory_object import DirectoryObject + from .extension_property import ExtensionProperty + from .federated_identity_credential import FederatedIdentityCredential + from .home_realm_discovery_policy import HomeRealmDiscoveryPolicy + from .informational_url import InformationalUrl + from .key_credential import KeyCredential + from .native_authentication_apis_enabled import NativeAuthenticationApisEnabled + from .on_premises_publishing import OnPremisesPublishing + from .optional_claims import OptionalClaims + from .parental_control_settings import ParentalControlSettings + from .password_credential import PasswordCredential + from .public_client_application import PublicClientApplication + from .request_signature_verification import RequestSignatureVerification + from .required_resource_access import RequiredResourceAccess + from .service_principal_lock_configuration import ServicePrincipalLockConfiguration + from .spa_application import SpaApplication + from .synchronization import Synchronization + from .token_issuance_policy import TokenIssuancePolicy + from .token_lifetime_policy import TokenLifetimePolicy + from .verified_publisher import VerifiedPublisher + from .web_application import WebApplication + from .windows_application import WindowsApplication + writer.write_object_value("api", self.api) writer.write_str_value("appId", self.app_id) writer.write_collection_of_object_values("appManagementPolicies", self.app_management_policies) diff --git a/msgraph_beta/generated/models/application_collection_response.py b/msgraph_beta/generated/models/application_collection_response.py index 965a429dddf..63d52169bff 100644 --- a/msgraph_beta/generated/models/application_collection_response.py +++ b/msgraph_beta/generated/models/application_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .application import Application + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/application_enforced_restrictions_session_control.py b/msgraph_beta/generated/models/application_enforced_restrictions_session_control.py index 753e74db34c..233e21271d5 100644 --- a/msgraph_beta/generated/models/application_enforced_restrictions_session_control.py +++ b/msgraph_beta/generated/models/application_enforced_restrictions_session_control.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .conditional_access_session_control import ConditionalAccessSessionControl + diff --git a/msgraph_beta/generated/models/application_segment.py b/msgraph_beta/generated/models/application_segment.py index 61686f5d984..4881607f952 100644 --- a/msgraph_beta/generated/models/application_segment.py +++ b/msgraph_beta/generated/models/application_segment.py @@ -25,7 +25,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> ApplicationSegment if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.ipApplicationSegment".casefold(): @@ -66,5 +67,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .ip_application_segment import IpApplicationSegment + from .web_application_segment import WebApplicationSegment + diff --git a/msgraph_beta/generated/models/application_service_principal.py b/msgraph_beta/generated/models/application_service_principal.py index 921ec05545f..b255abb31b2 100644 --- a/msgraph_beta/generated/models/application_service_principal.py +++ b/msgraph_beta/generated/models/application_service_principal.py @@ -59,6 +59,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .application import Application + from .service_principal import ServicePrincipal + writer.write_object_value("application", self.application) writer.write_str_value("@odata.type", self.odata_type) writer.write_object_value("servicePrincipal", self.service_principal) diff --git a/msgraph_beta/generated/models/application_sign_in_detailed_summary.py b/msgraph_beta/generated/models/application_sign_in_detailed_summary.py index 408c084876a..598c9bc9692 100644 --- a/msgraph_beta/generated/models/application_sign_in_detailed_summary.py +++ b/msgraph_beta/generated/models/application_sign_in_detailed_summary.py @@ -67,6 +67,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .sign_in_status import SignInStatus + writer.write_datetime_value("aggregatedEventDateTime", self.aggregated_event_date_time) writer.write_str_value("appDisplayName", self.app_display_name) writer.write_str_value("appId", self.app_id) diff --git a/msgraph_beta/generated/models/application_sign_in_detailed_summary_collection_response.py b/msgraph_beta/generated/models/application_sign_in_detailed_summary_collection_response.py index 7d5e9fed532..93509ae5741 100644 --- a/msgraph_beta/generated/models/application_sign_in_detailed_summary_collection_response.py +++ b/msgraph_beta/generated/models/application_sign_in_detailed_summary_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .application_sign_in_detailed_summary import ApplicationSignInDetailedSummary + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/application_sign_in_summary.py b/msgraph_beta/generated/models/application_sign_in_summary.py index 238ba82ac2a..f883aed8c46 100644 --- a/msgraph_beta/generated/models/application_sign_in_summary.py +++ b/msgraph_beta/generated/models/application_sign_in_summary.py @@ -60,6 +60,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_str_value("appDisplayName", self.app_display_name) writer.write_int_value("failedSignInCount", self.failed_sign_in_count) writer.write_float_value("successPercentage", self.success_percentage) diff --git a/msgraph_beta/generated/models/application_template.py b/msgraph_beta/generated/models/application_template.py index 6c4dfb38a4c..140d129dc71 100644 --- a/msgraph_beta/generated/models/application_template.py +++ b/msgraph_beta/generated/models/application_template.py @@ -90,6 +90,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .configuration_uri import ConfigurationUri + from .entity import Entity + from .informational_urls import InformationalUrls + from .supported_claim_configuration import SupportedClaimConfiguration + writer.write_collection_of_primitive_values("categories", self.categories) writer.write_collection_of_object_values("configurationUris", self.configuration_uris) writer.write_str_value("description", self.description) diff --git a/msgraph_beta/generated/models/application_template_collection_response.py b/msgraph_beta/generated/models/application_template_collection_response.py index 60c18a43f50..b1a24856509 100644 --- a/msgraph_beta/generated/models/application_template_collection_response.py +++ b/msgraph_beta/generated/models/application_template_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .application_template import ApplicationTemplate + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/applied_authentication_event_listener.py b/msgraph_beta/generated/models/applied_authentication_event_listener.py index 4cf7fb545fa..1d09ef8e69a 100644 --- a/msgraph_beta/generated/models/applied_authentication_event_listener.py +++ b/msgraph_beta/generated/models/applied_authentication_event_listener.py @@ -62,6 +62,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .authentication_event_handler_result import AuthenticationEventHandlerResult + from .authentication_event_type import AuthenticationEventType + writer.write_enum_value("eventType", self.event_type) writer.write_str_value("executedListenerId", self.executed_listener_id) writer.write_object_value("handlerResult", self.handler_result) diff --git a/msgraph_beta/generated/models/applied_conditional_access_policy.py b/msgraph_beta/generated/models/applied_conditional_access_policy.py index 62f70bee831..7473d6f2a47 100644 --- a/msgraph_beta/generated/models/applied_conditional_access_policy.py +++ b/msgraph_beta/generated/models/applied_conditional_access_policy.py @@ -92,6 +92,11 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .applied_conditional_access_policy_result import AppliedConditionalAccessPolicyResult + from .authentication_strength import AuthenticationStrength + from .conditional_access_conditions import ConditionalAccessConditions + from .conditional_access_rule_satisfied import ConditionalAccessRuleSatisfied + writer.write_object_value("authenticationStrength", self.authentication_strength) writer.write_enum_value("conditionsNotSatisfied", self.conditions_not_satisfied) writer.write_enum_value("conditionsSatisfied", self.conditions_satisfied) diff --git a/msgraph_beta/generated/models/apply_label_action.py b/msgraph_beta/generated/models/apply_label_action.py index 77025775f31..6282280b42d 100644 --- a/msgraph_beta/generated/models/apply_label_action.py +++ b/msgraph_beta/generated/models/apply_label_action.py @@ -67,6 +67,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .action_source import ActionSource + from .information_protection_action import InformationProtectionAction + from .label_details import LabelDetails + writer.write_enum_value("actionSource", self.action_source) writer.write_collection_of_object_values("actions", self.actions) writer.write_object_value("label", self.label) diff --git a/msgraph_beta/generated/models/approval.py b/msgraph_beta/generated/models/approval.py index 99c53effc8d..711fb36c426 100644 --- a/msgraph_beta/generated/models/approval.py +++ b/msgraph_beta/generated/models/approval.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .approval_step import ApprovalStep + from .entity import Entity + writer.write_collection_of_object_values("steps", self.steps) diff --git a/msgraph_beta/generated/models/approval_collection_response.py b/msgraph_beta/generated/models/approval_collection_response.py index c4a5548d4ad..8c8a116c620 100644 --- a/msgraph_beta/generated/models/approval_collection_response.py +++ b/msgraph_beta/generated/models/approval_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .approval import Approval + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/approval_identity_set.py b/msgraph_beta/generated/models/approval_identity_set.py index a345c7b31a9..d224dce3823 100644 --- a/msgraph_beta/generated/models/approval_identity_set.py +++ b/msgraph_beta/generated/models/approval_identity_set.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .identity import Identity + from .identity_set import IdentitySet + writer.write_object_value("group", self.group) diff --git a/msgraph_beta/generated/models/approval_item.py b/msgraph_beta/generated/models/approval_item.py index 605bd2d83ef..870db2c7b85 100644 --- a/msgraph_beta/generated/models/approval_item.py +++ b/msgraph_beta/generated/models/approval_item.py @@ -112,6 +112,14 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .approval_identity_set import ApprovalIdentitySet + from .approval_item_request import ApprovalItemRequest + from .approval_item_response import ApprovalItemResponse + from .approval_item_state import ApprovalItemState + from .approval_item_type import ApprovalItemType + from .approval_item_view_point import ApprovalItemViewPoint + from .entity import Entity + writer.write_bool_value("allowEmailNotification", self.allow_email_notification) writer.write_enum_value("approvalType", self.approval_type) writer.write_collection_of_object_values("approvers", self.approvers) diff --git a/msgraph_beta/generated/models/approval_item_collection_response.py b/msgraph_beta/generated/models/approval_item_collection_response.py index ccf0ce17ba6..834235b6401 100644 --- a/msgraph_beta/generated/models/approval_item_collection_response.py +++ b/msgraph_beta/generated/models/approval_item_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .approval_item import ApprovalItem + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/approval_item_request.py b/msgraph_beta/generated/models/approval_item_request.py index 2f4f4e954b3..662472ee6b9 100644 --- a/msgraph_beta/generated/models/approval_item_request.py +++ b/msgraph_beta/generated/models/approval_item_request.py @@ -64,5 +64,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .approval_identity_set import ApprovalIdentitySet + from .entity import Entity + diff --git a/msgraph_beta/generated/models/approval_item_request_collection_response.py b/msgraph_beta/generated/models/approval_item_request_collection_response.py index 03c5684f4dc..68d7f1b58fc 100644 --- a/msgraph_beta/generated/models/approval_item_request_collection_response.py +++ b/msgraph_beta/generated/models/approval_item_request_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .approval_item_request import ApprovalItemRequest + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/approval_item_response.py b/msgraph_beta/generated/models/approval_item_response.py index fc6ed32e8a7..3b9bff0d7b8 100644 --- a/msgraph_beta/generated/models/approval_item_response.py +++ b/msgraph_beta/generated/models/approval_item_response.py @@ -67,6 +67,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .approval_identity_set import ApprovalIdentitySet + from .entity import Entity + writer.write_str_value("comments", self.comments) writer.write_object_value("createdBy", self.created_by) writer.write_str_value("response", self.response) diff --git a/msgraph_beta/generated/models/approval_item_response_collection_response.py b/msgraph_beta/generated/models/approval_item_response_collection_response.py index 1e035d2468b..b72f45c384f 100644 --- a/msgraph_beta/generated/models/approval_item_response_collection_response.py +++ b/msgraph_beta/generated/models/approval_item_response_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .approval_item_response import ApprovalItemResponse + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/approval_item_view_point.py b/msgraph_beta/generated/models/approval_item_view_point.py index a2cf554df83..e5521174800 100644 --- a/msgraph_beta/generated/models/approval_item_view_point.py +++ b/msgraph_beta/generated/models/approval_item_view_point.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .approver_role import ApproverRole + writer.write_str_value("@odata.type", self.odata_type) writer.write_collection_of_enum_values("roles", self.roles) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/approval_operation.py b/msgraph_beta/generated/models/approval_operation.py index 801319b02f6..2f511e3a18f 100644 --- a/msgraph_beta/generated/models/approval_operation.py +++ b/msgraph_beta/generated/models/approval_operation.py @@ -70,6 +70,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .approval_operation_status import ApprovalOperationStatus + from .entity import Entity + from .public_error import PublicError + writer.write_datetime_value("createdDateTime", self.created_date_time) writer.write_object_value("error", self.error) writer.write_datetime_value("lastActionDateTime", self.last_action_date_time) diff --git a/msgraph_beta/generated/models/approval_operation_collection_response.py b/msgraph_beta/generated/models/approval_operation_collection_response.py index 87a0150138e..566d2e3c900 100644 --- a/msgraph_beta/generated/models/approval_operation_collection_response.py +++ b/msgraph_beta/generated/models/approval_operation_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .approval_operation import ApprovalOperation + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/approval_settings.py b/msgraph_beta/generated/models/approval_settings.py index 2b619d41b71..80d9d3e1747 100644 --- a/msgraph_beta/generated/models/approval_settings.py +++ b/msgraph_beta/generated/models/approval_settings.py @@ -65,6 +65,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .approval_stage import ApprovalStage + writer.write_str_value("approvalMode", self.approval_mode) writer.write_collection_of_object_values("approvalStages", self.approval_stages) writer.write_bool_value("isApprovalRequired", self.is_approval_required) diff --git a/msgraph_beta/generated/models/approval_solution.py b/msgraph_beta/generated/models/approval_solution.py index 41d736208db..c4d87f8ba2d 100644 --- a/msgraph_beta/generated/models/approval_solution.py +++ b/msgraph_beta/generated/models/approval_solution.py @@ -66,6 +66,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .approval_item import ApprovalItem + from .approval_operation import ApprovalOperation + from .entity import Entity + from .provision_state import ProvisionState + writer.write_collection_of_object_values("approvalItems", self.approval_items) writer.write_collection_of_object_values("operations", self.operations) writer.write_enum_value("provisioningStatus", self.provisioning_status) diff --git a/msgraph_beta/generated/models/approval_stage.py b/msgraph_beta/generated/models/approval_stage.py index 07b9e0a243a..27bfb145306 100644 --- a/msgraph_beta/generated/models/approval_stage.py +++ b/msgraph_beta/generated/models/approval_stage.py @@ -68,6 +68,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .user_set import UserSet + writer.write_int_value("approvalStageTimeOutInDays", self.approval_stage_time_out_in_days) writer.write_collection_of_object_values("escalationApprovers", self.escalation_approvers) writer.write_int_value("escalationTimeInMinutes", self.escalation_time_in_minutes) diff --git a/msgraph_beta/generated/models/approval_step.py b/msgraph_beta/generated/models/approval_step.py index 40f37abe71c..fa58fd96147 100644 --- a/msgraph_beta/generated/models/approval_step.py +++ b/msgraph_beta/generated/models/approval_step.py @@ -73,6 +73,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .identity import Identity + writer.write_bool_value("assignedToMe", self.assigned_to_me) writer.write_str_value("displayName", self.display_name) writer.write_str_value("justification", self.justification) diff --git a/msgraph_beta/generated/models/approval_step_collection_response.py b/msgraph_beta/generated/models/approval_step_collection_response.py index c8bebf7e3dc..654b7c5ef84 100644 --- a/msgraph_beta/generated/models/approval_step_collection_response.py +++ b/msgraph_beta/generated/models/approval_step_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .approval_step import ApprovalStep + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/approval_workflow_provider.py b/msgraph_beta/generated/models/approval_workflow_provider.py index 07ea7e3a224..16def30d8cc 100644 --- a/msgraph_beta/generated/models/approval_workflow_provider.py +++ b/msgraph_beta/generated/models/approval_workflow_provider.py @@ -66,6 +66,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .business_flow import BusinessFlow + from .entity import Entity + from .governance_policy_template import GovernancePolicyTemplate + writer.write_collection_of_object_values("businessFlows", self.business_flows) writer.write_collection_of_object_values("businessFlowsWithRequestsAwaitingMyDecision", self.business_flows_with_requests_awaiting_my_decision) writer.write_str_value("displayName", self.display_name) diff --git a/msgraph_beta/generated/models/approval_workflow_provider_collection_response.py b/msgraph_beta/generated/models/approval_workflow_provider_collection_response.py index 75e369e5db3..3c9472b5ebd 100644 --- a/msgraph_beta/generated/models/approval_workflow_provider_collection_response.py +++ b/msgraph_beta/generated/models/approval_workflow_provider_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .approval_workflow_provider import ApprovalWorkflowProvider + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/archived_print_job.py b/msgraph_beta/generated/models/archived_print_job.py index f4279f67911..e7e32030dcb 100644 --- a/msgraph_beta/generated/models/archived_print_job.py +++ b/msgraph_beta/generated/models/archived_print_job.py @@ -99,6 +99,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .print_job_processing_state import PrintJobProcessingState + from .user_identity import UserIdentity + writer.write_bool_value("acquiredByPrinter", self.acquired_by_printer) writer.write_datetime_value("acquiredDateTime", self.acquired_date_time) writer.write_int_value("blackAndWhitePageCount", self.black_and_white_page_count) diff --git a/msgraph_beta/generated/models/artifact_query.py b/msgraph_beta/generated/models/artifact_query.py index 2a22847a091..5d3dde683df 100644 --- a/msgraph_beta/generated/models/artifact_query.py +++ b/msgraph_beta/generated/models/artifact_query.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .restorable_artifact import RestorableArtifact + writer.write_enum_value("artifactType", self.artifact_type) writer.write_str_value("@odata.type", self.odata_type) writer.write_str_value("queryExpression", self.query_expression) diff --git a/msgraph_beta/generated/models/assigned_compute_instance_details.py b/msgraph_beta/generated/models/assigned_compute_instance_details.py index cf87a921ad9..4381c1c3191 100644 --- a/msgraph_beta/generated/models/assigned_compute_instance_details.py +++ b/msgraph_beta/generated/models/assigned_compute_instance_details.py @@ -57,6 +57,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .authorization_system_resource import AuthorizationSystemResource + from .entity import Entity + writer.write_collection_of_object_values("accessedStorageBuckets", self.accessed_storage_buckets) writer.write_object_value("assignedComputeInstance", self.assigned_compute_instance) diff --git a/msgraph_beta/generated/models/assignment_filter_evaluate_request.py b/msgraph_beta/generated/models/assignment_filter_evaluate_request.py index 2608cbde0b8..5a34aaff04d 100644 --- a/msgraph_beta/generated/models/assignment_filter_evaluate_request.py +++ b/msgraph_beta/generated/models/assignment_filter_evaluate_request.py @@ -71,6 +71,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .device_platform_type import DevicePlatformType + writer.write_str_value("@odata.type", self.odata_type) writer.write_collection_of_primitive_values("orderBy", self.order_by) writer.write_enum_value("platform", self.platform) diff --git a/msgraph_beta/generated/models/assignment_filter_evaluation_status_details.py b/msgraph_beta/generated/models/assignment_filter_evaluation_status_details.py index b871be785b1..6f8ccfa39f3 100644 --- a/msgraph_beta/generated/models/assignment_filter_evaluation_status_details.py +++ b/msgraph_beta/generated/models/assignment_filter_evaluation_status_details.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_str_value("payloadId", self.payload_id) diff --git a/msgraph_beta/generated/models/assignment_filter_evaluation_status_details_collection_response.py b/msgraph_beta/generated/models/assignment_filter_evaluation_status_details_collection_response.py index 1f45b08b1f3..d94879eb0e9 100644 --- a/msgraph_beta/generated/models/assignment_filter_evaluation_status_details_collection_response.py +++ b/msgraph_beta/generated/models/assignment_filter_evaluation_status_details_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .assignment_filter_evaluation_status_details import AssignmentFilterEvaluationStatusDetails + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/assignment_filter_evaluation_summary.py b/msgraph_beta/generated/models/assignment_filter_evaluation_summary.py index 2f775462475..afb9927d3d2 100644 --- a/msgraph_beta/generated/models/assignment_filter_evaluation_summary.py +++ b/msgraph_beta/generated/models/assignment_filter_evaluation_summary.py @@ -87,6 +87,11 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .assignment_filter_evaluation_result import AssignmentFilterEvaluationResult + from .assignment_filter_type_and_evaluation_result import AssignmentFilterTypeAndEvaluationResult + from .device_and_app_management_assignment_filter_type import DeviceAndAppManagementAssignmentFilterType + from .device_platform_type import DevicePlatformType + writer.write_str_value("assignmentFilterDisplayName", self.assignment_filter_display_name) writer.write_str_value("assignmentFilterId", self.assignment_filter_id) writer.write_datetime_value("assignmentFilterLastModifiedDateTime", self.assignment_filter_last_modified_date_time) diff --git a/msgraph_beta/generated/models/assignment_filter_status_details.py b/msgraph_beta/generated/models/assignment_filter_status_details.py index 35145c22524..199385e2a53 100644 --- a/msgraph_beta/generated/models/assignment_filter_status_details.py +++ b/msgraph_beta/generated/models/assignment_filter_status_details.py @@ -71,6 +71,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .assignment_filter_evaluation_summary import AssignmentFilterEvaluationSummary + from .key_value_pair import KeyValuePair + writer.write_collection_of_object_values("deviceProperties", self.device_properties) writer.write_collection_of_object_values("evalutionSummaries", self.evalution_summaries) writer.write_str_value("managedDeviceId", self.managed_device_id) diff --git a/msgraph_beta/generated/models/assignment_filter_supported_property.py b/msgraph_beta/generated/models/assignment_filter_supported_property.py index 799fe9def14..3058a49420b 100644 --- a/msgraph_beta/generated/models/assignment_filter_supported_property.py +++ b/msgraph_beta/generated/models/assignment_filter_supported_property.py @@ -71,6 +71,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .assignment_filter_operator import AssignmentFilterOperator + writer.write_str_value("dataType", self.data_type) writer.write_bool_value("isCollection", self.is_collection) writer.write_str_value("name", self.name) diff --git a/msgraph_beta/generated/models/assignment_filter_type_and_evaluation_result.py b/msgraph_beta/generated/models/assignment_filter_type_and_evaluation_result.py index 46756e868ca..3bf05be81e7 100644 --- a/msgraph_beta/generated/models/assignment_filter_type_and_evaluation_result.py +++ b/msgraph_beta/generated/models/assignment_filter_type_and_evaluation_result.py @@ -62,6 +62,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .assignment_filter_evaluation_result import AssignmentFilterEvaluationResult + from .device_and_app_management_assignment_filter_type import DeviceAndAppManagementAssignmentFilterType + writer.write_enum_value("assignmentFilterType", self.assignment_filter_type) writer.write_enum_value("evaluationResult", self.evaluation_result) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/assignment_review_settings.py b/msgraph_beta/generated/models/assignment_review_settings.py index f9c16acdbc6..62b85b05e3f 100644 --- a/msgraph_beta/generated/models/assignment_review_settings.py +++ b/msgraph_beta/generated/models/assignment_review_settings.py @@ -81,6 +81,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .access_review_timeout_behavior import AccessReviewTimeoutBehavior + from .user_set import UserSet + writer.write_enum_value("accessReviewTimeoutBehavior", self.access_review_timeout_behavior) writer.write_int_value("durationInDays", self.duration_in_days) writer.write_bool_value("isAccessRecommendationEnabled", self.is_access_recommendation_enabled) diff --git a/msgraph_beta/generated/models/associated_team_info.py b/msgraph_beta/generated/models/associated_team_info.py index 6d1cd4dc163..bf72226b2dc 100644 --- a/msgraph_beta/generated/models/associated_team_info.py +++ b/msgraph_beta/generated/models/associated_team_info.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .team_info import TeamInfo + diff --git a/msgraph_beta/generated/models/associated_team_info_collection_response.py b/msgraph_beta/generated/models/associated_team_info_collection_response.py index 4df63f5d686..ad7fc1802b3 100644 --- a/msgraph_beta/generated/models/associated_team_info_collection_response.py +++ b/msgraph_beta/generated/models/associated_team_info_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .associated_team_info import AssociatedTeamInfo + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/attachment.py b/msgraph_beta/generated/models/attachment.py index 591816af47e..90159a3e769 100644 --- a/msgraph_beta/generated/models/attachment.py +++ b/msgraph_beta/generated/models/attachment.py @@ -37,7 +37,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> Attachment: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.fileAttachment".casefold(): @@ -89,6 +90,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .file_attachment import FileAttachment + from .item_attachment import ItemAttachment + from .reference_attachment import ReferenceAttachment + writer.write_str_value("contentType", self.content_type) writer.write_bool_value("isInline", self.is_inline) writer.write_datetime_value("lastModifiedDateTime", self.last_modified_date_time) diff --git a/msgraph_beta/generated/models/attachment_base.py b/msgraph_beta/generated/models/attachment_base.py index acd5b17a8dd..a8efec15587 100644 --- a/msgraph_beta/generated/models/attachment_base.py +++ b/msgraph_beta/generated/models/attachment_base.py @@ -33,7 +33,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> AttachmentBase: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.taskFileAttachment".casefold(): @@ -72,6 +73,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .task_file_attachment import TaskFileAttachment + writer.write_str_value("contentType", self.content_type) writer.write_datetime_value("lastModifiedDateTime", self.last_modified_date_time) writer.write_str_value("name", self.name) diff --git a/msgraph_beta/generated/models/attachment_base_collection_response.py b/msgraph_beta/generated/models/attachment_base_collection_response.py index 6c849906faf..12fe356f5da 100644 --- a/msgraph_beta/generated/models/attachment_base_collection_response.py +++ b/msgraph_beta/generated/models/attachment_base_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .attachment_base import AttachmentBase + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/attachment_collection_response.py b/msgraph_beta/generated/models/attachment_collection_response.py index 863ea93b839..fa8b6bb7352 100644 --- a/msgraph_beta/generated/models/attachment_collection_response.py +++ b/msgraph_beta/generated/models/attachment_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .attachment import Attachment + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/attachment_info.py b/msgraph_beta/generated/models/attachment_info.py index 13e333adaba..38d7d32b53e 100644 --- a/msgraph_beta/generated/models/attachment_info.py +++ b/msgraph_beta/generated/models/attachment_info.py @@ -62,6 +62,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .attachment_type import AttachmentType + writer.write_enum_value("attachmentType", self.attachment_type) writer.write_str_value("contentType", self.content_type) writer.write_str_value("name", self.name) diff --git a/msgraph_beta/generated/models/attachment_item.py b/msgraph_beta/generated/models/attachment_item.py index 3108c2ad4ab..262991ce9be 100644 --- a/msgraph_beta/generated/models/attachment_item.py +++ b/msgraph_beta/generated/models/attachment_item.py @@ -68,6 +68,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .attachment_type import AttachmentType + writer.write_enum_value("attachmentType", self.attachment_type) writer.write_str_value("contentId", self.content_id) writer.write_str_value("contentType", self.content_type) diff --git a/msgraph_beta/generated/models/attachment_session.py b/msgraph_beta/generated/models/attachment_session.py index a5a90c51538..1e1ff34a507 100644 --- a/msgraph_beta/generated/models/attachment_session.py +++ b/msgraph_beta/generated/models/attachment_session.py @@ -58,6 +58,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_bytes_value("content", self.content) writer.write_datetime_value("expirationDateTime", self.expiration_date_time) writer.write_collection_of_primitive_values("nextExpectedRanges", self.next_expected_ranges) diff --git a/msgraph_beta/generated/models/attachment_session_collection_response.py b/msgraph_beta/generated/models/attachment_session_collection_response.py index 9fbbe26d141..c65a3fc5066 100644 --- a/msgraph_beta/generated/models/attachment_session_collection_response.py +++ b/msgraph_beta/generated/models/attachment_session_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .attachment_session import AttachmentSession + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/attack_simulation_operation.py b/msgraph_beta/generated/models/attack_simulation_operation.py index 3604eb46229..660a2683971 100644 --- a/msgraph_beta/generated/models/attack_simulation_operation.py +++ b/msgraph_beta/generated/models/attack_simulation_operation.py @@ -63,6 +63,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .attack_simulation_operation_type import AttackSimulationOperationType + from .long_running_operation import LongRunningOperation + writer.write_int_value("percentageCompleted", self.percentage_completed) writer.write_str_value("tenantId", self.tenant_id) writer.write_enum_value("type", self.type) diff --git a/msgraph_beta/generated/models/attack_simulation_operation_collection_response.py b/msgraph_beta/generated/models/attack_simulation_operation_collection_response.py index 81b8f7fc63d..616ec371d1a 100644 --- a/msgraph_beta/generated/models/attack_simulation_operation_collection_response.py +++ b/msgraph_beta/generated/models/attack_simulation_operation_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .attack_simulation_operation import AttackSimulationOperation + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/attack_simulation_repeat_offender.py b/msgraph_beta/generated/models/attack_simulation_repeat_offender.py index 68a4e014e00..a1f2986a706 100644 --- a/msgraph_beta/generated/models/attack_simulation_repeat_offender.py +++ b/msgraph_beta/generated/models/attack_simulation_repeat_offender.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .attack_simulation_user import AttackSimulationUser + writer.write_object_value("attackSimulationUser", self.attack_simulation_user) writer.write_str_value("@odata.type", self.odata_type) writer.write_int_value("repeatOffenceCount", self.repeat_offence_count) diff --git a/msgraph_beta/generated/models/attack_simulation_root.py b/msgraph_beta/generated/models/attack_simulation_root.py index a7dc70906dd..e044b4a8c8f 100644 --- a/msgraph_beta/generated/models/attack_simulation_root.py +++ b/msgraph_beta/generated/models/attack_simulation_root.py @@ -102,6 +102,17 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .attack_simulation_operation import AttackSimulationOperation + from .end_user_notification import EndUserNotification + from .entity import Entity + from .landing_page import LandingPage + from .login_page import LoginPage + from .payload import Payload + from .simulation import Simulation + from .simulation_automation import SimulationAutomation + from .training import Training + from .training_campaign import TrainingCampaign + writer.write_collection_of_object_values("endUserNotifications", self.end_user_notifications) writer.write_collection_of_object_values("landingPages", self.landing_pages) writer.write_collection_of_object_values("loginPages", self.login_pages) diff --git a/msgraph_beta/generated/models/attack_simulation_simulation_user_coverage.py b/msgraph_beta/generated/models/attack_simulation_simulation_user_coverage.py index c4a9effe7d1..c95e4e040a5 100644 --- a/msgraph_beta/generated/models/attack_simulation_simulation_user_coverage.py +++ b/msgraph_beta/generated/models/attack_simulation_simulation_user_coverage.py @@ -66,6 +66,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .attack_simulation_user import AttackSimulationUser + writer.write_object_value("attackSimulationUser", self.attack_simulation_user) writer.write_int_value("clickCount", self.click_count) writer.write_int_value("compromisedCount", self.compromised_count) diff --git a/msgraph_beta/generated/models/attack_simulation_training_user_coverage.py b/msgraph_beta/generated/models/attack_simulation_training_user_coverage.py index cdfff0b61d0..077362fb288 100644 --- a/msgraph_beta/generated/models/attack_simulation_training_user_coverage.py +++ b/msgraph_beta/generated/models/attack_simulation_training_user_coverage.py @@ -59,6 +59,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .attack_simulation_user import AttackSimulationUser + from .user_training_status_info import UserTrainingStatusInfo + writer.write_object_value("attackSimulationUser", self.attack_simulation_user) writer.write_str_value("@odata.type", self.odata_type) writer.write_collection_of_object_values("userTrainings", self.user_trainings) diff --git a/msgraph_beta/generated/models/attendance_record.py b/msgraph_beta/generated/models/attendance_record.py index c4a6b991420..2ebf602a802 100644 --- a/msgraph_beta/generated/models/attendance_record.py +++ b/msgraph_beta/generated/models/attendance_record.py @@ -22,6 +22,8 @@ class AttendanceRecord(Entity): odata_type: Optional[str] = None # Unique identifier of a meetingRegistrant. Presents when the participant has registered for the meeting. (deprecated) registrant_id: Optional[str] = None + # Unique identifier of a virtualEventRegistration. Presents for all participant who has registered for the virtualEventWebinar. + registration_id: Optional[str] = None # Role of the attendee. Possible values are: None, Attendee, Presenter, and Organizer. role: Optional[str] = None # Total duration of the attendances in seconds. @@ -56,6 +58,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: "emailAddress": lambda n : setattr(self, 'email_address', n.get_str_value()), "identity": lambda n : setattr(self, 'identity', n.get_object_value(Identity)), "registrantId": lambda n : setattr(self, 'registrant_id', n.get_str_value()), + "registrationId": lambda n : setattr(self, 'registration_id', n.get_str_value()), "role": lambda n : setattr(self, 'role', n.get_str_value()), "totalAttendanceInSeconds": lambda n : setattr(self, 'total_attendance_in_seconds', n.get_int_value()), } @@ -72,10 +75,15 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .attendance_interval import AttendanceInterval + from .entity import Entity + from .identity import Identity + writer.write_collection_of_object_values("attendanceIntervals", self.attendance_intervals) writer.write_str_value("emailAddress", self.email_address) writer.write_object_value("identity", self.identity) writer.write_str_value("registrantId", self.registrant_id) + writer.write_str_value("registrationId", self.registration_id) writer.write_str_value("role", self.role) writer.write_int_value("totalAttendanceInSeconds", self.total_attendance_in_seconds) diff --git a/msgraph_beta/generated/models/attendance_record_collection_response.py b/msgraph_beta/generated/models/attendance_record_collection_response.py index be0b06f2f61..6773310e154 100644 --- a/msgraph_beta/generated/models/attendance_record_collection_response.py +++ b/msgraph_beta/generated/models/attendance_record_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .attendance_record import AttendanceRecord + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/attendee.py b/msgraph_beta/generated/models/attendee.py index 1f5dc0108e6..0dceae11760 100644 --- a/msgraph_beta/generated/models/attendee.py +++ b/msgraph_beta/generated/models/attendee.py @@ -60,6 +60,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .attendee_base import AttendeeBase + from .response_status import ResponseStatus + from .time_slot import TimeSlot + writer.write_object_value("proposedNewTime", self.proposed_new_time) writer.write_object_value("status", self.status) diff --git a/msgraph_beta/generated/models/attendee_availability.py b/msgraph_beta/generated/models/attendee_availability.py index 8b1bdf403c0..a126fdeaf82 100644 --- a/msgraph_beta/generated/models/attendee_availability.py +++ b/msgraph_beta/generated/models/attendee_availability.py @@ -59,6 +59,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .attendee_base import AttendeeBase + from .free_busy_status import FreeBusyStatus + writer.write_object_value("attendee", self.attendee) writer.write_enum_value("availability", self.availability) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/attendee_base.py b/msgraph_beta/generated/models/attendee_base.py index 6627c47242b..dd4264dfc35 100644 --- a/msgraph_beta/generated/models/attendee_base.py +++ b/msgraph_beta/generated/models/attendee_base.py @@ -27,7 +27,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> AttendeeBase: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.attendee".casefold(): @@ -65,6 +66,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .attendee import Attendee + from .attendee_type import AttendeeType + from .recipient import Recipient + writer.write_enum_value("type", self.type) diff --git a/msgraph_beta/generated/models/attribute_definition.py b/msgraph_beta/generated/models/attribute_definition.py index 2a88ca3779c..0e8a474eafa 100644 --- a/msgraph_beta/generated/models/attribute_definition.py +++ b/msgraph_beta/generated/models/attribute_definition.py @@ -98,6 +98,12 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .attribute_definition_metadata_entry import AttributeDefinitionMetadataEntry + from .attribute_type import AttributeType + from .mutability import Mutability + from .referenced_object import ReferencedObject + from .string_key_string_value_pair import StringKeyStringValuePair + writer.write_bool_value("anchor", self.anchor) writer.write_collection_of_object_values("apiExpressions", self.api_expressions) writer.write_bool_value("caseExact", self.case_exact) diff --git a/msgraph_beta/generated/models/attribute_definition_metadata_entry.py b/msgraph_beta/generated/models/attribute_definition_metadata_entry.py index 62eff288bbc..27052e081a9 100644 --- a/msgraph_beta/generated/models/attribute_definition_metadata_entry.py +++ b/msgraph_beta/generated/models/attribute_definition_metadata_entry.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .attribute_definition_metadata import AttributeDefinitionMetadata + writer.write_enum_value("key", self.key) writer.write_str_value("@odata.type", self.odata_type) writer.write_str_value("value", self.value) diff --git a/msgraph_beta/generated/models/attribute_mapping.py b/msgraph_beta/generated/models/attribute_mapping.py index d4b93c9cd29..eefd2bed9d6 100644 --- a/msgraph_beta/generated/models/attribute_mapping.py +++ b/msgraph_beta/generated/models/attribute_mapping.py @@ -77,6 +77,10 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .attribute_flow_behavior import AttributeFlowBehavior + from .attribute_flow_type import AttributeFlowType + from .attribute_mapping_source import AttributeMappingSource + writer.write_str_value("defaultValue", self.default_value) writer.write_bool_value("exportMissingReferences", self.export_missing_references) writer.write_enum_value("flowBehavior", self.flow_behavior) diff --git a/msgraph_beta/generated/models/attribute_mapping_function_schema.py b/msgraph_beta/generated/models/attribute_mapping_function_schema.py index b8490a5bf59..4e98483393b 100644 --- a/msgraph_beta/generated/models/attribute_mapping_function_schema.py +++ b/msgraph_beta/generated/models/attribute_mapping_function_schema.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .attribute_mapping_parameter_schema import AttributeMappingParameterSchema + from .entity import Entity + writer.write_collection_of_object_values("parameters", self.parameters) diff --git a/msgraph_beta/generated/models/attribute_mapping_function_schema_collection_response.py b/msgraph_beta/generated/models/attribute_mapping_function_schema_collection_response.py index 40f6e8609ce..71a0aa92c46 100644 --- a/msgraph_beta/generated/models/attribute_mapping_function_schema_collection_response.py +++ b/msgraph_beta/generated/models/attribute_mapping_function_schema_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .attribute_mapping_function_schema import AttributeMappingFunctionSchema + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/attribute_mapping_parameter_schema.py b/msgraph_beta/generated/models/attribute_mapping_parameter_schema.py index dfe166bd1a2..032dba3e498 100644 --- a/msgraph_beta/generated/models/attribute_mapping_parameter_schema.py +++ b/msgraph_beta/generated/models/attribute_mapping_parameter_schema.py @@ -62,6 +62,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .attribute_type import AttributeType + writer.write_bool_value("allowMultipleOccurrences", self.allow_multiple_occurrences) writer.write_str_value("name", self.name) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/attribute_mapping_source.py b/msgraph_beta/generated/models/attribute_mapping_source.py index 615053af011..8204364ca94 100644 --- a/msgraph_beta/generated/models/attribute_mapping_source.py +++ b/msgraph_beta/generated/models/attribute_mapping_source.py @@ -65,6 +65,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .attribute_mapping_source_type import AttributeMappingSourceType + from .string_key_attribute_mapping_source_value_pair import StringKeyAttributeMappingSourceValuePair + writer.write_str_value("expression", self.expression) writer.write_str_value("name", self.name) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/attribute_set.py b/msgraph_beta/generated/models/attribute_set.py index 0d720e14c76..ac756365c65 100644 --- a/msgraph_beta/generated/models/attribute_set.py +++ b/msgraph_beta/generated/models/attribute_set.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_str_value("description", self.description) writer.write_int_value("maxAttributesPerSet", self.max_attributes_per_set) diff --git a/msgraph_beta/generated/models/attribute_set_collection_response.py b/msgraph_beta/generated/models/attribute_set_collection_response.py index e93f38925e4..a2ba25760bc 100644 --- a/msgraph_beta/generated/models/attribute_set_collection_response.py +++ b/msgraph_beta/generated/models/attribute_set_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .attribute_set import AttributeSet + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/audio_routing_group.py b/msgraph_beta/generated/models/audio_routing_group.py index aecb526431b..50cc6b2d903 100644 --- a/msgraph_beta/generated/models/audio_routing_group.py +++ b/msgraph_beta/generated/models/audio_routing_group.py @@ -60,6 +60,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .routing_mode import RoutingMode + writer.write_collection_of_primitive_values("receivers", self.receivers) writer.write_enum_value("routingMode", self.routing_mode) writer.write_collection_of_primitive_values("sources", self.sources) diff --git a/msgraph_beta/generated/models/audio_routing_group_collection_response.py b/msgraph_beta/generated/models/audio_routing_group_collection_response.py index c9446b7a865..514fbabe7e2 100644 --- a/msgraph_beta/generated/models/audio_routing_group_collection_response.py +++ b/msgraph_beta/generated/models/audio_routing_group_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audio_routing_group import AudioRoutingGroup + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/audit_activity_initiator.py b/msgraph_beta/generated/models/audit_activity_initiator.py index 91004af2efa..ab4a46cd685 100644 --- a/msgraph_beta/generated/models/audit_activity_initiator.py +++ b/msgraph_beta/generated/models/audit_activity_initiator.py @@ -59,6 +59,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .app_identity import AppIdentity + from .audit_user_identity import AuditUserIdentity + writer.write_object_value("app", self.app) writer.write_str_value("@odata.type", self.odata_type) writer.write_object_value("user", self.user) diff --git a/msgraph_beta/generated/models/audit_actor.py b/msgraph_beta/generated/models/audit_actor.py index dc7ee9b70f0..0b70731fc05 100644 --- a/msgraph_beta/generated/models/audit_actor.py +++ b/msgraph_beta/generated/models/audit_actor.py @@ -89,6 +89,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .role_scope_tag_info import RoleScopeTagInfo + writer.write_str_value("applicationDisplayName", self.application_display_name) writer.write_str_value("applicationId", self.application_id) writer.write_str_value("auditActorType", self.audit_actor_type) diff --git a/msgraph_beta/generated/models/audit_event.py b/msgraph_beta/generated/models/audit_event.py index 35b3ff04f51..e74f5378a74 100644 --- a/msgraph_beta/generated/models/audit_event.py +++ b/msgraph_beta/generated/models/audit_event.py @@ -92,6 +92,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_actor import AuditActor + from .audit_resource import AuditResource + from .entity import Entity + writer.write_str_value("activity", self.activity) writer.write_datetime_value("activityDateTime", self.activity_date_time) writer.write_str_value("activityOperationType", self.activity_operation_type) diff --git a/msgraph_beta/generated/models/audit_event_collection_response.py b/msgraph_beta/generated/models/audit_event_collection_response.py index 3d0e219289c..fede9bcd3bd 100644 --- a/msgraph_beta/generated/models/audit_event_collection_response.py +++ b/msgraph_beta/generated/models/audit_event_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_event import AuditEvent + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/audit_log_root.py b/msgraph_beta/generated/models/audit_log_root.py index 8a5ebc362c1..812e8b86103 100644 --- a/msgraph_beta/generated/models/audit_log_root.py +++ b/msgraph_beta/generated/models/audit_log_root.py @@ -74,6 +74,11 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .custom_security_attribute_audit import CustomSecurityAttributeAudit + from .directory_audit import DirectoryAudit + from .provisioning_object_summary import ProvisioningObjectSummary + from .sign_in import SignIn + writer.write_collection_of_object_values("customSecurityAttributeAudits", self.custom_security_attribute_audits) writer.write_collection_of_object_values("directoryAudits", self.directory_audits) writer.write_collection_of_object_values("directoryProvisioning", self.directory_provisioning) diff --git a/msgraph_beta/generated/models/audit_resource.py b/msgraph_beta/generated/models/audit_resource.py index 3d9312cbb9a..ac6a6cefbb1 100644 --- a/msgraph_beta/generated/models/audit_resource.py +++ b/msgraph_beta/generated/models/audit_resource.py @@ -68,6 +68,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .audit_property import AuditProperty + writer.write_str_value("auditResourceType", self.audit_resource_type) writer.write_str_value("displayName", self.display_name) writer.write_collection_of_object_values("modifiedProperties", self.modified_properties) diff --git a/msgraph_beta/generated/models/audit_user_identity.py b/msgraph_beta/generated/models/audit_user_identity.py index 6083b821065..838d80c4be3 100644 --- a/msgraph_beta/generated/models/audit_user_identity.py +++ b/msgraph_beta/generated/models/audit_user_identity.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .user_identity import UserIdentity + writer.write_str_value("homeTenantId", self.home_tenant_id) writer.write_str_value("homeTenantName", self.home_tenant_name) diff --git a/msgraph_beta/generated/models/authentication.py b/msgraph_beta/generated/models/authentication.py index a9310938875..8d0de003184 100644 --- a/msgraph_beta/generated/models/authentication.py +++ b/msgraph_beta/generated/models/authentication.py @@ -132,6 +132,22 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .authentication_method import AuthenticationMethod + from .email_authentication_method import EmailAuthenticationMethod + from .entity import Entity + from .fido2_authentication_method import Fido2AuthenticationMethod + from .long_running_operation import LongRunningOperation + from .microsoft_authenticator_authentication_method import MicrosoftAuthenticatorAuthenticationMethod + from .passwordless_microsoft_authenticator_authentication_method import PasswordlessMicrosoftAuthenticatorAuthenticationMethod + from .password_authentication_method import PasswordAuthenticationMethod + from .phone_authentication_method import PhoneAuthenticationMethod + from .platform_credential_authentication_method import PlatformCredentialAuthenticationMethod + from .sign_in_preferences import SignInPreferences + from .software_oath_authentication_method import SoftwareOathAuthenticationMethod + from .strong_authentication_requirements import StrongAuthenticationRequirements + from .temporary_access_pass_authentication_method import TemporaryAccessPassAuthenticationMethod + from .windows_hello_for_business_authentication_method import WindowsHelloForBusinessAuthenticationMethod + writer.write_collection_of_object_values("emailMethods", self.email_methods) writer.write_collection_of_object_values("fido2Methods", self.fido2_methods) writer.write_collection_of_object_values("methods", self.methods) diff --git a/msgraph_beta/generated/models/authentication_app_policy_details.py b/msgraph_beta/generated/models/authentication_app_policy_details.py index 9a55e079ce7..6eb42cba65c 100644 --- a/msgraph_beta/generated/models/authentication_app_policy_details.py +++ b/msgraph_beta/generated/models/authentication_app_policy_details.py @@ -68,6 +68,10 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .authentication_app_admin_configuration import AuthenticationAppAdminConfiguration + from .authentication_app_evaluation import AuthenticationAppEvaluation + from .authentication_app_policy_status import AuthenticationAppPolicyStatus + writer.write_enum_value("adminConfiguration", self.admin_configuration) writer.write_enum_value("authenticationEvaluation", self.authentication_evaluation) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/authentication_attribute_collection_input_configuration.py b/msgraph_beta/generated/models/authentication_attribute_collection_input_configuration.py index 0309baecf6c..52020f53968 100644 --- a/msgraph_beta/generated/models/authentication_attribute_collection_input_configuration.py +++ b/msgraph_beta/generated/models/authentication_attribute_collection_input_configuration.py @@ -83,6 +83,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .authentication_attribute_collection_input_type import AuthenticationAttributeCollectionInputType + from .authentication_attribute_collection_option_configuration import AuthenticationAttributeCollectionOptionConfiguration + writer.write_str_value("attribute", self.attribute) writer.write_str_value("defaultValue", self.default_value) writer.write_bool_value("editable", self.editable) diff --git a/msgraph_beta/generated/models/authentication_attribute_collection_page.py b/msgraph_beta/generated/models/authentication_attribute_collection_page.py index ceb14a1cf92..d4fbb9637f0 100644 --- a/msgraph_beta/generated/models/authentication_attribute_collection_page.py +++ b/msgraph_beta/generated/models/authentication_attribute_collection_page.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .authentication_attribute_collection_page_view_configuration import AuthenticationAttributeCollectionPageViewConfiguration + writer.write_str_value("customStringsFileId", self.custom_strings_file_id) writer.write_str_value("@odata.type", self.odata_type) writer.write_collection_of_object_values("views", self.views) diff --git a/msgraph_beta/generated/models/authentication_attribute_collection_page_view_configuration.py b/msgraph_beta/generated/models/authentication_attribute_collection_page_view_configuration.py index 90786cccac6..62a94143a48 100644 --- a/msgraph_beta/generated/models/authentication_attribute_collection_page_view_configuration.py +++ b/msgraph_beta/generated/models/authentication_attribute_collection_page_view_configuration.py @@ -59,6 +59,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .authentication_attribute_collection_input_configuration import AuthenticationAttributeCollectionInputConfiguration + writer.write_str_value("description", self.description) writer.write_collection_of_object_values("inputs", self.inputs) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/authentication_combination_configuration.py b/msgraph_beta/generated/models/authentication_combination_configuration.py index 08adcf05b6b..f608eb7a934 100644 --- a/msgraph_beta/generated/models/authentication_combination_configuration.py +++ b/msgraph_beta/generated/models/authentication_combination_configuration.py @@ -28,7 +28,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> AuthenticationComb if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.fido2CombinationConfiguration".casefold(): @@ -72,6 +73,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .authentication_method_modes import AuthenticationMethodModes + from .entity import Entity + from .fido2_combination_configuration import Fido2CombinationConfiguration + from .x509_certificate_combination_configuration import X509CertificateCombinationConfiguration + writer.write_collection_of_enum_values("appliesToCombinations", self.applies_to_combinations) diff --git a/msgraph_beta/generated/models/authentication_combination_configuration_collection_response.py b/msgraph_beta/generated/models/authentication_combination_configuration_collection_response.py index d34c6c273b1..f31cb1228f0 100644 --- a/msgraph_beta/generated/models/authentication_combination_configuration_collection_response.py +++ b/msgraph_beta/generated/models/authentication_combination_configuration_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .authentication_combination_configuration import AuthenticationCombinationConfiguration + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/authentication_condition_application_collection_response.py b/msgraph_beta/generated/models/authentication_condition_application_collection_response.py index 0dc96063697..bbedae5e90f 100644 --- a/msgraph_beta/generated/models/authentication_condition_application_collection_response.py +++ b/msgraph_beta/generated/models/authentication_condition_application_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .authentication_condition_application import AuthenticationConditionApplication + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/authentication_conditions.py b/msgraph_beta/generated/models/authentication_conditions.py index a0858e64831..256306e1530 100644 --- a/msgraph_beta/generated/models/authentication_conditions.py +++ b/msgraph_beta/generated/models/authentication_conditions.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .authentication_conditions_applications import AuthenticationConditionsApplications + writer.write_object_value("applications", self.applications) writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/authentication_conditions_applications.py b/msgraph_beta/generated/models/authentication_conditions_applications.py index 115ed0d336a..f2efb4fa3d3 100644 --- a/msgraph_beta/generated/models/authentication_conditions_applications.py +++ b/msgraph_beta/generated/models/authentication_conditions_applications.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .authentication_condition_application import AuthenticationConditionApplication + writer.write_bool_value("includeAllApplications", self.include_all_applications) writer.write_collection_of_object_values("includeApplications", self.include_applications) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/authentication_configuration_validation.py b/msgraph_beta/generated/models/authentication_configuration_validation.py index ec32ef13d13..65947df47bb 100644 --- a/msgraph_beta/generated/models/authentication_configuration_validation.py +++ b/msgraph_beta/generated/models/authentication_configuration_validation.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .generic_error import GenericError + writer.write_collection_of_object_values("errors", self.errors) writer.write_str_value("@odata.type", self.odata_type) writer.write_collection_of_object_values("warnings", self.warnings) diff --git a/msgraph_beta/generated/models/authentication_context.py b/msgraph_beta/generated/models/authentication_context.py index 510b223fe5f..621e9f82e93 100644 --- a/msgraph_beta/generated/models/authentication_context.py +++ b/msgraph_beta/generated/models/authentication_context.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .authentication_context_detail import AuthenticationContextDetail + writer.write_enum_value("detail", self.detail) writer.write_str_value("id", self.id) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/authentication_context_class_reference.py b/msgraph_beta/generated/models/authentication_context_class_reference.py index fcba9657ffe..ca2a1944c55 100644 --- a/msgraph_beta/generated/models/authentication_context_class_reference.py +++ b/msgraph_beta/generated/models/authentication_context_class_reference.py @@ -57,6 +57,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_str_value("description", self.description) writer.write_str_value("displayName", self.display_name) writer.write_bool_value("isAvailable", self.is_available) diff --git a/msgraph_beta/generated/models/authentication_context_class_reference_collection_response.py b/msgraph_beta/generated/models/authentication_context_class_reference_collection_response.py index 9bf797b9510..143baebc206 100644 --- a/msgraph_beta/generated/models/authentication_context_class_reference_collection_response.py +++ b/msgraph_beta/generated/models/authentication_context_class_reference_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .authentication_context_class_reference import AuthenticationContextClassReference + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/authentication_event_handler_result.py b/msgraph_beta/generated/models/authentication_event_handler_result.py index a87014b6015..515a6ac9b86 100644 --- a/msgraph_beta/generated/models/authentication_event_handler_result.py +++ b/msgraph_beta/generated/models/authentication_event_handler_result.py @@ -27,7 +27,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> AuthenticationEven if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.customExtensionCalloutResult".casefold(): @@ -58,6 +59,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .custom_extension_callout_result import CustomExtensionCalloutResult + writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/authentication_event_listener.py b/msgraph_beta/generated/models/authentication_event_listener.py index d42acaa58c2..1e76b4bb508 100644 --- a/msgraph_beta/generated/models/authentication_event_listener.py +++ b/msgraph_beta/generated/models/authentication_event_listener.py @@ -37,7 +37,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> AuthenticationEven if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.onAttributeCollectionListener".casefold(): @@ -113,6 +114,16 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .authentication_conditions import AuthenticationConditions + from .entity import Entity + from .on_attribute_collection_listener import OnAttributeCollectionListener + from .on_attribute_collection_start_listener import OnAttributeCollectionStartListener + from .on_attribute_collection_submit_listener import OnAttributeCollectionSubmitListener + from .on_authentication_method_load_start_listener import OnAuthenticationMethodLoadStartListener + from .on_interactive_auth_flow_start_listener import OnInteractiveAuthFlowStartListener + from .on_token_issuance_start_listener import OnTokenIssuanceStartListener + from .on_user_create_start_listener import OnUserCreateStartListener + writer.write_str_value("authenticationEventsFlowId", self.authentication_events_flow_id) writer.write_object_value("conditions", self.conditions) writer.write_int_value("priority", self.priority) diff --git a/msgraph_beta/generated/models/authentication_event_listener_collection_response.py b/msgraph_beta/generated/models/authentication_event_listener_collection_response.py index 9bdcb25f6b6..bc0b64b58de 100644 --- a/msgraph_beta/generated/models/authentication_event_listener_collection_response.py +++ b/msgraph_beta/generated/models/authentication_event_listener_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .authentication_event_listener import AuthenticationEventListener + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/authentication_event_type.py b/msgraph_beta/generated/models/authentication_event_type.py index 01fb0e12dcc..239ab34c66d 100644 --- a/msgraph_beta/generated/models/authentication_event_type.py +++ b/msgraph_beta/generated/models/authentication_event_type.py @@ -4,4 +4,7 @@ class AuthenticationEventType(str, Enum): TokenIssuanceStart = "tokenIssuanceStart", PageRenderStart = "pageRenderStart", UnknownFutureValue = "unknownFutureValue", + AttributeCollectionStart = "attributeCollectionStart", + AttributeCollectionSubmit = "attributeCollectionSubmit", + EmailOtpSend = "emailOtpSend", diff --git a/msgraph_beta/generated/models/authentication_events_flow.py b/msgraph_beta/generated/models/authentication_events_flow.py index ee9c127d45a..2fd0f183340 100644 --- a/msgraph_beta/generated/models/authentication_events_flow.py +++ b/msgraph_beta/generated/models/authentication_events_flow.py @@ -33,7 +33,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> AuthenticationEven if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.externalUsersSelfServiceSignUpEventsFlow".casefold(): @@ -74,6 +75,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .authentication_conditions import AuthenticationConditions + from .entity import Entity + from .external_users_self_service_sign_up_events_flow import ExternalUsersSelfServiceSignUpEventsFlow + writer.write_object_value("conditions", self.conditions) writer.write_str_value("description", self.description) writer.write_str_value("displayName", self.display_name) diff --git a/msgraph_beta/generated/models/authentication_events_flow_collection_response.py b/msgraph_beta/generated/models/authentication_events_flow_collection_response.py index 43550b6b586..b70806f7868 100644 --- a/msgraph_beta/generated/models/authentication_events_flow_collection_response.py +++ b/msgraph_beta/generated/models/authentication_events_flow_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .authentication_events_flow import AuthenticationEventsFlow + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/authentication_events_policy.py b/msgraph_beta/generated/models/authentication_events_policy.py index e6803120aa3..2f955c628bc 100644 --- a/msgraph_beta/generated/models/authentication_events_policy.py +++ b/msgraph_beta/generated/models/authentication_events_policy.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .authentication_listener import AuthenticationListener + from .entity import Entity + writer.write_collection_of_object_values("onSignupStart", self.on_signup_start) diff --git a/msgraph_beta/generated/models/authentication_failure.py b/msgraph_beta/generated/models/authentication_failure.py index aab7772add6..1ef37f99eac 100644 --- a/msgraph_beta/generated/models/authentication_failure.py +++ b/msgraph_beta/generated/models/authentication_failure.py @@ -60,6 +60,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .authentication_failure_reason_code import AuthenticationFailureReasonCode + from .entity import Entity + writer.write_int_value("count", self.count) writer.write_str_value("reason", self.reason) writer.write_enum_value("reasonCode", self.reason_code) diff --git a/msgraph_beta/generated/models/authentication_flow.py b/msgraph_beta/generated/models/authentication_flow.py index e0fe0950d55..3184ce00fc4 100644 --- a/msgraph_beta/generated/models/authentication_flow.py +++ b/msgraph_beta/generated/models/authentication_flow.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .conditional_access_transfer_methods import ConditionalAccessTransferMethods + writer.write_str_value("@odata.type", self.odata_type) writer.write_enum_value("transferMethod", self.transfer_method) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/authentication_flows_policy.py b/msgraph_beta/generated/models/authentication_flows_policy.py index 98a4dd14c30..07b882518c9 100644 --- a/msgraph_beta/generated/models/authentication_flows_policy.py +++ b/msgraph_beta/generated/models/authentication_flows_policy.py @@ -60,6 +60,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .self_service_sign_up_authentication_flow_configuration import SelfServiceSignUpAuthenticationFlowConfiguration + writer.write_str_value("description", self.description) writer.write_str_value("displayName", self.display_name) writer.write_object_value("selfServiceSignUp", self.self_service_sign_up) diff --git a/msgraph_beta/generated/models/authentication_listener.py b/msgraph_beta/generated/models/authentication_listener.py index 8ba42f7149a..d22d4a9bbb8 100644 --- a/msgraph_beta/generated/models/authentication_listener.py +++ b/msgraph_beta/generated/models/authentication_listener.py @@ -29,7 +29,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> AuthenticationList if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.invokeUserFlowListener".casefold(): @@ -68,6 +69,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .authentication_source_filter import AuthenticationSourceFilter + from .entity import Entity + from .invoke_user_flow_listener import InvokeUserFlowListener + writer.write_int_value("priority", self.priority) writer.write_object_value("sourceFilter", self.source_filter) diff --git a/msgraph_beta/generated/models/authentication_method.py b/msgraph_beta/generated/models/authentication_method.py index 45dc05daccc..4df19b55c49 100644 --- a/msgraph_beta/generated/models/authentication_method.py +++ b/msgraph_beta/generated/models/authentication_method.py @@ -36,7 +36,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> AuthenticationMeth if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.emailAuthenticationMethod".casefold(): @@ -126,6 +127,18 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .email_authentication_method import EmailAuthenticationMethod + from .entity import Entity + from .fido2_authentication_method import Fido2AuthenticationMethod + from .microsoft_authenticator_authentication_method import MicrosoftAuthenticatorAuthenticationMethod + from .passwordless_microsoft_authenticator_authentication_method import PasswordlessMicrosoftAuthenticatorAuthenticationMethod + from .password_authentication_method import PasswordAuthenticationMethod + from .phone_authentication_method import PhoneAuthenticationMethod + from .platform_credential_authentication_method import PlatformCredentialAuthenticationMethod + from .software_oath_authentication_method import SoftwareOathAuthenticationMethod + from .temporary_access_pass_authentication_method import TemporaryAccessPassAuthenticationMethod + from .windows_hello_for_business_authentication_method import WindowsHelloForBusinessAuthenticationMethod + writer.write_datetime_value("createdDateTime", self.created_date_time) diff --git a/msgraph_beta/generated/models/authentication_method_collection_response.py b/msgraph_beta/generated/models/authentication_method_collection_response.py index f1aae70da8d..7df3c9d7f78 100644 --- a/msgraph_beta/generated/models/authentication_method_collection_response.py +++ b/msgraph_beta/generated/models/authentication_method_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .authentication_method import AuthenticationMethod + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/authentication_method_configuration.py b/msgraph_beta/generated/models/authentication_method_configuration.py index aaeef69ceb4..0bf12067bf7 100644 --- a/msgraph_beta/generated/models/authentication_method_configuration.py +++ b/msgraph_beta/generated/models/authentication_method_configuration.py @@ -39,7 +39,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> AuthenticationMeth if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.emailAuthenticationMethodConfiguration".casefold(): @@ -134,6 +135,20 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .authentication_method_state import AuthenticationMethodState + from .email_authentication_method_configuration import EmailAuthenticationMethodConfiguration + from .entity import Entity + from .exclude_target import ExcludeTarget + from .external_authentication_method_configuration import ExternalAuthenticationMethodConfiguration + from .fido2_authentication_method_configuration import Fido2AuthenticationMethodConfiguration + from .hardware_oath_authentication_method_configuration import HardwareOathAuthenticationMethodConfiguration + from .microsoft_authenticator_authentication_method_configuration import MicrosoftAuthenticatorAuthenticationMethodConfiguration + from .sms_authentication_method_configuration import SmsAuthenticationMethodConfiguration + from .software_oath_authentication_method_configuration import SoftwareOathAuthenticationMethodConfiguration + from .temporary_access_pass_authentication_method_configuration import TemporaryAccessPassAuthenticationMethodConfiguration + from .voice_authentication_method_configuration import VoiceAuthenticationMethodConfiguration + from .x509_certificate_authentication_method_configuration import X509CertificateAuthenticationMethodConfiguration + writer.write_collection_of_object_values("excludeTargets", self.exclude_targets) writer.write_enum_value("state", self.state) diff --git a/msgraph_beta/generated/models/authentication_method_configuration_collection_response.py b/msgraph_beta/generated/models/authentication_method_configuration_collection_response.py index 511adb58703..aad0407af32 100644 --- a/msgraph_beta/generated/models/authentication_method_configuration_collection_response.py +++ b/msgraph_beta/generated/models/authentication_method_configuration_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .authentication_method_configuration import AuthenticationMethodConfiguration + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/authentication_method_feature_configuration.py b/msgraph_beta/generated/models/authentication_method_feature_configuration.py index 7dcab560523..bf27aa42fc6 100644 --- a/msgraph_beta/generated/models/authentication_method_feature_configuration.py +++ b/msgraph_beta/generated/models/authentication_method_feature_configuration.py @@ -62,6 +62,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .advanced_config_state import AdvancedConfigState + from .feature_target import FeatureTarget + writer.write_object_value("excludeTarget", self.exclude_target) writer.write_object_value("includeTarget", self.include_target) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/authentication_method_mode_detail.py b/msgraph_beta/generated/models/authentication_method_mode_detail.py index 5a19653bd8d..f631df8ba74 100644 --- a/msgraph_beta/generated/models/authentication_method_mode_detail.py +++ b/msgraph_beta/generated/models/authentication_method_mode_detail.py @@ -57,6 +57,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_authentication_method import BaseAuthenticationMethod + from .entity import Entity + writer.write_enum_value("authenticationMethod", self.authentication_method) writer.write_str_value("displayName", self.display_name) diff --git a/msgraph_beta/generated/models/authentication_method_mode_detail_collection_response.py b/msgraph_beta/generated/models/authentication_method_mode_detail_collection_response.py index 863736441c6..cb30cd4dc2d 100644 --- a/msgraph_beta/generated/models/authentication_method_mode_detail_collection_response.py +++ b/msgraph_beta/generated/models/authentication_method_mode_detail_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .authentication_method_mode_detail import AuthenticationMethodModeDetail + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/authentication_method_target.py b/msgraph_beta/generated/models/authentication_method_target.py index 26b9c7a3ffd..57dd7640608 100644 --- a/msgraph_beta/generated/models/authentication_method_target.py +++ b/msgraph_beta/generated/models/authentication_method_target.py @@ -32,7 +32,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> AuthenticationMeth if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.microsoftAuthenticatorAuthenticationMethodTarget".casefold(): @@ -89,6 +90,13 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .authentication_method_target_type import AuthenticationMethodTargetType + from .entity import Entity + from .microsoft_authenticator_authentication_method_target import MicrosoftAuthenticatorAuthenticationMethodTarget + from .passkey_authentication_method_target import PasskeyAuthenticationMethodTarget + from .sms_authentication_method_target import SmsAuthenticationMethodTarget + from .voice_authentication_method_target import VoiceAuthenticationMethodTarget + writer.write_bool_value("isRegistrationRequired", self.is_registration_required) writer.write_enum_value("targetType", self.target_type) diff --git a/msgraph_beta/generated/models/authentication_methods_policy.py b/msgraph_beta/generated/models/authentication_methods_policy.py index 7c864af82e9..07a8d5ef307 100644 --- a/msgraph_beta/generated/models/authentication_methods_policy.py +++ b/msgraph_beta/generated/models/authentication_methods_policy.py @@ -100,6 +100,14 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .authentication_methods_policy_migration_state import AuthenticationMethodsPolicyMigrationState + from .authentication_method_configuration import AuthenticationMethodConfiguration + from .entity import Entity + from .microsoft_authenticator_platform_settings import MicrosoftAuthenticatorPlatformSettings + from .registration_enforcement import RegistrationEnforcement + from .report_suspicious_activity_settings import ReportSuspiciousActivitySettings + from .system_credential_preferences import SystemCredentialPreferences + writer.write_collection_of_object_values("authenticationMethodConfigurations", self.authentication_method_configurations) writer.write_str_value("description", self.description) writer.write_str_value("displayName", self.display_name) diff --git a/msgraph_beta/generated/models/authentication_methods_registration_campaign.py b/msgraph_beta/generated/models/authentication_methods_registration_campaign.py index 6dfacd585e4..45fd06d2c07 100644 --- a/msgraph_beta/generated/models/authentication_methods_registration_campaign.py +++ b/msgraph_beta/generated/models/authentication_methods_registration_campaign.py @@ -71,6 +71,10 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .advanced_config_state import AdvancedConfigState + from .authentication_methods_registration_campaign_include_target import AuthenticationMethodsRegistrationCampaignIncludeTarget + from .exclude_target import ExcludeTarget + writer.write_bool_value("enforceRegistrationAfterAllowedSnoozes", self.enforce_registration_after_allowed_snoozes) writer.write_collection_of_object_values("excludeTargets", self.exclude_targets) writer.write_collection_of_object_values("includeTargets", self.include_targets) diff --git a/msgraph_beta/generated/models/authentication_methods_registration_campaign_include_target.py b/msgraph_beta/generated/models/authentication_methods_registration_campaign_include_target.py index 12990751173..d579d2e8973 100644 --- a/msgraph_beta/generated/models/authentication_methods_registration_campaign_include_target.py +++ b/msgraph_beta/generated/models/authentication_methods_registration_campaign_include_target.py @@ -59,6 +59,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .authentication_method_target_type import AuthenticationMethodTargetType + writer.write_str_value("id", self.id) writer.write_str_value("@odata.type", self.odata_type) writer.write_enum_value("targetType", self.target_type) diff --git a/msgraph_beta/generated/models/authentication_methods_root.py b/msgraph_beta/generated/models/authentication_methods_root.py index ba3d5e9e03b..4caff7bbc1e 100644 --- a/msgraph_beta/generated/models/authentication_methods_root.py +++ b/msgraph_beta/generated/models/authentication_methods_root.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .user_registration_details import UserRegistrationDetails + writer.write_collection_of_object_values("userRegistrationDetails", self.user_registration_details) diff --git a/msgraph_beta/generated/models/authentication_requirement_policy.py b/msgraph_beta/generated/models/authentication_requirement_policy.py index 0d0aac45feb..67093dff024 100644 --- a/msgraph_beta/generated/models/authentication_requirement_policy.py +++ b/msgraph_beta/generated/models/authentication_requirement_policy.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .requirement_provider import RequirementProvider + writer.write_str_value("detail", self.detail) writer.write_str_value("@odata.type", self.odata_type) writer.write_enum_value("requirementProvider", self.requirement_provider) diff --git a/msgraph_beta/generated/models/authentication_strength.py b/msgraph_beta/generated/models/authentication_strength.py index c95135e2c88..b03aeaad9f5 100644 --- a/msgraph_beta/generated/models/authentication_strength.py +++ b/msgraph_beta/generated/models/authentication_strength.py @@ -59,6 +59,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .authentication_strength_result import AuthenticationStrengthResult + writer.write_str_value("authenticationStrengthId", self.authentication_strength_id) writer.write_enum_value("authenticationStrengthResult", self.authentication_strength_result) writer.write_str_value("displayName", self.display_name) diff --git a/msgraph_beta/generated/models/authentication_strength_policy.py b/msgraph_beta/generated/models/authentication_strength_policy.py index e19327a2e39..45987115c91 100644 --- a/msgraph_beta/generated/models/authentication_strength_policy.py +++ b/msgraph_beta/generated/models/authentication_strength_policy.py @@ -85,6 +85,12 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .authentication_combination_configuration import AuthenticationCombinationConfiguration + from .authentication_method_modes import AuthenticationMethodModes + from .authentication_strength_policy_type import AuthenticationStrengthPolicyType + from .authentication_strength_requirements import AuthenticationStrengthRequirements + from .entity import Entity + writer.write_collection_of_enum_values("allowedCombinations", self.allowed_combinations) writer.write_collection_of_object_values("combinationConfigurations", self.combination_configurations) writer.write_datetime_value("createdDateTime", self.created_date_time) diff --git a/msgraph_beta/generated/models/authentication_strength_policy_collection_response.py b/msgraph_beta/generated/models/authentication_strength_policy_collection_response.py index 1e70a61d9a5..69a0ba27f1f 100644 --- a/msgraph_beta/generated/models/authentication_strength_policy_collection_response.py +++ b/msgraph_beta/generated/models/authentication_strength_policy_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .authentication_strength_policy import AuthenticationStrengthPolicy + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/authentication_strength_root.py b/msgraph_beta/generated/models/authentication_strength_root.py index 4bb7109df40..7145084f90d 100644 --- a/msgraph_beta/generated/models/authentication_strength_root.py +++ b/msgraph_beta/generated/models/authentication_strength_root.py @@ -69,6 +69,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .authentication_method_modes import AuthenticationMethodModes + from .authentication_method_mode_detail import AuthenticationMethodModeDetail + from .authentication_strength_policy import AuthenticationStrengthPolicy + from .entity import Entity + writer.write_collection_of_enum_values("authenticationCombinations", self.authentication_combinations) writer.write_collection_of_object_values("authenticationMethodModes", self.authentication_method_modes) writer.write_collection_of_enum_values("combinations", self.combinations) diff --git a/msgraph_beta/generated/models/authentication_strength_usage.py b/msgraph_beta/generated/models/authentication_strength_usage.py index 63531e53e34..bb0d48049df 100644 --- a/msgraph_beta/generated/models/authentication_strength_usage.py +++ b/msgraph_beta/generated/models/authentication_strength_usage.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .conditional_access_policy import ConditionalAccessPolicy + writer.write_collection_of_object_values("mfa", self.mfa) writer.write_collection_of_object_values("none", self.none_) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/authentications_metric.py b/msgraph_beta/generated/models/authentications_metric.py index 369006119ec..dc1f5ff9900 100644 --- a/msgraph_beta/generated/models/authentications_metric.py +++ b/msgraph_beta/generated/models/authentications_metric.py @@ -85,6 +85,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .authentication_failure import AuthenticationFailure + from .entity import Entity + writer.write_str_value("appid", self.appid) writer.write_int_value("attemptsCount", self.attempts_count) writer.write_str_value("authFlow", self.auth_flow) diff --git a/msgraph_beta/generated/models/authentications_metric_collection_response.py b/msgraph_beta/generated/models/authentications_metric_collection_response.py index 27ff0ae8f64..6d830d76982 100644 --- a/msgraph_beta/generated/models/authentications_metric_collection_response.py +++ b/msgraph_beta/generated/models/authentications_metric_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .authentications_metric import AuthenticationsMetric + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/authored_note.py b/msgraph_beta/generated/models/authored_note.py index 19ff00dba80..17dd78442b6 100644 --- a/msgraph_beta/generated/models/authored_note.py +++ b/msgraph_beta/generated/models/authored_note.py @@ -64,6 +64,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .identity import Identity + from .item_body import ItemBody + writer.write_object_value("author", self.author) writer.write_object_value("content", self.content) writer.write_datetime_value("createdDateTime", self.created_date_time) diff --git a/msgraph_beta/generated/models/authored_note_collection_response.py b/msgraph_beta/generated/models/authored_note_collection_response.py index 9e3322df6d2..768674bb929 100644 --- a/msgraph_beta/generated/models/authored_note_collection_response.py +++ b/msgraph_beta/generated/models/authored_note_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .authored_note import AuthoredNote + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/authorization_policy.py b/msgraph_beta/generated/models/authorization_policy.py index 0f0eefcd2e8..33bc546d369 100644 --- a/msgraph_beta/generated/models/authorization_policy.py +++ b/msgraph_beta/generated/models/authorization_policy.py @@ -91,6 +91,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .allow_invites_from import AllowInvitesFrom + from .default_user_role_override import DefaultUserRoleOverride + from .default_user_role_permissions import DefaultUserRolePermissions + from .policy_base import PolicyBase + writer.write_bool_value("allowEmailVerifiedUsersToJoinOrganization", self.allow_email_verified_users_to_join_organization) writer.write_enum_value("allowInvitesFrom", self.allow_invites_from) writer.write_bool_value("allowUserConsentForRiskyApps", self.allow_user_consent_for_risky_apps) diff --git a/msgraph_beta/generated/models/authorization_policy_collection_response.py b/msgraph_beta/generated/models/authorization_policy_collection_response.py index a56e38e6f36..a9f2d6afcc4 100644 --- a/msgraph_beta/generated/models/authorization_policy_collection_response.py +++ b/msgraph_beta/generated/models/authorization_policy_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .authorization_policy import AuthorizationPolicy + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/authorization_system.py b/msgraph_beta/generated/models/authorization_system.py index d0e3238153b..84155c033fa 100644 --- a/msgraph_beta/generated/models/authorization_system.py +++ b/msgraph_beta/generated/models/authorization_system.py @@ -35,7 +35,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> AuthorizationSyste if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.awsAuthorizationSystem".casefold(): @@ -88,6 +89,12 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .aws_authorization_system import AwsAuthorizationSystem + from .azure_authorization_system import AzureAuthorizationSystem + from .data_collection_info import DataCollectionInfo + from .entity import Entity + from .gcp_authorization_system import GcpAuthorizationSystem + writer.write_str_value("authorizationSystemId", self.authorization_system_id) writer.write_str_value("authorizationSystemName", self.authorization_system_name) writer.write_str_value("authorizationSystemType", self.authorization_system_type) diff --git a/msgraph_beta/generated/models/authorization_system_collection_response.py b/msgraph_beta/generated/models/authorization_system_collection_response.py index c3d0ac7ba11..1b3492bcd3f 100644 --- a/msgraph_beta/generated/models/authorization_system_collection_response.py +++ b/msgraph_beta/generated/models/authorization_system_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .authorization_system import AuthorizationSystem + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/authorization_system_identity.py b/msgraph_beta/generated/models/authorization_system_identity.py index 516e34e493b..75e26c2bb70 100644 --- a/msgraph_beta/generated/models/authorization_system_identity.py +++ b/msgraph_beta/generated/models/authorization_system_identity.py @@ -51,7 +51,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> AuthorizationSyste if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.awsAccessKey".casefold(): @@ -196,6 +197,28 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .authorization_system import AuthorizationSystem + from .authorization_system_identity_source import AuthorizationSystemIdentitySource + from .aws_access_key import AwsAccessKey + from .aws_ec2_instance import AwsEc2Instance + from .aws_group import AwsGroup + from .aws_identity import AwsIdentity + from .aws_lambda import AwsLambda + from .aws_role import AwsRole + from .aws_user import AwsUser + from .azure_group import AzureGroup + from .azure_identity import AzureIdentity + from .azure_managed_identity import AzureManagedIdentity + from .azure_serverless_function import AzureServerlessFunction + from .azure_service_principal import AzureServicePrincipal + from .azure_user import AzureUser + from .entity import Entity + from .gcp_cloud_function import GcpCloudFunction + from .gcp_group import GcpGroup + from .gcp_identity import GcpIdentity + from .gcp_service_account import GcpServiceAccount + from .gcp_user import GcpUser + writer.write_object_value("authorizationSystem", self.authorization_system) writer.write_str_value("displayName", self.display_name) writer.write_str_value("externalId", self.external_id) diff --git a/msgraph_beta/generated/models/authorization_system_identity_source.py b/msgraph_beta/generated/models/authorization_system_identity_source.py index 506e4d67730..1dd1b1d8f2f 100644 --- a/msgraph_beta/generated/models/authorization_system_identity_source.py +++ b/msgraph_beta/generated/models/authorization_system_identity_source.py @@ -33,7 +33,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> AuthorizationSyste if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.aadSource".casefold(): @@ -89,6 +90,12 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .aad_source import AadSource + from .aws_source import AwsSource + from .azure_source import AzureSource + from .gsuite_source import GsuiteSource + from .unknown_source import UnknownSource + writer.write_str_value("identityProviderType", self.identity_provider_type) writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/authorization_system_info.py b/msgraph_beta/generated/models/authorization_system_info.py index d28a4ed8fa9..45c63651053 100644 --- a/msgraph_beta/generated/models/authorization_system_info.py +++ b/msgraph_beta/generated/models/authorization_system_info.py @@ -59,6 +59,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .authorization_system_type import AuthorizationSystemType + writer.write_enum_value("authorizationSystemType", self.authorization_system_type) writer.write_str_value("displayName", self.display_name) writer.write_str_value("id", self.id) diff --git a/msgraph_beta/generated/models/authorization_system_resource.py b/msgraph_beta/generated/models/authorization_system_resource.py index 212ce8ff2eb..d7c1c9b7a97 100644 --- a/msgraph_beta/generated/models/authorization_system_resource.py +++ b/msgraph_beta/generated/models/authorization_system_resource.py @@ -35,7 +35,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> AuthorizationSyste if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.awsAuthorizationSystemResource".casefold(): @@ -88,6 +89,12 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .authorization_system import AuthorizationSystem + from .aws_authorization_system_resource import AwsAuthorizationSystemResource + from .azure_authorization_system_resource import AzureAuthorizationSystemResource + from .entity import Entity + from .gcp_authorization_system_resource import GcpAuthorizationSystemResource + writer.write_object_value("authorizationSystem", self.authorization_system) writer.write_str_value("displayName", self.display_name) writer.write_str_value("externalId", self.external_id) diff --git a/msgraph_beta/generated/models/authorization_system_type_action.py b/msgraph_beta/generated/models/authorization_system_type_action.py index 04558ecc352..446cf856c56 100644 --- a/msgraph_beta/generated/models/authorization_system_type_action.py +++ b/msgraph_beta/generated/models/authorization_system_type_action.py @@ -36,7 +36,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> AuthorizationSyste if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.awsAuthorizationSystemTypeAction".casefold(): @@ -91,6 +92,13 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .authorization_system_action_severity import AuthorizationSystemActionSeverity + from .authorization_system_action_type import AuthorizationSystemActionType + from .aws_authorization_system_type_action import AwsAuthorizationSystemTypeAction + from .azure_authorization_system_type_action import AzureAuthorizationSystemTypeAction + from .entity import Entity + from .gcp_authorization_system_type_action import GcpAuthorizationSystemTypeAction + writer.write_enum_value("actionType", self.action_type) writer.write_str_value("externalId", self.external_id) writer.write_collection_of_primitive_values("resourceTypes", self.resource_types) diff --git a/msgraph_beta/generated/models/authorization_system_type_service.py b/msgraph_beta/generated/models/authorization_system_type_service.py index d6824f2a49e..1a820b9c8e4 100644 --- a/msgraph_beta/generated/models/authorization_system_type_service.py +++ b/msgraph_beta/generated/models/authorization_system_type_service.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .authorization_system_type_action import AuthorizationSystemTypeAction + from .entity import Entity + writer.write_collection_of_object_values("actions", self.actions) diff --git a/msgraph_beta/generated/models/automatic_replies_mail_tips.py b/msgraph_beta/generated/models/automatic_replies_mail_tips.py index bdf0a730441..16e03643979 100644 --- a/msgraph_beta/generated/models/automatic_replies_mail_tips.py +++ b/msgraph_beta/generated/models/automatic_replies_mail_tips.py @@ -65,6 +65,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .date_time_time_zone import DateTimeTimeZone + from .locale_info import LocaleInfo + writer.write_str_value("message", self.message) writer.write_object_value("messageLanguage", self.message_language) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/automatic_replies_setting.py b/msgraph_beta/generated/models/automatic_replies_setting.py index 4915e7cd778..d7688053ae9 100644 --- a/msgraph_beta/generated/models/automatic_replies_setting.py +++ b/msgraph_beta/generated/models/automatic_replies_setting.py @@ -74,6 +74,10 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .automatic_replies_status import AutomaticRepliesStatus + from .date_time_time_zone import DateTimeTimeZone + from .external_audience_scope import ExternalAudienceScope + writer.write_enum_value("externalAudience", self.external_audience) writer.write_str_value("externalReplyMessage", self.external_reply_message) writer.write_str_value("internalReplyMessage", self.internal_reply_message) diff --git a/msgraph_beta/generated/models/availability_item.py b/msgraph_beta/generated/models/availability_item.py index 126ac97424e..0b4c89670ab 100644 --- a/msgraph_beta/generated/models/availability_item.py +++ b/msgraph_beta/generated/models/availability_item.py @@ -65,6 +65,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .bookings_availability_status import BookingsAvailabilityStatus + from .date_time_time_zone import DateTimeTimeZone + writer.write_object_value("endDateTime", self.end_date_time) writer.write_str_value("@odata.type", self.odata_type) writer.write_str_value("serviceId", self.service_id) diff --git a/msgraph_beta/generated/models/aws_access_key.py b/msgraph_beta/generated/models/aws_access_key.py index 2a17733bf35..81fe0aed6f0 100644 --- a/msgraph_beta/generated/models/aws_access_key.py +++ b/msgraph_beta/generated/models/aws_access_key.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .aws_identity import AwsIdentity + from .aws_user import AwsUser + writer.write_object_value("owner", self.owner) diff --git a/msgraph_beta/generated/models/aws_actions_permissions_definition_action.py b/msgraph_beta/generated/models/aws_actions_permissions_definition_action.py index d804a9f9217..676cb2882ba 100644 --- a/msgraph_beta/generated/models/aws_actions_permissions_definition_action.py +++ b/msgraph_beta/generated/models/aws_actions_permissions_definition_action.py @@ -57,6 +57,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .aws_permissions_definition_action import AwsPermissionsDefinitionAction + from .aws_statement import AwsStatement + writer.write_str_value("assignToRoleId", self.assign_to_role_id) writer.write_collection_of_object_values("statements", self.statements) diff --git a/msgraph_beta/generated/models/aws_associated_identities.py b/msgraph_beta/generated/models/aws_associated_identities.py index 4ec0c63f841..6edbd9f7715 100644 --- a/msgraph_beta/generated/models/aws_associated_identities.py +++ b/msgraph_beta/generated/models/aws_associated_identities.py @@ -65,6 +65,10 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .aws_identity import AwsIdentity + from .aws_role import AwsRole + from .aws_user import AwsUser + writer.write_collection_of_object_values("all", self.all) writer.write_str_value("@odata.type", self.odata_type) writer.write_collection_of_object_values("roles", self.roles) diff --git a/msgraph_beta/generated/models/aws_authorization_system.py b/msgraph_beta/generated/models/aws_authorization_system.py index 856a287763e..59d85b122e3 100644 --- a/msgraph_beta/generated/models/aws_authorization_system.py +++ b/msgraph_beta/generated/models/aws_authorization_system.py @@ -78,6 +78,13 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .authorization_system import AuthorizationSystem + from .authorization_system_type_service import AuthorizationSystemTypeService + from .aws_associated_identities import AwsAssociatedIdentities + from .aws_authorization_system_resource import AwsAuthorizationSystemResource + from .aws_authorization_system_type_action import AwsAuthorizationSystemTypeAction + from .aws_policy import AwsPolicy + writer.write_collection_of_object_values("actions", self.actions) writer.write_object_value("associatedIdentities", self.associated_identities) writer.write_collection_of_object_values("policies", self.policies) diff --git a/msgraph_beta/generated/models/aws_authorization_system_resource.py b/msgraph_beta/generated/models/aws_authorization_system_resource.py index b92ea5648c9..61f89543e88 100644 --- a/msgraph_beta/generated/models/aws_authorization_system_resource.py +++ b/msgraph_beta/generated/models/aws_authorization_system_resource.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .authorization_system_resource import AuthorizationSystemResource + from .authorization_system_type_service import AuthorizationSystemTypeService + writer.write_object_value("service", self.service) diff --git a/msgraph_beta/generated/models/aws_authorization_system_type_action.py b/msgraph_beta/generated/models/aws_authorization_system_type_action.py index 5b706ae0499..e1a04366ef9 100644 --- a/msgraph_beta/generated/models/aws_authorization_system_type_action.py +++ b/msgraph_beta/generated/models/aws_authorization_system_type_action.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .authorization_system_type_action import AuthorizationSystemTypeAction + from .authorization_system_type_service import AuthorizationSystemTypeService + writer.write_object_value("service", self.service) diff --git a/msgraph_beta/generated/models/aws_ec2_instance.py b/msgraph_beta/generated/models/aws_ec2_instance.py index 03062c6cc14..41459777eb1 100644 --- a/msgraph_beta/generated/models/aws_ec2_instance.py +++ b/msgraph_beta/generated/models/aws_ec2_instance.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .aws_authorization_system_resource import AwsAuthorizationSystemResource + from .aws_identity import AwsIdentity + writer.write_object_value("resource", self.resource) diff --git a/msgraph_beta/generated/models/aws_external_system_access_finding.py b/msgraph_beta/generated/models/aws_external_system_access_finding.py index 9a08549dba3..5bccadf358f 100644 --- a/msgraph_beta/generated/models/aws_external_system_access_finding.py +++ b/msgraph_beta/generated/models/aws_external_system_access_finding.py @@ -72,6 +72,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .authorization_system import AuthorizationSystem + from .authorization_system_info import AuthorizationSystemInfo + from .external_system_access_methods import ExternalSystemAccessMethods + from .finding import Finding + writer.write_enum_value("accessMethods", self.access_methods) writer.write_object_value("affectedSystem", self.affected_system) writer.write_object_value("systemWithAccess", self.system_with_access) diff --git a/msgraph_beta/generated/models/aws_external_system_access_role_finding.py b/msgraph_beta/generated/models/aws_external_system_access_role_finding.py index e835729f117..c24fe04acf1 100644 --- a/msgraph_beta/generated/models/aws_external_system_access_role_finding.py +++ b/msgraph_beta/generated/models/aws_external_system_access_role_finding.py @@ -63,6 +63,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .aws_role import AwsRole + from .finding import Finding + from .permissions_creep_index import PermissionsCreepIndex + writer.write_collection_of_primitive_values("accessibleSystemIds", self.accessible_system_ids) writer.write_object_value("permissionsCreepIndex", self.permissions_creep_index) writer.write_object_value("role", self.role) diff --git a/msgraph_beta/generated/models/aws_group.py b/msgraph_beta/generated/models/aws_group.py index cadd8f405a3..241116d07f7 100644 --- a/msgraph_beta/generated/models/aws_group.py +++ b/msgraph_beta/generated/models/aws_group.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .aws_identity import AwsIdentity + diff --git a/msgraph_beta/generated/models/aws_identity.py b/msgraph_beta/generated/models/aws_identity.py index 715f6c12612..d2f87b8e7c6 100644 --- a/msgraph_beta/generated/models/aws_identity.py +++ b/msgraph_beta/generated/models/aws_identity.py @@ -29,7 +29,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> AwsIdentity: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.awsAccessKey".casefold(): @@ -94,5 +95,13 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .authorization_system_identity import AuthorizationSystemIdentity + from .aws_access_key import AwsAccessKey + from .aws_ec2_instance import AwsEc2Instance + from .aws_group import AwsGroup + from .aws_lambda import AwsLambda + from .aws_role import AwsRole + from .aws_user import AwsUser + diff --git a/msgraph_beta/generated/models/aws_identity_access_management_key_age_finding.py b/msgraph_beta/generated/models/aws_identity_access_management_key_age_finding.py index 3165f73fe9a..710ca060f03 100644 --- a/msgraph_beta/generated/models/aws_identity_access_management_key_age_finding.py +++ b/msgraph_beta/generated/models/aws_identity_access_management_key_age_finding.py @@ -78,6 +78,13 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .action_summary import ActionSummary + from .aws_access_key import AwsAccessKey + from .aws_access_key_details import AwsAccessKeyDetails + from .finding import Finding + from .iam_status import IamStatus + from .permissions_creep_index import PermissionsCreepIndex + writer.write_object_value("accessKey", self.access_key) writer.write_object_value("actionSummary", self.action_summary) writer.write_object_value("awsAccessKeyDetails", self.aws_access_key_details) diff --git a/msgraph_beta/generated/models/aws_identity_access_management_key_usage_finding.py b/msgraph_beta/generated/models/aws_identity_access_management_key_usage_finding.py index d67fa84a9d5..547c060071b 100644 --- a/msgraph_beta/generated/models/aws_identity_access_management_key_usage_finding.py +++ b/msgraph_beta/generated/models/aws_identity_access_management_key_usage_finding.py @@ -78,6 +78,13 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .action_summary import ActionSummary + from .aws_access_key import AwsAccessKey + from .aws_access_key_details import AwsAccessKeyDetails + from .finding import Finding + from .iam_status import IamStatus + from .permissions_creep_index import PermissionsCreepIndex + writer.write_object_value("accessKey", self.access_key) writer.write_object_value("actionSummary", self.action_summary) writer.write_object_value("awsAccessKeyDetails", self.aws_access_key_details) diff --git a/msgraph_beta/generated/models/aws_identity_source.py b/msgraph_beta/generated/models/aws_identity_source.py index 2358561a173..0aba554e83b 100644 --- a/msgraph_beta/generated/models/aws_identity_source.py +++ b/msgraph_beta/generated/models/aws_identity_source.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .permissions_definition_authorization_system import PermissionsDefinitionAuthorizationSystem + from .permissions_definition_identity_source import PermissionsDefinitionIdentitySource + writer.write_object_value("authorizationSystemInfo", self.authorization_system_info) diff --git a/msgraph_beta/generated/models/aws_lambda.py b/msgraph_beta/generated/models/aws_lambda.py index 9847abd87dd..00f3ddeeb8e 100644 --- a/msgraph_beta/generated/models/aws_lambda.py +++ b/msgraph_beta/generated/models/aws_lambda.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .aws_authorization_system_resource import AwsAuthorizationSystemResource + from .aws_identity import AwsIdentity + writer.write_object_value("resource", self.resource) diff --git a/msgraph_beta/generated/models/aws_permissions_definition.py b/msgraph_beta/generated/models/aws_permissions_definition.py index 9464c6a6144..fa648f3c432 100644 --- a/msgraph_beta/generated/models/aws_permissions_definition.py +++ b/msgraph_beta/generated/models/aws_permissions_definition.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .aws_permissions_definition_action import AwsPermissionsDefinitionAction + from .permissions_definition import PermissionsDefinition + writer.write_object_value("actionInfo", self.action_info) diff --git a/msgraph_beta/generated/models/aws_permissions_definition_action.py b/msgraph_beta/generated/models/aws_permissions_definition_action.py index 123094d5733..d3ff66eae5e 100644 --- a/msgraph_beta/generated/models/aws_permissions_definition_action.py +++ b/msgraph_beta/generated/models/aws_permissions_definition_action.py @@ -25,7 +25,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> AwsPermissionsDefi if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.awsActionsPermissionsDefinitionAction".casefold(): @@ -66,5 +67,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .aws_actions_permissions_definition_action import AwsActionsPermissionsDefinitionAction + from .aws_policy_permissions_definition_action import AwsPolicyPermissionsDefinitionAction + from .permissions_definition_action import PermissionsDefinitionAction + diff --git a/msgraph_beta/generated/models/aws_policy.py b/msgraph_beta/generated/models/aws_policy.py index cdb1dd310f9..3a8ad2050ad 100644 --- a/msgraph_beta/generated/models/aws_policy.py +++ b/msgraph_beta/generated/models/aws_policy.py @@ -60,6 +60,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .aws_policy_type import AwsPolicyType + from .entity import Entity + writer.write_enum_value("awsPolicyType", self.aws_policy_type) writer.write_str_value("displayName", self.display_name) writer.write_str_value("externalId", self.external_id) diff --git a/msgraph_beta/generated/models/aws_policy_permissions_definition_action.py b/msgraph_beta/generated/models/aws_policy_permissions_definition_action.py index 1b06861ae1a..a6ae20c898d 100644 --- a/msgraph_beta/generated/models/aws_policy_permissions_definition_action.py +++ b/msgraph_beta/generated/models/aws_policy_permissions_definition_action.py @@ -57,6 +57,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .aws_permissions_definition_action import AwsPermissionsDefinitionAction + from .permissions_definition_aws_policy import PermissionsDefinitionAwsPolicy + writer.write_str_value("assignToRoleId", self.assign_to_role_id) writer.write_collection_of_object_values("policies", self.policies) diff --git a/msgraph_beta/generated/models/aws_role.py b/msgraph_beta/generated/models/aws_role.py index de4542b53e5..1e29b0b0712 100644 --- a/msgraph_beta/generated/models/aws_role.py +++ b/msgraph_beta/generated/models/aws_role.py @@ -60,6 +60,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .aws_identity import AwsIdentity + from .aws_role_trust_entity_type import AwsRoleTrustEntityType + from .aws_role_type import AwsRoleType + writer.write_enum_value("roleType", self.role_type) writer.write_enum_value("trustEntityType", self.trust_entity_type) diff --git a/msgraph_beta/generated/models/aws_secret_information_access_finding.py b/msgraph_beta/generated/models/aws_secret_information_access_finding.py index e475a1cbbd1..cc57dfe6db2 100644 --- a/msgraph_beta/generated/models/aws_secret_information_access_finding.py +++ b/msgraph_beta/generated/models/aws_secret_information_access_finding.py @@ -39,7 +39,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> AwsSecretInformati if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.secretInformationAccessAwsResourceFinding".casefold(): @@ -104,6 +105,16 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .authorization_system_identity import AuthorizationSystemIdentity + from .aws_secret_information_web_services import AwsSecretInformationWebServices + from .finding import Finding + from .identity_details import IdentityDetails + from .permissions_creep_index import PermissionsCreepIndex + from .secret_information_access_aws_resource_finding import SecretInformationAccessAwsResourceFinding + from .secret_information_access_aws_role_finding import SecretInformationAccessAwsRoleFinding + from .secret_information_access_aws_serverless_function_finding import SecretInformationAccessAwsServerlessFunctionFinding + from .secret_information_access_aws_user_finding import SecretInformationAccessAwsUserFinding + writer.write_object_value("identity", self.identity) writer.write_object_value("identityDetails", self.identity_details) writer.write_object_value("permissionsCreepIndex", self.permissions_creep_index) diff --git a/msgraph_beta/generated/models/aws_security_tool_administration_finding.py b/msgraph_beta/generated/models/aws_security_tool_administration_finding.py index d3777c8db4b..59c2c77ac27 100644 --- a/msgraph_beta/generated/models/aws_security_tool_administration_finding.py +++ b/msgraph_beta/generated/models/aws_security_tool_administration_finding.py @@ -39,7 +39,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> AwsSecurityToolAdm if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.securityToolAwsResourceAdministratorFinding".casefold(): @@ -104,6 +105,16 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .authorization_system_identity import AuthorizationSystemIdentity + from .aws_security_tool_web_services import AwsSecurityToolWebServices + from .finding import Finding + from .identity_details import IdentityDetails + from .permissions_creep_index import PermissionsCreepIndex + from .security_tool_aws_resource_administrator_finding import SecurityToolAwsResourceAdministratorFinding + from .security_tool_aws_role_administrator_finding import SecurityToolAwsRoleAdministratorFinding + from .security_tool_aws_serverless_function_administrator_finding import SecurityToolAwsServerlessFunctionAdministratorFinding + from .security_tool_aws_user_administrator_finding import SecurityToolAwsUserAdministratorFinding + writer.write_object_value("identity", self.identity) writer.write_object_value("identityDetails", self.identity_details) writer.write_object_value("permissionsCreepIndex", self.permissions_creep_index) diff --git a/msgraph_beta/generated/models/aws_source.py b/msgraph_beta/generated/models/aws_source.py index 025bb0434d3..8b0ab6ab40b 100644 --- a/msgraph_beta/generated/models/aws_source.py +++ b/msgraph_beta/generated/models/aws_source.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .authorization_system_identity_source import AuthorizationSystemIdentitySource + writer.write_str_value("accountId", self.account_id) diff --git a/msgraph_beta/generated/models/aws_statement.py b/msgraph_beta/generated/models/aws_statement.py index d3015886aca..4da986ff0d6 100644 --- a/msgraph_beta/generated/models/aws_statement.py +++ b/msgraph_beta/generated/models/aws_statement.py @@ -74,6 +74,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .aws_condition import AwsCondition + from .aws_statement_effect import AwsStatementEffect + writer.write_collection_of_primitive_values("actions", self.actions) writer.write_object_value("condition", self.condition) writer.write_enum_value("effect", self.effect) diff --git a/msgraph_beta/generated/models/aws_user.py b/msgraph_beta/generated/models/aws_user.py index 80f52b3fd3e..1df8fdd3622 100644 --- a/msgraph_beta/generated/models/aws_user.py +++ b/msgraph_beta/generated/models/aws_user.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .aws_identity import AwsIdentity + from .aws_role import AwsRole + writer.write_collection_of_object_values("assumableRoles", self.assumable_roles) diff --git a/msgraph_beta/generated/models/azure_a_d_authentication.py b/msgraph_beta/generated/models/azure_a_d_authentication.py index fa98817a0b2..ef488e6ac1e 100644 --- a/msgraph_beta/generated/models/azure_a_d_authentication.py +++ b/msgraph_beta/generated/models/azure_a_d_authentication.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .service_level_agreement_attainment import ServiceLevelAgreementAttainment + writer.write_collection_of_object_values("attainments", self.attainments) diff --git a/msgraph_beta/generated/models/azure_a_d_join_policy.py b/msgraph_beta/generated/models/azure_a_d_join_policy.py index 392a37bb0c0..98b82e6f63c 100644 --- a/msgraph_beta/generated/models/azure_a_d_join_policy.py +++ b/msgraph_beta/generated/models/azure_a_d_join_policy.py @@ -62,6 +62,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .device_registration_membership import DeviceRegistrationMembership + from .local_admin_settings import LocalAdminSettings + writer.write_object_value("allowedToJoin", self.allowed_to_join) writer.write_bool_value("isAdminConfigurable", self.is_admin_configurable) writer.write_object_value("localAdmins", self.local_admins) diff --git a/msgraph_beta/generated/models/azure_a_d_registration_policy.py b/msgraph_beta/generated/models/azure_a_d_registration_policy.py index 4563d7d3816..25b5358fb0c 100644 --- a/msgraph_beta/generated/models/azure_a_d_registration_policy.py +++ b/msgraph_beta/generated/models/azure_a_d_registration_policy.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .device_registration_membership import DeviceRegistrationMembership + writer.write_object_value("allowedToRegister", self.allowed_to_register) writer.write_bool_value("isAdminConfigurable", self.is_admin_configurable) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/azure_a_d_windows_autopilot_deployment_profile.py b/msgraph_beta/generated/models/azure_a_d_windows_autopilot_deployment_profile.py index ef0931a74bf..abc68c23ffb 100644 --- a/msgraph_beta/generated/models/azure_a_d_windows_autopilot_deployment_profile.py +++ b/msgraph_beta/generated/models/azure_a_d_windows_autopilot_deployment_profile.py @@ -51,5 +51,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .windows_autopilot_deployment_profile import WindowsAutopilotDeploymentProfile + diff --git a/msgraph_beta/generated/models/azure_action_permissions_definition_action.py b/msgraph_beta/generated/models/azure_action_permissions_definition_action.py index 1a2a6cb8405..e6a4b448c9e 100644 --- a/msgraph_beta/generated/models/azure_action_permissions_definition_action.py +++ b/msgraph_beta/generated/models/azure_action_permissions_definition_action.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .azure_permissions_definition_action import AzurePermissionsDefinitionAction + writer.write_collection_of_primitive_values("actions", self.actions) diff --git a/msgraph_beta/generated/models/azure_active_directory_tenant.py b/msgraph_beta/generated/models/azure_active_directory_tenant.py index 18898ff70a2..33a40223cef 100644 --- a/msgraph_beta/generated/models/azure_active_directory_tenant.py +++ b/msgraph_beta/generated/models/azure_active_directory_tenant.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .identity_source import IdentitySource + writer.write_str_value("displayName", self.display_name) writer.write_str_value("tenantId", self.tenant_id) diff --git a/msgraph_beta/generated/models/azure_ad_pop_token_authentication.py b/msgraph_beta/generated/models/azure_ad_pop_token_authentication.py index 3008032af2d..48885f0ae74 100644 --- a/msgraph_beta/generated/models/azure_ad_pop_token_authentication.py +++ b/msgraph_beta/generated/models/azure_ad_pop_token_authentication.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .custom_extension_authentication_configuration import CustomExtensionAuthenticationConfiguration + diff --git a/msgraph_beta/generated/models/azure_ad_token_authentication.py b/msgraph_beta/generated/models/azure_ad_token_authentication.py index 2c6eb41b72b..99e6c0188cf 100644 --- a/msgraph_beta/generated/models/azure_ad_token_authentication.py +++ b/msgraph_beta/generated/models/azure_ad_token_authentication.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .custom_extension_authentication_configuration import CustomExtensionAuthenticationConfiguration + writer.write_str_value("resourceId", self.resource_id) diff --git a/msgraph_beta/generated/models/azure_associated_identities.py b/msgraph_beta/generated/models/azure_associated_identities.py index fe645fd8b00..18c4f714e1f 100644 --- a/msgraph_beta/generated/models/azure_associated_identities.py +++ b/msgraph_beta/generated/models/azure_associated_identities.py @@ -71,6 +71,11 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .azure_identity import AzureIdentity + from .azure_managed_identity import AzureManagedIdentity + from .azure_service_principal import AzureServicePrincipal + from .azure_user import AzureUser + writer.write_collection_of_object_values("all", self.all) writer.write_collection_of_object_values("managedIdentities", self.managed_identities) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/azure_authorization_system.py b/msgraph_beta/generated/models/azure_authorization_system.py index 658bfa7c1c9..ef833ac47d9 100644 --- a/msgraph_beta/generated/models/azure_authorization_system.py +++ b/msgraph_beta/generated/models/azure_authorization_system.py @@ -78,6 +78,13 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .authorization_system import AuthorizationSystem + from .authorization_system_type_service import AuthorizationSystemTypeService + from .azure_associated_identities import AzureAssociatedIdentities + from .azure_authorization_system_resource import AzureAuthorizationSystemResource + from .azure_authorization_system_type_action import AzureAuthorizationSystemTypeAction + from .azure_role_definition import AzureRoleDefinition + writer.write_collection_of_object_values("actions", self.actions) writer.write_object_value("associatedIdentities", self.associated_identities) writer.write_collection_of_object_values("resources", self.resources) diff --git a/msgraph_beta/generated/models/azure_authorization_system_resource.py b/msgraph_beta/generated/models/azure_authorization_system_resource.py index f0181f87dc5..3fdcb4799f8 100644 --- a/msgraph_beta/generated/models/azure_authorization_system_resource.py +++ b/msgraph_beta/generated/models/azure_authorization_system_resource.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .authorization_system_resource import AuthorizationSystemResource + from .authorization_system_type_service import AuthorizationSystemTypeService + writer.write_object_value("service", self.service) diff --git a/msgraph_beta/generated/models/azure_authorization_system_type_action.py b/msgraph_beta/generated/models/azure_authorization_system_type_action.py index badc28c5d2d..2a8b22dd728 100644 --- a/msgraph_beta/generated/models/azure_authorization_system_type_action.py +++ b/msgraph_beta/generated/models/azure_authorization_system_type_action.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .authorization_system_type_action import AuthorizationSystemTypeAction + from .authorization_system_type_service import AuthorizationSystemTypeService + writer.write_object_value("service", self.service) diff --git a/msgraph_beta/generated/models/azure_communication_services_user_conversation_member.py b/msgraph_beta/generated/models/azure_communication_services_user_conversation_member.py index 3ed86eeca99..6292d014ef0 100644 --- a/msgraph_beta/generated/models/azure_communication_services_user_conversation_member.py +++ b/msgraph_beta/generated/models/azure_communication_services_user_conversation_member.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .conversation_member import ConversationMember + writer.write_str_value("azureCommunicationServicesId", self.azure_communication_services_id) diff --git a/msgraph_beta/generated/models/azure_communication_services_user_identity.py b/msgraph_beta/generated/models/azure_communication_services_user_identity.py index 11fd348a45a..740ac58544b 100644 --- a/msgraph_beta/generated/models/azure_communication_services_user_identity.py +++ b/msgraph_beta/generated/models/azure_communication_services_user_identity.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .identity import Identity + writer.write_str_value("azureCommunicationServicesResourceId", self.azure_communication_services_resource_id) diff --git a/msgraph_beta/generated/models/azure_group.py b/msgraph_beta/generated/models/azure_group.py index 7511269bf3c..e1393fd0da9 100644 --- a/msgraph_beta/generated/models/azure_group.py +++ b/msgraph_beta/generated/models/azure_group.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .azure_identity import AzureIdentity + diff --git a/msgraph_beta/generated/models/azure_identity.py b/msgraph_beta/generated/models/azure_identity.py index 20ad617cce7..b894c6c45b3 100644 --- a/msgraph_beta/generated/models/azure_identity.py +++ b/msgraph_beta/generated/models/azure_identity.py @@ -28,7 +28,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> AzureIdentity: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.azureGroup".casefold(): @@ -87,5 +88,12 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .authorization_system_identity import AuthorizationSystemIdentity + from .azure_group import AzureGroup + from .azure_managed_identity import AzureManagedIdentity + from .azure_serverless_function import AzureServerlessFunction + from .azure_service_principal import AzureServicePrincipal + from .azure_user import AzureUser + diff --git a/msgraph_beta/generated/models/azure_managed_identity.py b/msgraph_beta/generated/models/azure_managed_identity.py index 44ee3e7a8b9..7183aea5d7a 100644 --- a/msgraph_beta/generated/models/azure_managed_identity.py +++ b/msgraph_beta/generated/models/azure_managed_identity.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .azure_identity import AzureIdentity + diff --git a/msgraph_beta/generated/models/azure_permissions_definition_action.py b/msgraph_beta/generated/models/azure_permissions_definition_action.py index 893b6bd5f33..6ed17ea649d 100644 --- a/msgraph_beta/generated/models/azure_permissions_definition_action.py +++ b/msgraph_beta/generated/models/azure_permissions_definition_action.py @@ -25,7 +25,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> AzurePermissionsDe if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.azureActionPermissionsDefinitionAction".casefold(): @@ -66,5 +67,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .azure_action_permissions_definition_action import AzureActionPermissionsDefinitionAction + from .azure_role_permissions_definition_action import AzureRolePermissionsDefinitionAction + from .permissions_definition_action import PermissionsDefinitionAction + diff --git a/msgraph_beta/generated/models/azure_role_definition.py b/msgraph_beta/generated/models/azure_role_definition.py index c8e99312815..2a086018490 100644 --- a/msgraph_beta/generated/models/azure_role_definition.py +++ b/msgraph_beta/generated/models/azure_role_definition.py @@ -63,6 +63,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .azure_role_definition_type import AzureRoleDefinitionType + from .entity import Entity + writer.write_collection_of_primitive_values("assignableScopes", self.assignable_scopes) writer.write_enum_value("azureRoleDefinitionType", self.azure_role_definition_type) writer.write_str_value("displayName", self.display_name) diff --git a/msgraph_beta/generated/models/azure_role_permissions_definition_action.py b/msgraph_beta/generated/models/azure_role_permissions_definition_action.py index 3138d358837..73665d178f3 100644 --- a/msgraph_beta/generated/models/azure_role_permissions_definition_action.py +++ b/msgraph_beta/generated/models/azure_role_permissions_definition_action.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .azure_permissions_definition_action import AzurePermissionsDefinitionAction + from .permissions_definition_azure_role import PermissionsDefinitionAzureRole + writer.write_collection_of_object_values("roles", self.roles) diff --git a/msgraph_beta/generated/models/azure_serverless_function.py b/msgraph_beta/generated/models/azure_serverless_function.py index 4fec75a8677..9aef82b08c6 100644 --- a/msgraph_beta/generated/models/azure_serverless_function.py +++ b/msgraph_beta/generated/models/azure_serverless_function.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .azure_authorization_system_resource import AzureAuthorizationSystemResource + from .azure_identity import AzureIdentity + writer.write_object_value("resource", self.resource) diff --git a/msgraph_beta/generated/models/azure_service_principal.py b/msgraph_beta/generated/models/azure_service_principal.py index 8da0870ede7..e5187f4f550 100644 --- a/msgraph_beta/generated/models/azure_service_principal.py +++ b/msgraph_beta/generated/models/azure_service_principal.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .azure_identity import AzureIdentity + diff --git a/msgraph_beta/generated/models/azure_source.py b/msgraph_beta/generated/models/azure_source.py index f6fdabce5c3..0bcf199cb26 100644 --- a/msgraph_beta/generated/models/azure_source.py +++ b/msgraph_beta/generated/models/azure_source.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .authorization_system_identity_source import AuthorizationSystemIdentitySource + writer.write_str_value("subscriptionId", self.subscription_id) diff --git a/msgraph_beta/generated/models/azure_user.py b/msgraph_beta/generated/models/azure_user.py index 9f070657490..9ab073f117a 100644 --- a/msgraph_beta/generated/models/azure_user.py +++ b/msgraph_beta/generated/models/azure_user.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .azure_identity import AzureIdentity + diff --git a/msgraph_beta/generated/models/b2c_authentication_methods_policy.py b/msgraph_beta/generated/models/b2c_authentication_methods_policy.py index bf8fd461e29..47ac89f9212 100644 --- a/msgraph_beta/generated/models/b2c_authentication_methods_policy.py +++ b/msgraph_beta/generated/models/b2c_authentication_methods_policy.py @@ -57,6 +57,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_bool_value("isEmailPasswordAuthenticationEnabled", self.is_email_password_authentication_enabled) writer.write_bool_value("isPhoneOneTimePasswordAuthenticationEnabled", self.is_phone_one_time_password_authentication_enabled) writer.write_bool_value("isUserNameAuthenticationEnabled", self.is_user_name_authentication_enabled) diff --git a/msgraph_beta/generated/models/b2c_identity_user_flow.py b/msgraph_beta/generated/models/b2c_identity_user_flow.py index 4b37138ae63..52847242dc5 100644 --- a/msgraph_beta/generated/models/b2c_identity_user_flow.py +++ b/msgraph_beta/generated/models/b2c_identity_user_flow.py @@ -84,6 +84,13 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .identity_provider import IdentityProvider + from .identity_provider_base import IdentityProviderBase + from .identity_user_flow import IdentityUserFlow + from .identity_user_flow_attribute_assignment import IdentityUserFlowAttributeAssignment + from .user_flow_api_connector_configuration import UserFlowApiConnectorConfiguration + from .user_flow_language_configuration import UserFlowLanguageConfiguration + writer.write_object_value("apiConnectorConfiguration", self.api_connector_configuration) writer.write_str_value("defaultLanguageTag", self.default_language_tag) writer.write_collection_of_object_values("identityProviders", self.identity_providers) diff --git a/msgraph_beta/generated/models/b2c_identity_user_flow_collection_response.py b/msgraph_beta/generated/models/b2c_identity_user_flow_collection_response.py index 61899651ff9..e755ffd6f37 100644 --- a/msgraph_beta/generated/models/b2c_identity_user_flow_collection_response.py +++ b/msgraph_beta/generated/models/b2c_identity_user_flow_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .b2c_identity_user_flow import B2cIdentityUserFlow + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/b2x_identity_user_flow.py b/msgraph_beta/generated/models/b2x_identity_user_flow.py index 5dd3da0828a..c5a39c2c93e 100644 --- a/msgraph_beta/generated/models/b2x_identity_user_flow.py +++ b/msgraph_beta/generated/models/b2x_identity_user_flow.py @@ -78,6 +78,13 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .identity_provider import IdentityProvider + from .identity_provider_base import IdentityProviderBase + from .identity_user_flow import IdentityUserFlow + from .identity_user_flow_attribute_assignment import IdentityUserFlowAttributeAssignment + from .user_flow_api_connector_configuration import UserFlowApiConnectorConfiguration + from .user_flow_language_configuration import UserFlowLanguageConfiguration + writer.write_object_value("apiConnectorConfiguration", self.api_connector_configuration) writer.write_collection_of_object_values("identityProviders", self.identity_providers) writer.write_collection_of_object_values("languages", self.languages) diff --git a/msgraph_beta/generated/models/b2x_identity_user_flow_collection_response.py b/msgraph_beta/generated/models/b2x_identity_user_flow_collection_response.py index 44c2c4afea6..2e2eabe5866 100644 --- a/msgraph_beta/generated/models/b2x_identity_user_flow_collection_response.py +++ b/msgraph_beta/generated/models/b2x_identity_user_flow_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .b2x_identity_user_flow import B2xIdentityUserFlow + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/backup_restore_root.py b/msgraph_beta/generated/models/backup_restore_root.py index 36bfa2a5c31..eb2817e0027 100644 --- a/msgraph_beta/generated/models/backup_restore_root.py +++ b/msgraph_beta/generated/models/backup_restore_root.py @@ -174,6 +174,29 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .drive_protection_rule import DriveProtectionRule + from .drive_protection_unit import DriveProtectionUnit + from .drive_protection_units_bulk_addition_job import DriveProtectionUnitsBulkAdditionJob + from .entity import Entity + from .exchange_protection_policy import ExchangeProtectionPolicy + from .exchange_restore_session import ExchangeRestoreSession + from .mailbox_protection_rule import MailboxProtectionRule + from .mailbox_protection_unit import MailboxProtectionUnit + from .mailbox_protection_units_bulk_addition_job import MailboxProtectionUnitsBulkAdditionJob + from .one_drive_for_business_protection_policy import OneDriveForBusinessProtectionPolicy + from .one_drive_for_business_restore_session import OneDriveForBusinessRestoreSession + from .protection_policy_base import ProtectionPolicyBase + from .protection_unit_base import ProtectionUnitBase + from .restore_point import RestorePoint + from .restore_session_base import RestoreSessionBase + from .service_app import ServiceApp + from .service_status import ServiceStatus + from .share_point_protection_policy import SharePointProtectionPolicy + from .share_point_restore_session import SharePointRestoreSession + from .site_protection_rule import SiteProtectionRule + from .site_protection_unit import SiteProtectionUnit + from .site_protection_units_bulk_addition_job import SiteProtectionUnitsBulkAdditionJob + writer.write_collection_of_object_values("driveInclusionRules", self.drive_inclusion_rules) writer.write_collection_of_object_values("driveProtectionUnits", self.drive_protection_units) writer.write_collection_of_object_values("driveProtectionUnitsBulkAdditionJobs", self.drive_protection_units_bulk_addition_jobs) diff --git a/msgraph_beta/generated/models/base_end_user_notification.py b/msgraph_beta/generated/models/base_end_user_notification.py index b540816c653..ff8e6144dd8 100644 --- a/msgraph_beta/generated/models/base_end_user_notification.py +++ b/msgraph_beta/generated/models/base_end_user_notification.py @@ -34,7 +34,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> BaseEndUserNotific if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.positiveReinforcementNotification".casefold(): @@ -81,6 +82,11 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .end_user_notification import EndUserNotification + from .positive_reinforcement_notification import PositiveReinforcementNotification + from .simulation_notification import SimulationNotification + from .training_reminder_notification import TrainingReminderNotification + writer.write_str_value("defaultLanguage", self.default_language) writer.write_object_value("endUserNotification", self.end_user_notification) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/base_item.py b/msgraph_beta/generated/models/base_item.py index 9c40ef2b21c..da28fa45681 100644 --- a/msgraph_beta/generated/models/base_item.py +++ b/msgraph_beta/generated/models/base_item.py @@ -62,7 +62,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> BaseItem: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.baseSitePage".casefold(): @@ -186,6 +187,24 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_site_page import BaseSitePage + from .drive import Drive + from .drive_item import DriveItem + from .entity import Entity + from .identity_set import IdentitySet + from .item_reference import ItemReference + from .list_ import List_ + from .list_item import ListItem + from .news_link_page import NewsLinkPage + from .page_template import PageTemplate + from .recycle_bin import RecycleBin + from .recycle_bin_item import RecycleBinItem + from .shared_drive_item import SharedDriveItem + from .site import Site + from .site_page import SitePage + from .user import User + from .video_news_link_page import VideoNewsLinkPage + writer.write_object_value("createdBy", self.created_by) writer.write_object_value("createdByUser", self.created_by_user) writer.write_datetime_value("createdDateTime", self.created_date_time) diff --git a/msgraph_beta/generated/models/base_item_collection_response.py b/msgraph_beta/generated/models/base_item_collection_response.py index 7a20daa6fe9..8b0e7d73c5d 100644 --- a/msgraph_beta/generated/models/base_item_collection_response.py +++ b/msgraph_beta/generated/models/base_item_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .base_item import BaseItem + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/base_item_version.py b/msgraph_beta/generated/models/base_item_version.py index f16d76db87d..06f5794fb8e 100644 --- a/msgraph_beta/generated/models/base_item_version.py +++ b/msgraph_beta/generated/models/base_item_version.py @@ -35,7 +35,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> BaseItemVersion: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.documentSetVersion".casefold(): @@ -89,6 +90,13 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .document_set_version import DocumentSetVersion + from .drive_item_version import DriveItemVersion + from .entity import Entity + from .identity_set import IdentitySet + from .list_item_version import ListItemVersion + from .publication_facet import PublicationFacet + writer.write_object_value("lastModifiedBy", self.last_modified_by) writer.write_datetime_value("lastModifiedDateTime", self.last_modified_date_time) writer.write_object_value("publication", self.publication) diff --git a/msgraph_beta/generated/models/base_site_page.py b/msgraph_beta/generated/models/base_site_page.py index f7a3ebb72e6..1460b045d1c 100644 --- a/msgraph_beta/generated/models/base_site_page.py +++ b/msgraph_beta/generated/models/base_site_page.py @@ -35,7 +35,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> BaseSitePage: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.newsLinkPage".casefold(): @@ -95,6 +96,14 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_item import BaseItem + from .news_link_page import NewsLinkPage + from .page_layout_type import PageLayoutType + from .page_template import PageTemplate + from .publication_facet import PublicationFacet + from .site_page import SitePage + from .video_news_link_page import VideoNewsLinkPage + writer.write_enum_value("pageLayout", self.page_layout) writer.write_object_value("publishingState", self.publishing_state) writer.write_str_value("title", self.title) diff --git a/msgraph_beta/generated/models/base_site_page_collection_response.py b/msgraph_beta/generated/models/base_site_page_collection_response.py index 9f277a2f84c..dc6d201c9b1 100644 --- a/msgraph_beta/generated/models/base_site_page_collection_response.py +++ b/msgraph_beta/generated/models/base_site_page_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .base_site_page import BaseSitePage + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/basic_authentication.py b/msgraph_beta/generated/models/basic_authentication.py index b9fa366c697..b452df2ef4e 100644 --- a/msgraph_beta/generated/models/basic_authentication.py +++ b/msgraph_beta/generated/models/basic_authentication.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .api_authentication_configuration_base import ApiAuthenticationConfigurationBase + writer.write_str_value("password", self.password) writer.write_str_value("username", self.username) diff --git a/msgraph_beta/generated/models/bit_locker_fixed_drive_policy.py b/msgraph_beta/generated/models/bit_locker_fixed_drive_policy.py index 8ea2f9ce39a..e4cc161ae52 100644 --- a/msgraph_beta/generated/models/bit_locker_fixed_drive_policy.py +++ b/msgraph_beta/generated/models/bit_locker_fixed_drive_policy.py @@ -65,6 +65,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .bit_locker_encryption_method import BitLockerEncryptionMethod + from .bit_locker_recovery_options import BitLockerRecoveryOptions + writer.write_enum_value("encryptionMethod", self.encryption_method) writer.write_str_value("@odata.type", self.odata_type) writer.write_object_value("recoveryOptions", self.recovery_options) diff --git a/msgraph_beta/generated/models/bit_locker_recovery_options.py b/msgraph_beta/generated/models/bit_locker_recovery_options.py index bf0fb9c0fcc..69e47404a24 100644 --- a/msgraph_beta/generated/models/bit_locker_recovery_options.py +++ b/msgraph_beta/generated/models/bit_locker_recovery_options.py @@ -77,6 +77,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .bit_locker_recovery_information_type import BitLockerRecoveryInformationType + from .configuration_usage import ConfigurationUsage + writer.write_bool_value("blockDataRecoveryAgent", self.block_data_recovery_agent) writer.write_bool_value("enableBitLockerAfterRecoveryInformationToStore", self.enable_bit_locker_after_recovery_information_to_store) writer.write_bool_value("enableRecoveryInformationSaveToStore", self.enable_recovery_information_save_to_store) diff --git a/msgraph_beta/generated/models/bit_locker_removable_drive_policy.py b/msgraph_beta/generated/models/bit_locker_removable_drive_policy.py index ea47e7b8e05..7e439bc2d62 100644 --- a/msgraph_beta/generated/models/bit_locker_removable_drive_policy.py +++ b/msgraph_beta/generated/models/bit_locker_removable_drive_policy.py @@ -62,6 +62,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .bit_locker_encryption_method import BitLockerEncryptionMethod + writer.write_bool_value("blockCrossOrganizationWriteAccess", self.block_cross_organization_write_access) writer.write_enum_value("encryptionMethod", self.encryption_method) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/bit_locker_system_drive_policy.py b/msgraph_beta/generated/models/bit_locker_system_drive_policy.py index 9846195b0ab..a5365622b57 100644 --- a/msgraph_beta/generated/models/bit_locker_system_drive_policy.py +++ b/msgraph_beta/generated/models/bit_locker_system_drive_policy.py @@ -95,6 +95,10 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .bit_locker_encryption_method import BitLockerEncryptionMethod + from .bit_locker_recovery_options import BitLockerRecoveryOptions + from .configuration_usage import ConfigurationUsage + writer.write_enum_value("encryptionMethod", self.encryption_method) writer.write_int_value("minimumPinLength", self.minimum_pin_length) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/bitlocker.py b/msgraph_beta/generated/models/bitlocker.py index 956951494a4..41f39e5a0f7 100644 --- a/msgraph_beta/generated/models/bitlocker.py +++ b/msgraph_beta/generated/models/bitlocker.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .bitlocker_recovery_key import BitlockerRecoveryKey + from .entity import Entity + writer.write_collection_of_object_values("recoveryKeys", self.recovery_keys) diff --git a/msgraph_beta/generated/models/bitlocker_recovery_key.py b/msgraph_beta/generated/models/bitlocker_recovery_key.py index 93a024181b3..0353f37411f 100644 --- a/msgraph_beta/generated/models/bitlocker_recovery_key.py +++ b/msgraph_beta/generated/models/bitlocker_recovery_key.py @@ -64,6 +64,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .volume_type import VolumeType + writer.write_datetime_value("createdDateTime", self.created_date_time) writer.write_str_value("deviceId", self.device_id) writer.write_str_value("key", self.key) diff --git a/msgraph_beta/generated/models/bitlocker_recovery_key_collection_response.py b/msgraph_beta/generated/models/bitlocker_recovery_key_collection_response.py index bd509360af2..2eb156b19b8 100644 --- a/msgraph_beta/generated/models/bitlocker_recovery_key_collection_response.py +++ b/msgraph_beta/generated/models/bitlocker_recovery_key_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .bitlocker_recovery_key import BitlockerRecoveryKey + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/block_access_action.py b/msgraph_beta/generated/models/block_access_action.py index 59793d5bb60..25f98f0a21a 100644 --- a/msgraph_beta/generated/models/block_access_action.py +++ b/msgraph_beta/generated/models/block_access_action.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .dlp_action_info import DlpActionInfo + diff --git a/msgraph_beta/generated/models/booking_appointment.py b/msgraph_beta/generated/models/booking_appointment.py index 2a00fb24453..bd9a934c8b9 100644 --- a/msgraph_beta/generated/models/booking_appointment.py +++ b/msgraph_beta/generated/models/booking_appointment.py @@ -190,6 +190,14 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .booking_customer_information_base import BookingCustomerInformationBase + from .booking_invoice_status import BookingInvoiceStatus + from .booking_price_type import BookingPriceType + from .booking_reminder import BookingReminder + from .date_time_time_zone import DateTimeTimeZone + from .entity import Entity + from .location import Location + writer.write_str_value("additionalInformation", self.additional_information) writer.write_str_value("anonymousJoinWebUrl", self.anonymous_join_web_url) writer.write_str_value("appointmentLabel", self.appointment_label) diff --git a/msgraph_beta/generated/models/booking_appointment_collection_response.py b/msgraph_beta/generated/models/booking_appointment_collection_response.py index 5ff6798a035..63d1d4037dd 100644 --- a/msgraph_beta/generated/models/booking_appointment_collection_response.py +++ b/msgraph_beta/generated/models/booking_appointment_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .booking_appointment import BookingAppointment + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/booking_business.py b/msgraph_beta/generated/models/booking_business.py index 09ad34739d3..34457dcd2a1 100644 --- a/msgraph_beta/generated/models/booking_business.py +++ b/msgraph_beta/generated/models/booking_business.py @@ -139,6 +139,17 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .booking_appointment import BookingAppointment + from .booking_customer import BookingCustomer + from .booking_custom_question import BookingCustomQuestion + from .booking_named_entity import BookingNamedEntity + from .booking_page_settings import BookingPageSettings + from .booking_scheduling_policy import BookingSchedulingPolicy + from .booking_service import BookingService + from .booking_staff_member import BookingStaffMember + from .booking_work_hours import BookingWorkHours + from .physical_address import PhysicalAddress + writer.write_object_value("address", self.address) writer.write_collection_of_object_values("appointments", self.appointments) writer.write_object_value("bookingPageSettings", self.booking_page_settings) diff --git a/msgraph_beta/generated/models/booking_business_collection_response.py b/msgraph_beta/generated/models/booking_business_collection_response.py index 0d9f09aeab4..d914cf83f26 100644 --- a/msgraph_beta/generated/models/booking_business_collection_response.py +++ b/msgraph_beta/generated/models/booking_business_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .booking_business import BookingBusiness + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/booking_currency.py b/msgraph_beta/generated/models/booking_currency.py index f0a84820d45..7e35f560db8 100644 --- a/msgraph_beta/generated/models/booking_currency.py +++ b/msgraph_beta/generated/models/booking_currency.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_str_value("symbol", self.symbol) diff --git a/msgraph_beta/generated/models/booking_currency_collection_response.py b/msgraph_beta/generated/models/booking_currency_collection_response.py index 6218d029e95..7328e4a711c 100644 --- a/msgraph_beta/generated/models/booking_currency_collection_response.py +++ b/msgraph_beta/generated/models/booking_currency_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .booking_currency import BookingCurrency + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/booking_custom_question.py b/msgraph_beta/generated/models/booking_custom_question.py index 1df348d5508..45588f0b79d 100644 --- a/msgraph_beta/generated/models/booking_custom_question.py +++ b/msgraph_beta/generated/models/booking_custom_question.py @@ -70,6 +70,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .answer_input_type import AnswerInputType + from .entity import Entity + writer.write_enum_value("answerInputType", self.answer_input_type) writer.write_collection_of_primitive_values("answerOptions", self.answer_options) writer.write_datetime_value("createdDateTime", self.created_date_time) diff --git a/msgraph_beta/generated/models/booking_custom_question_collection_response.py b/msgraph_beta/generated/models/booking_custom_question_collection_response.py index 449c5cd8966..9767c82181a 100644 --- a/msgraph_beta/generated/models/booking_custom_question_collection_response.py +++ b/msgraph_beta/generated/models/booking_custom_question_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .booking_custom_question import BookingCustomQuestion + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/booking_customer.py b/msgraph_beta/generated/models/booking_customer.py index 7ca8b18ab51..1261e1ef41f 100644 --- a/msgraph_beta/generated/models/booking_customer.py +++ b/msgraph_beta/generated/models/booking_customer.py @@ -70,6 +70,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .booking_person import BookingPerson + from .phone import Phone + from .physical_address import PhysicalAddress + writer.write_collection_of_object_values("addresses", self.addresses) writer.write_datetime_value("createdDateTime", self.created_date_time) writer.write_datetime_value("lastUpdatedDateTime", self.last_updated_date_time) diff --git a/msgraph_beta/generated/models/booking_customer_collection_response.py b/msgraph_beta/generated/models/booking_customer_collection_response.py index 22b3911fe70..c365f5edd82 100644 --- a/msgraph_beta/generated/models/booking_customer_collection_response.py +++ b/msgraph_beta/generated/models/booking_customer_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .booking_customer import BookingCustomer + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/booking_customer_information.py b/msgraph_beta/generated/models/booking_customer_information.py index dba0fc25d5c..e44a67747cb 100644 --- a/msgraph_beta/generated/models/booking_customer_information.py +++ b/msgraph_beta/generated/models/booking_customer_information.py @@ -81,6 +81,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .booking_customer_information_base import BookingCustomerInformationBase + from .booking_question_answer import BookingQuestionAnswer + from .location import Location + writer.write_collection_of_object_values("customQuestionAnswers", self.custom_question_answers) writer.write_str_value("customerId", self.customer_id) writer.write_str_value("emailAddress", self.email_address) diff --git a/msgraph_beta/generated/models/booking_customer_information_base.py b/msgraph_beta/generated/models/booking_customer_information_base.py index 26d189707cd..8303a1aaa85 100644 --- a/msgraph_beta/generated/models/booking_customer_information_base.py +++ b/msgraph_beta/generated/models/booking_customer_information_base.py @@ -27,7 +27,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> BookingCustomerInf if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.bookingCustomerInformation".casefold(): @@ -58,6 +59,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .booking_customer_information import BookingCustomerInformation + writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/booking_named_entity.py b/msgraph_beta/generated/models/booking_named_entity.py index a4348f8a3d2..a7dd74a742c 100644 --- a/msgraph_beta/generated/models/booking_named_entity.py +++ b/msgraph_beta/generated/models/booking_named_entity.py @@ -33,7 +33,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> BookingNamedEntity if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.bookingBusiness".casefold(): @@ -93,6 +94,13 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .booking_business import BookingBusiness + from .booking_customer import BookingCustomer + from .booking_person import BookingPerson + from .booking_service import BookingService + from .booking_staff_member import BookingStaffMember + from .entity import Entity + writer.write_str_value("displayName", self.display_name) diff --git a/msgraph_beta/generated/models/booking_page_settings.py b/msgraph_beta/generated/models/booking_page_settings.py index dfb94ecc8b1..bc416776201 100644 --- a/msgraph_beta/generated/models/booking_page_settings.py +++ b/msgraph_beta/generated/models/booking_page_settings.py @@ -83,6 +83,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .booking_page_access_control import BookingPageAccessControl + writer.write_enum_value("accessControl", self.access_control) writer.write_str_value("bookingPageColorCode", self.booking_page_color_code) writer.write_str_value("businessTimeZone", self.business_time_zone) diff --git a/msgraph_beta/generated/models/booking_person.py b/msgraph_beta/generated/models/booking_person.py index 025ff78b14e..2c88a39e4bc 100644 --- a/msgraph_beta/generated/models/booking_person.py +++ b/msgraph_beta/generated/models/booking_person.py @@ -30,7 +30,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> BookingPerson: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.bookingCustomer".casefold(): @@ -72,6 +73,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .booking_customer import BookingCustomer + from .booking_named_entity import BookingNamedEntity + from .booking_staff_member import BookingStaffMember + writer.write_str_value("emailAddress", self.email_address) diff --git a/msgraph_beta/generated/models/booking_question_answer.py b/msgraph_beta/generated/models/booking_question_answer.py index 67d4aaa438a..fb878730ef2 100644 --- a/msgraph_beta/generated/models/booking_question_answer.py +++ b/msgraph_beta/generated/models/booking_question_answer.py @@ -71,6 +71,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .answer_input_type import AnswerInputType + writer.write_str_value("answer", self.answer) writer.write_enum_value("answerInputType", self.answer_input_type) writer.write_collection_of_primitive_values("answerOptions", self.answer_options) diff --git a/msgraph_beta/generated/models/booking_reminder.py b/msgraph_beta/generated/models/booking_reminder.py index cce39a19c5d..b51a24a8d82 100644 --- a/msgraph_beta/generated/models/booking_reminder.py +++ b/msgraph_beta/generated/models/booking_reminder.py @@ -63,6 +63,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .booking_reminder_recipients import BookingReminderRecipients + writer.write_str_value("message", self.message) writer.write_str_value("@odata.type", self.odata_type) writer.write_timedelta_value("offset", self.offset) diff --git a/msgraph_beta/generated/models/booking_scheduling_policy.py b/msgraph_beta/generated/models/booking_scheduling_policy.py index c90f93f0366..8db2b1e4705 100644 --- a/msgraph_beta/generated/models/booking_scheduling_policy.py +++ b/msgraph_beta/generated/models/booking_scheduling_policy.py @@ -81,6 +81,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .bookings_availability import BookingsAvailability + from .bookings_availability_window import BookingsAvailabilityWindow + writer.write_bool_value("allowStaffSelection", self.allow_staff_selection) writer.write_collection_of_object_values("customAvailabilities", self.custom_availabilities) writer.write_object_value("generalAvailability", self.general_availability) diff --git a/msgraph_beta/generated/models/booking_service.py b/msgraph_beta/generated/models/booking_service.py index 3e5661d2887..982a2df7172 100644 --- a/msgraph_beta/generated/models/booking_service.py +++ b/msgraph_beta/generated/models/booking_service.py @@ -136,6 +136,13 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .booking_named_entity import BookingNamedEntity + from .booking_price_type import BookingPriceType + from .booking_question_assignment import BookingQuestionAssignment + from .booking_reminder import BookingReminder + from .booking_scheduling_policy import BookingSchedulingPolicy + from .location import Location + writer.write_str_value("additionalInformation", self.additional_information) writer.write_datetime_value("createdDateTime", self.created_date_time) writer.write_collection_of_object_values("customQuestions", self.custom_questions) diff --git a/msgraph_beta/generated/models/booking_service_collection_response.py b/msgraph_beta/generated/models/booking_service_collection_response.py index 3eb2c5815ab..e1c06fc0862 100644 --- a/msgraph_beta/generated/models/booking_service_collection_response.py +++ b/msgraph_beta/generated/models/booking_service_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .booking_service import BookingService + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/booking_staff_member.py b/msgraph_beta/generated/models/booking_staff_member.py index c2383979603..1f21f380c2f 100644 --- a/msgraph_beta/generated/models/booking_staff_member.py +++ b/msgraph_beta/generated/models/booking_staff_member.py @@ -91,6 +91,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .booking_person import BookingPerson + from .booking_staff_membership_status import BookingStaffMembershipStatus + from .booking_staff_role import BookingStaffRole + from .booking_work_hours import BookingWorkHours + writer.write_bool_value("availabilityIsAffectedByPersonalCalendar", self.availability_is_affected_by_personal_calendar) writer.write_int_value("colorIndex", self.color_index) writer.write_datetime_value("createdDateTime", self.created_date_time) diff --git a/msgraph_beta/generated/models/booking_staff_member_collection_response.py b/msgraph_beta/generated/models/booking_staff_member_collection_response.py index 500e80a6096..b78b77d3980 100644 --- a/msgraph_beta/generated/models/booking_staff_member_collection_response.py +++ b/msgraph_beta/generated/models/booking_staff_member_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .booking_staff_member import BookingStaffMember + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/booking_work_hours.py b/msgraph_beta/generated/models/booking_work_hours.py index 4139bcddd02..1e1cc72134c 100644 --- a/msgraph_beta/generated/models/booking_work_hours.py +++ b/msgraph_beta/generated/models/booking_work_hours.py @@ -62,6 +62,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .booking_work_time_slot import BookingWorkTimeSlot + from .day_of_week import DayOfWeek + writer.write_enum_value("day", self.day) writer.write_str_value("@odata.type", self.odata_type) writer.write_collection_of_object_values("timeSlots", self.time_slots) diff --git a/msgraph_beta/generated/models/bookings_availability.py b/msgraph_beta/generated/models/bookings_availability.py index a5eb9fa2e4a..c5179517633 100644 --- a/msgraph_beta/generated/models/bookings_availability.py +++ b/msgraph_beta/generated/models/bookings_availability.py @@ -33,7 +33,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> BookingsAvailabili if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.bookingsAvailabilityWindow".casefold(): @@ -70,6 +71,10 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .bookings_availability_window import BookingsAvailabilityWindow + from .bookings_service_availability_type import BookingsServiceAvailabilityType + from .booking_work_hours import BookingWorkHours + writer.write_enum_value("availabilityType", self.availability_type) writer.write_collection_of_object_values("businessHours", self.business_hours) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/bookings_availability_window.py b/msgraph_beta/generated/models/bookings_availability_window.py index 98e90a7174b..178eb0accc8 100644 --- a/msgraph_beta/generated/models/bookings_availability_window.py +++ b/msgraph_beta/generated/models/bookings_availability_window.py @@ -55,6 +55,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .bookings_availability import BookingsAvailability + writer.write_date_value("endDate", self.end_date) writer.write_date_value("startDate", self.start_date) diff --git a/msgraph_beta/generated/models/broadcast_meeting_settings.py b/msgraph_beta/generated/models/broadcast_meeting_settings.py index 83ec2c52245..61c21ce8b56 100644 --- a/msgraph_beta/generated/models/broadcast_meeting_settings.py +++ b/msgraph_beta/generated/models/broadcast_meeting_settings.py @@ -71,6 +71,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .broadcast_meeting_audience import BroadcastMeetingAudience + from .broadcast_meeting_caption_settings import BroadcastMeetingCaptionSettings + writer.write_enum_value("allowedAudience", self.allowed_audience) writer.write_object_value("captions", self.captions) writer.write_bool_value("isAttendeeReportEnabled", self.is_attendee_report_enabled) diff --git a/msgraph_beta/generated/models/browser_shared_cookie.py b/msgraph_beta/generated/models/browser_shared_cookie.py index d6a222a41b4..bdaee0cc0ca 100644 --- a/msgraph_beta/generated/models/browser_shared_cookie.py +++ b/msgraph_beta/generated/models/browser_shared_cookie.py @@ -97,6 +97,12 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .browser_shared_cookie_history import BrowserSharedCookieHistory + from .browser_shared_cookie_source_environment import BrowserSharedCookieSourceEnvironment + from .browser_shared_cookie_status import BrowserSharedCookieStatus + from .entity import Entity + from .identity_set import IdentitySet + writer.write_str_value("comment", self.comment) writer.write_datetime_value("createdDateTime", self.created_date_time) writer.write_datetime_value("deletedDateTime", self.deleted_date_time) diff --git a/msgraph_beta/generated/models/browser_shared_cookie_collection_response.py b/msgraph_beta/generated/models/browser_shared_cookie_collection_response.py index ceb809aae25..4f3a560fe22 100644 --- a/msgraph_beta/generated/models/browser_shared_cookie_collection_response.py +++ b/msgraph_beta/generated/models/browser_shared_cookie_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .browser_shared_cookie import BrowserSharedCookie + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/browser_shared_cookie_history.py b/msgraph_beta/generated/models/browser_shared_cookie_history.py index 967cc6a34c9..8a9804c2a07 100644 --- a/msgraph_beta/generated/models/browser_shared_cookie_history.py +++ b/msgraph_beta/generated/models/browser_shared_cookie_history.py @@ -78,6 +78,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .browser_shared_cookie_source_environment import BrowserSharedCookieSourceEnvironment + from .identity_set import IdentitySet + writer.write_str_value("comment", self.comment) writer.write_str_value("displayName", self.display_name) writer.write_bool_value("hostOnly", self.host_only) diff --git a/msgraph_beta/generated/models/browser_site.py b/msgraph_beta/generated/models/browser_site.py index 28ef19b3883..b0be06c42c6 100644 --- a/msgraph_beta/generated/models/browser_site.py +++ b/msgraph_beta/generated/models/browser_site.py @@ -106,6 +106,14 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .browser_site_compatibility_mode import BrowserSiteCompatibilityMode + from .browser_site_history import BrowserSiteHistory + from .browser_site_merge_type import BrowserSiteMergeType + from .browser_site_status import BrowserSiteStatus + from .browser_site_target_environment import BrowserSiteTargetEnvironment + from .entity import Entity + from .identity_set import IdentitySet + writer.write_bool_value("allowRedirect", self.allow_redirect) writer.write_str_value("comment", self.comment) writer.write_enum_value("compatibilityMode", self.compatibility_mode) diff --git a/msgraph_beta/generated/models/browser_site_collection_response.py b/msgraph_beta/generated/models/browser_site_collection_response.py index 5ad56c22185..e6c66cf7941 100644 --- a/msgraph_beta/generated/models/browser_site_collection_response.py +++ b/msgraph_beta/generated/models/browser_site_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .browser_site import BrowserSite + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/browser_site_history.py b/msgraph_beta/generated/models/browser_site_history.py index b41803676fc..f20f7901335 100644 --- a/msgraph_beta/generated/models/browser_site_history.py +++ b/msgraph_beta/generated/models/browser_site_history.py @@ -84,6 +84,11 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .browser_site_compatibility_mode import BrowserSiteCompatibilityMode + from .browser_site_merge_type import BrowserSiteMergeType + from .browser_site_target_environment import BrowserSiteTargetEnvironment + from .identity_set import IdentitySet + writer.write_bool_value("allowRedirect", self.allow_redirect) writer.write_str_value("comment", self.comment) writer.write_enum_value("compatibilityMode", self.compatibility_mode) diff --git a/msgraph_beta/generated/models/browser_site_list.py b/msgraph_beta/generated/models/browser_site_list.py index 24d0f0fbdc3..d413554bc20 100644 --- a/msgraph_beta/generated/models/browser_site_list.py +++ b/msgraph_beta/generated/models/browser_site_list.py @@ -94,6 +94,12 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .browser_shared_cookie import BrowserSharedCookie + from .browser_site import BrowserSite + from .browser_site_list_status import BrowserSiteListStatus + from .entity import Entity + from .identity_set import IdentitySet + writer.write_str_value("description", self.description) writer.write_str_value("displayName", self.display_name) writer.write_object_value("lastModifiedBy", self.last_modified_by) diff --git a/msgraph_beta/generated/models/browser_site_list_collection_response.py b/msgraph_beta/generated/models/browser_site_list_collection_response.py index 20d6c386360..32513f6f350 100644 --- a/msgraph_beta/generated/models/browser_site_list_collection_response.py +++ b/msgraph_beta/generated/models/browser_site_list_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .browser_site_list import BrowserSiteList + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/bucket_aggregation_definition.py b/msgraph_beta/generated/models/bucket_aggregation_definition.py index 15db7218e79..7b3b5f08e6e 100644 --- a/msgraph_beta/generated/models/bucket_aggregation_definition.py +++ b/msgraph_beta/generated/models/bucket_aggregation_definition.py @@ -68,6 +68,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .bucket_aggregation_range import BucketAggregationRange + from .bucket_aggregation_sort_property import BucketAggregationSortProperty + writer.write_bool_value("isDescending", self.is_descending) writer.write_int_value("minimumCount", self.minimum_count) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/built_in_identity_provider.py b/msgraph_beta/generated/models/built_in_identity_provider.py index 57d0d0efd2c..269fabd7771 100644 --- a/msgraph_beta/generated/models/built_in_identity_provider.py +++ b/msgraph_beta/generated/models/built_in_identity_provider.py @@ -57,6 +57,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .identity_provider_base import IdentityProviderBase + from .identity_provider_state import IdentityProviderState + writer.write_str_value("identityProviderType", self.identity_provider_type) writer.write_enum_value("state", self.state) diff --git a/msgraph_beta/generated/models/bulk_upload.py b/msgraph_beta/generated/models/bulk_upload.py index c92a29c96f0..bb00c55b636 100644 --- a/msgraph_beta/generated/models/bulk_upload.py +++ b/msgraph_beta/generated/models/bulk_upload.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + diff --git a/msgraph_beta/generated/models/bundle.py b/msgraph_beta/generated/models/bundle.py index a6e9f760e57..cd7bf1c095a 100644 --- a/msgraph_beta/generated/models/bundle.py +++ b/msgraph_beta/generated/models/bundle.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .album import Album + writer.write_object_value("album", self.album) writer.write_int_value("childCount", self.child_count) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/business_flow.py b/msgraph_beta/generated/models/business_flow.py index 5c8ef680a7a..6a5b66d422b 100644 --- a/msgraph_beta/generated/models/business_flow.py +++ b/msgraph_beta/generated/models/business_flow.py @@ -81,6 +81,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .business_flow_settings import BusinessFlowSettings + from .entity import Entity + from .governance_policy import GovernancePolicy + writer.write_str_value("customData", self.custom_data) writer.write_str_value("deDuplicationId", self.de_duplication_id) writer.write_str_value("description", self.description) diff --git a/msgraph_beta/generated/models/business_flow_collection_response.py b/msgraph_beta/generated/models/business_flow_collection_response.py index ea000f490bd..8c776ab7323 100644 --- a/msgraph_beta/generated/models/business_flow_collection_response.py +++ b/msgraph_beta/generated/models/business_flow_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .business_flow import BusinessFlow + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/business_flow_settings.py b/msgraph_beta/generated/models/business_flow_settings.py index e55594ef9fe..7ed615b9612 100644 --- a/msgraph_beta/generated/models/business_flow_settings.py +++ b/msgraph_beta/generated/models/business_flow_settings.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .access_review_settings import AccessReviewSettings + writer.write_int_value("durationInDays", self.duration_in_days) diff --git a/msgraph_beta/generated/models/business_flow_template.py b/msgraph_beta/generated/models/business_flow_template.py index 6c48d7a387e..0568dcae14b 100644 --- a/msgraph_beta/generated/models/business_flow_template.py +++ b/msgraph_beta/generated/models/business_flow_template.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_str_value("displayName", self.display_name) diff --git a/msgraph_beta/generated/models/business_flow_template_collection_response.py b/msgraph_beta/generated/models/business_flow_template_collection_response.py index c77536f4cc7..09ecd0f3c07 100644 --- a/msgraph_beta/generated/models/business_flow_template_collection_response.py +++ b/msgraph_beta/generated/models/business_flow_template_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .business_flow_template import BusinessFlowTemplate + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/business_scenario.py b/msgraph_beta/generated/models/business_scenario.py index aabc32f3403..85a551df12e 100644 --- a/msgraph_beta/generated/models/business_scenario.py +++ b/msgraph_beta/generated/models/business_scenario.py @@ -79,6 +79,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .business_scenario_planner import BusinessScenarioPlanner + from .entity import Entity + from .identity_set import IdentitySet + writer.write_object_value("createdBy", self.created_by) writer.write_datetime_value("createdDateTime", self.created_date_time) writer.write_str_value("displayName", self.display_name) diff --git a/msgraph_beta/generated/models/business_scenario_collection_response.py b/msgraph_beta/generated/models/business_scenario_collection_response.py index f6959865cb4..b81cdba132d 100644 --- a/msgraph_beta/generated/models/business_scenario_collection_response.py +++ b/msgraph_beta/generated/models/business_scenario_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .business_scenario import BusinessScenario + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/business_scenario_group_target.py b/msgraph_beta/generated/models/business_scenario_group_target.py index ae5a4d5fa5a..91804dbd262 100644 --- a/msgraph_beta/generated/models/business_scenario_group_target.py +++ b/msgraph_beta/generated/models/business_scenario_group_target.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .business_scenario_task_target_base import BusinessScenarioTaskTargetBase + writer.write_str_value("groupId", self.group_id) diff --git a/msgraph_beta/generated/models/business_scenario_plan_reference.py b/msgraph_beta/generated/models/business_scenario_plan_reference.py index 46054e0faf0..cb22810a950 100644 --- a/msgraph_beta/generated/models/business_scenario_plan_reference.py +++ b/msgraph_beta/generated/models/business_scenario_plan_reference.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_str_value("title", self.title) diff --git a/msgraph_beta/generated/models/business_scenario_planner.py b/msgraph_beta/generated/models/business_scenario_planner.py index b8d6929ee71..9a0e0e84e46 100644 --- a/msgraph_beta/generated/models/business_scenario_planner.py +++ b/msgraph_beta/generated/models/business_scenario_planner.py @@ -66,6 +66,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .business_scenario_task import BusinessScenarioTask + from .entity import Entity + from .planner_plan_configuration import PlannerPlanConfiguration + from .planner_task_configuration import PlannerTaskConfiguration + writer.write_object_value("planConfiguration", self.plan_configuration) writer.write_object_value("taskConfiguration", self.task_configuration) writer.write_collection_of_object_values("tasks", self.tasks) diff --git a/msgraph_beta/generated/models/business_scenario_task.py b/msgraph_beta/generated/models/business_scenario_task.py index 46a8d8cc5e2..0edeb1f8434 100644 --- a/msgraph_beta/generated/models/business_scenario_task.py +++ b/msgraph_beta/generated/models/business_scenario_task.py @@ -60,6 +60,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .business_scenario_properties import BusinessScenarioProperties + from .business_scenario_task_target_base import BusinessScenarioTaskTargetBase + from .planner_task import PlannerTask + writer.write_object_value("businessScenarioProperties", self.business_scenario_properties) writer.write_object_value("target", self.target) diff --git a/msgraph_beta/generated/models/business_scenario_task_collection_response.py b/msgraph_beta/generated/models/business_scenario_task_collection_response.py index 999c6987c38..cee24bd4e60 100644 --- a/msgraph_beta/generated/models/business_scenario_task_collection_response.py +++ b/msgraph_beta/generated/models/business_scenario_task_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .business_scenario_task import BusinessScenarioTask + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/business_scenario_task_target_base.py b/msgraph_beta/generated/models/business_scenario_task_target_base.py index d5940dda055..07db8a9657b 100644 --- a/msgraph_beta/generated/models/business_scenario_task_target_base.py +++ b/msgraph_beta/generated/models/business_scenario_task_target_base.py @@ -30,7 +30,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> BusinessScenarioTa if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.businessScenarioGroupTarget".casefold(): @@ -64,6 +65,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .business_scenario_group_target import BusinessScenarioGroupTarget + from .planner_task_target_kind import PlannerTaskTargetKind + writer.write_str_value("@odata.type", self.odata_type) writer.write_enum_value("taskTargetKind", self.task_target_kind) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/calendar.py b/msgraph_beta/generated/models/calendar.py index b0c3d07c5c8..e844f83e0ea 100644 --- a/msgraph_beta/generated/models/calendar.py +++ b/msgraph_beta/generated/models/calendar.py @@ -132,6 +132,15 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .calendar_color import CalendarColor + from .calendar_permission import CalendarPermission + from .email_address import EmailAddress + from .entity import Entity + from .event import Event + from .multi_value_legacy_extended_property import MultiValueLegacyExtendedProperty + from .online_meeting_provider_type import OnlineMeetingProviderType + from .single_value_legacy_extended_property import SingleValueLegacyExtendedProperty + writer.write_collection_of_enum_values("allowedOnlineMeetingProviders", self.allowed_online_meeting_providers) writer.write_str_value("calendarGroupId", self.calendar_group_id) writer.write_collection_of_object_values("calendarPermissions", self.calendar_permissions) diff --git a/msgraph_beta/generated/models/calendar_collection_response.py b/msgraph_beta/generated/models/calendar_collection_response.py index d0adae76251..21b8e599000 100644 --- a/msgraph_beta/generated/models/calendar_collection_response.py +++ b/msgraph_beta/generated/models/calendar_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .calendar import Calendar + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/calendar_group.py b/msgraph_beta/generated/models/calendar_group.py index 3adc2c25efc..a4515113009 100644 --- a/msgraph_beta/generated/models/calendar_group.py +++ b/msgraph_beta/generated/models/calendar_group.py @@ -64,6 +64,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .calendar import Calendar + from .entity import Entity + writer.write_collection_of_object_values("calendars", self.calendars) writer.write_str_value("changeKey", self.change_key) writer.write_uuid_value("classId", self.class_id) diff --git a/msgraph_beta/generated/models/calendar_group_collection_response.py b/msgraph_beta/generated/models/calendar_group_collection_response.py index c5da20f8a6e..e654d66dc39 100644 --- a/msgraph_beta/generated/models/calendar_group_collection_response.py +++ b/msgraph_beta/generated/models/calendar_group_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .calendar_group import CalendarGroup + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/calendar_permission.py b/msgraph_beta/generated/models/calendar_permission.py index e4ecdb7b4f7..8e22008dcc0 100644 --- a/msgraph_beta/generated/models/calendar_permission.py +++ b/msgraph_beta/generated/models/calendar_permission.py @@ -69,6 +69,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .calendar_role_type import CalendarRoleType + from .email_address import EmailAddress + from .entity import Entity + writer.write_collection_of_enum_values("allowedRoles", self.allowed_roles) writer.write_object_value("emailAddress", self.email_address) writer.write_bool_value("isInsideOrganization", self.is_inside_organization) diff --git a/msgraph_beta/generated/models/calendar_permission_collection_response.py b/msgraph_beta/generated/models/calendar_permission_collection_response.py index d62997f40d9..32aa58771d0 100644 --- a/msgraph_beta/generated/models/calendar_permission_collection_response.py +++ b/msgraph_beta/generated/models/calendar_permission_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .calendar_permission import CalendarPermission + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/calendar_sharing_message.py b/msgraph_beta/generated/models/calendar_sharing_message.py index 729975d4d0a..b0d3cfbafcb 100644 --- a/msgraph_beta/generated/models/calendar_sharing_message.py +++ b/msgraph_beta/generated/models/calendar_sharing_message.py @@ -63,6 +63,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .calendar_sharing_message_action import CalendarSharingMessageAction + from .message import Message + writer.write_bool_value("canAccept", self.can_accept) writer.write_object_value("sharingMessageAction", self.sharing_message_action) writer.write_collection_of_object_values("sharingMessageActions", self.sharing_message_actions) diff --git a/msgraph_beta/generated/models/calendar_sharing_message_action.py b/msgraph_beta/generated/models/calendar_sharing_message_action.py index dc0e2eb63ab..cee382e79bb 100644 --- a/msgraph_beta/generated/models/calendar_sharing_message_action.py +++ b/msgraph_beta/generated/models/calendar_sharing_message_action.py @@ -65,6 +65,10 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .calendar_sharing_action import CalendarSharingAction + from .calendar_sharing_action_importance import CalendarSharingActionImportance + from .calendar_sharing_action_type import CalendarSharingActionType + writer.write_enum_value("action", self.action) writer.write_enum_value("actionType", self.action_type) writer.write_enum_value("importance", self.importance) diff --git a/msgraph_beta/generated/models/call.py b/msgraph_beta/generated/models/call.py index 6942fb0756e..153c0eec344 100644 --- a/msgraph_beta/generated/models/call.py +++ b/msgraph_beta/generated/models/call.py @@ -201,6 +201,29 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audio_routing_group import AudioRoutingGroup + from .call_direction import CallDirection + from .call_media_state import CallMediaState + from .call_options import CallOptions + from .call_route import CallRoute + from .call_state import CallState + from .call_transcription_info import CallTranscriptionInfo + from .chat_info import ChatInfo + from .comms_operation import CommsOperation + from .content_sharing_session import ContentSharingSession + from .entity import Entity + from .incoming_context import IncomingContext + from .invitation_participant_info import InvitationParticipantInfo + from .media_config import MediaConfig + from .meeting_capability import MeetingCapability + from .meeting_info import MeetingInfo + from .modality import Modality + from .participant import Participant + from .participant_info import ParticipantInfo + from .result_info import ResultInfo + from .routing_policy import RoutingPolicy + from .tone_info import ToneInfo + writer.write_collection_of_enum_values("activeModalities", self.active_modalities) writer.write_object_value("answeredBy", self.answered_by) writer.write_collection_of_object_values("audioRoutingGroups", self.audio_routing_groups) diff --git a/msgraph_beta/generated/models/call_activity_statistics.py b/msgraph_beta/generated/models/call_activity_statistics.py index 898d5f5012e..0204e1ad3fe 100644 --- a/msgraph_beta/generated/models/call_activity_statistics.py +++ b/msgraph_beta/generated/models/call_activity_statistics.py @@ -52,6 +52,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .activity_statistics import ActivityStatistics + writer.write_timedelta_value("afterHours", self.after_hours) diff --git a/msgraph_beta/generated/models/call_ai_insight.py b/msgraph_beta/generated/models/call_ai_insight.py index cae552b6b73..6d0a245272b 100644 --- a/msgraph_beta/generated/models/call_ai_insight.py +++ b/msgraph_beta/generated/models/call_ai_insight.py @@ -79,6 +79,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .action_item import ActionItem + from .call_ai_insight_view_point import CallAiInsightViewPoint + from .entity import Entity + from .meeting_note import MeetingNote + writer.write_collection_of_object_values("actionItems", self.action_items) writer.write_str_value("callId", self.call_id) writer.write_str_value("contentCorrelationId", self.content_correlation_id) diff --git a/msgraph_beta/generated/models/call_ai_insight_collection_response.py b/msgraph_beta/generated/models/call_ai_insight_collection_response.py index d3e66309c10..c0de19f18cd 100644 --- a/msgraph_beta/generated/models/call_ai_insight_collection_response.py +++ b/msgraph_beta/generated/models/call_ai_insight_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .call_ai_insight import CallAiInsight + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/call_ai_insight_view_point.py b/msgraph_beta/generated/models/call_ai_insight_view_point.py index 4ff9d833153..1ba9b632632 100644 --- a/msgraph_beta/generated/models/call_ai_insight_view_point.py +++ b/msgraph_beta/generated/models/call_ai_insight_view_point.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .mention_event import MentionEvent + writer.write_collection_of_object_values("mentionEvents", self.mention_events) writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/call_collection_response.py b/msgraph_beta/generated/models/call_collection_response.py index 0f42ec7f219..02dd94186c3 100644 --- a/msgraph_beta/generated/models/call_collection_response.py +++ b/msgraph_beta/generated/models/call_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .call import Call + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/call_ended_event_message_detail.py b/msgraph_beta/generated/models/call_ended_event_message_detail.py index 88893cf9bcd..0f2a1c540c6 100644 --- a/msgraph_beta/generated/models/call_ended_event_message_detail.py +++ b/msgraph_beta/generated/models/call_ended_event_message_detail.py @@ -73,6 +73,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .call_participant_info import CallParticipantInfo + from .event_message_detail import EventMessageDetail + from .identity_set import IdentitySet + from .teamwork_call_event_type import TeamworkCallEventType + writer.write_timedelta_value("callDuration", self.call_duration) writer.write_enum_value("callEventType", self.call_event_type) writer.write_str_value("callId", self.call_id) diff --git a/msgraph_beta/generated/models/call_event.py b/msgraph_beta/generated/models/call_event.py index 6c34639d5b5..5499ffca466 100644 --- a/msgraph_beta/generated/models/call_event.py +++ b/msgraph_beta/generated/models/call_event.py @@ -33,7 +33,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> CallEvent: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.emergencyCallEvent".casefold(): @@ -75,6 +76,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .call_event_type import CallEventType + from .emergency_call_event import EmergencyCallEvent + from .entity import Entity + from .participant import Participant + writer.write_enum_value("callEventType", self.call_event_type) writer.write_datetime_value("eventDateTime", self.event_date_time) writer.write_collection_of_object_values("participants", self.participants) diff --git a/msgraph_beta/generated/models/call_media_state.py b/msgraph_beta/generated/models/call_media_state.py index ff757e79113..4837b3637a6 100644 --- a/msgraph_beta/generated/models/call_media_state.py +++ b/msgraph_beta/generated/models/call_media_state.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .media_state import MediaState + writer.write_enum_value("audio", self.audio) writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/call_options.py b/msgraph_beta/generated/models/call_options.py index bd5e7d1e76d..7b80002e1fd 100644 --- a/msgraph_beta/generated/models/call_options.py +++ b/msgraph_beta/generated/models/call_options.py @@ -34,7 +34,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> CallOptions: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.incomingCallOptions".casefold(): @@ -74,6 +75,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .incoming_call_options import IncomingCallOptions + from .outgoing_call_options import OutgoingCallOptions + writer.write_bool_value("hideBotAfterEscalation", self.hide_bot_after_escalation) writer.write_bool_value("isContentSharingNotificationEnabled", self.is_content_sharing_notification_enabled) writer.write_bool_value("isDeltaRosterEnabled", self.is_delta_roster_enabled) diff --git a/msgraph_beta/generated/models/call_participant_info.py b/msgraph_beta/generated/models/call_participant_info.py index 72acf30eb6b..7e0a6222e6d 100644 --- a/msgraph_beta/generated/models/call_participant_info.py +++ b/msgraph_beta/generated/models/call_participant_info.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .identity_set import IdentitySet + writer.write_str_value("@odata.type", self.odata_type) writer.write_object_value("participant", self.participant) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/call_recording.py b/msgraph_beta/generated/models/call_recording.py index 48edb24b892..e85c5e3418f 100644 --- a/msgraph_beta/generated/models/call_recording.py +++ b/msgraph_beta/generated/models/call_recording.py @@ -76,6 +76,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .identity_set import IdentitySet + writer.write_str_value("callId", self.call_id) writer.write_bytes_value("content", self.content) writer.write_str_value("contentCorrelationId", self.content_correlation_id) diff --git a/msgraph_beta/generated/models/call_recording_collection_response.py b/msgraph_beta/generated/models/call_recording_collection_response.py index 938033e7f4d..2efb1a45695 100644 --- a/msgraph_beta/generated/models/call_recording_collection_response.py +++ b/msgraph_beta/generated/models/call_recording_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .call_recording import CallRecording + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/call_recording_event_message_detail.py b/msgraph_beta/generated/models/call_recording_event_message_detail.py index 2f75960e598..4c71d902ac2 100644 --- a/msgraph_beta/generated/models/call_recording_event_message_detail.py +++ b/msgraph_beta/generated/models/call_recording_event_message_detail.py @@ -76,6 +76,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .call_recording_status import CallRecordingStatus + from .event_message_detail import EventMessageDetail + from .identity_set import IdentitySet + writer.write_str_value("callId", self.call_id) writer.write_str_value("callRecordingDisplayName", self.call_recording_display_name) writer.write_timedelta_value("callRecordingDuration", self.call_recording_duration) diff --git a/msgraph_beta/generated/models/call_records/call_log_row.py b/msgraph_beta/generated/models/call_records/call_log_row.py index d21f38b0f79..e2b282dde18 100644 --- a/msgraph_beta/generated/models/call_records/call_log_row.py +++ b/msgraph_beta/generated/models/call_records/call_log_row.py @@ -42,7 +42,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> CallLogRow: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.callRecords.directRoutingLogRow".casefold(): @@ -93,6 +94,11 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .administrative_unit_info import AdministrativeUnitInfo + from .direct_routing_log_row import DirectRoutingLogRow + from .pstn_call_log_row import PstnCallLogRow + from .sms_log_row import SmsLogRow + writer.write_collection_of_object_values("administrativeUnitInfos", self.administrative_unit_infos) writer.write_str_value("id", self.id) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/call_records/call_record.py b/msgraph_beta/generated/models/call_records/call_record.py index 41d545ac52e..2f5a27e1e17 100644 --- a/msgraph_beta/generated/models/call_records/call_record.py +++ b/msgraph_beta/generated/models/call_records/call_record.py @@ -103,6 +103,14 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + from ..identity_set import IdentitySet + from .call_type import CallType + from .modality import Modality + from .organizer import Organizer + from .participant import Participant + from .session import Session + writer.write_datetime_value("endDateTime", self.end_date_time) writer.write_str_value("joinWebUrl", self.join_web_url) writer.write_datetime_value("lastModifiedDateTime", self.last_modified_date_time) diff --git a/msgraph_beta/generated/models/call_records/call_record_collection_response.py b/msgraph_beta/generated/models/call_records/call_record_collection_response.py index 1056c2b6bf2..5d96dd734ad 100644 --- a/msgraph_beta/generated/models/call_records/call_record_collection_response.py +++ b/msgraph_beta/generated/models/call_records/call_record_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .call_record import CallRecord + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/call_records/client_user_agent.py b/msgraph_beta/generated/models/call_records/client_user_agent.py index ed4db3da619..5a251396764 100644 --- a/msgraph_beta/generated/models/call_records/client_user_agent.py +++ b/msgraph_beta/generated/models/call_records/client_user_agent.py @@ -66,6 +66,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .client_platform import ClientPlatform + from .product_family import ProductFamily + from .user_agent import UserAgent + writer.write_str_value("azureADAppId", self.azure_a_d_app_id) writer.write_str_value("communicationServiceId", self.communication_service_id) writer.write_enum_value("platform", self.platform) diff --git a/msgraph_beta/generated/models/call_records/direct_routing_log_row.py b/msgraph_beta/generated/models/call_records/direct_routing_log_row.py index 9d3347cc2d8..0fc776e8e71 100644 --- a/msgraph_beta/generated/models/call_records/direct_routing_log_row.py +++ b/msgraph_beta/generated/models/call_records/direct_routing_log_row.py @@ -106,6 +106,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .call_log_row import CallLogRow + writer.write_int_value("callEndSubReason", self.call_end_sub_reason) writer.write_str_value("callType", self.call_type) writer.write_str_value("calleeNumber", self.callee_number) diff --git a/msgraph_beta/generated/models/call_records/endpoint.py b/msgraph_beta/generated/models/call_records/endpoint.py index 1276a176669..340efca4ebf 100644 --- a/msgraph_beta/generated/models/call_records/endpoint.py +++ b/msgraph_beta/generated/models/call_records/endpoint.py @@ -31,7 +31,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> Endpoint: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.callRecords.participantEndpoint".casefold(): @@ -71,6 +72,10 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .participant_endpoint import ParticipantEndpoint + from .service_endpoint import ServiceEndpoint + from .user_agent import UserAgent + writer.write_str_value("@odata.type", self.odata_type) writer.write_object_value("userAgent", self.user_agent) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/call_records/failure_info.py b/msgraph_beta/generated/models/call_records/failure_info.py index 0a67f5e57b8..23c742b073f 100644 --- a/msgraph_beta/generated/models/call_records/failure_info.py +++ b/msgraph_beta/generated/models/call_records/failure_info.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .failure_stage import FailureStage + writer.write_str_value("@odata.type", self.odata_type) writer.write_str_value("reason", self.reason) writer.write_enum_value("stage", self.stage) diff --git a/msgraph_beta/generated/models/call_records/media.py b/msgraph_beta/generated/models/call_records/media.py index c3488f64b03..dc50e02952c 100644 --- a/msgraph_beta/generated/models/call_records/media.py +++ b/msgraph_beta/generated/models/call_records/media.py @@ -74,6 +74,10 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .device_info import DeviceInfo + from .media_stream import MediaStream + from .network_info import NetworkInfo + writer.write_object_value("calleeDevice", self.callee_device) writer.write_object_value("calleeNetwork", self.callee_network) writer.write_object_value("callerDevice", self.caller_device) diff --git a/msgraph_beta/generated/models/call_records/media_stream.py b/msgraph_beta/generated/models/call_records/media_stream.py index 500ef78e69b..edaf2ff0b23 100644 --- a/msgraph_beta/generated/models/call_records/media_stream.py +++ b/msgraph_beta/generated/models/call_records/media_stream.py @@ -147,6 +147,10 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .audio_codec import AudioCodec + from .media_stream_direction import MediaStreamDirection + from .video_codec import VideoCodec + writer.write_enum_value("audioCodec", self.audio_codec) writer.write_float_value("averageAudioDegradation", self.average_audio_degradation) writer.write_timedelta_value("averageAudioNetworkJitter", self.average_audio_network_jitter) diff --git a/msgraph_beta/generated/models/call_records/network_info.py b/msgraph_beta/generated/models/call_records/network_info.py index ffcae7cb3e9..75326090f34 100644 --- a/msgraph_beta/generated/models/call_records/network_info.py +++ b/msgraph_beta/generated/models/call_records/network_info.py @@ -140,6 +140,12 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .network_connection_type import NetworkConnectionType + from .network_transport_protocol import NetworkTransportProtocol + from .trace_route_hop import TraceRouteHop + from .wifi_band import WifiBand + from .wifi_radio_type import WifiRadioType + writer.write_float_value("bandwidthLowEventRatio", self.bandwidth_low_event_ratio) writer.write_str_value("basicServiceSetIdentifier", self.basic_service_set_identifier) writer.write_enum_value("connectionType", self.connection_type) diff --git a/msgraph_beta/generated/models/call_records/organizer.py b/msgraph_beta/generated/models/call_records/organizer.py index 2387001084f..bdd871729c8 100644 --- a/msgraph_beta/generated/models/call_records/organizer.py +++ b/msgraph_beta/generated/models/call_records/organizer.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .participant_base import ParticipantBase + diff --git a/msgraph_beta/generated/models/call_records/participant.py b/msgraph_beta/generated/models/call_records/participant.py index 80e8a85126d..086582eb334 100644 --- a/msgraph_beta/generated/models/call_records/participant.py +++ b/msgraph_beta/generated/models/call_records/participant.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .participant_base import ParticipantBase + diff --git a/msgraph_beta/generated/models/call_records/participant_base.py b/msgraph_beta/generated/models/call_records/participant_base.py index f8b83faecd8..5cea675eb26 100644 --- a/msgraph_beta/generated/models/call_records/participant_base.py +++ b/msgraph_beta/generated/models/call_records/participant_base.py @@ -31,7 +31,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> ParticipantBase: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.callRecords.organizer".casefold(): @@ -78,6 +79,12 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..communications_identity_set import CommunicationsIdentitySet + from ..entity import Entity + from .administrative_unit_info import AdministrativeUnitInfo + from .organizer import Organizer + from .participant import Participant + writer.write_collection_of_object_values("administrativeUnitInfos", self.administrative_unit_infos) writer.write_object_value("identity", self.identity) diff --git a/msgraph_beta/generated/models/call_records/participant_collection_response.py b/msgraph_beta/generated/models/call_records/participant_collection_response.py index 5df156dbfe2..cea1ad755a7 100644 --- a/msgraph_beta/generated/models/call_records/participant_collection_response.py +++ b/msgraph_beta/generated/models/call_records/participant_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .participant import Participant + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/call_records/participant_endpoint.py b/msgraph_beta/generated/models/call_records/participant_endpoint.py index afa220e8f6f..fdd67dfb421 100644 --- a/msgraph_beta/generated/models/call_records/participant_endpoint.py +++ b/msgraph_beta/generated/models/call_records/participant_endpoint.py @@ -78,6 +78,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..identity import Identity + from ..identity_set import IdentitySet + from .endpoint import Endpoint + from .user_feedback import UserFeedback + writer.write_object_value("associatedIdentity", self.associated_identity) writer.write_int_value("cpuCoresCount", self.cpu_cores_count) writer.write_str_value("cpuName", self.cpu_name) diff --git a/msgraph_beta/generated/models/call_records/pstn_blocked_users_log_row.py b/msgraph_beta/generated/models/call_records/pstn_blocked_users_log_row.py index c26970727e9..ae68f3fe5d4 100644 --- a/msgraph_beta/generated/models/call_records/pstn_blocked_users_log_row.py +++ b/msgraph_beta/generated/models/call_records/pstn_blocked_users_log_row.py @@ -75,6 +75,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .pstn_user_block_mode import PstnUserBlockMode + writer.write_datetime_value("blockDateTime", self.block_date_time) writer.write_str_value("blockReason", self.block_reason) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/call_records/pstn_call_log_row.py b/msgraph_beta/generated/models/call_records/pstn_call_log_row.py index 60b26abd2f9..8b49cbf0946 100644 --- a/msgraph_beta/generated/models/call_records/pstn_call_log_row.py +++ b/msgraph_beta/generated/models/call_records/pstn_call_log_row.py @@ -121,6 +121,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .call_log_row import CallLogRow + from .pstn_call_duration_source import PstnCallDurationSource + writer.write_enum_value("callDurationSource", self.call_duration_source) writer.write_str_value("callId", self.call_id) writer.write_str_value("callType", self.call_type) diff --git a/msgraph_beta/generated/models/call_records/segment.py b/msgraph_beta/generated/models/call_records/segment.py index 94972242f53..238d95db282 100644 --- a/msgraph_beta/generated/models/call_records/segment.py +++ b/msgraph_beta/generated/models/call_records/segment.py @@ -76,6 +76,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + from .endpoint import Endpoint + from .failure_info import FailureInfo + from .media import Media + writer.write_object_value("callee", self.callee) writer.write_object_value("caller", self.caller) writer.write_datetime_value("endDateTime", self.end_date_time) diff --git a/msgraph_beta/generated/models/call_records/segment_collection_response.py b/msgraph_beta/generated/models/call_records/segment_collection_response.py index 906cb143e88..3f74e370928 100644 --- a/msgraph_beta/generated/models/call_records/segment_collection_response.py +++ b/msgraph_beta/generated/models/call_records/segment_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .segment import Segment + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/call_records/service_endpoint.py b/msgraph_beta/generated/models/call_records/service_endpoint.py index 3b887f4f8f2..cf6be0a524e 100644 --- a/msgraph_beta/generated/models/call_records/service_endpoint.py +++ b/msgraph_beta/generated/models/call_records/service_endpoint.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .endpoint import Endpoint + diff --git a/msgraph_beta/generated/models/call_records/service_user_agent.py b/msgraph_beta/generated/models/call_records/service_user_agent.py index 1d5719a2896..1b44c9c8756 100644 --- a/msgraph_beta/generated/models/call_records/service_user_agent.py +++ b/msgraph_beta/generated/models/call_records/service_user_agent.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .service_role import ServiceRole + from .user_agent import UserAgent + writer.write_enum_value("role", self.role) diff --git a/msgraph_beta/generated/models/call_records/session.py b/msgraph_beta/generated/models/call_records/session.py index b3ce718a30e..8529bb396af 100644 --- a/msgraph_beta/generated/models/call_records/session.py +++ b/msgraph_beta/generated/models/call_records/session.py @@ -85,6 +85,12 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + from .endpoint import Endpoint + from .failure_info import FailureInfo + from .modality import Modality + from .segment import Segment + writer.write_object_value("callee", self.callee) writer.write_object_value("caller", self.caller) writer.write_datetime_value("endDateTime", self.end_date_time) diff --git a/msgraph_beta/generated/models/call_records/session_collection_response.py b/msgraph_beta/generated/models/call_records/session_collection_response.py index 66f7caa5f69..6bb4b7b6e8b 100644 --- a/msgraph_beta/generated/models/call_records/session_collection_response.py +++ b/msgraph_beta/generated/models/call_records/session_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .session import Session + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/call_records/sms_log_row.py b/msgraph_beta/generated/models/call_records/sms_log_row.py index dca7d8bee2b..6c7361ff57b 100644 --- a/msgraph_beta/generated/models/call_records/sms_log_row.py +++ b/msgraph_beta/generated/models/call_records/sms_log_row.py @@ -88,6 +88,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .call_log_row import CallLogRow + writer.write_float_value("callCharge", self.call_charge) writer.write_str_value("currency", self.currency) writer.write_str_value("destinationContext", self.destination_context) diff --git a/msgraph_beta/generated/models/call_records/user_agent.py b/msgraph_beta/generated/models/call_records/user_agent.py index 25a27977264..3e171b8f18d 100644 --- a/msgraph_beta/generated/models/call_records/user_agent.py +++ b/msgraph_beta/generated/models/call_records/user_agent.py @@ -32,7 +32,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> UserAgent: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.callRecords.clientUserAgent".casefold(): @@ -71,6 +72,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .client_user_agent import ClientUserAgent + from .service_user_agent import ServiceUserAgent + writer.write_str_value("applicationVersion", self.application_version) writer.write_str_value("headerValue", self.header_value) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/call_records/user_feedback.py b/msgraph_beta/generated/models/call_records/user_feedback.py index b233ce8c8bd..950d05298cd 100644 --- a/msgraph_beta/generated/models/call_records/user_feedback.py +++ b/msgraph_beta/generated/models/call_records/user_feedback.py @@ -62,6 +62,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .feedback_token_set import FeedbackTokenSet + from .user_feedback_rating import UserFeedbackRating + writer.write_str_value("@odata.type", self.odata_type) writer.write_enum_value("rating", self.rating) writer.write_str_value("text", self.text) diff --git a/msgraph_beta/generated/models/call_records/user_identity.py b/msgraph_beta/generated/models/call_records/user_identity.py index e285f8293e6..b98f6ba73a7 100644 --- a/msgraph_beta/generated/models/call_records/user_identity.py +++ b/msgraph_beta/generated/models/call_records/user_identity.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..identity import Identity + writer.write_str_value("userPrincipalName", self.user_principal_name) diff --git a/msgraph_beta/generated/models/call_route.py b/msgraph_beta/generated/models/call_route.py index 803c82eae0a..33f09a10c93 100644 --- a/msgraph_beta/generated/models/call_route.py +++ b/msgraph_beta/generated/models/call_route.py @@ -62,6 +62,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .identity_set import IdentitySet + from .routing_type import RoutingType + writer.write_object_value("final", self.final) writer.write_str_value("@odata.type", self.odata_type) writer.write_object_value("original", self.original) diff --git a/msgraph_beta/generated/models/call_started_event_message_detail.py b/msgraph_beta/generated/models/call_started_event_message_detail.py index c330801f39f..50e8af78891 100644 --- a/msgraph_beta/generated/models/call_started_event_message_detail.py +++ b/msgraph_beta/generated/models/call_started_event_message_detail.py @@ -63,6 +63,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .event_message_detail import EventMessageDetail + from .identity_set import IdentitySet + from .teamwork_call_event_type import TeamworkCallEventType + writer.write_enum_value("callEventType", self.call_event_type) writer.write_str_value("callId", self.call_id) writer.write_object_value("initiator", self.initiator) diff --git a/msgraph_beta/generated/models/call_transcript.py b/msgraph_beta/generated/models/call_transcript.py index 4a4e5a27369..5e04266a978 100644 --- a/msgraph_beta/generated/models/call_transcript.py +++ b/msgraph_beta/generated/models/call_transcript.py @@ -79,6 +79,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .identity_set import IdentitySet + writer.write_str_value("callId", self.call_id) writer.write_bytes_value("content", self.content) writer.write_str_value("contentCorrelationId", self.content_correlation_id) diff --git a/msgraph_beta/generated/models/call_transcript_collection_response.py b/msgraph_beta/generated/models/call_transcript_collection_response.py index f662aa06b00..01fd54bb447 100644 --- a/msgraph_beta/generated/models/call_transcript_collection_response.py +++ b/msgraph_beta/generated/models/call_transcript_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .call_transcript import CallTranscript + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/call_transcript_event_message_detail.py b/msgraph_beta/generated/models/call_transcript_event_message_detail.py index 69b059aedf9..af2e2143820 100644 --- a/msgraph_beta/generated/models/call_transcript_event_message_detail.py +++ b/msgraph_beta/generated/models/call_transcript_event_message_detail.py @@ -60,6 +60,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .event_message_detail import EventMessageDetail + from .identity_set import IdentitySet + writer.write_str_value("callId", self.call_id) writer.write_str_value("callTranscriptICalUid", self.call_transcript_i_cal_uid) writer.write_object_value("meetingOrganizer", self.meeting_organizer) diff --git a/msgraph_beta/generated/models/call_transcription_info.py b/msgraph_beta/generated/models/call_transcription_info.py index 01bd889707a..8ecfc5d63a1 100644 --- a/msgraph_beta/generated/models/call_transcription_info.py +++ b/msgraph_beta/generated/models/call_transcription_info.py @@ -57,6 +57,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .call_transcription_state import CallTranscriptionState + writer.write_datetime_value("lastModifiedDateTime", self.last_modified_date_time) writer.write_str_value("@odata.type", self.odata_type) writer.write_enum_value("state", self.state) diff --git a/msgraph_beta/generated/models/campaign_schedule.py b/msgraph_beta/generated/models/campaign_schedule.py index a33fb63f73b..1db3fe173c8 100644 --- a/msgraph_beta/generated/models/campaign_schedule.py +++ b/msgraph_beta/generated/models/campaign_schedule.py @@ -60,6 +60,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .campaign_status import CampaignStatus + writer.write_datetime_value("completionDateTime", self.completion_date_time) writer.write_datetime_value("launchDateTime", self.launch_date_time) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/cancel_media_processing_operation.py b/msgraph_beta/generated/models/cancel_media_processing_operation.py index d93e45d9102..04307bc68fd 100644 --- a/msgraph_beta/generated/models/cancel_media_processing_operation.py +++ b/msgraph_beta/generated/models/cancel_media_processing_operation.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .comms_operation import CommsOperation + diff --git a/msgraph_beta/generated/models/canvas_layout.py b/msgraph_beta/generated/models/canvas_layout.py index 93bc5757e61..6b97d899bbf 100644 --- a/msgraph_beta/generated/models/canvas_layout.py +++ b/msgraph_beta/generated/models/canvas_layout.py @@ -60,6 +60,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .horizontal_section import HorizontalSection + from .vertical_section import VerticalSection + writer.write_collection_of_object_values("horizontalSections", self.horizontal_sections) writer.write_object_value("verticalSection", self.vertical_section) diff --git a/msgraph_beta/generated/models/cart_to_class_association.py b/msgraph_beta/generated/models/cart_to_class_association.py index 5765863bb66..f546586c271 100644 --- a/msgraph_beta/generated/models/cart_to_class_association.py +++ b/msgraph_beta/generated/models/cart_to_class_association.py @@ -73,6 +73,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_collection_of_primitive_values("classroomIds", self.classroom_ids) writer.write_datetime_value("createdDateTime", self.created_date_time) writer.write_str_value("description", self.description) diff --git a/msgraph_beta/generated/models/cart_to_class_association_collection_response.py b/msgraph_beta/generated/models/cart_to_class_association_collection_response.py index 844212a56e6..e76e7e3d306 100644 --- a/msgraph_beta/generated/models/cart_to_class_association_collection_response.py +++ b/msgraph_beta/generated/models/cart_to_class_association_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .cart_to_class_association import CartToClassAssociation + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/certificate_authority_as_entity.py b/msgraph_beta/generated/models/certificate_authority_as_entity.py index 36f4de1c44f..539b1b46325 100644 --- a/msgraph_beta/generated/models/certificate_authority_as_entity.py +++ b/msgraph_beta/generated/models/certificate_authority_as_entity.py @@ -60,6 +60,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_bytes_value("certificate", self.certificate) writer.write_bool_value("isRootAuthority", self.is_root_authority) writer.write_str_value("issuer", self.issuer) diff --git a/msgraph_beta/generated/models/certificate_authority_as_entity_collection_response.py b/msgraph_beta/generated/models/certificate_authority_as_entity_collection_response.py index 16e30b3aa22..d015d69531b 100644 --- a/msgraph_beta/generated/models/certificate_authority_as_entity_collection_response.py +++ b/msgraph_beta/generated/models/certificate_authority_as_entity_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .certificate_authority_as_entity import CertificateAuthorityAsEntity + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/certificate_authority_detail.py b/msgraph_beta/generated/models/certificate_authority_detail.py index bffb988451d..37878b0d188 100644 --- a/msgraph_beta/generated/models/certificate_authority_detail.py +++ b/msgraph_beta/generated/models/certificate_authority_detail.py @@ -85,6 +85,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .certificate_authority_type import CertificateAuthorityType + from .directory_object import DirectoryObject + writer.write_bytes_value("certificate", self.certificate) writer.write_enum_value("certificateAuthorityType", self.certificate_authority_type) writer.write_str_value("certificateRevocationListUrl", self.certificate_revocation_list_url) diff --git a/msgraph_beta/generated/models/certificate_authority_detail_collection_response.py b/msgraph_beta/generated/models/certificate_authority_detail_collection_response.py index 408d3f62011..b5c31d53d09 100644 --- a/msgraph_beta/generated/models/certificate_authority_detail_collection_response.py +++ b/msgraph_beta/generated/models/certificate_authority_detail_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .certificate_authority_detail import CertificateAuthorityDetail + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/certificate_authority_path.py b/msgraph_beta/generated/models/certificate_authority_path.py index b90260baeea..340804e3fa9 100644 --- a/msgraph_beta/generated/models/certificate_authority_path.py +++ b/msgraph_beta/generated/models/certificate_authority_path.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .certificate_based_application_configuration import CertificateBasedApplicationConfiguration + from .entity import Entity + writer.write_collection_of_object_values("certificateBasedApplicationConfigurations", self.certificate_based_application_configurations) diff --git a/msgraph_beta/generated/models/certificate_based_application_configuration.py b/msgraph_beta/generated/models/certificate_based_application_configuration.py index 50c50d3e4b3..1abaa047a54 100644 --- a/msgraph_beta/generated/models/certificate_based_application_configuration.py +++ b/msgraph_beta/generated/models/certificate_based_application_configuration.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .trusted_certificate_authority_as_entity_base import TrustedCertificateAuthorityAsEntityBase + writer.write_str_value("description", self.description) writer.write_str_value("displayName", self.display_name) diff --git a/msgraph_beta/generated/models/certificate_based_application_configuration_collection_response.py b/msgraph_beta/generated/models/certificate_based_application_configuration_collection_response.py index e4edf7117e7..491a56682ac 100644 --- a/msgraph_beta/generated/models/certificate_based_application_configuration_collection_response.py +++ b/msgraph_beta/generated/models/certificate_based_application_configuration_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .certificate_based_application_configuration import CertificateBasedApplicationConfiguration + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/certificate_based_auth_configuration.py b/msgraph_beta/generated/models/certificate_based_auth_configuration.py index 3ce9cee0440..940366d0cf7 100644 --- a/msgraph_beta/generated/models/certificate_based_auth_configuration.py +++ b/msgraph_beta/generated/models/certificate_based_auth_configuration.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .certificate_authority import CertificateAuthority + from .entity import Entity + writer.write_collection_of_object_values("certificateAuthorities", self.certificate_authorities) diff --git a/msgraph_beta/generated/models/certificate_based_auth_configuration_collection_response.py b/msgraph_beta/generated/models/certificate_based_auth_configuration_collection_response.py index e3ddbaae9c9..2996e8f4f63 100644 --- a/msgraph_beta/generated/models/certificate_based_auth_configuration_collection_response.py +++ b/msgraph_beta/generated/models/certificate_based_auth_configuration_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .certificate_based_auth_configuration import CertificateBasedAuthConfiguration + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/certificate_based_auth_pki.py b/msgraph_beta/generated/models/certificate_based_auth_pki.py index 10d2bea96f5..aca4b429763 100644 --- a/msgraph_beta/generated/models/certificate_based_auth_pki.py +++ b/msgraph_beta/generated/models/certificate_based_auth_pki.py @@ -67,6 +67,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .certificate_authority_detail import CertificateAuthorityDetail + from .directory_object import DirectoryObject + writer.write_collection_of_object_values("certificateAuthorities", self.certificate_authorities) writer.write_str_value("displayName", self.display_name) writer.write_datetime_value("lastModifiedDateTime", self.last_modified_date_time) diff --git a/msgraph_beta/generated/models/certificate_based_auth_pki_collection_response.py b/msgraph_beta/generated/models/certificate_based_auth_pki_collection_response.py index 10a542ec135..bacfb4a4cf9 100644 --- a/msgraph_beta/generated/models/certificate_based_auth_pki_collection_response.py +++ b/msgraph_beta/generated/models/certificate_based_auth_pki_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .certificate_based_auth_pki import CertificateBasedAuthPki + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/certificate_connector_details.py b/msgraph_beta/generated/models/certificate_connector_details.py index 5fa3ad14b9a..8777398ae5c 100644 --- a/msgraph_beta/generated/models/certificate_connector_details.py +++ b/msgraph_beta/generated/models/certificate_connector_details.py @@ -67,6 +67,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_str_value("connectorName", self.connector_name) writer.write_str_value("connectorVersion", self.connector_version) writer.write_datetime_value("enrollmentDateTime", self.enrollment_date_time) diff --git a/msgraph_beta/generated/models/certificate_connector_details_collection_response.py b/msgraph_beta/generated/models/certificate_connector_details_collection_response.py index 48abfb547a0..7144eb7fb3f 100644 --- a/msgraph_beta/generated/models/certificate_connector_details_collection_response.py +++ b/msgraph_beta/generated/models/certificate_connector_details_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .certificate_connector_details import CertificateConnectorDetails + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/challenging_word.py b/msgraph_beta/generated/models/challenging_word.py new file mode 100644 index 00000000000..0f52423c5fe --- /dev/null +++ b/msgraph_beta/generated/models/challenging_word.py @@ -0,0 +1,57 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +@dataclass +class ChallengingWord(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) + # Number of times the word was found challenging by the student during the reading session. + count: Optional[int] = None + # The OdataType property + odata_type: Optional[str] = None + # The specific word that the student found challenging during the reading session. + word: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> ChallengingWord: + """ + 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: ChallengingWord + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return ChallengingWord() + + 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]] = { + "count": lambda n : setattr(self, 'count', n.get_int_value()), + "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), + "word": lambda n : setattr(self, 'word', 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_int_value("count", self.count) + writer.write_str_value("@odata.type", self.odata_type) + writer.write_str_value("word", self.word) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/models/change_assignments_action_result.py b/msgraph_beta/generated/models/change_assignments_action_result.py index c912d164955..40725f0cafc 100644 --- a/msgraph_beta/generated/models/change_assignments_action_result.py +++ b/msgraph_beta/generated/models/change_assignments_action_result.py @@ -57,6 +57,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_action_result import DeviceActionResult + from .device_assignment_item import DeviceAssignmentItem + writer.write_collection_of_object_values("deviceAssignmentItems", self.device_assignment_items) diff --git a/msgraph_beta/generated/models/change_tracked_entity.py b/msgraph_beta/generated/models/change_tracked_entity.py index 292823880ea..0aab531758a 100644 --- a/msgraph_beta/generated/models/change_tracked_entity.py +++ b/msgraph_beta/generated/models/change_tracked_entity.py @@ -47,7 +47,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> ChangeTrackedEntit if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.dayNote".casefold(): @@ -166,6 +167,23 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .day_note import DayNote + from .entity import Entity + from .identity_set import IdentitySet + from .offer_shift_request import OfferShiftRequest + from .open_shift import OpenShift + from .open_shift_change_request import OpenShiftChangeRequest + from .schedule_change_request import ScheduleChangeRequest + from .scheduling_group import SchedulingGroup + from .shift import Shift + from .shift_preferences import ShiftPreferences + from .swap_shifts_change_request import SwapShiftsChangeRequest + from .time_card import TimeCard + from .time_off import TimeOff + from .time_off_reason import TimeOffReason + from .time_off_request import TimeOffRequest + from .workforce_integration import WorkforceIntegration + writer.write_object_value("createdBy", self.created_by) diff --git a/msgraph_beta/generated/models/channel.py b/msgraph_beta/generated/models/channel.py index 9d0ff37abcd..1d41be57468 100644 --- a/msgraph_beta/generated/models/channel.py +++ b/msgraph_beta/generated/models/channel.py @@ -121,6 +121,16 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .channel_membership_type import ChannelMembershipType + from .channel_moderation_settings import ChannelModerationSettings + from .channel_summary import ChannelSummary + from .chat_message import ChatMessage + from .conversation_member import ConversationMember + from .drive_item import DriveItem + from .entity import Entity + from .shared_with_channel_team_info import SharedWithChannelTeamInfo + from .teams_tab import TeamsTab + writer.write_datetime_value("createdDateTime", self.created_date_time) writer.write_str_value("description", self.description) writer.write_str_value("displayName", self.display_name) diff --git a/msgraph_beta/generated/models/channel_added_event_message_detail.py b/msgraph_beta/generated/models/channel_added_event_message_detail.py index af30571d079..aa3a654465d 100644 --- a/msgraph_beta/generated/models/channel_added_event_message_detail.py +++ b/msgraph_beta/generated/models/channel_added_event_message_detail.py @@ -60,6 +60,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .event_message_detail import EventMessageDetail + from .identity_set import IdentitySet + writer.write_str_value("channelDisplayName", self.channel_display_name) writer.write_str_value("channelId", self.channel_id) writer.write_object_value("initiator", self.initiator) diff --git a/msgraph_beta/generated/models/channel_collection_response.py b/msgraph_beta/generated/models/channel_collection_response.py index f9f8058397d..75a79992794 100644 --- a/msgraph_beta/generated/models/channel_collection_response.py +++ b/msgraph_beta/generated/models/channel_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .channel import Channel + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/channel_deleted_event_message_detail.py b/msgraph_beta/generated/models/channel_deleted_event_message_detail.py index c31b528f259..4d86f771043 100644 --- a/msgraph_beta/generated/models/channel_deleted_event_message_detail.py +++ b/msgraph_beta/generated/models/channel_deleted_event_message_detail.py @@ -60,6 +60,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .event_message_detail import EventMessageDetail + from .identity_set import IdentitySet + writer.write_str_value("channelDisplayName", self.channel_display_name) writer.write_str_value("channelId", self.channel_id) writer.write_object_value("initiator", self.initiator) diff --git a/msgraph_beta/generated/models/channel_description_updated_event_message_detail.py b/msgraph_beta/generated/models/channel_description_updated_event_message_detail.py index 3a277b9571a..30db3ff5c25 100644 --- a/msgraph_beta/generated/models/channel_description_updated_event_message_detail.py +++ b/msgraph_beta/generated/models/channel_description_updated_event_message_detail.py @@ -60,6 +60,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .event_message_detail import EventMessageDetail + from .identity_set import IdentitySet + writer.write_str_value("channelDescription", self.channel_description) writer.write_str_value("channelId", self.channel_id) writer.write_object_value("initiator", self.initiator) diff --git a/msgraph_beta/generated/models/channel_members_notification_recipient.py b/msgraph_beta/generated/models/channel_members_notification_recipient.py index 5e0fc1ae476..e6fbc074ee1 100644 --- a/msgraph_beta/generated/models/channel_members_notification_recipient.py +++ b/msgraph_beta/generated/models/channel_members_notification_recipient.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .teamwork_notification_recipient import TeamworkNotificationRecipient + writer.write_str_value("channelId", self.channel_id) writer.write_str_value("teamId", self.team_id) diff --git a/msgraph_beta/generated/models/channel_moderation_settings.py b/msgraph_beta/generated/models/channel_moderation_settings.py index 3bdc0d466a5..f3023232f09 100644 --- a/msgraph_beta/generated/models/channel_moderation_settings.py +++ b/msgraph_beta/generated/models/channel_moderation_settings.py @@ -65,6 +65,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .reply_restriction import ReplyRestriction + from .user_new_message_restriction import UserNewMessageRestriction + writer.write_bool_value("allowNewMessageFromBots", self.allow_new_message_from_bots) writer.write_bool_value("allowNewMessageFromConnectors", self.allow_new_message_from_connectors) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/channel_renamed_event_message_detail.py b/msgraph_beta/generated/models/channel_renamed_event_message_detail.py index 330c628f329..bfab9d056b8 100644 --- a/msgraph_beta/generated/models/channel_renamed_event_message_detail.py +++ b/msgraph_beta/generated/models/channel_renamed_event_message_detail.py @@ -60,6 +60,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .event_message_detail import EventMessageDetail + from .identity_set import IdentitySet + writer.write_str_value("channelDisplayName", self.channel_display_name) writer.write_str_value("channelId", self.channel_id) writer.write_object_value("initiator", self.initiator) diff --git a/msgraph_beta/generated/models/channel_set_as_favorite_by_default_event_message_detail.py b/msgraph_beta/generated/models/channel_set_as_favorite_by_default_event_message_detail.py index 3b89908e356..beec2d18701 100644 --- a/msgraph_beta/generated/models/channel_set_as_favorite_by_default_event_message_detail.py +++ b/msgraph_beta/generated/models/channel_set_as_favorite_by_default_event_message_detail.py @@ -57,6 +57,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .event_message_detail import EventMessageDetail + from .identity_set import IdentitySet + writer.write_str_value("channelId", self.channel_id) writer.write_object_value("initiator", self.initiator) diff --git a/msgraph_beta/generated/models/channel_sharing_updated_event_message_detail.py b/msgraph_beta/generated/models/channel_sharing_updated_event_message_detail.py index 28a09fde9a5..0477a2956b8 100644 --- a/msgraph_beta/generated/models/channel_sharing_updated_event_message_detail.py +++ b/msgraph_beta/generated/models/channel_sharing_updated_event_message_detail.py @@ -63,6 +63,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .event_message_detail import EventMessageDetail + from .identity_set import IdentitySet + writer.write_object_value("initiator", self.initiator) writer.write_str_value("ownerTeamId", self.owner_team_id) writer.write_str_value("ownerTenantId", self.owner_tenant_id) diff --git a/msgraph_beta/generated/models/channel_unset_as_favorite_by_default_event_message_detail.py b/msgraph_beta/generated/models/channel_unset_as_favorite_by_default_event_message_detail.py index 7f27001e373..e64c5a1c7a4 100644 --- a/msgraph_beta/generated/models/channel_unset_as_favorite_by_default_event_message_detail.py +++ b/msgraph_beta/generated/models/channel_unset_as_favorite_by_default_event_message_detail.py @@ -57,6 +57,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .event_message_detail import EventMessageDetail + from .identity_set import IdentitySet + writer.write_str_value("channelId", self.channel_id) writer.write_object_value("initiator", self.initiator) diff --git a/msgraph_beta/generated/models/chat.py b/msgraph_beta/generated/models/chat.py index b1d3403a120..ced8613253f 100644 --- a/msgraph_beta/generated/models/chat.py +++ b/msgraph_beta/generated/models/chat.py @@ -139,6 +139,20 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .chat_message import ChatMessage + from .chat_message_info import ChatMessageInfo + from .chat_type import ChatType + from .chat_viewpoint import ChatViewpoint + from .conversation_member import ConversationMember + from .entity import Entity + from .identity_set import IdentitySet + from .pinned_chat_message_info import PinnedChatMessageInfo + from .resource_specific_permission_grant import ResourceSpecificPermissionGrant + from .teams_app_installation import TeamsAppInstallation + from .teams_async_operation import TeamsAsyncOperation + from .teams_tab import TeamsTab + from .teamwork_online_meeting_info import TeamworkOnlineMeetingInfo + writer.write_enum_value("chatType", self.chat_type) writer.write_object_value("createdBy", self.created_by) writer.write_datetime_value("createdDateTime", self.created_date_time) diff --git a/msgraph_beta/generated/models/chat_activity_statistics.py b/msgraph_beta/generated/models/chat_activity_statistics.py index f1bcdf2405f..aeab7993ca7 100644 --- a/msgraph_beta/generated/models/chat_activity_statistics.py +++ b/msgraph_beta/generated/models/chat_activity_statistics.py @@ -52,6 +52,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .activity_statistics import ActivityStatistics + writer.write_timedelta_value("afterHours", self.after_hours) diff --git a/msgraph_beta/generated/models/chat_collection_response.py b/msgraph_beta/generated/models/chat_collection_response.py index b5cb51a1b3b..8cdbfaf2d3f 100644 --- a/msgraph_beta/generated/models/chat_collection_response.py +++ b/msgraph_beta/generated/models/chat_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .chat import Chat + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/chat_members_notification_recipient.py b/msgraph_beta/generated/models/chat_members_notification_recipient.py index 43355e83f28..3a08acb79ac 100644 --- a/msgraph_beta/generated/models/chat_members_notification_recipient.py +++ b/msgraph_beta/generated/models/chat_members_notification_recipient.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .teamwork_notification_recipient import TeamworkNotificationRecipient + writer.write_str_value("chatId", self.chat_id) diff --git a/msgraph_beta/generated/models/chat_message.py b/msgraph_beta/generated/models/chat_message.py index d97f679329a..ef2b79c2cd1 100644 --- a/msgraph_beta/generated/models/chat_message.py +++ b/msgraph_beta/generated/models/chat_message.py @@ -160,6 +160,20 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .channel_identity import ChannelIdentity + from .chat_message_attachment import ChatMessageAttachment + from .chat_message_from_identity_set import ChatMessageFromIdentitySet + from .chat_message_history_item import ChatMessageHistoryItem + from .chat_message_hosted_content import ChatMessageHostedContent + from .chat_message_importance import ChatMessageImportance + from .chat_message_mention import ChatMessageMention + from .chat_message_policy_violation import ChatMessagePolicyViolation + from .chat_message_reaction import ChatMessageReaction + from .chat_message_type import ChatMessageType + from .entity import Entity + from .event_message_detail import EventMessageDetail + from .item_body import ItemBody + writer.write_collection_of_object_values("attachments", self.attachments) writer.write_object_value("body", self.body) writer.write_object_value("channelIdentity", self.channel_identity) diff --git a/msgraph_beta/generated/models/chat_message_attachment.py b/msgraph_beta/generated/models/chat_message_attachment.py index b31478d292a..7a8569b02f1 100644 --- a/msgraph_beta/generated/models/chat_message_attachment.py +++ b/msgraph_beta/generated/models/chat_message_attachment.py @@ -13,11 +13,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 object.application/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 # Name of the attachment. name: Optional[str] = None diff --git a/msgraph_beta/generated/models/chat_message_collection_response.py b/msgraph_beta/generated/models/chat_message_collection_response.py index 10e66667f0f..b481f1bdfca 100644 --- a/msgraph_beta/generated/models/chat_message_collection_response.py +++ b/msgraph_beta/generated/models/chat_message_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .chat_message import ChatMessage + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/chat_message_from_identity_set.py b/msgraph_beta/generated/models/chat_message_from_identity_set.py index 11e67251c92..b520e400c7e 100644 --- a/msgraph_beta/generated/models/chat_message_from_identity_set.py +++ b/msgraph_beta/generated/models/chat_message_from_identity_set.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .identity_set import IdentitySet + diff --git a/msgraph_beta/generated/models/chat_message_history_item.py b/msgraph_beta/generated/models/chat_message_history_item.py index 0c19c43c5b3..210f743d1bd 100644 --- a/msgraph_beta/generated/models/chat_message_history_item.py +++ b/msgraph_beta/generated/models/chat_message_history_item.py @@ -63,6 +63,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .chat_message_actions import ChatMessageActions + from .chat_message_reaction import ChatMessageReaction + writer.write_enum_value("actions", self.actions) writer.write_datetime_value("modifiedDateTime", self.modified_date_time) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/chat_message_hosted_content.py b/msgraph_beta/generated/models/chat_message_hosted_content.py index 0ec526463af..2baeeda46ee 100644 --- a/msgraph_beta/generated/models/chat_message_hosted_content.py +++ b/msgraph_beta/generated/models/chat_message_hosted_content.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .teamwork_hosted_content import TeamworkHostedContent + diff --git a/msgraph_beta/generated/models/chat_message_hosted_content_collection_response.py b/msgraph_beta/generated/models/chat_message_hosted_content_collection_response.py index 05e4a5aa818..ccd8d226b3d 100644 --- a/msgraph_beta/generated/models/chat_message_hosted_content_collection_response.py +++ b/msgraph_beta/generated/models/chat_message_hosted_content_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .chat_message_hosted_content import ChatMessageHostedContent + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/chat_message_info.py b/msgraph_beta/generated/models/chat_message_info.py index 8de12700aa0..6dc933be981 100644 --- a/msgraph_beta/generated/models/chat_message_info.py +++ b/msgraph_beta/generated/models/chat_message_info.py @@ -79,6 +79,12 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .chat_message_from_identity_set import ChatMessageFromIdentitySet + from .chat_message_type import ChatMessageType + from .entity import Entity + from .event_message_detail import EventMessageDetail + from .item_body import ItemBody + writer.write_object_value("body", self.body) writer.write_datetime_value("createdDateTime", self.created_date_time) writer.write_object_value("eventDetail", self.event_detail) diff --git a/msgraph_beta/generated/models/chat_message_mention.py b/msgraph_beta/generated/models/chat_message_mention.py index 1e4345df975..d26dfd35584 100644 --- a/msgraph_beta/generated/models/chat_message_mention.py +++ b/msgraph_beta/generated/models/chat_message_mention.py @@ -59,6 +59,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .chat_message_mentioned_identity_set import ChatMessageMentionedIdentitySet + writer.write_int_value("id", self.id) writer.write_str_value("mentionText", self.mention_text) writer.write_object_value("mentioned", self.mentioned) diff --git a/msgraph_beta/generated/models/chat_message_mentioned_identity_set.py b/msgraph_beta/generated/models/chat_message_mentioned_identity_set.py index 20f701331eb..1e21255631b 100644 --- a/msgraph_beta/generated/models/chat_message_mentioned_identity_set.py +++ b/msgraph_beta/generated/models/chat_message_mentioned_identity_set.py @@ -60,6 +60,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .identity_set import IdentitySet + from .teamwork_conversation_identity import TeamworkConversationIdentity + from .teamwork_tag_identity import TeamworkTagIdentity + writer.write_object_value("conversation", self.conversation) writer.write_object_value("tag", self.tag) diff --git a/msgraph_beta/generated/models/chat_message_policy_violation.py b/msgraph_beta/generated/models/chat_message_policy_violation.py index 531a9eb2284..9a5e693633a 100644 --- a/msgraph_beta/generated/models/chat_message_policy_violation.py +++ b/msgraph_beta/generated/models/chat_message_policy_violation.py @@ -74,6 +74,11 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .chat_message_policy_violation_dlp_action_types import ChatMessagePolicyViolationDlpActionTypes + from .chat_message_policy_violation_policy_tip import ChatMessagePolicyViolationPolicyTip + from .chat_message_policy_violation_user_action_types import ChatMessagePolicyViolationUserActionTypes + from .chat_message_policy_violation_verdict_details_types import ChatMessagePolicyViolationVerdictDetailsTypes + writer.write_enum_value("dlpAction", self.dlp_action) writer.write_str_value("justificationText", self.justification_text) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/chat_message_reaction.py b/msgraph_beta/generated/models/chat_message_reaction.py index 2f46c28d1c4..c02cd61bd0e 100644 --- a/msgraph_beta/generated/models/chat_message_reaction.py +++ b/msgraph_beta/generated/models/chat_message_reaction.py @@ -66,6 +66,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .chat_message_reaction_identity_set import ChatMessageReactionIdentitySet + writer.write_datetime_value("createdDateTime", self.created_date_time) writer.write_str_value("displayName", self.display_name) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/chat_message_reaction_identity_set.py b/msgraph_beta/generated/models/chat_message_reaction_identity_set.py index 4695249d0fc..4ec545d253f 100644 --- a/msgraph_beta/generated/models/chat_message_reaction_identity_set.py +++ b/msgraph_beta/generated/models/chat_message_reaction_identity_set.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .identity_set import IdentitySet + diff --git a/msgraph_beta/generated/models/chat_renamed_event_message_detail.py b/msgraph_beta/generated/models/chat_renamed_event_message_detail.py index 73ac0e47402..43bf80a8819 100644 --- a/msgraph_beta/generated/models/chat_renamed_event_message_detail.py +++ b/msgraph_beta/generated/models/chat_renamed_event_message_detail.py @@ -60,6 +60,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .event_message_detail import EventMessageDetail + from .identity_set import IdentitySet + writer.write_str_value("chatDisplayName", self.chat_display_name) writer.write_str_value("chatId", self.chat_id) writer.write_object_value("initiator", self.initiator) diff --git a/msgraph_beta/generated/models/checklist_item.py b/msgraph_beta/generated/models/checklist_item.py index 3cf37d9d975..14269e25349 100644 --- a/msgraph_beta/generated/models/checklist_item.py +++ b/msgraph_beta/generated/models/checklist_item.py @@ -61,6 +61,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_datetime_value("checkedDateTime", self.checked_date_time) writer.write_datetime_value("createdDateTime", self.created_date_time) writer.write_str_value("displayName", self.display_name) diff --git a/msgraph_beta/generated/models/checklist_item_collection_response.py b/msgraph_beta/generated/models/checklist_item_collection_response.py index 300ffb7cf92..e6da7cd9d56 100644 --- a/msgraph_beta/generated/models/checklist_item_collection_response.py +++ b/msgraph_beta/generated/models/checklist_item_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .checklist_item import ChecklistItem + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/chrome_o_s_onboarding_settings.py b/msgraph_beta/generated/models/chrome_o_s_onboarding_settings.py index 253ccc21fc6..5277fd9efaf 100644 --- a/msgraph_beta/generated/models/chrome_o_s_onboarding_settings.py +++ b/msgraph_beta/generated/models/chrome_o_s_onboarding_settings.py @@ -67,6 +67,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .onboarding_status import OnboardingStatus + writer.write_datetime_value("lastDirectorySyncDateTime", self.last_directory_sync_date_time) writer.write_datetime_value("lastModifiedDateTime", self.last_modified_date_time) writer.write_enum_value("onboardingStatus", self.onboarding_status) diff --git a/msgraph_beta/generated/models/chrome_o_s_onboarding_settings_collection_response.py b/msgraph_beta/generated/models/chrome_o_s_onboarding_settings_collection_response.py index 883d0432fc2..cd7ffd970b5 100644 --- a/msgraph_beta/generated/models/chrome_o_s_onboarding_settings_collection_response.py +++ b/msgraph_beta/generated/models/chrome_o_s_onboarding_settings_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .chrome_o_s_onboarding_settings import ChromeOSOnboardingSettings + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/claims_mapping_policy.py b/msgraph_beta/generated/models/claims_mapping_policy.py index 44e74521ac0..b2ef71272c7 100644 --- a/msgraph_beta/generated/models/claims_mapping_policy.py +++ b/msgraph_beta/generated/models/claims_mapping_policy.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .sts_policy import StsPolicy + diff --git a/msgraph_beta/generated/models/claims_mapping_policy_collection_response.py b/msgraph_beta/generated/models/claims_mapping_policy_collection_response.py index d72344e4cd6..dc151231fe2 100644 --- a/msgraph_beta/generated/models/claims_mapping_policy_collection_response.py +++ b/msgraph_beta/generated/models/claims_mapping_policy_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .claims_mapping_policy import ClaimsMappingPolicy + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/classifcation_error_base.py b/msgraph_beta/generated/models/classifcation_error_base.py index 191f43ce9de..c0d401298aa 100644 --- a/msgraph_beta/generated/models/classifcation_error_base.py +++ b/msgraph_beta/generated/models/classifcation_error_base.py @@ -36,7 +36,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> ClassifcationError if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.classificationError".casefold(): @@ -73,6 +74,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .classification_error import ClassificationError + from .classification_inner_error import ClassificationInnerError + writer.write_str_value("code", self.code) writer.write_object_value("innerError", self.inner_error) writer.write_str_value("message", self.message) diff --git a/msgraph_beta/generated/models/classification_error.py b/msgraph_beta/generated/models/classification_error.py index 46e8b1d86ec..7af89966f02 100644 --- a/msgraph_beta/generated/models/classification_error.py +++ b/msgraph_beta/generated/models/classification_error.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .classifcation_error_base import ClassifcationErrorBase + writer.write_collection_of_object_values("details", self.details) diff --git a/msgraph_beta/generated/models/classification_job_response.py b/msgraph_beta/generated/models/classification_job_response.py index 4a64220b2cd..038e4c26846 100644 --- a/msgraph_beta/generated/models/classification_job_response.py +++ b/msgraph_beta/generated/models/classification_job_response.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .detected_sensitive_content_wrapper import DetectedSensitiveContentWrapper + from .job_response_base import JobResponseBase + writer.write_object_value("result", self.result) diff --git a/msgraph_beta/generated/models/client_certificate_authentication.py b/msgraph_beta/generated/models/client_certificate_authentication.py index 59e249cb6b7..ac18fa0e5e8 100644 --- a/msgraph_beta/generated/models/client_certificate_authentication.py +++ b/msgraph_beta/generated/models/client_certificate_authentication.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .api_authentication_configuration_base import ApiAuthenticationConfigurationBase + from .pkcs12_certificate_information import Pkcs12CertificateInformation + writer.write_collection_of_object_values("certificateList", self.certificate_list) diff --git a/msgraph_beta/generated/models/cloud_app_security_profile.py b/msgraph_beta/generated/models/cloud_app_security_profile.py index 3f89154a9cc..434d988a040 100644 --- a/msgraph_beta/generated/models/cloud_app_security_profile.py +++ b/msgraph_beta/generated/models/cloud_app_security_profile.py @@ -106,6 +106,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .application_permissions_required import ApplicationPermissionsRequired + from .entity import Entity + from .security_vendor_information import SecurityVendorInformation + writer.write_str_value("azureSubscriptionId", self.azure_subscription_id) writer.write_str_value("azureTenantId", self.azure_tenant_id) writer.write_datetime_value("createdDateTime", self.created_date_time) diff --git a/msgraph_beta/generated/models/cloud_app_security_profile_collection_response.py b/msgraph_beta/generated/models/cloud_app_security_profile_collection_response.py index d939b9d0025..3f1bd28b513 100644 --- a/msgraph_beta/generated/models/cloud_app_security_profile_collection_response.py +++ b/msgraph_beta/generated/models/cloud_app_security_profile_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .cloud_app_security_profile import CloudAppSecurityProfile + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/cloud_app_security_session_control.py b/msgraph_beta/generated/models/cloud_app_security_session_control.py index 6117aa04c82..b2d478842d7 100644 --- a/msgraph_beta/generated/models/cloud_app_security_session_control.py +++ b/msgraph_beta/generated/models/cloud_app_security_session_control.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .cloud_app_security_session_control_type import CloudAppSecuritySessionControlType + from .conditional_access_session_control import ConditionalAccessSessionControl + writer.write_enum_value("cloudAppSecurityType", self.cloud_app_security_type) diff --git a/msgraph_beta/generated/models/cloud_certification_authority.py b/msgraph_beta/generated/models/cloud_certification_authority.py index 4648624fd13..0a9cd86dc92 100644 --- a/msgraph_beta/generated/models/cloud_certification_authority.py +++ b/msgraph_beta/generated/models/cloud_certification_authority.py @@ -178,6 +178,15 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .cloud_certification_authority_certificate_key_size import CloudCertificationAuthorityCertificateKeySize + from .cloud_certification_authority_hashing_algorithm import CloudCertificationAuthorityHashingAlgorithm + from .cloud_certification_authority_key_platform_type import CloudCertificationAuthorityKeyPlatformType + from .cloud_certification_authority_leaf_certificate import CloudCertificationAuthorityLeafCertificate + from .cloud_certification_authority_status import CloudCertificationAuthorityStatus + from .cloud_certification_authority_type import CloudCertificationAuthorityType + from .entity import Entity + from .extended_key_usage import ExtendedKeyUsage + writer.write_str_value("certificateDownloadUrl", self.certificate_download_url) writer.write_enum_value("certificateKeySize", self.certificate_key_size) writer.write_str_value("certificateRevocationListUrl", self.certificate_revocation_list_url) diff --git a/msgraph_beta/generated/models/cloud_certification_authority_collection_response.py b/msgraph_beta/generated/models/cloud_certification_authority_collection_response.py index 176cd4fa79a..daf7d849aa3 100644 --- a/msgraph_beta/generated/models/cloud_certification_authority_collection_response.py +++ b/msgraph_beta/generated/models/cloud_certification_authority_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .cloud_certification_authority import CloudCertificationAuthority + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/cloud_certification_authority_leaf_certificate.py b/msgraph_beta/generated/models/cloud_certification_authority_leaf_certificate.py index 3fc6572acce..024e2ae6c99 100644 --- a/msgraph_beta/generated/models/cloud_certification_authority_leaf_certificate.py +++ b/msgraph_beta/generated/models/cloud_certification_authority_leaf_certificate.py @@ -112,6 +112,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .cloud_certification_authority_leaf_certificate_status import CloudCertificationAuthorityLeafCertificateStatus + from .entity import Entity + writer.write_enum_value("certificateStatus", self.certificate_status) writer.write_str_value("certificationAuthorityIssuerUri", self.certification_authority_issuer_uri) writer.write_str_value("crlDistributionPointUrl", self.crl_distribution_point_url) diff --git a/msgraph_beta/generated/models/cloud_certification_authority_leaf_certificate_collection_response.py b/msgraph_beta/generated/models/cloud_certification_authority_leaf_certificate_collection_response.py index 25c9b85d0c9..a602db3eb1a 100644 --- a/msgraph_beta/generated/models/cloud_certification_authority_leaf_certificate_collection_response.py +++ b/msgraph_beta/generated/models/cloud_certification_authority_leaf_certificate_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .cloud_certification_authority_leaf_certificate import CloudCertificationAuthorityLeafCertificate + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/cloud_clipboard_item.py b/msgraph_beta/generated/models/cloud_clipboard_item.py index 1261f278153..444353d608e 100644 --- a/msgraph_beta/generated/models/cloud_clipboard_item.py +++ b/msgraph_beta/generated/models/cloud_clipboard_item.py @@ -64,6 +64,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .cloud_clipboard_item_payload import CloudClipboardItemPayload + from .entity import Entity + writer.write_datetime_value("createdDateTime", self.created_date_time) writer.write_datetime_value("expirationDateTime", self.expiration_date_time) writer.write_datetime_value("lastModifiedDateTime", self.last_modified_date_time) diff --git a/msgraph_beta/generated/models/cloud_clipboard_item_collection_response.py b/msgraph_beta/generated/models/cloud_clipboard_item_collection_response.py index 5abadd9e147..3a9750da4eb 100644 --- a/msgraph_beta/generated/models/cloud_clipboard_item_collection_response.py +++ b/msgraph_beta/generated/models/cloud_clipboard_item_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .cloud_clipboard_item import CloudClipboardItem + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/cloud_clipboard_root.py b/msgraph_beta/generated/models/cloud_clipboard_root.py index 1b68d1eb43c..6b0a8b390be 100644 --- a/msgraph_beta/generated/models/cloud_clipboard_root.py +++ b/msgraph_beta/generated/models/cloud_clipboard_root.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .cloud_clipboard_item import CloudClipboardItem + from .entity import Entity + writer.write_collection_of_object_values("items", self.items) diff --git a/msgraph_beta/generated/models/cloud_communications.py b/msgraph_beta/generated/models/cloud_communications.py index b900d122d4a..edfdaf65582 100644 --- a/msgraph_beta/generated/models/cloud_communications.py +++ b/msgraph_beta/generated/models/cloud_communications.py @@ -71,6 +71,11 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .call import Call + from .call_records.call_record import CallRecord + from .online_meeting import OnlineMeeting + from .presence import Presence + writer.write_collection_of_object_values("callRecords", self.call_records) writer.write_collection_of_object_values("calls", self.calls) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/cloud_licensing/assignee_types.py b/msgraph_beta/generated/models/cloud_licensing/assignee_types.py new file mode 100644 index 00000000000..15177dca9cf --- /dev/null +++ b/msgraph_beta/generated/models/cloud_licensing/assignee_types.py @@ -0,0 +1,9 @@ +from enum import Enum + +class AssigneeTypes(str, Enum): + None_ = "none", + User = "user", + Group = "group", + Device = "device", + UnknownFutureValue = "unknownFutureValue", + diff --git a/msgraph_beta/generated/device_management/comanaged_devices/item/restore_cloud_pc/restore_cloud_pc_post_request_body.py b/msgraph_beta/generated/models/cloud_licensing/group_cloud_licensing.py similarity index 68% rename from msgraph_beta/generated/device_management/comanaged_devices/item/restore_cloud_pc/restore_cloud_pc_post_request_body.py rename to msgraph_beta/generated/models/cloud_licensing/group_cloud_licensing.py index 49a27c0935c..f411da6ebc0 100644 --- a/msgraph_beta/generated/device_management/comanaged_devices/item/restore_cloud_pc/restore_cloud_pc_post_request_body.py +++ b/msgraph_beta/generated/models/cloud_licensing/group_cloud_licensing.py @@ -4,34 +4,44 @@ from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +if TYPE_CHECKING: + from .usage_right import UsageRight + @dataclass -class RestoreCloudPcPostRequestBody(AdditionalDataHolder, BackedModel, Parsable): +class GroupCloudLicensing(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 cloudPcSnapshotId property - cloud_pc_snapshot_id: Optional[str] = None + # The OdataType property + odata_type: Optional[str] = None + # The usageRights property + usage_rights: Optional[List[UsageRight]] = None @staticmethod - def create_from_discriminator_value(parse_node: ParseNode) -> RestoreCloudPcPostRequestBody: + def create_from_discriminator_value(parse_node: ParseNode) -> GroupCloudLicensing: """ 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: RestoreCloudPcPostRequestBody + Returns: GroupCloudLicensing """ if parse_node is None: raise TypeError("parse_node cannot be null.") - return RestoreCloudPcPostRequestBody() + return GroupCloudLicensing() def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: """ The deserialization information for the current model Returns: Dict[str, Callable[[ParseNode], None]] """ + from .usage_right import UsageRight + + from .usage_right import UsageRight + fields: Dict[str, Callable[[Any], None]] = { - "cloudPcSnapshotId": lambda n : setattr(self, 'cloud_pc_snapshot_id', n.get_str_value()), + "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), + "usageRights": lambda n : setattr(self, 'usage_rights', n.get_collection_of_object_values(UsageRight)), } return fields @@ -43,7 +53,10 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") - writer.write_str_value("cloudPcSnapshotId", self.cloud_pc_snapshot_id) + from .usage_right import UsageRight + + writer.write_str_value("@odata.type", self.odata_type) + writer.write_collection_of_object_values("usageRights", self.usage_rights) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/cloud_licensing/service.py b/msgraph_beta/generated/models/cloud_licensing/service.py new file mode 100644 index 00000000000..69253134e62 --- /dev/null +++ b/msgraph_beta/generated/models/cloud_licensing/service.py @@ -0,0 +1,71 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +from uuid import UUID + +if TYPE_CHECKING: + from .assignee_types import AssigneeTypes + +@dataclass +class Service(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 assignableTo property + assignable_to: Optional[AssigneeTypes] = None + # The OdataType property + odata_type: Optional[str] = None + # The unique identifier of the service plan that is equal to the servicePlanId property on the related servicePlanInfo objects. + plan_id: Optional[UUID] = None + # The name of the service plan that is equal to the servicePlanName property on the related servicePlanInfo objects. + plan_name: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> Service: + """ + 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: Service + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return Service() + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .assignee_types import AssigneeTypes + + from .assignee_types import AssigneeTypes + + fields: Dict[str, Callable[[Any], None]] = { + "assignableTo": lambda n : setattr(self, 'assignable_to', n.get_collection_of_enum_values(AssigneeTypes)), + "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), + "planId": lambda n : setattr(self, 'plan_id', n.get_uuid_value()), + "planName": lambda n : setattr(self, 'plan_name', 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.") + from .assignee_types import AssigneeTypes + + writer.write_enum_value("assignableTo", self.assignable_to) + writer.write_str_value("@odata.type", self.odata_type) + writer.write_uuid_value("planId", self.plan_id) + writer.write_str_value("planName", self.plan_name) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/models/cloud_licensing/usage_right.py b/msgraph_beta/generated/models/cloud_licensing/usage_right.py new file mode 100644 index 00000000000..20e92de76b5 --- /dev/null +++ b/msgraph_beta/generated/models/cloud_licensing/usage_right.py @@ -0,0 +1,71 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +from uuid import UUID + +if TYPE_CHECKING: + from ..entity import Entity + from .service import Service + +from ..entity import Entity + +@dataclass +class UsageRight(Entity): + # The OdataType property + odata_type: Optional[str] = None + # Information about the services associated with the usageRight. Not nullable. Read-only. Supports $filter on the planId property. + services: Optional[List[Service]] = None + # Unique identifier (GUID) for the service SKU that is equal to the skuId property on the related subscribedSku object. Read-only. Supports $filter. + sku_id: Optional[UUID] = None + # Unique SKU display name that is equal to the skuPartNumber on the related subscribedSku object; for example, AAD_Premium. Read-only. + sku_part_number: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> UsageRight: + """ + 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: UsageRight + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return UsageRight() + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from ..entity import Entity + from .service import Service + + from ..entity import Entity + from .service import Service + + fields: Dict[str, Callable[[Any], None]] = { + "services": lambda n : setattr(self, 'services', n.get_collection_of_object_values(Service)), + "skuId": lambda n : setattr(self, 'sku_id', n.get_uuid_value()), + "skuPartNumber": lambda n : setattr(self, 'sku_part_number', n.get_str_value()), + } + 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) + from ..entity import Entity + from .service import Service + + writer.write_collection_of_object_values("services", self.services) + writer.write_uuid_value("skuId", self.sku_id) + writer.write_str_value("skuPartNumber", self.sku_part_number) + + diff --git a/msgraph_beta/generated/device_management/managed_devices/item/restore_cloud_pc/restore_cloud_pc_post_request_body.py b/msgraph_beta/generated/models/cloud_licensing/user_cloud_licensing.py similarity index 68% rename from msgraph_beta/generated/device_management/managed_devices/item/restore_cloud_pc/restore_cloud_pc_post_request_body.py rename to msgraph_beta/generated/models/cloud_licensing/user_cloud_licensing.py index 49a27c0935c..5575744db0f 100644 --- a/msgraph_beta/generated/device_management/managed_devices/item/restore_cloud_pc/restore_cloud_pc_post_request_body.py +++ b/msgraph_beta/generated/models/cloud_licensing/user_cloud_licensing.py @@ -4,34 +4,44 @@ from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +if TYPE_CHECKING: + from .usage_right import UsageRight + @dataclass -class RestoreCloudPcPostRequestBody(AdditionalDataHolder, BackedModel, Parsable): +class UserCloudLicensing(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 cloudPcSnapshotId property - cloud_pc_snapshot_id: Optional[str] = None + # The OdataType property + odata_type: Optional[str] = None + # The usageRights property + usage_rights: Optional[List[UsageRight]] = None @staticmethod - def create_from_discriminator_value(parse_node: ParseNode) -> RestoreCloudPcPostRequestBody: + def create_from_discriminator_value(parse_node: ParseNode) -> UserCloudLicensing: """ 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: RestoreCloudPcPostRequestBody + Returns: UserCloudLicensing """ if parse_node is None: raise TypeError("parse_node cannot be null.") - return RestoreCloudPcPostRequestBody() + return UserCloudLicensing() def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: """ The deserialization information for the current model Returns: Dict[str, Callable[[ParseNode], None]] """ + from .usage_right import UsageRight + + from .usage_right import UsageRight + fields: Dict[str, Callable[[Any], None]] = { - "cloudPcSnapshotId": lambda n : setattr(self, 'cloud_pc_snapshot_id', n.get_str_value()), + "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), + "usageRights": lambda n : setattr(self, 'usage_rights', n.get_collection_of_object_values(UsageRight)), } return fields @@ -43,7 +53,10 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") - writer.write_str_value("cloudPcSnapshotId", self.cloud_pc_snapshot_id) + from .usage_right import UsageRight + + writer.write_str_value("@odata.type", self.odata_type) + writer.write_collection_of_object_values("usageRights", self.usage_rights) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/cloud_p_c.py b/msgraph_beta/generated/models/cloud_p_c.py index a1445b36cd7..408f89e5c59 100644 --- a/msgraph_beta/generated/models/cloud_p_c.py +++ b/msgraph_beta/generated/models/cloud_p_c.py @@ -193,6 +193,24 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .cloud_pc_connection_setting import CloudPcConnectionSetting + from .cloud_pc_connection_settings import CloudPcConnectionSettings + from .cloud_pc_connectivity_result import CloudPcConnectivityResult + from .cloud_pc_disaster_recovery_capability import CloudPcDisasterRecoveryCapability + from .cloud_pc_disk_encryption_state import CloudPcDiskEncryptionState + from .cloud_pc_login_result import CloudPcLoginResult + from .cloud_pc_operating_system import CloudPcOperatingSystem + from .cloud_pc_partner_agent_install_result import CloudPcPartnerAgentInstallResult + from .cloud_pc_power_state import CloudPcPowerState + from .cloud_pc_provisioning_type import CloudPcProvisioningType + from .cloud_pc_remote_action_result import CloudPcRemoteActionResult + from .cloud_pc_service_plan_type import CloudPcServicePlanType + from .cloud_pc_status import CloudPcStatus + from .cloud_pc_status_detail import CloudPcStatusDetail + from .cloud_pc_status_details import CloudPcStatusDetails + from .cloud_pc_user_account_type import CloudPcUserAccountType + from .entity import Entity + writer.write_str_value("aadDeviceId", self.aad_device_id) writer.write_str_value("allotmentDisplayName", self.allotment_display_name) writer.write_object_value("connectionSetting", self.connection_setting) diff --git a/msgraph_beta/generated/models/cloud_p_c_collection_response.py b/msgraph_beta/generated/models/cloud_p_c_collection_response.py index 7624911c3b6..01afb6fe2bc 100644 --- a/msgraph_beta/generated/models/cloud_p_c_collection_response.py +++ b/msgraph_beta/generated/models/cloud_p_c_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .cloud_p_c import CloudPC + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/cloud_p_c_connectivity_issue.py b/msgraph_beta/generated/models/cloud_p_c_connectivity_issue.py index bcd40931156..50eb519c73e 100644 --- a/msgraph_beta/generated/models/cloud_p_c_connectivity_issue.py +++ b/msgraph_beta/generated/models/cloud_p_c_connectivity_issue.py @@ -70,6 +70,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_str_value("deviceId", self.device_id) writer.write_str_value("errorCode", self.error_code) writer.write_datetime_value("errorDateTime", self.error_date_time) diff --git a/msgraph_beta/generated/models/cloud_p_c_connectivity_issue_collection_response.py b/msgraph_beta/generated/models/cloud_p_c_connectivity_issue_collection_response.py index 3499a29d21b..8fa3e339cc0 100644 --- a/msgraph_beta/generated/models/cloud_p_c_connectivity_issue_collection_response.py +++ b/msgraph_beta/generated/models/cloud_p_c_connectivity_issue_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .cloud_p_c_connectivity_issue import CloudPCConnectivityIssue + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/cloud_p_c_frontline_report_type.py b/msgraph_beta/generated/models/cloud_p_c_frontline_report_type.py new file mode 100644 index 00000000000..245a95fa4e4 --- /dev/null +++ b/msgraph_beta/generated/models/cloud_p_c_frontline_report_type.py @@ -0,0 +1,10 @@ +from enum import Enum + +class CloudPCFrontlineReportType(str, Enum): + NoLicenseAvailableConnectivityFailureReport = "noLicenseAvailableConnectivityFailureReport", + LicenseUsageReport = "licenseUsageReport", + LicenseUsageRealTimeReport = "licenseUsageRealTimeReport", + LicenseHourlyUsageReport = "licenseHourlyUsageReport", + ConnectedUserRealtimeReport = "connectedUserRealtimeReport", + UnknownFutureValue = "unknownFutureValue", + diff --git a/msgraph_beta/generated/models/cloud_pc_audit_actor.py b/msgraph_beta/generated/models/cloud_pc_audit_actor.py index 5ef41a505e2..f72b2729bc2 100644 --- a/msgraph_beta/generated/models/cloud_pc_audit_actor.py +++ b/msgraph_beta/generated/models/cloud_pc_audit_actor.py @@ -86,6 +86,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .cloud_pc_audit_actor_type import CloudPcAuditActorType + from .cloud_pc_user_role_scope_tag_info import CloudPcUserRoleScopeTagInfo + writer.write_str_value("applicationDisplayName", self.application_display_name) writer.write_str_value("applicationId", self.application_id) writer.write_str_value("ipAddress", self.ip_address) diff --git a/msgraph_beta/generated/models/cloud_pc_audit_event.py b/msgraph_beta/generated/models/cloud_pc_audit_event.py index 0f08dbc28e3..c7a1479e30e 100644 --- a/msgraph_beta/generated/models/cloud_pc_audit_event.py +++ b/msgraph_beta/generated/models/cloud_pc_audit_event.py @@ -97,6 +97,13 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .cloud_pc_audit_activity_operation_type import CloudPcAuditActivityOperationType + from .cloud_pc_audit_activity_result import CloudPcAuditActivityResult + from .cloud_pc_audit_actor import CloudPcAuditActor + from .cloud_pc_audit_category import CloudPcAuditCategory + from .cloud_pc_audit_resource import CloudPcAuditResource + from .entity import Entity + writer.write_str_value("activity", self.activity) writer.write_datetime_value("activityDateTime", self.activity_date_time) writer.write_enum_value("activityOperationType", self.activity_operation_type) diff --git a/msgraph_beta/generated/models/cloud_pc_audit_event_collection_response.py b/msgraph_beta/generated/models/cloud_pc_audit_event_collection_response.py index 6ed6de9248f..93079d5dcfe 100644 --- a/msgraph_beta/generated/models/cloud_pc_audit_event_collection_response.py +++ b/msgraph_beta/generated/models/cloud_pc_audit_event_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .cloud_pc_audit_event import CloudPcAuditEvent + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/cloud_pc_audit_resource.py b/msgraph_beta/generated/models/cloud_pc_audit_resource.py index abcb41cea27..c7b74845cf0 100644 --- a/msgraph_beta/generated/models/cloud_pc_audit_resource.py +++ b/msgraph_beta/generated/models/cloud_pc_audit_resource.py @@ -62,6 +62,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .cloud_pc_audit_property import CloudPcAuditProperty + writer.write_str_value("displayName", self.display_name) writer.write_collection_of_object_values("modifiedProperties", self.modified_properties) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/cloud_pc_bulk_action.py b/msgraph_beta/generated/models/cloud_pc_bulk_action.py index 68b14ec27ac..334c46f7f1c 100644 --- a/msgraph_beta/generated/models/cloud_pc_bulk_action.py +++ b/msgraph_beta/generated/models/cloud_pc_bulk_action.py @@ -11,6 +11,7 @@ from .cloud_pc_bulk_disaster_recovery_failback import CloudPcBulkDisasterRecoveryFailback from .cloud_pc_bulk_disaster_recovery_failover import CloudPcBulkDisasterRecoveryFailover from .cloud_pc_bulk_modify_disk_encryption_type import CloudPcBulkModifyDiskEncryptionType + from .cloud_pc_bulk_move import CloudPcBulkMove from .cloud_pc_bulk_power_off import CloudPcBulkPowerOff from .cloud_pc_bulk_power_on import CloudPcBulkPowerOn from .cloud_pc_bulk_reprovision import CloudPcBulkReprovision @@ -52,7 +53,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> CloudPcBulkAction: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.cloudPcBulkCreateSnapshot".casefold(): @@ -71,6 +73,10 @@ def create_from_discriminator_value(parse_node: ParseNode) -> CloudPcBulkAction: from .cloud_pc_bulk_modify_disk_encryption_type import CloudPcBulkModifyDiskEncryptionType return CloudPcBulkModifyDiskEncryptionType() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.cloudPcBulkMove".casefold(): + from .cloud_pc_bulk_move import CloudPcBulkMove + + return CloudPcBulkMove() if mapping_value and mapping_value.casefold() == "#microsoft.graph.cloudPcBulkPowerOff".casefold(): from .cloud_pc_bulk_power_off import CloudPcBulkPowerOff @@ -116,6 +122,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .cloud_pc_bulk_disaster_recovery_failback import CloudPcBulkDisasterRecoveryFailback from .cloud_pc_bulk_disaster_recovery_failover import CloudPcBulkDisasterRecoveryFailover from .cloud_pc_bulk_modify_disk_encryption_type import CloudPcBulkModifyDiskEncryptionType + from .cloud_pc_bulk_move import CloudPcBulkMove from .cloud_pc_bulk_power_off import CloudPcBulkPowerOff from .cloud_pc_bulk_power_on import CloudPcBulkPowerOn from .cloud_pc_bulk_reprovision import CloudPcBulkReprovision @@ -132,6 +139,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .cloud_pc_bulk_disaster_recovery_failback import CloudPcBulkDisasterRecoveryFailback from .cloud_pc_bulk_disaster_recovery_failover import CloudPcBulkDisasterRecoveryFailover from .cloud_pc_bulk_modify_disk_encryption_type import CloudPcBulkModifyDiskEncryptionType + from .cloud_pc_bulk_move import CloudPcBulkMove from .cloud_pc_bulk_power_off import CloudPcBulkPowerOff from .cloud_pc_bulk_power_on import CloudPcBulkPowerOn from .cloud_pc_bulk_reprovision import CloudPcBulkReprovision @@ -164,6 +172,23 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .cloud_pc_bulk_action_status import CloudPcBulkActionStatus + from .cloud_pc_bulk_action_summary import CloudPcBulkActionSummary + from .cloud_pc_bulk_create_snapshot import CloudPcBulkCreateSnapshot + from .cloud_pc_bulk_disaster_recovery_failback import CloudPcBulkDisasterRecoveryFailback + from .cloud_pc_bulk_disaster_recovery_failover import CloudPcBulkDisasterRecoveryFailover + from .cloud_pc_bulk_modify_disk_encryption_type import CloudPcBulkModifyDiskEncryptionType + from .cloud_pc_bulk_move import CloudPcBulkMove + from .cloud_pc_bulk_power_off import CloudPcBulkPowerOff + from .cloud_pc_bulk_power_on import CloudPcBulkPowerOn + from .cloud_pc_bulk_reprovision import CloudPcBulkReprovision + from .cloud_pc_bulk_resize import CloudPcBulkResize + from .cloud_pc_bulk_restart import CloudPcBulkRestart + from .cloud_pc_bulk_restore import CloudPcBulkRestore + from .cloud_pc_bulk_set_review_status import CloudPcBulkSetReviewStatus + from .cloud_pc_bulk_troubleshoot import CloudPcBulkTroubleshoot + from .entity import Entity + writer.write_object_value("actionSummary", self.action_summary) writer.write_collection_of_primitive_values("cloudPcIds", self.cloud_pc_ids) writer.write_datetime_value("createdDateTime", self.created_date_time) diff --git a/msgraph_beta/generated/models/cloud_pc_bulk_action_collection_response.py b/msgraph_beta/generated/models/cloud_pc_bulk_action_collection_response.py index b97392da295..2a98eaaf588 100644 --- a/msgraph_beta/generated/models/cloud_pc_bulk_action_collection_response.py +++ b/msgraph_beta/generated/models/cloud_pc_bulk_action_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .cloud_pc_bulk_action import CloudPcBulkAction + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/cloud_pc_bulk_create_snapshot.py b/msgraph_beta/generated/models/cloud_pc_bulk_create_snapshot.py index 6aa67a91115..ab56ed06ad0 100644 --- a/msgraph_beta/generated/models/cloud_pc_bulk_create_snapshot.py +++ b/msgraph_beta/generated/models/cloud_pc_bulk_create_snapshot.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .cloud_pc_bulk_action import CloudPcBulkAction + diff --git a/msgraph_beta/generated/models/cloud_pc_bulk_disaster_recovery_failback.py b/msgraph_beta/generated/models/cloud_pc_bulk_disaster_recovery_failback.py index 3105ab1b171..572d8a4280d 100644 --- a/msgraph_beta/generated/models/cloud_pc_bulk_disaster_recovery_failback.py +++ b/msgraph_beta/generated/models/cloud_pc_bulk_disaster_recovery_failback.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .cloud_pc_bulk_action import CloudPcBulkAction + diff --git a/msgraph_beta/generated/models/cloud_pc_bulk_disaster_recovery_failover.py b/msgraph_beta/generated/models/cloud_pc_bulk_disaster_recovery_failover.py index 8da7bf22479..1ca1be1df03 100644 --- a/msgraph_beta/generated/models/cloud_pc_bulk_disaster_recovery_failover.py +++ b/msgraph_beta/generated/models/cloud_pc_bulk_disaster_recovery_failover.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .cloud_pc_bulk_action import CloudPcBulkAction + diff --git a/msgraph_beta/generated/models/cloud_pc_bulk_modify_disk_encryption_type.py b/msgraph_beta/generated/models/cloud_pc_bulk_modify_disk_encryption_type.py index 03510e7e49a..55dcf2c02be 100644 --- a/msgraph_beta/generated/models/cloud_pc_bulk_modify_disk_encryption_type.py +++ b/msgraph_beta/generated/models/cloud_pc_bulk_modify_disk_encryption_type.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .cloud_pc_bulk_action import CloudPcBulkAction + from .cloud_pc_disk_encryption_type import CloudPcDiskEncryptionType + writer.write_enum_value("diskEncryptionType", self.disk_encryption_type) diff --git a/msgraph_beta/generated/models/cloud_pc_bulk_move.py b/msgraph_beta/generated/models/cloud_pc_bulk_move.py new file mode 100644 index 00000000000..35ee39833de --- /dev/null +++ b/msgraph_beta/generated/models/cloud_pc_bulk_move.py @@ -0,0 +1,54 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .cloud_pc_bulk_action import CloudPcBulkAction + +from .cloud_pc_bulk_action import CloudPcBulkAction + +@dataclass +class CloudPcBulkMove(CloudPcBulkAction): + # The OdataType property + odata_type: Optional[str] = "#microsoft.graph.cloudPcBulkMove" + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> CloudPcBulkMove: + """ + 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: CloudPcBulkMove + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return CloudPcBulkMove() + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .cloud_pc_bulk_action import CloudPcBulkAction + + from .cloud_pc_bulk_action import CloudPcBulkAction + + fields: Dict[str, Callable[[Any], None]] = { + } + 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) + from .cloud_pc_bulk_action import CloudPcBulkAction + + + diff --git a/msgraph_beta/generated/models/cloud_pc_bulk_power_off.py b/msgraph_beta/generated/models/cloud_pc_bulk_power_off.py index 2d62aec7399..ac8a2a4744d 100644 --- a/msgraph_beta/generated/models/cloud_pc_bulk_power_off.py +++ b/msgraph_beta/generated/models/cloud_pc_bulk_power_off.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .cloud_pc_bulk_action import CloudPcBulkAction + diff --git a/msgraph_beta/generated/models/cloud_pc_bulk_power_on.py b/msgraph_beta/generated/models/cloud_pc_bulk_power_on.py index db1691fa001..be5ff2384b0 100644 --- a/msgraph_beta/generated/models/cloud_pc_bulk_power_on.py +++ b/msgraph_beta/generated/models/cloud_pc_bulk_power_on.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .cloud_pc_bulk_action import CloudPcBulkAction + diff --git a/msgraph_beta/generated/models/cloud_pc_bulk_reprovision.py b/msgraph_beta/generated/models/cloud_pc_bulk_reprovision.py index 3c02aec72c1..af935d34f10 100644 --- a/msgraph_beta/generated/models/cloud_pc_bulk_reprovision.py +++ b/msgraph_beta/generated/models/cloud_pc_bulk_reprovision.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .cloud_pc_bulk_action import CloudPcBulkAction + diff --git a/msgraph_beta/generated/models/cloud_pc_bulk_resize.py b/msgraph_beta/generated/models/cloud_pc_bulk_resize.py index aa11bf8310d..f4d15c22abc 100644 --- a/msgraph_beta/generated/models/cloud_pc_bulk_resize.py +++ b/msgraph_beta/generated/models/cloud_pc_bulk_resize.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .cloud_pc_bulk_action import CloudPcBulkAction + writer.write_str_value("targetServicePlanId", self.target_service_plan_id) diff --git a/msgraph_beta/generated/models/cloud_pc_bulk_restart.py b/msgraph_beta/generated/models/cloud_pc_bulk_restart.py index e360a0db567..15d5195f4a9 100644 --- a/msgraph_beta/generated/models/cloud_pc_bulk_restart.py +++ b/msgraph_beta/generated/models/cloud_pc_bulk_restart.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .cloud_pc_bulk_action import CloudPcBulkAction + diff --git a/msgraph_beta/generated/models/cloud_pc_bulk_restore.py b/msgraph_beta/generated/models/cloud_pc_bulk_restore.py index 2fd043b44dd..45c2d0878b4 100644 --- a/msgraph_beta/generated/models/cloud_pc_bulk_restore.py +++ b/msgraph_beta/generated/models/cloud_pc_bulk_restore.py @@ -58,6 +58,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .cloud_pc_bulk_action import CloudPcBulkAction + from .restore_time_range import RestoreTimeRange + writer.write_datetime_value("restorePointDateTime", self.restore_point_date_time) writer.write_enum_value("timeRange", self.time_range) diff --git a/msgraph_beta/generated/models/cloud_pc_bulk_set_review_status.py b/msgraph_beta/generated/models/cloud_pc_bulk_set_review_status.py index ee31670744d..560903b9a69 100644 --- a/msgraph_beta/generated/models/cloud_pc_bulk_set_review_status.py +++ b/msgraph_beta/generated/models/cloud_pc_bulk_set_review_status.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .cloud_pc_bulk_action import CloudPcBulkAction + from .cloud_pc_review_status import CloudPcReviewStatus + writer.write_object_value("reviewStatus", self.review_status) diff --git a/msgraph_beta/generated/models/cloud_pc_bulk_troubleshoot.py b/msgraph_beta/generated/models/cloud_pc_bulk_troubleshoot.py index b313fbd32ac..6a282a35874 100644 --- a/msgraph_beta/generated/models/cloud_pc_bulk_troubleshoot.py +++ b/msgraph_beta/generated/models/cloud_pc_bulk_troubleshoot.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .cloud_pc_bulk_action import CloudPcBulkAction + diff --git a/msgraph_beta/generated/models/cloud_pc_connectivity_event.py b/msgraph_beta/generated/models/cloud_pc_connectivity_event.py index 19f9443815c..69136232071 100644 --- a/msgraph_beta/generated/models/cloud_pc_connectivity_event.py +++ b/msgraph_beta/generated/models/cloud_pc_connectivity_event.py @@ -69,6 +69,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .cloud_pc_connectivity_event_result import CloudPcConnectivityEventResult + from .cloud_pc_connectivity_event_type import CloudPcConnectivityEventType + writer.write_datetime_value("eventDateTime", self.event_date_time) writer.write_str_value("eventName", self.event_name) writer.write_enum_value("eventResult", self.event_result) diff --git a/msgraph_beta/generated/models/cloud_pc_connectivity_result.py b/msgraph_beta/generated/models/cloud_pc_connectivity_result.py index 50a8772fe1a..70f23ec1fd4 100644 --- a/msgraph_beta/generated/models/cloud_pc_connectivity_result.py +++ b/msgraph_beta/generated/models/cloud_pc_connectivity_result.py @@ -66,6 +66,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .cloud_pc_connectivity_status import CloudPcConnectivityStatus + from .cloud_pc_health_check_item import CloudPcHealthCheckItem + writer.write_collection_of_object_values("failedHealthCheckItems", self.failed_health_check_items) writer.write_datetime_value("lastModifiedDateTime", self.last_modified_date_time) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/cloud_pc_cross_cloud_government_organization_mapping.py b/msgraph_beta/generated/models/cloud_pc_cross_cloud_government_organization_mapping.py index 139daa7aa57..f79b3f1b779 100644 --- a/msgraph_beta/generated/models/cloud_pc_cross_cloud_government_organization_mapping.py +++ b/msgraph_beta/generated/models/cloud_pc_cross_cloud_government_organization_mapping.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_collection_of_primitive_values("organizationIdsInUSGovCloud", self.organization_ids_in_u_s_gov_cloud) diff --git a/msgraph_beta/generated/models/cloud_pc_cross_region_disaster_recovery_setting.py b/msgraph_beta/generated/models/cloud_pc_cross_region_disaster_recovery_setting.py index 111fc3db8be..ac6a46e844d 100644 --- a/msgraph_beta/generated/models/cloud_pc_cross_region_disaster_recovery_setting.py +++ b/msgraph_beta/generated/models/cloud_pc_cross_region_disaster_recovery_setting.py @@ -6,6 +6,7 @@ if TYPE_CHECKING: from .cloud_pc_disaster_recovery_network_setting import CloudPcDisasterRecoveryNetworkSetting + from .cloud_pc_disaster_recovery_type import CloudPcDisasterRecoveryType @dataclass class CloudPcCrossRegionDisasterRecoverySetting(AdditionalDataHolder, BackedModel, Parsable): @@ -18,6 +19,8 @@ class CloudPcCrossRegionDisasterRecoverySetting(AdditionalDataHolder, BackedMode cross_region_disaster_recovery_enabled: Optional[bool] = None # Indicates the network settings of the Cloud PC during a cross-region disaster recovery operation. disaster_recovery_network_setting: Optional[CloudPcDisasterRecoveryNetworkSetting] = None + # The disasterRecoveryType property + disaster_recovery_type: Optional[CloudPcDisasterRecoveryType] = None # Indicates whether Windows 365 maintain the cross-region disaster recovery function generated restore points. If true, the Windows 365 stored restore points; false indicates that Windows 365 doesn't generate or keep the restore point from the original Cloud PC. If a disaster occurs, the new Cloud PC can only be provisioned using the initial image. This limitation can result in the loss of some user data on the original Cloud PC. The default value is false. maintain_cross_region_restore_point_enabled: Optional[bool] = None # The OdataType property @@ -40,12 +43,15 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: Returns: Dict[str, Callable[[ParseNode], None]] """ from .cloud_pc_disaster_recovery_network_setting import CloudPcDisasterRecoveryNetworkSetting + from .cloud_pc_disaster_recovery_type import CloudPcDisasterRecoveryType from .cloud_pc_disaster_recovery_network_setting import CloudPcDisasterRecoveryNetworkSetting + from .cloud_pc_disaster_recovery_type import CloudPcDisasterRecoveryType fields: Dict[str, Callable[[Any], None]] = { "crossRegionDisasterRecoveryEnabled": lambda n : setattr(self, 'cross_region_disaster_recovery_enabled', n.get_bool_value()), "disasterRecoveryNetworkSetting": lambda n : setattr(self, 'disaster_recovery_network_setting', n.get_object_value(CloudPcDisasterRecoveryNetworkSetting)), + "disasterRecoveryType": lambda n : setattr(self, 'disaster_recovery_type', n.get_enum_value(CloudPcDisasterRecoveryType)), "maintainCrossRegionRestorePointEnabled": lambda n : setattr(self, 'maintain_cross_region_restore_point_enabled', n.get_bool_value()), "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), } @@ -59,8 +65,12 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .cloud_pc_disaster_recovery_network_setting import CloudPcDisasterRecoveryNetworkSetting + from .cloud_pc_disaster_recovery_type import CloudPcDisasterRecoveryType + writer.write_bool_value("crossRegionDisasterRecoveryEnabled", self.cross_region_disaster_recovery_enabled) writer.write_object_value("disasterRecoveryNetworkSetting", self.disaster_recovery_network_setting) + writer.write_enum_value("disasterRecoveryType", self.disaster_recovery_type) writer.write_bool_value("maintainCrossRegionRestorePointEnabled", self.maintain_cross_region_restore_point_enabled) writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/cloud_pc_device_image.py b/msgraph_beta/generated/models/cloud_pc_device_image.py index de0001ee70a..46d5989e5a3 100644 --- a/msgraph_beta/generated/models/cloud_pc_device_image.py +++ b/msgraph_beta/generated/models/cloud_pc_device_image.py @@ -100,6 +100,12 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .cloud_pc_device_image_error_code import CloudPcDeviceImageErrorCode + from .cloud_pc_device_image_os_status import CloudPcDeviceImageOsStatus + from .cloud_pc_device_image_status import CloudPcDeviceImageStatus + from .cloud_pc_device_image_status_details import CloudPcDeviceImageStatusDetails + from .entity import Entity + writer.write_str_value("displayName", self.display_name) writer.write_enum_value("errorCode", self.error_code) writer.write_date_value("expirationDate", self.expiration_date) diff --git a/msgraph_beta/generated/models/cloud_pc_device_image_collection_response.py b/msgraph_beta/generated/models/cloud_pc_device_image_collection_response.py index f85b13a7356..45625d3394c 100644 --- a/msgraph_beta/generated/models/cloud_pc_device_image_collection_response.py +++ b/msgraph_beta/generated/models/cloud_pc_device_image_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .cloud_pc_device_image import CloudPcDeviceImage + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/cloud_pc_disaster_recovery_azure_connection_setting.py b/msgraph_beta/generated/models/cloud_pc_disaster_recovery_azure_connection_setting.py index 0281908f5b8..e45d7c8227d 100644 --- a/msgraph_beta/generated/models/cloud_pc_disaster_recovery_azure_connection_setting.py +++ b/msgraph_beta/generated/models/cloud_pc_disaster_recovery_azure_connection_setting.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .cloud_pc_disaster_recovery_network_setting import CloudPcDisasterRecoveryNetworkSetting + writer.write_str_value("onPremisesConnectionId", self.on_premises_connection_id) diff --git a/msgraph_beta/generated/models/cloud_pc_disaster_recovery_capability.py b/msgraph_beta/generated/models/cloud_pc_disaster_recovery_capability.py index 1b90f84f9cc..d37237583a3 100644 --- a/msgraph_beta/generated/models/cloud_pc_disaster_recovery_capability.py +++ b/msgraph_beta/generated/models/cloud_pc_disaster_recovery_capability.py @@ -59,6 +59,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .cloud_pc_disaster_recovery_capability_type import CloudPcDisasterRecoveryCapabilityType + writer.write_enum_value("capabilityType", self.capability_type) writer.write_str_value("@odata.type", self.odata_type) writer.write_str_value("primaryRegion", self.primary_region) diff --git a/msgraph_beta/generated/models/cloud_pc_disaster_recovery_microsoft_hosted_network_setting.py b/msgraph_beta/generated/models/cloud_pc_disaster_recovery_microsoft_hosted_network_setting.py index 1b82cf25b33..c73a27bf8d4 100644 --- a/msgraph_beta/generated/models/cloud_pc_disaster_recovery_microsoft_hosted_network_setting.py +++ b/msgraph_beta/generated/models/cloud_pc_disaster_recovery_microsoft_hosted_network_setting.py @@ -57,6 +57,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .cloud_pc_disaster_recovery_network_setting import CloudPcDisasterRecoveryNetworkSetting + from .cloud_pc_region_group import CloudPcRegionGroup + writer.write_enum_value("regionGroup", self.region_group) writer.write_str_value("regionName", self.region_name) diff --git a/msgraph_beta/generated/models/cloud_pc_disaster_recovery_network_setting.py b/msgraph_beta/generated/models/cloud_pc_disaster_recovery_network_setting.py index c30f39f419c..0de9ed4ba5a 100644 --- a/msgraph_beta/generated/models/cloud_pc_disaster_recovery_network_setting.py +++ b/msgraph_beta/generated/models/cloud_pc_disaster_recovery_network_setting.py @@ -28,7 +28,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> CloudPcDisasterRec if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.cloudPcDisasterRecoveryAzureConnectionSetting".casefold(): @@ -65,6 +66,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .cloud_pc_disaster_recovery_azure_connection_setting import CloudPcDisasterRecoveryAzureConnectionSetting + from .cloud_pc_disaster_recovery_microsoft_hosted_network_setting import CloudPcDisasterRecoveryMicrosoftHostedNetworkSetting + writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/cloud_pc_disaster_recovery_type.py b/msgraph_beta/generated/models/cloud_pc_disaster_recovery_type.py new file mode 100644 index 00000000000..b7f2caa6adb --- /dev/null +++ b/msgraph_beta/generated/models/cloud_pc_disaster_recovery_type.py @@ -0,0 +1,8 @@ +from enum import Enum + +class CloudPcDisasterRecoveryType(str, Enum): + NotConfigured = "notConfigured", + CrossRegion = "crossRegion", + Premium = "premium", + UnknownFutureValue = "unknownFutureValue", + diff --git a/msgraph_beta/generated/models/cloud_pc_domain_join_configuration.py b/msgraph_beta/generated/models/cloud_pc_domain_join_configuration.py index f265f021463..2303cbff00d 100644 --- a/msgraph_beta/generated/models/cloud_pc_domain_join_configuration.py +++ b/msgraph_beta/generated/models/cloud_pc_domain_join_configuration.py @@ -68,6 +68,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .cloud_pc_domain_join_type import CloudPcDomainJoinType + from .cloud_pc_region_group import CloudPcRegionGroup + writer.write_enum_value("domainJoinType", self.domain_join_type) writer.write_str_value("@odata.type", self.odata_type) writer.write_str_value("onPremisesConnectionId", self.on_premises_connection_id) diff --git a/msgraph_beta/generated/models/cloud_pc_export_job.py b/msgraph_beta/generated/models/cloud_pc_export_job.py index 1eb7c18bfc5..b5fbd90a295 100644 --- a/msgraph_beta/generated/models/cloud_pc_export_job.py +++ b/msgraph_beta/generated/models/cloud_pc_export_job.py @@ -25,7 +25,7 @@ class CloudPcExportJob(Entity): format: Optional[str] = None # The OdataType property odata_type: Optional[str] = None - # The report name. The possible values are: remoteConnectionHistoricalReports, dailyAggregatedRemoteConnectionReports, totalAggregatedRemoteConnectionReports, sharedUseLicenseUsageReport, sharedUseLicenseUsageRealTimeReport, unknownFutureValue, noLicenseAvailableConnectivityFailureReport, frontlineLicenseUsageReport, frontlineLicenseUsageRealTimeReport, remoteConnectionQualityReports, inaccessibleCloudPcReports, actionStatusReport, rawRemoteConnectionReports, cloudPcUsageCategoryReports, crossRegionDisasterRecoveryReport, regionalConnectionQualityTrendReport, regionalConnectionQualityInsightsReport, remoteConnectionQualityReport. You must use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: noLicenseAvailableConnectivityFailureReport, frontlineLicenseUsageReport, frontlineLicenseUsageRealTimeReport, remoteConnectionQualityReports, inaccessibleCloudPcReports, rawRemoteConnectionReports, cloudPcUsageCategoryReports, crossRegionDisasterRecoveryReport. + # The report name. The possible values are: remoteConnectionHistoricalReports, dailyAggregatedRemoteConnectionReports, totalAggregatedRemoteConnectionReports, sharedUseLicenseUsageReport, sharedUseLicenseUsageRealTimeReport, unknownFutureValue, noLicenseAvailableConnectivityFailureReport, frontlineLicenseUsageReport, frontlineLicenseUsageRealTimeReport, remoteConnectionQualityReports, inaccessibleCloudPcReports, actionStatusReport, rawRemoteConnectionReports, cloudPcUsageCategoryReports, crossRegionDisasterRecoveryReport, regionalConnectionQualityTrendReport, regionalConnectionQualityInsightsReport, remoteConnectionQualityReport, bulkActionStatusReport. You must use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: noLicenseAvailableConnectivityFailureReport, frontlineLicenseUsageReport, frontlineLicenseUsageRealTimeReport, remoteConnectionQualityReports, inaccessibleCloudPcReports, rawRemoteConnectionReports, cloudPcUsageCategoryReports, crossRegionDisasterRecoveryReport. report_name: Optional[CloudPcReportName] = None # The date and time when the export job was requested. request_date_time: Optional[datetime.datetime] = None @@ -79,6 +79,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .cloud_pc_export_job_status import CloudPcExportJobStatus + from .cloud_pc_report_name import CloudPcReportName + from .entity import Entity + writer.write_datetime_value("expirationDateTime", self.expiration_date_time) writer.write_enum_value("exportJobStatus", self.export_job_status) writer.write_str_value("exportUrl", self.export_url) diff --git a/msgraph_beta/generated/models/cloud_pc_export_job_collection_response.py b/msgraph_beta/generated/models/cloud_pc_export_job_collection_response.py index 3b41cda70f7..d4f5ad03f20 100644 --- a/msgraph_beta/generated/models/cloud_pc_export_job_collection_response.py +++ b/msgraph_beta/generated/models/cloud_pc_export_job_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .cloud_pc_export_job import CloudPcExportJob + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/cloud_pc_external_partner_setting.py b/msgraph_beta/generated/models/cloud_pc_external_partner_setting.py index d10d17580d9..0a31b0aef9d 100644 --- a/msgraph_beta/generated/models/cloud_pc_external_partner_setting.py +++ b/msgraph_beta/generated/models/cloud_pc_external_partner_setting.py @@ -67,6 +67,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .cloud_pc_external_partner_status import CloudPcExternalPartnerStatus + from .entity import Entity + writer.write_bool_value("enableConnection", self.enable_connection) writer.write_datetime_value("lastSyncDateTime", self.last_sync_date_time) writer.write_str_value("partnerId", self.partner_id) diff --git a/msgraph_beta/generated/models/cloud_pc_external_partner_setting_collection_response.py b/msgraph_beta/generated/models/cloud_pc_external_partner_setting_collection_response.py index ffa6a6e90df..b959355f9e2 100644 --- a/msgraph_beta/generated/models/cloud_pc_external_partner_setting_collection_response.py +++ b/msgraph_beta/generated/models/cloud_pc_external_partner_setting_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .cloud_pc_external_partner_setting import CloudPcExternalPartnerSetting + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/cloud_pc_forensic_storage_account.py b/msgraph_beta/generated/models/cloud_pc_forensic_storage_account.py index 53c74aa6f20..e6804f10346 100644 --- a/msgraph_beta/generated/models/cloud_pc_forensic_storage_account.py +++ b/msgraph_beta/generated/models/cloud_pc_forensic_storage_account.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_str_value("storageAccountId", self.storage_account_id) writer.write_str_value("storageAccountName", self.storage_account_name) diff --git a/msgraph_beta/generated/models/cloud_pc_front_line_service_plan.py b/msgraph_beta/generated/models/cloud_pc_front_line_service_plan.py index ef1a2926623..200f2139b60 100644 --- a/msgraph_beta/generated/models/cloud_pc_front_line_service_plan.py +++ b/msgraph_beta/generated/models/cloud_pc_front_line_service_plan.py @@ -60,6 +60,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_int_value("allotmentLicensesCount", self.allotment_licenses_count) writer.write_str_value("displayName", self.display_name) writer.write_int_value("totalCount", self.total_count) diff --git a/msgraph_beta/generated/models/cloud_pc_front_line_service_plan_collection_response.py b/msgraph_beta/generated/models/cloud_pc_front_line_service_plan_collection_response.py index cafbdadd196..a520acd4e88 100644 --- a/msgraph_beta/generated/models/cloud_pc_front_line_service_plan_collection_response.py +++ b/msgraph_beta/generated/models/cloud_pc_front_line_service_plan_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .cloud_pc_front_line_service_plan import CloudPcFrontLineServicePlan + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/cloud_pc_gallery_image.py b/msgraph_beta/generated/models/cloud_pc_gallery_image.py index f401ab18212..0fb90b2fbbb 100644 --- a/msgraph_beta/generated/models/cloud_pc_gallery_image.py +++ b/msgraph_beta/generated/models/cloud_pc_gallery_image.py @@ -100,6 +100,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .cloud_pc_gallery_image_status import CloudPcGalleryImageStatus + from .entity import Entity + writer.write_str_value("displayName", self.display_name) writer.write_date_value("endDate", self.end_date) writer.write_date_value("expirationDate", self.expiration_date) diff --git a/msgraph_beta/generated/models/cloud_pc_gallery_image_collection_response.py b/msgraph_beta/generated/models/cloud_pc_gallery_image_collection_response.py index 90d9512558e..b3c6cc0d6c1 100644 --- a/msgraph_beta/generated/models/cloud_pc_gallery_image_collection_response.py +++ b/msgraph_beta/generated/models/cloud_pc_gallery_image_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .cloud_pc_gallery_image import CloudPcGalleryImage + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/cloud_pc_health_check_item.py b/msgraph_beta/generated/models/cloud_pc_health_check_item.py index dd3b53bff5f..0c21984bd58 100644 --- a/msgraph_beta/generated/models/cloud_pc_health_check_item.py +++ b/msgraph_beta/generated/models/cloud_pc_health_check_item.py @@ -63,6 +63,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .cloud_pc_connectivity_event_result import CloudPcConnectivityEventResult + writer.write_str_value("additionalDetails", self.additional_details) writer.write_str_value("displayName", self.display_name) writer.write_datetime_value("lastHealthCheckDateTime", self.last_health_check_date_time) diff --git a/msgraph_beta/generated/models/cloud_pc_management_assignment_target.py b/msgraph_beta/generated/models/cloud_pc_management_assignment_target.py index 405da486451..4a64b58f17c 100644 --- a/msgraph_beta/generated/models/cloud_pc_management_assignment_target.py +++ b/msgraph_beta/generated/models/cloud_pc_management_assignment_target.py @@ -27,7 +27,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> CloudPcManagementA if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.cloudPcManagementGroupAssignmentTarget".casefold(): @@ -58,6 +59,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .cloud_pc_management_group_assignment_target import CloudPcManagementGroupAssignmentTarget + writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/cloud_pc_management_group_assignment_target.py b/msgraph_beta/generated/models/cloud_pc_management_group_assignment_target.py index c0920888168..27eb727c6e2 100644 --- a/msgraph_beta/generated/models/cloud_pc_management_group_assignment_target.py +++ b/msgraph_beta/generated/models/cloud_pc_management_group_assignment_target.py @@ -60,6 +60,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .cloud_pc_management_assignment_target import CloudPcManagementAssignmentTarget + writer.write_str_value("allotmentDisplayName", self.allotment_display_name) writer.write_int_value("allotmentLicensesCount", self.allotment_licenses_count) writer.write_str_value("groupId", self.group_id) diff --git a/msgraph_beta/generated/models/cloud_pc_on_premises_connection.py b/msgraph_beta/generated/models/cloud_pc_on_premises_connection.py index d52af13f07a..70ee13735c1 100644 --- a/msgraph_beta/generated/models/cloud_pc_on_premises_connection.py +++ b/msgraph_beta/generated/models/cloud_pc_on_premises_connection.py @@ -27,6 +27,8 @@ class CloudPcOnPremisesConnection(Entity): connection_type: Optional[CloudPcOnPremisesConnectionType] = None # The display name for the Azure network connection. display_name: Optional[str] = None + # false if the regular health checks on the network/domain configuration are currently active. true if the checks are paused. If you perform a create or update operation on a onPremisesNetworkConnection resource, this value is set to false for 4 weeks. If you retry a health check on network/domain configuration, this value is set to false for two weeks. If the onPremisesNetworkConnection resource is attached in a provisioningPolicy or used by a Cloud PC in the past 4 weeks, healthCheckPaused is set to false. Read-only. Default is false. + health_check_paused: Optional[bool] = None # The healthCheckStatus property health_check_status: Optional[CloudPcOnPremisesConnectionStatus] = None # Indicates the results of health checks performed on the on-premises connection. Returned only on $select. For an example that shows how to get the inUse property, see Example 2: Get the selected properties of an Azure network connection, including healthCheckStatusDetails. Read-only. @@ -35,11 +37,13 @@ class CloudPcOnPremisesConnection(Entity): health_check_status_details: Optional[CloudPcOnPremisesConnectionStatusDetails] = None # When true, the Azure network connection is in use. When false, the connection isn't in use. You can't delete a connection that’s in use. Returned only on $select. For an example that shows how to get the inUse property, see Example 2: Get the selected properties of an Azure network connection, including healthCheckStatusDetails. Read-only. in_use: Optional[bool] = None + # Indicates whether a Cloud PC is using this on-premises network connection. true if at least one Cloud PC is using it. Otherwise, false. Read-only. Default is false. + in_use_by_cloud_pc: Optional[bool] = None # The managedBy property managed_by: Optional[CloudPcManagementService] = None # The OdataType property odata_type: Optional[str] = None - # The organizational unit (OU) in which the computer account is created. If left null, the OU that’s configured as the default (a well-known computer object container) in your Active Directory domain (OU) is used. Optional. + # The organizational unit (OU) in which the computer account is created. If left null, the OU configured as the default (a well-known computer object container) in your Active Directory domain (OU) is used. Optional. organizational_unit: Optional[str] = None # The ID of the target resource group. Required format: /subscriptions/{subscription-id}/resourceGroups/{resourceGroupName}. resource_group_id: Optional[str] = None @@ -51,7 +55,7 @@ class CloudPcOnPremisesConnection(Entity): subscription_id: Optional[str] = None # The name of the target Azure subscription. Read-only. subscription_name: Optional[str] = None - # Specifies the method by which a provisioned Cloud PC is joined to Microsoft Entra. The azureADJoin option indicates the absence of an on-premises Active Directory (AD) in the current tenant that results in the Cloud PC device only joining to Microsoft Entra. The hybridAzureADJoin option indicates the presence of an on-premises AD in the current tenant and that the Cloud PC joins both the on-premises AD and Microsoft Entra. The selected option also determines the types of users who can be assigned and can sign into a Cloud PC. The azureADJoin option allows both cloud-only and hybrid users to be assigned and sign in, whereas hybridAzureADJoin is restricted to hybrid users only. The default value is hybridAzureADJoin. The possible values are: hybridAzureADJoin, azureADJoin, unknownFutureValue. The type property is deprecated and stopped returning data on January 31, 2024. Goind forward, use the connectionType property. + # Specifies the method by which a provisioned Cloud PC is joined to Microsoft Entra. The azureADJoin option indicates the absence of an on-premises Active Directory (AD) in the current tenant that results in the Cloud PC device only joining to Microsoft Entra. The hybridAzureADJoin option indicates the presence of an on-premises AD in the current tenant and that the Cloud PC joins both the on-premises AD and Microsoft Entra. The selected option also determines the types of users who can be assigned and can sign into a Cloud PC. The azureADJoin option allows both cloud-only and hybrid users to be assigned and sign in, whereas hybridAzureADJoin is restricted to hybrid users only. The default value is hybridAzureADJoin. The possible values are: hybridAzureADJoin, azureADJoin, unknownFutureValue. The type property is deprecated and stopped returning data on January 31, 2024. Going forward, use the connectionType property. type: Optional[CloudPcOnPremisesConnectionType] = None # The ID of the target virtual network. Required format: /subscriptions/{subscription-id}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}. virtual_network_id: Optional[str] = None @@ -95,10 +99,12 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: "alternateResourceUrl": lambda n : setattr(self, 'alternate_resource_url', n.get_str_value()), "connectionType": lambda n : setattr(self, 'connection_type', n.get_enum_value(CloudPcOnPremisesConnectionType)), "displayName": lambda n : setattr(self, 'display_name', n.get_str_value()), + "healthCheckPaused": lambda n : setattr(self, 'health_check_paused', n.get_bool_value()), "healthCheckStatus": lambda n : setattr(self, 'health_check_status', n.get_enum_value(CloudPcOnPremisesConnectionStatus)), "healthCheckStatusDetail": lambda n : setattr(self, 'health_check_status_detail', n.get_object_value(CloudPcOnPremisesConnectionStatusDetail)), "healthCheckStatusDetails": lambda n : setattr(self, 'health_check_status_details', n.get_object_value(CloudPcOnPremisesConnectionStatusDetails)), "inUse": lambda n : setattr(self, 'in_use', n.get_bool_value()), + "inUseByCloudPc": lambda n : setattr(self, 'in_use_by_cloud_pc', n.get_bool_value()), "managedBy": lambda n : setattr(self, 'managed_by', n.get_collection_of_enum_values(CloudPcManagementService)), "organizationalUnit": lambda n : setattr(self, 'organizational_unit', n.get_str_value()), "resourceGroupId": lambda n : setattr(self, 'resource_group_id', n.get_str_value()), @@ -123,16 +129,25 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .cloud_pc_management_service import CloudPcManagementService + from .cloud_pc_on_premises_connection_status import CloudPcOnPremisesConnectionStatus + from .cloud_pc_on_premises_connection_status_detail import CloudPcOnPremisesConnectionStatusDetail + from .cloud_pc_on_premises_connection_status_details import CloudPcOnPremisesConnectionStatusDetails + from .cloud_pc_on_premises_connection_type import CloudPcOnPremisesConnectionType + from .entity import Entity + writer.write_str_value("adDomainName", self.ad_domain_name) writer.write_str_value("adDomainPassword", self.ad_domain_password) writer.write_str_value("adDomainUsername", self.ad_domain_username) writer.write_str_value("alternateResourceUrl", self.alternate_resource_url) writer.write_enum_value("connectionType", self.connection_type) writer.write_str_value("displayName", self.display_name) + writer.write_bool_value("healthCheckPaused", self.health_check_paused) writer.write_enum_value("healthCheckStatus", self.health_check_status) writer.write_object_value("healthCheckStatusDetail", self.health_check_status_detail) writer.write_object_value("healthCheckStatusDetails", self.health_check_status_details) writer.write_bool_value("inUse", self.in_use) + writer.write_bool_value("inUseByCloudPc", self.in_use_by_cloud_pc) writer.write_enum_value("managedBy", self.managed_by) writer.write_str_value("organizationalUnit", self.organizational_unit) writer.write_str_value("resourceGroupId", self.resource_group_id) diff --git a/msgraph_beta/generated/models/cloud_pc_on_premises_connection_collection_response.py b/msgraph_beta/generated/models/cloud_pc_on_premises_connection_collection_response.py index c771c99a6e1..e580e9b9329 100644 --- a/msgraph_beta/generated/models/cloud_pc_on_premises_connection_collection_response.py +++ b/msgraph_beta/generated/models/cloud_pc_on_premises_connection_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .cloud_pc_on_premises_connection import CloudPcOnPremisesConnection + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/cloud_pc_on_premises_connection_health_check.py b/msgraph_beta/generated/models/cloud_pc_on_premises_connection_health_check.py index 60983205e17..e154b3b0cfd 100644 --- a/msgraph_beta/generated/models/cloud_pc_on_premises_connection_health_check.py +++ b/msgraph_beta/generated/models/cloud_pc_on_premises_connection_health_check.py @@ -81,6 +81,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .cloud_pc_on_premises_connection_health_check_error_type import CloudPcOnPremisesConnectionHealthCheckErrorType + from .cloud_pc_on_premises_connection_status import CloudPcOnPremisesConnectionStatus + writer.write_str_value("additionalDetail", self.additional_detail) writer.write_str_value("additionalDetails", self.additional_details) writer.write_str_value("correlationId", self.correlation_id) diff --git a/msgraph_beta/generated/models/cloud_pc_on_premises_connection_status_detail.py b/msgraph_beta/generated/models/cloud_pc_on_premises_connection_status_detail.py index 221dbcc5242..6892f9c369b 100644 --- a/msgraph_beta/generated/models/cloud_pc_on_premises_connection_status_detail.py +++ b/msgraph_beta/generated/models/cloud_pc_on_premises_connection_status_detail.py @@ -60,6 +60,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .cloud_pc_on_premises_connection_health_check import CloudPcOnPremisesConnectionHealthCheck + writer.write_datetime_value("endDateTime", self.end_date_time) writer.write_collection_of_object_values("healthChecks", self.health_checks) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/cloud_pc_on_premises_connection_status_details.py b/msgraph_beta/generated/models/cloud_pc_on_premises_connection_status_details.py index bbaafe00729..9fb7c0b8918 100644 --- a/msgraph_beta/generated/models/cloud_pc_on_premises_connection_status_details.py +++ b/msgraph_beta/generated/models/cloud_pc_on_premises_connection_status_details.py @@ -60,6 +60,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .cloud_pc_on_premises_connection_health_check import CloudPcOnPremisesConnectionHealthCheck + writer.write_datetime_value("endDateTime", self.end_date_time) writer.write_collection_of_object_values("healthChecks", self.health_checks) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/cloud_pc_organization_settings.py b/msgraph_beta/generated/models/cloud_pc_organization_settings.py index a961427cfd3..e863b7f0eb2 100644 --- a/msgraph_beta/generated/models/cloud_pc_organization_settings.py +++ b/msgraph_beta/generated/models/cloud_pc_organization_settings.py @@ -72,6 +72,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .cloud_pc_operating_system import CloudPcOperatingSystem + from .cloud_pc_user_account_type import CloudPcUserAccountType + from .cloud_pc_windows_settings import CloudPcWindowsSettings + from .entity import Entity + writer.write_bool_value("enableMEMAutoEnroll", self.enable_m_e_m_auto_enroll) writer.write_bool_value("enableSingleSignOn", self.enable_single_sign_on) writer.write_enum_value("osVersion", self.os_version) diff --git a/msgraph_beta/generated/models/cloud_pc_partner_agent_install_result.py b/msgraph_beta/generated/models/cloud_pc_partner_agent_install_result.py index ba93abe8005..f5e65fbd9e0 100644 --- a/msgraph_beta/generated/models/cloud_pc_partner_agent_install_result.py +++ b/msgraph_beta/generated/models/cloud_pc_partner_agent_install_result.py @@ -68,6 +68,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .cloud_pc_partner_agent_install_status import CloudPcPartnerAgentInstallStatus + from .cloud_pc_partner_agent_name import CloudPcPartnerAgentName + writer.write_str_value("errorMessage", self.error_message) writer.write_enum_value("installStatus", self.install_status) writer.write_bool_value("isThirdPartyPartner", self.is_third_party_partner) diff --git a/msgraph_beta/generated/models/cloud_pc_provisioning_policy.py b/msgraph_beta/generated/models/cloud_pc_provisioning_policy.py index 9004d1d9817..92cc2579712 100644 --- a/msgraph_beta/generated/models/cloud_pc_provisioning_policy.py +++ b/msgraph_beta/generated/models/cloud_pc_provisioning_policy.py @@ -141,6 +141,18 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .cloud_pc_autopilot_configuration import CloudPcAutopilotConfiguration + from .cloud_pc_domain_join_configuration import CloudPcDomainJoinConfiguration + from .cloud_pc_management_service import CloudPcManagementService + from .cloud_pc_provisioning_policy_assignment import CloudPcProvisioningPolicyAssignment + from .cloud_pc_provisioning_policy_autopatch import CloudPcProvisioningPolicyAutopatch + from .cloud_pc_provisioning_policy_image_type import CloudPcProvisioningPolicyImageType + from .cloud_pc_provisioning_type import CloudPcProvisioningType + from .cloud_pc_windows_setting import CloudPcWindowsSetting + from .cloud_pc_windows_settings import CloudPcWindowsSettings + from .entity import Entity + from .microsoft_managed_desktop import MicrosoftManagedDesktop + writer.write_str_value("alternateResourceUrl", self.alternate_resource_url) writer.write_collection_of_object_values("assignments", self.assignments) writer.write_object_value("autopatch", self.autopatch) diff --git a/msgraph_beta/generated/models/cloud_pc_provisioning_policy_assignment.py b/msgraph_beta/generated/models/cloud_pc_provisioning_policy_assignment.py index a0163a490cf..9637ebb3cdf 100644 --- a/msgraph_beta/generated/models/cloud_pc_provisioning_policy_assignment.py +++ b/msgraph_beta/generated/models/cloud_pc_provisioning_policy_assignment.py @@ -60,6 +60,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .cloud_pc_management_assignment_target import CloudPcManagementAssignmentTarget + from .entity import Entity + from .user import User + writer.write_collection_of_object_values("assignedUsers", self.assigned_users) writer.write_object_value("target", self.target) diff --git a/msgraph_beta/generated/models/cloud_pc_provisioning_policy_assignment_collection_response.py b/msgraph_beta/generated/models/cloud_pc_provisioning_policy_assignment_collection_response.py index 993584f708c..088eeed9707 100644 --- a/msgraph_beta/generated/models/cloud_pc_provisioning_policy_assignment_collection_response.py +++ b/msgraph_beta/generated/models/cloud_pc_provisioning_policy_assignment_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .cloud_pc_provisioning_policy_assignment import CloudPcProvisioningPolicyAssignment + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/cloud_pc_provisioning_policy_collection_response.py b/msgraph_beta/generated/models/cloud_pc_provisioning_policy_collection_response.py index 7acae52f5e3..f8056efb177 100644 --- a/msgraph_beta/generated/models/cloud_pc_provisioning_policy_collection_response.py +++ b/msgraph_beta/generated/models/cloud_pc_provisioning_policy_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .cloud_pc_provisioning_policy import CloudPcProvisioningPolicy + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/cloud_pc_remote_action_capability.py b/msgraph_beta/generated/models/cloud_pc_remote_action_capability.py index 77904acf9b9..7b96de83a5c 100644 --- a/msgraph_beta/generated/models/cloud_pc_remote_action_capability.py +++ b/msgraph_beta/generated/models/cloud_pc_remote_action_capability.py @@ -59,6 +59,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .action_capability import ActionCapability + from .cloud_pc_remote_action_name import CloudPcRemoteActionName + writer.write_enum_value("actionCapability", self.action_capability) writer.write_enum_value("actionName", self.action_name) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/cloud_pc_remote_action_result.py b/msgraph_beta/generated/models/cloud_pc_remote_action_result.py index 3ac95440bda..7ff7fb94a92 100644 --- a/msgraph_beta/generated/models/cloud_pc_remote_action_result.py +++ b/msgraph_beta/generated/models/cloud_pc_remote_action_result.py @@ -81,6 +81,10 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .action_state import ActionState + from .cloud_pc_status_detail import CloudPcStatusDetail + from .cloud_pc_status_details import CloudPcStatusDetails + writer.write_str_value("actionName", self.action_name) writer.write_enum_value("actionState", self.action_state) writer.write_str_value("cloudPcId", self.cloud_pc_id) diff --git a/msgraph_beta/generated/models/cloud_pc_report_name.py b/msgraph_beta/generated/models/cloud_pc_report_name.py index e2d8cae7ef3..c383ae517bd 100644 --- a/msgraph_beta/generated/models/cloud_pc_report_name.py +++ b/msgraph_beta/generated/models/cloud_pc_report_name.py @@ -21,4 +21,7 @@ class CloudPcReportName(str, Enum): RegionalConnectionQualityTrendReport = "regionalConnectionQualityTrendReport", RegionalConnectionQualityInsightsReport = "regionalConnectionQualityInsightsReport", RemoteConnectionQualityReport = "remoteConnectionQualityReport", + FrontlineLicenseHourlyUsageReport = "frontlineLicenseHourlyUsageReport", + FrontlineRealtimeUserConnectionsReport = "frontlineRealtimeUserConnectionsReport", + BulkActionStatusReport = "bulkActionStatusReport", diff --git a/msgraph_beta/generated/models/cloud_pc_reports.py b/msgraph_beta/generated/models/cloud_pc_reports.py index 4f21f4b9d1d..f9b32099d2f 100644 --- a/msgraph_beta/generated/models/cloud_pc_reports.py +++ b/msgraph_beta/generated/models/cloud_pc_reports.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .cloud_pc_export_job import CloudPcExportJob + from .entity import Entity + writer.write_collection_of_object_values("exportJobs", self.export_jobs) diff --git a/msgraph_beta/generated/models/cloud_pc_resize_validation_result.py b/msgraph_beta/generated/models/cloud_pc_resize_validation_result.py index 007f651a982..f60b8690780 100644 --- a/msgraph_beta/generated/models/cloud_pc_resize_validation_result.py +++ b/msgraph_beta/generated/models/cloud_pc_resize_validation_result.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .cloud_pc_resize_validation_code import CloudPcResizeValidationCode + writer.write_str_value("cloudPcId", self.cloud_pc_id) writer.write_str_value("@odata.type", self.odata_type) writer.write_enum_value("validationResult", self.validation_result) diff --git a/msgraph_beta/generated/models/cloud_pc_restore_point_setting.py b/msgraph_beta/generated/models/cloud_pc_restore_point_setting.py index 841f7c4b85e..29e3bf898b8 100644 --- a/msgraph_beta/generated/models/cloud_pc_restore_point_setting.py +++ b/msgraph_beta/generated/models/cloud_pc_restore_point_setting.py @@ -59,6 +59,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .cloud_pc_restore_point_frequency_type import CloudPcRestorePointFrequencyType + writer.write_int_value("frequencyInHours", self.frequency_in_hours) writer.write_enum_value("frequencyType", self.frequency_type) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/cloud_pc_review_status.py b/msgraph_beta/generated/models/cloud_pc_review_status.py index 9ac9f3ff9ff..c08d9694297 100644 --- a/msgraph_beta/generated/models/cloud_pc_review_status.py +++ b/msgraph_beta/generated/models/cloud_pc_review_status.py @@ -78,6 +78,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .cloud_pc_user_access_level import CloudPcUserAccessLevel + writer.write_str_value("azureStorageAccountId", self.azure_storage_account_id) writer.write_str_value("azureStorageAccountName", self.azure_storage_account_name) writer.write_str_value("azureStorageContainerName", self.azure_storage_container_name) diff --git a/msgraph_beta/generated/models/cloud_pc_service_plan.py b/msgraph_beta/generated/models/cloud_pc_service_plan.py index ed7d7654852..6a69fbd7cab 100644 --- a/msgraph_beta/generated/models/cloud_pc_service_plan.py +++ b/msgraph_beta/generated/models/cloud_pc_service_plan.py @@ -81,6 +81,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .cloud_pc_management_service import CloudPcManagementService + from .cloud_pc_provisioning_type import CloudPcProvisioningType + from .cloud_pc_service_plan_type import CloudPcServicePlanType + from .entity import Entity + writer.write_str_value("displayName", self.display_name) writer.write_enum_value("provisioningType", self.provisioning_type) writer.write_int_value("ramInGB", self.ram_in_g_b) diff --git a/msgraph_beta/generated/models/cloud_pc_service_plan_collection_response.py b/msgraph_beta/generated/models/cloud_pc_service_plan_collection_response.py index 60e2079ad1a..b7af3a7a7da 100644 --- a/msgraph_beta/generated/models/cloud_pc_service_plan_collection_response.py +++ b/msgraph_beta/generated/models/cloud_pc_service_plan_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .cloud_pc_service_plan import CloudPcServicePlan + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/cloud_pc_snapshot.py b/msgraph_beta/generated/models/cloud_pc_snapshot.py index dd625c7f256..e90050fd8c7 100644 --- a/msgraph_beta/generated/models/cloud_pc_snapshot.py +++ b/msgraph_beta/generated/models/cloud_pc_snapshot.py @@ -73,6 +73,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .cloud_pc_snapshot_status import CloudPcSnapshotStatus + from .cloud_pc_snapshot_type import CloudPcSnapshotType + from .entity import Entity + writer.write_str_value("cloudPcId", self.cloud_pc_id) writer.write_datetime_value("createdDateTime", self.created_date_time) writer.write_datetime_value("expirationDateTime", self.expiration_date_time) diff --git a/msgraph_beta/generated/models/cloud_pc_snapshot_collection_response.py b/msgraph_beta/generated/models/cloud_pc_snapshot_collection_response.py index e73d3d29370..37d0718d1d2 100644 --- a/msgraph_beta/generated/models/cloud_pc_snapshot_collection_response.py +++ b/msgraph_beta/generated/models/cloud_pc_snapshot_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .cloud_pc_snapshot import CloudPcSnapshot + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/cloud_pc_status.py b/msgraph_beta/generated/models/cloud_pc_status.py index 52bce0be712..40d892f5bb6 100644 --- a/msgraph_beta/generated/models/cloud_pc_status.py +++ b/msgraph_beta/generated/models/cloud_pc_status.py @@ -16,4 +16,5 @@ class CloudPcStatus(str, Enum): ResizePendingLicense = "resizePendingLicense", UpdatingSingleSignOn = "updatingSingleSignOn", ModifyingSingleSignOn = "modifyingSingleSignOn", + Preparing = "preparing", diff --git a/msgraph_beta/generated/models/cloud_pc_status_detail.py b/msgraph_beta/generated/models/cloud_pc_status_detail.py index e40a8b22014..555ce995b5a 100644 --- a/msgraph_beta/generated/models/cloud_pc_status_detail.py +++ b/msgraph_beta/generated/models/cloud_pc_status_detail.py @@ -59,6 +59,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .key_value_pair import KeyValuePair + writer.write_collection_of_object_values("additionalInformation", self.additional_information) writer.write_str_value("code", self.code) writer.write_str_value("message", self.message) diff --git a/msgraph_beta/generated/models/cloud_pc_status_details.py b/msgraph_beta/generated/models/cloud_pc_status_details.py index 07870bce63a..7dcb8b49ac7 100644 --- a/msgraph_beta/generated/models/cloud_pc_status_details.py +++ b/msgraph_beta/generated/models/cloud_pc_status_details.py @@ -59,6 +59,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .key_value_pair import KeyValuePair + writer.write_collection_of_object_values("additionalInformation", self.additional_information) writer.write_str_value("code", self.code) writer.write_str_value("message", self.message) diff --git a/msgraph_beta/generated/models/cloud_pc_subscription.py b/msgraph_beta/generated/models/cloud_pc_subscription.py index 83b9bb752c6..f35a3cfd1a4 100644 --- a/msgraph_beta/generated/models/cloud_pc_subscription.py +++ b/msgraph_beta/generated/models/cloud_pc_subscription.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_str_value("subscriptionId", self.subscription_id) writer.write_str_value("subscriptionName", self.subscription_name) diff --git a/msgraph_beta/generated/models/cloud_pc_supported_region.py b/msgraph_beta/generated/models/cloud_pc_supported_region.py index 8cb22d9b9e7..96d4341446d 100644 --- a/msgraph_beta/generated/models/cloud_pc_supported_region.py +++ b/msgraph_beta/generated/models/cloud_pc_supported_region.py @@ -69,6 +69,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .cloud_pc_management_service import CloudPcManagementService + from .cloud_pc_region_group import CloudPcRegionGroup + from .cloud_pc_supported_region_status import CloudPcSupportedRegionStatus + from .entity import Entity + writer.write_str_value("displayName", self.display_name) writer.write_enum_value("regionGroup", self.region_group) writer.write_enum_value("regionStatus", self.region_status) diff --git a/msgraph_beta/generated/models/cloud_pc_supported_region_collection_response.py b/msgraph_beta/generated/models/cloud_pc_supported_region_collection_response.py index a47a12092ec..6e5bfc584aa 100644 --- a/msgraph_beta/generated/models/cloud_pc_supported_region_collection_response.py +++ b/msgraph_beta/generated/models/cloud_pc_supported_region_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .cloud_pc_supported_region import CloudPcSupportedRegion + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/cloud_pc_tenant_encryption_setting.py b/msgraph_beta/generated/models/cloud_pc_tenant_encryption_setting.py index 676364f75cd..e24971cebd0 100644 --- a/msgraph_beta/generated/models/cloud_pc_tenant_encryption_setting.py +++ b/msgraph_beta/generated/models/cloud_pc_tenant_encryption_setting.py @@ -57,6 +57,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .cloud_pc_disk_encryption_type import CloudPcDiskEncryptionType + writer.write_datetime_value("lastSyncDateTime", self.last_sync_date_time) writer.write_str_value("@odata.type", self.odata_type) writer.write_enum_value("tenantDiskEncryptionType", self.tenant_disk_encryption_type) diff --git a/msgraph_beta/generated/models/cloud_pc_user_setting.py b/msgraph_beta/generated/models/cloud_pc_user_setting.py index e5d64246bc1..a51f5b210c3 100644 --- a/msgraph_beta/generated/models/cloud_pc_user_setting.py +++ b/msgraph_beta/generated/models/cloud_pc_user_setting.py @@ -91,6 +91,12 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .cloud_pc_cross_region_disaster_recovery_setting import CloudPcCrossRegionDisasterRecoverySetting + from .cloud_pc_notification_setting import CloudPcNotificationSetting + from .cloud_pc_restore_point_setting import CloudPcRestorePointSetting + from .cloud_pc_user_setting_assignment import CloudPcUserSettingAssignment + from .entity import Entity + writer.write_collection_of_object_values("assignments", self.assignments) writer.write_datetime_value("createdDateTime", self.created_date_time) writer.write_object_value("crossRegionDisasterRecoverySetting", self.cross_region_disaster_recovery_setting) diff --git a/msgraph_beta/generated/models/cloud_pc_user_setting_assignment.py b/msgraph_beta/generated/models/cloud_pc_user_setting_assignment.py index efb02240f0d..17e1c2e2ef8 100644 --- a/msgraph_beta/generated/models/cloud_pc_user_setting_assignment.py +++ b/msgraph_beta/generated/models/cloud_pc_user_setting_assignment.py @@ -58,6 +58,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .cloud_pc_management_assignment_target import CloudPcManagementAssignmentTarget + from .entity import Entity + writer.write_datetime_value("createdDateTime", self.created_date_time) writer.write_object_value("target", self.target) diff --git a/msgraph_beta/generated/models/cloud_pc_user_setting_assignment_collection_response.py b/msgraph_beta/generated/models/cloud_pc_user_setting_assignment_collection_response.py index 0b826225714..8ca093f1f46 100644 --- a/msgraph_beta/generated/models/cloud_pc_user_setting_assignment_collection_response.py +++ b/msgraph_beta/generated/models/cloud_pc_user_setting_assignment_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .cloud_pc_user_setting_assignment import CloudPcUserSettingAssignment + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/cloud_pc_user_setting_collection_response.py b/msgraph_beta/generated/models/cloud_pc_user_setting_collection_response.py index eea8965d28b..c17498b85d6 100644 --- a/msgraph_beta/generated/models/cloud_pc_user_setting_collection_response.py +++ b/msgraph_beta/generated/models/cloud_pc_user_setting_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .cloud_pc_user_setting import CloudPcUserSetting + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/coachmark_location.py b/msgraph_beta/generated/models/coachmark_location.py index 9ed26a6d7f7..b43c9db6d88 100644 --- a/msgraph_beta/generated/models/coachmark_location.py +++ b/msgraph_beta/generated/models/coachmark_location.py @@ -59,6 +59,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .coachmark_location_type import CoachmarkLocationType + writer.write_int_value("length", self.length) writer.write_str_value("@odata.type", self.odata_type) writer.write_int_value("offset", self.offset) diff --git a/msgraph_beta/generated/models/column_definition.py b/msgraph_beta/generated/models/column_definition.py index 1b1fa85714f..5d51bbd4660 100644 --- a/msgraph_beta/generated/models/column_definition.py +++ b/msgraph_beta/generated/models/column_definition.py @@ -198,6 +198,26 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .boolean_column import BooleanColumn + from .calculated_column import CalculatedColumn + from .choice_column import ChoiceColumn + from .column_types import ColumnTypes + from .column_validation import ColumnValidation + from .content_approval_status_column import ContentApprovalStatusColumn + from .content_type_info import ContentTypeInfo + from .currency_column import CurrencyColumn + from .date_time_column import DateTimeColumn + from .default_column_value import DefaultColumnValue + from .entity import Entity + from .geolocation_column import GeolocationColumn + from .hyperlink_or_picture_column import HyperlinkOrPictureColumn + from .lookup_column import LookupColumn + from .number_column import NumberColumn + from .person_or_group_column import PersonOrGroupColumn + from .term_column import TermColumn + from .text_column import TextColumn + from .thumbnail_column import ThumbnailColumn + writer.write_object_value("boolean", self.boolean) writer.write_object_value("calculated", self.calculated) writer.write_object_value("choice", self.choice) diff --git a/msgraph_beta/generated/models/column_definition_collection_response.py b/msgraph_beta/generated/models/column_definition_collection_response.py index 3b63cddb537..34d07b198b5 100644 --- a/msgraph_beta/generated/models/column_definition_collection_response.py +++ b/msgraph_beta/generated/models/column_definition_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .column_definition import ColumnDefinition + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/column_link.py b/msgraph_beta/generated/models/column_link.py index e7f3c6b8202..11999161cd4 100644 --- a/msgraph_beta/generated/models/column_link.py +++ b/msgraph_beta/generated/models/column_link.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_str_value("name", self.name) diff --git a/msgraph_beta/generated/models/column_link_collection_response.py b/msgraph_beta/generated/models/column_link_collection_response.py index 9e5ce9a3ce3..dcf6792468b 100644 --- a/msgraph_beta/generated/models/column_link_collection_response.py +++ b/msgraph_beta/generated/models/column_link_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .column_link import ColumnLink + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/column_validation.py b/msgraph_beta/generated/models/column_validation.py index 65339404a1e..c69bd57305c 100644 --- a/msgraph_beta/generated/models/column_validation.py +++ b/msgraph_beta/generated/models/column_validation.py @@ -59,6 +59,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .display_name_localization import DisplayNameLocalization + writer.write_str_value("defaultLanguage", self.default_language) writer.write_collection_of_object_values("descriptions", self.descriptions) writer.write_str_value("formula", self.formula) diff --git a/msgraph_beta/generated/models/comanagement_eligible_device.py b/msgraph_beta/generated/models/comanagement_eligible_device.py index 006c0e3305e..63885987be2 100644 --- a/msgraph_beta/generated/models/comanagement_eligible_device.py +++ b/msgraph_beta/generated/models/comanagement_eligible_device.py @@ -126,6 +126,14 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .comanagement_eligible_type import ComanagementEligibleType + from .device_registration_state import DeviceRegistrationState + from .device_type import DeviceType + from .entity import Entity + from .management_agent_type import ManagementAgentType + from .management_state import ManagementState + from .owner_type import OwnerType + writer.write_enum_value("clientRegistrationStatus", self.client_registration_status) writer.write_str_value("deviceName", self.device_name) writer.write_enum_value("deviceType", self.device_type) diff --git a/msgraph_beta/generated/models/comanagement_eligible_device_collection_response.py b/msgraph_beta/generated/models/comanagement_eligible_device_collection_response.py index 3a699fd546d..c68e8495ac6 100644 --- a/msgraph_beta/generated/models/comanagement_eligible_device_collection_response.py +++ b/msgraph_beta/generated/models/comanagement_eligible_device_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .comanagement_eligible_device import ComanagementEligibleDevice + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/command.py b/msgraph_beta/generated/models/command.py index 5b7735690eb..2e9e4c9893f 100644 --- a/msgraph_beta/generated/models/command.py +++ b/msgraph_beta/generated/models/command.py @@ -81,6 +81,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .payload_request import PayloadRequest + from .payload_response import PayloadResponse + writer.write_str_value("appServiceName", self.app_service_name) writer.write_str_value("error", self.error) writer.write_str_value("packageFamilyName", self.package_family_name) diff --git a/msgraph_beta/generated/models/command_collection_response.py b/msgraph_beta/generated/models/command_collection_response.py index 632ef04a172..bb765853de2 100644 --- a/msgraph_beta/generated/models/command_collection_response.py +++ b/msgraph_beta/generated/models/command_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .command import Command + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/comment_action.py b/msgraph_beta/generated/models/comment_action.py index 3fe00e0253d..deb84397449 100644 --- a/msgraph_beta/generated/models/comment_action.py +++ b/msgraph_beta/generated/models/comment_action.py @@ -59,6 +59,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .identity_set import IdentitySet + writer.write_bool_value("isReply", self.is_reply) writer.write_str_value("@odata.type", self.odata_type) writer.write_object_value("parentAuthor", self.parent_author) diff --git a/msgraph_beta/generated/models/comms_application.py b/msgraph_beta/generated/models/comms_application.py index 39eb06ab77e..03e7f87ca33 100644 --- a/msgraph_beta/generated/models/comms_application.py +++ b/msgraph_beta/generated/models/comms_application.py @@ -59,6 +59,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .call import Call + from .online_meeting import OnlineMeeting + writer.write_collection_of_object_values("calls", self.calls) writer.write_str_value("@odata.type", self.odata_type) writer.write_collection_of_object_values("onlineMeetings", self.online_meetings) diff --git a/msgraph_beta/generated/models/comms_operation.py b/msgraph_beta/generated/models/comms_operation.py index 1b288c0cb3a..57d143c0988 100644 --- a/msgraph_beta/generated/models/comms_operation.py +++ b/msgraph_beta/generated/models/comms_operation.py @@ -44,7 +44,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> CommsOperation: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.addLargeGalleryViewOperation".casefold(): @@ -158,6 +159,23 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .add_large_gallery_view_operation import AddLargeGalleryViewOperation + from .cancel_media_processing_operation import CancelMediaProcessingOperation + from .entity import Entity + from .invite_participants_operation import InviteParticipantsOperation + from .mute_participants_operation import MuteParticipantsOperation + from .mute_participant_operation import MuteParticipantOperation + from .operation_status import OperationStatus + from .play_prompt_operation import PlayPromptOperation + from .record_operation import RecordOperation + from .result_info import ResultInfo + from .send_dtmf_tones_operation import SendDtmfTonesOperation + from .start_hold_music_operation import StartHoldMusicOperation + from .stop_hold_music_operation import StopHoldMusicOperation + from .subscribe_to_tone_operation import SubscribeToToneOperation + from .unmute_participant_operation import UnmuteParticipantOperation + from .update_recording_status_operation import UpdateRecordingStatusOperation + writer.write_str_value("clientContext", self.client_context) writer.write_object_value("resultInfo", self.result_info) writer.write_enum_value("status", self.status) diff --git a/msgraph_beta/generated/models/comms_operation_collection_response.py b/msgraph_beta/generated/models/comms_operation_collection_response.py index 95ddb87d21a..f19ac118bb1 100644 --- a/msgraph_beta/generated/models/comms_operation_collection_response.py +++ b/msgraph_beta/generated/models/comms_operation_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .comms_operation import CommsOperation + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/communications_application_identity.py b/msgraph_beta/generated/models/communications_application_identity.py index 9b23392f5ad..65fb7f686c8 100644 --- a/msgraph_beta/generated/models/communications_application_identity.py +++ b/msgraph_beta/generated/models/communications_application_identity.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .identity import Identity + writer.write_str_value("applicationType", self.application_type) writer.write_bool_value("hidden", self.hidden) diff --git a/msgraph_beta/generated/models/communications_application_instance_identity.py b/msgraph_beta/generated/models/communications_application_instance_identity.py index 4ca2a3d1c98..4f4d165de7a 100644 --- a/msgraph_beta/generated/models/communications_application_instance_identity.py +++ b/msgraph_beta/generated/models/communications_application_instance_identity.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .identity import Identity + writer.write_bool_value("hidden", self.hidden) writer.write_str_value("tenantId", self.tenant_id) diff --git a/msgraph_beta/generated/models/communications_encrypted_identity.py b/msgraph_beta/generated/models/communications_encrypted_identity.py index eaa0fc7445c..09e41743c8e 100644 --- a/msgraph_beta/generated/models/communications_encrypted_identity.py +++ b/msgraph_beta/generated/models/communications_encrypted_identity.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .identity import Identity + diff --git a/msgraph_beta/generated/models/communications_guest_identity.py b/msgraph_beta/generated/models/communications_guest_identity.py index 5b434d8e871..d41c5be4992 100644 --- a/msgraph_beta/generated/models/communications_guest_identity.py +++ b/msgraph_beta/generated/models/communications_guest_identity.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .identity import Identity + writer.write_str_value("email", self.email) diff --git a/msgraph_beta/generated/models/communications_identity_set.py b/msgraph_beta/generated/models/communications_identity_set.py index b218432565b..9e8d0c1dc0f 100644 --- a/msgraph_beta/generated/models/communications_identity_set.py +++ b/msgraph_beta/generated/models/communications_identity_set.py @@ -78,6 +78,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .endpoint_type import EndpointType + from .identity import Identity + from .identity_set import IdentitySet + writer.write_object_value("applicationInstance", self.application_instance) writer.write_object_value("assertedIdentity", self.asserted_identity) writer.write_object_value("azureCommunicationServicesUser", self.azure_communication_services_user) diff --git a/msgraph_beta/generated/models/communications_phone_identity.py b/msgraph_beta/generated/models/communications_phone_identity.py index cd823b4c9b7..c44841e5674 100644 --- a/msgraph_beta/generated/models/communications_phone_identity.py +++ b/msgraph_beta/generated/models/communications_phone_identity.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .identity import Identity + diff --git a/msgraph_beta/generated/models/communications_user_identity.py b/msgraph_beta/generated/models/communications_user_identity.py index 963f59e47aa..f5c3f111eeb 100644 --- a/msgraph_beta/generated/models/communications_user_identity.py +++ b/msgraph_beta/generated/models/communications_user_identity.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .identity import Identity + writer.write_str_value("tenantId", self.tenant_id) diff --git a/msgraph_beta/generated/models/community.py b/msgraph_beta/generated/models/community.py index fce0c04b7ae..1bf5083f0e0 100644 --- a/msgraph_beta/generated/models/community.py +++ b/msgraph_beta/generated/models/community.py @@ -78,6 +78,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .community_privacy import CommunityPrivacy + from .entity import Entity + from .group import Group + from .user import User + writer.write_str_value("description", self.description) writer.write_str_value("displayName", self.display_name) writer.write_object_value("group", self.group) diff --git a/msgraph_beta/generated/models/community_collection_response.py b/msgraph_beta/generated/models/community_collection_response.py index 2d0fe997947..45ff69706fc 100644 --- a/msgraph_beta/generated/models/community_collection_response.py +++ b/msgraph_beta/generated/models/community_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .community import Community + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/company.py b/msgraph_beta/generated/models/company.py index 3595d65976c..ca23c30c866 100644 --- a/msgraph_beta/generated/models/company.py +++ b/msgraph_beta/generated/models/company.py @@ -273,6 +273,42 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .account import Account + from .aged_accounts_payable import AgedAccountsPayable + from .aged_accounts_receivable import AgedAccountsReceivable + from .company_information import CompanyInformation + from .country_region import CountryRegion + from .currency import Currency + from .customer import Customer + from .customer_payment import CustomerPayment + from .customer_payment_journal import CustomerPaymentJournal + from .dimension import Dimension + from .dimension_value import DimensionValue + from .employee import Employee + from .general_ledger_entry import GeneralLedgerEntry + from .item import Item + from .item_category import ItemCategory + from .journal import Journal + from .journal_line import JournalLine + from .payment_method import PaymentMethod + from .payment_term import PaymentTerm + from .picture import Picture + from .purchase_invoice import PurchaseInvoice + from .purchase_invoice_line import PurchaseInvoiceLine + from .sales_credit_memo import SalesCreditMemo + from .sales_credit_memo_line import SalesCreditMemoLine + from .sales_invoice import SalesInvoice + from .sales_invoice_line import SalesInvoiceLine + from .sales_order import SalesOrder + from .sales_order_line import SalesOrderLine + from .sales_quote import SalesQuote + from .sales_quote_line import SalesQuoteLine + from .shipment_method import ShipmentMethod + from .tax_area import TaxArea + from .tax_group import TaxGroup + from .unit_of_measure import UnitOfMeasure + from .vendor import Vendor + writer.write_collection_of_object_values("accounts", self.accounts) writer.write_collection_of_object_values("agedAccountsPayable", self.aged_accounts_payable) writer.write_collection_of_object_values("agedAccountsReceivable", self.aged_accounts_receivable) diff --git a/msgraph_beta/generated/models/company_collection_response.py b/msgraph_beta/generated/models/company_collection_response.py index d709576c8c2..c26fb22535e 100644 --- a/msgraph_beta/generated/models/company_collection_response.py +++ b/msgraph_beta/generated/models/company_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .company import Company + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/company_detail.py b/msgraph_beta/generated/models/company_detail.py index caa0bc3c0a5..8f8e2af0657 100644 --- a/msgraph_beta/generated/models/company_detail.py +++ b/msgraph_beta/generated/models/company_detail.py @@ -74,6 +74,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .physical_address import PhysicalAddress + writer.write_object_value("address", self.address) writer.write_str_value("companyCode", self.company_code) writer.write_str_value("department", self.department) diff --git a/msgraph_beta/generated/models/company_information.py b/msgraph_beta/generated/models/company_information.py index 3f5e7659cb7..ec163d76830 100644 --- a/msgraph_beta/generated/models/company_information.py +++ b/msgraph_beta/generated/models/company_information.py @@ -91,6 +91,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .postal_address_type import PostalAddressType + writer.write_object_value("address", self.address) writer.write_str_value("currencyCode", self.currency_code) writer.write_date_value("currentFiscalYearStartDate", self.current_fiscal_year_start_date) diff --git a/msgraph_beta/generated/models/company_information_collection_response.py b/msgraph_beta/generated/models/company_information_collection_response.py index 6d6ebb0d620..5399df27277 100644 --- a/msgraph_beta/generated/models/company_information_collection_response.py +++ b/msgraph_beta/generated/models/company_information_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .company_information import CompanyInformation + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/company_portal_blocked_action.py b/msgraph_beta/generated/models/company_portal_blocked_action.py index 4d66504d225..e92fe503b38 100644 --- a/msgraph_beta/generated/models/company_portal_blocked_action.py +++ b/msgraph_beta/generated/models/company_portal_blocked_action.py @@ -68,6 +68,10 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .company_portal_action import CompanyPortalAction + from .device_platform_type import DevicePlatformType + from .owner_type import OwnerType + writer.write_enum_value("action", self.action) writer.write_str_value("@odata.type", self.odata_type) writer.write_enum_value("ownerType", self.owner_type) diff --git a/msgraph_beta/generated/models/company_subscription.py b/msgraph_beta/generated/models/company_subscription.py index 9047dfdb852..5ed1f9e232c 100644 --- a/msgraph_beta/generated/models/company_subscription.py +++ b/msgraph_beta/generated/models/company_subscription.py @@ -91,6 +91,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .service_plan_info import ServicePlanInfo + writer.write_str_value("commerceSubscriptionId", self.commerce_subscription_id) writer.write_datetime_value("createdDateTime", self.created_date_time) writer.write_bool_value("isTrial", self.is_trial) diff --git a/msgraph_beta/generated/models/company_subscription_collection_response.py b/msgraph_beta/generated/models/company_subscription_collection_response.py index 25cce8b8e96..938e35905da 100644 --- a/msgraph_beta/generated/models/company_subscription_collection_response.py +++ b/msgraph_beta/generated/models/company_subscription_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .company_subscription import CompanySubscription + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/compliance.py b/msgraph_beta/generated/models/compliance.py index e3d40a29b7c..fd21f6a51a2 100644 --- a/msgraph_beta/generated/models/compliance.py +++ b/msgraph_beta/generated/models/compliance.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .ediscovery.ediscoveryroot import Ediscoveryroot + writer.write_object_value("ediscovery", self.ediscovery) writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/compliance_information.py b/msgraph_beta/generated/models/compliance_information.py index cb834aae5ae..c556757106b 100644 --- a/msgraph_beta/generated/models/compliance_information.py +++ b/msgraph_beta/generated/models/compliance_information.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .certification_control import CertificationControl + writer.write_collection_of_object_values("certificationControls", self.certification_controls) writer.write_str_value("certificationName", self.certification_name) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/compliance_management_partner.py b/msgraph_beta/generated/models/compliance_management_partner.py index 9c222926ce5..3de92f79c4a 100644 --- a/msgraph_beta/generated/models/compliance_management_partner.py +++ b/msgraph_beta/generated/models/compliance_management_partner.py @@ -85,6 +85,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .compliance_management_partner_assignment import ComplianceManagementPartnerAssignment + from .device_management_partner_tenant_state import DeviceManagementPartnerTenantState + from .entity import Entity + writer.write_collection_of_object_values("androidEnrollmentAssignments", self.android_enrollment_assignments) writer.write_bool_value("androidOnboarded", self.android_onboarded) writer.write_str_value("displayName", self.display_name) diff --git a/msgraph_beta/generated/models/compliance_management_partner_assignment.py b/msgraph_beta/generated/models/compliance_management_partner_assignment.py index 2ddfd320e82..3406a9858f3 100644 --- a/msgraph_beta/generated/models/compliance_management_partner_assignment.py +++ b/msgraph_beta/generated/models/compliance_management_partner_assignment.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .device_and_app_management_assignment_target import DeviceAndAppManagementAssignmentTarget + writer.write_str_value("@odata.type", self.odata_type) writer.write_object_value("target", self.target) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/compliance_management_partner_collection_response.py b/msgraph_beta/generated/models/compliance_management_partner_collection_response.py index e0478bd74d5..7f274939e35 100644 --- a/msgraph_beta/generated/models/compliance_management_partner_collection_response.py +++ b/msgraph_beta/generated/models/compliance_management_partner_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .compliance_management_partner import ComplianceManagementPartner + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/compliant_network_named_location.py b/msgraph_beta/generated/models/compliant_network_named_location.py index c0ba93870d6..e8aae52c1bb 100644 --- a/msgraph_beta/generated/models/compliant_network_named_location.py +++ b/msgraph_beta/generated/models/compliant_network_named_location.py @@ -57,6 +57,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .compliant_network_type import CompliantNetworkType + from .named_location import NamedLocation + writer.write_enum_value("compliantNetworkType", self.compliant_network_type) writer.write_bool_value("isTrusted", self.is_trusted) diff --git a/msgraph_beta/generated/models/conditional_access_all_external_tenants.py b/msgraph_beta/generated/models/conditional_access_all_external_tenants.py index 4b87acf9e0e..422d0ca8fc3 100644 --- a/msgraph_beta/generated/models/conditional_access_all_external_tenants.py +++ b/msgraph_beta/generated/models/conditional_access_all_external_tenants.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .conditional_access_external_tenants import ConditionalAccessExternalTenants + diff --git a/msgraph_beta/generated/models/conditional_access_applications.py b/msgraph_beta/generated/models/conditional_access_applications.py index e4c8c47454f..e407dd6a2e6 100644 --- a/msgraph_beta/generated/models/conditional_access_applications.py +++ b/msgraph_beta/generated/models/conditional_access_applications.py @@ -65,6 +65,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .conditional_access_filter import ConditionalAccessFilter + writer.write_object_value("applicationFilter", self.application_filter) writer.write_collection_of_primitive_values("excludeApplications", self.exclude_applications) writer.write_collection_of_primitive_values("includeApplications", self.include_applications) diff --git a/msgraph_beta/generated/models/conditional_access_audience.py b/msgraph_beta/generated/models/conditional_access_audience.py index 57cd6557ab0..2177bcc5491 100644 --- a/msgraph_beta/generated/models/conditional_access_audience.py +++ b/msgraph_beta/generated/models/conditional_access_audience.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .conditional_access_audience_reason import ConditionalAccessAudienceReason + writer.write_str_value("applicationId", self.application_id) writer.write_enum_value("audienceReasons", self.audience_reasons) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/conditional_access_authentication_flows.py b/msgraph_beta/generated/models/conditional_access_authentication_flows.py index e266ce31bc4..5c12f941388 100644 --- a/msgraph_beta/generated/models/conditional_access_authentication_flows.py +++ b/msgraph_beta/generated/models/conditional_access_authentication_flows.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .conditional_access_transfer_methods import ConditionalAccessTransferMethods + writer.write_str_value("@odata.type", self.odata_type) writer.write_enum_value("transferMethods", self.transfer_methods) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/conditional_access_client_applications.py b/msgraph_beta/generated/models/conditional_access_client_applications.py index 67de64bd376..899edf30f4f 100644 --- a/msgraph_beta/generated/models/conditional_access_client_applications.py +++ b/msgraph_beta/generated/models/conditional_access_client_applications.py @@ -59,6 +59,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .conditional_access_filter import ConditionalAccessFilter + writer.write_collection_of_primitive_values("excludeServicePrincipals", self.exclude_service_principals) writer.write_collection_of_primitive_values("includeServicePrincipals", self.include_service_principals) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/conditional_access_condition_set.py b/msgraph_beta/generated/models/conditional_access_condition_set.py index cc9906fe2b0..98cec167720 100644 --- a/msgraph_beta/generated/models/conditional_access_condition_set.py +++ b/msgraph_beta/generated/models/conditional_access_condition_set.py @@ -119,6 +119,18 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .conditional_access_applications import ConditionalAccessApplications + from .conditional_access_authentication_flows import ConditionalAccessAuthenticationFlows + from .conditional_access_client_app import ConditionalAccessClientApp + from .conditional_access_client_applications import ConditionalAccessClientApplications + from .conditional_access_devices import ConditionalAccessDevices + from .conditional_access_device_states import ConditionalAccessDeviceStates + from .conditional_access_insider_risk_levels import ConditionalAccessInsiderRiskLevels + from .conditional_access_locations import ConditionalAccessLocations + from .conditional_access_platforms import ConditionalAccessPlatforms + from .conditional_access_users import ConditionalAccessUsers + from .risk_level import RiskLevel + writer.write_object_value("applications", self.applications) writer.write_object_value("authenticationFlows", self.authentication_flows) writer.write_collection_of_enum_values("clientAppTypes", self.client_app_types) diff --git a/msgraph_beta/generated/models/conditional_access_context.py b/msgraph_beta/generated/models/conditional_access_context.py index d4fb0c5312d..f5faa1b403d 100644 --- a/msgraph_beta/generated/models/conditional_access_context.py +++ b/msgraph_beta/generated/models/conditional_access_context.py @@ -29,7 +29,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> ConditionalAccessC if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.whatIfApplicationContext".casefold(): @@ -72,6 +73,10 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .what_if_application_context import WhatIfApplicationContext + from .what_if_authentication_context import WhatIfAuthenticationContext + from .what_if_user_action_context import WhatIfUserActionContext + writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/conditional_access_devices.py b/msgraph_beta/generated/models/conditional_access_devices.py index 6ee8f5dfd09..0317ad475c2 100644 --- a/msgraph_beta/generated/models/conditional_access_devices.py +++ b/msgraph_beta/generated/models/conditional_access_devices.py @@ -65,6 +65,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .conditional_access_filter import ConditionalAccessFilter + writer.write_object_value("deviceFilter", self.device_filter) writer.write_collection_of_primitive_values("excludeDeviceStates", self.exclude_device_states) writer.write_collection_of_primitive_values("excludeDevices", self.exclude_devices) diff --git a/msgraph_beta/generated/models/conditional_access_enumerated_external_tenants.py b/msgraph_beta/generated/models/conditional_access_enumerated_external_tenants.py index 70b9dbe10c1..393ab0520d4 100644 --- a/msgraph_beta/generated/models/conditional_access_enumerated_external_tenants.py +++ b/msgraph_beta/generated/models/conditional_access_enumerated_external_tenants.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .conditional_access_external_tenants import ConditionalAccessExternalTenants + writer.write_collection_of_primitive_values("members", self.members) diff --git a/msgraph_beta/generated/models/conditional_access_external_tenants.py b/msgraph_beta/generated/models/conditional_access_external_tenants.py index fe0dd31f206..2f09ff5fb8b 100644 --- a/msgraph_beta/generated/models/conditional_access_external_tenants.py +++ b/msgraph_beta/generated/models/conditional_access_external_tenants.py @@ -31,7 +31,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> ConditionalAccessE if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.conditionalAccessAllExternalTenants".casefold(): @@ -71,6 +72,10 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .conditional_access_all_external_tenants import ConditionalAccessAllExternalTenants + from .conditional_access_enumerated_external_tenants import ConditionalAccessEnumeratedExternalTenants + from .conditional_access_external_tenants_membership_kind import ConditionalAccessExternalTenantsMembershipKind + writer.write_enum_value("membershipKind", self.membership_kind) writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/conditional_access_filter.py b/msgraph_beta/generated/models/conditional_access_filter.py index fc9802951b2..d991f8bd365 100644 --- a/msgraph_beta/generated/models/conditional_access_filter.py +++ b/msgraph_beta/generated/models/conditional_access_filter.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .filter_mode import FilterMode + writer.write_enum_value("mode", self.mode) writer.write_str_value("@odata.type", self.odata_type) writer.write_str_value("rule", self.rule) diff --git a/msgraph_beta/generated/models/conditional_access_grant_controls.py b/msgraph_beta/generated/models/conditional_access_grant_controls.py index 0895bae6a30..d4cef4b656e 100644 --- a/msgraph_beta/generated/models/conditional_access_grant_controls.py +++ b/msgraph_beta/generated/models/conditional_access_grant_controls.py @@ -68,6 +68,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .authentication_strength_policy import AuthenticationStrengthPolicy + from .conditional_access_grant_control import ConditionalAccessGrantControl + writer.write_object_value("authenticationStrength", self.authentication_strength) writer.write_collection_of_enum_values("builtInControls", self.built_in_controls) writer.write_collection_of_primitive_values("customAuthenticationFactors", self.custom_authentication_factors) diff --git a/msgraph_beta/generated/models/conditional_access_guests_or_external_users.py b/msgraph_beta/generated/models/conditional_access_guests_or_external_users.py index 16de579c270..754063b1faa 100644 --- a/msgraph_beta/generated/models/conditional_access_guests_or_external_users.py +++ b/msgraph_beta/generated/models/conditional_access_guests_or_external_users.py @@ -59,6 +59,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .conditional_access_external_tenants import ConditionalAccessExternalTenants + from .conditional_access_guest_or_external_user_types import ConditionalAccessGuestOrExternalUserTypes + writer.write_object_value("externalTenants", self.external_tenants) writer.write_enum_value("guestOrExternalUserTypes", self.guest_or_external_user_types) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/conditional_access_platforms.py b/msgraph_beta/generated/models/conditional_access_platforms.py index 3d2c9508deb..814d8537509 100644 --- a/msgraph_beta/generated/models/conditional_access_platforms.py +++ b/msgraph_beta/generated/models/conditional_access_platforms.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .conditional_access_device_platform import ConditionalAccessDevicePlatform + writer.write_collection_of_enum_values("excludePlatforms", self.exclude_platforms) writer.write_collection_of_enum_values("includePlatforms", self.include_platforms) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/conditional_access_policy.py b/msgraph_beta/generated/models/conditional_access_policy.py index d8115b53d33..864dd9107a8 100644 --- a/msgraph_beta/generated/models/conditional_access_policy.py +++ b/msgraph_beta/generated/models/conditional_access_policy.py @@ -45,7 +45,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> ConditionalAccessP if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.conditionalAccessWhatIfPolicy".casefold(): @@ -96,6 +97,13 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .conditional_access_condition_set import ConditionalAccessConditionSet + from .conditional_access_grant_controls import ConditionalAccessGrantControls + from .conditional_access_policy_state import ConditionalAccessPolicyState + from .conditional_access_session_controls import ConditionalAccessSessionControls + from .conditional_access_what_if_policy import ConditionalAccessWhatIfPolicy + from .entity import Entity + writer.write_object_value("conditions", self.conditions) writer.write_datetime_value("createdDateTime", self.created_date_time) writer.write_str_value("description", self.description) diff --git a/msgraph_beta/generated/models/conditional_access_policy_collection_response.py b/msgraph_beta/generated/models/conditional_access_policy_collection_response.py index ea0f44b3e87..2e05aecfede 100644 --- a/msgraph_beta/generated/models/conditional_access_policy_collection_response.py +++ b/msgraph_beta/generated/models/conditional_access_policy_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .conditional_access_policy import ConditionalAccessPolicy + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/conditional_access_policy_detail.py b/msgraph_beta/generated/models/conditional_access_policy_detail.py index 781f26c0ae3..10a3d2b4ae0 100644 --- a/msgraph_beta/generated/models/conditional_access_policy_detail.py +++ b/msgraph_beta/generated/models/conditional_access_policy_detail.py @@ -65,6 +65,10 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .conditional_access_condition_set import ConditionalAccessConditionSet + from .conditional_access_grant_controls import ConditionalAccessGrantControls + from .conditional_access_session_controls import ConditionalAccessSessionControls + writer.write_object_value("conditions", self.conditions) writer.write_object_value("grantControls", self.grant_controls) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/conditional_access_root.py b/msgraph_beta/generated/models/conditional_access_root.py index a6474fedd30..92d4b3157cc 100644 --- a/msgraph_beta/generated/models/conditional_access_root.py +++ b/msgraph_beta/generated/models/conditional_access_root.py @@ -81,6 +81,13 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .authentication_context_class_reference import AuthenticationContextClassReference + from .authentication_strength_root import AuthenticationStrengthRoot + from .conditional_access_policy import ConditionalAccessPolicy + from .conditional_access_template import ConditionalAccessTemplate + from .entity import Entity + from .named_location import NamedLocation + writer.write_collection_of_object_values("authenticationContextClassReferences", self.authentication_context_class_references) writer.write_object_value("authenticationStrength", self.authentication_strength) writer.write_object_value("authenticationStrengths", self.authentication_strengths) diff --git a/msgraph_beta/generated/models/conditional_access_rule_satisfied.py b/msgraph_beta/generated/models/conditional_access_rule_satisfied.py index 0c26a2ac9c1..b649b830d64 100644 --- a/msgraph_beta/generated/models/conditional_access_rule_satisfied.py +++ b/msgraph_beta/generated/models/conditional_access_rule_satisfied.py @@ -59,6 +59,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .conditional_access_conditions import ConditionalAccessConditions + from .conditional_access_rule import ConditionalAccessRule + writer.write_enum_value("conditionalAccessCondition", self.conditional_access_condition) writer.write_str_value("@odata.type", self.odata_type) writer.write_enum_value("ruleSatisfied", self.rule_satisfied) diff --git a/msgraph_beta/generated/models/conditional_access_session_control.py b/msgraph_beta/generated/models/conditional_access_session_control.py index d478ff250d2..57eb1d42621 100644 --- a/msgraph_beta/generated/models/conditional_access_session_control.py +++ b/msgraph_beta/generated/models/conditional_access_session_control.py @@ -33,7 +33,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> ConditionalAccessS if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.applicationEnforcedRestrictionsSessionControl".casefold(): @@ -89,6 +90,12 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .application_enforced_restrictions_session_control import ApplicationEnforcedRestrictionsSessionControl + from .cloud_app_security_session_control import CloudAppSecuritySessionControl + from .persistent_browser_session_control import PersistentBrowserSessionControl + from .secure_sign_in_session_control import SecureSignInSessionControl + from .sign_in_frequency_session_control import SignInFrequencySessionControl + writer.write_bool_value("isEnabled", self.is_enabled) writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/conditional_access_session_controls.py b/msgraph_beta/generated/models/conditional_access_session_controls.py index 79fceb2bd53..91a577eb2f2 100644 --- a/msgraph_beta/generated/models/conditional_access_session_controls.py +++ b/msgraph_beta/generated/models/conditional_access_session_controls.py @@ -86,6 +86,13 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .application_enforced_restrictions_session_control import ApplicationEnforcedRestrictionsSessionControl + from .cloud_app_security_session_control import CloudAppSecuritySessionControl + from .continuous_access_evaluation_session_control import ContinuousAccessEvaluationSessionControl + from .persistent_browser_session_control import PersistentBrowserSessionControl + from .secure_sign_in_session_control import SecureSignInSessionControl + from .sign_in_frequency_session_control import SignInFrequencySessionControl + writer.write_object_value("applicationEnforcedRestrictions", self.application_enforced_restrictions) writer.write_object_value("cloudAppSecurity", self.cloud_app_security) writer.write_object_value("continuousAccessEvaluation", self.continuous_access_evaluation) diff --git a/msgraph_beta/generated/models/conditional_access_template.py b/msgraph_beta/generated/models/conditional_access_template.py index f0ac79bfa52..af55e548851 100644 --- a/msgraph_beta/generated/models/conditional_access_template.py +++ b/msgraph_beta/generated/models/conditional_access_template.py @@ -66,6 +66,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .conditional_access_policy_detail import ConditionalAccessPolicyDetail + from .entity import Entity + from .template_scenarios import TemplateScenarios + writer.write_str_value("description", self.description) writer.write_object_value("details", self.details) writer.write_str_value("name", self.name) diff --git a/msgraph_beta/generated/models/conditional_access_template_collection_response.py b/msgraph_beta/generated/models/conditional_access_template_collection_response.py index d79e77ddf00..65a5acea1f5 100644 --- a/msgraph_beta/generated/models/conditional_access_template_collection_response.py +++ b/msgraph_beta/generated/models/conditional_access_template_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .conditional_access_template import ConditionalAccessTemplate + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/conditional_access_users.py b/msgraph_beta/generated/models/conditional_access_users.py index 19f9ba34d42..b5b5c56cbd5 100644 --- a/msgraph_beta/generated/models/conditional_access_users.py +++ b/msgraph_beta/generated/models/conditional_access_users.py @@ -74,6 +74,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .conditional_access_guests_or_external_users import ConditionalAccessGuestsOrExternalUsers + writer.write_collection_of_primitive_values("excludeGroups", self.exclude_groups) writer.write_object_value("excludeGuestsOrExternalUsers", self.exclude_guests_or_external_users) writer.write_collection_of_primitive_values("excludeRoles", self.exclude_roles) diff --git a/msgraph_beta/generated/models/conditional_access_what_if_conditions.py b/msgraph_beta/generated/models/conditional_access_what_if_conditions.py index ce5f7757b18..62c37a19338 100644 --- a/msgraph_beta/generated/models/conditional_access_what_if_conditions.py +++ b/msgraph_beta/generated/models/conditional_access_what_if_conditions.py @@ -95,6 +95,13 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .authentication_flow import AuthenticationFlow + from .conditional_access_client_app import ConditionalAccessClientApp + from .conditional_access_device_platform import ConditionalAccessDevicePlatform + from .device_info import DeviceInfo + from .insider_risk_level import InsiderRiskLevel + from .risk_level import RiskLevel + writer.write_object_value("authenticationFlow", self.authentication_flow) writer.write_enum_value("clientAppType", self.client_app_type) writer.write_str_value("country", self.country) diff --git a/msgraph_beta/generated/models/conditional_access_what_if_policy.py b/msgraph_beta/generated/models/conditional_access_what_if_policy.py index 2dac924e945..b13075a0f32 100644 --- a/msgraph_beta/generated/models/conditional_access_what_if_policy.py +++ b/msgraph_beta/generated/models/conditional_access_what_if_policy.py @@ -57,6 +57,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .conditional_access_policy import ConditionalAccessPolicy + from .conditional_access_what_if_reasons import ConditionalAccessWhatIfReasons + writer.write_bool_value("policyApplies", self.policy_applies) writer.write_collection_of_enum_values("reasons", self.reasons) diff --git a/msgraph_beta/generated/models/conditional_access_what_if_subject.py b/msgraph_beta/generated/models/conditional_access_what_if_subject.py index 679306969b2..f993143740c 100644 --- a/msgraph_beta/generated/models/conditional_access_what_if_subject.py +++ b/msgraph_beta/generated/models/conditional_access_what_if_subject.py @@ -28,7 +28,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> ConditionalAccessW if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.servicePrincipalSubject".casefold(): @@ -65,6 +66,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .service_principal_subject import ServicePrincipalSubject + from .user_subject import UserSubject + writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/config_manager_collection.py b/msgraph_beta/generated/models/config_manager_collection.py index f06772f8217..1411a2b7411 100644 --- a/msgraph_beta/generated/models/config_manager_collection.py +++ b/msgraph_beta/generated/models/config_manager_collection.py @@ -70,6 +70,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_str_value("collectionIdentifier", self.collection_identifier) writer.write_datetime_value("createdDateTime", self.created_date_time) writer.write_str_value("displayName", self.display_name) diff --git a/msgraph_beta/generated/models/config_manager_collection_collection_response.py b/msgraph_beta/generated/models/config_manager_collection_collection_response.py index d040c935d6a..595355ef3da 100644 --- a/msgraph_beta/generated/models/config_manager_collection_collection_response.py +++ b/msgraph_beta/generated/models/config_manager_collection_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .config_manager_collection import ConfigManagerCollection + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/configuration_manager_action.py b/msgraph_beta/generated/models/configuration_manager_action.py index 77c36ed0ffe..a149eb38d62 100644 --- a/msgraph_beta/generated/models/configuration_manager_action.py +++ b/msgraph_beta/generated/models/configuration_manager_action.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .configuration_manager_action_type import ConfigurationManagerActionType + writer.write_enum_value("action", self.action) writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/configuration_manager_action_result.py b/msgraph_beta/generated/models/configuration_manager_action_result.py index 08d7c3cc221..44365b82be2 100644 --- a/msgraph_beta/generated/models/configuration_manager_action_result.py +++ b/msgraph_beta/generated/models/configuration_manager_action_result.py @@ -60,6 +60,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .configuration_manager_action_delivery_status import ConfigurationManagerActionDeliveryStatus + from .device_action_result import DeviceActionResult + writer.write_enum_value("actionDeliveryStatus", self.action_delivery_status) writer.write_int_value("errorCode", self.error_code) diff --git a/msgraph_beta/generated/models/configuration_manager_client_health_state.py b/msgraph_beta/generated/models/configuration_manager_client_health_state.py index 58fb0a2b518..b42978906e2 100644 --- a/msgraph_beta/generated/models/configuration_manager_client_health_state.py +++ b/msgraph_beta/generated/models/configuration_manager_client_health_state.py @@ -63,6 +63,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .configuration_manager_client_state import ConfigurationManagerClientState + writer.write_int_value("errorCode", self.error_code) writer.write_datetime_value("lastSyncDateTime", self.last_sync_date_time) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/configuration_manager_collection_assignment_target.py b/msgraph_beta/generated/models/configuration_manager_collection_assignment_target.py index 267a8b45d88..f5a00ce029a 100644 --- a/msgraph_beta/generated/models/configuration_manager_collection_assignment_target.py +++ b/msgraph_beta/generated/models/configuration_manager_collection_assignment_target.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_and_app_management_assignment_target import DeviceAndAppManagementAssignmentTarget + writer.write_str_value("collectionId", self.collection_id) diff --git a/msgraph_beta/generated/models/configuration_uri.py b/msgraph_beta/generated/models/configuration_uri.py index 35f0a627764..ed85fab884f 100644 --- a/msgraph_beta/generated/models/configuration_uri.py +++ b/msgraph_beta/generated/models/configuration_uri.py @@ -65,6 +65,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .uri_usage_type import UriUsageType + writer.write_str_value("appliesToSingleSignOnMode", self.applies_to_single_sign_on_mode) writer.write_collection_of_primitive_values("examples", self.examples) writer.write_bool_value("isRequired", self.is_required) diff --git a/msgraph_beta/generated/models/connected_organization.py b/msgraph_beta/generated/models/connected_organization.py index ff0bb05956d..3808fd44c87 100644 --- a/msgraph_beta/generated/models/connected_organization.py +++ b/msgraph_beta/generated/models/connected_organization.py @@ -88,6 +88,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .connected_organization_state import ConnectedOrganizationState + from .directory_object import DirectoryObject + from .entity import Entity + from .identity_source import IdentitySource + writer.write_str_value("createdBy", self.created_by) writer.write_datetime_value("createdDateTime", self.created_date_time) writer.write_str_value("description", self.description) diff --git a/msgraph_beta/generated/models/connected_organization_collection_response.py b/msgraph_beta/generated/models/connected_organization_collection_response.py index 78ee855fcbd..af664634764 100644 --- a/msgraph_beta/generated/models/connected_organization_collection_response.py +++ b/msgraph_beta/generated/models/connected_organization_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .connected_organization import ConnectedOrganization + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/connected_organization_members.py b/msgraph_beta/generated/models/connected_organization_members.py index 39b7242b7d8..825b1508f28 100644 --- a/msgraph_beta/generated/models/connected_organization_members.py +++ b/msgraph_beta/generated/models/connected_organization_members.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .user_set import UserSet + writer.write_str_value("description", self.description) writer.write_str_value("id", self.id) diff --git a/msgraph_beta/generated/models/connection_operation.py b/msgraph_beta/generated/models/connection_operation.py index b82768449df..31f4472b8b7 100644 --- a/msgraph_beta/generated/models/connection_operation.py +++ b/msgraph_beta/generated/models/connection_operation.py @@ -60,6 +60,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .connection_operation_status import ConnectionOperationStatus + from .entity import Entity + from .public_error import PublicError + writer.write_object_value("error", self.error) writer.write_enum_value("status", self.status) diff --git a/msgraph_beta/generated/models/connector.py b/msgraph_beta/generated/models/connector.py index 4379564e4b6..9dbb555019b 100644 --- a/msgraph_beta/generated/models/connector.py +++ b/msgraph_beta/generated/models/connector.py @@ -69,6 +69,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .connector_group import ConnectorGroup + from .connector_status import ConnectorStatus + from .entity import Entity + writer.write_str_value("externalIp", self.external_ip) writer.write_str_value("machineName", self.machine_name) writer.write_collection_of_object_values("memberOf", self.member_of) diff --git a/msgraph_beta/generated/models/connector_collection_response.py b/msgraph_beta/generated/models/connector_collection_response.py index c499157436d..0212a948ab0 100644 --- a/msgraph_beta/generated/models/connector_collection_response.py +++ b/msgraph_beta/generated/models/connector_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .connector import Connector + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/connector_group.py b/msgraph_beta/generated/models/connector_group.py index ba678edb505..60d38be38d4 100644 --- a/msgraph_beta/generated/models/connector_group.py +++ b/msgraph_beta/generated/models/connector_group.py @@ -78,6 +78,12 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .application import Application + from .connector import Connector + from .connector_group_region import ConnectorGroupRegion + from .connector_group_type import ConnectorGroupType + from .entity import Entity + writer.write_collection_of_object_values("applications", self.applications) writer.write_enum_value("connectorGroupType", self.connector_group_type) writer.write_bool_value("isDefault", self.is_default) diff --git a/msgraph_beta/generated/models/connector_group_collection_response.py b/msgraph_beta/generated/models/connector_group_collection_response.py index a7bf6303b6b..1b86918d007 100644 --- a/msgraph_beta/generated/models/connector_group_collection_response.py +++ b/msgraph_beta/generated/models/connector_group_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .connector_group import ConnectorGroup + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/connector_status_details.py b/msgraph_beta/generated/models/connector_status_details.py index 2573e5a632c..101646aaa54 100644 --- a/msgraph_beta/generated/models/connector_status_details.py +++ b/msgraph_beta/generated/models/connector_status_details.py @@ -69,6 +69,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .connector_health_state import ConnectorHealthState + from .connector_name import ConnectorName + writer.write_str_value("connectorInstanceId", self.connector_instance_id) writer.write_enum_value("connectorName", self.connector_name) writer.write_datetime_value("eventDateTime", self.event_date_time) diff --git a/msgraph_beta/generated/models/contact.py b/msgraph_beta/generated/models/contact.py index 52662af0a28..07aa1fcd66b 100644 --- a/msgraph_beta/generated/models/contact.py +++ b/msgraph_beta/generated/models/contact.py @@ -187,6 +187,17 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .extension import Extension + from .followup_flag import FollowupFlag + from .multi_value_legacy_extended_property import MultiValueLegacyExtendedProperty + from .outlook_item import OutlookItem + from .phone import Phone + from .physical_address import PhysicalAddress + from .profile_photo import ProfilePhoto + from .single_value_legacy_extended_property import SingleValueLegacyExtendedProperty + from .typed_email_address import TypedEmailAddress + from .website import Website + writer.write_str_value("assistantName", self.assistant_name) writer.write_datetime_value("birthday", self.birthday) writer.write_collection_of_primitive_values("children", self.children) diff --git a/msgraph_beta/generated/models/contact_collection_response.py b/msgraph_beta/generated/models/contact_collection_response.py index cfddf796f43..47c85a57139 100644 --- a/msgraph_beta/generated/models/contact_collection_response.py +++ b/msgraph_beta/generated/models/contact_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .contact import Contact + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/contact_folder.py b/msgraph_beta/generated/models/contact_folder.py index 9d222fb661c..0ad5a8a202d 100644 --- a/msgraph_beta/generated/models/contact_folder.py +++ b/msgraph_beta/generated/models/contact_folder.py @@ -78,6 +78,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .contact import Contact + from .entity import Entity + from .multi_value_legacy_extended_property import MultiValueLegacyExtendedProperty + from .single_value_legacy_extended_property import SingleValueLegacyExtendedProperty + writer.write_collection_of_object_values("childFolders", self.child_folders) writer.write_collection_of_object_values("contacts", self.contacts) writer.write_str_value("displayName", self.display_name) diff --git a/msgraph_beta/generated/models/contact_folder_collection_response.py b/msgraph_beta/generated/models/contact_folder_collection_response.py index 89955bb86a8..d4191481d68 100644 --- a/msgraph_beta/generated/models/contact_folder_collection_response.py +++ b/msgraph_beta/generated/models/contact_folder_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .contact_folder import ContactFolder + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/contact_merge_suggestions.py b/msgraph_beta/generated/models/contact_merge_suggestions.py index a480336d9a5..335848b66bb 100644 --- a/msgraph_beta/generated/models/contact_merge_suggestions.py +++ b/msgraph_beta/generated/models/contact_merge_suggestions.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_bool_value("isEnabled", self.is_enabled) diff --git a/msgraph_beta/generated/models/contains_transformation.py b/msgraph_beta/generated/models/contains_transformation.py index 12be4c0c267..a4b0a77d910 100644 --- a/msgraph_beta/generated/models/contains_transformation.py +++ b/msgraph_beta/generated/models/contains_transformation.py @@ -57,6 +57,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .custom_claim_transformation import CustomClaimTransformation + from .transformation_attribute import TransformationAttribute + writer.write_object_value("output", self.output) writer.write_str_value("value", self.value) diff --git a/msgraph_beta/generated/models/content_classification.py b/msgraph_beta/generated/models/content_classification.py index 942e975071b..acdb3345b4f 100644 --- a/msgraph_beta/generated/models/content_classification.py +++ b/msgraph_beta/generated/models/content_classification.py @@ -62,6 +62,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .match_location import MatchLocation + writer.write_int_value("confidence", self.confidence) writer.write_collection_of_object_values("matches", self.matches) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/content_customization.py b/msgraph_beta/generated/models/content_customization.py index 97a7f8b2e24..370dd08bea3 100644 --- a/msgraph_beta/generated/models/content_customization.py +++ b/msgraph_beta/generated/models/content_customization.py @@ -62,6 +62,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .key_value import KeyValue + writer.write_collection_of_object_values("attributeCollection", self.attribute_collection) writer.write_str_value("attributeCollectionRelativeUrl", self.attribute_collection_relative_url) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/content_info.py b/msgraph_beta/generated/models/content_info.py index 0db3bc7a46a..f0ded038085 100644 --- a/msgraph_beta/generated/models/content_info.py +++ b/msgraph_beta/generated/models/content_info.py @@ -68,6 +68,10 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .content_format import ContentFormat + from .content_state import ContentState + from .key_value_pair import KeyValuePair + writer.write_enum_value("format", self.format) writer.write_str_value("identifier", self.identifier) writer.write_collection_of_object_values("metadata", self.metadata) diff --git a/msgraph_beta/generated/models/content_model.py b/msgraph_beta/generated/models/content_model.py index 6888f9e8c32..15f876f8aba 100644 --- a/msgraph_beta/generated/models/content_model.py +++ b/msgraph_beta/generated/models/content_model.py @@ -73,6 +73,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .content_model_type import ContentModelType + from .entity import Entity + from .identity_set import IdentitySet + writer.write_object_value("createdBy", self.created_by) writer.write_datetime_value("createdDateTime", self.created_date_time) writer.write_object_value("lastModifiedBy", self.last_modified_by) diff --git a/msgraph_beta/generated/models/content_model_collection_response.py b/msgraph_beta/generated/models/content_model_collection_response.py index 8d7fae81e9a..732f7638d62 100644 --- a/msgraph_beta/generated/models/content_model_collection_response.py +++ b/msgraph_beta/generated/models/content_model_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .content_model import ContentModel + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/content_model_usage.py b/msgraph_beta/generated/models/content_model_usage.py index cb005fcb0bf..5188c14adca 100644 --- a/msgraph_beta/generated/models/content_model_usage.py +++ b/msgraph_beta/generated/models/content_model_usage.py @@ -72,6 +72,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .identity_set import IdentitySet + writer.write_object_value("createdBy", self.created_by) writer.write_datetime_value("createdDateTime", self.created_date_time) writer.write_str_value("driveId", self.drive_id) diff --git a/msgraph_beta/generated/models/content_properties.py b/msgraph_beta/generated/models/content_properties.py index 69d589c51a8..294e7267b9f 100644 --- a/msgraph_beta/generated/models/content_properties.py +++ b/msgraph_beta/generated/models/content_properties.py @@ -63,6 +63,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .content_metadata import ContentMetadata + writer.write_collection_of_primitive_values("extensions", self.extensions) writer.write_str_value("lastModifiedBy", self.last_modified_by) writer.write_datetime_value("lastModifiedDateTime", self.last_modified_date_time) diff --git a/msgraph_beta/generated/models/content_sharing_session.py b/msgraph_beta/generated/models/content_sharing_session.py index 1d77a87d76a..32201736c00 100644 --- a/msgraph_beta/generated/models/content_sharing_session.py +++ b/msgraph_beta/generated/models/content_sharing_session.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + diff --git a/msgraph_beta/generated/models/content_sharing_session_collection_response.py b/msgraph_beta/generated/models/content_sharing_session_collection_response.py index e51c1ae069e..0b094c2f0ed 100644 --- a/msgraph_beta/generated/models/content_sharing_session_collection_response.py +++ b/msgraph_beta/generated/models/content_sharing_session_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .content_sharing_session import ContentSharingSession + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/content_type.py b/msgraph_beta/generated/models/content_type.py index d3e7a7b4f22..0d27a001293 100644 --- a/msgraph_beta/generated/models/content_type.py +++ b/msgraph_beta/generated/models/content_type.py @@ -123,6 +123,14 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .column_definition import ColumnDefinition + from .column_link import ColumnLink + from .content_type_order import ContentTypeOrder + from .document_set import DocumentSet + from .document_set_content import DocumentSetContent + from .entity import Entity + from .item_reference import ItemReference + writer.write_collection_of_primitive_values("associatedHubsUrls", self.associated_hubs_urls) writer.write_object_value("base", self.base) writer.write_collection_of_object_values("baseTypes", self.base_types) diff --git a/msgraph_beta/generated/models/content_type_collection_response.py b/msgraph_beta/generated/models/content_type_collection_response.py index 1b5a634447a..64c5809f90c 100644 --- a/msgraph_beta/generated/models/content_type_collection_response.py +++ b/msgraph_beta/generated/models/content_type_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .content_type import ContentType + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/continuous_access_evaluation_policy.py b/msgraph_beta/generated/models/continuous_access_evaluation_policy.py index d380da85565..78b13cd50ef 100644 --- a/msgraph_beta/generated/models/continuous_access_evaluation_policy.py +++ b/msgraph_beta/generated/models/continuous_access_evaluation_policy.py @@ -66,6 +66,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_str_value("description", self.description) writer.write_str_value("displayName", self.display_name) writer.write_collection_of_primitive_values("groups", self.groups) diff --git a/msgraph_beta/generated/models/continuous_access_evaluation_session_control.py b/msgraph_beta/generated/models/continuous_access_evaluation_session_control.py index 031b5f71290..44bb9c1d47d 100644 --- a/msgraph_beta/generated/models/continuous_access_evaluation_session_control.py +++ b/msgraph_beta/generated/models/continuous_access_evaluation_session_control.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .continuous_access_evaluation_mode import ContinuousAccessEvaluationMode + writer.write_enum_value("mode", self.mode) writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/contract.py b/msgraph_beta/generated/models/contract.py index 2fb6a1b1341..d745e9ccda9 100644 --- a/msgraph_beta/generated/models/contract.py +++ b/msgraph_beta/generated/models/contract.py @@ -61,6 +61,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .directory_object import DirectoryObject + writer.write_str_value("contractType", self.contract_type) writer.write_uuid_value("customerId", self.customer_id) writer.write_str_value("defaultDomainName", self.default_domain_name) diff --git a/msgraph_beta/generated/models/contract_collection_response.py b/msgraph_beta/generated/models/contract_collection_response.py index 52483183b28..4b14c9100fa 100644 --- a/msgraph_beta/generated/models/contract_collection_response.py +++ b/msgraph_beta/generated/models/contract_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .contract import Contract + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/conversation.py b/msgraph_beta/generated/models/conversation.py index cfb350077c2..9ca99e74290 100644 --- a/msgraph_beta/generated/models/conversation.py +++ b/msgraph_beta/generated/models/conversation.py @@ -70,6 +70,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .conversation_thread import ConversationThread + from .entity import Entity + writer.write_bool_value("hasAttachments", self.has_attachments) writer.write_datetime_value("lastDeliveredDateTime", self.last_delivered_date_time) writer.write_str_value("preview", self.preview) diff --git a/msgraph_beta/generated/models/conversation_collection_response.py b/msgraph_beta/generated/models/conversation_collection_response.py index 16288a33f77..3319f353467 100644 --- a/msgraph_beta/generated/models/conversation_collection_response.py +++ b/msgraph_beta/generated/models/conversation_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .conversation import Conversation + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/conversation_member.py b/msgraph_beta/generated/models/conversation_member.py index c630042e895..5008cdfea05 100644 --- a/msgraph_beta/generated/models/conversation_member.py +++ b/msgraph_beta/generated/models/conversation_member.py @@ -36,7 +36,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> ConversationMember if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.aadUserConversationMember".casefold(): @@ -104,6 +105,14 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .aad_user_conversation_member import AadUserConversationMember + from .anonymous_guest_conversation_member import AnonymousGuestConversationMember + from .azure_communication_services_user_conversation_member import AzureCommunicationServicesUserConversationMember + from .entity import Entity + from .microsoft_account_user_conversation_member import MicrosoftAccountUserConversationMember + from .skype_for_business_user_conversation_member import SkypeForBusinessUserConversationMember + from .skype_user_conversation_member import SkypeUserConversationMember + writer.write_str_value("displayName", self.display_name) writer.write_collection_of_primitive_values("roles", self.roles) writer.write_datetime_value("visibleHistoryStartDateTime", self.visible_history_start_date_time) diff --git a/msgraph_beta/generated/models/conversation_member_collection_response.py b/msgraph_beta/generated/models/conversation_member_collection_response.py index ea333d19336..265ee0c6246 100644 --- a/msgraph_beta/generated/models/conversation_member_collection_response.py +++ b/msgraph_beta/generated/models/conversation_member_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .conversation_member import ConversationMember + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/conversation_member_role_updated_event_message_detail.py b/msgraph_beta/generated/models/conversation_member_role_updated_event_message_detail.py index 9c7e2cf4733..01095815f32 100644 --- a/msgraph_beta/generated/models/conversation_member_role_updated_event_message_detail.py +++ b/msgraph_beta/generated/models/conversation_member_role_updated_event_message_detail.py @@ -63,6 +63,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .event_message_detail import EventMessageDetail + from .identity_set import IdentitySet + from .teamwork_user_identity import TeamworkUserIdentity + writer.write_collection_of_primitive_values("conversationMemberRoles", self.conversation_member_roles) writer.write_object_value("conversationMemberUser", self.conversation_member_user) writer.write_object_value("initiator", self.initiator) diff --git a/msgraph_beta/generated/models/conversation_thread.py b/msgraph_beta/generated/models/conversation_thread.py index 508091fb7bc..a101fb96da3 100644 --- a/msgraph_beta/generated/models/conversation_thread.py +++ b/msgraph_beta/generated/models/conversation_thread.py @@ -82,6 +82,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .post import Post + from .recipient import Recipient + writer.write_collection_of_object_values("ccRecipients", self.cc_recipients) writer.write_bool_value("hasAttachments", self.has_attachments) writer.write_bool_value("isLocked", self.is_locked) diff --git a/msgraph_beta/generated/models/conversation_thread_collection_response.py b/msgraph_beta/generated/models/conversation_thread_collection_response.py index d289f5dd0e9..a5055a0c309 100644 --- a/msgraph_beta/generated/models/conversation_thread_collection_response.py +++ b/msgraph_beta/generated/models/conversation_thread_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .conversation_thread import ConversationThread + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/convert_id_result.py b/msgraph_beta/generated/models/convert_id_result.py index c4d4a9193bc..5b3b9159f69 100644 --- a/msgraph_beta/generated/models/convert_id_result.py +++ b/msgraph_beta/generated/models/convert_id_result.py @@ -59,6 +59,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .generic_error import GenericError + writer.write_object_value("errorDetails", self.error_details) writer.write_str_value("@odata.type", self.odata_type) writer.write_str_value("sourceId", self.source_id) diff --git a/msgraph_beta/generated/models/copy_notebook_model.py b/msgraph_beta/generated/models/copy_notebook_model.py index 32699b0b3ab..4d2966e6675 100644 --- a/msgraph_beta/generated/models/copy_notebook_model.py +++ b/msgraph_beta/generated/models/copy_notebook_model.py @@ -102,6 +102,10 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .identity_set import IdentitySet + from .notebook_links import NotebookLinks + from .onenote_user_role import OnenoteUserRole + writer.write_str_value("createdBy", self.created_by) writer.write_object_value("createdByIdentity", self.created_by_identity) writer.write_datetime_value("createdTime", self.created_time) diff --git a/msgraph_beta/generated/models/cors_configuration_v2.py b/msgraph_beta/generated/models/cors_configuration_v2.py index 21378f5e8b6..8ed42303756 100644 --- a/msgraph_beta/generated/models/cors_configuration_v2.py +++ b/msgraph_beta/generated/models/cors_configuration_v2.py @@ -63,6 +63,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_collection_of_primitive_values("allowedHeaders", self.allowed_headers) writer.write_collection_of_primitive_values("allowedMethods", self.allowed_methods) writer.write_collection_of_primitive_values("allowedOrigins", self.allowed_origins) diff --git a/msgraph_beta/generated/models/country_named_location.py b/msgraph_beta/generated/models/country_named_location.py index 3a2dce9868d..601d2af0a10 100644 --- a/msgraph_beta/generated/models/country_named_location.py +++ b/msgraph_beta/generated/models/country_named_location.py @@ -60,6 +60,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .country_lookup_method_type import CountryLookupMethodType + from .named_location import NamedLocation + writer.write_collection_of_primitive_values("countriesAndRegions", self.countries_and_regions) writer.write_enum_value("countryLookupMethod", self.country_lookup_method) writer.write_bool_value("includeUnknownCountriesAndRegions", self.include_unknown_countries_and_regions) diff --git a/msgraph_beta/generated/models/country_region_collection_response.py b/msgraph_beta/generated/models/country_region_collection_response.py index b6696b075ba..964df89485c 100644 --- a/msgraph_beta/generated/models/country_region_collection_response.py +++ b/msgraph_beta/generated/models/country_region_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .country_region import CountryRegion + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/credential_single_sign_on_extension.py b/msgraph_beta/generated/models/credential_single_sign_on_extension.py index ebb4c951018..a8d56ab3356 100644 --- a/msgraph_beta/generated/models/credential_single_sign_on_extension.py +++ b/msgraph_beta/generated/models/credential_single_sign_on_extension.py @@ -69,6 +69,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .key_typed_value_pair import KeyTypedValuePair + from .single_sign_on_extension import SingleSignOnExtension + writer.write_collection_of_object_values("configurations", self.configurations) writer.write_collection_of_primitive_values("domains", self.domains) writer.write_str_value("extensionIdentifier", self.extension_identifier) diff --git a/msgraph_beta/generated/models/credential_usage_summary.py b/msgraph_beta/generated/models/credential_usage_summary.py index cdbf735ce97..894db64dc3c 100644 --- a/msgraph_beta/generated/models/credential_usage_summary.py +++ b/msgraph_beta/generated/models/credential_usage_summary.py @@ -66,6 +66,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .feature_type import FeatureType + from .usage_auth_method import UsageAuthMethod + writer.write_enum_value("authMethod", self.auth_method) writer.write_int_value("failureActivityCount", self.failure_activity_count) writer.write_enum_value("feature", self.feature) diff --git a/msgraph_beta/generated/models/credential_user_registration_count.py b/msgraph_beta/generated/models/credential_user_registration_count.py index 13796f5c7fb..c2fcece0aaf 100644 --- a/msgraph_beta/generated/models/credential_user_registration_count.py +++ b/msgraph_beta/generated/models/credential_user_registration_count.py @@ -57,6 +57,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .user_registration_count import UserRegistrationCount + writer.write_int_value("totalUserCount", self.total_user_count) writer.write_collection_of_object_values("userRegistrationCounts", self.user_registration_counts) diff --git a/msgraph_beta/generated/models/credential_user_registration_details.py b/msgraph_beta/generated/models/credential_user_registration_details.py index 54c490cac8a..e83abadc365 100644 --- a/msgraph_beta/generated/models/credential_user_registration_details.py +++ b/msgraph_beta/generated/models/credential_user_registration_details.py @@ -72,6 +72,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .registration_auth_method import RegistrationAuthMethod + writer.write_collection_of_enum_values("authMethods", self.auth_methods) writer.write_bool_value("isCapable", self.is_capable) writer.write_bool_value("isEnabled", self.is_enabled) diff --git a/msgraph_beta/generated/models/credential_user_registration_details_collection_response.py b/msgraph_beta/generated/models/credential_user_registration_details_collection_response.py index 737c14edaa9..a9e7862e07b 100644 --- a/msgraph_beta/generated/models/credential_user_registration_details_collection_response.py +++ b/msgraph_beta/generated/models/credential_user_registration_details_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .credential_user_registration_details import CredentialUserRegistrationDetails + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/cross_cloud_azure_active_directory_tenant.py b/msgraph_beta/generated/models/cross_cloud_azure_active_directory_tenant.py index 1d6f8332002..c1d6de4cb23 100644 --- a/msgraph_beta/generated/models/cross_cloud_azure_active_directory_tenant.py +++ b/msgraph_beta/generated/models/cross_cloud_azure_active_directory_tenant.py @@ -57,6 +57,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .identity_source import IdentitySource + writer.write_str_value("cloudInstance", self.cloud_instance) writer.write_str_value("displayName", self.display_name) writer.write_str_value("tenantId", self.tenant_id) diff --git a/msgraph_beta/generated/models/cross_tenant_access_policy.py b/msgraph_beta/generated/models/cross_tenant_access_policy.py index 6608f4d3000..0a99167f461 100644 --- a/msgraph_beta/generated/models/cross_tenant_access_policy.py +++ b/msgraph_beta/generated/models/cross_tenant_access_policy.py @@ -69,6 +69,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .cross_tenant_access_policy_configuration_default import CrossTenantAccessPolicyConfigurationDefault + from .cross_tenant_access_policy_configuration_partner import CrossTenantAccessPolicyConfigurationPartner + from .policy_template import PolicyTemplate + from .tenant_relationship_access_policy_base import TenantRelationshipAccessPolicyBase + writer.write_collection_of_primitive_values("allowedCloudEndpoints", self.allowed_cloud_endpoints) writer.write_object_value("default", self.default) writer.write_collection_of_object_values("partners", self.partners) diff --git a/msgraph_beta/generated/models/cross_tenant_access_policy_b2_b_setting.py b/msgraph_beta/generated/models/cross_tenant_access_policy_b2_b_setting.py index 99e5c027fdd..84fe5464069 100644 --- a/msgraph_beta/generated/models/cross_tenant_access_policy_b2_b_setting.py +++ b/msgraph_beta/generated/models/cross_tenant_access_policy_b2_b_setting.py @@ -32,7 +32,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> CrossTenantAccessP if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.crossTenantAccessPolicyTenantRestrictions".casefold(): @@ -67,6 +68,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .cross_tenant_access_policy_target_configuration import CrossTenantAccessPolicyTargetConfiguration + from .cross_tenant_access_policy_tenant_restrictions import CrossTenantAccessPolicyTenantRestrictions + writer.write_object_value("applications", self.applications) writer.write_str_value("@odata.type", self.odata_type) writer.write_object_value("usersAndGroups", self.users_and_groups) diff --git a/msgraph_beta/generated/models/cross_tenant_access_policy_configuration_default.py b/msgraph_beta/generated/models/cross_tenant_access_policy_configuration_default.py index dc3ee7b476c..50a06960397 100644 --- a/msgraph_beta/generated/models/cross_tenant_access_policy_configuration_default.py +++ b/msgraph_beta/generated/models/cross_tenant_access_policy_configuration_default.py @@ -90,6 +90,13 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .cross_tenant_access_policy_b2_b_setting import CrossTenantAccessPolicyB2BSetting + from .cross_tenant_access_policy_inbound_trust import CrossTenantAccessPolicyInboundTrust + from .cross_tenant_access_policy_tenant_restrictions import CrossTenantAccessPolicyTenantRestrictions + from .default_invitation_redemption_identity_provider_configuration import DefaultInvitationRedemptionIdentityProviderConfiguration + from .entity import Entity + from .inbound_outbound_policy_configuration import InboundOutboundPolicyConfiguration + writer.write_object_value("automaticUserConsentSettings", self.automatic_user_consent_settings) writer.write_object_value("b2bCollaborationInbound", self.b2b_collaboration_inbound) writer.write_object_value("b2bCollaborationOutbound", self.b2b_collaboration_outbound) diff --git a/msgraph_beta/generated/models/cross_tenant_access_policy_configuration_partner.py b/msgraph_beta/generated/models/cross_tenant_access_policy_configuration_partner.py index 65a25c8edf9..b9ed278fdb2 100644 --- a/msgraph_beta/generated/models/cross_tenant_access_policy_configuration_partner.py +++ b/msgraph_beta/generated/models/cross_tenant_access_policy_configuration_partner.py @@ -95,6 +95,12 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .cross_tenant_access_policy_b2_b_setting import CrossTenantAccessPolicyB2BSetting + from .cross_tenant_access_policy_inbound_trust import CrossTenantAccessPolicyInboundTrust + from .cross_tenant_access_policy_tenant_restrictions import CrossTenantAccessPolicyTenantRestrictions + from .cross_tenant_identity_sync_policy_partner import CrossTenantIdentitySyncPolicyPartner + from .inbound_outbound_policy_configuration import InboundOutboundPolicyConfiguration + writer.write_object_value("automaticUserConsentSettings", self.automatic_user_consent_settings) writer.write_object_value("b2bCollaborationInbound", self.b2b_collaboration_inbound) writer.write_object_value("b2bCollaborationOutbound", self.b2b_collaboration_outbound) diff --git a/msgraph_beta/generated/models/cross_tenant_access_policy_configuration_partner_collection_response.py b/msgraph_beta/generated/models/cross_tenant_access_policy_configuration_partner_collection_response.py index caf7d9b2b8f..eb4cb79c8aa 100644 --- a/msgraph_beta/generated/models/cross_tenant_access_policy_configuration_partner_collection_response.py +++ b/msgraph_beta/generated/models/cross_tenant_access_policy_configuration_partner_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .cross_tenant_access_policy_configuration_partner import CrossTenantAccessPolicyConfigurationPartner + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/cross_tenant_access_policy_target.py b/msgraph_beta/generated/models/cross_tenant_access_policy_target.py index 6c1112b176c..48bc13ba916 100644 --- a/msgraph_beta/generated/models/cross_tenant_access_policy_target.py +++ b/msgraph_beta/generated/models/cross_tenant_access_policy_target.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .cross_tenant_access_policy_target_type import CrossTenantAccessPolicyTargetType + writer.write_str_value("@odata.type", self.odata_type) writer.write_str_value("target", self.target) writer.write_enum_value("targetType", self.target_type) diff --git a/msgraph_beta/generated/models/cross_tenant_access_policy_target_configuration.py b/msgraph_beta/generated/models/cross_tenant_access_policy_target_configuration.py index 371df1d9a1c..f7409327cd8 100644 --- a/msgraph_beta/generated/models/cross_tenant_access_policy_target_configuration.py +++ b/msgraph_beta/generated/models/cross_tenant_access_policy_target_configuration.py @@ -59,6 +59,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .cross_tenant_access_policy_target import CrossTenantAccessPolicyTarget + from .cross_tenant_access_policy_target_configuration_access_type import CrossTenantAccessPolicyTargetConfigurationAccessType + writer.write_enum_value("accessType", self.access_type) writer.write_str_value("@odata.type", self.odata_type) writer.write_collection_of_object_values("targets", self.targets) diff --git a/msgraph_beta/generated/models/cross_tenant_access_policy_tenant_restrictions.py b/msgraph_beta/generated/models/cross_tenant_access_policy_tenant_restrictions.py index aa52ab2aa71..a53090440bb 100644 --- a/msgraph_beta/generated/models/cross_tenant_access_policy_tenant_restrictions.py +++ b/msgraph_beta/generated/models/cross_tenant_access_policy_tenant_restrictions.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .cross_tenant_access_policy_b2_b_setting import CrossTenantAccessPolicyB2BSetting + from .devices_filter import DevicesFilter + writer.write_object_value("devices", self.devices) diff --git a/msgraph_beta/generated/models/cross_tenant_identity_sync_policy_partner.py b/msgraph_beta/generated/models/cross_tenant_identity_sync_policy_partner.py index 21696fefe9f..660e7c58a52 100644 --- a/msgraph_beta/generated/models/cross_tenant_identity_sync_policy_partner.py +++ b/msgraph_beta/generated/models/cross_tenant_identity_sync_policy_partner.py @@ -59,6 +59,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .cross_tenant_user_sync_inbound import CrossTenantUserSyncInbound + writer.write_str_value("displayName", self.display_name) writer.write_str_value("@odata.type", self.odata_type) writer.write_str_value("tenantId", self.tenant_id) diff --git a/msgraph_beta/generated/models/cryptography_suite.py b/msgraph_beta/generated/models/cryptography_suite.py index 6259f23bf0c..888f56e7398 100644 --- a/msgraph_beta/generated/models/cryptography_suite.py +++ b/msgraph_beta/generated/models/cryptography_suite.py @@ -83,6 +83,12 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .authentication_transform_constant import AuthenticationTransformConstant + from .diffie_hellman_group import DiffieHellmanGroup + from .perfect_forward_secrecy_group import PerfectForwardSecrecyGroup + from .vpn_encryption_algorithm_type import VpnEncryptionAlgorithmType + from .vpn_integrity_algorithm_type import VpnIntegrityAlgorithmType + writer.write_enum_value("authenticationTransformConstants", self.authentication_transform_constants) writer.write_enum_value("cipherTransformConstants", self.cipher_transform_constants) writer.write_enum_value("dhGroup", self.dh_group) diff --git a/msgraph_beta/generated/models/currency_collection_response.py b/msgraph_beta/generated/models/currency_collection_response.py index 4ce0fc9c9f5..40937d2ee1e 100644 --- a/msgraph_beta/generated/models/currency_collection_response.py +++ b/msgraph_beta/generated/models/currency_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .currency import Currency + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/current_label.py b/msgraph_beta/generated/models/current_label.py index b17de9db34b..3c9b442dafe 100644 --- a/msgraph_beta/generated/models/current_label.py +++ b/msgraph_beta/generated/models/current_label.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .application_mode import ApplicationMode + writer.write_enum_value("applicationMode", self.application_mode) writer.write_str_value("id", self.id) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/custom_access_package_workflow_extension.py b/msgraph_beta/generated/models/custom_access_package_workflow_extension.py index b98a7b46fb7..525216b82b0 100644 --- a/msgraph_beta/generated/models/custom_access_package_workflow_extension.py +++ b/msgraph_beta/generated/models/custom_access_package_workflow_extension.py @@ -55,6 +55,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .custom_callout_extension import CustomCalloutExtension + writer.write_datetime_value("createdDateTime", self.created_date_time) writer.write_datetime_value("lastModifiedDateTime", self.last_modified_date_time) diff --git a/msgraph_beta/generated/models/custom_access_package_workflow_extension_collection_response.py b/msgraph_beta/generated/models/custom_access_package_workflow_extension_collection_response.py index 00ff201db44..fdf24972191 100644 --- a/msgraph_beta/generated/models/custom_access_package_workflow_extension_collection_response.py +++ b/msgraph_beta/generated/models/custom_access_package_workflow_extension_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .custom_access_package_workflow_extension import CustomAccessPackageWorkflowExtension + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/custom_action.py b/msgraph_beta/generated/models/custom_action.py index 705dad7650d..8363e8983a8 100644 --- a/msgraph_beta/generated/models/custom_action.py +++ b/msgraph_beta/generated/models/custom_action.py @@ -57,6 +57,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .information_protection_action import InformationProtectionAction + from .key_value_pair import KeyValuePair + writer.write_str_value("name", self.name) writer.write_collection_of_object_values("properties", self.properties) diff --git a/msgraph_beta/generated/models/custom_app_management_application_configuration.py b/msgraph_beta/generated/models/custom_app_management_application_configuration.py index 3fea49e17e2..8348faf27b0 100644 --- a/msgraph_beta/generated/models/custom_app_management_application_configuration.py +++ b/msgraph_beta/generated/models/custom_app_management_application_configuration.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .identifier_uri_configuration import IdentifierUriConfiguration + writer.write_object_value("identifierUris", self.identifier_uris) writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/custom_app_management_configuration.py b/msgraph_beta/generated/models/custom_app_management_configuration.py index 74e8a49a294..109faf289dc 100644 --- a/msgraph_beta/generated/models/custom_app_management_configuration.py +++ b/msgraph_beta/generated/models/custom_app_management_configuration.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .app_management_configuration import AppManagementConfiguration + from .custom_app_management_application_configuration import CustomAppManagementApplicationConfiguration + writer.write_object_value("applicationRestrictions", self.application_restrictions) diff --git a/msgraph_beta/generated/models/custom_app_scope.py b/msgraph_beta/generated/models/custom_app_scope.py index 69a3809412a..4876dedb41e 100644 --- a/msgraph_beta/generated/models/custom_app_scope.py +++ b/msgraph_beta/generated/models/custom_app_scope.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .app_scope import AppScope + from .custom_app_scope_attributes_dictionary import CustomAppScopeAttributesDictionary + writer.write_object_value("customAttributes", self.custom_attributes) diff --git a/msgraph_beta/generated/models/custom_app_scope_attributes_dictionary.py b/msgraph_beta/generated/models/custom_app_scope_attributes_dictionary.py index 278bf70d288..4b35480ddec 100644 --- a/msgraph_beta/generated/models/custom_app_scope_attributes_dictionary.py +++ b/msgraph_beta/generated/models/custom_app_scope_attributes_dictionary.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .dictionary import Dictionary + diff --git a/msgraph_beta/generated/models/custom_app_scope_collection_response.py b/msgraph_beta/generated/models/custom_app_scope_collection_response.py index c8bbab45231..50079658042 100644 --- a/msgraph_beta/generated/models/custom_app_scope_collection_response.py +++ b/msgraph_beta/generated/models/custom_app_scope_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .custom_app_scope import CustomAppScope + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/custom_authentication_extension.py b/msgraph_beta/generated/models/custom_authentication_extension.py index 1ef7a8b8edd..4d3aa4d7bf3 100644 --- a/msgraph_beta/generated/models/custom_authentication_extension.py +++ b/msgraph_beta/generated/models/custom_authentication_extension.py @@ -26,7 +26,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> CustomAuthenticati if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.onAttributeCollectionStartCustomExtension".casefold(): @@ -73,5 +74,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .custom_callout_extension import CustomCalloutExtension + from .on_attribute_collection_start_custom_extension import OnAttributeCollectionStartCustomExtension + from .on_attribute_collection_submit_custom_extension import OnAttributeCollectionSubmitCustomExtension + from .on_token_issuance_start_custom_extension import OnTokenIssuanceStartCustomExtension + diff --git a/msgraph_beta/generated/models/custom_authentication_extension_collection_response.py b/msgraph_beta/generated/models/custom_authentication_extension_collection_response.py index 2b48571ed0e..588e9883996 100644 --- a/msgraph_beta/generated/models/custom_authentication_extension_collection_response.py +++ b/msgraph_beta/generated/models/custom_authentication_extension_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .custom_authentication_extension import CustomAuthenticationExtension + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/custom_callout_extension.py b/msgraph_beta/generated/models/custom_callout_extension.py index b16b6684121..41147289e28 100644 --- a/msgraph_beta/generated/models/custom_callout_extension.py +++ b/msgraph_beta/generated/models/custom_callout_extension.py @@ -44,7 +44,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> CustomCalloutExten if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.accessPackageAssignmentRequestWorkflowExtension".casefold(): @@ -132,6 +133,19 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .access_package_assignment_request_workflow_extension import AccessPackageAssignmentRequestWorkflowExtension + from .access_package_assignment_workflow_extension import AccessPackageAssignmentWorkflowExtension + from .custom_access_package_workflow_extension import CustomAccessPackageWorkflowExtension + from .custom_authentication_extension import CustomAuthenticationExtension + from .custom_extension_authentication_configuration import CustomExtensionAuthenticationConfiguration + from .custom_extension_client_configuration import CustomExtensionClientConfiguration + from .custom_extension_endpoint_configuration import CustomExtensionEndpointConfiguration + from .entity import Entity + from .identity_governance.custom_task_extension import CustomTaskExtension + from .on_attribute_collection_start_custom_extension import OnAttributeCollectionStartCustomExtension + from .on_attribute_collection_submit_custom_extension import OnAttributeCollectionSubmitCustomExtension + from .on_token_issuance_start_custom_extension import OnTokenIssuanceStartCustomExtension + writer.write_object_value("authenticationConfiguration", self.authentication_configuration) writer.write_object_value("clientConfiguration", self.client_configuration) writer.write_str_value("description", self.description) diff --git a/msgraph_beta/generated/models/custom_callout_extension_collection_response.py b/msgraph_beta/generated/models/custom_callout_extension_collection_response.py index 4a93788352d..93d4dd13a89 100644 --- a/msgraph_beta/generated/models/custom_callout_extension_collection_response.py +++ b/msgraph_beta/generated/models/custom_callout_extension_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .custom_callout_extension import CustomCalloutExtension + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/custom_claim.py b/msgraph_beta/generated/models/custom_claim.py index cf3d53553e1..b9688ce535e 100644 --- a/msgraph_beta/generated/models/custom_claim.py +++ b/msgraph_beta/generated/models/custom_claim.py @@ -66,6 +66,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .custom_claim_base import CustomClaimBase + from .saml_attribute_name_format import SamlAttributeNameFormat + from .token_format import TokenFormat + writer.write_str_value("name", self.name) writer.write_str_value("namespace", self.namespace) writer.write_enum_value("samlAttributeNameFormat", self.saml_attribute_name_format) diff --git a/msgraph_beta/generated/models/custom_claim_attribute_base.py b/msgraph_beta/generated/models/custom_claim_attribute_base.py index 428e69883ea..e5eb8595c7b 100644 --- a/msgraph_beta/generated/models/custom_claim_attribute_base.py +++ b/msgraph_beta/generated/models/custom_claim_attribute_base.py @@ -28,7 +28,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> CustomClaimAttribu if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.sourcedAttribute".casefold(): @@ -65,6 +66,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .sourced_attribute import SourcedAttribute + from .value_based_attribute import ValueBasedAttribute + writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/custom_claim_base.py b/msgraph_beta/generated/models/custom_claim_base.py index b2968019e3d..6a304f2c5aa 100644 --- a/msgraph_beta/generated/models/custom_claim_base.py +++ b/msgraph_beta/generated/models/custom_claim_base.py @@ -31,7 +31,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> CustomClaimBase: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.customClaim".casefold(): @@ -71,6 +72,10 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .custom_claim import CustomClaim + from .custom_claim_configuration import CustomClaimConfiguration + from .saml_name_id_claim import SamlNameIdClaim + writer.write_collection_of_object_values("configurations", self.configurations) writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/custom_claim_condition.py b/msgraph_beta/generated/models/custom_claim_condition.py index e4a43a79b78..a37d931f989 100644 --- a/msgraph_beta/generated/models/custom_claim_condition.py +++ b/msgraph_beta/generated/models/custom_claim_condition.py @@ -57,6 +57,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .claim_condition_user_type import ClaimConditionUserType + from .custom_claim_condition_base import CustomClaimConditionBase + writer.write_collection_of_primitive_values("memberOf", self.member_of) writer.write_enum_value("userType", self.user_type) diff --git a/msgraph_beta/generated/models/custom_claim_condition_base.py b/msgraph_beta/generated/models/custom_claim_condition_base.py index bea6a3023cc..82361c436ec 100644 --- a/msgraph_beta/generated/models/custom_claim_condition_base.py +++ b/msgraph_beta/generated/models/custom_claim_condition_base.py @@ -27,7 +27,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> CustomClaimConditi if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.customClaimCondition".casefold(): @@ -58,6 +59,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .custom_claim_condition import CustomClaimCondition + writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/custom_claim_configuration.py b/msgraph_beta/generated/models/custom_claim_configuration.py index 05834a4a970..41b9870a8b9 100644 --- a/msgraph_beta/generated/models/custom_claim_configuration.py +++ b/msgraph_beta/generated/models/custom_claim_configuration.py @@ -65,6 +65,10 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .custom_claim_attribute_base import CustomClaimAttributeBase + from .custom_claim_condition_base import CustomClaimConditionBase + from .custom_claim_transformation import CustomClaimTransformation + writer.write_object_value("attribute", self.attribute) writer.write_object_value("condition", self.condition) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/custom_claim_transformation.py b/msgraph_beta/generated/models/custom_claim_transformation.py index b905e437d97..6731c490379 100644 --- a/msgraph_beta/generated/models/custom_claim_transformation.py +++ b/msgraph_beta/generated/models/custom_claim_transformation.py @@ -44,7 +44,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> CustomClaimTransfo if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.containsTransformation".casefold(): @@ -162,6 +163,23 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .contains_transformation import ContainsTransformation + from .ends_with_transformation import EndsWithTransformation + from .extract_alpha_transformation import ExtractAlphaTransformation + from .extract_mail_prefix_transformation import ExtractMailPrefixTransformation + from .extract_number_transformation import ExtractNumberTransformation + from .extract_transformation import ExtractTransformation + from .if_empty_transformation import IfEmptyTransformation + from .if_not_empty_transformation import IfNotEmptyTransformation + from .join_transformation import JoinTransformation + from .regex_replace_transformation import RegexReplaceTransformation + from .starts_with_transformation import StartsWithTransformation + from .substring_transformation import SubstringTransformation + from .to_lowercase_transformation import ToLowercaseTransformation + from .to_uppercase_transformation import ToUppercaseTransformation + from .transformation_attribute import TransformationAttribute + from .trim_transformation import TrimTransformation + writer.write_object_value("input", self.input) writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/custom_claims_policy.py b/msgraph_beta/generated/models/custom_claims_policy.py index 0531383c057..f98489a7923 100644 --- a/msgraph_beta/generated/models/custom_claims_policy.py +++ b/msgraph_beta/generated/models/custom_claims_policy.py @@ -63,6 +63,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .custom_claim_base import CustomClaimBase + from .entity import Entity + writer.write_str_value("audienceOverride", self.audience_override) writer.write_collection_of_object_values("claims", self.claims) writer.write_bool_value("includeApplicationIdInIssuer", self.include_application_id_in_issuer) diff --git a/msgraph_beta/generated/models/custom_extension_authentication_configuration.py b/msgraph_beta/generated/models/custom_extension_authentication_configuration.py index 876bb7a02b2..7c55ec44f28 100644 --- a/msgraph_beta/generated/models/custom_extension_authentication_configuration.py +++ b/msgraph_beta/generated/models/custom_extension_authentication_configuration.py @@ -28,7 +28,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> CustomExtensionAut if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.azureAdPopTokenAuthentication".casefold(): @@ -65,6 +66,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .azure_ad_pop_token_authentication import AzureAdPopTokenAuthentication + from .azure_ad_token_authentication import AzureAdTokenAuthentication + writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/custom_extension_callback_configuration.py b/msgraph_beta/generated/models/custom_extension_callback_configuration.py index fc82709d2c1..dc9c5315aae 100644 --- a/msgraph_beta/generated/models/custom_extension_callback_configuration.py +++ b/msgraph_beta/generated/models/custom_extension_callback_configuration.py @@ -30,7 +30,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> CustomExtensionCal if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.identityGovernance.customTaskExtensionCallbackConfiguration".casefold(): @@ -62,6 +63,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .identity_governance.custom_task_extension_callback_configuration import CustomTaskExtensionCallbackConfiguration + writer.write_str_value("@odata.type", self.odata_type) writer.write_timedelta_value("timeoutDuration", self.timeout_duration) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/custom_extension_callout_instance.py b/msgraph_beta/generated/models/custom_extension_callout_instance.py index 13720a9f272..dc27ecaa160 100644 --- a/msgraph_beta/generated/models/custom_extension_callout_instance.py +++ b/msgraph_beta/generated/models/custom_extension_callout_instance.py @@ -65,6 +65,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .custom_extension_callout_instance_status import CustomExtensionCalloutInstanceStatus + writer.write_str_value("customExtensionId", self.custom_extension_id) writer.write_str_value("detail", self.detail) writer.write_str_value("externalCorrelationId", self.external_correlation_id) diff --git a/msgraph_beta/generated/models/custom_extension_callout_result.py b/msgraph_beta/generated/models/custom_extension_callout_result.py index 2ea218858c9..8a269a2102a 100644 --- a/msgraph_beta/generated/models/custom_extension_callout_result.py +++ b/msgraph_beta/generated/models/custom_extension_callout_result.py @@ -64,6 +64,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .authentication_event_handler_result import AuthenticationEventHandlerResult + writer.write_datetime_value("calloutDateTime", self.callout_date_time) writer.write_str_value("customExtensionId", self.custom_extension_id) writer.write_int_value("errorCode", self.error_code) diff --git a/msgraph_beta/generated/models/custom_extension_data.py b/msgraph_beta/generated/models/custom_extension_data.py index 74066528abf..c71b937bc7d 100644 --- a/msgraph_beta/generated/models/custom_extension_data.py +++ b/msgraph_beta/generated/models/custom_extension_data.py @@ -29,7 +29,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> CustomExtensionDat if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.accessPackageAssignmentRequestCallbackData".casefold(): @@ -72,6 +73,10 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .access_package_assignment_request_callback_data import AccessPackageAssignmentRequestCallbackData + from .identity_governance.custom_task_extension_callback_data import CustomTaskExtensionCallbackData + from .identity_governance.custom_task_extension_callout_data import CustomTaskExtensionCalloutData + writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/custom_extension_endpoint_configuration.py b/msgraph_beta/generated/models/custom_extension_endpoint_configuration.py index 4ebb906017e..f1b77bec768 100644 --- a/msgraph_beta/generated/models/custom_extension_endpoint_configuration.py +++ b/msgraph_beta/generated/models/custom_extension_endpoint_configuration.py @@ -28,7 +28,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> CustomExtensionEnd if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.httpRequestEndpoint".casefold(): @@ -65,6 +66,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .http_request_endpoint import HttpRequestEndpoint + from .logic_app_trigger_endpoint_configuration import LogicAppTriggerEndpointConfiguration + writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/custom_extension_handler.py b/msgraph_beta/generated/models/custom_extension_handler.py index 5d06fffd08b..1e725ce16a5 100644 --- a/msgraph_beta/generated/models/custom_extension_handler.py +++ b/msgraph_beta/generated/models/custom_extension_handler.py @@ -60,6 +60,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .access_package_custom_extension_stage import AccessPackageCustomExtensionStage + from .custom_access_package_workflow_extension import CustomAccessPackageWorkflowExtension + from .entity import Entity + writer.write_object_value("customExtension", self.custom_extension) writer.write_enum_value("stage", self.stage) diff --git a/msgraph_beta/generated/models/custom_extension_handler_collection_response.py b/msgraph_beta/generated/models/custom_extension_handler_collection_response.py index 29498ca81e6..79a9932c870 100644 --- a/msgraph_beta/generated/models/custom_extension_handler_collection_response.py +++ b/msgraph_beta/generated/models/custom_extension_handler_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .custom_extension_handler import CustomExtensionHandler + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/custom_extension_handler_instance.py b/msgraph_beta/generated/models/custom_extension_handler_instance.py index dc19aa2b68c..30923ada05f 100644 --- a/msgraph_beta/generated/models/custom_extension_handler_instance.py +++ b/msgraph_beta/generated/models/custom_extension_handler_instance.py @@ -65,6 +65,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .access_package_custom_extension_handler_status import AccessPackageCustomExtensionHandlerStatus + from .access_package_custom_extension_stage import AccessPackageCustomExtensionStage + writer.write_str_value("customExtensionId", self.custom_extension_id) writer.write_str_value("externalCorrelationId", self.external_correlation_id) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/custom_extension_overwrite_configuration.py b/msgraph_beta/generated/models/custom_extension_overwrite_configuration.py index 7788dc7475f..fd5f82823e0 100644 --- a/msgraph_beta/generated/models/custom_extension_overwrite_configuration.py +++ b/msgraph_beta/generated/models/custom_extension_overwrite_configuration.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .custom_extension_client_configuration import CustomExtensionClientConfiguration + writer.write_object_value("clientConfiguration", self.client_configuration) writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/custom_extension_stage_setting.py b/msgraph_beta/generated/models/custom_extension_stage_setting.py index 30dd3a276fd..239b6ac6c2d 100644 --- a/msgraph_beta/generated/models/custom_extension_stage_setting.py +++ b/msgraph_beta/generated/models/custom_extension_stage_setting.py @@ -60,6 +60,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .access_package_custom_extension_stage import AccessPackageCustomExtensionStage + from .custom_callout_extension import CustomCalloutExtension + from .entity import Entity + writer.write_object_value("customExtension", self.custom_extension) writer.write_enum_value("stage", self.stage) diff --git a/msgraph_beta/generated/models/custom_extension_stage_setting_collection_response.py b/msgraph_beta/generated/models/custom_extension_stage_setting_collection_response.py index bdb3539cfd6..92f1ecb098d 100644 --- a/msgraph_beta/generated/models/custom_extension_stage_setting_collection_response.py +++ b/msgraph_beta/generated/models/custom_extension_stage_setting_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .custom_extension_stage_setting import CustomExtensionStageSetting + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/custom_question_answer.py b/msgraph_beta/generated/models/custom_question_answer.py index c9ed990db2a..2a72e42e671 100644 --- a/msgraph_beta/generated/models/custom_question_answer.py +++ b/msgraph_beta/generated/models/custom_question_answer.py @@ -57,6 +57,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_str_value("displayName", self.display_name) writer.write_str_value("questionId", self.question_id) writer.write_str_value("value", self.value) diff --git a/msgraph_beta/generated/models/custom_security_attribute_audit.py b/msgraph_beta/generated/models/custom_security_attribute_audit.py index 8f6ca860c2f..1c60253ba7b 100644 --- a/msgraph_beta/generated/models/custom_security_attribute_audit.py +++ b/msgraph_beta/generated/models/custom_security_attribute_audit.py @@ -97,6 +97,12 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_activity_initiator import AuditActivityInitiator + from .entity import Entity + from .key_value import KeyValue + from .operation_result import OperationResult + from .target_resource import TargetResource + writer.write_datetime_value("activityDateTime", self.activity_date_time) writer.write_str_value("activityDisplayName", self.activity_display_name) writer.write_collection_of_object_values("additionalDetails", self.additional_details) diff --git a/msgraph_beta/generated/models/custom_security_attribute_audit_collection_response.py b/msgraph_beta/generated/models/custom_security_attribute_audit_collection_response.py index 920844458d3..66ac3908bda 100644 --- a/msgraph_beta/generated/models/custom_security_attribute_audit_collection_response.py +++ b/msgraph_beta/generated/models/custom_security_attribute_audit_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .custom_security_attribute_audit import CustomSecurityAttributeAudit + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/custom_security_attribute_comparison_operator.py b/msgraph_beta/generated/models/custom_security_attribute_comparison_operator.py new file mode 100644 index 00000000000..64d899d3847 --- /dev/null +++ b/msgraph_beta/generated/models/custom_security_attribute_comparison_operator.py @@ -0,0 +1,6 @@ +from enum import Enum + +class CustomSecurityAttributeComparisonOperator(str, Enum): + Equals = "equals", + UnknownFutureValue = "unknownFutureValue", + diff --git a/msgraph_beta/generated/models/custom_security_attribute_definition.py b/msgraph_beta/generated/models/custom_security_attribute_definition.py index f96bb3f11b5..ea8d3d7abb3 100644 --- a/msgraph_beta/generated/models/custom_security_attribute_definition.py +++ b/msgraph_beta/generated/models/custom_security_attribute_definition.py @@ -78,6 +78,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .allowed_value import AllowedValue + from .entity import Entity + writer.write_collection_of_object_values("allowedValues", self.allowed_values) writer.write_str_value("attributeSet", self.attribute_set) writer.write_str_value("description", self.description) diff --git a/msgraph_beta/generated/models/custom_security_attribute_definition_collection_response.py b/msgraph_beta/generated/models/custom_security_attribute_definition_collection_response.py index 9c68c167e77..873c335a197 100644 --- a/msgraph_beta/generated/models/custom_security_attribute_definition_collection_response.py +++ b/msgraph_beta/generated/models/custom_security_attribute_definition_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .custom_security_attribute_definition import CustomSecurityAttributeDefinition + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/custom_security_attribute_exemption.py b/msgraph_beta/generated/models/custom_security_attribute_exemption.py new file mode 100644 index 00000000000..96b172211d0 --- /dev/null +++ b/msgraph_beta/generated/models/custom_security_attribute_exemption.py @@ -0,0 +1,75 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .custom_security_attribute_comparison_operator import CustomSecurityAttributeComparisonOperator + from .custom_security_attribute_string_value_exemption import CustomSecurityAttributeStringValueExemption + from .entity import Entity + +from .entity import Entity + +@dataclass +class CustomSecurityAttributeExemption(Entity): + # The OdataType property + odata_type: Optional[str] = None + # The operator property + operator: Optional[CustomSecurityAttributeComparisonOperator] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> CustomSecurityAttributeExemption: + """ + 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: CustomSecurityAttributeExemption + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + try: + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None + except AttributeError: + mapping_value = None + if mapping_value and mapping_value.casefold() == "#microsoft.graph.customSecurityAttributeStringValueExemption".casefold(): + from .custom_security_attribute_string_value_exemption import CustomSecurityAttributeStringValueExemption + + return CustomSecurityAttributeStringValueExemption() + return CustomSecurityAttributeExemption() + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .custom_security_attribute_comparison_operator import CustomSecurityAttributeComparisonOperator + from .custom_security_attribute_string_value_exemption import CustomSecurityAttributeStringValueExemption + from .entity import Entity + + from .custom_security_attribute_comparison_operator import CustomSecurityAttributeComparisonOperator + from .custom_security_attribute_string_value_exemption import CustomSecurityAttributeStringValueExemption + from .entity import Entity + + fields: Dict[str, Callable[[Any], None]] = { + "operator": lambda n : setattr(self, 'operator', n.get_enum_value(CustomSecurityAttributeComparisonOperator)), + } + 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) + from .custom_security_attribute_comparison_operator import CustomSecurityAttributeComparisonOperator + from .custom_security_attribute_string_value_exemption import CustomSecurityAttributeStringValueExemption + from .entity import Entity + + writer.write_enum_value("operator", self.operator) + + diff --git a/msgraph_beta/generated/models/custom_security_attribute_string_value_exemption.py b/msgraph_beta/generated/models/custom_security_attribute_string_value_exemption.py new file mode 100644 index 00000000000..1a00de09892 --- /dev/null +++ b/msgraph_beta/generated/models/custom_security_attribute_string_value_exemption.py @@ -0,0 +1,58 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .custom_security_attribute_exemption import CustomSecurityAttributeExemption + +from .custom_security_attribute_exemption import CustomSecurityAttributeExemption + +@dataclass +class CustomSecurityAttributeStringValueExemption(CustomSecurityAttributeExemption): + # The OdataType property + odata_type: Optional[str] = "#microsoft.graph.customSecurityAttributeStringValueExemption" + # The value property + value: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> CustomSecurityAttributeStringValueExemption: + """ + 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: CustomSecurityAttributeStringValueExemption + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return CustomSecurityAttributeStringValueExemption() + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .custom_security_attribute_exemption import CustomSecurityAttributeExemption + + from .custom_security_attribute_exemption import CustomSecurityAttributeExemption + + fields: Dict[str, Callable[[Any], None]] = { + "value": lambda n : setattr(self, 'value', n.get_str_value()), + } + 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) + from .custom_security_attribute_exemption import CustomSecurityAttributeExemption + + writer.write_str_value("value", self.value) + + diff --git a/msgraph_beta/generated/models/custom_subject_alternative_name.py b/msgraph_beta/generated/models/custom_subject_alternative_name.py index 13374d038f7..5953735c118 100644 --- a/msgraph_beta/generated/models/custom_subject_alternative_name.py +++ b/msgraph_beta/generated/models/custom_subject_alternative_name.py @@ -59,6 +59,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .subject_alternative_name_type import SubjectAlternativeNameType + writer.write_str_value("name", self.name) writer.write_str_value("@odata.type", self.odata_type) writer.write_enum_value("sanType", self.san_type) diff --git a/msgraph_beta/generated/models/custom_time_zone.py b/msgraph_beta/generated/models/custom_time_zone.py index b6ecdf10fec..008badc8312 100644 --- a/msgraph_beta/generated/models/custom_time_zone.py +++ b/msgraph_beta/generated/models/custom_time_zone.py @@ -63,6 +63,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .daylight_time_zone_offset import DaylightTimeZoneOffset + from .standard_time_zone_offset import StandardTimeZoneOffset + from .time_zone_base import TimeZoneBase + writer.write_int_value("bias", self.bias) writer.write_object_value("daylightOffset", self.daylight_offset) writer.write_object_value("standardOffset", self.standard_offset) diff --git a/msgraph_beta/generated/models/custom_training_setting.py b/msgraph_beta/generated/models/custom_training_setting.py index e7a5541e923..a03835c10b0 100644 --- a/msgraph_beta/generated/models/custom_training_setting.py +++ b/msgraph_beta/generated/models/custom_training_setting.py @@ -66,6 +66,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .training_assigned_to import TrainingAssignedTo + from .training_setting import TrainingSetting + writer.write_collection_of_enum_values("assignedTo", self.assigned_to) writer.write_str_value("description", self.description) writer.write_str_value("displayName", self.display_name) diff --git a/msgraph_beta/generated/models/custom_update_time_window.py b/msgraph_beta/generated/models/custom_update_time_window.py index fcc3cdadc5c..7a94e7da8a4 100644 --- a/msgraph_beta/generated/models/custom_update_time_window.py +++ b/msgraph_beta/generated/models/custom_update_time_window.py @@ -66,6 +66,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .day_of_week import DayOfWeek + writer.write_enum_value("endDay", self.end_day) writer.write_time_value("endTime", self.end_time) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/customer.py b/msgraph_beta/generated/models/customer.py index 49ba8220443..d52fb1eef10 100644 --- a/msgraph_beta/generated/models/customer.py +++ b/msgraph_beta/generated/models/customer.py @@ -139,6 +139,13 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .currency import Currency + from .payment_method import PaymentMethod + from .payment_term import PaymentTerm + from .picture import Picture + from .postal_address_type import PostalAddressType + from .shipment_method import ShipmentMethod + writer.write_object_value("address", self.address) writer.write_str_value("blocked", self.blocked) writer.write_object_value("currency", self.currency) diff --git a/msgraph_beta/generated/models/customer_collection_response.py b/msgraph_beta/generated/models/customer_collection_response.py index dd28ea2bb61..9610d7330ae 100644 --- a/msgraph_beta/generated/models/customer_collection_response.py +++ b/msgraph_beta/generated/models/customer_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .customer import Customer + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/customer_payment.py b/msgraph_beta/generated/models/customer_payment.py index a6be88bad50..6001a5813a1 100644 --- a/msgraph_beta/generated/models/customer_payment.py +++ b/msgraph_beta/generated/models/customer_payment.py @@ -100,6 +100,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .customer import Customer + writer.write_float_value("amount", self.amount) writer.write_uuid_value("appliesToInvoiceId", self.applies_to_invoice_id) writer.write_str_value("appliesToInvoiceNumber", self.applies_to_invoice_number) diff --git a/msgraph_beta/generated/models/customer_payment_collection_response.py b/msgraph_beta/generated/models/customer_payment_collection_response.py index f06674f6c21..a06443dd18f 100644 --- a/msgraph_beta/generated/models/customer_payment_collection_response.py +++ b/msgraph_beta/generated/models/customer_payment_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .customer_payment import CustomerPayment + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/customer_payment_journal.py b/msgraph_beta/generated/models/customer_payment_journal.py index 2a3300aa75b..8ea7286ec83 100644 --- a/msgraph_beta/generated/models/customer_payment_journal.py +++ b/msgraph_beta/generated/models/customer_payment_journal.py @@ -79,6 +79,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .account import Account + from .customer_payment import CustomerPayment + writer.write_object_value("account", self.account) writer.write_uuid_value("balancingAccountId", self.balancing_account_id) writer.write_str_value("balancingAccountNumber", self.balancing_account_number) diff --git a/msgraph_beta/generated/models/customer_payment_journal_collection_response.py b/msgraph_beta/generated/models/customer_payment_journal_collection_response.py index 1d151c8f860..b8b6d0f8fa1 100644 --- a/msgraph_beta/generated/models/customer_payment_journal_collection_response.py +++ b/msgraph_beta/generated/models/customer_payment_journal_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .customer_payment_journal import CustomerPaymentJournal + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/daily_inactive_users_by_application_metric.py b/msgraph_beta/generated/models/daily_inactive_users_by_application_metric.py index d80bf9c5e40..c637cdc3023 100644 --- a/msgraph_beta/generated/models/daily_inactive_users_by_application_metric.py +++ b/msgraph_beta/generated/models/daily_inactive_users_by_application_metric.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .inactive_users_by_application_metric_base import InactiveUsersByApplicationMetricBase + writer.write_int_value("inactive1DayCount", self.inactive1_day_count) diff --git a/msgraph_beta/generated/models/daily_inactive_users_by_application_metric_collection_response.py b/msgraph_beta/generated/models/daily_inactive_users_by_application_metric_collection_response.py index 7172a32a2d8..50bc240e825 100644 --- a/msgraph_beta/generated/models/daily_inactive_users_by_application_metric_collection_response.py +++ b/msgraph_beta/generated/models/daily_inactive_users_by_application_metric_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .daily_inactive_users_by_application_metric import DailyInactiveUsersByApplicationMetric + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/daily_inactive_users_metric.py b/msgraph_beta/generated/models/daily_inactive_users_metric.py index 731ccd2bb33..d09e4533a3d 100644 --- a/msgraph_beta/generated/models/daily_inactive_users_metric.py +++ b/msgraph_beta/generated/models/daily_inactive_users_metric.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .inactive_users_metric_base import InactiveUsersMetricBase + writer.write_int_value("inactive1DayCount", self.inactive1_day_count) diff --git a/msgraph_beta/generated/models/daily_inactive_users_metric_collection_response.py b/msgraph_beta/generated/models/daily_inactive_users_metric_collection_response.py index 6d8a6477b2d..396aac20fd4 100644 --- a/msgraph_beta/generated/models/daily_inactive_users_metric_collection_response.py +++ b/msgraph_beta/generated/models/daily_inactive_users_metric_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .daily_inactive_users_metric import DailyInactiveUsersMetric + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/daily_user_insight_metrics_root.py b/msgraph_beta/generated/models/daily_user_insight_metrics_root.py index fa42343de01..2127c5d80d4 100644 --- a/msgraph_beta/generated/models/daily_user_insight_metrics_root.py +++ b/msgraph_beta/generated/models/daily_user_insight_metrics_root.py @@ -96,6 +96,16 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .active_users_metric import ActiveUsersMetric + from .authentications_metric import AuthenticationsMetric + from .daily_inactive_users_by_application_metric import DailyInactiveUsersByApplicationMetric + from .daily_inactive_users_metric import DailyInactiveUsersMetric + from .entity import Entity + from .insight_summary import InsightSummary + from .mfa_completion_metric import MfaCompletionMetric + from .user_count_metric import UserCountMetric + from .user_sign_up_metric import UserSignUpMetric + writer.write_collection_of_object_values("activeUsers", self.active_users) writer.write_collection_of_object_values("authentications", self.authentications) writer.write_collection_of_object_values("inactiveUsers", self.inactive_users) diff --git a/msgraph_beta/generated/models/data_classification_service.py b/msgraph_beta/generated/models/data_classification_service.py index 4d8f4efa665..8a97b50fd88 100644 --- a/msgraph_beta/generated/models/data_classification_service.py +++ b/msgraph_beta/generated/models/data_classification_service.py @@ -90,6 +90,13 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .exact_match_data_store import ExactMatchDataStore + from .exact_match_upload_agent import ExactMatchUploadAgent + from .job_response_base import JobResponseBase + from .sensitive_type import SensitiveType + from .sensitivity_label import SensitivityLabel + writer.write_collection_of_object_values("classifyFileJobs", self.classify_file_jobs) writer.write_collection_of_object_values("classifyTextJobs", self.classify_text_jobs) writer.write_collection_of_object_values("evaluateDlpPoliciesJobs", self.evaluate_dlp_policies_jobs) diff --git a/msgraph_beta/generated/models/data_collection_info.py b/msgraph_beta/generated/models/data_collection_info.py index cb6a596e60d..522b48a3ca3 100644 --- a/msgraph_beta/generated/models/data_collection_info.py +++ b/msgraph_beta/generated/models/data_collection_info.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entitlements_data_collection_info import EntitlementsDataCollectionInfo + from .entity import Entity + writer.write_object_value("entitlements", self.entitlements) diff --git a/msgraph_beta/generated/models/data_loss_prevention_policy.py b/msgraph_beta/generated/models/data_loss_prevention_policy.py index c6738d61835..812b3f536ec 100644 --- a/msgraph_beta/generated/models/data_loss_prevention_policy.py +++ b/msgraph_beta/generated/models/data_loss_prevention_policy.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_str_value("name", self.name) diff --git a/msgraph_beta/generated/models/data_loss_prevention_policy_collection_response.py b/msgraph_beta/generated/models/data_loss_prevention_policy_collection_response.py index c33e9bb17e9..11baa532073 100644 --- a/msgraph_beta/generated/models/data_loss_prevention_policy_collection_response.py +++ b/msgraph_beta/generated/models/data_loss_prevention_policy_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .data_loss_prevention_policy import DataLossPreventionPolicy + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/data_policy_operation.py b/msgraph_beta/generated/models/data_policy_operation.py index 27128e9a7af..c10588c2803 100644 --- a/msgraph_beta/generated/models/data_policy_operation.py +++ b/msgraph_beta/generated/models/data_policy_operation.py @@ -70,6 +70,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .data_policy_operation_status import DataPolicyOperationStatus + from .entity import Entity + writer.write_datetime_value("completedDateTime", self.completed_date_time) writer.write_float_value("progress", self.progress) writer.write_enum_value("status", self.status) diff --git a/msgraph_beta/generated/models/data_policy_operation_collection_response.py b/msgraph_beta/generated/models/data_policy_operation_collection_response.py index 8928b3107a8..11661a68051 100644 --- a/msgraph_beta/generated/models/data_policy_operation_collection_response.py +++ b/msgraph_beta/generated/models/data_policy_operation_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .data_policy_operation import DataPolicyOperation + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/data_sharing_consent.py b/msgraph_beta/generated/models/data_sharing_consent.py index 70d404f6de9..7618dcca662 100644 --- a/msgraph_beta/generated/models/data_sharing_consent.py +++ b/msgraph_beta/generated/models/data_sharing_consent.py @@ -70,6 +70,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_datetime_value("grantDateTime", self.grant_date_time) writer.write_bool_value("granted", self.granted) writer.write_str_value("grantedByUpn", self.granted_by_upn) diff --git a/msgraph_beta/generated/models/data_sharing_consent_collection_response.py b/msgraph_beta/generated/models/data_sharing_consent_collection_response.py index b3af1ec5a74..1ea5275f49f 100644 --- a/msgraph_beta/generated/models/data_sharing_consent_collection_response.py +++ b/msgraph_beta/generated/models/data_sharing_consent_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .data_sharing_consent import DataSharingConsent + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/day_note.py b/msgraph_beta/generated/models/day_note.py index caaab49dd05..072839e8265 100644 --- a/msgraph_beta/generated/models/day_note.py +++ b/msgraph_beta/generated/models/day_note.py @@ -61,6 +61,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .change_tracked_entity import ChangeTrackedEntity + from .item_body import ItemBody + writer.write_date_value("dayNoteDate", self.day_note_date) writer.write_object_value("draftDayNote", self.draft_day_note) writer.write_object_value("sharedDayNote", self.shared_day_note) diff --git a/msgraph_beta/generated/models/day_note_collection_response.py b/msgraph_beta/generated/models/day_note_collection_response.py index bd967cb03fd..f4568da3f96 100644 --- a/msgraph_beta/generated/models/day_note_collection_response.py +++ b/msgraph_beta/generated/models/day_note_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .day_note import DayNote + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/daylight_time_zone_offset.py b/msgraph_beta/generated/models/daylight_time_zone_offset.py index ac4a6f9bcf5..02d4d6d6bb9 100644 --- a/msgraph_beta/generated/models/daylight_time_zone_offset.py +++ b/msgraph_beta/generated/models/daylight_time_zone_offset.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .standard_time_zone_offset import StandardTimeZoneOffset + writer.write_int_value("daylightBias", self.daylight_bias) diff --git a/msgraph_beta/generated/models/decision_item_principal_resource_membership.py b/msgraph_beta/generated/models/decision_item_principal_resource_membership.py index 485c73d84ea..ce083d60742 100644 --- a/msgraph_beta/generated/models/decision_item_principal_resource_membership.py +++ b/msgraph_beta/generated/models/decision_item_principal_resource_membership.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .decision_item_principal_resource_membership_type import DecisionItemPrincipalResourceMembershipType + writer.write_enum_value("membershipType", self.membership_type) writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/default_device_compliance_policy.py b/msgraph_beta/generated/models/default_device_compliance_policy.py index 7b443d6cf50..463eca6e9bc 100644 --- a/msgraph_beta/generated/models/default_device_compliance_policy.py +++ b/msgraph_beta/generated/models/default_device_compliance_policy.py @@ -51,5 +51,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_compliance_policy import DeviceCompliancePolicy + diff --git a/msgraph_beta/generated/models/default_invitation_redemption_identity_provider_configuration.py b/msgraph_beta/generated/models/default_invitation_redemption_identity_provider_configuration.py index 49915fdde01..fca18acaa56 100644 --- a/msgraph_beta/generated/models/default_invitation_redemption_identity_provider_configuration.py +++ b/msgraph_beta/generated/models/default_invitation_redemption_identity_provider_configuration.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .invitation_redemption_identity_provider_configuration import InvitationRedemptionIdentityProviderConfiguration + diff --git a/msgraph_beta/generated/models/default_managed_app_protection.py b/msgraph_beta/generated/models/default_managed_app_protection.py index 8fe1aa19eb9..6e14c9b6b70 100644 --- a/msgraph_beta/generated/models/default_managed_app_protection.py +++ b/msgraph_beta/generated/models/default_managed_app_protection.py @@ -252,6 +252,16 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .android_managed_app_safety_net_apps_verification_type import AndroidManagedAppSafetyNetAppsVerificationType + from .android_managed_app_safety_net_device_attestation_type import AndroidManagedAppSafetyNetDeviceAttestationType + from .android_managed_app_safety_net_evaluation_type import AndroidManagedAppSafetyNetEvaluationType + from .key_value_pair import KeyValuePair + from .managed_app_data_encryption_type import ManagedAppDataEncryptionType + from .managed_app_policy_deployment_summary import ManagedAppPolicyDeploymentSummary + from .managed_app_protection import ManagedAppProtection + from .managed_app_remediation_action import ManagedAppRemediationAction + from .managed_mobile_app import ManagedMobileApp + writer.write_bool_value("allowWidgetContentSync", self.allow_widget_content_sync) writer.write_str_value("allowedAndroidDeviceManufacturers", self.allowed_android_device_manufacturers) writer.write_collection_of_primitive_values("allowedAndroidDeviceModels", self.allowed_android_device_models) diff --git a/msgraph_beta/generated/models/default_managed_app_protection_collection_response.py b/msgraph_beta/generated/models/default_managed_app_protection_collection_response.py index 05567bde747..3b3e946fc23 100644 --- a/msgraph_beta/generated/models/default_managed_app_protection_collection_response.py +++ b/msgraph_beta/generated/models/default_managed_app_protection_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .default_managed_app_protection import DefaultManagedAppProtection + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/default_sharing_link.py b/msgraph_beta/generated/models/default_sharing_link.py index 8901c6085ba..d6524c8e728 100644 --- a/msgraph_beta/generated/models/default_sharing_link.py +++ b/msgraph_beta/generated/models/default_sharing_link.py @@ -62,6 +62,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .sharing_role import SharingRole + from .sharing_scope import SharingScope + writer.write_bool_value("defaultToExistingAccess", self.default_to_existing_access) writer.write_str_value("@odata.type", self.odata_type) writer.write_enum_value("role", self.role) diff --git a/msgraph_beta/generated/models/default_user_role_override.py b/msgraph_beta/generated/models/default_user_role_override.py index f0240cc190e..c93c171b3a8 100644 --- a/msgraph_beta/generated/models/default_user_role_override.py +++ b/msgraph_beta/generated/models/default_user_role_override.py @@ -57,6 +57,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .unified_role_permission import UnifiedRolePermission + writer.write_bool_value("isDefault", self.is_default) writer.write_collection_of_object_values("rolePermissions", self.role_permissions) diff --git a/msgraph_beta/generated/models/default_user_role_override_collection_response.py b/msgraph_beta/generated/models/default_user_role_override_collection_response.py index 767e8529f2f..52595280e9f 100644 --- a/msgraph_beta/generated/models/default_user_role_override_collection_response.py +++ b/msgraph_beta/generated/models/default_user_role_override_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .default_user_role_override import DefaultUserRoleOverride + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/defender_detected_malware_actions.py b/msgraph_beta/generated/models/defender_detected_malware_actions.py index 5346d1f2b02..998b1aee830 100644 --- a/msgraph_beta/generated/models/defender_detected_malware_actions.py +++ b/msgraph_beta/generated/models/defender_detected_malware_actions.py @@ -65,6 +65,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .defender_threat_action import DefenderThreatAction + writer.write_enum_value("highSeverity", self.high_severity) writer.write_enum_value("lowSeverity", self.low_severity) writer.write_enum_value("moderateSeverity", self.moderate_severity) diff --git a/msgraph_beta/generated/models/delegated_admin_access_assignment.py b/msgraph_beta/generated/models/delegated_admin_access_assignment.py index c043a2a1a55..4ff992ec87a 100644 --- a/msgraph_beta/generated/models/delegated_admin_access_assignment.py +++ b/msgraph_beta/generated/models/delegated_admin_access_assignment.py @@ -73,6 +73,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .delegated_admin_access_assignment_status import DelegatedAdminAccessAssignmentStatus + from .delegated_admin_access_container import DelegatedAdminAccessContainer + from .delegated_admin_access_details import DelegatedAdminAccessDetails + from .entity import Entity + writer.write_object_value("accessContainer", self.access_container) writer.write_object_value("accessDetails", self.access_details) writer.write_datetime_value("createdDateTime", self.created_date_time) diff --git a/msgraph_beta/generated/models/delegated_admin_access_assignment_collection_response.py b/msgraph_beta/generated/models/delegated_admin_access_assignment_collection_response.py index 0573d2b9d02..aa39650d599 100644 --- a/msgraph_beta/generated/models/delegated_admin_access_assignment_collection_response.py +++ b/msgraph_beta/generated/models/delegated_admin_access_assignment_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .delegated_admin_access_assignment import DelegatedAdminAccessAssignment + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/delegated_admin_access_container.py b/msgraph_beta/generated/models/delegated_admin_access_container.py index e06bbc67e70..0ed4dbd30d2 100644 --- a/msgraph_beta/generated/models/delegated_admin_access_container.py +++ b/msgraph_beta/generated/models/delegated_admin_access_container.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .delegated_admin_access_container_type import DelegatedAdminAccessContainerType + writer.write_str_value("accessContainerId", self.access_container_id) writer.write_enum_value("accessContainerType", self.access_container_type) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/delegated_admin_access_details.py b/msgraph_beta/generated/models/delegated_admin_access_details.py index 954b1092cb2..4dfd01fa002 100644 --- a/msgraph_beta/generated/models/delegated_admin_access_details.py +++ b/msgraph_beta/generated/models/delegated_admin_access_details.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .unified_role import UnifiedRole + writer.write_str_value("@odata.type", self.odata_type) writer.write_collection_of_object_values("unifiedRoles", self.unified_roles) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/delegated_admin_customer.py b/msgraph_beta/generated/models/delegated_admin_customer.py index d5c3a2050c8..f22f7703546 100644 --- a/msgraph_beta/generated/models/delegated_admin_customer.py +++ b/msgraph_beta/generated/models/delegated_admin_customer.py @@ -60,6 +60,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .delegated_admin_service_management_detail import DelegatedAdminServiceManagementDetail + from .entity import Entity + writer.write_str_value("displayName", self.display_name) writer.write_collection_of_object_values("serviceManagementDetails", self.service_management_details) writer.write_str_value("tenantId", self.tenant_id) diff --git a/msgraph_beta/generated/models/delegated_admin_customer_collection_response.py b/msgraph_beta/generated/models/delegated_admin_customer_collection_response.py index d29a77dd863..ba88791aa2b 100644 --- a/msgraph_beta/generated/models/delegated_admin_customer_collection_response.py +++ b/msgraph_beta/generated/models/delegated_admin_customer_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .delegated_admin_customer import DelegatedAdminCustomer + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/delegated_admin_relationship.py b/msgraph_beta/generated/models/delegated_admin_relationship.py index fad5a1a9583..543002b4a1b 100644 --- a/msgraph_beta/generated/models/delegated_admin_relationship.py +++ b/msgraph_beta/generated/models/delegated_admin_relationship.py @@ -57,7 +57,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> DelegatedAdminRela if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.resellerDelegatedAdminRelationship".casefold(): @@ -117,6 +118,15 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .delegated_admin_access_assignment import DelegatedAdminAccessAssignment + from .delegated_admin_access_details import DelegatedAdminAccessDetails + from .delegated_admin_relationship_customer_participant import DelegatedAdminRelationshipCustomerParticipant + from .delegated_admin_relationship_operation import DelegatedAdminRelationshipOperation + from .delegated_admin_relationship_request import DelegatedAdminRelationshipRequest + from .delegated_admin_relationship_status import DelegatedAdminRelationshipStatus + from .entity import Entity + from .reseller_delegated_admin_relationship import ResellerDelegatedAdminRelationship + writer.write_collection_of_object_values("accessAssignments", self.access_assignments) writer.write_object_value("accessDetails", self.access_details) writer.write_datetime_value("activatedDateTime", self.activated_date_time) diff --git a/msgraph_beta/generated/models/delegated_admin_relationship_collection_response.py b/msgraph_beta/generated/models/delegated_admin_relationship_collection_response.py index f1f3796407c..8767bc2ecc9 100644 --- a/msgraph_beta/generated/models/delegated_admin_relationship_collection_response.py +++ b/msgraph_beta/generated/models/delegated_admin_relationship_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .delegated_admin_relationship import DelegatedAdminRelationship + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/delegated_admin_relationship_operation.py b/msgraph_beta/generated/models/delegated_admin_relationship_operation.py index 385d164b31e..37bf0df34ec 100644 --- a/msgraph_beta/generated/models/delegated_admin_relationship_operation.py +++ b/msgraph_beta/generated/models/delegated_admin_relationship_operation.py @@ -70,6 +70,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .delegated_admin_relationship_operation_type import DelegatedAdminRelationshipOperationType + from .entity import Entity + from .long_running_operation_status import LongRunningOperationStatus + writer.write_datetime_value("createdDateTime", self.created_date_time) writer.write_str_value("data", self.data) writer.write_datetime_value("lastModifiedDateTime", self.last_modified_date_time) diff --git a/msgraph_beta/generated/models/delegated_admin_relationship_operation_collection_response.py b/msgraph_beta/generated/models/delegated_admin_relationship_operation_collection_response.py index 23ce06e99f8..6abc0e20f5a 100644 --- a/msgraph_beta/generated/models/delegated_admin_relationship_operation_collection_response.py +++ b/msgraph_beta/generated/models/delegated_admin_relationship_operation_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .delegated_admin_relationship_operation import DelegatedAdminRelationshipOperation + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/delegated_admin_relationship_request.py b/msgraph_beta/generated/models/delegated_admin_relationship_request.py index aec125499b7..f6477e2d5be 100644 --- a/msgraph_beta/generated/models/delegated_admin_relationship_request.py +++ b/msgraph_beta/generated/models/delegated_admin_relationship_request.py @@ -67,6 +67,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .delegated_admin_relationship_request_action import DelegatedAdminRelationshipRequestAction + from .delegated_admin_relationship_request_status import DelegatedAdminRelationshipRequestStatus + from .entity import Entity + writer.write_enum_value("action", self.action) writer.write_datetime_value("createdDateTime", self.created_date_time) writer.write_datetime_value("lastModifiedDateTime", self.last_modified_date_time) diff --git a/msgraph_beta/generated/models/delegated_admin_relationship_request_collection_response.py b/msgraph_beta/generated/models/delegated_admin_relationship_request_collection_response.py index 7b2007d0886..fdb2c88b3c2 100644 --- a/msgraph_beta/generated/models/delegated_admin_relationship_request_collection_response.py +++ b/msgraph_beta/generated/models/delegated_admin_relationship_request_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .delegated_admin_relationship_request import DelegatedAdminRelationshipRequest + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/delegated_admin_service_management_detail.py b/msgraph_beta/generated/models/delegated_admin_service_management_detail.py index 4dc729d50f5..1ed84f3378b 100644 --- a/msgraph_beta/generated/models/delegated_admin_service_management_detail.py +++ b/msgraph_beta/generated/models/delegated_admin_service_management_detail.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_str_value("serviceManagementUrl", self.service_management_url) writer.write_str_value("serviceName", self.service_name) diff --git a/msgraph_beta/generated/models/delegated_admin_service_management_detail_collection_response.py b/msgraph_beta/generated/models/delegated_admin_service_management_detail_collection_response.py index ea0e52a359a..b808ff08352 100644 --- a/msgraph_beta/generated/models/delegated_admin_service_management_detail_collection_response.py +++ b/msgraph_beta/generated/models/delegated_admin_service_management_detail_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .delegated_admin_service_management_detail import DelegatedAdminServiceManagementDetail + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/delegated_permission_classification.py b/msgraph_beta/generated/models/delegated_permission_classification.py index 256062ea2a0..e0cb156ffbc 100644 --- a/msgraph_beta/generated/models/delegated_permission_classification.py +++ b/msgraph_beta/generated/models/delegated_permission_classification.py @@ -60,6 +60,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .permission_classification_type import PermissionClassificationType + writer.write_enum_value("classification", self.classification) writer.write_str_value("permissionId", self.permission_id) writer.write_str_value("permissionName", self.permission_name) diff --git a/msgraph_beta/generated/models/delegated_permission_classification_collection_response.py b/msgraph_beta/generated/models/delegated_permission_classification_collection_response.py index 40d302995af..700c6ba7aba 100644 --- a/msgraph_beta/generated/models/delegated_permission_classification_collection_response.py +++ b/msgraph_beta/generated/models/delegated_permission_classification_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .delegated_permission_classification import DelegatedPermissionClassification + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/delete_user_from_shared_apple_device_action_result.py b/msgraph_beta/generated/models/delete_user_from_shared_apple_device_action_result.py index 22bf012ec06..67ed5235579 100644 --- a/msgraph_beta/generated/models/delete_user_from_shared_apple_device_action_result.py +++ b/msgraph_beta/generated/models/delete_user_from_shared_apple_device_action_result.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_action_result import DeviceActionResult + writer.write_str_value("userPrincipalName", self.user_principal_name) diff --git a/msgraph_beta/generated/models/deleted_chat.py b/msgraph_beta/generated/models/deleted_chat.py index f583d139de6..086f51ddfef 100644 --- a/msgraph_beta/generated/models/deleted_chat.py +++ b/msgraph_beta/generated/models/deleted_chat.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + diff --git a/msgraph_beta/generated/models/deleted_chat_collection_response.py b/msgraph_beta/generated/models/deleted_chat_collection_response.py index aabe77af128..1f7a755c93a 100644 --- a/msgraph_beta/generated/models/deleted_chat_collection_response.py +++ b/msgraph_beta/generated/models/deleted_chat_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .deleted_chat import DeletedChat + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/deleted_item_container.py b/msgraph_beta/generated/models/deleted_item_container.py index 5d0a33b0618..9415ff46e89 100644 --- a/msgraph_beta/generated/models/deleted_item_container.py +++ b/msgraph_beta/generated/models/deleted_item_container.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .identity_governance.workflow import Workflow + writer.write_collection_of_object_values("workflows", self.workflows) diff --git a/msgraph_beta/generated/models/deleted_team.py b/msgraph_beta/generated/models/deleted_team.py index a878fd29cd9..ca874b5a3b3 100644 --- a/msgraph_beta/generated/models/deleted_team.py +++ b/msgraph_beta/generated/models/deleted_team.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .channel import Channel + from .entity import Entity + writer.write_collection_of_object_values("channels", self.channels) diff --git a/msgraph_beta/generated/models/deleted_team_collection_response.py b/msgraph_beta/generated/models/deleted_team_collection_response.py index 2479a83d5f2..a0afbfee5cf 100644 --- a/msgraph_beta/generated/models/deleted_team_collection_response.py +++ b/msgraph_beta/generated/models/deleted_team_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .deleted_team import DeletedTeam + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/delivery_optimization_bandwidth.py b/msgraph_beta/generated/models/delivery_optimization_bandwidth.py index f92085c4de2..47089a726b4 100644 --- a/msgraph_beta/generated/models/delivery_optimization_bandwidth.py +++ b/msgraph_beta/generated/models/delivery_optimization_bandwidth.py @@ -32,7 +32,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> DeliveryOptimizati if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.deliveryOptimizationBandwidthAbsolute".casefold(): @@ -75,6 +76,10 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .delivery_optimization_bandwidth_absolute import DeliveryOptimizationBandwidthAbsolute + from .delivery_optimization_bandwidth_hours_with_percentage import DeliveryOptimizationBandwidthHoursWithPercentage + from .delivery_optimization_bandwidth_percentage import DeliveryOptimizationBandwidthPercentage + writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/delivery_optimization_bandwidth_absolute.py b/msgraph_beta/generated/models/delivery_optimization_bandwidth_absolute.py index f904eaa1e67..1648ef01897 100644 --- a/msgraph_beta/generated/models/delivery_optimization_bandwidth_absolute.py +++ b/msgraph_beta/generated/models/delivery_optimization_bandwidth_absolute.py @@ -57,6 +57,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .delivery_optimization_bandwidth import DeliveryOptimizationBandwidth + writer.write_int_value("maximumDownloadBandwidthInKilobytesPerSecond", self.maximum_download_bandwidth_in_kilobytes_per_second) writer.write_int_value("maximumUploadBandwidthInKilobytesPerSecond", self.maximum_upload_bandwidth_in_kilobytes_per_second) diff --git a/msgraph_beta/generated/models/delivery_optimization_bandwidth_hours_with_percentage.py b/msgraph_beta/generated/models/delivery_optimization_bandwidth_hours_with_percentage.py index 6b22ea43749..8da2cb5cf6e 100644 --- a/msgraph_beta/generated/models/delivery_optimization_bandwidth_hours_with_percentage.py +++ b/msgraph_beta/generated/models/delivery_optimization_bandwidth_hours_with_percentage.py @@ -60,6 +60,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .delivery_optimization_bandwidth import DeliveryOptimizationBandwidth + from .delivery_optimization_bandwidth_business_hours_limit import DeliveryOptimizationBandwidthBusinessHoursLimit + writer.write_object_value("bandwidthBackgroundPercentageHours", self.bandwidth_background_percentage_hours) writer.write_object_value("bandwidthForegroundPercentageHours", self.bandwidth_foreground_percentage_hours) diff --git a/msgraph_beta/generated/models/delivery_optimization_bandwidth_percentage.py b/msgraph_beta/generated/models/delivery_optimization_bandwidth_percentage.py index 837e2b9aebf..632d741f0cc 100644 --- a/msgraph_beta/generated/models/delivery_optimization_bandwidth_percentage.py +++ b/msgraph_beta/generated/models/delivery_optimization_bandwidth_percentage.py @@ -57,6 +57,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .delivery_optimization_bandwidth import DeliveryOptimizationBandwidth + writer.write_int_value("maximumBackgroundBandwidthPercentage", self.maximum_background_bandwidth_percentage) writer.write_int_value("maximumForegroundBandwidthPercentage", self.maximum_foreground_bandwidth_percentage) diff --git a/msgraph_beta/generated/models/delivery_optimization_group_id_custom.py b/msgraph_beta/generated/models/delivery_optimization_group_id_custom.py index 7a9d1a813e3..f0b7266a30e 100644 --- a/msgraph_beta/generated/models/delivery_optimization_group_id_custom.py +++ b/msgraph_beta/generated/models/delivery_optimization_group_id_custom.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .delivery_optimization_group_id_source import DeliveryOptimizationGroupIdSource + writer.write_str_value("groupIdCustom", self.group_id_custom) diff --git a/msgraph_beta/generated/models/delivery_optimization_group_id_source.py b/msgraph_beta/generated/models/delivery_optimization_group_id_source.py index 9705792424a..ed9adf491ef 100644 --- a/msgraph_beta/generated/models/delivery_optimization_group_id_source.py +++ b/msgraph_beta/generated/models/delivery_optimization_group_id_source.py @@ -31,7 +31,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> DeliveryOptimizati if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.deliveryOptimizationGroupIdCustom".casefold(): @@ -68,6 +69,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .delivery_optimization_group_id_custom import DeliveryOptimizationGroupIdCustom + from .delivery_optimization_group_id_source_options import DeliveryOptimizationGroupIdSourceOptions + writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/delivery_optimization_group_id_source_options.py b/msgraph_beta/generated/models/delivery_optimization_group_id_source_options.py index 53f0d4366aa..95f0c8dd3a8 100644 --- a/msgraph_beta/generated/models/delivery_optimization_group_id_source_options.py +++ b/msgraph_beta/generated/models/delivery_optimization_group_id_source_options.py @@ -57,6 +57,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .delivery_optimization_group_id_options_type import DeliveryOptimizationGroupIdOptionsType + from .delivery_optimization_group_id_source import DeliveryOptimizationGroupIdSource + writer.write_enum_value("groupIdSourceOption", self.group_id_source_option) diff --git a/msgraph_beta/generated/models/delivery_optimization_max_cache_size.py b/msgraph_beta/generated/models/delivery_optimization_max_cache_size.py index 4eee946fc5e..b963aca6bc8 100644 --- a/msgraph_beta/generated/models/delivery_optimization_max_cache_size.py +++ b/msgraph_beta/generated/models/delivery_optimization_max_cache_size.py @@ -31,7 +31,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> DeliveryOptimizati if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.deliveryOptimizationMaxCacheSizeAbsolute".casefold(): @@ -68,6 +69,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .delivery_optimization_max_cache_size_absolute import DeliveryOptimizationMaxCacheSizeAbsolute + from .delivery_optimization_max_cache_size_percentage import DeliveryOptimizationMaxCacheSizePercentage + writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/delivery_optimization_max_cache_size_absolute.py b/msgraph_beta/generated/models/delivery_optimization_max_cache_size_absolute.py index fbdcf169162..d543940f117 100644 --- a/msgraph_beta/generated/models/delivery_optimization_max_cache_size_absolute.py +++ b/msgraph_beta/generated/models/delivery_optimization_max_cache_size_absolute.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .delivery_optimization_max_cache_size import DeliveryOptimizationMaxCacheSize + writer.write_int_value("maximumCacheSizeInGigabytes", self.maximum_cache_size_in_gigabytes) diff --git a/msgraph_beta/generated/models/delivery_optimization_max_cache_size_percentage.py b/msgraph_beta/generated/models/delivery_optimization_max_cache_size_percentage.py index f71eca0c2c0..b83bc7a3231 100644 --- a/msgraph_beta/generated/models/delivery_optimization_max_cache_size_percentage.py +++ b/msgraph_beta/generated/models/delivery_optimization_max_cache_size_percentage.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .delivery_optimization_max_cache_size import DeliveryOptimizationMaxCacheSize + writer.write_int_value("maximumCacheSizePercentage", self.maximum_cache_size_percentage) diff --git a/msgraph_beta/generated/models/delta_participants.py b/msgraph_beta/generated/models/delta_participants.py index 47d9dd4b415..31b10777b6b 100644 --- a/msgraph_beta/generated/models/delta_participants.py +++ b/msgraph_beta/generated/models/delta_participants.py @@ -57,6 +57,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .participant import Participant + writer.write_collection_of_object_values("participants", self.participants) writer.write_int_value("sequenceNumber", self.sequence_number) diff --git a/msgraph_beta/generated/models/dep_enrollment_base_profile.py b/msgraph_beta/generated/models/dep_enrollment_base_profile.py index cffeb0f8267..836ac89648a 100644 --- a/msgraph_beta/generated/models/dep_enrollment_base_profile.py +++ b/msgraph_beta/generated/models/dep_enrollment_base_profile.py @@ -73,7 +73,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> DepEnrollmentBaseP if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.depIOSEnrollmentProfile".casefold(): @@ -136,6 +137,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .dep_i_o_s_enrollment_profile import DepIOSEnrollmentProfile + from .dep_mac_o_s_enrollment_profile import DepMacOSEnrollmentProfile + from .enrollment_profile import EnrollmentProfile + writer.write_bool_value("appleIdDisabled", self.apple_id_disabled) writer.write_bool_value("applePayDisabled", self.apple_pay_disabled) writer.write_bool_value("configurationWebUrl", self.configuration_web_url) diff --git a/msgraph_beta/generated/models/dep_enrollment_profile.py b/msgraph_beta/generated/models/dep_enrollment_profile.py index 8ad718fdc8c..30437ef0b04 100644 --- a/msgraph_beta/generated/models/dep_enrollment_profile.py +++ b/msgraph_beta/generated/models/dep_enrollment_profile.py @@ -129,6 +129,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .enrollment_profile import EnrollmentProfile + from .i_tunes_pairing_mode import ITunesPairingMode + from .management_certificate_with_thumbprint import ManagementCertificateWithThumbprint + writer.write_bool_value("appleIdDisabled", self.apple_id_disabled) writer.write_bool_value("applePayDisabled", self.apple_pay_disabled) writer.write_bool_value("awaitDeviceConfiguredConfirmation", self.await_device_configured_confirmation) diff --git a/msgraph_beta/generated/models/dep_i_o_s_enrollment_profile.py b/msgraph_beta/generated/models/dep_i_o_s_enrollment_profile.py index 60c027b37a2..e331e076270 100644 --- a/msgraph_beta/generated/models/dep_i_o_s_enrollment_profile.py +++ b/msgraph_beta/generated/models/dep_i_o_s_enrollment_profile.py @@ -144,6 +144,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .dep_enrollment_base_profile import DepEnrollmentBaseProfile + from .i_tunes_pairing_mode import ITunesPairingMode + from .management_certificate_with_thumbprint import ManagementCertificateWithThumbprint + writer.write_bool_value("appearanceScreenDisabled", self.appearance_screen_disabled) writer.write_bool_value("awaitDeviceConfiguredConfirmation", self.await_device_configured_confirmation) writer.write_str_value("carrierActivationUrl", self.carrier_activation_url) diff --git a/msgraph_beta/generated/models/dep_mac_o_s_enrollment_profile.py b/msgraph_beta/generated/models/dep_mac_o_s_enrollment_profile.py index 3fc48c5fa22..adffaef4ed2 100644 --- a/msgraph_beta/generated/models/dep_mac_o_s_enrollment_profile.py +++ b/msgraph_beta/generated/models/dep_mac_o_s_enrollment_profile.py @@ -114,6 +114,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .dep_enrollment_base_profile import DepEnrollmentBaseProfile + writer.write_bool_value("accessibilityScreenDisabled", self.accessibility_screen_disabled) writer.write_str_value("adminAccountFullName", self.admin_account_full_name) writer.write_str_value("adminAccountPassword", self.admin_account_password) diff --git a/msgraph_beta/generated/models/dep_onboarding_setting.py b/msgraph_beta/generated/models/dep_onboarding_setting.py index a118ccc1cbd..e1b35147c6e 100644 --- a/msgraph_beta/generated/models/dep_onboarding_setting.py +++ b/msgraph_beta/generated/models/dep_onboarding_setting.py @@ -115,6 +115,13 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .dep_i_o_s_enrollment_profile import DepIOSEnrollmentProfile + from .dep_mac_o_s_enrollment_profile import DepMacOSEnrollmentProfile + from .dep_token_type import DepTokenType + from .enrollment_profile import EnrollmentProfile + from .entity import Entity + from .imported_apple_device_identity import ImportedAppleDeviceIdentity + writer.write_str_value("appleIdentifier", self.apple_identifier) writer.write_bool_value("dataSharingConsentGranted", self.data_sharing_consent_granted) writer.write_object_value("defaultIosEnrollmentProfile", self.default_ios_enrollment_profile) diff --git a/msgraph_beta/generated/models/dep_onboarding_setting_collection_response.py b/msgraph_beta/generated/models/dep_onboarding_setting_collection_response.py index 89832868515..fd0cd84636e 100644 --- a/msgraph_beta/generated/models/dep_onboarding_setting_collection_response.py +++ b/msgraph_beta/generated/models/dep_onboarding_setting_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .dep_onboarding_setting import DepOnboardingSetting + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/detected_app.py b/msgraph_beta/generated/models/detected_app.py index 2cc9b77959a..9726de0e8ac 100644 --- a/msgraph_beta/generated/models/detected_app.py +++ b/msgraph_beta/generated/models/detected_app.py @@ -78,6 +78,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .detected_app_platform_type import DetectedAppPlatformType + from .entity import Entity + from .managed_device import ManagedDevice + writer.write_int_value("deviceCount", self.device_count) writer.write_str_value("displayName", self.display_name) writer.write_collection_of_object_values("managedDevices", self.managed_devices) diff --git a/msgraph_beta/generated/models/detected_app_collection_response.py b/msgraph_beta/generated/models/detected_app_collection_response.py index e4fbddf11ee..337717b934f 100644 --- a/msgraph_beta/generated/models/detected_app_collection_response.py +++ b/msgraph_beta/generated/models/detected_app_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .detected_app import DetectedApp + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/detected_sensitive_content.py b/msgraph_beta/generated/models/detected_sensitive_content.py index 5ce42f02cb2..c0dc8f979bf 100644 --- a/msgraph_beta/generated/models/detected_sensitive_content.py +++ b/msgraph_beta/generated/models/detected_sensitive_content.py @@ -39,7 +39,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> DetectedSensitiveC if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.machineLearningDetectedSensitiveContent".casefold(): @@ -89,6 +90,14 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .classification_attribute import ClassificationAttribute + from .classification_method import ClassificationMethod + from .detected_sensitive_content_base import DetectedSensitiveContentBase + from .machine_learning_detected_sensitive_content import MachineLearningDetectedSensitiveContent + from .sensitive_content_location import SensitiveContentLocation + from .sensitive_type_scope import SensitiveTypeScope + from .sensitive_type_source import SensitiveTypeSource + writer.write_collection_of_object_values("classificationAttributes", self.classification_attributes) writer.write_enum_value("classificationMethod", self.classification_method) writer.write_collection_of_object_values("matches", self.matches) diff --git a/msgraph_beta/generated/models/detected_sensitive_content_base.py b/msgraph_beta/generated/models/detected_sensitive_content_base.py index 395c3771229..89b81b5c0b0 100644 --- a/msgraph_beta/generated/models/detected_sensitive_content_base.py +++ b/msgraph_beta/generated/models/detected_sensitive_content_base.py @@ -40,7 +40,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> DetectedSensitiveC if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.detectedSensitiveContent".casefold(): @@ -88,6 +89,10 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .detected_sensitive_content import DetectedSensitiveContent + from .exact_match_detected_sensitive_content import ExactMatchDetectedSensitiveContent + from .machine_learning_detected_sensitive_content import MachineLearningDetectedSensitiveContent + writer.write_int_value("confidence", self.confidence) writer.write_str_value("displayName", self.display_name) writer.write_uuid_value("id", self.id) diff --git a/msgraph_beta/generated/models/detected_sensitive_content_wrapper.py b/msgraph_beta/generated/models/detected_sensitive_content_wrapper.py index 0b752cf5980..85fadfaae3b 100644 --- a/msgraph_beta/generated/models/detected_sensitive_content_wrapper.py +++ b/msgraph_beta/generated/models/detected_sensitive_content_wrapper.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .detected_sensitive_content import DetectedSensitiveContent + writer.write_collection_of_object_values("classification", self.classification) writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/device.py b/msgraph_beta/generated/models/device.py index 8886191c035..0420ff0add1 100644 --- a/msgraph_beta/generated/models/device.py +++ b/msgraph_beta/generated/models/device.py @@ -196,6 +196,13 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .alternative_security_id import AlternativeSecurityId + from .command import Command + from .directory_object import DirectoryObject + from .extension import Extension + from .on_premises_extension_attributes import OnPremisesExtensionAttributes + from .usage_right import UsageRight + writer.write_bool_value("accountEnabled", self.account_enabled) writer.write_collection_of_object_values("alternativeSecurityIds", self.alternative_security_ids) writer.write_datetime_value("approximateLastSignInDateTime", self.approximate_last_sign_in_date_time) diff --git a/msgraph_beta/generated/models/device_action_result.py b/msgraph_beta/generated/models/device_action_result.py index c6804f17268..7753c530cac 100644 --- a/msgraph_beta/generated/models/device_action_result.py +++ b/msgraph_beta/generated/models/device_action_result.py @@ -49,7 +49,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> DeviceActionResult if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.activateDeviceEsimActionResult".casefold(): @@ -140,6 +141,18 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .action_state import ActionState + from .activate_device_esim_action_result import ActivateDeviceEsimActionResult + from .change_assignments_action_result import ChangeAssignmentsActionResult + from .configuration_manager_action_result import ConfigurationManagerActionResult + from .delete_user_from_shared_apple_device_action_result import DeleteUserFromSharedAppleDeviceActionResult + from .locate_device_action_result import LocateDeviceActionResult + from .remote_lock_action_result import RemoteLockActionResult + from .reset_passcode_action_result import ResetPasscodeActionResult + from .revoke_apple_vpp_licenses_action_result import RevokeAppleVppLicensesActionResult + from .rotate_bit_locker_keys_device_action_result import RotateBitLockerKeysDeviceActionResult + from .windows_defender_scan_action_result import WindowsDefenderScanActionResult + writer.write_str_value("actionName", self.action_name) writer.write_enum_value("actionState", self.action_state) writer.write_datetime_value("lastUpdatedDateTime", self.last_updated_date_time) diff --git a/msgraph_beta/generated/models/device_and_app_management_assigned_role_definition.py b/msgraph_beta/generated/models/device_and_app_management_assigned_role_definition.py new file mode 100644 index 00000000000..eafc70a40d0 --- /dev/null +++ b/msgraph_beta/generated/models/device_and_app_management_assigned_role_definition.py @@ -0,0 +1,58 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +@dataclass +class DeviceAndAppManagementAssignedRoleDefinition(AdditionalDataHolder, BackedModel, Parsable): + """ + Complex type to represent the role that is assigned to the user. This type contains the ID, the display name, and the permissions of the role. + """ + # 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 list of permissions based on its associated role. Each permission defines the specific actions the user can perform on Intune resources, such as managing devices, applications, or configurations. Some possible values are: Microsoft.Intune/MobileApps/Read, Microsoft.Intune/DeviceConfigurations/Write, Microsoft.Intune/ManagedDevices/Retire, and Microsoft.Intune/DeviceCompliancePolicies/Assign. This Permissions property offers a comprehensive view of the user's effective access rights, ensuring that they can only perform actions relevant to their assigned roles. This property is read-only. + permissions: Optional[List[str]] = None + # The RoleDefinitionDisplayName property represents the human-readable name of a specific role definition in Microsoft Intune. This property provides a clear and descriptive name that indicates the purpose or scope of the role, helping administrators identify and assign appropriate roles to users or groups.Some example values for RoleDefinitionDisplayName might include: "Helpdesk Operator," "Application Manager," or "Policy Administrator." This display name is primarily used in the Intune console or Graph API to present roles in a user-friendly manner, making it easier for administrators to manage role-based access control (RBAC) efficiently. This property is read-only. + role_definition_display_name: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> DeviceAndAppManagementAssignedRoleDefinition: + """ + 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: DeviceAndAppManagementAssignedRoleDefinition + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return DeviceAndAppManagementAssignedRoleDefinition() + + 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()), + "permissions": lambda n : setattr(self, 'permissions', n.get_collection_of_primitive_values(str)), + "roleDefinitionDisplayName": lambda n : setattr(self, 'role_definition_display_name', 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_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/models/device_and_app_management_assigned_role_detail.py b/msgraph_beta/generated/models/device_and_app_management_assigned_role_detail.py new file mode 100644 index 00000000000..077f49d876a --- /dev/null +++ b/msgraph_beta/generated/models/device_and_app_management_assigned_role_detail.py @@ -0,0 +1,67 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .device_and_app_management_assigned_role_definition import DeviceAndAppManagementAssignedRoleDefinition + +@dataclass +class DeviceAndAppManagementAssignedRoleDetail(AdditionalDataHolder, BackedModel, Parsable): + """ + The DeviceAndAppManagementAssignedRoleDetail is a complex type in Microsoft Intune used to represent the Role Definitions and Permissions that are assigned to a specific user. This type provides a detailed view of the roles a user holds, along with the associated permissions that determine the specific actions the user can perform within Intune environment. + """ + # 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 + # The list of permissions assigned to a specific user based on their associated role definitions. Each permission defines the specific actions the user can perform on Intune resources, such as managing devices, applications, or configurations. Some possible values are: Microsoft.Intune/MobileApps/Read, Microsoft.Intune/DeviceConfigurations/Write, Microsoft.Intune/ManagedDevices/Retire, and Microsoft.Intune/DeviceCompliancePolicies/Assign. This Permissions property provides a comprehensive view of the user's effective access rights, ensuring that they can only perform actions relevant to their assigned roles. This property is read-only. + permissions: Optional[List[str]] = None + # A collection of RoleDefinitions represents the various administrative roles that define permissions and access levels within Microsoft Intune. Each RoleDefinition outlines a set of permissions that determine the actions an admin or user can perform in the Intune environment. These permissions can include actions like reading or writing to specific resources, managing device configurations, deploying policies, or handling user data. RoleDefinitions are critical for enforcing role-based access control (RBAC), ensuring that administrators can only interact with the features and data relevant to their responsibilities. RoleDefinitions in Intune can either be built-in roles provided by Microsoft or custom roles created by an organization to tailor access based on specific needs. These definitions are referenced when assigning roles to users or groups, effectively controlling the scope of their administrative privileges. The collection of RoleDefinitions is managed through the Intune console or the Graph API, allowing for scalable role management across large environments. This property is read-only. + role_definitions: Optional[List[DeviceAndAppManagementAssignedRoleDefinition]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> DeviceAndAppManagementAssignedRoleDetail: + """ + 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: DeviceAndAppManagementAssignedRoleDetail + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return DeviceAndAppManagementAssignedRoleDetail() + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .device_and_app_management_assigned_role_definition import DeviceAndAppManagementAssignedRoleDefinition + + from .device_and_app_management_assigned_role_definition import DeviceAndAppManagementAssignedRoleDefinition + + fields: Dict[str, Callable[[Any], None]] = { + "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), + "permissions": lambda n : setattr(self, 'permissions', n.get_collection_of_primitive_values(str)), + "roleDefinitions": lambda n : setattr(self, 'role_definitions', n.get_collection_of_object_values(DeviceAndAppManagementAssignedRoleDefinition)), + } + 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.") + from .device_and_app_management_assigned_role_definition import DeviceAndAppManagementAssignedRoleDefinition + + writer.write_str_value("@odata.type", self.odata_type) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/models/device_and_app_management_assignment_filter.py b/msgraph_beta/generated/models/device_and_app_management_assignment_filter.py index c252c44898d..4205fb9f57b 100644 --- a/msgraph_beta/generated/models/device_and_app_management_assignment_filter.py +++ b/msgraph_beta/generated/models/device_and_app_management_assignment_filter.py @@ -49,7 +49,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> DeviceAndAppManage if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.payloadCompatibleAssignmentFilter".casefold(): @@ -99,6 +100,12 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .assignment_filter_management_type import AssignmentFilterManagementType + from .device_platform_type import DevicePlatformType + from .entity import Entity + from .payload_by_filter import PayloadByFilter + from .payload_compatible_assignment_filter import PayloadCompatibleAssignmentFilter + writer.write_enum_value("assignmentFilterManagementType", self.assignment_filter_management_type) writer.write_datetime_value("createdDateTime", self.created_date_time) writer.write_str_value("description", self.description) diff --git a/msgraph_beta/generated/models/device_and_app_management_assignment_filter_collection_response.py b/msgraph_beta/generated/models/device_and_app_management_assignment_filter_collection_response.py index 471e3e4404a..52e879d64d7 100644 --- a/msgraph_beta/generated/models/device_and_app_management_assignment_filter_collection_response.py +++ b/msgraph_beta/generated/models/device_and_app_management_assignment_filter_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .device_and_app_management_assignment_filter import DeviceAndAppManagementAssignmentFilter + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/device_and_app_management_assignment_target.py b/msgraph_beta/generated/models/device_and_app_management_assignment_target.py index fd0db34e60d..fabb0d9d281 100644 --- a/msgraph_beta/generated/models/device_and_app_management_assignment_target.py +++ b/msgraph_beta/generated/models/device_and_app_management_assignment_target.py @@ -40,7 +40,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> DeviceAndAppManage if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.allDevicesAssignmentTarget".casefold(): @@ -105,6 +106,14 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .all_devices_assignment_target import AllDevicesAssignmentTarget + from .all_licensed_users_assignment_target import AllLicensedUsersAssignmentTarget + from .android_fota_deployment_assignment_target import AndroidFotaDeploymentAssignmentTarget + from .configuration_manager_collection_assignment_target import ConfigurationManagerCollectionAssignmentTarget + from .device_and_app_management_assignment_filter_type import DeviceAndAppManagementAssignmentFilterType + from .exclusion_group_assignment_target import ExclusionGroupAssignmentTarget + from .group_assignment_target import GroupAssignmentTarget + writer.write_str_value("deviceAndAppManagementAssignmentFilterId", self.device_and_app_management_assignment_filter_id) writer.write_enum_value("deviceAndAppManagementAssignmentFilterType", self.device_and_app_management_assignment_filter_type) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/device_and_app_management_role_assignment.py b/msgraph_beta/generated/models/device_and_app_management_role_assignment.py index 08cabf88e44..f3e8b19e829 100644 --- a/msgraph_beta/generated/models/device_and_app_management_role_assignment.py +++ b/msgraph_beta/generated/models/device_and_app_management_role_assignment.py @@ -60,6 +60,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .role_assignment import RoleAssignment + from .role_scope_tag import RoleScopeTag + writer.write_collection_of_primitive_values("members", self.members) writer.write_collection_of_object_values("roleScopeTags", self.role_scope_tags) diff --git a/msgraph_beta/generated/models/device_and_app_management_role_assignment_collection_response.py b/msgraph_beta/generated/models/device_and_app_management_role_assignment_collection_response.py index 6f56712d3dd..366174b31f3 100644 --- a/msgraph_beta/generated/models/device_and_app_management_role_assignment_collection_response.py +++ b/msgraph_beta/generated/models/device_and_app_management_role_assignment_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .device_and_app_management_role_assignment import DeviceAndAppManagementRoleAssignment + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/device_and_app_management_role_definition.py b/msgraph_beta/generated/models/device_and_app_management_role_definition.py index 4373aa6639a..9b408f417a4 100644 --- a/msgraph_beta/generated/models/device_and_app_management_role_definition.py +++ b/msgraph_beta/generated/models/device_and_app_management_role_definition.py @@ -51,5 +51,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .role_definition import RoleDefinition + diff --git a/msgraph_beta/generated/models/device_app_management.py b/msgraph_beta/generated/models/device_app_management.py index 74c2582ff8b..923a189ddc2 100644 --- a/msgraph_beta/generated/models/device_app_management.py +++ b/msgraph_beta/generated/models/device_app_management.py @@ -232,6 +232,36 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .android_managed_app_protection import AndroidManagedAppProtection + from .default_managed_app_protection import DefaultManagedAppProtection + from .device_app_management_task import DeviceAppManagementTask + from .enterprise_code_signing_certificate import EnterpriseCodeSigningCertificate + from .entity import Entity + from .ios_lob_app_provisioning_configuration import IosLobAppProvisioningConfiguration + from .ios_managed_app_protection import IosManagedAppProtection + from .managed_app_policy import ManagedAppPolicy + from .managed_app_registration import ManagedAppRegistration + from .managed_app_status import ManagedAppStatus + from .managed_device_mobile_app_configuration import ManagedDeviceMobileAppConfiguration + from .managed_e_book import ManagedEBook + from .managed_e_book_category import ManagedEBookCategory + from .mdm_windows_information_protection_policy import MdmWindowsInformationProtectionPolicy + from .microsoft_store_for_business_portal_selection_options import MicrosoftStoreForBusinessPortalSelectionOptions + from .mobile_app import MobileApp + from .mobile_app_catalog_package import MobileAppCatalogPackage + from .mobile_app_category import MobileAppCategory + from .mobile_app_relationship import MobileAppRelationship + from .policy_set import PolicySet + from .symantec_code_signing_certificate import SymantecCodeSigningCertificate + from .targeted_managed_app_configuration import TargetedManagedAppConfiguration + from .vpp_token import VppToken + from .windows_defender_application_control_supplemental_policy import WindowsDefenderApplicationControlSupplementalPolicy + from .windows_information_protection_device_registration import WindowsInformationProtectionDeviceRegistration + from .windows_information_protection_policy import WindowsInformationProtectionPolicy + from .windows_information_protection_wipe_action import WindowsInformationProtectionWipeAction + from .windows_managed_app_protection import WindowsManagedAppProtection + from .windows_management_app import WindowsManagementApp + writer.write_collection_of_object_values("androidManagedAppProtections", self.android_managed_app_protections) writer.write_collection_of_object_values("defaultManagedAppProtections", self.default_managed_app_protections) writer.write_collection_of_object_values("deviceAppManagementTasks", self.device_app_management_tasks) diff --git a/msgraph_beta/generated/models/device_app_management_task.py b/msgraph_beta/generated/models/device_app_management_task.py index 11bc3d10c7b..417575bc2e8 100644 --- a/msgraph_beta/generated/models/device_app_management_task.py +++ b/msgraph_beta/generated/models/device_app_management_task.py @@ -53,7 +53,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> DeviceAppManagemen if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.appVulnerabilityTask".casefold(): @@ -116,6 +117,14 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .app_vulnerability_task import AppVulnerabilityTask + from .device_app_management_task_category import DeviceAppManagementTaskCategory + from .device_app_management_task_priority import DeviceAppManagementTaskPriority + from .device_app_management_task_status import DeviceAppManagementTaskStatus + from .entity import Entity + from .security_configuration_task import SecurityConfigurationTask + from .unmanaged_device_discovery_task import UnmanagedDeviceDiscoveryTask + writer.write_str_value("assignedTo", self.assigned_to) writer.write_enum_value("category", self.category) writer.write_datetime_value("createdDateTime", self.created_date_time) diff --git a/msgraph_beta/generated/models/device_app_management_task_collection_response.py b/msgraph_beta/generated/models/device_app_management_task_collection_response.py index 678d333b020..855f9aaa9b7 100644 --- a/msgraph_beta/generated/models/device_app_management_task_collection_response.py +++ b/msgraph_beta/generated/models/device_app_management_task_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .device_app_management_task import DeviceAppManagementTask + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/device_assignment_item.py b/msgraph_beta/generated/models/device_assignment_item.py index 99d9434b39c..72fdd982105 100644 --- a/msgraph_beta/generated/models/device_assignment_item.py +++ b/msgraph_beta/generated/models/device_assignment_item.py @@ -90,6 +90,10 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .device_assignment_item_intent import DeviceAssignmentItemIntent + from .device_assignment_item_status import DeviceAssignmentItemStatus + from .device_assignment_item_type import DeviceAssignmentItemType + writer.write_enum_value("assignmentItemActionIntent", self.assignment_item_action_intent) writer.write_enum_value("assignmentItemActionStatus", self.assignment_item_action_status) writer.write_str_value("itemId", self.item_id) diff --git a/msgraph_beta/generated/models/device_category.py b/msgraph_beta/generated/models/device_category.py index 29e2566656f..7697bbb725b 100644 --- a/msgraph_beta/generated/models/device_category.py +++ b/msgraph_beta/generated/models/device_category.py @@ -60,6 +60,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_str_value("description", self.description) writer.write_str_value("displayName", self.display_name) writer.write_collection_of_primitive_values("roleScopeTagIds", self.role_scope_tag_ids) diff --git a/msgraph_beta/generated/models/device_category_collection_response.py b/msgraph_beta/generated/models/device_category_collection_response.py index 6fc4d16b0db..87fc77eb6e7 100644 --- a/msgraph_beta/generated/models/device_category_collection_response.py +++ b/msgraph_beta/generated/models/device_category_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .device_category import DeviceCategory + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/device_collection_response.py b/msgraph_beta/generated/models/device_collection_response.py index cbb9b7a5a75..9b1c0614259 100644 --- a/msgraph_beta/generated/models/device_collection_response.py +++ b/msgraph_beta/generated/models/device_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .device import Device + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/device_comanagement_authority_configuration.py b/msgraph_beta/generated/models/device_comanagement_authority_configuration.py index 8ab14feedd1..efc077a22c8 100644 --- a/msgraph_beta/generated/models/device_comanagement_authority_configuration.py +++ b/msgraph_beta/generated/models/device_comanagement_authority_configuration.py @@ -60,6 +60,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_enrollment_configuration import DeviceEnrollmentConfiguration + writer.write_str_value("configurationManagerAgentCommandLineArgument", self.configuration_manager_agent_command_line_argument) writer.write_bool_value("installConfigurationManagerAgent", self.install_configuration_manager_agent) writer.write_int_value("managedDeviceAuthority", self.managed_device_authority) diff --git a/msgraph_beta/generated/models/device_compliance_action_item.py b/msgraph_beta/generated/models/device_compliance_action_item.py index 10d151357ee..4e9a57cf7d0 100644 --- a/msgraph_beta/generated/models/device_compliance_action_item.py +++ b/msgraph_beta/generated/models/device_compliance_action_item.py @@ -66,6 +66,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_compliance_action_type import DeviceComplianceActionType + from .entity import Entity + writer.write_enum_value("actionType", self.action_type) writer.write_int_value("gracePeriodHours", self.grace_period_hours) writer.write_collection_of_primitive_values("notificationMessageCCList", self.notification_message_c_c_list) diff --git a/msgraph_beta/generated/models/device_compliance_action_item_collection_response.py b/msgraph_beta/generated/models/device_compliance_action_item_collection_response.py index f8c1b2dc3a5..c119d928f81 100644 --- a/msgraph_beta/generated/models/device_compliance_action_item_collection_response.py +++ b/msgraph_beta/generated/models/device_compliance_action_item_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .device_compliance_action_item import DeviceComplianceActionItem + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/device_compliance_device_overview.py b/msgraph_beta/generated/models/device_compliance_device_overview.py index 2d7f7efebf3..0bb4e7e9124 100644 --- a/msgraph_beta/generated/models/device_compliance_device_overview.py +++ b/msgraph_beta/generated/models/device_compliance_device_overview.py @@ -76,6 +76,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_int_value("configurationVersion", self.configuration_version) writer.write_int_value("conflictCount", self.conflict_count) writer.write_int_value("errorCount", self.error_count) diff --git a/msgraph_beta/generated/models/device_compliance_device_status.py b/msgraph_beta/generated/models/device_compliance_device_status.py index 4798f00077d..243cedd33a9 100644 --- a/msgraph_beta/generated/models/device_compliance_device_status.py +++ b/msgraph_beta/generated/models/device_compliance_device_status.py @@ -76,6 +76,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .compliance_status import ComplianceStatus + from .entity import Entity + writer.write_datetime_value("complianceGracePeriodExpirationDateTime", self.compliance_grace_period_expiration_date_time) writer.write_str_value("deviceDisplayName", self.device_display_name) writer.write_str_value("deviceModel", self.device_model) diff --git a/msgraph_beta/generated/models/device_compliance_device_status_collection_response.py b/msgraph_beta/generated/models/device_compliance_device_status_collection_response.py index a194f4359fc..83eb18fa085 100644 --- a/msgraph_beta/generated/models/device_compliance_device_status_collection_response.py +++ b/msgraph_beta/generated/models/device_compliance_device_status_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .device_compliance_device_status import DeviceComplianceDeviceStatus + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/device_compliance_policy.py b/msgraph_beta/generated/models/device_compliance_policy.py index f15ee246d70..2709c2e343e 100644 --- a/msgraph_beta/generated/models/device_compliance_policy.py +++ b/msgraph_beta/generated/models/device_compliance_policy.py @@ -72,7 +72,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> DeviceCompliancePo if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.androidCompliancePolicy".casefold(): @@ -200,6 +201,27 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .android_compliance_policy import AndroidCompliancePolicy + from .android_device_owner_compliance_policy import AndroidDeviceOwnerCompliancePolicy + from .android_for_work_compliance_policy import AndroidForWorkCompliancePolicy + from .android_work_profile_compliance_policy import AndroidWorkProfileCompliancePolicy + from .aosp_device_owner_compliance_policy import AospDeviceOwnerCompliancePolicy + from .default_device_compliance_policy import DefaultDeviceCompliancePolicy + from .device_compliance_device_overview import DeviceComplianceDeviceOverview + from .device_compliance_device_status import DeviceComplianceDeviceStatus + from .device_compliance_policy_assignment import DeviceCompliancePolicyAssignment + from .device_compliance_scheduled_action_for_rule import DeviceComplianceScheduledActionForRule + from .device_compliance_user_overview import DeviceComplianceUserOverview + from .device_compliance_user_status import DeviceComplianceUserStatus + from .entity import Entity + from .ios_compliance_policy import IosCompliancePolicy + from .mac_o_s_compliance_policy import MacOSCompliancePolicy + from .setting_state_device_summary import SettingStateDeviceSummary + from .windows10_compliance_policy import Windows10CompliancePolicy + from .windows10_mobile_compliance_policy import Windows10MobileCompliancePolicy + from .windows81_compliance_policy import Windows81CompliancePolicy + from .windows_phone81_compliance_policy import WindowsPhone81CompliancePolicy + writer.write_collection_of_object_values("assignments", self.assignments) writer.write_datetime_value("createdDateTime", self.created_date_time) writer.write_str_value("description", self.description) diff --git a/msgraph_beta/generated/models/device_compliance_policy_assignment.py b/msgraph_beta/generated/models/device_compliance_policy_assignment.py index 390ab7729df..e7b3804c95d 100644 --- a/msgraph_beta/generated/models/device_compliance_policy_assignment.py +++ b/msgraph_beta/generated/models/device_compliance_policy_assignment.py @@ -66,6 +66,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_and_app_management_assignment_source import DeviceAndAppManagementAssignmentSource + from .device_and_app_management_assignment_target import DeviceAndAppManagementAssignmentTarget + from .entity import Entity + writer.write_enum_value("source", self.source) writer.write_str_value("sourceId", self.source_id) writer.write_object_value("target", self.target) diff --git a/msgraph_beta/generated/models/device_compliance_policy_assignment_collection_response.py b/msgraph_beta/generated/models/device_compliance_policy_assignment_collection_response.py index 48047ff2a17..30759e7f04f 100644 --- a/msgraph_beta/generated/models/device_compliance_policy_assignment_collection_response.py +++ b/msgraph_beta/generated/models/device_compliance_policy_assignment_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .device_compliance_policy_assignment import DeviceCompliancePolicyAssignment + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/device_compliance_policy_collection_response.py b/msgraph_beta/generated/models/device_compliance_policy_collection_response.py index af15e2d2f6d..237df1ba7a2 100644 --- a/msgraph_beta/generated/models/device_compliance_policy_collection_response.py +++ b/msgraph_beta/generated/models/device_compliance_policy_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .device_compliance_policy import DeviceCompliancePolicy + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/device_compliance_policy_device_state_summary.py b/msgraph_beta/generated/models/device_compliance_policy_device_state_summary.py index ac32804fcea..4a0848aa351 100644 --- a/msgraph_beta/generated/models/device_compliance_policy_device_state_summary.py +++ b/msgraph_beta/generated/models/device_compliance_policy_device_state_summary.py @@ -75,6 +75,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_int_value("compliantDeviceCount", self.compliant_device_count) writer.write_int_value("configManagerCount", self.config_manager_count) writer.write_int_value("conflictDeviceCount", self.conflict_device_count) diff --git a/msgraph_beta/generated/models/device_compliance_policy_group_assignment.py b/msgraph_beta/generated/models/device_compliance_policy_group_assignment.py index d98f7c50054..fbc5302a5ad 100644 --- a/msgraph_beta/generated/models/device_compliance_policy_group_assignment.py +++ b/msgraph_beta/generated/models/device_compliance_policy_group_assignment.py @@ -63,6 +63,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_compliance_policy import DeviceCompliancePolicy + from .entity import Entity + writer.write_object_value("deviceCompliancePolicy", self.device_compliance_policy) writer.write_bool_value("excludeGroup", self.exclude_group) writer.write_str_value("targetGroupId", self.target_group_id) diff --git a/msgraph_beta/generated/models/device_compliance_policy_policy_set_item.py b/msgraph_beta/generated/models/device_compliance_policy_policy_set_item.py index a98db4dd233..f53cca39d6a 100644 --- a/msgraph_beta/generated/models/device_compliance_policy_policy_set_item.py +++ b/msgraph_beta/generated/models/device_compliance_policy_policy_set_item.py @@ -51,5 +51,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .policy_set_item import PolicySetItem + diff --git a/msgraph_beta/generated/models/device_compliance_policy_setting_state.py b/msgraph_beta/generated/models/device_compliance_policy_setting_state.py index 5b459d0cf3a..a14f8c52334 100644 --- a/msgraph_beta/generated/models/device_compliance_policy_setting_state.py +++ b/msgraph_beta/generated/models/device_compliance_policy_setting_state.py @@ -95,6 +95,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .compliance_status import ComplianceStatus + from .setting_source import SettingSource + writer.write_str_value("currentValue", self.current_value) writer.write_int_value("errorCode", self.error_code) writer.write_str_value("errorDescription", self.error_description) diff --git a/msgraph_beta/generated/models/device_compliance_policy_setting_state_summary.py b/msgraph_beta/generated/models/device_compliance_policy_setting_state_summary.py index 4737d7bd3b7..73151020577 100644 --- a/msgraph_beta/generated/models/device_compliance_policy_setting_state_summary.py +++ b/msgraph_beta/generated/models/device_compliance_policy_setting_state_summary.py @@ -90,6 +90,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_compliance_setting_state import DeviceComplianceSettingState + from .entity import Entity + from .policy_platform_type import PolicyPlatformType + writer.write_int_value("compliantDeviceCount", self.compliant_device_count) writer.write_int_value("conflictDeviceCount", self.conflict_device_count) writer.write_collection_of_object_values("deviceComplianceSettingStates", self.device_compliance_setting_states) diff --git a/msgraph_beta/generated/models/device_compliance_policy_setting_state_summary_collection_response.py b/msgraph_beta/generated/models/device_compliance_policy_setting_state_summary_collection_response.py index db5e6a7f651..ecab433730d 100644 --- a/msgraph_beta/generated/models/device_compliance_policy_setting_state_summary_collection_response.py +++ b/msgraph_beta/generated/models/device_compliance_policy_setting_state_summary_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .device_compliance_policy_setting_state_summary import DeviceCompliancePolicySettingStateSummary + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/device_compliance_policy_state.py b/msgraph_beta/generated/models/device_compliance_policy_state.py index 788c5cafc73..789c8c09fb3 100644 --- a/msgraph_beta/generated/models/device_compliance_policy_state.py +++ b/msgraph_beta/generated/models/device_compliance_policy_state.py @@ -84,6 +84,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .compliance_status import ComplianceStatus + from .device_compliance_policy_setting_state import DeviceCompliancePolicySettingState + from .entity import Entity + from .policy_platform_type import PolicyPlatformType + writer.write_str_value("displayName", self.display_name) writer.write_enum_value("platformType", self.platform_type) writer.write_int_value("settingCount", self.setting_count) diff --git a/msgraph_beta/generated/models/device_compliance_policy_state_collection_response.py b/msgraph_beta/generated/models/device_compliance_policy_state_collection_response.py index 94a1dc6376b..4ca3d85fbe0 100644 --- a/msgraph_beta/generated/models/device_compliance_policy_state_collection_response.py +++ b/msgraph_beta/generated/models/device_compliance_policy_state_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .device_compliance_policy_state import DeviceCompliancePolicyState + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/device_compliance_scheduled_action_for_rule.py b/msgraph_beta/generated/models/device_compliance_scheduled_action_for_rule.py index 82684c8baba..f33a99f252e 100644 --- a/msgraph_beta/generated/models/device_compliance_scheduled_action_for_rule.py +++ b/msgraph_beta/generated/models/device_compliance_scheduled_action_for_rule.py @@ -60,6 +60,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_compliance_action_item import DeviceComplianceActionItem + from .entity import Entity + writer.write_str_value("ruleName", self.rule_name) writer.write_collection_of_object_values("scheduledActionConfigurations", self.scheduled_action_configurations) diff --git a/msgraph_beta/generated/models/device_compliance_scheduled_action_for_rule_collection_response.py b/msgraph_beta/generated/models/device_compliance_scheduled_action_for_rule_collection_response.py index 87366858e0f..f8642455e5a 100644 --- a/msgraph_beta/generated/models/device_compliance_scheduled_action_for_rule_collection_response.py +++ b/msgraph_beta/generated/models/device_compliance_scheduled_action_for_rule_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .device_compliance_scheduled_action_for_rule import DeviceComplianceScheduledActionForRule + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/device_compliance_script.py b/msgraph_beta/generated/models/device_compliance_script.py index b9a628e8191..ad71595bd72 100644 --- a/msgraph_beta/generated/models/device_compliance_script.py +++ b/msgraph_beta/generated/models/device_compliance_script.py @@ -106,6 +106,12 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_compliance_script_device_state import DeviceComplianceScriptDeviceState + from .device_compliance_script_run_summary import DeviceComplianceScriptRunSummary + from .device_health_script_assignment import DeviceHealthScriptAssignment + from .entity import Entity + from .run_as_account_type import RunAsAccountType + writer.write_collection_of_object_values("assignments", self.assignments) writer.write_str_value("description", self.description) writer.write_bytes_value("detectionScriptContent", self.detection_script_content) diff --git a/msgraph_beta/generated/models/device_compliance_script_collection_response.py b/msgraph_beta/generated/models/device_compliance_script_collection_response.py index 63b92a77b36..f528f9f2d08 100644 --- a/msgraph_beta/generated/models/device_compliance_script_collection_response.py +++ b/msgraph_beta/generated/models/device_compliance_script_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .device_compliance_script import DeviceComplianceScript + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/device_compliance_script_device_state.py b/msgraph_beta/generated/models/device_compliance_script_device_state.py index ccb27f2876a..dc05e14e722 100644 --- a/msgraph_beta/generated/models/device_compliance_script_device_state.py +++ b/msgraph_beta/generated/models/device_compliance_script_device_state.py @@ -79,6 +79,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .managed_device import ManagedDevice + from .run_state import RunState + writer.write_enum_value("detectionState", self.detection_state) writer.write_datetime_value("expectedStateUpdateDateTime", self.expected_state_update_date_time) writer.write_datetime_value("lastStateUpdateDateTime", self.last_state_update_date_time) diff --git a/msgraph_beta/generated/models/device_compliance_script_device_state_collection_response.py b/msgraph_beta/generated/models/device_compliance_script_device_state_collection_response.py index df6d9879159..e79e43f8733 100644 --- a/msgraph_beta/generated/models/device_compliance_script_device_state_collection_response.py +++ b/msgraph_beta/generated/models/device_compliance_script_device_state_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .device_compliance_script_device_state import DeviceComplianceScriptDeviceState + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/device_compliance_script_error.py b/msgraph_beta/generated/models/device_compliance_script_error.py index 800a214f324..be33f31d30d 100644 --- a/msgraph_beta/generated/models/device_compliance_script_error.py +++ b/msgraph_beta/generated/models/device_compliance_script_error.py @@ -35,7 +35,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> DeviceComplianceSc if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.deviceComplianceScriptRuleError".casefold(): @@ -73,6 +74,10 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .code import Code + from .device_compliance_script_rules_validation_error import DeviceComplianceScriptRulesValidationError + from .device_compliance_script_rule_error import DeviceComplianceScriptRuleError + writer.write_enum_value("code", self.code) writer.write_enum_value("deviceComplianceScriptRulesValidationError", self.device_compliance_script_rules_validation_error) writer.write_str_value("message", self.message) diff --git a/msgraph_beta/generated/models/device_compliance_script_rule.py b/msgraph_beta/generated/models/device_compliance_script_rule.py index a53086b3e28..f70d217e180 100644 --- a/msgraph_beta/generated/models/device_compliance_script_rule.py +++ b/msgraph_beta/generated/models/device_compliance_script_rule.py @@ -77,6 +77,11 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .data_type import DataType + from .device_compliance_script_rule_data_type import DeviceComplianceScriptRuleDataType + from .device_compliance_script_rul_operator import DeviceComplianceScriptRulOperator + from .operator import Operator + writer.write_enum_value("dataType", self.data_type) writer.write_enum_value("deviceComplianceScriptRulOperator", self.device_compliance_script_rul_operator) writer.write_enum_value("deviceComplianceScriptRuleDataType", self.device_compliance_script_rule_data_type) diff --git a/msgraph_beta/generated/models/device_compliance_script_rule_error.py b/msgraph_beta/generated/models/device_compliance_script_rule_error.py index 300c767a9bb..6d2d289f1de 100644 --- a/msgraph_beta/generated/models/device_compliance_script_rule_error.py +++ b/msgraph_beta/generated/models/device_compliance_script_rule_error.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_compliance_script_error import DeviceComplianceScriptError + writer.write_str_value("settingName", self.setting_name) diff --git a/msgraph_beta/generated/models/device_compliance_script_run_summary.py b/msgraph_beta/generated/models/device_compliance_script_run_summary.py index 542a819085a..edad4a25942 100644 --- a/msgraph_beta/generated/models/device_compliance_script_run_summary.py +++ b/msgraph_beta/generated/models/device_compliance_script_run_summary.py @@ -67,6 +67,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_int_value("detectionScriptErrorDeviceCount", self.detection_script_error_device_count) writer.write_int_value("detectionScriptPendingDeviceCount", self.detection_script_pending_device_count) writer.write_int_value("issueDetectedDeviceCount", self.issue_detected_device_count) diff --git a/msgraph_beta/generated/models/device_compliance_script_validation_result.py b/msgraph_beta/generated/models/device_compliance_script_validation_result.py index ee591ad17a5..2ffd451a6fe 100644 --- a/msgraph_beta/generated/models/device_compliance_script_validation_result.py +++ b/msgraph_beta/generated/models/device_compliance_script_validation_result.py @@ -65,6 +65,10 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .device_compliance_script_error import DeviceComplianceScriptError + from .device_compliance_script_rule import DeviceComplianceScriptRule + from .device_compliance_script_rule_error import DeviceComplianceScriptRuleError + writer.write_str_value("@odata.type", self.odata_type) writer.write_collection_of_object_values("ruleErrors", self.rule_errors) writer.write_collection_of_object_values("rules", self.rules) diff --git a/msgraph_beta/generated/models/device_compliance_setting_state.py b/msgraph_beta/generated/models/device_compliance_setting_state.py index 2a97792f581..eea9a210b36 100644 --- a/msgraph_beta/generated/models/device_compliance_setting_state.py +++ b/msgraph_beta/generated/models/device_compliance_setting_state.py @@ -94,6 +94,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .compliance_status import ComplianceStatus + from .device_type import DeviceType + from .entity import Entity + writer.write_datetime_value("complianceGracePeriodExpirationDateTime", self.compliance_grace_period_expiration_date_time) writer.write_str_value("deviceId", self.device_id) writer.write_str_value("deviceModel", self.device_model) diff --git a/msgraph_beta/generated/models/device_compliance_setting_state_collection_response.py b/msgraph_beta/generated/models/device_compliance_setting_state_collection_response.py index 23476d0d950..72accd553f6 100644 --- a/msgraph_beta/generated/models/device_compliance_setting_state_collection_response.py +++ b/msgraph_beta/generated/models/device_compliance_setting_state_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .device_compliance_setting_state import DeviceComplianceSettingState + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/device_compliance_user_overview.py b/msgraph_beta/generated/models/device_compliance_user_overview.py index 6f14ea3161b..f57bc1028e2 100644 --- a/msgraph_beta/generated/models/device_compliance_user_overview.py +++ b/msgraph_beta/generated/models/device_compliance_user_overview.py @@ -73,6 +73,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_int_value("configurationVersion", self.configuration_version) writer.write_int_value("conflictCount", self.conflict_count) writer.write_int_value("errorCount", self.error_count) diff --git a/msgraph_beta/generated/models/device_compliance_user_status.py b/msgraph_beta/generated/models/device_compliance_user_status.py index e4ae425753b..1d7292da08a 100644 --- a/msgraph_beta/generated/models/device_compliance_user_status.py +++ b/msgraph_beta/generated/models/device_compliance_user_status.py @@ -67,6 +67,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .compliance_status import ComplianceStatus + from .entity import Entity + writer.write_int_value("devicesCount", self.devices_count) writer.write_datetime_value("lastReportedDateTime", self.last_reported_date_time) writer.write_enum_value("status", self.status) diff --git a/msgraph_beta/generated/models/device_compliance_user_status_collection_response.py b/msgraph_beta/generated/models/device_compliance_user_status_collection_response.py index 74e00cb618b..b847bb6c53d 100644 --- a/msgraph_beta/generated/models/device_compliance_user_status_collection_response.py +++ b/msgraph_beta/generated/models/device_compliance_user_status_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .device_compliance_user_status import DeviceComplianceUserStatus + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/device_configuration.py b/msgraph_beta/generated/models/device_configuration.py index d744f966b4d..e65c3523184 100644 --- a/msgraph_beta/generated/models/device_configuration.py +++ b/msgraph_beta/generated/models/device_configuration.py @@ -208,7 +208,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> DeviceConfiguratio if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.androidCertificateProfileBase".casefold(): @@ -1096,6 +1097,155 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .android_certificate_profile_base import AndroidCertificateProfileBase + from .android_custom_configuration import AndroidCustomConfiguration + from .android_device_owner_certificate_profile_base import AndroidDeviceOwnerCertificateProfileBase + from .android_device_owner_derived_credential_authentication_configuration import AndroidDeviceOwnerDerivedCredentialAuthenticationConfiguration + from .android_device_owner_enterprise_wi_fi_configuration import AndroidDeviceOwnerEnterpriseWiFiConfiguration + from .android_device_owner_general_device_configuration import AndroidDeviceOwnerGeneralDeviceConfiguration + from .android_device_owner_imported_p_f_x_certificate_profile import AndroidDeviceOwnerImportedPFXCertificateProfile + from .android_device_owner_pkcs_certificate_profile import AndroidDeviceOwnerPkcsCertificateProfile + from .android_device_owner_scep_certificate_profile import AndroidDeviceOwnerScepCertificateProfile + from .android_device_owner_trusted_root_certificate import AndroidDeviceOwnerTrustedRootCertificate + from .android_device_owner_vpn_configuration import AndroidDeviceOwnerVpnConfiguration + from .android_device_owner_wi_fi_configuration import AndroidDeviceOwnerWiFiConfiguration + from .android_eas_email_profile_configuration import AndroidEasEmailProfileConfiguration + from .android_enterprise_wi_fi_configuration import AndroidEnterpriseWiFiConfiguration + from .android_for_work_certificate_profile_base import AndroidForWorkCertificateProfileBase + from .android_for_work_custom_configuration import AndroidForWorkCustomConfiguration + from .android_for_work_eas_email_profile_base import AndroidForWorkEasEmailProfileBase + from .android_for_work_enterprise_wi_fi_configuration import AndroidForWorkEnterpriseWiFiConfiguration + from .android_for_work_general_device_configuration import AndroidForWorkGeneralDeviceConfiguration + from .android_for_work_gmail_eas_configuration import AndroidForWorkGmailEasConfiguration + from .android_for_work_imported_p_f_x_certificate_profile import AndroidForWorkImportedPFXCertificateProfile + from .android_for_work_nine_work_eas_configuration import AndroidForWorkNineWorkEasConfiguration + from .android_for_work_pkcs_certificate_profile import AndroidForWorkPkcsCertificateProfile + from .android_for_work_scep_certificate_profile import AndroidForWorkScepCertificateProfile + from .android_for_work_trusted_root_certificate import AndroidForWorkTrustedRootCertificate + from .android_for_work_vpn_configuration import AndroidForWorkVpnConfiguration + from .android_for_work_wi_fi_configuration import AndroidForWorkWiFiConfiguration + from .android_general_device_configuration import AndroidGeneralDeviceConfiguration + from .android_imported_p_f_x_certificate_profile import AndroidImportedPFXCertificateProfile + from .android_oma_cp_configuration import AndroidOmaCpConfiguration + from .android_pkcs_certificate_profile import AndroidPkcsCertificateProfile + from .android_scep_certificate_profile import AndroidScepCertificateProfile + from .android_trusted_root_certificate import AndroidTrustedRootCertificate + from .android_vpn_configuration import AndroidVpnConfiguration + from .android_wi_fi_configuration import AndroidWiFiConfiguration + from .android_work_profile_certificate_profile_base import AndroidWorkProfileCertificateProfileBase + from .android_work_profile_custom_configuration import AndroidWorkProfileCustomConfiguration + from .android_work_profile_eas_email_profile_base import AndroidWorkProfileEasEmailProfileBase + from .android_work_profile_enterprise_wi_fi_configuration import AndroidWorkProfileEnterpriseWiFiConfiguration + from .android_work_profile_general_device_configuration import AndroidWorkProfileGeneralDeviceConfiguration + from .android_work_profile_gmail_eas_configuration import AndroidWorkProfileGmailEasConfiguration + from .android_work_profile_nine_work_eas_configuration import AndroidWorkProfileNineWorkEasConfiguration + from .android_work_profile_pkcs_certificate_profile import AndroidWorkProfilePkcsCertificateProfile + from .android_work_profile_scep_certificate_profile import AndroidWorkProfileScepCertificateProfile + from .android_work_profile_trusted_root_certificate import AndroidWorkProfileTrustedRootCertificate + from .android_work_profile_vpn_configuration import AndroidWorkProfileVpnConfiguration + from .android_work_profile_wi_fi_configuration import AndroidWorkProfileWiFiConfiguration + from .aosp_device_owner_certificate_profile_base import AospDeviceOwnerCertificateProfileBase + from .aosp_device_owner_device_configuration import AospDeviceOwnerDeviceConfiguration + from .aosp_device_owner_enterprise_wi_fi_configuration import AospDeviceOwnerEnterpriseWiFiConfiguration + from .aosp_device_owner_pkcs_certificate_profile import AospDeviceOwnerPkcsCertificateProfile + from .aosp_device_owner_scep_certificate_profile import AospDeviceOwnerScepCertificateProfile + from .aosp_device_owner_trusted_root_certificate import AospDeviceOwnerTrustedRootCertificate + from .aosp_device_owner_wi_fi_configuration import AospDeviceOwnerWiFiConfiguration + from .apple_device_features_configuration_base import AppleDeviceFeaturesConfigurationBase + from .apple_expedited_checkin_configuration_base import AppleExpeditedCheckinConfigurationBase + from .apple_vpn_configuration import AppleVpnConfiguration + from .device_configuration_assignment import DeviceConfigurationAssignment + from .device_configuration_device_overview import DeviceConfigurationDeviceOverview + from .device_configuration_device_status import DeviceConfigurationDeviceStatus + from .device_configuration_group_assignment import DeviceConfigurationGroupAssignment + from .device_configuration_user_overview import DeviceConfigurationUserOverview + from .device_configuration_user_status import DeviceConfigurationUserStatus + from .device_management_applicability_rule_device_mode import DeviceManagementApplicabilityRuleDeviceMode + from .device_management_applicability_rule_os_edition import DeviceManagementApplicabilityRuleOsEdition + from .device_management_applicability_rule_os_version import DeviceManagementApplicabilityRuleOsVersion + from .eas_email_profile_configuration_base import EasEmailProfileConfigurationBase + from .edition_upgrade_configuration import EditionUpgradeConfiguration + from .entity import Entity + from .iosik_ev2_vpn_configuration import IosikEv2VpnConfiguration + from .ios_certificate_profile import IosCertificateProfile + from .ios_certificate_profile_base import IosCertificateProfileBase + from .ios_custom_configuration import IosCustomConfiguration + from .ios_derived_credential_authentication_configuration import IosDerivedCredentialAuthenticationConfiguration + from .ios_device_features_configuration import IosDeviceFeaturesConfiguration + from .ios_eas_email_profile_configuration import IosEasEmailProfileConfiguration + from .ios_education_device_configuration import IosEducationDeviceConfiguration + from .ios_edu_device_configuration import IosEduDeviceConfiguration + from .ios_enterprise_wi_fi_configuration import IosEnterpriseWiFiConfiguration + from .ios_expedited_checkin_configuration import IosExpeditedCheckinConfiguration + from .ios_general_device_configuration import IosGeneralDeviceConfiguration + from .ios_imported_p_f_x_certificate_profile import IosImportedPFXCertificateProfile + from .ios_pkcs_certificate_profile import IosPkcsCertificateProfile + from .ios_scep_certificate_profile import IosScepCertificateProfile + from .ios_trusted_root_certificate import IosTrustedRootCertificate + from .ios_update_configuration import IosUpdateConfiguration + from .ios_vpn_configuration import IosVpnConfiguration + from .ios_wi_fi_configuration import IosWiFiConfiguration + from .mac_o_s_certificate_profile_base import MacOSCertificateProfileBase + from .mac_o_s_custom_app_configuration import MacOSCustomAppConfiguration + from .mac_o_s_custom_configuration import MacOSCustomConfiguration + from .mac_o_s_device_features_configuration import MacOSDeviceFeaturesConfiguration + from .mac_o_s_endpoint_protection_configuration import MacOSEndpointProtectionConfiguration + from .mac_o_s_enterprise_wi_fi_configuration import MacOSEnterpriseWiFiConfiguration + from .mac_o_s_extensions_configuration import MacOSExtensionsConfiguration + from .mac_o_s_general_device_configuration import MacOSGeneralDeviceConfiguration + from .mac_o_s_imported_p_f_x_certificate_profile import MacOSImportedPFXCertificateProfile + from .mac_o_s_pkcs_certificate_profile import MacOSPkcsCertificateProfile + from .mac_o_s_scep_certificate_profile import MacOSScepCertificateProfile + from .mac_o_s_software_update_configuration import MacOSSoftwareUpdateConfiguration + from .mac_o_s_trusted_root_certificate import MacOSTrustedRootCertificate + from .mac_o_s_vpn_configuration import MacOSVpnConfiguration + from .mac_o_s_wired_network_configuration import MacOSWiredNetworkConfiguration + from .mac_o_s_wi_fi_configuration import MacOSWiFiConfiguration + from .setting_state_device_summary import SettingStateDeviceSummary + from .shared_p_c_configuration import SharedPCConfiguration + from .unsupported_device_configuration import UnsupportedDeviceConfiguration + from .vpn_configuration import VpnConfiguration + from .windows10_certificate_profile_base import Windows10CertificateProfileBase + from .windows10_custom_configuration import Windows10CustomConfiguration + from .windows10_device_firmware_configuration_interface import Windows10DeviceFirmwareConfigurationInterface + from .windows10_eas_email_profile_configuration import Windows10EasEmailProfileConfiguration + from .windows10_endpoint_protection_configuration import Windows10EndpointProtectionConfiguration + from .windows10_enterprise_modern_app_management_configuration import Windows10EnterpriseModernAppManagementConfiguration + from .windows10_general_configuration import Windows10GeneralConfiguration + from .windows10_imported_p_f_x_certificate_profile import Windows10ImportedPFXCertificateProfile + from .windows10_network_boundary_configuration import Windows10NetworkBoundaryConfiguration + from .windows10_pkcs_certificate_profile import Windows10PkcsCertificateProfile + from .windows10_p_f_x_import_certificate_profile import Windows10PFXImportCertificateProfile + from .windows10_secure_assessment_configuration import Windows10SecureAssessmentConfiguration + from .windows10_team_general_configuration import Windows10TeamGeneralConfiguration + from .windows10_vpn_configuration import Windows10VpnConfiguration + from .windows81_certificate_profile_base import Windows81CertificateProfileBase + from .windows81_general_configuration import Windows81GeneralConfiguration + from .windows81_s_c_e_p_certificate_profile import Windows81SCEPCertificateProfile + from .windows81_trusted_root_certificate import Windows81TrustedRootCertificate + from .windows81_vpn_configuration import Windows81VpnConfiguration + from .windows81_wifi_import_configuration import Windows81WifiImportConfiguration + from .windows_certificate_profile_base import WindowsCertificateProfileBase + from .windows_defender_advanced_threat_protection_configuration import WindowsDefenderAdvancedThreatProtectionConfiguration + from .windows_delivery_optimization_configuration import WindowsDeliveryOptimizationConfiguration + from .windows_domain_join_configuration import WindowsDomainJoinConfiguration + from .windows_health_monitoring_configuration import WindowsHealthMonitoringConfiguration + from .windows_identity_protection_configuration import WindowsIdentityProtectionConfiguration + from .windows_kiosk_configuration import WindowsKioskConfiguration + from .windows_phone81_certificate_profile_base import WindowsPhone81CertificateProfileBase + from .windows_phone81_custom_configuration import WindowsPhone81CustomConfiguration + from .windows_phone81_general_configuration import WindowsPhone81GeneralConfiguration + from .windows_phone81_imported_p_f_x_certificate_profile import WindowsPhone81ImportedPFXCertificateProfile + from .windows_phone81_s_c_e_p_certificate_profile import WindowsPhone81SCEPCertificateProfile + from .windows_phone81_trusted_root_certificate import WindowsPhone81TrustedRootCertificate + from .windows_phone81_vpn_configuration import WindowsPhone81VpnConfiguration + from .windows_phone_e_a_s_email_profile_configuration import WindowsPhoneEASEmailProfileConfiguration + from .windows_update_for_business_configuration import WindowsUpdateForBusinessConfiguration + from .windows_vpn_configuration import WindowsVpnConfiguration + from .windows_wifi_configuration import WindowsWifiConfiguration + from .windows_wifi_enterprise_e_a_p_configuration import WindowsWifiEnterpriseEAPConfiguration + from .windows_wired_network_configuration import WindowsWiredNetworkConfiguration + writer.write_collection_of_object_values("assignments", self.assignments) writer.write_datetime_value("createdDateTime", self.created_date_time) writer.write_str_value("description", self.description) diff --git a/msgraph_beta/generated/models/device_configuration_assignment.py b/msgraph_beta/generated/models/device_configuration_assignment.py index 4f9e52b974b..cbaeb4af0fe 100644 --- a/msgraph_beta/generated/models/device_configuration_assignment.py +++ b/msgraph_beta/generated/models/device_configuration_assignment.py @@ -72,6 +72,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_and_app_management_assignment_source import DeviceAndAppManagementAssignmentSource + from .device_and_app_management_assignment_target import DeviceAndAppManagementAssignmentTarget + from .device_config_assignment_intent import DeviceConfigAssignmentIntent + from .entity import Entity + writer.write_enum_value("intent", self.intent) writer.write_enum_value("source", self.source) writer.write_object_value("target", self.target) diff --git a/msgraph_beta/generated/models/device_configuration_assignment_collection_response.py b/msgraph_beta/generated/models/device_configuration_assignment_collection_response.py index 3baf4d32d20..88a62d909f6 100644 --- a/msgraph_beta/generated/models/device_configuration_assignment_collection_response.py +++ b/msgraph_beta/generated/models/device_configuration_assignment_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .device_configuration_assignment import DeviceConfigurationAssignment + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/device_configuration_collection_response.py b/msgraph_beta/generated/models/device_configuration_collection_response.py index fa25bde043a..17f1c4bae78 100644 --- a/msgraph_beta/generated/models/device_configuration_collection_response.py +++ b/msgraph_beta/generated/models/device_configuration_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .device_configuration import DeviceConfiguration + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/device_configuration_conflict_summary.py b/msgraph_beta/generated/models/device_configuration_conflict_summary.py index 63256c9d15d..8174e4ba5e5 100644 --- a/msgraph_beta/generated/models/device_configuration_conflict_summary.py +++ b/msgraph_beta/generated/models/device_configuration_conflict_summary.py @@ -63,6 +63,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .setting_source import SettingSource + writer.write_collection_of_object_values("conflictingDeviceConfigurations", self.conflicting_device_configurations) writer.write_collection_of_primitive_values("contributingSettings", self.contributing_settings) writer.write_int_value("deviceCheckinsImpacted", self.device_checkins_impacted) diff --git a/msgraph_beta/generated/models/device_configuration_conflict_summary_collection_response.py b/msgraph_beta/generated/models/device_configuration_conflict_summary_collection_response.py index 4ad7b29ba70..332b17d60e1 100644 --- a/msgraph_beta/generated/models/device_configuration_conflict_summary_collection_response.py +++ b/msgraph_beta/generated/models/device_configuration_conflict_summary_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .device_configuration_conflict_summary import DeviceConfigurationConflictSummary + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/device_configuration_device_overview.py b/msgraph_beta/generated/models/device_configuration_device_overview.py index e9f1094d039..79c321bfaea 100644 --- a/msgraph_beta/generated/models/device_configuration_device_overview.py +++ b/msgraph_beta/generated/models/device_configuration_device_overview.py @@ -76,6 +76,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_int_value("configurationVersion", self.configuration_version) writer.write_int_value("conflictCount", self.conflict_count) writer.write_int_value("errorCount", self.error_count) diff --git a/msgraph_beta/generated/models/device_configuration_device_state_summary.py b/msgraph_beta/generated/models/device_configuration_device_state_summary.py index 4376ed50cea..a1c8b66111e 100644 --- a/msgraph_beta/generated/models/device_configuration_device_state_summary.py +++ b/msgraph_beta/generated/models/device_configuration_device_state_summary.py @@ -69,6 +69,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_int_value("compliantDeviceCount", self.compliant_device_count) writer.write_int_value("conflictDeviceCount", self.conflict_device_count) writer.write_int_value("errorDeviceCount", self.error_device_count) diff --git a/msgraph_beta/generated/models/device_configuration_device_status.py b/msgraph_beta/generated/models/device_configuration_device_status.py index 767b3a6b1e4..fc3c37a95b3 100644 --- a/msgraph_beta/generated/models/device_configuration_device_status.py +++ b/msgraph_beta/generated/models/device_configuration_device_status.py @@ -79,6 +79,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .compliance_status import ComplianceStatus + from .entity import Entity + writer.write_datetime_value("complianceGracePeriodExpirationDateTime", self.compliance_grace_period_expiration_date_time) writer.write_str_value("deviceDisplayName", self.device_display_name) writer.write_str_value("deviceModel", self.device_model) diff --git a/msgraph_beta/generated/models/device_configuration_device_status_collection_response.py b/msgraph_beta/generated/models/device_configuration_device_status_collection_response.py index 9ee6c36b764..66b611ce866 100644 --- a/msgraph_beta/generated/models/device_configuration_device_status_collection_response.py +++ b/msgraph_beta/generated/models/device_configuration_device_status_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .device_configuration_device_status import DeviceConfigurationDeviceStatus + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/device_configuration_group_assignment.py b/msgraph_beta/generated/models/device_configuration_group_assignment.py index 6499af31508..6f2a0fb1084 100644 --- a/msgraph_beta/generated/models/device_configuration_group_assignment.py +++ b/msgraph_beta/generated/models/device_configuration_group_assignment.py @@ -63,6 +63,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_configuration import DeviceConfiguration + from .entity import Entity + writer.write_object_value("deviceConfiguration", self.device_configuration) writer.write_bool_value("excludeGroup", self.exclude_group) writer.write_str_value("targetGroupId", self.target_group_id) diff --git a/msgraph_beta/generated/models/device_configuration_group_assignment_collection_response.py b/msgraph_beta/generated/models/device_configuration_group_assignment_collection_response.py index 8e610091fd2..187258de454 100644 --- a/msgraph_beta/generated/models/device_configuration_group_assignment_collection_response.py +++ b/msgraph_beta/generated/models/device_configuration_group_assignment_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .device_configuration_group_assignment import DeviceConfigurationGroupAssignment + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/device_configuration_policy_set_item.py b/msgraph_beta/generated/models/device_configuration_policy_set_item.py index 90c07201405..f46f897f355 100644 --- a/msgraph_beta/generated/models/device_configuration_policy_set_item.py +++ b/msgraph_beta/generated/models/device_configuration_policy_set_item.py @@ -51,5 +51,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .policy_set_item import PolicySetItem + diff --git a/msgraph_beta/generated/models/device_configuration_setting_state.py b/msgraph_beta/generated/models/device_configuration_setting_state.py index fb96cd0e3ba..16012079408 100644 --- a/msgraph_beta/generated/models/device_configuration_setting_state.py +++ b/msgraph_beta/generated/models/device_configuration_setting_state.py @@ -95,6 +95,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .compliance_status import ComplianceStatus + from .setting_source import SettingSource + writer.write_str_value("currentValue", self.current_value) writer.write_int_value("errorCode", self.error_code) writer.write_str_value("errorDescription", self.error_description) diff --git a/msgraph_beta/generated/models/device_configuration_state.py b/msgraph_beta/generated/models/device_configuration_state.py index 29dcddcecfd..7744af5abde 100644 --- a/msgraph_beta/generated/models/device_configuration_state.py +++ b/msgraph_beta/generated/models/device_configuration_state.py @@ -84,6 +84,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .compliance_status import ComplianceStatus + from .device_configuration_setting_state import DeviceConfigurationSettingState + from .entity import Entity + from .policy_platform_type import PolicyPlatformType + writer.write_str_value("displayName", self.display_name) writer.write_enum_value("platformType", self.platform_type) writer.write_int_value("settingCount", self.setting_count) diff --git a/msgraph_beta/generated/models/device_configuration_state_collection_response.py b/msgraph_beta/generated/models/device_configuration_state_collection_response.py index 0c1979c80b4..83245a79a41 100644 --- a/msgraph_beta/generated/models/device_configuration_state_collection_response.py +++ b/msgraph_beta/generated/models/device_configuration_state_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .device_configuration_state import DeviceConfigurationState + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/device_configuration_user_overview.py b/msgraph_beta/generated/models/device_configuration_user_overview.py index e8084b0ed13..c42dcce9a2a 100644 --- a/msgraph_beta/generated/models/device_configuration_user_overview.py +++ b/msgraph_beta/generated/models/device_configuration_user_overview.py @@ -73,6 +73,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_int_value("configurationVersion", self.configuration_version) writer.write_int_value("conflictCount", self.conflict_count) writer.write_int_value("errorCount", self.error_count) diff --git a/msgraph_beta/generated/models/device_configuration_user_state_summary.py b/msgraph_beta/generated/models/device_configuration_user_state_summary.py index 77bb5cad9bf..b39947f0d55 100644 --- a/msgraph_beta/generated/models/device_configuration_user_state_summary.py +++ b/msgraph_beta/generated/models/device_configuration_user_state_summary.py @@ -69,6 +69,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_int_value("compliantUserCount", self.compliant_user_count) writer.write_int_value("conflictUserCount", self.conflict_user_count) writer.write_int_value("errorUserCount", self.error_user_count) diff --git a/msgraph_beta/generated/models/device_configuration_user_status.py b/msgraph_beta/generated/models/device_configuration_user_status.py index 576004a5237..097e76139cd 100644 --- a/msgraph_beta/generated/models/device_configuration_user_status.py +++ b/msgraph_beta/generated/models/device_configuration_user_status.py @@ -67,6 +67,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .compliance_status import ComplianceStatus + from .entity import Entity + writer.write_int_value("devicesCount", self.devices_count) writer.write_datetime_value("lastReportedDateTime", self.last_reported_date_time) writer.write_enum_value("status", self.status) diff --git a/msgraph_beta/generated/models/device_configuration_user_status_collection_response.py b/msgraph_beta/generated/models/device_configuration_user_status_collection_response.py index 4e2611bdd97..00a94dc6bf9 100644 --- a/msgraph_beta/generated/models/device_configuration_user_status_collection_response.py +++ b/msgraph_beta/generated/models/device_configuration_user_status_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .device_configuration_user_status import DeviceConfigurationUserStatus + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/device_custom_attribute_shell_script.py b/msgraph_beta/generated/models/device_custom_attribute_shell_script.py index a1d2f0781ba..9775c1b4106 100644 --- a/msgraph_beta/generated/models/device_custom_attribute_shell_script.py +++ b/msgraph_beta/generated/models/device_custom_attribute_shell_script.py @@ -118,6 +118,15 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_custom_attribute_value_type import DeviceCustomAttributeValueType + from .device_management_script_assignment import DeviceManagementScriptAssignment + from .device_management_script_device_state import DeviceManagementScriptDeviceState + from .device_management_script_group_assignment import DeviceManagementScriptGroupAssignment + from .device_management_script_run_summary import DeviceManagementScriptRunSummary + from .device_management_script_user_state import DeviceManagementScriptUserState + from .entity import Entity + from .run_as_account_type import RunAsAccountType + writer.write_collection_of_object_values("assignments", self.assignments) writer.write_str_value("customAttributeName", self.custom_attribute_name) writer.write_enum_value("customAttributeType", self.custom_attribute_type) diff --git a/msgraph_beta/generated/models/device_custom_attribute_shell_script_collection_response.py b/msgraph_beta/generated/models/device_custom_attribute_shell_script_collection_response.py index 7e8e64ff887..4bb4451c5e8 100644 --- a/msgraph_beta/generated/models/device_custom_attribute_shell_script_collection_response.py +++ b/msgraph_beta/generated/models/device_custom_attribute_shell_script_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .device_custom_attribute_shell_script import DeviceCustomAttributeShellScript + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/device_enrollment_configuration.py b/msgraph_beta/generated/models/device_enrollment_configuration.py index 61785f49913..22b93186f50 100644 --- a/msgraph_beta/generated/models/device_enrollment_configuration.py +++ b/msgraph_beta/generated/models/device_enrollment_configuration.py @@ -54,7 +54,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> DeviceEnrollmentCo if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.deviceComanagementAuthorityConfiguration".casefold(): @@ -138,6 +139,17 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_comanagement_authority_configuration import DeviceComanagementAuthorityConfiguration + from .device_enrollment_configuration_type import DeviceEnrollmentConfigurationType + from .device_enrollment_limit_configuration import DeviceEnrollmentLimitConfiguration + from .device_enrollment_notification_configuration import DeviceEnrollmentNotificationConfiguration + from .device_enrollment_platform_restrictions_configuration import DeviceEnrollmentPlatformRestrictionsConfiguration + from .device_enrollment_platform_restriction_configuration import DeviceEnrollmentPlatformRestrictionConfiguration + from .device_enrollment_windows_hello_for_business_configuration import DeviceEnrollmentWindowsHelloForBusinessConfiguration + from .enrollment_configuration_assignment import EnrollmentConfigurationAssignment + from .entity import Entity + from .windows10_enrollment_completion_page_configuration import Windows10EnrollmentCompletionPageConfiguration + writer.write_collection_of_object_values("assignments", self.assignments) writer.write_datetime_value("createdDateTime", self.created_date_time) writer.write_str_value("description", self.description) diff --git a/msgraph_beta/generated/models/device_enrollment_configuration_collection_response.py b/msgraph_beta/generated/models/device_enrollment_configuration_collection_response.py index 39280c05b65..991cc041598 100644 --- a/msgraph_beta/generated/models/device_enrollment_configuration_collection_response.py +++ b/msgraph_beta/generated/models/device_enrollment_configuration_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .device_enrollment_configuration import DeviceEnrollmentConfiguration + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/device_enrollment_limit_configuration.py b/msgraph_beta/generated/models/device_enrollment_limit_configuration.py index 0272cd5dc12..4c9d2b057d4 100644 --- a/msgraph_beta/generated/models/device_enrollment_limit_configuration.py +++ b/msgraph_beta/generated/models/device_enrollment_limit_configuration.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_enrollment_configuration import DeviceEnrollmentConfiguration + writer.write_int_value("limit", self.limit) diff --git a/msgraph_beta/generated/models/device_enrollment_notification_configuration.py b/msgraph_beta/generated/models/device_enrollment_notification_configuration.py index bceec6dfa96..381f63a3e0a 100644 --- a/msgraph_beta/generated/models/device_enrollment_notification_configuration.py +++ b/msgraph_beta/generated/models/device_enrollment_notification_configuration.py @@ -79,6 +79,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_enrollment_configuration import DeviceEnrollmentConfiguration + from .enrollment_notification_branding_options import EnrollmentNotificationBrandingOptions + from .enrollment_notification_template_type import EnrollmentNotificationTemplateType + from .enrollment_restriction_platform_type import EnrollmentRestrictionPlatformType + writer.write_enum_value("brandingOptions", self.branding_options) writer.write_str_value("defaultLocale", self.default_locale) writer.write_uuid_value("notificationMessageTemplateId", self.notification_message_template_id) diff --git a/msgraph_beta/generated/models/device_enrollment_platform_restriction_configuration.py b/msgraph_beta/generated/models/device_enrollment_platform_restriction_configuration.py index 7ad7fd884f7..e6d760d0fb7 100644 --- a/msgraph_beta/generated/models/device_enrollment_platform_restriction_configuration.py +++ b/msgraph_beta/generated/models/device_enrollment_platform_restriction_configuration.py @@ -63,6 +63,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_enrollment_configuration import DeviceEnrollmentConfiguration + from .device_enrollment_platform_restriction import DeviceEnrollmentPlatformRestriction + from .enrollment_restriction_platform_type import EnrollmentRestrictionPlatformType + writer.write_object_value("platformRestriction", self.platform_restriction) writer.write_enum_value("platformType", self.platform_type) diff --git a/msgraph_beta/generated/models/device_enrollment_platform_restrictions_configuration.py b/msgraph_beta/generated/models/device_enrollment_platform_restrictions_configuration.py index 4ecf4cb537f..05f200e0f58 100644 --- a/msgraph_beta/generated/models/device_enrollment_platform_restrictions_configuration.py +++ b/msgraph_beta/generated/models/device_enrollment_platform_restrictions_configuration.py @@ -78,6 +78,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_enrollment_configuration import DeviceEnrollmentConfiguration + from .device_enrollment_platform_restriction import DeviceEnrollmentPlatformRestriction + writer.write_object_value("androidForWorkRestriction", self.android_for_work_restriction) writer.write_object_value("androidRestriction", self.android_restriction) writer.write_object_value("iosRestriction", self.ios_restriction) diff --git a/msgraph_beta/generated/models/device_enrollment_type.py b/msgraph_beta/generated/models/device_enrollment_type.py index a1f523c900d..fe92ca18ce2 100644 --- a/msgraph_beta/generated/models/device_enrollment_type.py +++ b/msgraph_beta/generated/models/device_enrollment_type.py @@ -11,23 +11,23 @@ class DeviceEnrollmentType(str, Enum): AppleBulkWithUser = "appleBulkWithUser", # Apple bulk enrollment without user challenge. (DEP, Apple Configurator, Mobile Config) AppleBulkWithoutUser = "appleBulkWithoutUser", - # Windows 10 Azure AD Join. + # Windows 10 Entra ID (Azure AD) Join. WindowsAzureADJoin = "windowsAzureADJoin", # Windows 10 Bulk enrollment through ICD with certificate. WindowsBulkUserless = "windowsBulkUserless", # Windows 10 automatic enrollment. (Add work account) WindowsAutoEnrollment = "windowsAutoEnrollment", - # Windows 10 bulk Azure AD Join. + # Windows 10 bulk Entra ID (Azure AD) Join. WindowsBulkAzureDomainJoin = "windowsBulkAzureDomainJoin", # Windows 10 Co-Management triggered by AutoPilot or Group Policy. WindowsCoManagement = "windowsCoManagement", - # Windows 10 Azure AD Join using Device Auth. + # Windows 10 Entra ID (Azure AD) Join using Device Auth. WindowsAzureADJoinUsingDeviceAuth = "windowsAzureADJoinUsingDeviceAuth", # Indicates the device is enrolled via Apple User Enrollment with Company Portal. It results in an enrollment with a new partition for managed apps and data and which supports a limited set of management capabilities AppleUserEnrollment = "appleUserEnrollment", # Indicates the device is enrolled via Apple User Enrollment with Company Portal using a device enrollment manager user. It results in an enrollment with a new partition for managed apps and data and which supports a limited set of management capabilities AppleUserEnrollmentWithServiceAccount = "appleUserEnrollmentWithServiceAccount", - # Azure AD Join enrollment when an Azure VM is provisioned + # Entra ID (Azure AD) Join enrollment when an Azure VM is provisioned AzureAdJoinUsingAzureVmExtension = "azureAdJoinUsingAzureVmExtension", # Android Enterprise Dedicated Device AndroidEnterpriseDedicatedDevice = "androidEnterpriseDedicatedDevice", diff --git a/msgraph_beta/generated/models/device_enrollment_windows_hello_for_business_configuration.py b/msgraph_beta/generated/models/device_enrollment_windows_hello_for_business_configuration.py index a952e93f3ea..52b77cf3088 100644 --- a/msgraph_beta/generated/models/device_enrollment_windows_hello_for_business_configuration.py +++ b/msgraph_beta/generated/models/device_enrollment_windows_hello_for_business_configuration.py @@ -99,6 +99,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_enrollment_configuration import DeviceEnrollmentConfiguration + from .enablement import Enablement + from .windows_hello_for_business_pin_usage import WindowsHelloForBusinessPinUsage + writer.write_enum_value("enhancedBiometricsState", self.enhanced_biometrics_state) writer.write_int_value("enhancedSignInSecurity", self.enhanced_sign_in_security) writer.write_int_value("pinExpirationInDays", self.pin_expiration_in_days) diff --git a/msgraph_beta/generated/models/device_health_attestation_state.py b/msgraph_beta/generated/models/device_health_attestation_state.py index de17e0b9c8a..4853c8d012e 100644 --- a/msgraph_beta/generated/models/device_health_attestation_state.py +++ b/msgraph_beta/generated/models/device_health_attestation_state.py @@ -171,6 +171,10 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .azure_attestation_setting_status import AzureAttestationSettingStatus + from .firmware_protection_type import FirmwareProtectionType + from .system_management_mode_level import SystemManagementModeLevel + writer.write_str_value("attestationIdentityKey", self.attestation_identity_key) writer.write_str_value("bitLockerStatus", self.bit_locker_status) writer.write_str_value("bootAppSecurityVersion", self.boot_app_security_version) diff --git a/msgraph_beta/generated/models/device_health_script.py b/msgraph_beta/generated/models/device_health_script.py index 192c56ced2b..ad43767c7da 100644 --- a/msgraph_beta/generated/models/device_health_script.py +++ b/msgraph_beta/generated/models/device_health_script.py @@ -130,6 +130,14 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_health_script_assignment import DeviceHealthScriptAssignment + from .device_health_script_device_state import DeviceHealthScriptDeviceState + from .device_health_script_parameter import DeviceHealthScriptParameter + from .device_health_script_run_summary import DeviceHealthScriptRunSummary + from .device_health_script_type import DeviceHealthScriptType + from .entity import Entity + from .run_as_account_type import RunAsAccountType + writer.write_collection_of_object_values("assignments", self.assignments) writer.write_str_value("description", self.description) writer.write_bytes_value("detectionScriptContent", self.detection_script_content) diff --git a/msgraph_beta/generated/models/device_health_script_assignment.py b/msgraph_beta/generated/models/device_health_script_assignment.py index b27871f6aa7..0cbc771a78b 100644 --- a/msgraph_beta/generated/models/device_health_script_assignment.py +++ b/msgraph_beta/generated/models/device_health_script_assignment.py @@ -66,6 +66,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_and_app_management_assignment_target import DeviceAndAppManagementAssignmentTarget + from .device_health_script_run_schedule import DeviceHealthScriptRunSchedule + from .entity import Entity + writer.write_bool_value("runRemediationScript", self.run_remediation_script) writer.write_object_value("runSchedule", self.run_schedule) writer.write_object_value("target", self.target) diff --git a/msgraph_beta/generated/models/device_health_script_assignment_collection_response.py b/msgraph_beta/generated/models/device_health_script_assignment_collection_response.py index e0a3790fe90..45b3fcb758f 100644 --- a/msgraph_beta/generated/models/device_health_script_assignment_collection_response.py +++ b/msgraph_beta/generated/models/device_health_script_assignment_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .device_health_script_assignment import DeviceHealthScriptAssignment + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/device_health_script_boolean_parameter.py b/msgraph_beta/generated/models/device_health_script_boolean_parameter.py index 6c60c0dcf09..3dd0e6302e7 100644 --- a/msgraph_beta/generated/models/device_health_script_boolean_parameter.py +++ b/msgraph_beta/generated/models/device_health_script_boolean_parameter.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_health_script_parameter import DeviceHealthScriptParameter + writer.write_bool_value("defaultValue", self.default_value) diff --git a/msgraph_beta/generated/models/device_health_script_collection_response.py b/msgraph_beta/generated/models/device_health_script_collection_response.py index 8c0f8f67d45..05ce2668d02 100644 --- a/msgraph_beta/generated/models/device_health_script_collection_response.py +++ b/msgraph_beta/generated/models/device_health_script_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .device_health_script import DeviceHealthScript + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/device_health_script_daily_schedule.py b/msgraph_beta/generated/models/device_health_script_daily_schedule.py index 280ad6687ef..4fb1f4af222 100644 --- a/msgraph_beta/generated/models/device_health_script_daily_schedule.py +++ b/msgraph_beta/generated/models/device_health_script_daily_schedule.py @@ -51,5 +51,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_health_script_time_schedule import DeviceHealthScriptTimeSchedule + diff --git a/msgraph_beta/generated/models/device_health_script_device_state.py b/msgraph_beta/generated/models/device_health_script_device_state.py index fe3e3d58679..cf57c7f187f 100644 --- a/msgraph_beta/generated/models/device_health_script_device_state.py +++ b/msgraph_beta/generated/models/device_health_script_device_state.py @@ -97,6 +97,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .managed_device import ManagedDevice + from .remediation_state import RemediationState + from .run_state import RunState + writer.write_collection_of_primitive_values("assignmentFilterIds", self.assignment_filter_ids) writer.write_enum_value("detectionState", self.detection_state) writer.write_datetime_value("expectedStateUpdateDateTime", self.expected_state_update_date_time) diff --git a/msgraph_beta/generated/models/device_health_script_device_state_collection_response.py b/msgraph_beta/generated/models/device_health_script_device_state_collection_response.py index 3ed017f1951..2c0b99bcf12 100644 --- a/msgraph_beta/generated/models/device_health_script_device_state_collection_response.py +++ b/msgraph_beta/generated/models/device_health_script_device_state_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .device_health_script_device_state import DeviceHealthScriptDeviceState + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/device_health_script_hourly_schedule.py b/msgraph_beta/generated/models/device_health_script_hourly_schedule.py index a587f9f81e5..2c918d26975 100644 --- a/msgraph_beta/generated/models/device_health_script_hourly_schedule.py +++ b/msgraph_beta/generated/models/device_health_script_hourly_schedule.py @@ -51,5 +51,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_health_script_run_schedule import DeviceHealthScriptRunSchedule + diff --git a/msgraph_beta/generated/models/device_health_script_integer_parameter.py b/msgraph_beta/generated/models/device_health_script_integer_parameter.py index 0c8fbd33c5d..c7fb994d9ab 100644 --- a/msgraph_beta/generated/models/device_health_script_integer_parameter.py +++ b/msgraph_beta/generated/models/device_health_script_integer_parameter.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_health_script_parameter import DeviceHealthScriptParameter + writer.write_int_value("defaultValue", self.default_value) diff --git a/msgraph_beta/generated/models/device_health_script_parameter.py b/msgraph_beta/generated/models/device_health_script_parameter.py index 2f92cfca5b0..640b39b4e4b 100644 --- a/msgraph_beta/generated/models/device_health_script_parameter.py +++ b/msgraph_beta/generated/models/device_health_script_parameter.py @@ -40,7 +40,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> DeviceHealthScript if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.deviceHealthScriptBooleanParameter".casefold(): @@ -87,6 +88,10 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .device_health_script_boolean_parameter import DeviceHealthScriptBooleanParameter + from .device_health_script_integer_parameter import DeviceHealthScriptIntegerParameter + from .device_health_script_string_parameter import DeviceHealthScriptStringParameter + writer.write_bool_value("applyDefaultValueWhenNotAssigned", self.apply_default_value_when_not_assigned) writer.write_str_value("description", self.description) writer.write_bool_value("isRequired", self.is_required) diff --git a/msgraph_beta/generated/models/device_health_script_policy_state.py b/msgraph_beta/generated/models/device_health_script_policy_state.py index 84d56d43e55..21343bdd62e 100644 --- a/msgraph_beta/generated/models/device_health_script_policy_state.py +++ b/msgraph_beta/generated/models/device_health_script_policy_state.py @@ -111,6 +111,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .remediation_state import RemediationState + from .run_state import RunState + writer.write_collection_of_primitive_values("assignmentFilterIds", self.assignment_filter_ids) writer.write_enum_value("detectionState", self.detection_state) writer.write_str_value("deviceId", self.device_id) diff --git a/msgraph_beta/generated/models/device_health_script_policy_state_collection_response.py b/msgraph_beta/generated/models/device_health_script_policy_state_collection_response.py index 5f19dfb9568..8431579e611 100644 --- a/msgraph_beta/generated/models/device_health_script_policy_state_collection_response.py +++ b/msgraph_beta/generated/models/device_health_script_policy_state_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .device_health_script_policy_state import DeviceHealthScriptPolicyState + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/device_health_script_remediation_history.py b/msgraph_beta/generated/models/device_health_script_remediation_history.py index 98ce02856bd..390d589c9b1 100644 --- a/msgraph_beta/generated/models/device_health_script_remediation_history.py +++ b/msgraph_beta/generated/models/device_health_script_remediation_history.py @@ -60,6 +60,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .device_health_script_remediation_history_data import DeviceHealthScriptRemediationHistoryData + writer.write_collection_of_object_values("historyData", self.history_data) writer.write_datetime_value("lastModifiedDateTime", self.last_modified_date_time) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/device_health_script_run_once_schedule.py b/msgraph_beta/generated/models/device_health_script_run_once_schedule.py index ba52f991978..5c12535ca38 100644 --- a/msgraph_beta/generated/models/device_health_script_run_once_schedule.py +++ b/msgraph_beta/generated/models/device_health_script_run_once_schedule.py @@ -55,6 +55,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_health_script_time_schedule import DeviceHealthScriptTimeSchedule + writer.write_date_value("date", self.date) diff --git a/msgraph_beta/generated/models/device_health_script_run_schedule.py b/msgraph_beta/generated/models/device_health_script_run_schedule.py index 3545c43808a..fc25b2047b6 100644 --- a/msgraph_beta/generated/models/device_health_script_run_schedule.py +++ b/msgraph_beta/generated/models/device_health_script_run_schedule.py @@ -35,7 +35,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> DeviceHealthScript if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.deviceHealthScriptDailySchedule".casefold(): @@ -85,6 +86,11 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .device_health_script_daily_schedule import DeviceHealthScriptDailySchedule + from .device_health_script_hourly_schedule import DeviceHealthScriptHourlySchedule + from .device_health_script_run_once_schedule import DeviceHealthScriptRunOnceSchedule + from .device_health_script_time_schedule import DeviceHealthScriptTimeSchedule + writer.write_int_value("interval", self.interval) writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/device_health_script_run_summary.py b/msgraph_beta/generated/models/device_health_script_run_summary.py index da5f2de7cf9..49a01aa7eb3 100644 --- a/msgraph_beta/generated/models/device_health_script_run_summary.py +++ b/msgraph_beta/generated/models/device_health_script_run_summary.py @@ -85,6 +85,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_int_value("detectionScriptErrorDeviceCount", self.detection_script_error_device_count) writer.write_int_value("detectionScriptNotApplicableDeviceCount", self.detection_script_not_applicable_device_count) writer.write_int_value("detectionScriptPendingDeviceCount", self.detection_script_pending_device_count) diff --git a/msgraph_beta/generated/models/device_health_script_string_parameter.py b/msgraph_beta/generated/models/device_health_script_string_parameter.py index 282cfe92f3a..df2efed5002 100644 --- a/msgraph_beta/generated/models/device_health_script_string_parameter.py +++ b/msgraph_beta/generated/models/device_health_script_string_parameter.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_health_script_parameter import DeviceHealthScriptParameter + writer.write_str_value("defaultValue", self.default_value) diff --git a/msgraph_beta/generated/models/device_health_script_time_schedule.py b/msgraph_beta/generated/models/device_health_script_time_schedule.py index 3abbad390e4..a3f5792cc82 100644 --- a/msgraph_beta/generated/models/device_health_script_time_schedule.py +++ b/msgraph_beta/generated/models/device_health_script_time_schedule.py @@ -33,7 +33,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> DeviceHealthScript if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.deviceHealthScriptDailySchedule".casefold(): @@ -76,6 +77,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_health_script_daily_schedule import DeviceHealthScriptDailySchedule + from .device_health_script_run_once_schedule import DeviceHealthScriptRunOnceSchedule + from .device_health_script_run_schedule import DeviceHealthScriptRunSchedule + writer.write_time_value("time", self.time) writer.write_bool_value("useUtc", self.use_utc) diff --git a/msgraph_beta/generated/models/device_install_state.py b/msgraph_beta/generated/models/device_install_state.py index 6710311f125..7259fb7324d 100644 --- a/msgraph_beta/generated/models/device_install_state.py +++ b/msgraph_beta/generated/models/device_install_state.py @@ -79,6 +79,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .install_state import InstallState + writer.write_str_value("deviceId", self.device_id) writer.write_str_value("deviceName", self.device_name) writer.write_str_value("errorCode", self.error_code) diff --git a/msgraph_beta/generated/models/device_install_state_collection_response.py b/msgraph_beta/generated/models/device_install_state_collection_response.py index cceb6a63953..d89c4b1cf17 100644 --- a/msgraph_beta/generated/models/device_install_state_collection_response.py +++ b/msgraph_beta/generated/models/device_install_state_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .device_install_state import DeviceInstallState + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/device_local_credential.py b/msgraph_beta/generated/models/device_local_credential.py index da0120fb514..fe2d0f8ad71 100644 --- a/msgraph_beta/generated/models/device_local_credential.py +++ b/msgraph_beta/generated/models/device_local_credential.py @@ -61,6 +61,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_str_value("accountName", self.account_name) writer.write_str_value("accountSid", self.account_sid) writer.write_datetime_value("backupDateTime", self.backup_date_time) diff --git a/msgraph_beta/generated/models/device_local_credential_info.py b/msgraph_beta/generated/models/device_local_credential_info.py index 994fc24d700..504281a85c2 100644 --- a/msgraph_beta/generated/models/device_local_credential_info.py +++ b/msgraph_beta/generated/models/device_local_credential_info.py @@ -64,6 +64,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_local_credential import DeviceLocalCredential + from .entity import Entity + writer.write_collection_of_object_values("credentials", self.credentials) writer.write_str_value("deviceName", self.device_name) writer.write_datetime_value("lastBackupDateTime", self.last_backup_date_time) diff --git a/msgraph_beta/generated/models/device_local_credential_info_collection_response.py b/msgraph_beta/generated/models/device_local_credential_info_collection_response.py index 571eaebd5ba..2f4c7e41722 100644 --- a/msgraph_beta/generated/models/device_local_credential_info_collection_response.py +++ b/msgraph_beta/generated/models/device_local_credential_info_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .device_local_credential_info import DeviceLocalCredentialInfo + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/device_log_collection_request.py b/msgraph_beta/generated/models/device_log_collection_request.py index 8d62790bf10..d786e221303 100644 --- a/msgraph_beta/generated/models/device_log_collection_request.py +++ b/msgraph_beta/generated/models/device_log_collection_request.py @@ -59,6 +59,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .device_log_collection_template_type import DeviceLogCollectionTemplateType + writer.write_str_value("id", self.id) writer.write_str_value("@odata.type", self.odata_type) writer.write_enum_value("templateType", self.template_type) diff --git a/msgraph_beta/generated/models/device_log_collection_response.py b/msgraph_beta/generated/models/device_log_collection_response.py index affffafdde1..2a277b6a4bb 100644 --- a/msgraph_beta/generated/models/device_log_collection_response.py +++ b/msgraph_beta/generated/models/device_log_collection_response.py @@ -86,6 +86,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .app_log_upload_state import AppLogUploadState + from .entity import Entity + writer.write_str_value("enrolledByUser", self.enrolled_by_user) writer.write_int_value("errorCode", self.error_code) writer.write_datetime_value("expirationDateTimeUTC", self.expiration_date_time_u_t_c) diff --git a/msgraph_beta/generated/models/device_log_collection_response_collection_response.py b/msgraph_beta/generated/models/device_log_collection_response_collection_response.py index b480c89c08b..f8d7e07a069 100644 --- a/msgraph_beta/generated/models/device_log_collection_response_collection_response.py +++ b/msgraph_beta/generated/models/device_log_collection_response_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .device_log_collection_response import DeviceLogCollectionResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/device_management/alert_impact.py b/msgraph_beta/generated/models/device_management/alert_impact.py index 11fd430a3d5..6ceb2dd1ec6 100644 --- a/msgraph_beta/generated/models/device_management/alert_impact.py +++ b/msgraph_beta/generated/models/device_management/alert_impact.py @@ -62,6 +62,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ..key_value_pair import KeyValuePair + from .aggregation_type import AggregationType + writer.write_enum_value("aggregationType", self.aggregation_type) writer.write_collection_of_object_values("alertImpactDetails", self.alert_impact_details) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/device_management/alert_record.py b/msgraph_beta/generated/models/device_management/alert_record.py index 98a6a735e15..26a2113db6a 100644 --- a/msgraph_beta/generated/models/device_management/alert_record.py +++ b/msgraph_beta/generated/models/device_management/alert_record.py @@ -88,6 +88,12 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + from .alert_impact import AlertImpact + from .alert_rule_template import AlertRuleTemplate + from .alert_status_type import AlertStatusType + from .rule_severity_type import RuleSeverityType + writer.write_object_value("alertImpact", self.alert_impact) writer.write_str_value("alertRuleId", self.alert_rule_id) writer.write_enum_value("alertRuleTemplate", self.alert_rule_template) diff --git a/msgraph_beta/generated/models/device_management/alert_record_collection_response.py b/msgraph_beta/generated/models/device_management/alert_record_collection_response.py index 1f707af4707..fbf5b5f5c05 100644 --- a/msgraph_beta/generated/models/device_management/alert_record_collection_response.py +++ b/msgraph_beta/generated/models/device_management/alert_record_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .alert_record import AlertRecord + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/device_management/alert_rule.py b/msgraph_beta/generated/models/device_management/alert_rule.py index 1dd234e7050..650ba578ccc 100644 --- a/msgraph_beta/generated/models/device_management/alert_rule.py +++ b/msgraph_beta/generated/models/device_management/alert_rule.py @@ -15,7 +15,7 @@ @dataclass class AlertRule(Entity): - # The rule template of the alert event. The possible values are: cloudPcProvisionScenario, cloudPcImageUploadScenario, cloudPcOnPremiseNetworkConnectionCheckScenario, cloudPcInGracePeriodScenario, cloudPcFrontlineInsufficientLicensesScenario, cloudPcInaccessibleScenario. Note that you must use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: cloudPcInGracePeriodScenario. + # The rule template of the alert event. The possible values are: cloudPcProvisionScenario, cloudPcImageUploadScenario, cloudPcOnPremiseNetworkConnectionCheckScenario, cloudPcInGracePeriodScenario, cloudPcFrontlineInsufficientLicensesScenario, cloudPcInaccessibleScenario. You must use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: cloudPcInGracePeriodScenario. alert_rule_template: Optional[AlertRuleTemplate] = None # The conditions that determine when to send alerts. For example, you can configure a condition to send an alert when provisioning fails for six or more Cloud PCs. conditions: Optional[List[RuleCondition]] = None @@ -90,6 +90,13 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + from .alert_rule_template import AlertRuleTemplate + from .notification_channel import NotificationChannel + from .rule_condition import RuleCondition + from .rule_severity_type import RuleSeverityType + from .rule_threshold import RuleThreshold + writer.write_enum_value("alertRuleTemplate", self.alert_rule_template) writer.write_collection_of_object_values("conditions", self.conditions) writer.write_str_value("description", self.description) diff --git a/msgraph_beta/generated/models/device_management/alert_rule_collection_response.py b/msgraph_beta/generated/models/device_management/alert_rule_collection_response.py index f630244696e..cc1e4b99c47 100644 --- a/msgraph_beta/generated/models/device_management/alert_rule_collection_response.py +++ b/msgraph_beta/generated/models/device_management/alert_rule_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .alert_rule import AlertRule + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/device_management/device_management.py b/msgraph_beta/generated/models/device_management/device_management.py index a4e978ff1c4..6babec53263 100644 --- a/msgraph_beta/generated/models/device_management/device_management.py +++ b/msgraph_beta/generated/models/device_management/device_management.py @@ -500,7 +500,7 @@ class DeviceManagement(Entity): user_experience_analytics_battery_health_runtime_details: Optional[UserExperienceAnalyticsBatteryHealthRuntimeDetails] = None # User experience analytics categories user_experience_analytics_categories: Optional[List[UserExperienceAnalyticsCategory]] = None - # User experience analytics device metric history + # User experience analytics device metric history. The report will be retired on December 31, 2024. You can start using the Cloud PC connection quality report now via https://learn.microsoft.com/windows-365/enterprise/report-cloud-pc-connection-quality. user_experience_analytics_device_metric_history: Optional[List[UserExperienceAnalyticsMetricHistory]] = None # User experience analytics device performance user_experience_analytics_device_performance: Optional[List[UserExperienceAnalyticsDevicePerformance]] = None @@ -530,7 +530,7 @@ class DeviceManagement(Entity): user_experience_analytics_not_autopilot_ready_device: Optional[List[UserExperienceAnalyticsNotAutopilotReadyDevice]] = None # User experience analytics overview user_experience_analytics_overview: Optional[UserExperienceAnalyticsOverview] = None - # User experience analytics remote connection + # User experience analytics remote connection. The report will be retired on December 31, 2024. You can start using the Cloud PC connection quality report now via https://learn.microsoft.com/windows-365/enterprise/report-cloud-pc-connection-quality. user_experience_analytics_remote_connection: Optional[List[UserExperienceAnalyticsRemoteConnection]] = None # User experience analytics resource performance user_experience_analytics_resource_performance: Optional[List[UserExperienceAnalyticsResourcePerformance]] = None @@ -1160,6 +1160,185 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..admin_consent import AdminConsent + from ..advanced_threat_protection_onboarding_state_summary import AdvancedThreatProtectionOnboardingStateSummary + from ..android_device_owner_enrollment_profile import AndroidDeviceOwnerEnrollmentProfile + from ..android_for_work_app_configuration_schema import AndroidForWorkAppConfigurationSchema + from ..android_for_work_enrollment_profile import AndroidForWorkEnrollmentProfile + from ..android_for_work_settings import AndroidForWorkSettings + from ..android_managed_store_account_enterprise_settings import AndroidManagedStoreAccountEnterpriseSettings + from ..android_managed_store_app_configuration_schema import AndroidManagedStoreAppConfigurationSchema + from ..apple_push_notification_certificate import ApplePushNotificationCertificate + from ..apple_user_initiated_enrollment_profile import AppleUserInitiatedEnrollmentProfile + from ..audit_event import AuditEvent + from ..cart_to_class_association import CartToClassAssociation + from ..certificate_connector_details import CertificateConnectorDetails + from ..chrome_o_s_onboarding_settings import ChromeOSOnboardingSettings + from ..cloud_certification_authority import CloudCertificationAuthority + from ..cloud_certification_authority_leaf_certificate import CloudCertificationAuthorityLeafCertificate + from ..cloud_p_c_connectivity_issue import CloudPCConnectivityIssue + from ..comanagement_eligible_device import ComanagementEligibleDevice + from ..compliance_management_partner import ComplianceManagementPartner + from ..config_manager_collection import ConfigManagerCollection + from ..connector_status_details import ConnectorStatusDetails + from ..data_processor_service_for_windows_features_onboarding import DataProcessorServiceForWindowsFeaturesOnboarding + from ..data_sharing_consent import DataSharingConsent + from ..dep_onboarding_setting import DepOnboardingSetting + from ..detected_app import DetectedApp + from ..device_and_app_management_assignment_filter import DeviceAndAppManagementAssignmentFilter + from ..device_and_app_management_role_assignment import DeviceAndAppManagementRoleAssignment + from ..device_category import DeviceCategory + from ..device_compliance_policy import DeviceCompliancePolicy + from ..device_compliance_policy_device_state_summary import DeviceCompliancePolicyDeviceStateSummary + from ..device_compliance_policy_setting_state_summary import DeviceCompliancePolicySettingStateSummary + from ..device_compliance_script import DeviceComplianceScript + from ..device_configuration import DeviceConfiguration + from ..device_configuration_conflict_summary import DeviceConfigurationConflictSummary + from ..device_configuration_device_state_summary import DeviceConfigurationDeviceStateSummary + from ..device_configuration_user_state_summary import DeviceConfigurationUserStateSummary + from ..device_custom_attribute_shell_script import DeviceCustomAttributeShellScript + from ..device_enrollment_configuration import DeviceEnrollmentConfiguration + from ..device_health_script import DeviceHealthScript + from ..device_management_autopilot_event import DeviceManagementAutopilotEvent + from ..device_management_compliance_policy import DeviceManagementCompliancePolicy + from ..device_management_configuration_category import DeviceManagementConfigurationCategory + from ..device_management_configuration_policy import DeviceManagementConfigurationPolicy + from ..device_management_configuration_policy_template import DeviceManagementConfigurationPolicyTemplate + from ..device_management_configuration_setting_definition import DeviceManagementConfigurationSettingDefinition + from ..device_management_configuration_setting_template import DeviceManagementConfigurationSettingTemplate + from ..device_management_derived_credential_settings import DeviceManagementDerivedCredentialSettings + from ..device_management_domain_join_connector import DeviceManagementDomainJoinConnector + from ..device_management_exchange_connector import DeviceManagementExchangeConnector + from ..device_management_exchange_on_premises_policy import DeviceManagementExchangeOnPremisesPolicy + from ..device_management_intent import DeviceManagementIntent + from ..device_management_partner import DeviceManagementPartner + from ..device_management_reports import DeviceManagementReports + from ..device_management_resource_access_profile_base import DeviceManagementResourceAccessProfileBase + from ..device_management_reusable_policy_setting import DeviceManagementReusablePolicySetting + from ..device_management_script import DeviceManagementScript + from ..device_management_settings import DeviceManagementSettings + from ..device_management_setting_category import DeviceManagementSettingCategory + from ..device_management_setting_definition import DeviceManagementSettingDefinition + from ..device_management_subscriptions import DeviceManagementSubscriptions + from ..device_management_subscription_state import DeviceManagementSubscriptionState + from ..device_management_template import DeviceManagementTemplate + from ..device_management_template_insights_definition import DeviceManagementTemplateInsightsDefinition + from ..device_management_troubleshooting_event import DeviceManagementTroubleshootingEvent + from ..device_protection_overview import DeviceProtectionOverview + from ..device_shell_script import DeviceShellScript + from ..embedded_s_i_m_activation_code_pool import EmbeddedSIMActivationCodePool + from ..endpoint_privilege_management_provisioning_status import EndpointPrivilegeManagementProvisioningStatus + from ..entity import Entity + from ..group_policy_category import GroupPolicyCategory + from ..group_policy_configuration import GroupPolicyConfiguration + from ..group_policy_definition import GroupPolicyDefinition + from ..group_policy_definition_file import GroupPolicyDefinitionFile + from ..group_policy_migration_report import GroupPolicyMigrationReport + from ..group_policy_object_file import GroupPolicyObjectFile + from ..group_policy_uploaded_definition_file import GroupPolicyUploadedDefinitionFile + from ..hardware_configuration import HardwareConfiguration + from ..hardware_password_detail import HardwarePasswordDetail + from ..hardware_password_info import HardwarePasswordInfo + from ..imported_device_identity import ImportedDeviceIdentity + from ..imported_windows_autopilot_device_identity import ImportedWindowsAutopilotDeviceIdentity + from ..intune_brand import IntuneBrand + from ..intune_branding_profile import IntuneBrandingProfile + from ..ios_update_device_status import IosUpdateDeviceStatus + from ..mac_o_s_software_update_account_summary import MacOSSoftwareUpdateAccountSummary + from ..managed_all_device_certificate_state import ManagedAllDeviceCertificateState + from ..managed_device import ManagedDevice + from ..managed_device_cleanup_rule import ManagedDeviceCleanupRule + from ..managed_device_cleanup_settings import ManagedDeviceCleanupSettings + from ..managed_device_encryption_state import ManagedDeviceEncryptionState + from ..managed_device_overview import ManagedDeviceOverview + from ..managed_device_windows_operating_system_image import ManagedDeviceWindowsOperatingSystemImage + from ..microsoft_tunnel_configuration import MicrosoftTunnelConfiguration + from ..microsoft_tunnel_health_threshold import MicrosoftTunnelHealthThreshold + from ..microsoft_tunnel_server_log_collection_response import MicrosoftTunnelServerLogCollectionResponse + from ..microsoft_tunnel_site import MicrosoftTunnelSite + from ..mobile_app_troubleshooting_event import MobileAppTroubleshootingEvent + from ..mobile_threat_defense_connector import MobileThreatDefenseConnector + from ..ndes_connector import NdesConnector + from ..notification_message_template import NotificationMessageTemplate + from ..on_premises_conditional_access_settings import OnPremisesConditionalAccessSettings + from ..operation_approval_policy import OperationApprovalPolicy + from ..operation_approval_request import OperationApprovalRequest + from ..privilege_management_elevation import PrivilegeManagementElevation + from ..privilege_management_elevation_request import PrivilegeManagementElevationRequest + from ..remote_action_audit import RemoteActionAudit + from ..remote_assistance_partner import RemoteAssistancePartner + from ..remote_assistance_settings import RemoteAssistanceSettings + from ..resource_operation import ResourceOperation + from ..restricted_apps_violation import RestrictedAppsViolation + from ..role_definition import RoleDefinition + from ..role_scope_tag import RoleScopeTag + from ..service_now_connection import ServiceNowConnection + from ..software_update_status_summary import SoftwareUpdateStatusSummary + from ..telecom_expense_management_partner import TelecomExpenseManagementPartner + from ..tenant_attach_r_b_a_c import TenantAttachRBAC + from ..terms_and_conditions import TermsAndConditions + from ..user_experience_analytics_anomaly import UserExperienceAnalyticsAnomaly + from ..user_experience_analytics_anomaly_correlation_group_overview import UserExperienceAnalyticsAnomalyCorrelationGroupOverview + from ..user_experience_analytics_anomaly_device import UserExperienceAnalyticsAnomalyDevice + from ..user_experience_analytics_anomaly_severity_overview import UserExperienceAnalyticsAnomalySeverityOverview + from ..user_experience_analytics_app_health_application_performance import UserExperienceAnalyticsAppHealthApplicationPerformance + from ..user_experience_analytics_app_health_app_performance_by_app_version import UserExperienceAnalyticsAppHealthAppPerformanceByAppVersion + from ..user_experience_analytics_app_health_app_performance_by_app_version_details import UserExperienceAnalyticsAppHealthAppPerformanceByAppVersionDetails + from ..user_experience_analytics_app_health_app_performance_by_app_version_device_id import UserExperienceAnalyticsAppHealthAppPerformanceByAppVersionDeviceId + from ..user_experience_analytics_app_health_app_performance_by_o_s_version import UserExperienceAnalyticsAppHealthAppPerformanceByOSVersion + from ..user_experience_analytics_app_health_device_model_performance import UserExperienceAnalyticsAppHealthDeviceModelPerformance + from ..user_experience_analytics_app_health_device_performance import UserExperienceAnalyticsAppHealthDevicePerformance + from ..user_experience_analytics_app_health_device_performance_details import UserExperienceAnalyticsAppHealthDevicePerformanceDetails + from ..user_experience_analytics_app_health_o_s_version_performance import UserExperienceAnalyticsAppHealthOSVersionPerformance + from ..user_experience_analytics_baseline import UserExperienceAnalyticsBaseline + from ..user_experience_analytics_battery_health_app_impact import UserExperienceAnalyticsBatteryHealthAppImpact + from ..user_experience_analytics_battery_health_capacity_details import UserExperienceAnalyticsBatteryHealthCapacityDetails + from ..user_experience_analytics_battery_health_device_app_impact import UserExperienceAnalyticsBatteryHealthDeviceAppImpact + from ..user_experience_analytics_battery_health_device_performance import UserExperienceAnalyticsBatteryHealthDevicePerformance + from ..user_experience_analytics_battery_health_device_runtime_history import UserExperienceAnalyticsBatteryHealthDeviceRuntimeHistory + from ..user_experience_analytics_battery_health_model_performance import UserExperienceAnalyticsBatteryHealthModelPerformance + from ..user_experience_analytics_battery_health_os_performance import UserExperienceAnalyticsBatteryHealthOsPerformance + from ..user_experience_analytics_battery_health_runtime_details import UserExperienceAnalyticsBatteryHealthRuntimeDetails + from ..user_experience_analytics_category import UserExperienceAnalyticsCategory + from ..user_experience_analytics_device_performance import UserExperienceAnalyticsDevicePerformance + from ..user_experience_analytics_device_scope import UserExperienceAnalyticsDeviceScope + from ..user_experience_analytics_device_scores import UserExperienceAnalyticsDeviceScores + from ..user_experience_analytics_device_startup_history import UserExperienceAnalyticsDeviceStartupHistory + from ..user_experience_analytics_device_startup_process import UserExperienceAnalyticsDeviceStartupProcess + from ..user_experience_analytics_device_startup_process_performance import UserExperienceAnalyticsDeviceStartupProcessPerformance + from ..user_experience_analytics_device_timeline_event import UserExperienceAnalyticsDeviceTimelineEvent + from ..user_experience_analytics_device_without_cloud_identity import UserExperienceAnalyticsDeviceWithoutCloudIdentity + from ..user_experience_analytics_impacting_process import UserExperienceAnalyticsImpactingProcess + from ..user_experience_analytics_metric_history import UserExperienceAnalyticsMetricHistory + from ..user_experience_analytics_model_scores import UserExperienceAnalyticsModelScores + from ..user_experience_analytics_not_autopilot_ready_device import UserExperienceAnalyticsNotAutopilotReadyDevice + from ..user_experience_analytics_overview import UserExperienceAnalyticsOverview + from ..user_experience_analytics_remote_connection import UserExperienceAnalyticsRemoteConnection + from ..user_experience_analytics_resource_performance import UserExperienceAnalyticsResourcePerformance + from ..user_experience_analytics_score_history import UserExperienceAnalyticsScoreHistory + from ..user_experience_analytics_settings import UserExperienceAnalyticsSettings + from ..user_experience_analytics_work_from_anywhere_hardware_readiness_metric import UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric + from ..user_experience_analytics_work_from_anywhere_metric import UserExperienceAnalyticsWorkFromAnywhereMetric + from ..user_experience_analytics_work_from_anywhere_model_performance import UserExperienceAnalyticsWorkFromAnywhereModelPerformance + from ..user_p_f_x_certificate import UserPFXCertificate + from ..virtual_endpoint import VirtualEndpoint + from ..windows_autopilot_deployment_profile import WindowsAutopilotDeploymentProfile + from ..windows_autopilot_device_identity import WindowsAutopilotDeviceIdentity + from ..windows_autopilot_settings import WindowsAutopilotSettings + from ..windows_driver_update_profile import WindowsDriverUpdateProfile + from ..windows_feature_update_profile import WindowsFeatureUpdateProfile + from ..windows_information_protection_app_learning_summary import WindowsInformationProtectionAppLearningSummary + from ..windows_information_protection_network_learning_summary import WindowsInformationProtectionNetworkLearningSummary + from ..windows_malware_information import WindowsMalwareInformation + from ..windows_malware_overview import WindowsMalwareOverview + from ..windows_quality_update_policy import WindowsQualityUpdatePolicy + from ..windows_quality_update_profile import WindowsQualityUpdateProfile + from ..windows_update_catalog_item import WindowsUpdateCatalogItem + from ..zebra_fota_artifact import ZebraFotaArtifact + from ..zebra_fota_connector import ZebraFotaConnector + from ..zebra_fota_deployment import ZebraFotaDeployment + from .monitoring import Monitoring + writer.write_datetime_value("accountMoveCompletionDateTime", self.account_move_completion_date_time) writer.write_object_value("adminConsent", self.admin_consent) writer.write_object_value("advancedThreatProtectionOnboardingStateSummary", self.advanced_threat_protection_onboarding_state_summary) diff --git a/msgraph_beta/generated/models/device_management/monitoring.py b/msgraph_beta/generated/models/device_management/monitoring.py index 51d343a3c9a..63baa6eac4a 100644 --- a/msgraph_beta/generated/models/device_management/monitoring.py +++ b/msgraph_beta/generated/models/device_management/monitoring.py @@ -60,6 +60,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + from .alert_record import AlertRecord + from .alert_rule import AlertRule + writer.write_collection_of_object_values("alertRecords", self.alert_records) writer.write_collection_of_object_values("alertRules", self.alert_rules) diff --git a/msgraph_beta/generated/models/device_management/notification_channel.py b/msgraph_beta/generated/models/device_management/notification_channel.py index 15d2c0b0230..d2827697a28 100644 --- a/msgraph_beta/generated/models/device_management/notification_channel.py +++ b/msgraph_beta/generated/models/device_management/notification_channel.py @@ -59,6 +59,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .notification_channel_type import NotificationChannelType + from .notification_receiver import NotificationReceiver + writer.write_enum_value("notificationChannelType", self.notification_channel_type) writer.write_collection_of_object_values("notificationReceivers", self.notification_receivers) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/device_management/portal_notification.py b/msgraph_beta/generated/models/device_management/portal_notification.py index 8f64c20813e..51fb1c2ad30 100644 --- a/msgraph_beta/generated/models/device_management/portal_notification.py +++ b/msgraph_beta/generated/models/device_management/portal_notification.py @@ -80,6 +80,10 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .alert_impact import AlertImpact + from .alert_rule_template import AlertRuleTemplate + from .rule_severity_type import RuleSeverityType + writer.write_object_value("alertImpact", self.alert_impact) writer.write_str_value("alertRecordId", self.alert_record_id) writer.write_str_value("alertRuleId", self.alert_rule_id) diff --git a/msgraph_beta/generated/models/device_management/rule_condition.py b/msgraph_beta/generated/models/device_management/rule_condition.py index f835b3be0a6..4674e846030 100644 --- a/msgraph_beta/generated/models/device_management/rule_condition.py +++ b/msgraph_beta/generated/models/device_management/rule_condition.py @@ -25,7 +25,7 @@ class RuleCondition(AdditionalDataHolder, BackedModel, Parsable): odata_type: Optional[str] = None # The built-in operator for the rule condition. The possible values are: greaterOrEqual, equal, greater, less, lessOrEqual, notEqual, unknownFutureValue. operator: Optional[OperatorType] = None - # The relationship type. Possible values are: and, or. + # The relationship type. Possible values are: and, or. relationship_type: Optional[RelationshipType] = None # The threshold value of the alert condition. The threshold value can be a number in string form or string like 'WestUS'. threshold_value: Optional[str] = None @@ -74,6 +74,11 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .aggregation_type import AggregationType + from .condition_category import ConditionCategory + from .operator_type import OperatorType + from .relationship_type import RelationshipType + writer.write_enum_value("aggregation", self.aggregation) writer.write_enum_value("conditionCategory", self.condition_category) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/device_management/rule_threshold.py b/msgraph_beta/generated/models/device_management/rule_threshold.py index c1bb16a945b..b5185e6d025 100644 --- a/msgraph_beta/generated/models/device_management/rule_threshold.py +++ b/msgraph_beta/generated/models/device_management/rule_threshold.py @@ -62,6 +62,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .aggregation_type import AggregationType + from .operator_type import OperatorType + writer.write_enum_value("aggregation", self.aggregation) writer.write_str_value("@odata.type", self.odata_type) writer.write_enum_value("operator", self.operator) diff --git a/msgraph_beta/generated/models/device_management_abstract_complex_setting_definition.py b/msgraph_beta/generated/models/device_management_abstract_complex_setting_definition.py index 9e897aaf790..993d47d5d49 100644 --- a/msgraph_beta/generated/models/device_management_abstract_complex_setting_definition.py +++ b/msgraph_beta/generated/models/device_management_abstract_complex_setting_definition.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_management_setting_definition import DeviceManagementSettingDefinition + writer.write_collection_of_primitive_values("implementations", self.implementations) diff --git a/msgraph_beta/generated/models/device_management_abstract_complex_setting_instance.py b/msgraph_beta/generated/models/device_management_abstract_complex_setting_instance.py index fe373e69df9..0188e482559 100644 --- a/msgraph_beta/generated/models/device_management_abstract_complex_setting_instance.py +++ b/msgraph_beta/generated/models/device_management_abstract_complex_setting_instance.py @@ -57,6 +57,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_management_setting_instance import DeviceManagementSettingInstance + writer.write_str_value("implementationId", self.implementation_id) writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/device_management_applicability_rule_device_mode.py b/msgraph_beta/generated/models/device_management_applicability_rule_device_mode.py index 42f35f20964..5f74df84228 100644 --- a/msgraph_beta/generated/models/device_management_applicability_rule_device_mode.py +++ b/msgraph_beta/generated/models/device_management_applicability_rule_device_mode.py @@ -62,6 +62,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .device_management_applicability_rule_type import DeviceManagementApplicabilityRuleType + from .windows10_device_mode_type import Windows10DeviceModeType + writer.write_enum_value("deviceMode", self.device_mode) writer.write_str_value("name", self.name) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/device_management_applicability_rule_os_edition.py b/msgraph_beta/generated/models/device_management_applicability_rule_os_edition.py index f326798ef0d..27ea9bd26fe 100644 --- a/msgraph_beta/generated/models/device_management_applicability_rule_os_edition.py +++ b/msgraph_beta/generated/models/device_management_applicability_rule_os_edition.py @@ -62,6 +62,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .device_management_applicability_rule_type import DeviceManagementApplicabilityRuleType + from .windows10_edition_type import Windows10EditionType + writer.write_str_value("name", self.name) writer.write_str_value("@odata.type", self.odata_type) writer.write_collection_of_enum_values("osEditionTypes", self.os_edition_types) diff --git a/msgraph_beta/generated/models/device_management_applicability_rule_os_version.py b/msgraph_beta/generated/models/device_management_applicability_rule_os_version.py index 0128fa370e8..7dbd7154c0b 100644 --- a/msgraph_beta/generated/models/device_management_applicability_rule_os_version.py +++ b/msgraph_beta/generated/models/device_management_applicability_rule_os_version.py @@ -62,6 +62,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .device_management_applicability_rule_type import DeviceManagementApplicabilityRuleType + writer.write_str_value("maxOSVersion", self.max_o_s_version) writer.write_str_value("minOSVersion", self.min_o_s_version) writer.write_str_value("name", self.name) diff --git a/msgraph_beta/generated/models/device_management_autopilot_event.py b/msgraph_beta/generated/models/device_management_autopilot_event.py index 22be98db8a1..827b1570e5d 100644 --- a/msgraph_beta/generated/models/device_management_autopilot_event.py +++ b/msgraph_beta/generated/models/device_management_autopilot_event.py @@ -133,6 +133,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .enrollment_state import EnrollmentState + from .entity import Entity + from .windows_autopilot_deployment_state import WindowsAutopilotDeploymentState + from .windows_autopilot_enrollment_type import WindowsAutopilotEnrollmentType + writer.write_timedelta_value("accountSetupDuration", self.account_setup_duration) writer.write_enum_value("accountSetupStatus", self.account_setup_status) writer.write_timedelta_value("deploymentDuration", self.deployment_duration) diff --git a/msgraph_beta/generated/models/device_management_autopilot_event_collection_response.py b/msgraph_beta/generated/models/device_management_autopilot_event_collection_response.py index d5cec5dbf80..54861894827 100644 --- a/msgraph_beta/generated/models/device_management_autopilot_event_collection_response.py +++ b/msgraph_beta/generated/models/device_management_autopilot_event_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .device_management_autopilot_event import DeviceManagementAutopilotEvent + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/device_management_autopilot_policy_status_detail.py b/msgraph_beta/generated/models/device_management_autopilot_policy_status_detail.py index 7301809c4fe..f179fd33deb 100644 --- a/msgraph_beta/generated/models/device_management_autopilot_policy_status_detail.py +++ b/msgraph_beta/generated/models/device_management_autopilot_policy_status_detail.py @@ -76,6 +76,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_management_autopilot_policy_compliance_status import DeviceManagementAutopilotPolicyComplianceStatus + from .device_management_autopilot_policy_type import DeviceManagementAutopilotPolicyType + from .entity import Entity + writer.write_enum_value("complianceStatus", self.compliance_status) writer.write_str_value("displayName", self.display_name) writer.write_int_value("errorCode", self.error_code) diff --git a/msgraph_beta/generated/models/device_management_boolean_setting_instance.py b/msgraph_beta/generated/models/device_management_boolean_setting_instance.py index c06b506be81..6fb5138258c 100644 --- a/msgraph_beta/generated/models/device_management_boolean_setting_instance.py +++ b/msgraph_beta/generated/models/device_management_boolean_setting_instance.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_management_setting_instance import DeviceManagementSettingInstance + writer.write_bool_value("value", self.value) diff --git a/msgraph_beta/generated/models/device_management_cached_report_configuration.py b/msgraph_beta/generated/models/device_management_cached_report_configuration.py index 5292f7f6b8c..dfeae8372c1 100644 --- a/msgraph_beta/generated/models/device_management_cached_report_configuration.py +++ b/msgraph_beta/generated/models/device_management_cached_report_configuration.py @@ -79,6 +79,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_management_report_status import DeviceManagementReportStatus + from .entity import Entity + writer.write_datetime_value("expirationDateTime", self.expiration_date_time) writer.write_str_value("filter", self.filter) writer.write_datetime_value("lastRefreshDateTime", self.last_refresh_date_time) diff --git a/msgraph_beta/generated/models/device_management_cached_report_configuration_collection_response.py b/msgraph_beta/generated/models/device_management_cached_report_configuration_collection_response.py index 8571ef82739..d07da222ca2 100644 --- a/msgraph_beta/generated/models/device_management_cached_report_configuration_collection_response.py +++ b/msgraph_beta/generated/models/device_management_cached_report_configuration_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .device_management_cached_report_configuration import DeviceManagementCachedReportConfiguration + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/device_management_collection_setting_definition.py b/msgraph_beta/generated/models/device_management_collection_setting_definition.py index e32fd3c3dbb..f87a50e0710 100644 --- a/msgraph_beta/generated/models/device_management_collection_setting_definition.py +++ b/msgraph_beta/generated/models/device_management_collection_setting_definition.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_management_setting_definition import DeviceManagementSettingDefinition + writer.write_str_value("elementDefinitionId", self.element_definition_id) diff --git a/msgraph_beta/generated/models/device_management_collection_setting_instance.py b/msgraph_beta/generated/models/device_management_collection_setting_instance.py index c8b02094e00..c8a38fe48d3 100644 --- a/msgraph_beta/generated/models/device_management_collection_setting_instance.py +++ b/msgraph_beta/generated/models/device_management_collection_setting_instance.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_management_setting_instance import DeviceManagementSettingInstance + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/device_management_complex_setting_definition.py b/msgraph_beta/generated/models/device_management_complex_setting_definition.py index 8c0915d044f..e67516992de 100644 --- a/msgraph_beta/generated/models/device_management_complex_setting_definition.py +++ b/msgraph_beta/generated/models/device_management_complex_setting_definition.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_management_setting_definition import DeviceManagementSettingDefinition + writer.write_collection_of_primitive_values("propertyDefinitionIds", self.property_definition_ids) diff --git a/msgraph_beta/generated/models/device_management_complex_setting_instance.py b/msgraph_beta/generated/models/device_management_complex_setting_instance.py index df9846828a3..13a7b290454 100644 --- a/msgraph_beta/generated/models/device_management_complex_setting_instance.py +++ b/msgraph_beta/generated/models/device_management_complex_setting_instance.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_management_setting_instance import DeviceManagementSettingInstance + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/device_management_compliance_action_item.py b/msgraph_beta/generated/models/device_management_compliance_action_item.py index 4948d4631af..0f64ccfd90e 100644 --- a/msgraph_beta/generated/models/device_management_compliance_action_item.py +++ b/msgraph_beta/generated/models/device_management_compliance_action_item.py @@ -66,6 +66,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_management_compliance_action_type import DeviceManagementComplianceActionType + from .entity import Entity + writer.write_enum_value("actionType", self.action_type) writer.write_int_value("gracePeriodHours", self.grace_period_hours) writer.write_collection_of_primitive_values("notificationMessageCCList", self.notification_message_c_c_list) diff --git a/msgraph_beta/generated/models/device_management_compliance_action_item_collection_response.py b/msgraph_beta/generated/models/device_management_compliance_action_item_collection_response.py index a73d049ec9e..6d5a5302e71 100644 --- a/msgraph_beta/generated/models/device_management_compliance_action_item_collection_response.py +++ b/msgraph_beta/generated/models/device_management_compliance_action_item_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .device_management_compliance_action_item import DeviceManagementComplianceActionItem + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/device_management_compliance_policy.py b/msgraph_beta/generated/models/device_management_compliance_policy.py index 82ba4690abb..6f18c4e8b7b 100644 --- a/msgraph_beta/generated/models/device_management_compliance_policy.py +++ b/msgraph_beta/generated/models/device_management_compliance_policy.py @@ -106,6 +106,13 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_management_compliance_scheduled_action_for_rule import DeviceManagementComplianceScheduledActionForRule + from .device_management_configuration_platforms import DeviceManagementConfigurationPlatforms + from .device_management_configuration_policy_assignment import DeviceManagementConfigurationPolicyAssignment + from .device_management_configuration_setting import DeviceManagementConfigurationSetting + from .device_management_configuration_technologies import DeviceManagementConfigurationTechnologies + from .entity import Entity + writer.write_collection_of_object_values("assignments", self.assignments) writer.write_str_value("creationSource", self.creation_source) writer.write_str_value("description", self.description) diff --git a/msgraph_beta/generated/models/device_management_compliance_policy_collection_response.py b/msgraph_beta/generated/models/device_management_compliance_policy_collection_response.py index a6b71fc2268..95a7c675f40 100644 --- a/msgraph_beta/generated/models/device_management_compliance_policy_collection_response.py +++ b/msgraph_beta/generated/models/device_management_compliance_policy_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .device_management_compliance_policy import DeviceManagementCompliancePolicy + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/device_management_compliance_scheduled_action_for_rule.py b/msgraph_beta/generated/models/device_management_compliance_scheduled_action_for_rule.py index b7aabee5b2a..f0ca95e32c2 100644 --- a/msgraph_beta/generated/models/device_management_compliance_scheduled_action_for_rule.py +++ b/msgraph_beta/generated/models/device_management_compliance_scheduled_action_for_rule.py @@ -60,6 +60,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_management_compliance_action_item import DeviceManagementComplianceActionItem + from .entity import Entity + writer.write_str_value("ruleName", self.rule_name) writer.write_collection_of_object_values("scheduledActionConfigurations", self.scheduled_action_configurations) diff --git a/msgraph_beta/generated/models/device_management_compliance_scheduled_action_for_rule_collection_response.py b/msgraph_beta/generated/models/device_management_compliance_scheduled_action_for_rule_collection_response.py index c070acc7daa..47a561d8dd9 100644 --- a/msgraph_beta/generated/models/device_management_compliance_scheduled_action_for_rule_collection_response.py +++ b/msgraph_beta/generated/models/device_management_compliance_scheduled_action_for_rule_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .device_management_compliance_scheduled_action_for_rule import DeviceManagementComplianceScheduledActionForRule + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/device_management_configuration_application_setting_applicability.py b/msgraph_beta/generated/models/device_management_configuration_application_setting_applicability.py index 8ce320e447d..8d7db67b539 100644 --- a/msgraph_beta/generated/models/device_management_configuration_application_setting_applicability.py +++ b/msgraph_beta/generated/models/device_management_configuration_application_setting_applicability.py @@ -51,5 +51,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_management_configuration_setting_applicability import DeviceManagementConfigurationSettingApplicability + diff --git a/msgraph_beta/generated/models/device_management_configuration_category.py b/msgraph_beta/generated/models/device_management_configuration_category.py index a2402d0c99d..3d7bfa0d966 100644 --- a/msgraph_beta/generated/models/device_management_configuration_category.py +++ b/msgraph_beta/generated/models/device_management_configuration_category.py @@ -93,6 +93,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_management_configuration_platforms import DeviceManagementConfigurationPlatforms + from .device_management_configuration_setting_usage import DeviceManagementConfigurationSettingUsage + from .device_management_configuration_technologies import DeviceManagementConfigurationTechnologies + from .entity import Entity + writer.write_str_value("categoryDescription", self.category_description) writer.write_collection_of_primitive_values("childCategoryIds", self.child_category_ids) writer.write_str_value("description", self.description) diff --git a/msgraph_beta/generated/models/device_management_configuration_category_collection_response.py b/msgraph_beta/generated/models/device_management_configuration_category_collection_response.py index a96810e731c..2361b13159d 100644 --- a/msgraph_beta/generated/models/device_management_configuration_category_collection_response.py +++ b/msgraph_beta/generated/models/device_management_configuration_category_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .device_management_configuration_category import DeviceManagementConfigurationCategory + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/device_management_configuration_choice_setting_collection_definition.py b/msgraph_beta/generated/models/device_management_configuration_choice_setting_collection_definition.py index 3c707ad2a78..ce89b89475a 100644 --- a/msgraph_beta/generated/models/device_management_configuration_choice_setting_collection_definition.py +++ b/msgraph_beta/generated/models/device_management_configuration_choice_setting_collection_definition.py @@ -10,9 +10,9 @@ @dataclass class DeviceManagementConfigurationChoiceSettingCollectionDefinition(DeviceManagementConfigurationChoiceSettingDefinition): - # Maximum number of choices in the collection + # Maximum number of choices in the collection. Valid values 1 to 100 maximum_count: Optional[int] = None - # Minimum number of choices in the collection + # Minimum number of choices in the collection. Valid values 1 to 100 minimum_count: Optional[int] = None # The OdataType property odata_type: Optional[str] = None @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_management_configuration_choice_setting_definition import DeviceManagementConfigurationChoiceSettingDefinition + writer.write_int_value("maximumCount", self.maximum_count) writer.write_int_value("minimumCount", self.minimum_count) diff --git a/msgraph_beta/generated/models/device_management_configuration_choice_setting_collection_instance.py b/msgraph_beta/generated/models/device_management_configuration_choice_setting_collection_instance.py index 10d77d61de4..2a33bb489d9 100644 --- a/msgraph_beta/generated/models/device_management_configuration_choice_setting_collection_instance.py +++ b/msgraph_beta/generated/models/device_management_configuration_choice_setting_collection_instance.py @@ -57,6 +57,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_management_configuration_choice_setting_value import DeviceManagementConfigurationChoiceSettingValue + from .device_management_configuration_setting_instance import DeviceManagementConfigurationSettingInstance + writer.write_collection_of_object_values("choiceSettingCollectionValue", self.choice_setting_collection_value) diff --git a/msgraph_beta/generated/models/device_management_configuration_choice_setting_collection_instance_template.py b/msgraph_beta/generated/models/device_management_configuration_choice_setting_collection_instance_template.py index 794ec8521be..d884126cac4 100644 --- a/msgraph_beta/generated/models/device_management_configuration_choice_setting_collection_instance_template.py +++ b/msgraph_beta/generated/models/device_management_configuration_choice_setting_collection_instance_template.py @@ -60,6 +60,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_management_configuration_choice_setting_value_template import DeviceManagementConfigurationChoiceSettingValueTemplate + from .device_management_configuration_setting_instance_template import DeviceManagementConfigurationSettingInstanceTemplate + writer.write_bool_value("allowUnmanagedValues", self.allow_unmanaged_values) writer.write_collection_of_object_values("choiceSettingCollectionValueTemplate", self.choice_setting_collection_value_template) diff --git a/msgraph_beta/generated/models/device_management_configuration_choice_setting_definition.py b/msgraph_beta/generated/models/device_management_configuration_choice_setting_definition.py index b4bd7050803..4825d10cf20 100644 --- a/msgraph_beta/generated/models/device_management_configuration_choice_setting_definition.py +++ b/msgraph_beta/generated/models/device_management_configuration_choice_setting_definition.py @@ -12,11 +12,11 @@ @dataclass class DeviceManagementConfigurationChoiceSettingDefinition(DeviceManagementConfigurationSettingDefinition): - # Default option for choice setting + # Default option for the choice setting. default_option_id: Optional[str] = None # The OdataType property odata_type: Optional[str] = None - # Options for the setting that can be selected + # Options for the setting that can be selected. options: Optional[List[DeviceManagementConfigurationOptionDefinition]] = None @staticmethod @@ -29,7 +29,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> DeviceManagementCo if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.deviceManagementConfigurationChoiceSettingCollectionDefinition".casefold(): @@ -68,6 +69,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_management_configuration_choice_setting_collection_definition import DeviceManagementConfigurationChoiceSettingCollectionDefinition + from .device_management_configuration_option_definition import DeviceManagementConfigurationOptionDefinition + from .device_management_configuration_setting_definition import DeviceManagementConfigurationSettingDefinition + writer.write_str_value("defaultOptionId", self.default_option_id) writer.write_collection_of_object_values("options", self.options) diff --git a/msgraph_beta/generated/models/device_management_configuration_choice_setting_instance.py b/msgraph_beta/generated/models/device_management_configuration_choice_setting_instance.py index e17e2389375..18441996a9d 100644 --- a/msgraph_beta/generated/models/device_management_configuration_choice_setting_instance.py +++ b/msgraph_beta/generated/models/device_management_configuration_choice_setting_instance.py @@ -57,6 +57,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_management_configuration_choice_setting_value import DeviceManagementConfigurationChoiceSettingValue + from .device_management_configuration_setting_instance import DeviceManagementConfigurationSettingInstance + writer.write_object_value("choiceSettingValue", self.choice_setting_value) diff --git a/msgraph_beta/generated/models/device_management_configuration_choice_setting_instance_template.py b/msgraph_beta/generated/models/device_management_configuration_choice_setting_instance_template.py index d8b9716cadc..9d872031c67 100644 --- a/msgraph_beta/generated/models/device_management_configuration_choice_setting_instance_template.py +++ b/msgraph_beta/generated/models/device_management_configuration_choice_setting_instance_template.py @@ -57,6 +57,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_management_configuration_choice_setting_value_template import DeviceManagementConfigurationChoiceSettingValueTemplate + from .device_management_configuration_setting_instance_template import DeviceManagementConfigurationSettingInstanceTemplate + writer.write_object_value("choiceSettingValueTemplate", self.choice_setting_value_template) diff --git a/msgraph_beta/generated/models/device_management_configuration_choice_setting_value.py b/msgraph_beta/generated/models/device_management_configuration_choice_setting_value.py index 3986d55fc57..9622267cef6 100644 --- a/msgraph_beta/generated/models/device_management_configuration_choice_setting_value.py +++ b/msgraph_beta/generated/models/device_management_configuration_choice_setting_value.py @@ -60,6 +60,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_management_configuration_setting_instance import DeviceManagementConfigurationSettingInstance + from .device_management_configuration_setting_value import DeviceManagementConfigurationSettingValue + writer.write_collection_of_object_values("children", self.children) writer.write_str_value("value", self.value) diff --git a/msgraph_beta/generated/models/device_management_configuration_choice_setting_value_constant_default_template.py b/msgraph_beta/generated/models/device_management_configuration_choice_setting_value_constant_default_template.py index 63843bceda9..06c851a9630 100644 --- a/msgraph_beta/generated/models/device_management_configuration_choice_setting_value_constant_default_template.py +++ b/msgraph_beta/generated/models/device_management_configuration_choice_setting_value_constant_default_template.py @@ -60,6 +60,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_management_configuration_choice_setting_value_default_template import DeviceManagementConfigurationChoiceSettingValueDefaultTemplate + from .device_management_configuration_setting_instance_template import DeviceManagementConfigurationSettingInstanceTemplate + writer.write_collection_of_object_values("children", self.children) writer.write_str_value("settingDefinitionOptionId", self.setting_definition_option_id) diff --git a/msgraph_beta/generated/models/device_management_configuration_choice_setting_value_default_template.py b/msgraph_beta/generated/models/device_management_configuration_choice_setting_value_default_template.py index 161ed128786..e854b78dbbd 100644 --- a/msgraph_beta/generated/models/device_management_configuration_choice_setting_value_default_template.py +++ b/msgraph_beta/generated/models/device_management_configuration_choice_setting_value_default_template.py @@ -30,7 +30,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> DeviceManagementCo if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.deviceManagementConfigurationChoiceSettingValueConstantDefaultTemplate".casefold(): @@ -61,6 +62,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .device_management_configuration_choice_setting_value_constant_default_template import DeviceManagementConfigurationChoiceSettingValueConstantDefaultTemplate + writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/device_management_configuration_choice_setting_value_definition_template.py b/msgraph_beta/generated/models/device_management_configuration_choice_setting_value_definition_template.py index 8136b64a837..502e21e09bf 100644 --- a/msgraph_beta/generated/models/device_management_configuration_choice_setting_value_definition_template.py +++ b/msgraph_beta/generated/models/device_management_configuration_choice_setting_value_definition_template.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .device_management_configuration_option_definition_template import DeviceManagementConfigurationOptionDefinitionTemplate + writer.write_collection_of_object_values("allowedOptions", self.allowed_options) writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/device_management_configuration_choice_setting_value_template.py b/msgraph_beta/generated/models/device_management_configuration_choice_setting_value_template.py index 5f083e59934..ce9d10bc7d9 100644 --- a/msgraph_beta/generated/models/device_management_configuration_choice_setting_value_template.py +++ b/msgraph_beta/generated/models/device_management_configuration_choice_setting_value_template.py @@ -68,6 +68,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .device_management_configuration_choice_setting_value_default_template import DeviceManagementConfigurationChoiceSettingValueDefaultTemplate + from .device_management_configuration_choice_setting_value_definition_template import DeviceManagementConfigurationChoiceSettingValueDefinitionTemplate + writer.write_object_value("defaultValue", self.default_value) writer.write_str_value("@odata.type", self.odata_type) writer.write_object_value("recommendedValueDefinition", self.recommended_value_definition) diff --git a/msgraph_beta/generated/models/device_management_configuration_exchange_online_setting_applicability.py b/msgraph_beta/generated/models/device_management_configuration_exchange_online_setting_applicability.py index b146833314b..8498b6b02d7 100644 --- a/msgraph_beta/generated/models/device_management_configuration_exchange_online_setting_applicability.py +++ b/msgraph_beta/generated/models/device_management_configuration_exchange_online_setting_applicability.py @@ -51,5 +51,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_management_configuration_setting_applicability import DeviceManagementConfigurationSettingApplicability + diff --git a/msgraph_beta/generated/models/device_management_configuration_group_setting_collection_instance.py b/msgraph_beta/generated/models/device_management_configuration_group_setting_collection_instance.py index 5984343404d..de6a84f755a 100644 --- a/msgraph_beta/generated/models/device_management_configuration_group_setting_collection_instance.py +++ b/msgraph_beta/generated/models/device_management_configuration_group_setting_collection_instance.py @@ -57,6 +57,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_management_configuration_group_setting_value import DeviceManagementConfigurationGroupSettingValue + from .device_management_configuration_setting_instance import DeviceManagementConfigurationSettingInstance + writer.write_collection_of_object_values("groupSettingCollectionValue", self.group_setting_collection_value) diff --git a/msgraph_beta/generated/models/device_management_configuration_group_setting_collection_instance_template.py b/msgraph_beta/generated/models/device_management_configuration_group_setting_collection_instance_template.py index 55c94fa5edd..3db3f86e30e 100644 --- a/msgraph_beta/generated/models/device_management_configuration_group_setting_collection_instance_template.py +++ b/msgraph_beta/generated/models/device_management_configuration_group_setting_collection_instance_template.py @@ -60,6 +60,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_management_configuration_group_setting_value_template import DeviceManagementConfigurationGroupSettingValueTemplate + from .device_management_configuration_setting_instance_template import DeviceManagementConfigurationSettingInstanceTemplate + writer.write_bool_value("allowUnmanagedValues", self.allow_unmanaged_values) writer.write_collection_of_object_values("groupSettingCollectionValueTemplate", self.group_setting_collection_value_template) diff --git a/msgraph_beta/generated/models/device_management_configuration_group_setting_instance.py b/msgraph_beta/generated/models/device_management_configuration_group_setting_instance.py index 5cb1d22489b..f38c264dd60 100644 --- a/msgraph_beta/generated/models/device_management_configuration_group_setting_instance.py +++ b/msgraph_beta/generated/models/device_management_configuration_group_setting_instance.py @@ -57,6 +57,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_management_configuration_group_setting_value import DeviceManagementConfigurationGroupSettingValue + from .device_management_configuration_setting_instance import DeviceManagementConfigurationSettingInstance + writer.write_object_value("groupSettingValue", self.group_setting_value) diff --git a/msgraph_beta/generated/models/device_management_configuration_group_setting_instance_template.py b/msgraph_beta/generated/models/device_management_configuration_group_setting_instance_template.py index acdc5dbea61..e139a292fea 100644 --- a/msgraph_beta/generated/models/device_management_configuration_group_setting_instance_template.py +++ b/msgraph_beta/generated/models/device_management_configuration_group_setting_instance_template.py @@ -57,6 +57,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_management_configuration_group_setting_value_template import DeviceManagementConfigurationGroupSettingValueTemplate + from .device_management_configuration_setting_instance_template import DeviceManagementConfigurationSettingInstanceTemplate + writer.write_object_value("groupSettingValueTemplate", self.group_setting_value_template) diff --git a/msgraph_beta/generated/models/device_management_configuration_group_setting_value.py b/msgraph_beta/generated/models/device_management_configuration_group_setting_value.py index 59f56346f79..a0816eccabd 100644 --- a/msgraph_beta/generated/models/device_management_configuration_group_setting_value.py +++ b/msgraph_beta/generated/models/device_management_configuration_group_setting_value.py @@ -57,6 +57,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_management_configuration_setting_instance import DeviceManagementConfigurationSettingInstance + from .device_management_configuration_setting_value import DeviceManagementConfigurationSettingValue + writer.write_collection_of_object_values("children", self.children) diff --git a/msgraph_beta/generated/models/device_management_configuration_group_setting_value_template.py b/msgraph_beta/generated/models/device_management_configuration_group_setting_value_template.py index 87db902d9e4..8a6b9ef769f 100644 --- a/msgraph_beta/generated/models/device_management_configuration_group_setting_value_template.py +++ b/msgraph_beta/generated/models/device_management_configuration_group_setting_value_template.py @@ -59,6 +59,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .device_management_configuration_setting_instance_template import DeviceManagementConfigurationSettingInstanceTemplate + writer.write_collection_of_object_values("children", self.children) writer.write_str_value("@odata.type", self.odata_type) writer.write_str_value("settingValueTemplateId", self.setting_value_template_id) diff --git a/msgraph_beta/generated/models/device_management_configuration_integer_setting_value.py b/msgraph_beta/generated/models/device_management_configuration_integer_setting_value.py index 72c426c5f7f..55340755f72 100644 --- a/msgraph_beta/generated/models/device_management_configuration_integer_setting_value.py +++ b/msgraph_beta/generated/models/device_management_configuration_integer_setting_value.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_management_configuration_simple_setting_value import DeviceManagementConfigurationSimpleSettingValue + writer.write_int_value("value", self.value) diff --git a/msgraph_beta/generated/models/device_management_configuration_integer_setting_value_constant_default_template.py b/msgraph_beta/generated/models/device_management_configuration_integer_setting_value_constant_default_template.py index 3cf64b3510f..83d81e497a4 100644 --- a/msgraph_beta/generated/models/device_management_configuration_integer_setting_value_constant_default_template.py +++ b/msgraph_beta/generated/models/device_management_configuration_integer_setting_value_constant_default_template.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_management_configuration_integer_setting_value_default_template import DeviceManagementConfigurationIntegerSettingValueDefaultTemplate + writer.write_int_value("constantValue", self.constant_value) diff --git a/msgraph_beta/generated/models/device_management_configuration_integer_setting_value_default_template.py b/msgraph_beta/generated/models/device_management_configuration_integer_setting_value_default_template.py index f786d275fcc..da744c0a667 100644 --- a/msgraph_beta/generated/models/device_management_configuration_integer_setting_value_default_template.py +++ b/msgraph_beta/generated/models/device_management_configuration_integer_setting_value_default_template.py @@ -30,7 +30,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> DeviceManagementCo if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.deviceManagementConfigurationIntegerSettingValueConstantDefaultTemplate".casefold(): @@ -61,6 +62,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .device_management_configuration_integer_setting_value_constant_default_template import DeviceManagementConfigurationIntegerSettingValueConstantDefaultTemplate + writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/device_management_configuration_integer_setting_value_definition.py b/msgraph_beta/generated/models/device_management_configuration_integer_setting_value_definition.py index d7476b18a61..f060f346dcd 100644 --- a/msgraph_beta/generated/models/device_management_configuration_integer_setting_value_definition.py +++ b/msgraph_beta/generated/models/device_management_configuration_integer_setting_value_definition.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_management_configuration_setting_value_definition import DeviceManagementConfigurationSettingValueDefinition + writer.write_int_value("maximumValue", self.maximum_value) writer.write_int_value("minimumValue", self.minimum_value) diff --git a/msgraph_beta/generated/models/device_management_configuration_integer_setting_value_template.py b/msgraph_beta/generated/models/device_management_configuration_integer_setting_value_template.py index 3e553cba888..fdbea165a86 100644 --- a/msgraph_beta/generated/models/device_management_configuration_integer_setting_value_template.py +++ b/msgraph_beta/generated/models/device_management_configuration_integer_setting_value_template.py @@ -66,6 +66,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_management_configuration_integer_setting_value_default_template import DeviceManagementConfigurationIntegerSettingValueDefaultTemplate + from .device_management_configuration_integer_setting_value_definition_template import DeviceManagementConfigurationIntegerSettingValueDefinitionTemplate + from .device_management_configuration_simple_setting_value_template import DeviceManagementConfigurationSimpleSettingValueTemplate + writer.write_object_value("defaultValue", self.default_value) writer.write_object_value("recommendedValueDefinition", self.recommended_value_definition) writer.write_object_value("requiredValueDefinition", self.required_value_definition) diff --git a/msgraph_beta/generated/models/device_management_configuration_option_definition.py b/msgraph_beta/generated/models/device_management_configuration_option_definition.py index 590c5f00fd8..f014820ea9b 100644 --- a/msgraph_beta/generated/models/device_management_configuration_option_definition.py +++ b/msgraph_beta/generated/models/device_management_configuration_option_definition.py @@ -80,6 +80,10 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .device_management_configuration_dependent_on import DeviceManagementConfigurationDependentOn + from .device_management_configuration_setting_depended_on_by import DeviceManagementConfigurationSettingDependedOnBy + from .device_management_configuration_setting_value import DeviceManagementConfigurationSettingValue + writer.write_collection_of_object_values("dependedOnBy", self.depended_on_by) writer.write_collection_of_object_values("dependentOn", self.dependent_on) writer.write_str_value("description", self.description) diff --git a/msgraph_beta/generated/models/device_management_configuration_option_definition_template.py b/msgraph_beta/generated/models/device_management_configuration_option_definition_template.py index f76c4b7c42f..6ea35c31351 100644 --- a/msgraph_beta/generated/models/device_management_configuration_option_definition_template.py +++ b/msgraph_beta/generated/models/device_management_configuration_option_definition_template.py @@ -59,6 +59,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .device_management_configuration_setting_instance_template import DeviceManagementConfigurationSettingInstanceTemplate + writer.write_collection_of_object_values("children", self.children) writer.write_str_value("itemId", self.item_id) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/device_management_configuration_policy.py b/msgraph_beta/generated/models/device_management_configuration_policy.py index 096939b09a6..0c3b3462bb7 100644 --- a/msgraph_beta/generated/models/device_management_configuration_policy.py +++ b/msgraph_beta/generated/models/device_management_configuration_policy.py @@ -112,6 +112,14 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_management_configuration_platforms import DeviceManagementConfigurationPlatforms + from .device_management_configuration_policy_assignment import DeviceManagementConfigurationPolicyAssignment + from .device_management_configuration_policy_template_reference import DeviceManagementConfigurationPolicyTemplateReference + from .device_management_configuration_setting import DeviceManagementConfigurationSetting + from .device_management_configuration_technologies import DeviceManagementConfigurationTechnologies + from .device_management_priority_meta_data import DeviceManagementPriorityMetaData + from .entity import Entity + writer.write_collection_of_object_values("assignments", self.assignments) writer.write_datetime_value("createdDateTime", self.created_date_time) writer.write_str_value("creationSource", self.creation_source) diff --git a/msgraph_beta/generated/models/device_management_configuration_policy_assignment.py b/msgraph_beta/generated/models/device_management_configuration_policy_assignment.py index 34965cfee7e..bd63a614bcc 100644 --- a/msgraph_beta/generated/models/device_management_configuration_policy_assignment.py +++ b/msgraph_beta/generated/models/device_management_configuration_policy_assignment.py @@ -66,6 +66,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_and_app_management_assignment_source import DeviceAndAppManagementAssignmentSource + from .device_and_app_management_assignment_target import DeviceAndAppManagementAssignmentTarget + from .entity import Entity + writer.write_enum_value("source", self.source) writer.write_str_value("sourceId", self.source_id) writer.write_object_value("target", self.target) diff --git a/msgraph_beta/generated/models/device_management_configuration_policy_assignment_collection_response.py b/msgraph_beta/generated/models/device_management_configuration_policy_assignment_collection_response.py index 813cf43544e..d50d7ef1b75 100644 --- a/msgraph_beta/generated/models/device_management_configuration_policy_assignment_collection_response.py +++ b/msgraph_beta/generated/models/device_management_configuration_policy_assignment_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .device_management_configuration_policy_assignment import DeviceManagementConfigurationPolicyAssignment + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/device_management_configuration_policy_collection_response.py b/msgraph_beta/generated/models/device_management_configuration_policy_collection_response.py index 02451c924c8..4b44ab63eaa 100644 --- a/msgraph_beta/generated/models/device_management_configuration_policy_collection_response.py +++ b/msgraph_beta/generated/models/device_management_configuration_policy_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .device_management_configuration_policy import DeviceManagementConfigurationPolicy + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/device_management_configuration_policy_policy_set_item.py b/msgraph_beta/generated/models/device_management_configuration_policy_policy_set_item.py index cd313afeb9e..e55d3182fbb 100644 --- a/msgraph_beta/generated/models/device_management_configuration_policy_policy_set_item.py +++ b/msgraph_beta/generated/models/device_management_configuration_policy_policy_set_item.py @@ -51,5 +51,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .policy_set_item import PolicySetItem + diff --git a/msgraph_beta/generated/models/device_management_configuration_policy_template.py b/msgraph_beta/generated/models/device_management_configuration_policy_template.py index 3ad4acb5429..665e686a275 100644 --- a/msgraph_beta/generated/models/device_management_configuration_policy_template.py +++ b/msgraph_beta/generated/models/device_management_configuration_policy_template.py @@ -102,6 +102,13 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_management_configuration_platforms import DeviceManagementConfigurationPlatforms + from .device_management_configuration_setting_template import DeviceManagementConfigurationSettingTemplate + from .device_management_configuration_technologies import DeviceManagementConfigurationTechnologies + from .device_management_configuration_template_family import DeviceManagementConfigurationTemplateFamily + from .device_management_template_lifecycle_state import DeviceManagementTemplateLifecycleState + from .entity import Entity + writer.write_bool_value("allowUnmanagedSettings", self.allow_unmanaged_settings) writer.write_str_value("baseId", self.base_id) writer.write_str_value("description", self.description) diff --git a/msgraph_beta/generated/models/device_management_configuration_policy_template_collection_response.py b/msgraph_beta/generated/models/device_management_configuration_policy_template_collection_response.py index 670ec679de6..fcb80488dc3 100644 --- a/msgraph_beta/generated/models/device_management_configuration_policy_template_collection_response.py +++ b/msgraph_beta/generated/models/device_management_configuration_policy_template_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .device_management_configuration_policy_template import DeviceManagementConfigurationPolicyTemplate + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/device_management_configuration_policy_template_reference.py b/msgraph_beta/generated/models/device_management_configuration_policy_template_reference.py index 72c047d0da9..0f3782f0b89 100644 --- a/msgraph_beta/generated/models/device_management_configuration_policy_template_reference.py +++ b/msgraph_beta/generated/models/device_management_configuration_policy_template_reference.py @@ -65,6 +65,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .device_management_configuration_template_family import DeviceManagementConfigurationTemplateFamily + writer.write_str_value("@odata.type", self.odata_type) writer.write_enum_value("templateFamily", self.template_family) writer.write_str_value("templateId", self.template_id) diff --git a/msgraph_beta/generated/models/device_management_configuration_redirect_setting_definition.py b/msgraph_beta/generated/models/device_management_configuration_redirect_setting_definition.py index 51def09ed18..19429f8cd9f 100644 --- a/msgraph_beta/generated/models/device_management_configuration_redirect_setting_definition.py +++ b/msgraph_beta/generated/models/device_management_configuration_redirect_setting_definition.py @@ -57,6 +57,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_management_configuration_setting_definition import DeviceManagementConfigurationSettingDefinition + writer.write_str_value("deepLink", self.deep_link) writer.write_str_value("redirectMessage", self.redirect_message) writer.write_str_value("redirectReason", self.redirect_reason) diff --git a/msgraph_beta/generated/models/device_management_configuration_reference_setting_value.py b/msgraph_beta/generated/models/device_management_configuration_reference_setting_value.py index 2c45cd7fe1d..86bf7a12346 100644 --- a/msgraph_beta/generated/models/device_management_configuration_reference_setting_value.py +++ b/msgraph_beta/generated/models/device_management_configuration_reference_setting_value.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_management_configuration_string_setting_value import DeviceManagementConfigurationStringSettingValue + writer.write_str_value("note", self.note) diff --git a/msgraph_beta/generated/models/device_management_configuration_secret_setting_value.py b/msgraph_beta/generated/models/device_management_configuration_secret_setting_value.py index 3569c8e38b9..b34332e05dc 100644 --- a/msgraph_beta/generated/models/device_management_configuration_secret_setting_value.py +++ b/msgraph_beta/generated/models/device_management_configuration_secret_setting_value.py @@ -60,6 +60,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_management_configuration_secret_setting_value_state import DeviceManagementConfigurationSecretSettingValueState + from .device_management_configuration_simple_setting_value import DeviceManagementConfigurationSimpleSettingValue + writer.write_str_value("value", self.value) writer.write_enum_value("valueState", self.value_state) diff --git a/msgraph_beta/generated/models/device_management_configuration_setting.py b/msgraph_beta/generated/models/device_management_configuration_setting.py index 122935aeac1..2d569adbc50 100644 --- a/msgraph_beta/generated/models/device_management_configuration_setting.py +++ b/msgraph_beta/generated/models/device_management_configuration_setting.py @@ -63,6 +63,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_management_configuration_setting_definition import DeviceManagementConfigurationSettingDefinition + from .device_management_configuration_setting_instance import DeviceManagementConfigurationSettingInstance + from .entity import Entity + writer.write_collection_of_object_values("settingDefinitions", self.setting_definitions) writer.write_object_value("settingInstance", self.setting_instance) diff --git a/msgraph_beta/generated/models/device_management_configuration_setting_applicability.py b/msgraph_beta/generated/models/device_management_configuration_setting_applicability.py index 4ca853a6719..9a600cc62e9 100644 --- a/msgraph_beta/generated/models/device_management_configuration_setting_applicability.py +++ b/msgraph_beta/generated/models/device_management_configuration_setting_applicability.py @@ -40,7 +40,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> DeviceManagementCo if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.deviceManagementConfigurationApplicationSettingApplicability".casefold(): @@ -93,6 +94,13 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .device_management_configuration_application_setting_applicability import DeviceManagementConfigurationApplicationSettingApplicability + from .device_management_configuration_device_mode import DeviceManagementConfigurationDeviceMode + from .device_management_configuration_exchange_online_setting_applicability import DeviceManagementConfigurationExchangeOnlineSettingApplicability + from .device_management_configuration_platforms import DeviceManagementConfigurationPlatforms + from .device_management_configuration_technologies import DeviceManagementConfigurationTechnologies + from .device_management_configuration_windows_setting_applicability import DeviceManagementConfigurationWindowsSettingApplicability + writer.write_str_value("description", self.description) writer.write_enum_value("deviceMode", self.device_mode) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/device_management_configuration_setting_collection_response.py b/msgraph_beta/generated/models/device_management_configuration_setting_collection_response.py index 35886dee713..0fc6c0f41c2 100644 --- a/msgraph_beta/generated/models/device_management_configuration_setting_collection_response.py +++ b/msgraph_beta/generated/models/device_management_configuration_setting_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .device_management_configuration_setting import DeviceManagementConfigurationSetting + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/device_management_configuration_setting_definition.py b/msgraph_beta/generated/models/device_management_configuration_setting_definition.py index 3ef6db48367..646359723bd 100644 --- a/msgraph_beta/generated/models/device_management_configuration_setting_definition.py +++ b/msgraph_beta/generated/models/device_management_configuration_setting_definition.py @@ -26,19 +26,19 @@ class DeviceManagementConfigurationSettingDefinition(Entity): # The accessTypes property access_types: Optional[DeviceManagementConfigurationSettingAccessTypes] = None - # Details which device setting is applicable on. Supports: $filters. + # Details which device setting is applicable on applicability: Optional[DeviceManagementConfigurationSettingApplicability] = None # Base CSP Path base_uri: Optional[str] = None - # Specify category in which the setting is under. Support $filters. + # Specifies the area group under which the setting is configured in a specified configuration service provider (CSP) category_id: Optional[str] = None - # Description of the setting. + # Description of the item description: Optional[str] = None - # Name of the setting. For example: Allow Toast. + # Display name of the item display_name: Optional[str] = None - # Help text of the setting. Give more details of the setting. + # Help text of the item help_text: Optional[str] = None - # List of links more info for the setting can be found at. + # List of links more info for the setting can be found at info_urls: Optional[List[str]] = None # Tokens which to search settings on keywords: Optional[List[str]] = None @@ -52,7 +52,7 @@ class DeviceManagementConfigurationSettingDefinition(Entity): offset_uri: Optional[str] = None # List of referred setting information. referred_setting_information_list: Optional[List[DeviceManagementConfigurationReferredSettingInformation]] = None - # Root setting definition id if the setting is a child setting. + # Root setting definition if the setting is a child setting. root_definition_id: Optional[str] = None # Supported setting types setting_usage: Optional[DeviceManagementConfigurationSettingUsage] = None @@ -73,7 +73,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> DeviceManagementCo if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.deviceManagementConfigurationChoiceSettingCollectionDefinition".casefold(): @@ -176,6 +177,22 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_management_configuration_choice_setting_collection_definition import DeviceManagementConfigurationChoiceSettingCollectionDefinition + from .device_management_configuration_choice_setting_definition import DeviceManagementConfigurationChoiceSettingDefinition + from .device_management_configuration_control_type import DeviceManagementConfigurationControlType + from .device_management_configuration_redirect_setting_definition import DeviceManagementConfigurationRedirectSettingDefinition + from .device_management_configuration_referred_setting_information import DeviceManagementConfigurationReferredSettingInformation + from .device_management_configuration_setting_access_types import DeviceManagementConfigurationSettingAccessTypes + from .device_management_configuration_setting_applicability import DeviceManagementConfigurationSettingApplicability + from .device_management_configuration_setting_group_collection_definition import DeviceManagementConfigurationSettingGroupCollectionDefinition + from .device_management_configuration_setting_group_definition import DeviceManagementConfigurationSettingGroupDefinition + from .device_management_configuration_setting_occurrence import DeviceManagementConfigurationSettingOccurrence + from .device_management_configuration_setting_usage import DeviceManagementConfigurationSettingUsage + from .device_management_configuration_setting_visibility import DeviceManagementConfigurationSettingVisibility + from .device_management_configuration_simple_setting_collection_definition import DeviceManagementConfigurationSimpleSettingCollectionDefinition + from .device_management_configuration_simple_setting_definition import DeviceManagementConfigurationSimpleSettingDefinition + from .entity import Entity + writer.write_enum_value("accessTypes", self.access_types) writer.write_object_value("applicability", self.applicability) writer.write_str_value("baseUri", self.base_uri) diff --git a/msgraph_beta/generated/models/device_management_configuration_setting_definition_collection_response.py b/msgraph_beta/generated/models/device_management_configuration_setting_definition_collection_response.py index 6c888de4c73..7498960bd26 100644 --- a/msgraph_beta/generated/models/device_management_configuration_setting_definition_collection_response.py +++ b/msgraph_beta/generated/models/device_management_configuration_setting_definition_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .device_management_configuration_setting_definition import DeviceManagementConfigurationSettingDefinition + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/device_management_configuration_setting_group_collection_definition.py b/msgraph_beta/generated/models/device_management_configuration_setting_group_collection_definition.py index 9249ce19017..6123b5cb49c 100644 --- a/msgraph_beta/generated/models/device_management_configuration_setting_group_collection_definition.py +++ b/msgraph_beta/generated/models/device_management_configuration_setting_group_collection_definition.py @@ -10,9 +10,9 @@ @dataclass class DeviceManagementConfigurationSettingGroupCollectionDefinition(DeviceManagementConfigurationSettingGroupDefinition): - # Maximum number of setting group count in the collection + # Maximum number of setting group count in the collection. Valid values 1 to 100 maximum_count: Optional[int] = None - # Minimum number of setting group count in the collection + # Minimum number of setting group count in the collection. Valid values 1 to 100 minimum_count: Optional[int] = None # The OdataType property odata_type: Optional[str] = None @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_management_configuration_setting_group_definition import DeviceManagementConfigurationSettingGroupDefinition + writer.write_int_value("maximumCount", self.maximum_count) writer.write_int_value("minimumCount", self.minimum_count) diff --git a/msgraph_beta/generated/models/device_management_configuration_setting_group_collection_instance.py b/msgraph_beta/generated/models/device_management_configuration_setting_group_collection_instance.py index 624f9428df0..6ac364b136b 100644 --- a/msgraph_beta/generated/models/device_management_configuration_setting_group_collection_instance.py +++ b/msgraph_beta/generated/models/device_management_configuration_setting_group_collection_instance.py @@ -51,5 +51,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_management_configuration_setting_instance import DeviceManagementConfigurationSettingInstance + diff --git a/msgraph_beta/generated/models/device_management_configuration_setting_group_definition.py b/msgraph_beta/generated/models/device_management_configuration_setting_group_definition.py index 37042d325aa..360f45ace98 100644 --- a/msgraph_beta/generated/models/device_management_configuration_setting_group_definition.py +++ b/msgraph_beta/generated/models/device_management_configuration_setting_group_definition.py @@ -32,7 +32,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> DeviceManagementCo if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.deviceManagementConfigurationSettingGroupCollectionDefinition".casefold(): @@ -74,6 +75,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_management_configuration_dependent_on import DeviceManagementConfigurationDependentOn + from .device_management_configuration_setting_definition import DeviceManagementConfigurationSettingDefinition + from .device_management_configuration_setting_depended_on_by import DeviceManagementConfigurationSettingDependedOnBy + from .device_management_configuration_setting_group_collection_definition import DeviceManagementConfigurationSettingGroupCollectionDefinition + writer.write_collection_of_primitive_values("childIds", self.child_ids) writer.write_collection_of_object_values("dependedOnBy", self.depended_on_by) writer.write_collection_of_object_values("dependentOn", self.dependent_on) diff --git a/msgraph_beta/generated/models/device_management_configuration_setting_group_instance.py b/msgraph_beta/generated/models/device_management_configuration_setting_group_instance.py index 657bad801e7..72c3508fd56 100644 --- a/msgraph_beta/generated/models/device_management_configuration_setting_group_instance.py +++ b/msgraph_beta/generated/models/device_management_configuration_setting_group_instance.py @@ -51,5 +51,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_management_configuration_setting_instance import DeviceManagementConfigurationSettingInstance + diff --git a/msgraph_beta/generated/models/device_management_configuration_setting_instance.py b/msgraph_beta/generated/models/device_management_configuration_setting_instance.py index 787336e85ec..8192ce4dbeb 100644 --- a/msgraph_beta/generated/models/device_management_configuration_setting_instance.py +++ b/msgraph_beta/generated/models/device_management_configuration_setting_instance.py @@ -42,7 +42,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> DeviceManagementCo if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.deviceManagementConfigurationChoiceSettingCollectionInstance".casefold(): @@ -119,6 +120,16 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .device_management_configuration_choice_setting_collection_instance import DeviceManagementConfigurationChoiceSettingCollectionInstance + from .device_management_configuration_choice_setting_instance import DeviceManagementConfigurationChoiceSettingInstance + from .device_management_configuration_group_setting_collection_instance import DeviceManagementConfigurationGroupSettingCollectionInstance + from .device_management_configuration_group_setting_instance import DeviceManagementConfigurationGroupSettingInstance + from .device_management_configuration_setting_group_collection_instance import DeviceManagementConfigurationSettingGroupCollectionInstance + from .device_management_configuration_setting_group_instance import DeviceManagementConfigurationSettingGroupInstance + from .device_management_configuration_setting_instance_template_reference import DeviceManagementConfigurationSettingInstanceTemplateReference + from .device_management_configuration_simple_setting_collection_instance import DeviceManagementConfigurationSimpleSettingCollectionInstance + from .device_management_configuration_simple_setting_instance import DeviceManagementConfigurationSimpleSettingInstance + writer.write_str_value("@odata.type", self.odata_type) writer.write_str_value("settingDefinitionId", self.setting_definition_id) writer.write_object_value("settingInstanceTemplateReference", self.setting_instance_template_reference) diff --git a/msgraph_beta/generated/models/device_management_configuration_setting_instance_template.py b/msgraph_beta/generated/models/device_management_configuration_setting_instance_template.py index 799c070b492..67e84104a22 100644 --- a/msgraph_beta/generated/models/device_management_configuration_setting_instance_template.py +++ b/msgraph_beta/generated/models/device_management_configuration_setting_instance_template.py @@ -41,7 +41,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> DeviceManagementCo if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.deviceManagementConfigurationChoiceSettingCollectionInstanceTemplate".casefold(): @@ -105,6 +106,13 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .device_management_configuration_choice_setting_collection_instance_template import DeviceManagementConfigurationChoiceSettingCollectionInstanceTemplate + from .device_management_configuration_choice_setting_instance_template import DeviceManagementConfigurationChoiceSettingInstanceTemplate + from .device_management_configuration_group_setting_collection_instance_template import DeviceManagementConfigurationGroupSettingCollectionInstanceTemplate + from .device_management_configuration_group_setting_instance_template import DeviceManagementConfigurationGroupSettingInstanceTemplate + from .device_management_configuration_simple_setting_collection_instance_template import DeviceManagementConfigurationSimpleSettingCollectionInstanceTemplate + from .device_management_configuration_simple_setting_instance_template import DeviceManagementConfigurationSimpleSettingInstanceTemplate + writer.write_bool_value("isRequired", self.is_required) writer.write_str_value("@odata.type", self.odata_type) writer.write_str_value("settingDefinitionId", self.setting_definition_id) diff --git a/msgraph_beta/generated/models/device_management_configuration_setting_template.py b/msgraph_beta/generated/models/device_management_configuration_setting_template.py index 5bc5109a528..ea400aa215e 100644 --- a/msgraph_beta/generated/models/device_management_configuration_setting_template.py +++ b/msgraph_beta/generated/models/device_management_configuration_setting_template.py @@ -63,6 +63,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_management_configuration_setting_definition import DeviceManagementConfigurationSettingDefinition + from .device_management_configuration_setting_instance_template import DeviceManagementConfigurationSettingInstanceTemplate + from .entity import Entity + writer.write_collection_of_object_values("settingDefinitions", self.setting_definitions) writer.write_object_value("settingInstanceTemplate", self.setting_instance_template) diff --git a/msgraph_beta/generated/models/device_management_configuration_setting_template_collection_response.py b/msgraph_beta/generated/models/device_management_configuration_setting_template_collection_response.py index e2ad26c4857..f14562ee0f7 100644 --- a/msgraph_beta/generated/models/device_management_configuration_setting_template_collection_response.py +++ b/msgraph_beta/generated/models/device_management_configuration_setting_template_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .device_management_configuration_setting_template import DeviceManagementConfigurationSettingTemplate + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/device_management_configuration_setting_value.py b/msgraph_beta/generated/models/device_management_configuration_setting_value.py index 7e3dc697ae1..c66193bde57 100644 --- a/msgraph_beta/generated/models/device_management_configuration_setting_value.py +++ b/msgraph_beta/generated/models/device_management_configuration_setting_value.py @@ -39,7 +39,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> DeviceManagementCo if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.deviceManagementConfigurationChoiceSettingValue".casefold(): @@ -109,6 +110,15 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .device_management_configuration_choice_setting_value import DeviceManagementConfigurationChoiceSettingValue + from .device_management_configuration_group_setting_value import DeviceManagementConfigurationGroupSettingValue + from .device_management_configuration_integer_setting_value import DeviceManagementConfigurationIntegerSettingValue + from .device_management_configuration_reference_setting_value import DeviceManagementConfigurationReferenceSettingValue + from .device_management_configuration_secret_setting_value import DeviceManagementConfigurationSecretSettingValue + from .device_management_configuration_setting_value_template_reference import DeviceManagementConfigurationSettingValueTemplateReference + from .device_management_configuration_simple_setting_value import DeviceManagementConfigurationSimpleSettingValue + from .device_management_configuration_string_setting_value import DeviceManagementConfigurationStringSettingValue + writer.write_str_value("@odata.type", self.odata_type) writer.write_object_value("settingValueTemplateReference", self.setting_value_template_reference) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/device_management_configuration_setting_value_definition.py b/msgraph_beta/generated/models/device_management_configuration_setting_value_definition.py index f055ccc7ade..e6ca47397cb 100644 --- a/msgraph_beta/generated/models/device_management_configuration_setting_value_definition.py +++ b/msgraph_beta/generated/models/device_management_configuration_setting_value_definition.py @@ -28,7 +28,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> DeviceManagementCo if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.deviceManagementConfigurationIntegerSettingValueDefinition".casefold(): @@ -65,6 +66,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .device_management_configuration_integer_setting_value_definition import DeviceManagementConfigurationIntegerSettingValueDefinition + from .device_management_configuration_string_setting_value_definition import DeviceManagementConfigurationStringSettingValueDefinition + writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/device_management_configuration_simple_setting_collection_definition.py b/msgraph_beta/generated/models/device_management_configuration_simple_setting_collection_definition.py index b88dd7700e1..2513be0100b 100644 --- a/msgraph_beta/generated/models/device_management_configuration_simple_setting_collection_definition.py +++ b/msgraph_beta/generated/models/device_management_configuration_simple_setting_collection_definition.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_management_configuration_simple_setting_definition import DeviceManagementConfigurationSimpleSettingDefinition + writer.write_int_value("maximumCount", self.maximum_count) writer.write_int_value("minimumCount", self.minimum_count) diff --git a/msgraph_beta/generated/models/device_management_configuration_simple_setting_collection_instance.py b/msgraph_beta/generated/models/device_management_configuration_simple_setting_collection_instance.py index 87202edcca2..f09cb9bb0e7 100644 --- a/msgraph_beta/generated/models/device_management_configuration_simple_setting_collection_instance.py +++ b/msgraph_beta/generated/models/device_management_configuration_simple_setting_collection_instance.py @@ -57,6 +57,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_management_configuration_setting_instance import DeviceManagementConfigurationSettingInstance + from .device_management_configuration_simple_setting_value import DeviceManagementConfigurationSimpleSettingValue + writer.write_collection_of_object_values("simpleSettingCollectionValue", self.simple_setting_collection_value) diff --git a/msgraph_beta/generated/models/device_management_configuration_simple_setting_collection_instance_template.py b/msgraph_beta/generated/models/device_management_configuration_simple_setting_collection_instance_template.py index 58ef23af8e6..54ab703c93e 100644 --- a/msgraph_beta/generated/models/device_management_configuration_simple_setting_collection_instance_template.py +++ b/msgraph_beta/generated/models/device_management_configuration_simple_setting_collection_instance_template.py @@ -60,6 +60,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_management_configuration_setting_instance_template import DeviceManagementConfigurationSettingInstanceTemplate + from .device_management_configuration_simple_setting_value_template import DeviceManagementConfigurationSimpleSettingValueTemplate + writer.write_bool_value("allowUnmanagedValues", self.allow_unmanaged_values) writer.write_collection_of_object_values("simpleSettingCollectionValueTemplate", self.simple_setting_collection_value_template) diff --git a/msgraph_beta/generated/models/device_management_configuration_simple_setting_definition.py b/msgraph_beta/generated/models/device_management_configuration_simple_setting_definition.py index 8e5d204e5d6..6a54f77b1de 100644 --- a/msgraph_beta/generated/models/device_management_configuration_simple_setting_definition.py +++ b/msgraph_beta/generated/models/device_management_configuration_simple_setting_definition.py @@ -36,7 +36,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> DeviceManagementCo if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.deviceManagementConfigurationSimpleSettingCollectionDefinition".casefold(): @@ -83,6 +84,13 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_management_configuration_dependent_on import DeviceManagementConfigurationDependentOn + from .device_management_configuration_setting_definition import DeviceManagementConfigurationSettingDefinition + from .device_management_configuration_setting_depended_on_by import DeviceManagementConfigurationSettingDependedOnBy + from .device_management_configuration_setting_value import DeviceManagementConfigurationSettingValue + from .device_management_configuration_setting_value_definition import DeviceManagementConfigurationSettingValueDefinition + from .device_management_configuration_simple_setting_collection_definition import DeviceManagementConfigurationSimpleSettingCollectionDefinition + writer.write_object_value("defaultValue", self.default_value) writer.write_collection_of_object_values("dependedOnBy", self.depended_on_by) writer.write_collection_of_object_values("dependentOn", self.dependent_on) diff --git a/msgraph_beta/generated/models/device_management_configuration_simple_setting_instance.py b/msgraph_beta/generated/models/device_management_configuration_simple_setting_instance.py index 025b7cdc847..1f0c46a739d 100644 --- a/msgraph_beta/generated/models/device_management_configuration_simple_setting_instance.py +++ b/msgraph_beta/generated/models/device_management_configuration_simple_setting_instance.py @@ -57,6 +57,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_management_configuration_setting_instance import DeviceManagementConfigurationSettingInstance + from .device_management_configuration_simple_setting_value import DeviceManagementConfigurationSimpleSettingValue + writer.write_object_value("simpleSettingValue", self.simple_setting_value) diff --git a/msgraph_beta/generated/models/device_management_configuration_simple_setting_instance_template.py b/msgraph_beta/generated/models/device_management_configuration_simple_setting_instance_template.py index ad16e4b72e2..3911b4bf8bc 100644 --- a/msgraph_beta/generated/models/device_management_configuration_simple_setting_instance_template.py +++ b/msgraph_beta/generated/models/device_management_configuration_simple_setting_instance_template.py @@ -57,6 +57,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_management_configuration_setting_instance_template import DeviceManagementConfigurationSettingInstanceTemplate + from .device_management_configuration_simple_setting_value_template import DeviceManagementConfigurationSimpleSettingValueTemplate + writer.write_object_value("simpleSettingValueTemplate", self.simple_setting_value_template) diff --git a/msgraph_beta/generated/models/device_management_configuration_simple_setting_value.py b/msgraph_beta/generated/models/device_management_configuration_simple_setting_value.py index 9009dc7b46f..38ba3e23e41 100644 --- a/msgraph_beta/generated/models/device_management_configuration_simple_setting_value.py +++ b/msgraph_beta/generated/models/device_management_configuration_simple_setting_value.py @@ -30,7 +30,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> DeviceManagementCo if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.deviceManagementConfigurationIntegerSettingValue".casefold(): @@ -83,5 +84,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_management_configuration_integer_setting_value import DeviceManagementConfigurationIntegerSettingValue + from .device_management_configuration_reference_setting_value import DeviceManagementConfigurationReferenceSettingValue + from .device_management_configuration_secret_setting_value import DeviceManagementConfigurationSecretSettingValue + from .device_management_configuration_setting_value import DeviceManagementConfigurationSettingValue + from .device_management_configuration_string_setting_value import DeviceManagementConfigurationStringSettingValue + diff --git a/msgraph_beta/generated/models/device_management_configuration_simple_setting_value_template.py b/msgraph_beta/generated/models/device_management_configuration_simple_setting_value_template.py index 1b449e0a156..a75de18ad2f 100644 --- a/msgraph_beta/generated/models/device_management_configuration_simple_setting_value_template.py +++ b/msgraph_beta/generated/models/device_management_configuration_simple_setting_value_template.py @@ -33,7 +33,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> DeviceManagementCo if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.deviceManagementConfigurationIntegerSettingValueTemplate".casefold(): @@ -71,6 +72,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .device_management_configuration_integer_setting_value_template import DeviceManagementConfigurationIntegerSettingValueTemplate + from .device_management_configuration_string_setting_value_template import DeviceManagementConfigurationStringSettingValueTemplate + writer.write_str_value("@odata.type", self.odata_type) writer.write_str_value("settingValueTemplateId", self.setting_value_template_id) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/device_management_configuration_string_setting_value.py b/msgraph_beta/generated/models/device_management_configuration_string_setting_value.py index 7bf0b5370c6..0acf5530e6d 100644 --- a/msgraph_beta/generated/models/device_management_configuration_string_setting_value.py +++ b/msgraph_beta/generated/models/device_management_configuration_string_setting_value.py @@ -29,7 +29,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> DeviceManagementCo if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.deviceManagementConfigurationReferenceSettingValue".casefold(): @@ -65,6 +66,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_management_configuration_reference_setting_value import DeviceManagementConfigurationReferenceSettingValue + from .device_management_configuration_simple_setting_value import DeviceManagementConfigurationSimpleSettingValue + writer.write_str_value("value", self.value) diff --git a/msgraph_beta/generated/models/device_management_configuration_string_setting_value_constant_default_template.py b/msgraph_beta/generated/models/device_management_configuration_string_setting_value_constant_default_template.py index d27276224cd..d2d60d2a7eb 100644 --- a/msgraph_beta/generated/models/device_management_configuration_string_setting_value_constant_default_template.py +++ b/msgraph_beta/generated/models/device_management_configuration_string_setting_value_constant_default_template.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_management_configuration_string_setting_value_default_template import DeviceManagementConfigurationStringSettingValueDefaultTemplate + writer.write_str_value("constantValue", self.constant_value) diff --git a/msgraph_beta/generated/models/device_management_configuration_string_setting_value_default_template.py b/msgraph_beta/generated/models/device_management_configuration_string_setting_value_default_template.py index 0083339ae9d..cd43b6d0d68 100644 --- a/msgraph_beta/generated/models/device_management_configuration_string_setting_value_default_template.py +++ b/msgraph_beta/generated/models/device_management_configuration_string_setting_value_default_template.py @@ -30,7 +30,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> DeviceManagementCo if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.deviceManagementConfigurationStringSettingValueConstantDefaultTemplate".casefold(): @@ -61,6 +62,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .device_management_configuration_string_setting_value_constant_default_template import DeviceManagementConfigurationStringSettingValueConstantDefaultTemplate + writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/device_management_configuration_string_setting_value_definition.py b/msgraph_beta/generated/models/device_management_configuration_string_setting_value_definition.py index aaca5d68b4f..5987d4fe272 100644 --- a/msgraph_beta/generated/models/device_management_configuration_string_setting_value_definition.py +++ b/msgraph_beta/generated/models/device_management_configuration_string_setting_value_definition.py @@ -72,6 +72,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_management_configuration_setting_value_definition import DeviceManagementConfigurationSettingValueDefinition + from .device_management_configuration_string_format import DeviceManagementConfigurationStringFormat + writer.write_collection_of_primitive_values("fileTypes", self.file_types) writer.write_enum_value("format", self.format) writer.write_str_value("inputValidationSchema", self.input_validation_schema) diff --git a/msgraph_beta/generated/models/device_management_configuration_string_setting_value_template.py b/msgraph_beta/generated/models/device_management_configuration_string_setting_value_template.py index af71e0ebd7f..a0b926d27fa 100644 --- a/msgraph_beta/generated/models/device_management_configuration_string_setting_value_template.py +++ b/msgraph_beta/generated/models/device_management_configuration_string_setting_value_template.py @@ -57,6 +57,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_management_configuration_simple_setting_value_template import DeviceManagementConfigurationSimpleSettingValueTemplate + from .device_management_configuration_string_setting_value_default_template import DeviceManagementConfigurationStringSettingValueDefaultTemplate + writer.write_object_value("defaultValue", self.default_value) diff --git a/msgraph_beta/generated/models/device_management_configuration_technologies.py b/msgraph_beta/generated/models/device_management_configuration_technologies.py index 3a31f74ed51..134e14e1e42 100644 --- a/msgraph_beta/generated/models/device_management_configuration_technologies.py +++ b/msgraph_beta/generated/models/device_management_configuration_technologies.py @@ -9,6 +9,12 @@ class DeviceManagementConfigurationTechnologies(str, Enum): Windows10XManagement = "windows10XManagement", # Setting can be deployed through the ConfigManager channel. ConfigManager = "configManager", + # Setting can be deployed through the IntuneManagementExtension channel. + IntuneManagementExtension = "intuneManagementExtension", + # Setting can be deployed through a ThirdParty channel. + ThirdParty = "thirdParty", + # Setting can be deployed through Document Gateway Service. + DocumentGateway = "documentGateway", # Setting can be deployed through the AppleRemoteManagement channel. AppleRemoteManagement = "appleRemoteManagement", # Setting can be deployed through the SENSE agent channel. @@ -27,4 +33,6 @@ class DeviceManagementConfigurationTechnologies(str, Enum): UnknownFutureValue = "unknownFutureValue", # Setting can be deployed using the Operating System Recovery channel WindowsOsRecovery = "windowsOsRecovery", + # Indicates the settings that can be deployed through the Android channel. + Android = "android", diff --git a/msgraph_beta/generated/models/device_management_configuration_windows_setting_applicability.py b/msgraph_beta/generated/models/device_management_configuration_windows_setting_applicability.py index b59a7a983ac..6bde7c768a6 100644 --- a/msgraph_beta/generated/models/device_management_configuration_windows_setting_applicability.py +++ b/msgraph_beta/generated/models/device_management_configuration_windows_setting_applicability.py @@ -72,6 +72,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_management_configuration_azure_ad_trust_type import DeviceManagementConfigurationAzureAdTrustType + from .device_management_configuration_setting_applicability import DeviceManagementConfigurationSettingApplicability + from .device_management_configuration_windows_skus import DeviceManagementConfigurationWindowsSkus + writer.write_str_value("configurationServiceProviderVersion", self.configuration_service_provider_version) writer.write_str_value("maximumSupportedVersion", self.maximum_supported_version) writer.write_str_value("minimumSupportedVersion", self.minimum_supported_version) diff --git a/msgraph_beta/generated/models/device_management_constraint.py b/msgraph_beta/generated/models/device_management_constraint.py index 751c6ef7d91..1d0a2c0be50 100644 --- a/msgraph_beta/generated/models/device_management_constraint.py +++ b/msgraph_beta/generated/models/device_management_constraint.py @@ -44,7 +44,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> DeviceManagementCo if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.deviceManagementEnumConstraint".casefold(): @@ -159,6 +160,22 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .device_management_enum_constraint import DeviceManagementEnumConstraint + from .device_management_intent_setting_secret_constraint import DeviceManagementIntentSettingSecretConstraint + from .device_management_setting_abstract_implementation_constraint import DeviceManagementSettingAbstractImplementationConstraint + from .device_management_setting_app_constraint import DeviceManagementSettingAppConstraint + from .device_management_setting_boolean_constraint import DeviceManagementSettingBooleanConstraint + from .device_management_setting_collection_constraint import DeviceManagementSettingCollectionConstraint + from .device_management_setting_enrollment_type_constraint import DeviceManagementSettingEnrollmentTypeConstraint + from .device_management_setting_file_constraint import DeviceManagementSettingFileConstraint + from .device_management_setting_integer_constraint import DeviceManagementSettingIntegerConstraint + from .device_management_setting_profile_constraint import DeviceManagementSettingProfileConstraint + from .device_management_setting_regex_constraint import DeviceManagementSettingRegexConstraint + from .device_management_setting_required_constraint import DeviceManagementSettingRequiredConstraint + from .device_management_setting_sddl_constraint import DeviceManagementSettingSddlConstraint + from .device_management_setting_string_length_constraint import DeviceManagementSettingStringLengthConstraint + from .device_management_setting_xml_constraint import DeviceManagementSettingXmlConstraint + writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/device_management_derived_credential_settings.py b/msgraph_beta/generated/models/device_management_derived_credential_settings.py index 899fee925fb..831560a7bc1 100644 --- a/msgraph_beta/generated/models/device_management_derived_credential_settings.py +++ b/msgraph_beta/generated/models/device_management_derived_credential_settings.py @@ -72,6 +72,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_management_derived_credential_issuer import DeviceManagementDerivedCredentialIssuer + from .device_management_derived_credential_notification_type import DeviceManagementDerivedCredentialNotificationType + from .entity import Entity + writer.write_str_value("displayName", self.display_name) writer.write_str_value("helpUrl", self.help_url) writer.write_enum_value("issuer", self.issuer) diff --git a/msgraph_beta/generated/models/device_management_derived_credential_settings_collection_response.py b/msgraph_beta/generated/models/device_management_derived_credential_settings_collection_response.py index d50a221f0d8..df01fa7089a 100644 --- a/msgraph_beta/generated/models/device_management_derived_credential_settings_collection_response.py +++ b/msgraph_beta/generated/models/device_management_derived_credential_settings_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .device_management_derived_credential_settings import DeviceManagementDerivedCredentialSettings + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/device_management_domain_join_connector.py b/msgraph_beta/generated/models/device_management_domain_join_connector.py index 9ab4694074d..720d1cd14bc 100644 --- a/msgraph_beta/generated/models/device_management_domain_join_connector.py +++ b/msgraph_beta/generated/models/device_management_domain_join_connector.py @@ -67,6 +67,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_management_domain_join_connector_state import DeviceManagementDomainJoinConnectorState + from .entity import Entity + writer.write_str_value("displayName", self.display_name) writer.write_datetime_value("lastConnectionDateTime", self.last_connection_date_time) writer.write_enum_value("state", self.state) diff --git a/msgraph_beta/generated/models/device_management_domain_join_connector_collection_response.py b/msgraph_beta/generated/models/device_management_domain_join_connector_collection_response.py index 5ba5bdceae7..4b7688f1f77 100644 --- a/msgraph_beta/generated/models/device_management_domain_join_connector_collection_response.py +++ b/msgraph_beta/generated/models/device_management_domain_join_connector_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .device_management_domain_join_connector import DeviceManagementDomainJoinConnector + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/device_management_enum_constraint.py b/msgraph_beta/generated/models/device_management_enum_constraint.py index bf55ec7618b..6159e863d45 100644 --- a/msgraph_beta/generated/models/device_management_enum_constraint.py +++ b/msgraph_beta/generated/models/device_management_enum_constraint.py @@ -57,6 +57,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_management_constraint import DeviceManagementConstraint + from .device_management_enum_value import DeviceManagementEnumValue + writer.write_collection_of_object_values("values", self.values) diff --git a/msgraph_beta/generated/models/device_management_exchange_access_rule.py b/msgraph_beta/generated/models/device_management_exchange_access_rule.py index 743f237f8ea..2718b655c84 100644 --- a/msgraph_beta/generated/models/device_management_exchange_access_rule.py +++ b/msgraph_beta/generated/models/device_management_exchange_access_rule.py @@ -62,6 +62,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .device_management_exchange_access_level import DeviceManagementExchangeAccessLevel + from .device_management_exchange_device_class import DeviceManagementExchangeDeviceClass + writer.write_enum_value("accessLevel", self.access_level) writer.write_object_value("deviceClass", self.device_class) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/device_management_exchange_connector.py b/msgraph_beta/generated/models/device_management_exchange_connector.py index 480c0657193..7ed593e9a47 100644 --- a/msgraph_beta/generated/models/device_management_exchange_connector.py +++ b/msgraph_beta/generated/models/device_management_exchange_connector.py @@ -85,6 +85,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_management_exchange_connector_status import DeviceManagementExchangeConnectorStatus + from .device_management_exchange_connector_type import DeviceManagementExchangeConnectorType + from .entity import Entity + writer.write_str_value("connectorServerName", self.connector_server_name) writer.write_str_value("exchangeAlias", self.exchange_alias) writer.write_enum_value("exchangeConnectorType", self.exchange_connector_type) diff --git a/msgraph_beta/generated/models/device_management_exchange_connector_collection_response.py b/msgraph_beta/generated/models/device_management_exchange_connector_collection_response.py index 2e7bd5f57cd..7a6396c93e2 100644 --- a/msgraph_beta/generated/models/device_management_exchange_connector_collection_response.py +++ b/msgraph_beta/generated/models/device_management_exchange_connector_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .device_management_exchange_connector import DeviceManagementExchangeConnector + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/device_management_exchange_device_class.py b/msgraph_beta/generated/models/device_management_exchange_device_class.py index 8cb44ee8708..ea6409c8ee7 100644 --- a/msgraph_beta/generated/models/device_management_exchange_device_class.py +++ b/msgraph_beta/generated/models/device_management_exchange_device_class.py @@ -59,6 +59,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .device_management_exchange_access_rule_type import DeviceManagementExchangeAccessRuleType + writer.write_str_value("name", self.name) writer.write_str_value("@odata.type", self.odata_type) writer.write_enum_value("type", self.type) diff --git a/msgraph_beta/generated/models/device_management_exchange_on_premises_policy.py b/msgraph_beta/generated/models/device_management_exchange_on_premises_policy.py index 167843d0fe9..5fa7a58337a 100644 --- a/msgraph_beta/generated/models/device_management_exchange_on_premises_policy.py +++ b/msgraph_beta/generated/models/device_management_exchange_on_premises_policy.py @@ -78,6 +78,12 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_management_exchange_access_level import DeviceManagementExchangeAccessLevel + from .device_management_exchange_access_rule import DeviceManagementExchangeAccessRule + from .device_management_exchange_device_class import DeviceManagementExchangeDeviceClass + from .entity import Entity + from .on_premises_conditional_access_settings import OnPremisesConditionalAccessSettings + writer.write_collection_of_object_values("accessRules", self.access_rules) writer.write_object_value("conditionalAccessSettings", self.conditional_access_settings) writer.write_enum_value("defaultAccessLevel", self.default_access_level) diff --git a/msgraph_beta/generated/models/device_management_exchange_on_premises_policy_collection_response.py b/msgraph_beta/generated/models/device_management_exchange_on_premises_policy_collection_response.py index 133bb4f26a8..61c56a7b6b9 100644 --- a/msgraph_beta/generated/models/device_management_exchange_on_premises_policy_collection_response.py +++ b/msgraph_beta/generated/models/device_management_exchange_on_premises_policy_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .device_management_exchange_on_premises_policy import DeviceManagementExchangeOnPremisesPolicy + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/device_management_export_job.py b/msgraph_beta/generated/models/device_management_export_job.py index 680b99624dd..d4912e3060f 100644 --- a/msgraph_beta/generated/models/device_management_export_job.py +++ b/msgraph_beta/generated/models/device_management_export_job.py @@ -94,6 +94,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_management_export_job_localization_type import DeviceManagementExportJobLocalizationType + from .device_management_report_file_format import DeviceManagementReportFileFormat + from .device_management_report_status import DeviceManagementReportStatus + from .entity import Entity + writer.write_datetime_value("expirationDateTime", self.expiration_date_time) writer.write_str_value("filter", self.filter) writer.write_enum_value("format", self.format) diff --git a/msgraph_beta/generated/models/device_management_export_job_collection_response.py b/msgraph_beta/generated/models/device_management_export_job_collection_response.py index c272ab5e553..9f2bf9ef836 100644 --- a/msgraph_beta/generated/models/device_management_export_job_collection_response.py +++ b/msgraph_beta/generated/models/device_management_export_job_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .device_management_export_job import DeviceManagementExportJob + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/device_management_integer_setting_instance.py b/msgraph_beta/generated/models/device_management_integer_setting_instance.py index be890449c05..02c8a8c5c53 100644 --- a/msgraph_beta/generated/models/device_management_integer_setting_instance.py +++ b/msgraph_beta/generated/models/device_management_integer_setting_instance.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_management_setting_instance import DeviceManagementSettingInstance + writer.write_int_value("value", self.value) diff --git a/msgraph_beta/generated/models/device_management_intent.py b/msgraph_beta/generated/models/device_management_intent.py index d59cc196e2d..e5991230d68 100644 --- a/msgraph_beta/generated/models/device_management_intent.py +++ b/msgraph_beta/generated/models/device_management_intent.py @@ -121,6 +121,16 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_management_intent_assignment import DeviceManagementIntentAssignment + from .device_management_intent_device_setting_state_summary import DeviceManagementIntentDeviceSettingStateSummary + from .device_management_intent_device_state import DeviceManagementIntentDeviceState + from .device_management_intent_device_state_summary import DeviceManagementIntentDeviceStateSummary + from .device_management_intent_setting_category import DeviceManagementIntentSettingCategory + from .device_management_intent_user_state import DeviceManagementIntentUserState + from .device_management_intent_user_state_summary import DeviceManagementIntentUserStateSummary + from .device_management_setting_instance import DeviceManagementSettingInstance + from .entity import Entity + writer.write_collection_of_object_values("assignments", self.assignments) writer.write_collection_of_object_values("categories", self.categories) writer.write_str_value("description", self.description) diff --git a/msgraph_beta/generated/models/device_management_intent_assignment.py b/msgraph_beta/generated/models/device_management_intent_assignment.py index b1ecba54f2a..df83a47cdb1 100644 --- a/msgraph_beta/generated/models/device_management_intent_assignment.py +++ b/msgraph_beta/generated/models/device_management_intent_assignment.py @@ -57,6 +57,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_and_app_management_assignment_target import DeviceAndAppManagementAssignmentTarget + from .entity import Entity + writer.write_object_value("target", self.target) diff --git a/msgraph_beta/generated/models/device_management_intent_assignment_collection_response.py b/msgraph_beta/generated/models/device_management_intent_assignment_collection_response.py index 7258922a218..a64d6ababef 100644 --- a/msgraph_beta/generated/models/device_management_intent_assignment_collection_response.py +++ b/msgraph_beta/generated/models/device_management_intent_assignment_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .device_management_intent_assignment import DeviceManagementIntentAssignment + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/device_management_intent_collection_response.py b/msgraph_beta/generated/models/device_management_intent_collection_response.py index c34bfe617b5..014f0e39806 100644 --- a/msgraph_beta/generated/models/device_management_intent_collection_response.py +++ b/msgraph_beta/generated/models/device_management_intent_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .device_management_intent import DeviceManagementIntent + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/device_management_intent_device_setting_state_summary.py b/msgraph_beta/generated/models/device_management_intent_device_setting_state_summary.py index a503ae3b36f..48a3d501d42 100644 --- a/msgraph_beta/generated/models/device_management_intent_device_setting_state_summary.py +++ b/msgraph_beta/generated/models/device_management_intent_device_setting_state_summary.py @@ -72,6 +72,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_int_value("compliantCount", self.compliant_count) writer.write_int_value("conflictCount", self.conflict_count) writer.write_int_value("errorCount", self.error_count) diff --git a/msgraph_beta/generated/models/device_management_intent_device_setting_state_summary_collection_response.py b/msgraph_beta/generated/models/device_management_intent_device_setting_state_summary_collection_response.py index e401867879b..4f3a16d4052 100644 --- a/msgraph_beta/generated/models/device_management_intent_device_setting_state_summary_collection_response.py +++ b/msgraph_beta/generated/models/device_management_intent_device_setting_state_summary_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .device_management_intent_device_setting_state_summary import DeviceManagementIntentDeviceSettingStateSummary + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/device_management_intent_device_state.py b/msgraph_beta/generated/models/device_management_intent_device_state.py index d5636c17e2a..fc04069a851 100644 --- a/msgraph_beta/generated/models/device_management_intent_device_state.py +++ b/msgraph_beta/generated/models/device_management_intent_device_state.py @@ -73,6 +73,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .compliance_status import ComplianceStatus + from .entity import Entity + writer.write_str_value("deviceDisplayName", self.device_display_name) writer.write_str_value("deviceId", self.device_id) writer.write_datetime_value("lastReportedDateTime", self.last_reported_date_time) diff --git a/msgraph_beta/generated/models/device_management_intent_device_state_collection_response.py b/msgraph_beta/generated/models/device_management_intent_device_state_collection_response.py index 7412e9ece72..0acc7b6e895 100644 --- a/msgraph_beta/generated/models/device_management_intent_device_state_collection_response.py +++ b/msgraph_beta/generated/models/device_management_intent_device_state_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .device_management_intent_device_state import DeviceManagementIntentDeviceState + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/device_management_intent_device_state_summary.py b/msgraph_beta/generated/models/device_management_intent_device_state_summary.py index 5ba7b75a4fd..f897e16aacb 100644 --- a/msgraph_beta/generated/models/device_management_intent_device_state_summary.py +++ b/msgraph_beta/generated/models/device_management_intent_device_state_summary.py @@ -69,6 +69,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_int_value("conflictCount", self.conflict_count) writer.write_int_value("errorCount", self.error_count) writer.write_int_value("failedCount", self.failed_count) diff --git a/msgraph_beta/generated/models/device_management_intent_setting_category.py b/msgraph_beta/generated/models/device_management_intent_setting_category.py index 8e3944dcc78..0dc8cd5379f 100644 --- a/msgraph_beta/generated/models/device_management_intent_setting_category.py +++ b/msgraph_beta/generated/models/device_management_intent_setting_category.py @@ -57,6 +57,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_management_setting_category import DeviceManagementSettingCategory + from .device_management_setting_instance import DeviceManagementSettingInstance + writer.write_collection_of_object_values("settings", self.settings) diff --git a/msgraph_beta/generated/models/device_management_intent_setting_category_collection_response.py b/msgraph_beta/generated/models/device_management_intent_setting_category_collection_response.py index b9a8164ed38..c0fa2269d49 100644 --- a/msgraph_beta/generated/models/device_management_intent_setting_category_collection_response.py +++ b/msgraph_beta/generated/models/device_management_intent_setting_category_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .device_management_intent_setting_category import DeviceManagementIntentSettingCategory + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/device_management_intent_setting_secret_constraint.py b/msgraph_beta/generated/models/device_management_intent_setting_secret_constraint.py index 3a270afd387..687f70b1576 100644 --- a/msgraph_beta/generated/models/device_management_intent_setting_secret_constraint.py +++ b/msgraph_beta/generated/models/device_management_intent_setting_secret_constraint.py @@ -51,5 +51,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_management_constraint import DeviceManagementConstraint + diff --git a/msgraph_beta/generated/models/device_management_intent_user_state.py b/msgraph_beta/generated/models/device_management_intent_user_state.py index 9c9a7bb4ed7..95f3dfa1f8c 100644 --- a/msgraph_beta/generated/models/device_management_intent_user_state.py +++ b/msgraph_beta/generated/models/device_management_intent_user_state.py @@ -70,6 +70,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .compliance_status import ComplianceStatus + from .entity import Entity + writer.write_int_value("deviceCount", self.device_count) writer.write_datetime_value("lastReportedDateTime", self.last_reported_date_time) writer.write_enum_value("state", self.state) diff --git a/msgraph_beta/generated/models/device_management_intent_user_state_collection_response.py b/msgraph_beta/generated/models/device_management_intent_user_state_collection_response.py index 6e266108081..c2ff04cab81 100644 --- a/msgraph_beta/generated/models/device_management_intent_user_state_collection_response.py +++ b/msgraph_beta/generated/models/device_management_intent_user_state_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .device_management_intent_user_state import DeviceManagementIntentUserState + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/device_management_intent_user_state_summary.py b/msgraph_beta/generated/models/device_management_intent_user_state_summary.py index 723edae5c58..2a7dcd39638 100644 --- a/msgraph_beta/generated/models/device_management_intent_user_state_summary.py +++ b/msgraph_beta/generated/models/device_management_intent_user_state_summary.py @@ -66,6 +66,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_int_value("conflictCount", self.conflict_count) writer.write_int_value("errorCount", self.error_count) writer.write_int_value("failedCount", self.failed_count) diff --git a/msgraph_beta/generated/models/device_management_partner.py b/msgraph_beta/generated/models/device_management_partner.py index 57e12f5e099..96e395bd929 100644 --- a/msgraph_beta/generated/models/device_management_partner.py +++ b/msgraph_beta/generated/models/device_management_partner.py @@ -88,6 +88,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_management_partner_app_type import DeviceManagementPartnerAppType + from .device_management_partner_assignment import DeviceManagementPartnerAssignment + from .device_management_partner_tenant_state import DeviceManagementPartnerTenantState + from .entity import Entity + writer.write_str_value("displayName", self.display_name) writer.write_collection_of_object_values("groupsRequiringPartnerEnrollment", self.groups_requiring_partner_enrollment) writer.write_bool_value("isConfigured", self.is_configured) diff --git a/msgraph_beta/generated/models/device_management_partner_assignment.py b/msgraph_beta/generated/models/device_management_partner_assignment.py index 8cf01a757da..05b1782c723 100644 --- a/msgraph_beta/generated/models/device_management_partner_assignment.py +++ b/msgraph_beta/generated/models/device_management_partner_assignment.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .device_and_app_management_assignment_target import DeviceAndAppManagementAssignmentTarget + writer.write_str_value("@odata.type", self.odata_type) writer.write_object_value("target", self.target) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/device_management_partner_collection_response.py b/msgraph_beta/generated/models/device_management_partner_collection_response.py index 0418fafd251..7cde63a4652 100644 --- a/msgraph_beta/generated/models/device_management_partner_collection_response.py +++ b/msgraph_beta/generated/models/device_management_partner_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .device_management_partner import DeviceManagementPartner + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/device_management_reports.py b/msgraph_beta/generated/models/device_management_reports.py index 432fd969525..8d2f9e7b30b 100644 --- a/msgraph_beta/generated/models/device_management_reports.py +++ b/msgraph_beta/generated/models/device_management_reports.py @@ -63,6 +63,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_management_cached_report_configuration import DeviceManagementCachedReportConfiguration + from .device_management_export_job import DeviceManagementExportJob + from .entity import Entity + writer.write_collection_of_object_values("cachedReportConfigurations", self.cached_report_configurations) writer.write_collection_of_object_values("exportJobs", self.export_jobs) diff --git a/msgraph_beta/generated/models/device_management_resource_access_profile_assignment.py b/msgraph_beta/generated/models/device_management_resource_access_profile_assignment.py index e9b8714c331..de6e4fa69b3 100644 --- a/msgraph_beta/generated/models/device_management_resource_access_profile_assignment.py +++ b/msgraph_beta/generated/models/device_management_resource_access_profile_assignment.py @@ -66,6 +66,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_and_app_management_assignment_target import DeviceAndAppManagementAssignmentTarget + from .device_management_resource_access_profile_intent import DeviceManagementResourceAccessProfileIntent + from .entity import Entity + writer.write_enum_value("intent", self.intent) writer.write_str_value("sourceId", self.source_id) writer.write_object_value("target", self.target) diff --git a/msgraph_beta/generated/models/device_management_resource_access_profile_assignment_collection_response.py b/msgraph_beta/generated/models/device_management_resource_access_profile_assignment_collection_response.py index c53fc0f84fc..cd64f6b9972 100644 --- a/msgraph_beta/generated/models/device_management_resource_access_profile_assignment_collection_response.py +++ b/msgraph_beta/generated/models/device_management_resource_access_profile_assignment_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .device_management_resource_access_profile_assignment import DeviceManagementResourceAccessProfileAssignment + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/device_management_resource_access_profile_base.py b/msgraph_beta/generated/models/device_management_resource_access_profile_base.py index d1a44b488c1..72db6f1fe15 100644 --- a/msgraph_beta/generated/models/device_management_resource_access_profile_base.py +++ b/msgraph_beta/generated/models/device_management_resource_access_profile_base.py @@ -47,7 +47,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> DeviceManagementRe if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.windows10XCertificateProfile".casefold(): @@ -115,6 +116,14 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_management_resource_access_profile_assignment import DeviceManagementResourceAccessProfileAssignment + from .entity import Entity + from .windows10_x_certificate_profile import Windows10XCertificateProfile + from .windows10_x_s_c_e_p_certificate_profile import Windows10XSCEPCertificateProfile + from .windows10_x_trusted_root_certificate import Windows10XTrustedRootCertificate + from .windows10_x_vpn_configuration import Windows10XVpnConfiguration + from .windows10_x_wifi_configuration import Windows10XWifiConfiguration + writer.write_collection_of_object_values("assignments", self.assignments) writer.write_datetime_value("creationDateTime", self.creation_date_time) writer.write_str_value("description", self.description) diff --git a/msgraph_beta/generated/models/device_management_resource_access_profile_base_collection_response.py b/msgraph_beta/generated/models/device_management_resource_access_profile_base_collection_response.py index 4fe1c1b9435..79f45d19a6e 100644 --- a/msgraph_beta/generated/models/device_management_resource_access_profile_base_collection_response.py +++ b/msgraph_beta/generated/models/device_management_resource_access_profile_base_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .device_management_resource_access_profile_base import DeviceManagementResourceAccessProfileBase + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/device_management_reusable_policy_setting.py b/msgraph_beta/generated/models/device_management_reusable_policy_setting.py index 5c7af5f81a7..4cabab2fc5c 100644 --- a/msgraph_beta/generated/models/device_management_reusable_policy_setting.py +++ b/msgraph_beta/generated/models/device_management_reusable_policy_setting.py @@ -85,6 +85,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_management_configuration_policy import DeviceManagementConfigurationPolicy + from .device_management_configuration_setting_instance import DeviceManagementConfigurationSettingInstance + from .entity import Entity + writer.write_str_value("description", self.description) writer.write_str_value("displayName", self.display_name) writer.write_collection_of_object_values("referencingConfigurationPolicies", self.referencing_configuration_policies) diff --git a/msgraph_beta/generated/models/device_management_reusable_policy_setting_collection_response.py b/msgraph_beta/generated/models/device_management_reusable_policy_setting_collection_response.py index b1ab9b7ad25..f3becc99618 100644 --- a/msgraph_beta/generated/models/device_management_reusable_policy_setting_collection_response.py +++ b/msgraph_beta/generated/models/device_management_reusable_policy_setting_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .device_management_reusable_policy_setting import DeviceManagementReusablePolicySetting + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/device_management_script.py b/msgraph_beta/generated/models/device_management_script.py index eaa70f403b6..58e116e73af 100644 --- a/msgraph_beta/generated/models/device_management_script.py +++ b/msgraph_beta/generated/models/device_management_script.py @@ -115,6 +115,14 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_management_script_assignment import DeviceManagementScriptAssignment + from .device_management_script_device_state import DeviceManagementScriptDeviceState + from .device_management_script_group_assignment import DeviceManagementScriptGroupAssignment + from .device_management_script_run_summary import DeviceManagementScriptRunSummary + from .device_management_script_user_state import DeviceManagementScriptUserState + from .entity import Entity + from .run_as_account_type import RunAsAccountType + writer.write_collection_of_object_values("assignments", self.assignments) writer.write_str_value("description", self.description) writer.write_collection_of_object_values("deviceRunStates", self.device_run_states) diff --git a/msgraph_beta/generated/models/device_management_script_assignment.py b/msgraph_beta/generated/models/device_management_script_assignment.py index 4181b38106d..3e8bdefb29b 100644 --- a/msgraph_beta/generated/models/device_management_script_assignment.py +++ b/msgraph_beta/generated/models/device_management_script_assignment.py @@ -57,6 +57,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_and_app_management_assignment_target import DeviceAndAppManagementAssignmentTarget + from .entity import Entity + writer.write_object_value("target", self.target) diff --git a/msgraph_beta/generated/models/device_management_script_assignment_collection_response.py b/msgraph_beta/generated/models/device_management_script_assignment_collection_response.py index 5f1e392dcb0..f8dc6533339 100644 --- a/msgraph_beta/generated/models/device_management_script_assignment_collection_response.py +++ b/msgraph_beta/generated/models/device_management_script_assignment_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .device_management_script_assignment import DeviceManagementScriptAssignment + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/device_management_script_collection_response.py b/msgraph_beta/generated/models/device_management_script_collection_response.py index 7b7ae9946dd..466ff503d07 100644 --- a/msgraph_beta/generated/models/device_management_script_collection_response.py +++ b/msgraph_beta/generated/models/device_management_script_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .device_management_script import DeviceManagementScript + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/device_management_script_device_state.py b/msgraph_beta/generated/models/device_management_script_device_state.py index 8b39cead92f..c17e50064fe 100644 --- a/msgraph_beta/generated/models/device_management_script_device_state.py +++ b/msgraph_beta/generated/models/device_management_script_device_state.py @@ -76,6 +76,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .managed_device import ManagedDevice + from .run_state import RunState + writer.write_int_value("errorCode", self.error_code) writer.write_str_value("errorDescription", self.error_description) writer.write_datetime_value("lastStateUpdateDateTime", self.last_state_update_date_time) diff --git a/msgraph_beta/generated/models/device_management_script_device_state_collection_response.py b/msgraph_beta/generated/models/device_management_script_device_state_collection_response.py index ecc622bbe7b..4ad9691f484 100644 --- a/msgraph_beta/generated/models/device_management_script_device_state_collection_response.py +++ b/msgraph_beta/generated/models/device_management_script_device_state_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .device_management_script_device_state import DeviceManagementScriptDeviceState + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/device_management_script_group_assignment.py b/msgraph_beta/generated/models/device_management_script_group_assignment.py index dfbe12e027d..8799115bef7 100644 --- a/msgraph_beta/generated/models/device_management_script_group_assignment.py +++ b/msgraph_beta/generated/models/device_management_script_group_assignment.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_str_value("targetGroupId", self.target_group_id) diff --git a/msgraph_beta/generated/models/device_management_script_group_assignment_collection_response.py b/msgraph_beta/generated/models/device_management_script_group_assignment_collection_response.py index 96527c3c0ee..fc61899b7a3 100644 --- a/msgraph_beta/generated/models/device_management_script_group_assignment_collection_response.py +++ b/msgraph_beta/generated/models/device_management_script_group_assignment_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .device_management_script_group_assignment import DeviceManagementScriptGroupAssignment + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/device_management_script_policy_set_item.py b/msgraph_beta/generated/models/device_management_script_policy_set_item.py index 3a865955bfb..84b65135f12 100644 --- a/msgraph_beta/generated/models/device_management_script_policy_set_item.py +++ b/msgraph_beta/generated/models/device_management_script_policy_set_item.py @@ -51,5 +51,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .policy_set_item import PolicySetItem + diff --git a/msgraph_beta/generated/models/device_management_script_run_summary.py b/msgraph_beta/generated/models/device_management_script_run_summary.py index df05ff40151..e4a5e1535eb 100644 --- a/msgraph_beta/generated/models/device_management_script_run_summary.py +++ b/msgraph_beta/generated/models/device_management_script_run_summary.py @@ -63,6 +63,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_int_value("errorDeviceCount", self.error_device_count) writer.write_int_value("errorUserCount", self.error_user_count) writer.write_int_value("successDeviceCount", self.success_device_count) diff --git a/msgraph_beta/generated/models/device_management_script_user_state.py b/msgraph_beta/generated/models/device_management_script_user_state.py index 48975885a43..d67105981c8 100644 --- a/msgraph_beta/generated/models/device_management_script_user_state.py +++ b/msgraph_beta/generated/models/device_management_script_user_state.py @@ -66,6 +66,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_management_script_device_state import DeviceManagementScriptDeviceState + from .entity import Entity + writer.write_collection_of_object_values("deviceRunStates", self.device_run_states) writer.write_int_value("errorDeviceCount", self.error_device_count) writer.write_int_value("successDeviceCount", self.success_device_count) diff --git a/msgraph_beta/generated/models/device_management_script_user_state_collection_response.py b/msgraph_beta/generated/models/device_management_script_user_state_collection_response.py index f5f23a15936..a54d0973b84 100644 --- a/msgraph_beta/generated/models/device_management_script_user_state_collection_response.py +++ b/msgraph_beta/generated/models/device_management_script_user_state_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .device_management_script_user_state import DeviceManagementScriptUserState + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/device_management_setting_abstract_implementation_constraint.py b/msgraph_beta/generated/models/device_management_setting_abstract_implementation_constraint.py index 5aa0f70eb3b..294084b4321 100644 --- a/msgraph_beta/generated/models/device_management_setting_abstract_implementation_constraint.py +++ b/msgraph_beta/generated/models/device_management_setting_abstract_implementation_constraint.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_management_constraint import DeviceManagementConstraint + writer.write_collection_of_primitive_values("allowedAbstractImplementationDefinitionIds", self.allowed_abstract_implementation_definition_ids) diff --git a/msgraph_beta/generated/models/device_management_setting_app_constraint.py b/msgraph_beta/generated/models/device_management_setting_app_constraint.py index 32564c9ba89..3a4dfdeb03b 100644 --- a/msgraph_beta/generated/models/device_management_setting_app_constraint.py +++ b/msgraph_beta/generated/models/device_management_setting_app_constraint.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_management_constraint import DeviceManagementConstraint + writer.write_collection_of_primitive_values("supportedTypes", self.supported_types) diff --git a/msgraph_beta/generated/models/device_management_setting_boolean_constraint.py b/msgraph_beta/generated/models/device_management_setting_boolean_constraint.py index 949dad433ba..ff74755a462 100644 --- a/msgraph_beta/generated/models/device_management_setting_boolean_constraint.py +++ b/msgraph_beta/generated/models/device_management_setting_boolean_constraint.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_management_constraint import DeviceManagementConstraint + writer.write_bool_value("value", self.value) diff --git a/msgraph_beta/generated/models/device_management_setting_category.py b/msgraph_beta/generated/models/device_management_setting_category.py index 480b0cf70ba..0162eec9960 100644 --- a/msgraph_beta/generated/models/device_management_setting_category.py +++ b/msgraph_beta/generated/models/device_management_setting_category.py @@ -35,7 +35,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> DeviceManagementSe if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.deviceManagementIntentSettingCategory".casefold(): @@ -81,6 +82,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_management_intent_setting_category import DeviceManagementIntentSettingCategory + from .device_management_setting_definition import DeviceManagementSettingDefinition + from .device_management_template_setting_category import DeviceManagementTemplateSettingCategory + from .entity import Entity + writer.write_str_value("displayName", self.display_name) writer.write_bool_value("hasRequiredSetting", self.has_required_setting) writer.write_collection_of_object_values("settingDefinitions", self.setting_definitions) diff --git a/msgraph_beta/generated/models/device_management_setting_category_collection_response.py b/msgraph_beta/generated/models/device_management_setting_category_collection_response.py index 98fde9610c3..3a533f5cae8 100644 --- a/msgraph_beta/generated/models/device_management_setting_category_collection_response.py +++ b/msgraph_beta/generated/models/device_management_setting_category_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .device_management_setting_category import DeviceManagementSettingCategory + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/device_management_setting_collection_constraint.py b/msgraph_beta/generated/models/device_management_setting_collection_constraint.py index 50b0089d2fa..752e79bd7af 100644 --- a/msgraph_beta/generated/models/device_management_setting_collection_constraint.py +++ b/msgraph_beta/generated/models/device_management_setting_collection_constraint.py @@ -57,6 +57,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_management_constraint import DeviceManagementConstraint + writer.write_int_value("maximumLength", self.maximum_length) writer.write_int_value("minimumLength", self.minimum_length) diff --git a/msgraph_beta/generated/models/device_management_setting_comparison.py b/msgraph_beta/generated/models/device_management_setting_comparison.py index 301207c36a2..497a25af5f2 100644 --- a/msgraph_beta/generated/models/device_management_setting_comparison.py +++ b/msgraph_beta/generated/models/device_management_setting_comparison.py @@ -71,6 +71,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .device_management_comparison_result import DeviceManagementComparisonResult + writer.write_enum_value("comparisonResult", self.comparison_result) writer.write_str_value("currentValueJson", self.current_value_json) writer.write_str_value("definitionId", self.definition_id) diff --git a/msgraph_beta/generated/models/device_management_setting_definition.py b/msgraph_beta/generated/models/device_management_setting_definition.py index b07dc86642f..47cf71f47d1 100644 --- a/msgraph_beta/generated/models/device_management_setting_definition.py +++ b/msgraph_beta/generated/models/device_management_setting_definition.py @@ -54,7 +54,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> DeviceManagementSe if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.deviceManagementAbstractComplexSettingDefinition".casefold(): @@ -118,6 +119,14 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_management_abstract_complex_setting_definition import DeviceManagementAbstractComplexSettingDefinition + from .device_management_collection_setting_definition import DeviceManagementCollectionSettingDefinition + from .device_management_complex_setting_definition import DeviceManagementComplexSettingDefinition + from .device_management_constraint import DeviceManagementConstraint + from .device_management_setting_dependency import DeviceManagementSettingDependency + from .device_manangement_intent_value_type import DeviceManangementIntentValueType + from .entity import Entity + writer.write_collection_of_object_values("constraints", self.constraints) writer.write_collection_of_object_values("dependencies", self.dependencies) writer.write_str_value("description", self.description) diff --git a/msgraph_beta/generated/models/device_management_setting_definition_collection_response.py b/msgraph_beta/generated/models/device_management_setting_definition_collection_response.py index 282625223a8..d98d64287ac 100644 --- a/msgraph_beta/generated/models/device_management_setting_definition_collection_response.py +++ b/msgraph_beta/generated/models/device_management_setting_definition_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .device_management_setting_definition import DeviceManagementSettingDefinition + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/device_management_setting_dependency.py b/msgraph_beta/generated/models/device_management_setting_dependency.py index 2ba9940e2aa..1ae90bfeede 100644 --- a/msgraph_beta/generated/models/device_management_setting_dependency.py +++ b/msgraph_beta/generated/models/device_management_setting_dependency.py @@ -59,6 +59,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .device_management_constraint import DeviceManagementConstraint + writer.write_collection_of_object_values("constraints", self.constraints) writer.write_str_value("definitionId", self.definition_id) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/device_management_setting_enrollment_type_constraint.py b/msgraph_beta/generated/models/device_management_setting_enrollment_type_constraint.py index 08c41f4f32c..9e7e5546d1e 100644 --- a/msgraph_beta/generated/models/device_management_setting_enrollment_type_constraint.py +++ b/msgraph_beta/generated/models/device_management_setting_enrollment_type_constraint.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_management_constraint import DeviceManagementConstraint + writer.write_collection_of_primitive_values("enrollmentTypes", self.enrollment_types) diff --git a/msgraph_beta/generated/models/device_management_setting_file_constraint.py b/msgraph_beta/generated/models/device_management_setting_file_constraint.py index d0565308ba5..659df91313e 100644 --- a/msgraph_beta/generated/models/device_management_setting_file_constraint.py +++ b/msgraph_beta/generated/models/device_management_setting_file_constraint.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_management_constraint import DeviceManagementConstraint + writer.write_collection_of_primitive_values("supportedExtensions", self.supported_extensions) diff --git a/msgraph_beta/generated/models/device_management_setting_insights_definition.py b/msgraph_beta/generated/models/device_management_setting_insights_definition.py index 45e47f0f8f3..b50e66186f6 100644 --- a/msgraph_beta/generated/models/device_management_setting_insights_definition.py +++ b/msgraph_beta/generated/models/device_management_setting_insights_definition.py @@ -59,6 +59,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .device_management_configuration_setting_value import DeviceManagementConfigurationSettingValue + writer.write_str_value("@odata.type", self.odata_type) writer.write_str_value("settingDefinitionId", self.setting_definition_id) writer.write_object_value("settingInsight", self.setting_insight) diff --git a/msgraph_beta/generated/models/device_management_setting_instance.py b/msgraph_beta/generated/models/device_management_setting_instance.py index 021c2025041..d3207348b94 100644 --- a/msgraph_beta/generated/models/device_management_setting_instance.py +++ b/msgraph_beta/generated/models/device_management_setting_instance.py @@ -36,7 +36,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> DeviceManagementSe if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.deviceManagementAbstractComplexSettingInstance".casefold(): @@ -103,6 +104,14 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_management_abstract_complex_setting_instance import DeviceManagementAbstractComplexSettingInstance + from .device_management_boolean_setting_instance import DeviceManagementBooleanSettingInstance + from .device_management_collection_setting_instance import DeviceManagementCollectionSettingInstance + from .device_management_complex_setting_instance import DeviceManagementComplexSettingInstance + from .device_management_integer_setting_instance import DeviceManagementIntegerSettingInstance + from .device_management_string_setting_instance import DeviceManagementStringSettingInstance + from .entity import Entity + writer.write_str_value("definitionId", self.definition_id) writer.write_str_value("valueJson", self.value_json) diff --git a/msgraph_beta/generated/models/device_management_setting_instance_collection_response.py b/msgraph_beta/generated/models/device_management_setting_instance_collection_response.py index 86b693f8e45..41215b4cb95 100644 --- a/msgraph_beta/generated/models/device_management_setting_instance_collection_response.py +++ b/msgraph_beta/generated/models/device_management_setting_instance_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .device_management_setting_instance import DeviceManagementSettingInstance + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/device_management_setting_integer_constraint.py b/msgraph_beta/generated/models/device_management_setting_integer_constraint.py index d00266a2bfc..5e7aa1dc603 100644 --- a/msgraph_beta/generated/models/device_management_setting_integer_constraint.py +++ b/msgraph_beta/generated/models/device_management_setting_integer_constraint.py @@ -57,6 +57,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_management_constraint import DeviceManagementConstraint + writer.write_int_value("maximumValue", self.maximum_value) writer.write_int_value("minimumValue", self.minimum_value) diff --git a/msgraph_beta/generated/models/device_management_setting_profile_constraint.py b/msgraph_beta/generated/models/device_management_setting_profile_constraint.py index 27f7f30f98a..e01f950371c 100644 --- a/msgraph_beta/generated/models/device_management_setting_profile_constraint.py +++ b/msgraph_beta/generated/models/device_management_setting_profile_constraint.py @@ -57,6 +57,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_management_constraint import DeviceManagementConstraint + writer.write_str_value("source", self.source) writer.write_collection_of_primitive_values("types", self.types) diff --git a/msgraph_beta/generated/models/device_management_setting_regex_constraint.py b/msgraph_beta/generated/models/device_management_setting_regex_constraint.py index a13833a7a7f..37ea3879071 100644 --- a/msgraph_beta/generated/models/device_management_setting_regex_constraint.py +++ b/msgraph_beta/generated/models/device_management_setting_regex_constraint.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_management_constraint import DeviceManagementConstraint + writer.write_str_value("regex", self.regex) diff --git a/msgraph_beta/generated/models/device_management_setting_required_constraint.py b/msgraph_beta/generated/models/device_management_setting_required_constraint.py index 1b95141cedb..4fba563baff 100644 --- a/msgraph_beta/generated/models/device_management_setting_required_constraint.py +++ b/msgraph_beta/generated/models/device_management_setting_required_constraint.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_management_constraint import DeviceManagementConstraint + writer.write_str_value("notConfiguredValue", self.not_configured_value) diff --git a/msgraph_beta/generated/models/device_management_setting_sddl_constraint.py b/msgraph_beta/generated/models/device_management_setting_sddl_constraint.py index 09bfabe8d6f..e40d199f117 100644 --- a/msgraph_beta/generated/models/device_management_setting_sddl_constraint.py +++ b/msgraph_beta/generated/models/device_management_setting_sddl_constraint.py @@ -51,5 +51,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_management_constraint import DeviceManagementConstraint + diff --git a/msgraph_beta/generated/models/device_management_setting_string_length_constraint.py b/msgraph_beta/generated/models/device_management_setting_string_length_constraint.py index 78c1b3dcd7c..8c47b298ce8 100644 --- a/msgraph_beta/generated/models/device_management_setting_string_length_constraint.py +++ b/msgraph_beta/generated/models/device_management_setting_string_length_constraint.py @@ -57,6 +57,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_management_constraint import DeviceManagementConstraint + writer.write_int_value("maximumLength", self.maximum_length) writer.write_int_value("minimumLength", self.minimum_length) diff --git a/msgraph_beta/generated/models/device_management_setting_xml_constraint.py b/msgraph_beta/generated/models/device_management_setting_xml_constraint.py index 18eb56d6980..6ba9ad2ba86 100644 --- a/msgraph_beta/generated/models/device_management_setting_xml_constraint.py +++ b/msgraph_beta/generated/models/device_management_setting_xml_constraint.py @@ -51,5 +51,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_management_constraint import DeviceManagementConstraint + diff --git a/msgraph_beta/generated/models/device_management_settings.py b/msgraph_beta/generated/models/device_management_settings.py index ef005dfc21b..1aa582df40e 100644 --- a/msgraph_beta/generated/models/device_management_settings.py +++ b/msgraph_beta/generated/models/device_management_settings.py @@ -92,6 +92,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .derived_credential_provider_type import DerivedCredentialProviderType + writer.write_bool_value("androidDeviceAdministratorEnrollmentEnabled", self.android_device_administrator_enrollment_enabled) writer.write_enum_value("derivedCredentialProvider", self.derived_credential_provider) writer.write_str_value("derivedCredentialUrl", self.derived_credential_url) diff --git a/msgraph_beta/generated/models/device_management_string_setting_instance.py b/msgraph_beta/generated/models/device_management_string_setting_instance.py index 1be11894740..7697ebd9ee4 100644 --- a/msgraph_beta/generated/models/device_management_string_setting_instance.py +++ b/msgraph_beta/generated/models/device_management_string_setting_instance.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_management_setting_instance import DeviceManagementSettingInstance + writer.write_str_value("value", self.value) diff --git a/msgraph_beta/generated/models/device_management_template.py b/msgraph_beta/generated/models/device_management_template.py index 822ea272838..f7acdd67beb 100644 --- a/msgraph_beta/generated/models/device_management_template.py +++ b/msgraph_beta/generated/models/device_management_template.py @@ -57,7 +57,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> DeviceManagementTe if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.securityBaselineTemplate".casefold(): @@ -114,6 +115,14 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_management_setting_instance import DeviceManagementSettingInstance + from .device_management_template_setting_category import DeviceManagementTemplateSettingCategory + from .device_management_template_subtype import DeviceManagementTemplateSubtype + from .device_management_template_type import DeviceManagementTemplateType + from .entity import Entity + from .policy_platform_type import PolicyPlatformType + from .security_baseline_template import SecurityBaselineTemplate + writer.write_collection_of_object_values("categories", self.categories) writer.write_str_value("description", self.description) writer.write_str_value("displayName", self.display_name) diff --git a/msgraph_beta/generated/models/device_management_template_collection_response.py b/msgraph_beta/generated/models/device_management_template_collection_response.py index e64130b8910..6911aa23b86 100644 --- a/msgraph_beta/generated/models/device_management_template_collection_response.py +++ b/msgraph_beta/generated/models/device_management_template_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .device_management_template import DeviceManagementTemplate + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/device_management_template_insights_definition.py b/msgraph_beta/generated/models/device_management_template_insights_definition.py index c3ea908c1f1..3119642dda0 100644 --- a/msgraph_beta/generated/models/device_management_template_insights_definition.py +++ b/msgraph_beta/generated/models/device_management_template_insights_definition.py @@ -57,6 +57,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_management_setting_insights_definition import DeviceManagementSettingInsightsDefinition + from .entity import Entity + writer.write_collection_of_object_values("settingInsights", self.setting_insights) diff --git a/msgraph_beta/generated/models/device_management_template_insights_definition_collection_response.py b/msgraph_beta/generated/models/device_management_template_insights_definition_collection_response.py index 7bb8da71eea..90ddba28901 100644 --- a/msgraph_beta/generated/models/device_management_template_insights_definition_collection_response.py +++ b/msgraph_beta/generated/models/device_management_template_insights_definition_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .device_management_template_insights_definition import DeviceManagementTemplateInsightsDefinition + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/device_management_template_setting_category.py b/msgraph_beta/generated/models/device_management_template_setting_category.py index 2a70ca0bbc6..39ab2d72cf5 100644 --- a/msgraph_beta/generated/models/device_management_template_setting_category.py +++ b/msgraph_beta/generated/models/device_management_template_setting_category.py @@ -57,6 +57,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_management_setting_category import DeviceManagementSettingCategory + from .device_management_setting_instance import DeviceManagementSettingInstance + writer.write_collection_of_object_values("recommendedSettings", self.recommended_settings) diff --git a/msgraph_beta/generated/models/device_management_template_setting_category_collection_response.py b/msgraph_beta/generated/models/device_management_template_setting_category_collection_response.py index 6374058bc61..fe0e5e694d1 100644 --- a/msgraph_beta/generated/models/device_management_template_setting_category_collection_response.py +++ b/msgraph_beta/generated/models/device_management_template_setting_category_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .device_management_template_setting_category import DeviceManagementTemplateSettingCategory + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/device_management_troubleshooting_error_details.py b/msgraph_beta/generated/models/device_management_troubleshooting_error_details.py index 43d8e09d5ec..4f6b6679c1b 100644 --- a/msgraph_beta/generated/models/device_management_troubleshooting_error_details.py +++ b/msgraph_beta/generated/models/device_management_troubleshooting_error_details.py @@ -68,6 +68,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .device_management_troubleshooting_error_resource import DeviceManagementTroubleshootingErrorResource + writer.write_str_value("context", self.context) writer.write_str_value("failure", self.failure) writer.write_str_value("failureDetails", self.failure_details) diff --git a/msgraph_beta/generated/models/device_management_troubleshooting_event.py b/msgraph_beta/generated/models/device_management_troubleshooting_event.py index 3840d186489..9344c113c0f 100644 --- a/msgraph_beta/generated/models/device_management_troubleshooting_event.py +++ b/msgraph_beta/generated/models/device_management_troubleshooting_event.py @@ -42,7 +42,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> DeviceManagementTr if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.appleVppTokenTroubleshootingEvent".casefold(): @@ -98,6 +99,13 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .apple_vpp_token_troubleshooting_event import AppleVppTokenTroubleshootingEvent + from .device_management_troubleshooting_error_details import DeviceManagementTroubleshootingErrorDetails + from .enrollment_troubleshooting_event import EnrollmentTroubleshootingEvent + from .entity import Entity + from .key_value_pair import KeyValuePair + from .mobile_app_troubleshooting_event import MobileAppTroubleshootingEvent + writer.write_collection_of_object_values("additionalInformation", self.additional_information) writer.write_str_value("correlationId", self.correlation_id) writer.write_datetime_value("eventDateTime", self.event_date_time) diff --git a/msgraph_beta/generated/models/device_management_troubleshooting_event_collection_response.py b/msgraph_beta/generated/models/device_management_troubleshooting_event_collection_response.py index 79ce84b5bd8..ab632d988b5 100644 --- a/msgraph_beta/generated/models/device_management_troubleshooting_event_collection_response.py +++ b/msgraph_beta/generated/models/device_management_troubleshooting_event_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .device_management_troubleshooting_event import DeviceManagementTroubleshootingEvent + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/device_management_user_rights_setting.py b/msgraph_beta/generated/models/device_management_user_rights_setting.py index 1d3c8eb890c..8a150ab8e87 100644 --- a/msgraph_beta/generated/models/device_management_user_rights_setting.py +++ b/msgraph_beta/generated/models/device_management_user_rights_setting.py @@ -62,6 +62,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .device_management_user_rights_local_user_or_group import DeviceManagementUserRightsLocalUserOrGroup + from .state_management_setting import StateManagementSetting + writer.write_collection_of_object_values("localUsersOrGroups", self.local_users_or_groups) writer.write_str_value("@odata.type", self.odata_type) writer.write_enum_value("state", self.state) diff --git a/msgraph_beta/generated/models/device_registration_membership.py b/msgraph_beta/generated/models/device_registration_membership.py index f1324f88d19..e84941dc9ae 100644 --- a/msgraph_beta/generated/models/device_registration_membership.py +++ b/msgraph_beta/generated/models/device_registration_membership.py @@ -29,7 +29,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> DeviceRegistration if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.allDeviceRegistrationMembership".casefold(): @@ -72,6 +73,10 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .all_device_registration_membership import AllDeviceRegistrationMembership + from .enumerated_device_registration_membership import EnumeratedDeviceRegistrationMembership + from .no_device_registration_membership import NoDeviceRegistrationMembership + writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/device_registration_policy.py b/msgraph_beta/generated/models/device_registration_policy.py index b22a6033ea0..899490337b8 100644 --- a/msgraph_beta/generated/models/device_registration_policy.py +++ b/msgraph_beta/generated/models/device_registration_policy.py @@ -81,6 +81,12 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .azure_a_d_join_policy import AzureADJoinPolicy + from .azure_a_d_registration_policy import AzureADRegistrationPolicy + from .entity import Entity + from .local_admin_password_settings import LocalAdminPasswordSettings + from .multi_factor_auth_configuration import MultiFactorAuthConfiguration + writer.write_object_value("azureADJoin", self.azure_a_d_join) writer.write_object_value("azureADRegistration", self.azure_a_d_registration) writer.write_str_value("description", self.description) diff --git a/msgraph_beta/generated/models/device_scope_action_result.py b/msgraph_beta/generated/models/device_scope_action_result.py index 70e3d638fdc..69586db3fb7 100644 --- a/msgraph_beta/generated/models/device_scope_action_result.py +++ b/msgraph_beta/generated/models/device_scope_action_result.py @@ -65,6 +65,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .device_scope_action_status import DeviceScopeActionStatus + writer.write_str_value("deviceScopeAction", self.device_scope_action) writer.write_str_value("deviceScopeId", self.device_scope_id) writer.write_str_value("failedMessage", self.failed_message) diff --git a/msgraph_beta/generated/models/device_setup_configuration.py b/msgraph_beta/generated/models/device_setup_configuration.py index 2eda7c4245d..3b49ab19889 100644 --- a/msgraph_beta/generated/models/device_setup_configuration.py +++ b/msgraph_beta/generated/models/device_setup_configuration.py @@ -67,6 +67,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_datetime_value("createdDateTime", self.created_date_time) writer.write_str_value("description", self.description) writer.write_str_value("displayName", self.display_name) diff --git a/msgraph_beta/generated/models/device_shell_script.py b/msgraph_beta/generated/models/device_shell_script.py index 43b00f51c88..c019464fcda 100644 --- a/msgraph_beta/generated/models/device_shell_script.py +++ b/msgraph_beta/generated/models/device_shell_script.py @@ -118,6 +118,14 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_management_script_assignment import DeviceManagementScriptAssignment + from .device_management_script_device_state import DeviceManagementScriptDeviceState + from .device_management_script_group_assignment import DeviceManagementScriptGroupAssignment + from .device_management_script_run_summary import DeviceManagementScriptRunSummary + from .device_management_script_user_state import DeviceManagementScriptUserState + from .entity import Entity + from .run_as_account_type import RunAsAccountType + writer.write_collection_of_object_values("assignments", self.assignments) writer.write_bool_value("blockExecutionNotifications", self.block_execution_notifications) writer.write_str_value("description", self.description) diff --git a/msgraph_beta/generated/models/device_shell_script_collection_response.py b/msgraph_beta/generated/models/device_shell_script_collection_response.py index aea27dddee5..74b105445b2 100644 --- a/msgraph_beta/generated/models/device_shell_script_collection_response.py +++ b/msgraph_beta/generated/models/device_shell_script_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .device_shell_script import DeviceShellScript + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/devices_filter.py b/msgraph_beta/generated/models/devices_filter.py index 17bf9f7aa74..cc85cacf433 100644 --- a/msgraph_beta/generated/models/devices_filter.py +++ b/msgraph_beta/generated/models/devices_filter.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .cross_tenant_access_policy_target_configuration_access_type import CrossTenantAccessPolicyTargetConfigurationAccessType + writer.write_enum_value("mode", self.mode) writer.write_str_value("@odata.type", self.odata_type) writer.write_str_value("rule", self.rule) diff --git a/msgraph_beta/generated/models/dictionary.py b/msgraph_beta/generated/models/dictionary.py index 5669d23cb36..0cb523532dc 100644 --- a/msgraph_beta/generated/models/dictionary.py +++ b/msgraph_beta/generated/models/dictionary.py @@ -31,7 +31,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> Dictionary: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.customAppScopeAttributesDictionary".casefold(): @@ -86,6 +87,12 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .custom_app_scope_attributes_dictionary import CustomAppScopeAttributesDictionary + from .file_storage_container_custom_property_dictionary import FileStorageContainerCustomPropertyDictionary + from .partner.security.additional_data_dictionary import AdditionalDataDictionary + from .planner_forms_dictionary import PlannerFormsDictionary + from .result_template_dictionary import ResultTemplateDictionary + writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/dimension.py b/msgraph_beta/generated/models/dimension.py index 33677289d9e..5322e0b549d 100644 --- a/msgraph_beta/generated/models/dimension.py +++ b/msgraph_beta/generated/models/dimension.py @@ -67,6 +67,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .dimension_value import DimensionValue + writer.write_str_value("code", self.code) writer.write_collection_of_object_values("dimensionValues", self.dimension_values) writer.write_str_value("displayName", self.display_name) diff --git a/msgraph_beta/generated/models/dimension_collection_response.py b/msgraph_beta/generated/models/dimension_collection_response.py index 11db38f0fe7..44f19684183 100644 --- a/msgraph_beta/generated/models/dimension_collection_response.py +++ b/msgraph_beta/generated/models/dimension_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .dimension import Dimension + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/dimension_value_collection_response.py b/msgraph_beta/generated/models/dimension_value_collection_response.py index 095651c2e6c..434024b4545 100644 --- a/msgraph_beta/generated/models/dimension_value_collection_response.py +++ b/msgraph_beta/generated/models/dimension_value_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .dimension_value import DimensionValue + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/direct_sharing_abilities.py b/msgraph_beta/generated/models/direct_sharing_abilities.py index cb7dd6000b7..d3bb2617ef5 100644 --- a/msgraph_beta/generated/models/direct_sharing_abilities.py +++ b/msgraph_beta/generated/models/direct_sharing_abilities.py @@ -62,6 +62,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .sharing_operation_status import SharingOperationStatus + writer.write_object_value("addExistingExternalUsers", self.add_existing_external_users) writer.write_object_value("addInternalUsers", self.add_internal_users) writer.write_object_value("addNewExternalUsers", self.add_new_external_users) diff --git a/msgraph_beta/generated/models/directory.py b/msgraph_beta/generated/models/directory.py index 7a204cbd108..fb0afb41a2c 100644 --- a/msgraph_beta/generated/models/directory.py +++ b/msgraph_beta/generated/models/directory.py @@ -156,6 +156,26 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .administrative_unit import AdministrativeUnit + from .attribute_set import AttributeSet + from .certificate_authority_path import CertificateAuthorityPath + from .company_subscription import CompanySubscription + from .custom_security_attribute_definition import CustomSecurityAttributeDefinition + from .device_local_credential_info import DeviceLocalCredentialInfo + from .directory_object import DirectoryObject + from .entity import Entity + from .external_user_profile import ExternalUserProfile + from .feature_rollout_policy import FeatureRolloutPolicy + from .identity_provider_base import IdentityProviderBase + from .impacted_resource import ImpactedResource + from .inbound_shared_user_profile import InboundSharedUserProfile + from .on_premises_directory_synchronization import OnPremisesDirectorySynchronization + from .outbound_shared_user_profile import OutboundSharedUserProfile + from .pending_external_user_profile import PendingExternalUserProfile + from .public_key_infrastructure_root import PublicKeyInfrastructureRoot + from .recommendation import Recommendation + from .shared_email_domain import SharedEmailDomain + writer.write_collection_of_object_values("administrativeUnits", self.administrative_units) writer.write_collection_of_object_values("attributeSets", self.attribute_sets) writer.write_object_value("certificateAuthorities", self.certificate_authorities) diff --git a/msgraph_beta/generated/models/directory_audit.py b/msgraph_beta/generated/models/directory_audit.py index 1d56d83460b..cdf8c199c5e 100644 --- a/msgraph_beta/generated/models/directory_audit.py +++ b/msgraph_beta/generated/models/directory_audit.py @@ -97,6 +97,12 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_activity_initiator import AuditActivityInitiator + from .entity import Entity + from .key_value import KeyValue + from .operation_result import OperationResult + from .target_resource import TargetResource + writer.write_datetime_value("activityDateTime", self.activity_date_time) writer.write_str_value("activityDisplayName", self.activity_display_name) writer.write_collection_of_object_values("additionalDetails", self.additional_details) diff --git a/msgraph_beta/generated/models/directory_audit_collection_response.py b/msgraph_beta/generated/models/directory_audit_collection_response.py index 2e0ae80bef5..79acc4eb289 100644 --- a/msgraph_beta/generated/models/directory_audit_collection_response.py +++ b/msgraph_beta/generated/models/directory_audit_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .directory_audit import DirectoryAudit + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/directory_definition.py b/msgraph_beta/generated/models/directory_definition.py index 6a445295b37..8d1687021da 100644 --- a/msgraph_beta/generated/models/directory_definition.py +++ b/msgraph_beta/generated/models/directory_definition.py @@ -73,6 +73,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .directory_definition_discoverabilities import DirectoryDefinitionDiscoverabilities + from .entity import Entity + from .object_definition import ObjectDefinition + writer.write_enum_value("discoverabilities", self.discoverabilities) writer.write_datetime_value("discoveryDateTime", self.discovery_date_time) writer.write_str_value("name", self.name) diff --git a/msgraph_beta/generated/models/directory_definition_collection_response.py b/msgraph_beta/generated/models/directory_definition_collection_response.py index 9235af448ef..fd4e9ec241d 100644 --- a/msgraph_beta/generated/models/directory_definition_collection_response.py +++ b/msgraph_beta/generated/models/directory_definition_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .directory_definition import DirectoryDefinition + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/directory_object.py b/msgraph_beta/generated/models/directory_object.py index 84437a63084..cdae2f5c38d 100644 --- a/msgraph_beta/generated/models/directory_object.py +++ b/msgraph_beta/generated/models/directory_object.py @@ -68,7 +68,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> DirectoryObject: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.activityBasedTimeoutPolicy".casefold(): @@ -350,6 +351,50 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .activity_based_timeout_policy import ActivityBasedTimeoutPolicy + from .administrative_unit import AdministrativeUnit + from .application import Application + from .app_management_policy import AppManagementPolicy + from .authorization_policy import AuthorizationPolicy + from .certificate_authority_detail import CertificateAuthorityDetail + from .certificate_based_application_configuration import CertificateBasedApplicationConfiguration + from .certificate_based_auth_pki import CertificateBasedAuthPki + from .claims_mapping_policy import ClaimsMappingPolicy + from .contract import Contract + from .cross_tenant_access_policy import CrossTenantAccessPolicy + from .device import Device + from .directory_object_partner_reference import DirectoryObjectPartnerReference + from .directory_role import DirectoryRole + from .directory_role_template import DirectoryRoleTemplate + from .directory_setting_template import DirectorySettingTemplate + from .endpoint import Endpoint + from .entity import Entity + from .extension_property import ExtensionProperty + from .external_identities_policy import ExternalIdentitiesPolicy + from .external_profile import ExternalProfile + from .external_user_profile import ExternalUserProfile + from .federated_token_validation_policy import FederatedTokenValidationPolicy + from .group import Group + from .home_realm_discovery_policy import HomeRealmDiscoveryPolicy + from .identity_security_defaults_enforcement_policy import IdentitySecurityDefaultsEnforcementPolicy + from .multi_tenant_organization_member import MultiTenantOrganizationMember + from .organization import Organization + from .org_contact import OrgContact + from .pending_external_user_profile import PendingExternalUserProfile + from .permission_grant_policy import PermissionGrantPolicy + from .permission_grant_pre_approval_policy import PermissionGrantPreApprovalPolicy + from .policy_base import PolicyBase + from .resource_specific_permission_grant import ResourceSpecificPermissionGrant + from .service_principal import ServicePrincipal + from .service_principal_creation_policy import ServicePrincipalCreationPolicy + from .sts_policy import StsPolicy + from .tenant_app_management_policy import TenantAppManagementPolicy + from .tenant_relationship_access_policy_base import TenantRelationshipAccessPolicyBase + from .token_issuance_policy import TokenIssuancePolicy + from .token_lifetime_policy import TokenLifetimePolicy + from .trusted_certificate_authority_as_entity_base import TrustedCertificateAuthorityAsEntityBase + from .user import User + writer.write_datetime_value("deletedDateTime", self.deleted_date_time) diff --git a/msgraph_beta/generated/models/directory_object_collection_response.py b/msgraph_beta/generated/models/directory_object_collection_response.py index 4b32239b486..ad391a35e82 100644 --- a/msgraph_beta/generated/models/directory_object_collection_response.py +++ b/msgraph_beta/generated/models/directory_object_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .directory_object import DirectoryObject + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/directory_object_partner_reference.py b/msgraph_beta/generated/models/directory_object_partner_reference.py index a87de893590..062aa84284f 100644 --- a/msgraph_beta/generated/models/directory_object_partner_reference.py +++ b/msgraph_beta/generated/models/directory_object_partner_reference.py @@ -61,6 +61,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .directory_object import DirectoryObject + writer.write_str_value("description", self.description) writer.write_str_value("displayName", self.display_name) writer.write_uuid_value("externalPartnerTenantId", self.external_partner_tenant_id) diff --git a/msgraph_beta/generated/models/directory_role.py b/msgraph_beta/generated/models/directory_role.py index fbc54ab9799..52aca90f05f 100644 --- a/msgraph_beta/generated/models/directory_role.py +++ b/msgraph_beta/generated/models/directory_role.py @@ -66,6 +66,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .directory_object import DirectoryObject + from .scoped_role_membership import ScopedRoleMembership + writer.write_str_value("description", self.description) writer.write_str_value("displayName", self.display_name) writer.write_collection_of_object_values("members", self.members) diff --git a/msgraph_beta/generated/models/directory_role_access_review_policy.py b/msgraph_beta/generated/models/directory_role_access_review_policy.py index 6c2bf15f726..38ee09aae9b 100644 --- a/msgraph_beta/generated/models/directory_role_access_review_policy.py +++ b/msgraph_beta/generated/models/directory_role_access_review_policy.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .access_review_schedule_settings import AccessReviewScheduleSettings + from .entity import Entity + writer.write_object_value("settings", self.settings) diff --git a/msgraph_beta/generated/models/directory_role_collection_response.py b/msgraph_beta/generated/models/directory_role_collection_response.py index a3e97ccfab8..553bda92a15 100644 --- a/msgraph_beta/generated/models/directory_role_collection_response.py +++ b/msgraph_beta/generated/models/directory_role_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .directory_role import DirectoryRole + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/directory_role_template.py b/msgraph_beta/generated/models/directory_role_template.py index 076d8246125..3fd1641b800 100644 --- a/msgraph_beta/generated/models/directory_role_template.py +++ b/msgraph_beta/generated/models/directory_role_template.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .directory_object import DirectoryObject + writer.write_str_value("description", self.description) writer.write_str_value("displayName", self.display_name) diff --git a/msgraph_beta/generated/models/directory_role_template_collection_response.py b/msgraph_beta/generated/models/directory_role_template_collection_response.py index 9c4b96f1be8..22f3cce01f9 100644 --- a/msgraph_beta/generated/models/directory_role_template_collection_response.py +++ b/msgraph_beta/generated/models/directory_role_template_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .directory_role_template import DirectoryRoleTemplate + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/directory_setting.py b/msgraph_beta/generated/models/directory_setting.py index 1e166195988..c67f70701af 100644 --- a/msgraph_beta/generated/models/directory_setting.py +++ b/msgraph_beta/generated/models/directory_setting.py @@ -60,6 +60,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .setting_value import SettingValue + writer.write_str_value("displayName", self.display_name) writer.write_str_value("templateId", self.template_id) writer.write_collection_of_object_values("values", self.values) diff --git a/msgraph_beta/generated/models/directory_setting_collection_response.py b/msgraph_beta/generated/models/directory_setting_collection_response.py index 4a5b5129715..4fbc2d7e169 100644 --- a/msgraph_beta/generated/models/directory_setting_collection_response.py +++ b/msgraph_beta/generated/models/directory_setting_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .directory_setting import DirectorySetting + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/directory_setting_template.py b/msgraph_beta/generated/models/directory_setting_template.py index 3d0ccf2cc3a..fc64e6ddd05 100644 --- a/msgraph_beta/generated/models/directory_setting_template.py +++ b/msgraph_beta/generated/models/directory_setting_template.py @@ -60,6 +60,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .directory_object import DirectoryObject + from .setting_template_value import SettingTemplateValue + writer.write_str_value("description", self.description) writer.write_str_value("displayName", self.display_name) writer.write_collection_of_object_values("values", self.values) diff --git a/msgraph_beta/generated/models/directory_setting_template_collection_response.py b/msgraph_beta/generated/models/directory_setting_template_collection_response.py index e7ab5be5dc2..42abcb84911 100644 --- a/msgraph_beta/generated/models/directory_setting_template_collection_response.py +++ b/msgraph_beta/generated/models/directory_setting_template_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .directory_setting_template import DirectorySettingTemplate + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/disable_and_delete_user_apply_action.py b/msgraph_beta/generated/models/disable_and_delete_user_apply_action.py index e0d0cbf2be5..d31bcb0bd13 100644 --- a/msgraph_beta/generated/models/disable_and_delete_user_apply_action.py +++ b/msgraph_beta/generated/models/disable_and_delete_user_apply_action.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .access_review_apply_action import AccessReviewApplyAction + diff --git a/msgraph_beta/generated/models/discovered_sensitive_type.py b/msgraph_beta/generated/models/discovered_sensitive_type.py index 241e9fc522e..8cdfe977884 100644 --- a/msgraph_beta/generated/models/discovered_sensitive_type.py +++ b/msgraph_beta/generated/models/discovered_sensitive_type.py @@ -63,6 +63,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .classification_attribute import ClassificationAttribute + writer.write_collection_of_object_values("classificationAttributes", self.classification_attributes) writer.write_int_value("confidence", self.confidence) writer.write_int_value("count", self.count) diff --git a/msgraph_beta/generated/models/dlp_action_info.py b/msgraph_beta/generated/models/dlp_action_info.py index 402447b0e29..98629aa60f4 100644 --- a/msgraph_beta/generated/models/dlp_action_info.py +++ b/msgraph_beta/generated/models/dlp_action_info.py @@ -28,7 +28,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> DlpActionInfo: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.blockAccessAction".casefold(): @@ -65,6 +66,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .block_access_action import BlockAccessAction + from .notify_user_action import NotifyUserAction + writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/dlp_evaluate_policies_job_response.py b/msgraph_beta/generated/models/dlp_evaluate_policies_job_response.py index 6d8cf3b8721..56408b4fda2 100644 --- a/msgraph_beta/generated/models/dlp_evaluate_policies_job_response.py +++ b/msgraph_beta/generated/models/dlp_evaluate_policies_job_response.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .dlp_policies_job_result import DlpPoliciesJobResult + from .job_response_base import JobResponseBase + writer.write_object_value("result", self.result) diff --git a/msgraph_beta/generated/models/dlp_evaluation_input.py b/msgraph_beta/generated/models/dlp_evaluation_input.py index d7f94428630..5819b810bd8 100644 --- a/msgraph_beta/generated/models/dlp_evaluation_input.py +++ b/msgraph_beta/generated/models/dlp_evaluation_input.py @@ -33,7 +33,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> DlpEvaluationInput if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.dlpEvaluationWindowsDevicesInput".casefold(): @@ -70,6 +71,10 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .current_label import CurrentLabel + from .discovered_sensitive_type import DiscoveredSensitiveType + from .dlp_evaluation_windows_devices_input import DlpEvaluationWindowsDevicesInput + writer.write_object_value("currentLabel", self.current_label) writer.write_collection_of_object_values("discoveredSensitiveTypes", self.discovered_sensitive_types) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/dlp_evaluation_windows_devices_input.py b/msgraph_beta/generated/models/dlp_evaluation_windows_devices_input.py index 69bcf97de6d..d8df2449a25 100644 --- a/msgraph_beta/generated/models/dlp_evaluation_windows_devices_input.py +++ b/msgraph_beta/generated/models/dlp_evaluation_windows_devices_input.py @@ -57,6 +57,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .content_properties import ContentProperties + from .dlp_evaluation_input import DlpEvaluationInput + writer.write_object_value("contentProperties", self.content_properties) writer.write_str_value("sharedBy", self.shared_by) diff --git a/msgraph_beta/generated/models/dlp_notification.py b/msgraph_beta/generated/models/dlp_notification.py index 30933550455..4f139db6b13 100644 --- a/msgraph_beta/generated/models/dlp_notification.py +++ b/msgraph_beta/generated/models/dlp_notification.py @@ -29,7 +29,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> DlpNotification: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.dlpWindowsDevicesNotification".casefold(): @@ -61,6 +62,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .dlp_windows_devices_notification import DlpWindowsDevicesNotification + writer.write_str_value("author", self.author) writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/dlp_policies_job_result.py b/msgraph_beta/generated/models/dlp_policies_job_result.py index c5d3b3ffed3..daa6b5862ac 100644 --- a/msgraph_beta/generated/models/dlp_policies_job_result.py +++ b/msgraph_beta/generated/models/dlp_policies_job_result.py @@ -60,6 +60,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .matching_dlp_rule import MatchingDlpRule + writer.write_str_value("auditCorrelationId", self.audit_correlation_id) writer.write_datetime_value("evaluationDateTime", self.evaluation_date_time) writer.write_collection_of_object_values("matchingRules", self.matching_rules) diff --git a/msgraph_beta/generated/models/dlp_windows_devices_notification.py b/msgraph_beta/generated/models/dlp_windows_devices_notification.py index b5823f949b0..090c12d7ba1 100644 --- a/msgraph_beta/generated/models/dlp_windows_devices_notification.py +++ b/msgraph_beta/generated/models/dlp_windows_devices_notification.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .dlp_notification import DlpNotification + writer.write_str_value("contentName", self.content_name) writer.write_str_value("lastModfiedBy", self.last_modfied_by) diff --git a/msgraph_beta/generated/models/document.py b/msgraph_beta/generated/models/document.py index ec98362e8f5..18900bddb7f 100644 --- a/msgraph_beta/generated/models/document.py +++ b/msgraph_beta/generated/models/document.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .document_comment import DocumentComment + from .entity import Entity + writer.write_collection_of_object_values("comments", self.comments) diff --git a/msgraph_beta/generated/models/document_comment.py b/msgraph_beta/generated/models/document_comment.py index cc315a972de..2d5b326f630 100644 --- a/msgraph_beta/generated/models/document_comment.py +++ b/msgraph_beta/generated/models/document_comment.py @@ -57,6 +57,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .document_comment_reply import DocumentCommentReply + from .entity import Entity + writer.write_str_value("content", self.content) writer.write_collection_of_object_values("replies", self.replies) diff --git a/msgraph_beta/generated/models/document_comment_reply.py b/msgraph_beta/generated/models/document_comment_reply.py index d5c71c7f40f..175335dfd94 100644 --- a/msgraph_beta/generated/models/document_comment_reply.py +++ b/msgraph_beta/generated/models/document_comment_reply.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_str_value("content", self.content) writer.write_str_value("location", self.location) diff --git a/msgraph_beta/generated/models/document_processing_job.py b/msgraph_beta/generated/models/document_processing_job.py index 39091105e5e..3d4e5450b45 100644 --- a/msgraph_beta/generated/models/document_processing_job.py +++ b/msgraph_beta/generated/models/document_processing_job.py @@ -67,6 +67,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .document_processing_job_status import DocumentProcessingJobStatus + from .document_processing_job_type import DocumentProcessingJobType + from .entity import Entity + writer.write_datetime_value("createdDateTime", self.created_date_time) writer.write_enum_value("jobType", self.job_type) writer.write_str_value("listItemUniqueId", self.list_item_unique_id) diff --git a/msgraph_beta/generated/models/document_processing_job_collection_response.py b/msgraph_beta/generated/models/document_processing_job_collection_response.py index b014c40cfce..c938c6fee78 100644 --- a/msgraph_beta/generated/models/document_processing_job_collection_response.py +++ b/msgraph_beta/generated/models/document_processing_job_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .document_processing_job import DocumentProcessingJob + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/document_set.py b/msgraph_beta/generated/models/document_set.py index 2d458abe0aa..11b198483ff 100644 --- a/msgraph_beta/generated/models/document_set.py +++ b/msgraph_beta/generated/models/document_set.py @@ -77,6 +77,10 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .column_definition import ColumnDefinition + from .content_type_info import ContentTypeInfo + from .document_set_content import DocumentSetContent + writer.write_collection_of_object_values("allowedContentTypes", self.allowed_content_types) writer.write_collection_of_object_values("defaultContents", self.default_contents) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/document_set_content.py b/msgraph_beta/generated/models/document_set_content.py index 3e0d5b2f620..4ba9727e5f6 100644 --- a/msgraph_beta/generated/models/document_set_content.py +++ b/msgraph_beta/generated/models/document_set_content.py @@ -59,6 +59,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .content_type_info import ContentTypeInfo + writer.write_object_value("contentType", self.content_type) writer.write_str_value("fileName", self.file_name) writer.write_str_value("folderName", self.folder_name) diff --git a/msgraph_beta/generated/models/document_set_version.py b/msgraph_beta/generated/models/document_set_version.py index a2581eb4b12..275eb6f8416 100644 --- a/msgraph_beta/generated/models/document_set_version.py +++ b/msgraph_beta/generated/models/document_set_version.py @@ -70,6 +70,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .document_set_version_item import DocumentSetVersionItem + from .identity_set import IdentitySet + from .list_item_version import ListItemVersion + writer.write_str_value("comment", self.comment) writer.write_object_value("createdBy", self.created_by) writer.write_datetime_value("createdDateTime", self.created_date_time) diff --git a/msgraph_beta/generated/models/document_set_version_collection_response.py b/msgraph_beta/generated/models/document_set_version_collection_response.py index f5cac5f2924..e323f12681d 100644 --- a/msgraph_beta/generated/models/document_set_version_collection_response.py +++ b/msgraph_beta/generated/models/document_set_version_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .document_set_version import DocumentSetVersion + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/domain.py b/msgraph_beta/generated/models/domain.py index 90cdeec8b01..a90c142a090 100644 --- a/msgraph_beta/generated/models/domain.py +++ b/msgraph_beta/generated/models/domain.py @@ -114,6 +114,13 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .directory_object import DirectoryObject + from .domain_dns_record import DomainDnsRecord + from .domain_state import DomainState + from .entity import Entity + from .internal_domain_federation import InternalDomainFederation + from .shared_email_domain_invitation import SharedEmailDomainInvitation + writer.write_str_value("authenticationType", self.authentication_type) writer.write_str_value("availabilityStatus", self.availability_status) writer.write_collection_of_object_values("domainNameReferences", self.domain_name_references) diff --git a/msgraph_beta/generated/models/domain_collection_response.py b/msgraph_beta/generated/models/domain_collection_response.py index 2a19667c608..93ac00369e3 100644 --- a/msgraph_beta/generated/models/domain_collection_response.py +++ b/msgraph_beta/generated/models/domain_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .domain import Domain + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/domain_dns_cname_record.py b/msgraph_beta/generated/models/domain_dns_cname_record.py index f77947994e7..2574e80cd49 100644 --- a/msgraph_beta/generated/models/domain_dns_cname_record.py +++ b/msgraph_beta/generated/models/domain_dns_cname_record.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .domain_dns_record import DomainDnsRecord + writer.write_str_value("canonicalName", self.canonical_name) diff --git a/msgraph_beta/generated/models/domain_dns_mx_record.py b/msgraph_beta/generated/models/domain_dns_mx_record.py index f01eab6f2ee..94a7e133ccc 100644 --- a/msgraph_beta/generated/models/domain_dns_mx_record.py +++ b/msgraph_beta/generated/models/domain_dns_mx_record.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .domain_dns_record import DomainDnsRecord + writer.write_str_value("mailExchange", self.mail_exchange) writer.write_int_value("preference", self.preference) diff --git a/msgraph_beta/generated/models/domain_dns_record.py b/msgraph_beta/generated/models/domain_dns_record.py index 668b3b4295f..db41c00ed2e 100644 --- a/msgraph_beta/generated/models/domain_dns_record.py +++ b/msgraph_beta/generated/models/domain_dns_record.py @@ -38,7 +38,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> DomainDnsRecord: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.domainDnsCnameRecord".casefold(): @@ -102,6 +103,13 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .domain_dns_cname_record import DomainDnsCnameRecord + from .domain_dns_mx_record import DomainDnsMxRecord + from .domain_dns_srv_record import DomainDnsSrvRecord + from .domain_dns_txt_record import DomainDnsTxtRecord + from .domain_dns_unavailable_record import DomainDnsUnavailableRecord + from .entity import Entity + writer.write_bool_value("isOptional", self.is_optional) writer.write_str_value("label", self.label) writer.write_str_value("recordType", self.record_type) diff --git a/msgraph_beta/generated/models/domain_dns_record_collection_response.py b/msgraph_beta/generated/models/domain_dns_record_collection_response.py index 8d662c9bd89..ac3005caf96 100644 --- a/msgraph_beta/generated/models/domain_dns_record_collection_response.py +++ b/msgraph_beta/generated/models/domain_dns_record_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .domain_dns_record import DomainDnsRecord + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/domain_dns_srv_record.py b/msgraph_beta/generated/models/domain_dns_srv_record.py index bbc24673c58..97082899363 100644 --- a/msgraph_beta/generated/models/domain_dns_srv_record.py +++ b/msgraph_beta/generated/models/domain_dns_srv_record.py @@ -66,6 +66,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .domain_dns_record import DomainDnsRecord + writer.write_str_value("nameTarget", self.name_target) writer.write_int_value("port", self.port) writer.write_int_value("priority", self.priority) diff --git a/msgraph_beta/generated/models/domain_dns_txt_record.py b/msgraph_beta/generated/models/domain_dns_txt_record.py index ce2b8c2f5bf..44835552832 100644 --- a/msgraph_beta/generated/models/domain_dns_txt_record.py +++ b/msgraph_beta/generated/models/domain_dns_txt_record.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .domain_dns_record import DomainDnsRecord + writer.write_str_value("text", self.text) diff --git a/msgraph_beta/generated/models/domain_dns_unavailable_record.py b/msgraph_beta/generated/models/domain_dns_unavailable_record.py index 043971e6d70..c0f17e67ca6 100644 --- a/msgraph_beta/generated/models/domain_dns_unavailable_record.py +++ b/msgraph_beta/generated/models/domain_dns_unavailable_record.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .domain_dns_record import DomainDnsRecord + writer.write_str_value("description", self.description) diff --git a/msgraph_beta/generated/models/domain_identity_source.py b/msgraph_beta/generated/models/domain_identity_source.py index 0aab7c27614..688b272ef76 100644 --- a/msgraph_beta/generated/models/domain_identity_source.py +++ b/msgraph_beta/generated/models/domain_identity_source.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .identity_source import IdentitySource + writer.write_str_value("displayName", self.display_name) writer.write_str_value("domainName", self.domain_name) diff --git a/msgraph_beta/generated/models/domain_security_profile.py b/msgraph_beta/generated/models/domain_security_profile.py index b4c5d4ee44c..038e04070e2 100644 --- a/msgraph_beta/generated/models/domain_security_profile.py +++ b/msgraph_beta/generated/models/domain_security_profile.py @@ -100,6 +100,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .domain_registrant import DomainRegistrant + from .entity import Entity + from .reputation_category import ReputationCategory + from .security_vendor_information import SecurityVendorInformation + writer.write_collection_of_primitive_values("activityGroupNames", self.activity_group_names) writer.write_str_value("azureSubscriptionId", self.azure_subscription_id) writer.write_str_value("azureTenantId", self.azure_tenant_id) diff --git a/msgraph_beta/generated/models/domain_security_profile_collection_response.py b/msgraph_beta/generated/models/domain_security_profile_collection_response.py index 116b3731a1d..4e6c1744a0b 100644 --- a/msgraph_beta/generated/models/domain_security_profile_collection_response.py +++ b/msgraph_beta/generated/models/domain_security_profile_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .domain_security_profile import DomainSecurityProfile + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/drive.py b/msgraph_beta/generated/models/drive.py index 6efe4e24594..cd477012e84 100644 --- a/msgraph_beta/generated/models/drive.py +++ b/msgraph_beta/generated/models/drive.py @@ -105,6 +105,15 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_item import BaseItem + from .drive_item import DriveItem + from .identity_set import IdentitySet + from .item_activity_o_l_d import ItemActivityOLD + from .list_ import List_ + from .quota import Quota + from .sharepoint_ids import SharepointIds + from .system_facet import SystemFacet + writer.write_collection_of_object_values("activities", self.activities) writer.write_collection_of_object_values("bundles", self.bundles) writer.write_str_value("driveType", self.drive_type) diff --git a/msgraph_beta/generated/models/drive_collection_response.py b/msgraph_beta/generated/models/drive_collection_response.py index cdc6102fa0c..02614590854 100644 --- a/msgraph_beta/generated/models/drive_collection_response.py +++ b/msgraph_beta/generated/models/drive_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .drive import Drive + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/drive_item.py b/msgraph_beta/generated/models/drive_item.py index 65f0f7a78b0..aa972e1be9c 100644 --- a/msgraph_beta/generated/models/drive_item.py +++ b/msgraph_beta/generated/models/drive_item.py @@ -258,6 +258,40 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audio import Audio + from .base_item import BaseItem + from .bundle import Bundle + from .deleted import Deleted + from .drive_item_source import DriveItemSource + from .drive_item_version import DriveItemVersion + from .drive_item_viewpoint import DriveItemViewpoint + from .file import File + from .file_system_info import FileSystemInfo + from .folder import Folder + from .geo_coordinates import GeoCoordinates + from .image import Image + from .item_activity_o_l_d import ItemActivityOLD + from .item_analytics import ItemAnalytics + from .item_retention_label import ItemRetentionLabel + from .list_item import ListItem + from .malware import Malware + from .media import Media + from .package import Package + from .pending_operations import PendingOperations + from .permission import Permission + from .photo import Photo + from .publication_facet import PublicationFacet + from .remote_item import RemoteItem + from .root import Root + from .search_result import SearchResult + from .shared import Shared + from .sharepoint_ids import SharepointIds + from .special_folder import SpecialFolder + from .subscription import Subscription + from .thumbnail_set import ThumbnailSet + from .video import Video + from .workbook import Workbook + writer.write_collection_of_object_values("activities", self.activities) writer.write_object_value("analytics", self.analytics) writer.write_object_value("audio", self.audio) diff --git a/msgraph_beta/generated/models/drive_item_collection_response.py b/msgraph_beta/generated/models/drive_item_collection_response.py index ac199e2df08..cf62d61ba5b 100644 --- a/msgraph_beta/generated/models/drive_item_collection_response.py +++ b/msgraph_beta/generated/models/drive_item_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .drive_item import DriveItem + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/drive_item_source.py b/msgraph_beta/generated/models/drive_item_source.py index c4b3aed54c9..250cdee4986 100644 --- a/msgraph_beta/generated/models/drive_item_source.py +++ b/msgraph_beta/generated/models/drive_item_source.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .drive_item_source_application import DriveItemSourceApplication + writer.write_enum_value("application", self.application) writer.write_str_value("externalId", self.external_id) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/drive_item_uploadable_properties.py b/msgraph_beta/generated/models/drive_item_uploadable_properties.py index 7cf23853812..97de9e5b2af 100644 --- a/msgraph_beta/generated/models/drive_item_uploadable_properties.py +++ b/msgraph_beta/generated/models/drive_item_uploadable_properties.py @@ -74,6 +74,10 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .drive_item_source import DriveItemSource + from .file_system_info import FileSystemInfo + from .media_source import MediaSource + writer.write_str_value("description", self.description) writer.write_object_value("driveItemSource", self.drive_item_source) writer.write_int_value("fileSize", self.file_size) diff --git a/msgraph_beta/generated/models/drive_item_version.py b/msgraph_beta/generated/models/drive_item_version.py index cea11ccb283..ae463ba0e98 100644 --- a/msgraph_beta/generated/models/drive_item_version.py +++ b/msgraph_beta/generated/models/drive_item_version.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_item_version import BaseItemVersion + writer.write_bytes_value("content", self.content) writer.write_int_value("size", self.size) diff --git a/msgraph_beta/generated/models/drive_item_version_collection_response.py b/msgraph_beta/generated/models/drive_item_version_collection_response.py index 28ecfd72b07..440bf92a0f8 100644 --- a/msgraph_beta/generated/models/drive_item_version_collection_response.py +++ b/msgraph_beta/generated/models/drive_item_version_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .drive_item_version import DriveItemVersion + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/drive_item_viewpoint.py b/msgraph_beta/generated/models/drive_item_viewpoint.py index 5a64a31644f..682f3b5e703 100644 --- a/msgraph_beta/generated/models/drive_item_viewpoint.py +++ b/msgraph_beta/generated/models/drive_item_viewpoint.py @@ -59,6 +59,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .drive_item_access_operations_viewpoint import DriveItemAccessOperationsViewpoint + from .sharing_viewpoint import SharingViewpoint + writer.write_object_value("accessOperations", self.access_operations) writer.write_str_value("@odata.type", self.odata_type) writer.write_object_value("sharing", self.sharing) diff --git a/msgraph_beta/generated/models/drive_protection_rule.py b/msgraph_beta/generated/models/drive_protection_rule.py index 5f331791f70..a59757913db 100644 --- a/msgraph_beta/generated/models/drive_protection_rule.py +++ b/msgraph_beta/generated/models/drive_protection_rule.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .protection_rule_base import ProtectionRuleBase + writer.write_str_value("driveExpression", self.drive_expression) diff --git a/msgraph_beta/generated/models/drive_protection_rule_collection_response.py b/msgraph_beta/generated/models/drive_protection_rule_collection_response.py index f26a4a20395..099df75f51a 100644 --- a/msgraph_beta/generated/models/drive_protection_rule_collection_response.py +++ b/msgraph_beta/generated/models/drive_protection_rule_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .drive_protection_rule import DriveProtectionRule + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/drive_protection_unit.py b/msgraph_beta/generated/models/drive_protection_unit.py index 98f4375e579..85b706d10eb 100644 --- a/msgraph_beta/generated/models/drive_protection_unit.py +++ b/msgraph_beta/generated/models/drive_protection_unit.py @@ -57,6 +57,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .protection_unit_base import ProtectionUnitBase + writer.write_str_value("directoryObjectId", self.directory_object_id) diff --git a/msgraph_beta/generated/models/drive_protection_unit_collection_response.py b/msgraph_beta/generated/models/drive_protection_unit_collection_response.py index 35acd78eea0..5a12921b6f5 100644 --- a/msgraph_beta/generated/models/drive_protection_unit_collection_response.py +++ b/msgraph_beta/generated/models/drive_protection_unit_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .drive_protection_unit import DriveProtectionUnit + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/drive_protection_units_bulk_addition_job.py b/msgraph_beta/generated/models/drive_protection_units_bulk_addition_job.py index 6d14a955129..325b5b37fbc 100644 --- a/msgraph_beta/generated/models/drive_protection_units_bulk_addition_job.py +++ b/msgraph_beta/generated/models/drive_protection_units_bulk_addition_job.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .protection_units_bulk_job_base import ProtectionUnitsBulkJobBase + writer.write_collection_of_primitive_values("directoryObjectIds", self.directory_object_ids) writer.write_collection_of_primitive_values("drives", self.drives) diff --git a/msgraph_beta/generated/models/drive_protection_units_bulk_addition_job_collection_response.py b/msgraph_beta/generated/models/drive_protection_units_bulk_addition_job_collection_response.py index c52391b9a13..343bed6a656 100644 --- a/msgraph_beta/generated/models/drive_protection_units_bulk_addition_job_collection_response.py +++ b/msgraph_beta/generated/models/drive_protection_units_bulk_addition_job_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .drive_protection_units_bulk_addition_job import DriveProtectionUnitsBulkAdditionJob + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/drive_restore_artifact.py b/msgraph_beta/generated/models/drive_restore_artifact.py index 6fa5b97a16d..a485c3c983d 100644 --- a/msgraph_beta/generated/models/drive_restore_artifact.py +++ b/msgraph_beta/generated/models/drive_restore_artifact.py @@ -57,6 +57,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .restore_artifact_base import RestoreArtifactBase + writer.write_str_value("restoredSiteId", self.restored_site_id) diff --git a/msgraph_beta/generated/models/drive_restore_artifact_collection_response.py b/msgraph_beta/generated/models/drive_restore_artifact_collection_response.py index 92abf7b70bd..12bde6b5c24 100644 --- a/msgraph_beta/generated/models/drive_restore_artifact_collection_response.py +++ b/msgraph_beta/generated/models/drive_restore_artifact_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .drive_restore_artifact import DriveRestoreArtifact + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/drive_restore_artifacts_bulk_addition_request.py b/msgraph_beta/generated/models/drive_restore_artifacts_bulk_addition_request.py new file mode 100644 index 00000000000..e430c0aa582 --- /dev/null +++ b/msgraph_beta/generated/models/drive_restore_artifacts_bulk_addition_request.py @@ -0,0 +1,62 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .restore_artifacts_bulk_request_base import RestoreArtifactsBulkRequestBase + +from .restore_artifacts_bulk_request_base import RestoreArtifactsBulkRequestBase + +@dataclass +class DriveRestoreArtifactsBulkAdditionRequest(RestoreArtifactsBulkRequestBase): + # The directoryObjectIds property + directory_object_ids: Optional[List[str]] = None + # The drives property + drives: Optional[List[str]] = None + # The OdataType property + odata_type: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> DriveRestoreArtifactsBulkAdditionRequest: + """ + 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: DriveRestoreArtifactsBulkAdditionRequest + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return DriveRestoreArtifactsBulkAdditionRequest() + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .restore_artifacts_bulk_request_base import RestoreArtifactsBulkRequestBase + + from .restore_artifacts_bulk_request_base import RestoreArtifactsBulkRequestBase + + fields: Dict[str, Callable[[Any], None]] = { + "directoryObjectIds": lambda n : setattr(self, 'directory_object_ids', n.get_collection_of_primitive_values(str)), + "drives": lambda n : setattr(self, 'drives', n.get_collection_of_primitive_values(str)), + } + 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) + from .restore_artifacts_bulk_request_base import RestoreArtifactsBulkRequestBase + + writer.write_collection_of_primitive_values("directoryObjectIds", self.directory_object_ids) + writer.write_collection_of_primitive_values("drives", self.drives) + + diff --git a/msgraph_beta/generated/models/drive_restore_artifacts_bulk_addition_request_collection_response.py b/msgraph_beta/generated/models/drive_restore_artifacts_bulk_addition_request_collection_response.py new file mode 100644 index 00000000000..0c103e701ac --- /dev/null +++ b/msgraph_beta/generated/models/drive_restore_artifacts_bulk_addition_request_collection_response.py @@ -0,0 +1,60 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .drive_restore_artifacts_bulk_addition_request import DriveRestoreArtifactsBulkAdditionRequest + +from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + +@dataclass +class DriveRestoreArtifactsBulkAdditionRequestCollectionResponse(BaseCollectionPaginationCountResponse): + # The value property + value: Optional[List[DriveRestoreArtifactsBulkAdditionRequest]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> DriveRestoreArtifactsBulkAdditionRequestCollectionResponse: + """ + 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: DriveRestoreArtifactsBulkAdditionRequestCollectionResponse + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return DriveRestoreArtifactsBulkAdditionRequestCollectionResponse() + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .drive_restore_artifacts_bulk_addition_request import DriveRestoreArtifactsBulkAdditionRequest + + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .drive_restore_artifacts_bulk_addition_request import DriveRestoreArtifactsBulkAdditionRequest + + fields: Dict[str, Callable[[Any], None]] = { + "value": lambda n : setattr(self, 'value', n.get_collection_of_object_values(DriveRestoreArtifactsBulkAdditionRequest)), + } + 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) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .drive_restore_artifacts_bulk_addition_request import DriveRestoreArtifactsBulkAdditionRequest + + writer.write_collection_of_object_values("value", self.value) + + diff --git a/msgraph_beta/generated/models/e_book_install_summary.py b/msgraph_beta/generated/models/e_book_install_summary.py index 96611cb8aab..909dfa100e7 100644 --- a/msgraph_beta/generated/models/e_book_install_summary.py +++ b/msgraph_beta/generated/models/e_book_install_summary.py @@ -69,6 +69,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_int_value("failedDeviceCount", self.failed_device_count) writer.write_int_value("failedUserCount", self.failed_user_count) writer.write_int_value("installedDeviceCount", self.installed_device_count) diff --git a/msgraph_beta/generated/models/eas_email_profile_configuration_base.py b/msgraph_beta/generated/models/eas_email_profile_configuration_base.py index 0530eaedbe7..aa1cd374f49 100644 --- a/msgraph_beta/generated/models/eas_email_profile_configuration_base.py +++ b/msgraph_beta/generated/models/eas_email_profile_configuration_base.py @@ -40,7 +40,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> EasEmailProfileCon if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.iosEasEmailProfileConfiguration".casefold(): @@ -97,6 +98,14 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_configuration import DeviceConfiguration + from .domain_name_source import DomainNameSource + from .ios_eas_email_profile_configuration import IosEasEmailProfileConfiguration + from .username_source import UsernameSource + from .user_email_source import UserEmailSource + from .windows10_eas_email_profile_configuration import Windows10EasEmailProfileConfiguration + from .windows_phone_e_a_s_email_profile_configuration import WindowsPhoneEASEmailProfileConfiguration + writer.write_str_value("customDomainName", self.custom_domain_name) writer.write_enum_value("userDomainNameSource", self.user_domain_name_source) writer.write_enum_value("usernameAADSource", self.username_a_a_d_source) diff --git a/msgraph_beta/generated/models/ed_identity_source.py b/msgraph_beta/generated/models/ed_identity_source.py index d9d6e1735c2..6b680c5fe75 100644 --- a/msgraph_beta/generated/models/ed_identity_source.py +++ b/msgraph_beta/generated/models/ed_identity_source.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .permissions_definition_identity_source import PermissionsDefinitionIdentitySource + diff --git a/msgraph_beta/generated/models/edge.py b/msgraph_beta/generated/models/edge.py index a482e99c100..8ae686bc3ec 100644 --- a/msgraph_beta/generated/models/edge.py +++ b/msgraph_beta/generated/models/edge.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .internet_explorer_mode import InternetExplorerMode + writer.write_object_value("internetExplorerMode", self.internet_explorer_mode) diff --git a/msgraph_beta/generated/models/edge_home_button_configuration.py b/msgraph_beta/generated/models/edge_home_button_configuration.py index 41f4fe35c2c..d3e13406b1b 100644 --- a/msgraph_beta/generated/models/edge_home_button_configuration.py +++ b/msgraph_beta/generated/models/edge_home_button_configuration.py @@ -33,7 +33,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> EdgeHomeButtonConf if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.edgeHomeButtonHidden".casefold(): @@ -82,6 +83,11 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .edge_home_button_hidden import EdgeHomeButtonHidden + from .edge_home_button_loads_start_page import EdgeHomeButtonLoadsStartPage + from .edge_home_button_opens_custom_u_r_l import EdgeHomeButtonOpensCustomURL + from .edge_home_button_opens_new_tab import EdgeHomeButtonOpensNewTab + writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/edge_home_button_hidden.py b/msgraph_beta/generated/models/edge_home_button_hidden.py index a1021e3b86b..be923a8c45d 100644 --- a/msgraph_beta/generated/models/edge_home_button_hidden.py +++ b/msgraph_beta/generated/models/edge_home_button_hidden.py @@ -51,5 +51,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .edge_home_button_configuration import EdgeHomeButtonConfiguration + diff --git a/msgraph_beta/generated/models/edge_home_button_loads_start_page.py b/msgraph_beta/generated/models/edge_home_button_loads_start_page.py index 6e8f7c4ef60..e82740492d5 100644 --- a/msgraph_beta/generated/models/edge_home_button_loads_start_page.py +++ b/msgraph_beta/generated/models/edge_home_button_loads_start_page.py @@ -51,5 +51,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .edge_home_button_configuration import EdgeHomeButtonConfiguration + diff --git a/msgraph_beta/generated/models/edge_home_button_opens_custom_u_r_l.py b/msgraph_beta/generated/models/edge_home_button_opens_custom_u_r_l.py index e6243caad02..fa69457014e 100644 --- a/msgraph_beta/generated/models/edge_home_button_opens_custom_u_r_l.py +++ b/msgraph_beta/generated/models/edge_home_button_opens_custom_u_r_l.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .edge_home_button_configuration import EdgeHomeButtonConfiguration + writer.write_str_value("homeButtonCustomURL", self.home_button_custom_u_r_l) diff --git a/msgraph_beta/generated/models/edge_home_button_opens_new_tab.py b/msgraph_beta/generated/models/edge_home_button_opens_new_tab.py index 76aea7b9bb0..b68ce7fdfc1 100644 --- a/msgraph_beta/generated/models/edge_home_button_opens_new_tab.py +++ b/msgraph_beta/generated/models/edge_home_button_opens_new_tab.py @@ -51,5 +51,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .edge_home_button_configuration import EdgeHomeButtonConfiguration + diff --git a/msgraph_beta/generated/models/edge_search_engine.py b/msgraph_beta/generated/models/edge_search_engine.py index 018e04e8019..3e712f1b3c3 100644 --- a/msgraph_beta/generated/models/edge_search_engine.py +++ b/msgraph_beta/generated/models/edge_search_engine.py @@ -57,6 +57,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .edge_search_engine_base import EdgeSearchEngineBase + from .edge_search_engine_type import EdgeSearchEngineType + writer.write_enum_value("edgeSearchEngineType", self.edge_search_engine_type) diff --git a/msgraph_beta/generated/models/edge_search_engine_base.py b/msgraph_beta/generated/models/edge_search_engine_base.py index 54af0d97d33..216e26baf7b 100644 --- a/msgraph_beta/generated/models/edge_search_engine_base.py +++ b/msgraph_beta/generated/models/edge_search_engine_base.py @@ -31,7 +31,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> EdgeSearchEngineBa if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.edgeSearchEngine".casefold(): @@ -68,6 +69,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .edge_search_engine import EdgeSearchEngine + from .edge_search_engine_custom import EdgeSearchEngineCustom + writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/edge_search_engine_custom.py b/msgraph_beta/generated/models/edge_search_engine_custom.py index bd52ff06dee..08a0d50eb46 100644 --- a/msgraph_beta/generated/models/edge_search_engine_custom.py +++ b/msgraph_beta/generated/models/edge_search_engine_custom.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .edge_search_engine_base import EdgeSearchEngineBase + writer.write_str_value("edgeSearchEngineOpenSearchXmlUrl", self.edge_search_engine_open_search_xml_url) diff --git a/msgraph_beta/generated/models/ediscovery/add_to_review_set_operation.py b/msgraph_beta/generated/models/ediscovery/add_to_review_set_operation.py index 0e5ee778827..5c61758bd86 100644 --- a/msgraph_beta/generated/models/ediscovery/add_to_review_set_operation.py +++ b/msgraph_beta/generated/models/ediscovery/add_to_review_set_operation.py @@ -60,6 +60,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .case_operation import CaseOperation + from .review_set import ReviewSet + from .source_collection import SourceCollection + writer.write_object_value("reviewSet", self.review_set) writer.write_object_value("sourceCollection", self.source_collection) diff --git a/msgraph_beta/generated/models/ediscovery/case.py b/msgraph_beta/generated/models/ediscovery/case.py index 54366a36f54..de307d6312c 100644 --- a/msgraph_beta/generated/models/ediscovery/case.py +++ b/msgraph_beta/generated/models/ediscovery/case.py @@ -130,6 +130,18 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + from ..identity_set import IdentitySet + from .case_operation import CaseOperation + from .case_settings import CaseSettings + from .case_status import CaseStatus + from .custodian import Custodian + from .legal_hold import LegalHold + from .noncustodial_data_source import NoncustodialDataSource + from .review_set import ReviewSet + from .source_collection import SourceCollection + from .tag import Tag + writer.write_object_value("closedBy", self.closed_by) writer.write_datetime_value("closedDateTime", self.closed_date_time) writer.write_datetime_value("createdDateTime", self.created_date_time) diff --git a/msgraph_beta/generated/models/ediscovery/case_collection_response.py b/msgraph_beta/generated/models/ediscovery/case_collection_response.py index 2e3c6aeb725..ac6f7b457c2 100644 --- a/msgraph_beta/generated/models/ediscovery/case_collection_response.py +++ b/msgraph_beta/generated/models/ediscovery/case_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .case import Case + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/ediscovery/case_export_operation.py b/msgraph_beta/generated/models/ediscovery/case_export_operation.py index 55ea994a8cc..7f4c4dcd536 100644 --- a/msgraph_beta/generated/models/ediscovery/case_export_operation.py +++ b/msgraph_beta/generated/models/ediscovery/case_export_operation.py @@ -81,6 +81,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .case_operation import CaseOperation + from .export_file_structure import ExportFileStructure + from .export_options import ExportOptions + from .review_set import ReviewSet + writer.write_str_value("azureBlobContainer", self.azure_blob_container) writer.write_str_value("azureBlobToken", self.azure_blob_token) writer.write_str_value("description", self.description) diff --git a/msgraph_beta/generated/models/ediscovery/case_export_operation_collection_response.py b/msgraph_beta/generated/models/ediscovery/case_export_operation_collection_response.py index f59eb8c00ab..b116ca4ae55 100644 --- a/msgraph_beta/generated/models/ediscovery/case_export_operation_collection_response.py +++ b/msgraph_beta/generated/models/ediscovery/case_export_operation_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .case_export_operation import CaseExportOperation + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/ediscovery/case_hold_operation.py b/msgraph_beta/generated/models/ediscovery/case_hold_operation.py index 9df612b0996..5c18539e776 100644 --- a/msgraph_beta/generated/models/ediscovery/case_hold_operation.py +++ b/msgraph_beta/generated/models/ediscovery/case_hold_operation.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .case_operation import CaseOperation + diff --git a/msgraph_beta/generated/models/ediscovery/case_index_operation.py b/msgraph_beta/generated/models/ediscovery/case_index_operation.py index 4099e386666..c951e0d8293 100644 --- a/msgraph_beta/generated/models/ediscovery/case_index_operation.py +++ b/msgraph_beta/generated/models/ediscovery/case_index_operation.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .case_operation import CaseOperation + diff --git a/msgraph_beta/generated/models/ediscovery/case_operation.py b/msgraph_beta/generated/models/ediscovery/case_operation.py index 2a0c045485e..63cab1e976e 100644 --- a/msgraph_beta/generated/models/ediscovery/case_operation.py +++ b/msgraph_beta/generated/models/ediscovery/case_operation.py @@ -49,7 +49,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> CaseOperation: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.ediscovery.addToReviewSetOperation".casefold(): @@ -135,6 +136,19 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + from ..identity_set import IdentitySet + from ..result_info import ResultInfo + from .add_to_review_set_operation import AddToReviewSetOperation + from .case_action import CaseAction + from .case_export_operation import CaseExportOperation + from .case_hold_operation import CaseHoldOperation + from .case_index_operation import CaseIndexOperation + from .case_operation_status import CaseOperationStatus + from .estimate_statistics_operation import EstimateStatisticsOperation + from .purge_data_operation import PurgeDataOperation + from .tag_operation import TagOperation + writer.write_enum_value("action", self.action) writer.write_datetime_value("completedDateTime", self.completed_date_time) writer.write_object_value("createdBy", self.created_by) diff --git a/msgraph_beta/generated/models/ediscovery/case_operation_collection_response.py b/msgraph_beta/generated/models/ediscovery/case_operation_collection_response.py index f2909938350..f77e869eaa0 100644 --- a/msgraph_beta/generated/models/ediscovery/case_operation_collection_response.py +++ b/msgraph_beta/generated/models/ediscovery/case_operation_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .case_operation import CaseOperation + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/ediscovery/case_settings.py b/msgraph_beta/generated/models/ediscovery/case_settings.py index 23f5a2aaaa9..c7f52db99b2 100644 --- a/msgraph_beta/generated/models/ediscovery/case_settings.py +++ b/msgraph_beta/generated/models/ediscovery/case_settings.py @@ -66,6 +66,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + from .ocr_settings import OcrSettings + from .redundancy_detection_settings import RedundancyDetectionSettings + from .topic_modeling_settings import TopicModelingSettings + writer.write_object_value("ocr", self.ocr) writer.write_object_value("redundancyDetection", self.redundancy_detection) writer.write_object_value("topicModeling", self.topic_modeling) diff --git a/msgraph_beta/generated/models/ediscovery/custodian.py b/msgraph_beta/generated/models/ediscovery/custodian.py index e1bce4314bd..799582fc987 100644 --- a/msgraph_beta/generated/models/ediscovery/custodian.py +++ b/msgraph_beta/generated/models/ediscovery/custodian.py @@ -76,6 +76,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .data_source_container import DataSourceContainer + from .site_source import SiteSource + from .unified_group_source import UnifiedGroupSource + from .user_source import UserSource + writer.write_datetime_value("acknowledgedDateTime", self.acknowledged_date_time) writer.write_bool_value("applyHoldToSources", self.apply_hold_to_sources) writer.write_str_value("email", self.email) diff --git a/msgraph_beta/generated/models/ediscovery/custodian_collection_response.py b/msgraph_beta/generated/models/ediscovery/custodian_collection_response.py index 3ddf5e7b126..e25b19de46f 100644 --- a/msgraph_beta/generated/models/ediscovery/custodian_collection_response.py +++ b/msgraph_beta/generated/models/ediscovery/custodian_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .custodian import Custodian + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/ediscovery/data_source.py b/msgraph_beta/generated/models/ediscovery/data_source.py index d0aa7392af0..2d52e410e06 100644 --- a/msgraph_beta/generated/models/ediscovery/data_source.py +++ b/msgraph_beta/generated/models/ediscovery/data_source.py @@ -37,7 +37,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> DataSource: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.ediscovery.siteSource".casefold(): @@ -92,6 +93,13 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + from ..identity_set import IdentitySet + from .data_source_hold_status import DataSourceHoldStatus + from .site_source import SiteSource + from .unified_group_source import UnifiedGroupSource + from .user_source import UserSource + writer.write_object_value("createdBy", self.created_by) writer.write_datetime_value("createdDateTime", self.created_date_time) writer.write_str_value("displayName", self.display_name) diff --git a/msgraph_beta/generated/models/ediscovery/data_source_collection_response.py b/msgraph_beta/generated/models/ediscovery/data_source_collection_response.py index efe12a587a7..71a4b630cc7 100644 --- a/msgraph_beta/generated/models/ediscovery/data_source_collection_response.py +++ b/msgraph_beta/generated/models/ediscovery/data_source_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .data_source import DataSource + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/ediscovery/data_source_container.py b/msgraph_beta/generated/models/ediscovery/data_source_container.py index f192bf304bf..476fc2e6f50 100644 --- a/msgraph_beta/generated/models/ediscovery/data_source_container.py +++ b/msgraph_beta/generated/models/ediscovery/data_source_container.py @@ -43,7 +43,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> DataSourceContaine if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.ediscovery.custodian".casefold(): @@ -97,6 +98,13 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + from .case_index_operation import CaseIndexOperation + from .custodian import Custodian + from .data_source_container_status import DataSourceContainerStatus + from .data_source_hold_status import DataSourceHoldStatus + from .noncustodial_data_source import NoncustodialDataSource + writer.write_datetime_value("createdDateTime", self.created_date_time) writer.write_str_value("displayName", self.display_name) writer.write_enum_value("holdStatus", self.hold_status) diff --git a/msgraph_beta/generated/models/ediscovery/ediscoveryroot.py b/msgraph_beta/generated/models/ediscovery/ediscoveryroot.py index 8241d14f205..bc9946917ee 100644 --- a/msgraph_beta/generated/models/ediscovery/ediscoveryroot.py +++ b/msgraph_beta/generated/models/ediscovery/ediscoveryroot.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + from .case import Case + writer.write_collection_of_object_values("cases", self.cases) diff --git a/msgraph_beta/generated/models/ediscovery/estimate_statistics_operation.py b/msgraph_beta/generated/models/ediscovery/estimate_statistics_operation.py index 765130fd39b..d76748186bf 100644 --- a/msgraph_beta/generated/models/ediscovery/estimate_statistics_operation.py +++ b/msgraph_beta/generated/models/ediscovery/estimate_statistics_operation.py @@ -72,6 +72,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .case_operation import CaseOperation + from .source_collection import SourceCollection + writer.write_int_value("indexedItemCount", self.indexed_item_count) writer.write_int_value("indexedItemsSize", self.indexed_items_size) writer.write_int_value("mailboxCount", self.mailbox_count) diff --git a/msgraph_beta/generated/models/ediscovery/legal_hold.py b/msgraph_beta/generated/models/ediscovery/legal_hold.py index bd64ac9bbc4..245ebf0c820 100644 --- a/msgraph_beta/generated/models/ediscovery/legal_hold.py +++ b/msgraph_beta/generated/models/ediscovery/legal_hold.py @@ -103,6 +103,13 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + from ..identity_set import IdentitySet + from .legal_hold_status import LegalHoldStatus + from .site_source import SiteSource + from .unified_group_source import UnifiedGroupSource + from .user_source import UserSource + writer.write_str_value("contentQuery", self.content_query) writer.write_object_value("createdBy", self.created_by) writer.write_datetime_value("createdDateTime", self.created_date_time) diff --git a/msgraph_beta/generated/models/ediscovery/legal_hold_collection_response.py b/msgraph_beta/generated/models/ediscovery/legal_hold_collection_response.py index 268211fe21f..6a064fbcde3 100644 --- a/msgraph_beta/generated/models/ediscovery/legal_hold_collection_response.py +++ b/msgraph_beta/generated/models/ediscovery/legal_hold_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .legal_hold import LegalHold + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/ediscovery/noncustodial_data_source.py b/msgraph_beta/generated/models/ediscovery/noncustodial_data_source.py index 35bee7eb24d..517e14b8411 100644 --- a/msgraph_beta/generated/models/ediscovery/noncustodial_data_source.py +++ b/msgraph_beta/generated/models/ediscovery/noncustodial_data_source.py @@ -57,6 +57,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .data_source import DataSource + from .data_source_container import DataSourceContainer + writer.write_bool_value("applyHoldToSource", self.apply_hold_to_source) writer.write_object_value("dataSource", self.data_source) diff --git a/msgraph_beta/generated/models/ediscovery/noncustodial_data_source_collection_response.py b/msgraph_beta/generated/models/ediscovery/noncustodial_data_source_collection_response.py index 3896951e73e..0e5e04168f5 100644 --- a/msgraph_beta/generated/models/ediscovery/noncustodial_data_source_collection_response.py +++ b/msgraph_beta/generated/models/ediscovery/noncustodial_data_source_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .noncustodial_data_source import NoncustodialDataSource + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/ediscovery/purge_data_operation.py b/msgraph_beta/generated/models/ediscovery/purge_data_operation.py index d9245422da7..12c933116a4 100644 --- a/msgraph_beta/generated/models/ediscovery/purge_data_operation.py +++ b/msgraph_beta/generated/models/ediscovery/purge_data_operation.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .case_operation import CaseOperation + diff --git a/msgraph_beta/generated/models/ediscovery/review_set.py b/msgraph_beta/generated/models/ediscovery/review_set.py index 00b6f178997..2a120370915 100644 --- a/msgraph_beta/generated/models/ediscovery/review_set.py +++ b/msgraph_beta/generated/models/ediscovery/review_set.py @@ -67,6 +67,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + from ..identity_set import IdentitySet + from .review_set_query import ReviewSetQuery + writer.write_object_value("createdBy", self.created_by) writer.write_datetime_value("createdDateTime", self.created_date_time) writer.write_str_value("displayName", self.display_name) diff --git a/msgraph_beta/generated/models/ediscovery/review_set_collection_response.py b/msgraph_beta/generated/models/ediscovery/review_set_collection_response.py index 7aadb092e31..efa411acd15 100644 --- a/msgraph_beta/generated/models/ediscovery/review_set_collection_response.py +++ b/msgraph_beta/generated/models/ediscovery/review_set_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .review_set import ReviewSet + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/ediscovery/review_set_query.py b/msgraph_beta/generated/models/ediscovery/review_set_query.py index b124a6ee353..a372db27a57 100644 --- a/msgraph_beta/generated/models/ediscovery/review_set_query.py +++ b/msgraph_beta/generated/models/ediscovery/review_set_query.py @@ -70,6 +70,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + from ..identity_set import IdentitySet + writer.write_object_value("createdBy", self.created_by) writer.write_datetime_value("createdDateTime", self.created_date_time) writer.write_str_value("displayName", self.display_name) diff --git a/msgraph_beta/generated/models/ediscovery/review_set_query_collection_response.py b/msgraph_beta/generated/models/ediscovery/review_set_query_collection_response.py index 6f8c65b9cc7..25dae2be9f2 100644 --- a/msgraph_beta/generated/models/ediscovery/review_set_query_collection_response.py +++ b/msgraph_beta/generated/models/ediscovery/review_set_query_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .review_set_query import ReviewSetQuery + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/ediscovery/site_source.py b/msgraph_beta/generated/models/ediscovery/site_source.py index 11a2e264d59..192859fc337 100644 --- a/msgraph_beta/generated/models/ediscovery/site_source.py +++ b/msgraph_beta/generated/models/ediscovery/site_source.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..site import Site + from .data_source import DataSource + writer.write_object_value("site", self.site) diff --git a/msgraph_beta/generated/models/ediscovery/site_source_collection_response.py b/msgraph_beta/generated/models/ediscovery/site_source_collection_response.py index 5fb45d096c3..c79577a5bc6 100644 --- a/msgraph_beta/generated/models/ediscovery/site_source_collection_response.py +++ b/msgraph_beta/generated/models/ediscovery/site_source_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .site_source import SiteSource + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/ediscovery/source_collection.py b/msgraph_beta/generated/models/ediscovery/source_collection.py index b48a2cd5cc7..29d4a8db33b 100644 --- a/msgraph_beta/generated/models/ediscovery/source_collection.py +++ b/msgraph_beta/generated/models/ediscovery/source_collection.py @@ -106,6 +106,14 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + from ..identity_set import IdentitySet + from .add_to_review_set_operation import AddToReviewSetOperation + from .data_source import DataSource + from .data_source_scopes import DataSourceScopes + from .estimate_statistics_operation import EstimateStatisticsOperation + from .noncustodial_data_source import NoncustodialDataSource + writer.write_object_value("addToReviewSetOperation", self.add_to_review_set_operation) writer.write_collection_of_object_values("additionalSources", self.additional_sources) writer.write_str_value("contentQuery", self.content_query) diff --git a/msgraph_beta/generated/models/ediscovery/source_collection_collection_response.py b/msgraph_beta/generated/models/ediscovery/source_collection_collection_response.py index d085724787b..6c7fd13ba42 100644 --- a/msgraph_beta/generated/models/ediscovery/source_collection_collection_response.py +++ b/msgraph_beta/generated/models/ediscovery/source_collection_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .source_collection import SourceCollection + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/ediscovery/tag.py b/msgraph_beta/generated/models/ediscovery/tag.py index 3257525716e..b968bb769a7 100644 --- a/msgraph_beta/generated/models/ediscovery/tag.py +++ b/msgraph_beta/generated/models/ediscovery/tag.py @@ -76,6 +76,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + from ..identity_set import IdentitySet + from .child_selectability import ChildSelectability + writer.write_enum_value("childSelectability", self.child_selectability) writer.write_collection_of_object_values("childTags", self.child_tags) writer.write_object_value("createdBy", self.created_by) diff --git a/msgraph_beta/generated/models/ediscovery/tag_collection_response.py b/msgraph_beta/generated/models/ediscovery/tag_collection_response.py index 39ae8bc46e3..4bade3b8e9e 100644 --- a/msgraph_beta/generated/models/ediscovery/tag_collection_response.py +++ b/msgraph_beta/generated/models/ediscovery/tag_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .tag import Tag + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/ediscovery/tag_operation.py b/msgraph_beta/generated/models/ediscovery/tag_operation.py index 6b04c763846..dc6ba7584ba 100644 --- a/msgraph_beta/generated/models/ediscovery/tag_operation.py +++ b/msgraph_beta/generated/models/ediscovery/tag_operation.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .case_operation import CaseOperation + diff --git a/msgraph_beta/generated/models/ediscovery/unified_group_source.py b/msgraph_beta/generated/models/ediscovery/unified_group_source.py index bcfd48c1115..5b45b0449da 100644 --- a/msgraph_beta/generated/models/ediscovery/unified_group_source.py +++ b/msgraph_beta/generated/models/ediscovery/unified_group_source.py @@ -60,6 +60,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..group import Group + from .data_source import DataSource + from .source_type import SourceType + writer.write_object_value("group", self.group) writer.write_enum_value("includedSources", self.included_sources) diff --git a/msgraph_beta/generated/models/ediscovery/unified_group_source_collection_response.py b/msgraph_beta/generated/models/ediscovery/unified_group_source_collection_response.py index a9338635463..eafd3a40657 100644 --- a/msgraph_beta/generated/models/ediscovery/unified_group_source_collection_response.py +++ b/msgraph_beta/generated/models/ediscovery/unified_group_source_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .unified_group_source import UnifiedGroupSource + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/ediscovery/user_source.py b/msgraph_beta/generated/models/ediscovery/user_source.py index 941320ddd17..ae9c3ce212d 100644 --- a/msgraph_beta/generated/models/ediscovery/user_source.py +++ b/msgraph_beta/generated/models/ediscovery/user_source.py @@ -60,6 +60,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .data_source import DataSource + from .source_type import SourceType + writer.write_str_value("email", self.email) writer.write_enum_value("includedSources", self.included_sources) writer.write_str_value("siteWebUrl", self.site_web_url) diff --git a/msgraph_beta/generated/models/ediscovery/user_source_collection_response.py b/msgraph_beta/generated/models/ediscovery/user_source_collection_response.py index ce93ca6c6a0..7bce07e3d73 100644 --- a/msgraph_beta/generated/models/ediscovery/user_source_collection_response.py +++ b/msgraph_beta/generated/models/ediscovery/user_source_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .user_source import UserSource + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/edition_upgrade_configuration.py b/msgraph_beta/generated/models/edition_upgrade_configuration.py index b35a3e74165..72f1474d38b 100644 --- a/msgraph_beta/generated/models/edition_upgrade_configuration.py +++ b/msgraph_beta/generated/models/edition_upgrade_configuration.py @@ -75,6 +75,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_configuration import DeviceConfiguration + from .edition_upgrade_license_type import EditionUpgradeLicenseType + from .windows10_edition_type import Windows10EditionType + from .windows_s_mode_configuration import WindowsSModeConfiguration + writer.write_str_value("license", self.license) writer.write_enum_value("licenseType", self.license_type) writer.write_str_value("productKey", self.product_key) diff --git a/msgraph_beta/generated/models/education_assignment.py b/msgraph_beta/generated/models/education_assignment.py index 7b7eec1130b..b13d380b7b0 100644 --- a/msgraph_beta/generated/models/education_assignment.py +++ b/msgraph_beta/generated/models/education_assignment.py @@ -175,6 +175,21 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .education_added_student_action import EducationAddedStudentAction + from .education_add_to_calendar_options import EducationAddToCalendarOptions + from .education_assignment_grade_type import EducationAssignmentGradeType + from .education_assignment_recipient import EducationAssignmentRecipient + from .education_assignment_resource import EducationAssignmentResource + from .education_assignment_status import EducationAssignmentStatus + from .education_category import EducationCategory + from .education_grading_category import EducationGradingCategory + from .education_grading_scheme import EducationGradingScheme + from .education_item_body import EducationItemBody + from .education_rubric import EducationRubric + from .education_submission import EducationSubmission + from .entity import Entity + from .identity_set import IdentitySet + writer.write_enum_value("addToCalendarAction", self.add_to_calendar_action) writer.write_enum_value("addedStudentAction", self.added_student_action) writer.write_bool_value("allowLateSubmissions", self.allow_late_submissions) diff --git a/msgraph_beta/generated/models/education_assignment_class_recipient.py b/msgraph_beta/generated/models/education_assignment_class_recipient.py index 6ac80348714..6a648bc5d3d 100644 --- a/msgraph_beta/generated/models/education_assignment_class_recipient.py +++ b/msgraph_beta/generated/models/education_assignment_class_recipient.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .education_assignment_recipient import EducationAssignmentRecipient + diff --git a/msgraph_beta/generated/models/education_assignment_collection_response.py b/msgraph_beta/generated/models/education_assignment_collection_response.py index 6bfb5f1497b..ddb710a51b3 100644 --- a/msgraph_beta/generated/models/education_assignment_collection_response.py +++ b/msgraph_beta/generated/models/education_assignment_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .education_assignment import EducationAssignment + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/education_assignment_defaults.py b/msgraph_beta/generated/models/education_assignment_defaults.py index a146088d351..b1e8713bf9f 100644 --- a/msgraph_beta/generated/models/education_assignment_defaults.py +++ b/msgraph_beta/generated/models/education_assignment_defaults.py @@ -67,6 +67,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .education_added_student_action import EducationAddedStudentAction + from .education_add_to_calendar_options import EducationAddToCalendarOptions + from .entity import Entity + writer.write_enum_value("addToCalendarAction", self.add_to_calendar_action) writer.write_enum_value("addedStudentAction", self.added_student_action) writer.write_time_value("dueTime", self.due_time) diff --git a/msgraph_beta/generated/models/education_assignment_grade.py b/msgraph_beta/generated/models/education_assignment_grade.py index fcbe9f6f304..2a74620344d 100644 --- a/msgraph_beta/generated/models/education_assignment_grade.py +++ b/msgraph_beta/generated/models/education_assignment_grade.py @@ -33,7 +33,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> EducationAssignmen if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.educationAssignmentPointsGrade".casefold(): @@ -68,6 +69,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .education_assignment_points_grade import EducationAssignmentPointsGrade + from .identity_set import IdentitySet + writer.write_object_value("gradedBy", self.graded_by) writer.write_datetime_value("gradedDateTime", self.graded_date_time) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/education_assignment_grade_type.py b/msgraph_beta/generated/models/education_assignment_grade_type.py index fb00a026c7d..11c879c74c2 100644 --- a/msgraph_beta/generated/models/education_assignment_grade_type.py +++ b/msgraph_beta/generated/models/education_assignment_grade_type.py @@ -27,7 +27,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> EducationAssignmen if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.educationAssignmentPointsGradeType".casefold(): @@ -58,6 +59,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .education_assignment_points_grade_type import EducationAssignmentPointsGradeType + writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/education_assignment_group_recipient.py b/msgraph_beta/generated/models/education_assignment_group_recipient.py index d9a060750d1..38820fd4fee 100644 --- a/msgraph_beta/generated/models/education_assignment_group_recipient.py +++ b/msgraph_beta/generated/models/education_assignment_group_recipient.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .education_assignment_recipient import EducationAssignmentRecipient + diff --git a/msgraph_beta/generated/models/education_assignment_individual_recipient.py b/msgraph_beta/generated/models/education_assignment_individual_recipient.py index c93b405ce74..c3355102a70 100644 --- a/msgraph_beta/generated/models/education_assignment_individual_recipient.py +++ b/msgraph_beta/generated/models/education_assignment_individual_recipient.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .education_assignment_recipient import EducationAssignmentRecipient + writer.write_collection_of_primitive_values("recipients", self.recipients) diff --git a/msgraph_beta/generated/models/education_assignment_points_grade.py b/msgraph_beta/generated/models/education_assignment_points_grade.py index 3bd3b40bf32..62a65c9b722 100644 --- a/msgraph_beta/generated/models/education_assignment_points_grade.py +++ b/msgraph_beta/generated/models/education_assignment_points_grade.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .education_assignment_grade import EducationAssignmentGrade + writer.write_float_value("points", self.points) diff --git a/msgraph_beta/generated/models/education_assignment_points_grade_type.py b/msgraph_beta/generated/models/education_assignment_points_grade_type.py index 80fea55d90f..3f7c1cf03cb 100644 --- a/msgraph_beta/generated/models/education_assignment_points_grade_type.py +++ b/msgraph_beta/generated/models/education_assignment_points_grade_type.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .education_assignment_grade_type import EducationAssignmentGradeType + writer.write_float_value("maxPoints", self.max_points) diff --git a/msgraph_beta/generated/models/education_assignment_recipient.py b/msgraph_beta/generated/models/education_assignment_recipient.py index 1398f587fb8..4a22e94446c 100644 --- a/msgraph_beta/generated/models/education_assignment_recipient.py +++ b/msgraph_beta/generated/models/education_assignment_recipient.py @@ -29,7 +29,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> EducationAssignmen if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.educationAssignmentClassRecipient".casefold(): @@ -72,6 +73,10 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .education_assignment_class_recipient import EducationAssignmentClassRecipient + from .education_assignment_group_recipient import EducationAssignmentGroupRecipient + from .education_assignment_individual_recipient import EducationAssignmentIndividualRecipient + writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/education_assignment_resource.py b/msgraph_beta/generated/models/education_assignment_resource.py index eed9f301cad..49c40610dd3 100644 --- a/msgraph_beta/generated/models/education_assignment_resource.py +++ b/msgraph_beta/generated/models/education_assignment_resource.py @@ -60,6 +60,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .education_resource import EducationResource + from .entity import Entity + writer.write_collection_of_object_values("dependentResources", self.dependent_resources) writer.write_bool_value("distributeForStudentWork", self.distribute_for_student_work) writer.write_object_value("resource", self.resource) diff --git a/msgraph_beta/generated/models/education_assignment_resource_collection_response.py b/msgraph_beta/generated/models/education_assignment_resource_collection_response.py index 610b4eb6ec6..8d957883062 100644 --- a/msgraph_beta/generated/models/education_assignment_resource_collection_response.py +++ b/msgraph_beta/generated/models/education_assignment_resource_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .education_assignment_resource import EducationAssignmentResource + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/education_assignment_settings.py b/msgraph_beta/generated/models/education_assignment_settings.py index 44acf57663c..11f912cd585 100644 --- a/msgraph_beta/generated/models/education_assignment_settings.py +++ b/msgraph_beta/generated/models/education_assignment_settings.py @@ -66,6 +66,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .education_grading_category import EducationGradingCategory + from .education_grading_scheme import EducationGradingScheme + from .entity import Entity + writer.write_object_value("defaultGradingScheme", self.default_grading_scheme) writer.write_collection_of_object_values("gradingCategories", self.grading_categories) writer.write_collection_of_object_values("gradingSchemes", self.grading_schemes) diff --git a/msgraph_beta/generated/models/education_category.py b/msgraph_beta/generated/models/education_category.py index 7927957c4ce..1c3af7ecdd3 100644 --- a/msgraph_beta/generated/models/education_category.py +++ b/msgraph_beta/generated/models/education_category.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_str_value("displayName", self.display_name) diff --git a/msgraph_beta/generated/models/education_category_collection_response.py b/msgraph_beta/generated/models/education_category_collection_response.py index 5ee82806ed9..8a3ab40d53a 100644 --- a/msgraph_beta/generated/models/education_category_collection_response.py +++ b/msgraph_beta/generated/models/education_category_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .education_category import EducationCategory + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/education_channel_resource.py b/msgraph_beta/generated/models/education_channel_resource.py index d0bc12b1501..a53a20aaf72 100644 --- a/msgraph_beta/generated/models/education_channel_resource.py +++ b/msgraph_beta/generated/models/education_channel_resource.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .education_resource import EducationResource + writer.write_str_value("url", self.url) diff --git a/msgraph_beta/generated/models/education_class.py b/msgraph_beta/generated/models/education_class.py index e7ff2eac404..7b8c482e1b6 100644 --- a/msgraph_beta/generated/models/education_class.py +++ b/msgraph_beta/generated/models/education_class.py @@ -147,6 +147,20 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .education_assignment import EducationAssignment + from .education_assignment_defaults import EducationAssignmentDefaults + from .education_assignment_settings import EducationAssignmentSettings + from .education_category import EducationCategory + from .education_course import EducationCourse + from .education_external_source import EducationExternalSource + from .education_module import EducationModule + from .education_school import EducationSchool + from .education_term import EducationTerm + from .education_user import EducationUser + from .entity import Entity + from .group import Group + from .identity_set import IdentitySet + writer.write_collection_of_object_values("assignmentCategories", self.assignment_categories) writer.write_object_value("assignmentDefaults", self.assignment_defaults) writer.write_object_value("assignmentSettings", self.assignment_settings) diff --git a/msgraph_beta/generated/models/education_class_collection_response.py b/msgraph_beta/generated/models/education_class_collection_response.py index 6978201bc79..124e5d874b8 100644 --- a/msgraph_beta/generated/models/education_class_collection_response.py +++ b/msgraph_beta/generated/models/education_class_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .education_class import EducationClass + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/education_csv_data_provider.py b/msgraph_beta/generated/models/education_csv_data_provider.py index 2486ecda826..c4d5569c85e 100644 --- a/msgraph_beta/generated/models/education_csv_data_provider.py +++ b/msgraph_beta/generated/models/education_csv_data_provider.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .education_synchronization_customizations import EducationSynchronizationCustomizations + from .education_synchronization_data_provider import EducationSynchronizationDataProvider + writer.write_object_value("customizations", self.customizations) diff --git a/msgraph_beta/generated/models/education_excel_resource.py b/msgraph_beta/generated/models/education_excel_resource.py index 2b68ad51c69..28b19b55b55 100644 --- a/msgraph_beta/generated/models/education_excel_resource.py +++ b/msgraph_beta/generated/models/education_excel_resource.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .education_resource import EducationResource + writer.write_str_value("fileUrl", self.file_url) diff --git a/msgraph_beta/generated/models/education_external_resource.py b/msgraph_beta/generated/models/education_external_resource.py index 81fc93e8122..77e14e7cfee 100644 --- a/msgraph_beta/generated/models/education_external_resource.py +++ b/msgraph_beta/generated/models/education_external_resource.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .education_resource import EducationResource + writer.write_str_value("webUrl", self.web_url) diff --git a/msgraph_beta/generated/models/education_feedback.py b/msgraph_beta/generated/models/education_feedback.py index 8bfb8c87c9b..c74af7bed95 100644 --- a/msgraph_beta/generated/models/education_feedback.py +++ b/msgraph_beta/generated/models/education_feedback.py @@ -63,6 +63,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .education_item_body import EducationItemBody + from .identity_set import IdentitySet + writer.write_object_value("feedbackBy", self.feedback_by) writer.write_datetime_value("feedbackDateTime", self.feedback_date_time) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/education_feedback_outcome.py b/msgraph_beta/generated/models/education_feedback_outcome.py index 8d44e4d4060..045fada9a34 100644 --- a/msgraph_beta/generated/models/education_feedback_outcome.py +++ b/msgraph_beta/generated/models/education_feedback_outcome.py @@ -57,6 +57,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .education_feedback import EducationFeedback + from .education_outcome import EducationOutcome + writer.write_object_value("feedback", self.feedback) writer.write_object_value("publishedFeedback", self.published_feedback) diff --git a/msgraph_beta/generated/models/education_feedback_resource_outcome.py b/msgraph_beta/generated/models/education_feedback_resource_outcome.py index 12131d167da..b722262cc35 100644 --- a/msgraph_beta/generated/models/education_feedback_resource_outcome.py +++ b/msgraph_beta/generated/models/education_feedback_resource_outcome.py @@ -60,6 +60,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .education_feedback_resource_outcome_status import EducationFeedbackResourceOutcomeStatus + from .education_outcome import EducationOutcome + from .education_resource import EducationResource + writer.write_object_value("feedbackResource", self.feedback_resource) writer.write_enum_value("resourceStatus", self.resource_status) diff --git a/msgraph_beta/generated/models/education_file_resource.py b/msgraph_beta/generated/models/education_file_resource.py index ea40ff57099..47d1c4f49af 100644 --- a/msgraph_beta/generated/models/education_file_resource.py +++ b/msgraph_beta/generated/models/education_file_resource.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .education_resource import EducationResource + writer.write_str_value("fileUrl", self.file_url) diff --git a/msgraph_beta/generated/models/education_grading_category.py b/msgraph_beta/generated/models/education_grading_category.py index bb053c0efc7..503db6b1195 100644 --- a/msgraph_beta/generated/models/education_grading_category.py +++ b/msgraph_beta/generated/models/education_grading_category.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_str_value("displayName", self.display_name) writer.write_int_value("percentageWeight", self.percentage_weight) diff --git a/msgraph_beta/generated/models/education_grading_category_collection_response.py b/msgraph_beta/generated/models/education_grading_category_collection_response.py index 1c8ad214b05..bc925b45048 100644 --- a/msgraph_beta/generated/models/education_grading_category_collection_response.py +++ b/msgraph_beta/generated/models/education_grading_category_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .education_grading_category import EducationGradingCategory + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/education_grading_scheme.py b/msgraph_beta/generated/models/education_grading_scheme.py index cc4c7edfb3c..1c1077b8d06 100644 --- a/msgraph_beta/generated/models/education_grading_scheme.py +++ b/msgraph_beta/generated/models/education_grading_scheme.py @@ -60,6 +60,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .education_grading_scheme_grade import EducationGradingSchemeGrade + from .entity import Entity + writer.write_str_value("displayName", self.display_name) writer.write_collection_of_object_values("grades", self.grades) writer.write_bool_value("hidePointsDuringGrading", self.hide_points_during_grading) diff --git a/msgraph_beta/generated/models/education_grading_scheme_collection_response.py b/msgraph_beta/generated/models/education_grading_scheme_collection_response.py index 4f6130b3e44..764e1a0ab3c 100644 --- a/msgraph_beta/generated/models/education_grading_scheme_collection_response.py +++ b/msgraph_beta/generated/models/education_grading_scheme_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .education_grading_scheme import EducationGradingScheme + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/education_identity_creation_configuration.py b/msgraph_beta/generated/models/education_identity_creation_configuration.py index 85467df760c..219a31e1296 100644 --- a/msgraph_beta/generated/models/education_identity_creation_configuration.py +++ b/msgraph_beta/generated/models/education_identity_creation_configuration.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .education_identity_domain import EducationIdentityDomain + from .education_identity_synchronization_configuration import EducationIdentitySynchronizationConfiguration + writer.write_collection_of_object_values("userDomains", self.user_domains) diff --git a/msgraph_beta/generated/models/education_identity_domain.py b/msgraph_beta/generated/models/education_identity_domain.py index c7a43320a7d..da0fc0c64cd 100644 --- a/msgraph_beta/generated/models/education_identity_domain.py +++ b/msgraph_beta/generated/models/education_identity_domain.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .education_user_role import EducationUserRole + writer.write_enum_value("appliesTo", self.applies_to) writer.write_str_value("name", self.name) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/education_identity_matching_configuration.py b/msgraph_beta/generated/models/education_identity_matching_configuration.py index e97b198c18a..fb10b47af0c 100644 --- a/msgraph_beta/generated/models/education_identity_matching_configuration.py +++ b/msgraph_beta/generated/models/education_identity_matching_configuration.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .education_identity_matching_options import EducationIdentityMatchingOptions + from .education_identity_synchronization_configuration import EducationIdentitySynchronizationConfiguration + writer.write_collection_of_object_values("matchingOptions", self.matching_options) diff --git a/msgraph_beta/generated/models/education_identity_matching_options.py b/msgraph_beta/generated/models/education_identity_matching_options.py index 41b40b34c95..9112a2784e7 100644 --- a/msgraph_beta/generated/models/education_identity_matching_options.py +++ b/msgraph_beta/generated/models/education_identity_matching_options.py @@ -62,6 +62,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .education_user_role import EducationUserRole + writer.write_enum_value("appliesTo", self.applies_to) writer.write_str_value("@odata.type", self.odata_type) writer.write_str_value("sourcePropertyName", self.source_property_name) diff --git a/msgraph_beta/generated/models/education_identity_synchronization_configuration.py b/msgraph_beta/generated/models/education_identity_synchronization_configuration.py index 3cfc5df1c57..0e6f4f415b6 100644 --- a/msgraph_beta/generated/models/education_identity_synchronization_configuration.py +++ b/msgraph_beta/generated/models/education_identity_synchronization_configuration.py @@ -28,7 +28,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> EducationIdentityS if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.educationIdentityCreationConfiguration".casefold(): @@ -65,6 +66,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .education_identity_creation_configuration import EducationIdentityCreationConfiguration + from .education_identity_matching_configuration import EducationIdentityMatchingConfiguration + writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/education_item_body.py b/msgraph_beta/generated/models/education_item_body.py index 5bcd5449acf..b7ebd32a482 100644 --- a/msgraph_beta/generated/models/education_item_body.py +++ b/msgraph_beta/generated/models/education_item_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .body_type import BodyType + writer.write_str_value("content", self.content) writer.write_enum_value("contentType", self.content_type) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/education_link_resource.py b/msgraph_beta/generated/models/education_link_resource.py index b20566d20af..de399480f20 100644 --- a/msgraph_beta/generated/models/education_link_resource.py +++ b/msgraph_beta/generated/models/education_link_resource.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .education_resource import EducationResource + writer.write_str_value("link", self.link) diff --git a/msgraph_beta/generated/models/education_linked_assignment_resource.py b/msgraph_beta/generated/models/education_linked_assignment_resource.py index 9d81b545ddb..900d9cb22bd 100644 --- a/msgraph_beta/generated/models/education_linked_assignment_resource.py +++ b/msgraph_beta/generated/models/education_linked_assignment_resource.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .education_resource import EducationResource + writer.write_str_value("url", self.url) diff --git a/msgraph_beta/generated/models/education_media_resource.py b/msgraph_beta/generated/models/education_media_resource.py index da2ff032f7b..17f339efb8e 100644 --- a/msgraph_beta/generated/models/education_media_resource.py +++ b/msgraph_beta/generated/models/education_media_resource.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .education_resource import EducationResource + writer.write_str_value("fileUrl", self.file_url) diff --git a/msgraph_beta/generated/models/education_module.py b/msgraph_beta/generated/models/education_module.py index 5a23896e963..1ba7426b74e 100644 --- a/msgraph_beta/generated/models/education_module.py +++ b/msgraph_beta/generated/models/education_module.py @@ -88,6 +88,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .education_module_resource import EducationModuleResource + from .education_module_status import EducationModuleStatus + from .entity import Entity + from .identity_set import IdentitySet + writer.write_str_value("description", self.description) writer.write_str_value("displayName", self.display_name) writer.write_bool_value("isPinned", self.is_pinned) diff --git a/msgraph_beta/generated/models/education_module_collection_response.py b/msgraph_beta/generated/models/education_module_collection_response.py index 91c85c0bdbd..4575dfb1b22 100644 --- a/msgraph_beta/generated/models/education_module_collection_response.py +++ b/msgraph_beta/generated/models/education_module_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .education_module import EducationModule + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/education_module_resource.py b/msgraph_beta/generated/models/education_module_resource.py index bd92b5ac348..ba6089ad3ba 100644 --- a/msgraph_beta/generated/models/education_module_resource.py +++ b/msgraph_beta/generated/models/education_module_resource.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .education_resource import EducationResource + from .entity import Entity + writer.write_object_value("resource", self.resource) diff --git a/msgraph_beta/generated/models/education_module_resource_collection_response.py b/msgraph_beta/generated/models/education_module_resource_collection_response.py index c9f91bd0ff8..bfc8ad4da45 100644 --- a/msgraph_beta/generated/models/education_module_resource_collection_response.py +++ b/msgraph_beta/generated/models/education_module_resource_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .education_module_resource import EducationModuleResource + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/education_one_roster_api_data_provider.py b/msgraph_beta/generated/models/education_one_roster_api_data_provider.py index cfcd224bb7a..950ab047d24 100644 --- a/msgraph_beta/generated/models/education_one_roster_api_data_provider.py +++ b/msgraph_beta/generated/models/education_one_roster_api_data_provider.py @@ -72,6 +72,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .education_synchronization_connection_settings import EducationSynchronizationConnectionSettings + from .education_synchronization_customizations import EducationSynchronizationCustomizations + from .education_synchronization_data_provider import EducationSynchronizationDataProvider + writer.write_object_value("connectionSettings", self.connection_settings) writer.write_str_value("connectionUrl", self.connection_url) writer.write_object_value("customizations", self.customizations) diff --git a/msgraph_beta/generated/models/education_organization.py b/msgraph_beta/generated/models/education_organization.py index b9bbd5d1004..d45628c32e8 100644 --- a/msgraph_beta/generated/models/education_organization.py +++ b/msgraph_beta/generated/models/education_organization.py @@ -33,7 +33,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> EducationOrganizat if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.educationSchool".casefold(): @@ -74,6 +75,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .education_external_source import EducationExternalSource + from .education_school import EducationSchool + from .entity import Entity + writer.write_str_value("description", self.description) writer.write_str_value("displayName", self.display_name) writer.write_enum_value("externalSource", self.external_source) diff --git a/msgraph_beta/generated/models/education_outcome.py b/msgraph_beta/generated/models/education_outcome.py index 4f4c8f44190..3f17c25acaa 100644 --- a/msgraph_beta/generated/models/education_outcome.py +++ b/msgraph_beta/generated/models/education_outcome.py @@ -33,7 +33,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> EducationOutcome: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.educationFeedbackOutcome".casefold(): @@ -90,6 +91,13 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .education_feedback_outcome import EducationFeedbackOutcome + from .education_feedback_resource_outcome import EducationFeedbackResourceOutcome + from .education_points_outcome import EducationPointsOutcome + from .education_rubric_outcome import EducationRubricOutcome + from .entity import Entity + from .identity_set import IdentitySet + writer.write_object_value("lastModifiedBy", self.last_modified_by) writer.write_datetime_value("lastModifiedDateTime", self.last_modified_date_time) diff --git a/msgraph_beta/generated/models/education_outcome_collection_response.py b/msgraph_beta/generated/models/education_outcome_collection_response.py index e70b8c0cb20..555edbe34c5 100644 --- a/msgraph_beta/generated/models/education_outcome_collection_response.py +++ b/msgraph_beta/generated/models/education_outcome_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .education_outcome import EducationOutcome + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/education_points_outcome.py b/msgraph_beta/generated/models/education_points_outcome.py index e6e4dd64019..d35b7571fca 100644 --- a/msgraph_beta/generated/models/education_points_outcome.py +++ b/msgraph_beta/generated/models/education_points_outcome.py @@ -57,6 +57,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .education_assignment_points_grade import EducationAssignmentPointsGrade + from .education_outcome import EducationOutcome + writer.write_object_value("points", self.points) writer.write_object_value("publishedPoints", self.published_points) diff --git a/msgraph_beta/generated/models/education_power_point_resource.py b/msgraph_beta/generated/models/education_power_point_resource.py index 94b7bf037fd..48a917d9d90 100644 --- a/msgraph_beta/generated/models/education_power_point_resource.py +++ b/msgraph_beta/generated/models/education_power_point_resource.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .education_resource import EducationResource + writer.write_str_value("fileUrl", self.file_url) diff --git a/msgraph_beta/generated/models/education_power_school_data_provider.py b/msgraph_beta/generated/models/education_power_school_data_provider.py index 9759b2e6da1..7db4b879b36 100644 --- a/msgraph_beta/generated/models/education_power_school_data_provider.py +++ b/msgraph_beta/generated/models/education_power_school_data_provider.py @@ -72,6 +72,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .education_synchronization_customizations import EducationSynchronizationCustomizations + from .education_synchronization_data_provider import EducationSynchronizationDataProvider + writer.write_bool_value("allowTeachersInMultipleSchools", self.allow_teachers_in_multiple_schools) writer.write_str_value("clientId", self.client_id) writer.write_str_value("clientSecret", self.client_secret) diff --git a/msgraph_beta/generated/models/education_resource.py b/msgraph_beta/generated/models/education_resource.py index 03999079c82..3925cd816b6 100644 --- a/msgraph_beta/generated/models/education_resource.py +++ b/msgraph_beta/generated/models/education_resource.py @@ -48,7 +48,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> EducationResource: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.educationChannelResource".casefold(): @@ -140,6 +141,18 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .education_channel_resource import EducationChannelResource + from .education_excel_resource import EducationExcelResource + from .education_external_resource import EducationExternalResource + from .education_file_resource import EducationFileResource + from .education_linked_assignment_resource import EducationLinkedAssignmentResource + from .education_link_resource import EducationLinkResource + from .education_media_resource import EducationMediaResource + from .education_power_point_resource import EducationPowerPointResource + from .education_teams_app_resource import EducationTeamsAppResource + from .education_word_resource import EducationWordResource + from .identity_set import IdentitySet + writer.write_str_value("displayName", self.display_name) writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/education_root.py b/msgraph_beta/generated/models/education_root.py index e451c9c702f..7c18142dd43 100644 --- a/msgraph_beta/generated/models/education_root.py +++ b/msgraph_beta/generated/models/education_root.py @@ -9,6 +9,7 @@ from .education_school import EducationSchool from .education_synchronization_profile import EducationSynchronizationProfile from .education_user import EducationUser + from .reports_root import ReportsRoot @dataclass class EducationRoot(AdditionalDataHolder, BackedModel, Parsable): @@ -23,6 +24,8 @@ class EducationRoot(AdditionalDataHolder, BackedModel, Parsable): me: Optional[EducationUser] = None # The OdataType property odata_type: Optional[str] = None + # The reports property + reports: Optional[ReportsRoot] = None # The schools property schools: Optional[List[EducationSchool]] = None # The synchronizationProfiles property @@ -50,16 +53,19 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .education_school import EducationSchool from .education_synchronization_profile import EducationSynchronizationProfile from .education_user import EducationUser + from .reports_root import ReportsRoot from .education_class import EducationClass from .education_school import EducationSchool from .education_synchronization_profile import EducationSynchronizationProfile from .education_user import EducationUser + from .reports_root import ReportsRoot fields: Dict[str, Callable[[Any], None]] = { "classes": lambda n : setattr(self, 'classes', n.get_collection_of_object_values(EducationClass)), "me": lambda n : setattr(self, 'me', n.get_object_value(EducationUser)), "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), + "reports": lambda n : setattr(self, 'reports', n.get_object_value(ReportsRoot)), "schools": lambda n : setattr(self, 'schools', n.get_collection_of_object_values(EducationSchool)), "synchronizationProfiles": lambda n : setattr(self, 'synchronization_profiles', n.get_collection_of_object_values(EducationSynchronizationProfile)), "users": lambda n : setattr(self, 'users', n.get_collection_of_object_values(EducationUser)), @@ -74,9 +80,16 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .education_class import EducationClass + from .education_school import EducationSchool + from .education_synchronization_profile import EducationSynchronizationProfile + from .education_user import EducationUser + from .reports_root import ReportsRoot + writer.write_collection_of_object_values("classes", self.classes) writer.write_object_value("me", self.me) writer.write_str_value("@odata.type", self.odata_type) + writer.write_object_value("reports", self.reports) writer.write_collection_of_object_values("schools", self.schools) writer.write_collection_of_object_values("synchronizationProfiles", self.synchronization_profiles) writer.write_collection_of_object_values("users", self.users) diff --git a/msgraph_beta/generated/models/education_rubric.py b/msgraph_beta/generated/models/education_rubric.py index dd7fb13cda7..92e95731328 100644 --- a/msgraph_beta/generated/models/education_rubric.py +++ b/msgraph_beta/generated/models/education_rubric.py @@ -91,6 +91,13 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .education_assignment_grade_type import EducationAssignmentGradeType + from .education_item_body import EducationItemBody + from .entity import Entity + from .identity_set import IdentitySet + from .rubric_level import RubricLevel + from .rubric_quality import RubricQuality + writer.write_object_value("description", self.description) writer.write_str_value("displayName", self.display_name) writer.write_object_value("grading", self.grading) diff --git a/msgraph_beta/generated/models/education_rubric_collection_response.py b/msgraph_beta/generated/models/education_rubric_collection_response.py index cbcd62b2aa2..dd694efe5df 100644 --- a/msgraph_beta/generated/models/education_rubric_collection_response.py +++ b/msgraph_beta/generated/models/education_rubric_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .education_rubric import EducationRubric + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/education_rubric_outcome.py b/msgraph_beta/generated/models/education_rubric_outcome.py index e8a23dfa3e9..50ba6899833 100644 --- a/msgraph_beta/generated/models/education_rubric_outcome.py +++ b/msgraph_beta/generated/models/education_rubric_outcome.py @@ -66,6 +66,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .education_outcome import EducationOutcome + from .rubric_quality_feedback_model import RubricQualityFeedbackModel + from .rubric_quality_selected_column_model import RubricQualitySelectedColumnModel + writer.write_collection_of_object_values("publishedRubricQualityFeedback", self.published_rubric_quality_feedback) writer.write_collection_of_object_values("publishedRubricQualitySelectedLevels", self.published_rubric_quality_selected_levels) writer.write_collection_of_object_values("rubricQualityFeedback", self.rubric_quality_feedback) diff --git a/msgraph_beta/generated/models/education_school.py b/msgraph_beta/generated/models/education_school.py index de0661673d3..cdfeea7e1c0 100644 --- a/msgraph_beta/generated/models/education_school.py +++ b/msgraph_beta/generated/models/education_school.py @@ -105,6 +105,13 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .administrative_unit import AdministrativeUnit + from .education_class import EducationClass + from .education_organization import EducationOrganization + from .education_user import EducationUser + from .identity_set import IdentitySet + from .physical_address import PhysicalAddress + writer.write_object_value("address", self.address) writer.write_object_value("administrativeUnit", self.administrative_unit) writer.write_collection_of_object_values("classes", self.classes) diff --git a/msgraph_beta/generated/models/education_school_collection_response.py b/msgraph_beta/generated/models/education_school_collection_response.py index 2f8e75733de..93567b31817 100644 --- a/msgraph_beta/generated/models/education_school_collection_response.py +++ b/msgraph_beta/generated/models/education_school_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .education_school import EducationSchool + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/education_student.py b/msgraph_beta/generated/models/education_student.py index cd0536c6e5b..742ea11249e 100644 --- a/msgraph_beta/generated/models/education_student.py +++ b/msgraph_beta/generated/models/education_student.py @@ -69,6 +69,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .education_gender import EducationGender + writer.write_date_value("birthDate", self.birth_date) writer.write_str_value("externalId", self.external_id) writer.write_enum_value("gender", self.gender) diff --git a/msgraph_beta/generated/models/education_submission.py b/msgraph_beta/generated/models/education_submission.py index a671b5e030e..ead63c88033 100644 --- a/msgraph_beta/generated/models/education_submission.py +++ b/msgraph_beta/generated/models/education_submission.py @@ -124,6 +124,13 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .education_outcome import EducationOutcome + from .education_submission_recipient import EducationSubmissionRecipient + from .education_submission_resource import EducationSubmissionResource + from .education_submission_status import EducationSubmissionStatus + from .entity import Entity + from .identity_set import IdentitySet + writer.write_collection_of_object_values("outcomes", self.outcomes) writer.write_object_value("recipient", self.recipient) writer.write_collection_of_object_values("resources", self.resources) diff --git a/msgraph_beta/generated/models/education_submission_collection_response.py b/msgraph_beta/generated/models/education_submission_collection_response.py index d640eac3c2c..5b2bffec2c7 100644 --- a/msgraph_beta/generated/models/education_submission_collection_response.py +++ b/msgraph_beta/generated/models/education_submission_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .education_submission import EducationSubmission + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/education_submission_individual_recipient.py b/msgraph_beta/generated/models/education_submission_individual_recipient.py index e11bc4fa9ad..b278e9e21db 100644 --- a/msgraph_beta/generated/models/education_submission_individual_recipient.py +++ b/msgraph_beta/generated/models/education_submission_individual_recipient.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .education_submission_recipient import EducationSubmissionRecipient + writer.write_str_value("userId", self.user_id) diff --git a/msgraph_beta/generated/models/education_submission_recipient.py b/msgraph_beta/generated/models/education_submission_recipient.py index 7be38c58286..d7b6840cecd 100644 --- a/msgraph_beta/generated/models/education_submission_recipient.py +++ b/msgraph_beta/generated/models/education_submission_recipient.py @@ -27,7 +27,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> EducationSubmissio if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.educationSubmissionIndividualRecipient".casefold(): @@ -58,6 +59,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .education_submission_individual_recipient import EducationSubmissionIndividualRecipient + writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/education_submission_resource.py b/msgraph_beta/generated/models/education_submission_resource.py index 8f5d9d3d0f4..37e0461d5c9 100644 --- a/msgraph_beta/generated/models/education_submission_resource.py +++ b/msgraph_beta/generated/models/education_submission_resource.py @@ -60,6 +60,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .education_resource import EducationResource + from .entity import Entity + writer.write_str_value("assignmentResourceUrl", self.assignment_resource_url) writer.write_collection_of_object_values("dependentResources", self.dependent_resources) writer.write_object_value("resource", self.resource) diff --git a/msgraph_beta/generated/models/education_submission_resource_collection_response.py b/msgraph_beta/generated/models/education_submission_resource_collection_response.py index d7b0978e657..b34fa2dfaf5 100644 --- a/msgraph_beta/generated/models/education_submission_resource_collection_response.py +++ b/msgraph_beta/generated/models/education_submission_resource_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .education_submission_resource import EducationSubmissionResource + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/education_synchronization_connection_settings.py b/msgraph_beta/generated/models/education_synchronization_connection_settings.py index 19231d6872c..cd6da0a4366 100644 --- a/msgraph_beta/generated/models/education_synchronization_connection_settings.py +++ b/msgraph_beta/generated/models/education_synchronization_connection_settings.py @@ -32,7 +32,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> EducationSynchroni if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.educationSynchronizationOAuth1ConnectionSettings".casefold(): @@ -71,6 +72,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .education_synchronization_o_auth1_connection_settings import EducationSynchronizationOAuth1ConnectionSettings + from .education_synchronization_o_auth2_client_credentials_connection_settings import EducationSynchronizationOAuth2ClientCredentialsConnectionSettings + writer.write_str_value("clientId", self.client_id) writer.write_str_value("clientSecret", self.client_secret) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/education_synchronization_customizations.py b/msgraph_beta/generated/models/education_synchronization_customizations.py index d89b3b0839c..69a258e1e2b 100644 --- a/msgraph_beta/generated/models/education_synchronization_customizations.py +++ b/msgraph_beta/generated/models/education_synchronization_customizations.py @@ -69,6 +69,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .education_synchronization_customization import EducationSynchronizationCustomization + from .education_synchronization_customizations_base import EducationSynchronizationCustomizationsBase + writer.write_object_value("school", self.school) writer.write_object_value("section", self.section) writer.write_object_value("student", self.student) diff --git a/msgraph_beta/generated/models/education_synchronization_customizations_base.py b/msgraph_beta/generated/models/education_synchronization_customizations_base.py index c458392cb47..7d07ed36184 100644 --- a/msgraph_beta/generated/models/education_synchronization_customizations_base.py +++ b/msgraph_beta/generated/models/education_synchronization_customizations_base.py @@ -27,7 +27,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> EducationSynchroni if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.educationSynchronizationCustomizations".casefold(): @@ -58,6 +59,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .education_synchronization_customizations import EducationSynchronizationCustomizations + writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/education_synchronization_data_provider.py b/msgraph_beta/generated/models/education_synchronization_data_provider.py index 56165aa4311..52812796dc5 100644 --- a/msgraph_beta/generated/models/education_synchronization_data_provider.py +++ b/msgraph_beta/generated/models/education_synchronization_data_provider.py @@ -29,7 +29,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> EducationSynchroni if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.educationCsvDataProvider".casefold(): @@ -72,6 +73,10 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .education_csv_data_provider import EducationCsvDataProvider + from .education_one_roster_api_data_provider import EducationOneRosterApiDataProvider + from .education_power_school_data_provider import EducationPowerSchoolDataProvider + writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/education_synchronization_error.py b/msgraph_beta/generated/models/education_synchronization_error.py index 7839082a517..0e0ec8c12af 100644 --- a/msgraph_beta/generated/models/education_synchronization_error.py +++ b/msgraph_beta/generated/models/education_synchronization_error.py @@ -67,6 +67,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_str_value("entryType", self.entry_type) writer.write_str_value("errorCode", self.error_code) writer.write_str_value("errorMessage", self.error_message) diff --git a/msgraph_beta/generated/models/education_synchronization_error_collection_response.py b/msgraph_beta/generated/models/education_synchronization_error_collection_response.py index 028d8420489..258bf4fadb8 100644 --- a/msgraph_beta/generated/models/education_synchronization_error_collection_response.py +++ b/msgraph_beta/generated/models/education_synchronization_error_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .education_synchronization_error import EducationSynchronizationError + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/education_synchronization_license_assignment.py b/msgraph_beta/generated/models/education_synchronization_license_assignment.py index 84ec185fe4f..29b833f75a5 100644 --- a/msgraph_beta/generated/models/education_synchronization_license_assignment.py +++ b/msgraph_beta/generated/models/education_synchronization_license_assignment.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .education_user_role import EducationUserRole + writer.write_enum_value("appliesTo", self.applies_to) writer.write_str_value("@odata.type", self.odata_type) writer.write_collection_of_primitive_values("skuIds", self.sku_ids) diff --git a/msgraph_beta/generated/models/education_synchronization_o_auth1_connection_settings.py b/msgraph_beta/generated/models/education_synchronization_o_auth1_connection_settings.py index 2de5550b8ae..02fe85ad798 100644 --- a/msgraph_beta/generated/models/education_synchronization_o_auth1_connection_settings.py +++ b/msgraph_beta/generated/models/education_synchronization_o_auth1_connection_settings.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .education_synchronization_connection_settings import EducationSynchronizationConnectionSettings + diff --git a/msgraph_beta/generated/models/education_synchronization_o_auth2_client_credentials_connection_settings.py b/msgraph_beta/generated/models/education_synchronization_o_auth2_client_credentials_connection_settings.py index 1aa6c25e906..70b203cddbe 100644 --- a/msgraph_beta/generated/models/education_synchronization_o_auth2_client_credentials_connection_settings.py +++ b/msgraph_beta/generated/models/education_synchronization_o_auth2_client_credentials_connection_settings.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .education_synchronization_connection_settings import EducationSynchronizationConnectionSettings + writer.write_str_value("scope", self.scope) writer.write_str_value("tokenUrl", self.token_url) diff --git a/msgraph_beta/generated/models/education_synchronization_profile.py b/msgraph_beta/generated/models/education_synchronization_profile.py index 72503713568..961b13e7d10 100644 --- a/msgraph_beta/generated/models/education_synchronization_profile.py +++ b/msgraph_beta/generated/models/education_synchronization_profile.py @@ -94,6 +94,14 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .education_identity_synchronization_configuration import EducationIdentitySynchronizationConfiguration + from .education_synchronization_data_provider import EducationSynchronizationDataProvider + from .education_synchronization_error import EducationSynchronizationError + from .education_synchronization_license_assignment import EducationSynchronizationLicenseAssignment + from .education_synchronization_profile_state import EducationSynchronizationProfileState + from .education_synchronization_profile_status import EducationSynchronizationProfileStatus + from .entity import Entity + writer.write_object_value("dataProvider", self.data_provider) writer.write_str_value("displayName", self.display_name) writer.write_collection_of_object_values("errors", self.errors) diff --git a/msgraph_beta/generated/models/education_synchronization_profile_collection_response.py b/msgraph_beta/generated/models/education_synchronization_profile_collection_response.py index 098d5365a1a..5b58ffdbb47 100644 --- a/msgraph_beta/generated/models/education_synchronization_profile_collection_response.py +++ b/msgraph_beta/generated/models/education_synchronization_profile_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .education_synchronization_profile import EducationSynchronizationProfile + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/education_synchronization_profile_status.py b/msgraph_beta/generated/models/education_synchronization_profile_status.py index 8f27244eacc..a893825fe0f 100644 --- a/msgraph_beta/generated/models/education_synchronization_profile_status.py +++ b/msgraph_beta/generated/models/education_synchronization_profile_status.py @@ -67,6 +67,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .education_synchronization_status import EducationSynchronizationStatus + from .entity import Entity + writer.write_int_value("errorCount", self.error_count) writer.write_datetime_value("lastActivityDateTime", self.last_activity_date_time) writer.write_datetime_value("lastSynchronizationDateTime", self.last_synchronization_date_time) diff --git a/msgraph_beta/generated/models/education_teams_app_resource.py b/msgraph_beta/generated/models/education_teams_app_resource.py index 270a145382e..5b090aee71f 100644 --- a/msgraph_beta/generated/models/education_teams_app_resource.py +++ b/msgraph_beta/generated/models/education_teams_app_resource.py @@ -60,6 +60,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .education_resource import EducationResource + writer.write_str_value("appIconWebUrl", self.app_icon_web_url) writer.write_str_value("appId", self.app_id) writer.write_str_value("teamsEmbeddedContentUrl", self.teams_embedded_content_url) diff --git a/msgraph_beta/generated/models/education_user.py b/msgraph_beta/generated/models/education_user.py index 49192fab021..0b81c09ecf8 100644 --- a/msgraph_beta/generated/models/education_user.py +++ b/msgraph_beta/generated/models/education_user.py @@ -214,6 +214,25 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .assigned_license import AssignedLicense + from .assigned_plan import AssignedPlan + from .education_assignment import EducationAssignment + from .education_class import EducationClass + from .education_external_source import EducationExternalSource + from .education_on_premises_info import EducationOnPremisesInfo + from .education_rubric import EducationRubric + from .education_school import EducationSchool + from .education_student import EducationStudent + from .education_teacher import EducationTeacher + from .education_user_role import EducationUserRole + from .entity import Entity + from .identity_set import IdentitySet + from .password_profile import PasswordProfile + from .physical_address import PhysicalAddress + from .provisioned_plan import ProvisionedPlan + from .related_contact import RelatedContact + from .user import User + writer.write_bool_value("accountEnabled", self.account_enabled) writer.write_collection_of_object_values("assignedLicenses", self.assigned_licenses) writer.write_collection_of_object_values("assignedPlans", self.assigned_plans) diff --git a/msgraph_beta/generated/models/education_user_collection_response.py b/msgraph_beta/generated/models/education_user_collection_response.py index f6799c444f3..69c19effe2d 100644 --- a/msgraph_beta/generated/models/education_user_collection_response.py +++ b/msgraph_beta/generated/models/education_user_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .education_user import EducationUser + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/education_word_resource.py b/msgraph_beta/generated/models/education_word_resource.py index 7c8754011be..c03c175c637 100644 --- a/msgraph_beta/generated/models/education_word_resource.py +++ b/msgraph_beta/generated/models/education_word_resource.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .education_resource import EducationResource + writer.write_str_value("fileUrl", self.file_url) diff --git a/msgraph_beta/generated/models/educational_activity.py b/msgraph_beta/generated/models/educational_activity.py index 9e3e241c8f5..1ce279b4e89 100644 --- a/msgraph_beta/generated/models/educational_activity.py +++ b/msgraph_beta/generated/models/educational_activity.py @@ -70,6 +70,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .educational_activity_detail import EducationalActivityDetail + from .institution_data import InstitutionData + from .item_facet import ItemFacet + writer.write_date_value("completionMonthYear", self.completion_month_year) writer.write_date_value("endMonthYear", self.end_month_year) writer.write_object_value("institution", self.institution) diff --git a/msgraph_beta/generated/models/educational_activity_collection_response.py b/msgraph_beta/generated/models/educational_activity_collection_response.py index 77cbfa312d0..5dd354476bc 100644 --- a/msgraph_beta/generated/models/educational_activity_collection_response.py +++ b/msgraph_beta/generated/models/educational_activity_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .educational_activity import EducationalActivity + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/email_activity_statistics.py b/msgraph_beta/generated/models/email_activity_statistics.py index c2a1efc5576..6bb4c071e78 100644 --- a/msgraph_beta/generated/models/email_activity_statistics.py +++ b/msgraph_beta/generated/models/email_activity_statistics.py @@ -58,6 +58,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .activity_statistics import ActivityStatistics + writer.write_timedelta_value("afterHours", self.after_hours) writer.write_timedelta_value("readEmail", self.read_email) writer.write_timedelta_value("sentEmail", self.sent_email) diff --git a/msgraph_beta/generated/models/email_address.py b/msgraph_beta/generated/models/email_address.py index 54d34342770..fcec8900732 100644 --- a/msgraph_beta/generated/models/email_address.py +++ b/msgraph_beta/generated/models/email_address.py @@ -31,7 +31,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> EmailAddress: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.typedEmailAddress".casefold(): @@ -64,6 +65,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .typed_email_address import TypedEmailAddress + writer.write_str_value("address", self.address) writer.write_str_value("name", self.name) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/email_authentication_method.py b/msgraph_beta/generated/models/email_authentication_method.py index f61b323ab5f..c45ae55e81a 100644 --- a/msgraph_beta/generated/models/email_authentication_method.py +++ b/msgraph_beta/generated/models/email_authentication_method.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .authentication_method import AuthenticationMethod + writer.write_str_value("emailAddress", self.email_address) diff --git a/msgraph_beta/generated/models/email_authentication_method_collection_response.py b/msgraph_beta/generated/models/email_authentication_method_collection_response.py index bc9f64f9944..6807655d942 100644 --- a/msgraph_beta/generated/models/email_authentication_method_collection_response.py +++ b/msgraph_beta/generated/models/email_authentication_method_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .email_authentication_method import EmailAuthenticationMethod + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/email_authentication_method_configuration.py b/msgraph_beta/generated/models/email_authentication_method_configuration.py index dbe6984ef76..07112c8c2fa 100644 --- a/msgraph_beta/generated/models/email_authentication_method_configuration.py +++ b/msgraph_beta/generated/models/email_authentication_method_configuration.py @@ -60,6 +60,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .authentication_method_configuration import AuthenticationMethodConfiguration + from .authentication_method_target import AuthenticationMethodTarget + from .external_email_otp_state import ExternalEmailOtpState + writer.write_enum_value("allowExternalIdToUseEmailOtp", self.allow_external_id_to_use_email_otp) writer.write_collection_of_object_values("includeTargets", self.include_targets) diff --git a/msgraph_beta/generated/models/email_file_assessment_request.py b/msgraph_beta/generated/models/email_file_assessment_request.py index e17617653b8..f06639dbad6 100644 --- a/msgraph_beta/generated/models/email_file_assessment_request.py +++ b/msgraph_beta/generated/models/email_file_assessment_request.py @@ -60,6 +60,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .mail_destination_routing_reason import MailDestinationRoutingReason + from .threat_assessment_request import ThreatAssessmentRequest + writer.write_str_value("contentData", self.content_data) writer.write_enum_value("destinationRoutingReason", self.destination_routing_reason) writer.write_str_value("recipientEmail", self.recipient_email) diff --git a/msgraph_beta/generated/models/email_identity.py b/msgraph_beta/generated/models/email_identity.py index d97f5ff4ddf..e008a6d1c0b 100644 --- a/msgraph_beta/generated/models/email_identity.py +++ b/msgraph_beta/generated/models/email_identity.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .identity import Identity + writer.write_str_value("email", self.email) diff --git a/msgraph_beta/generated/models/email_payload_detail.py b/msgraph_beta/generated/models/email_payload_detail.py index 5e362099275..5fa144b07b3 100644 --- a/msgraph_beta/generated/models/email_payload_detail.py +++ b/msgraph_beta/generated/models/email_payload_detail.py @@ -60,6 +60,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .payload_detail import PayloadDetail + writer.write_str_value("fromEmail", self.from_email) writer.write_str_value("fromName", self.from_name) writer.write_bool_value("isExternalSender", self.is_external_sender) diff --git a/msgraph_beta/generated/models/embedded_s_i_m_activation_code_pool.py b/msgraph_beta/generated/models/embedded_s_i_m_activation_code_pool.py index 4fb44499a5a..fe88e359357 100644 --- a/msgraph_beta/generated/models/embedded_s_i_m_activation_code_pool.py +++ b/msgraph_beta/generated/models/embedded_s_i_m_activation_code_pool.py @@ -82,6 +82,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .embedded_s_i_m_activation_code import EmbeddedSIMActivationCode + from .embedded_s_i_m_activation_code_pool_assignment import EmbeddedSIMActivationCodePoolAssignment + from .embedded_s_i_m_device_state import EmbeddedSIMDeviceState + from .entity import Entity + writer.write_int_value("activationCodeCount", self.activation_code_count) writer.write_collection_of_object_values("activationCodes", self.activation_codes) writer.write_collection_of_object_values("assignments", self.assignments) diff --git a/msgraph_beta/generated/models/embedded_s_i_m_activation_code_pool_assignment.py b/msgraph_beta/generated/models/embedded_s_i_m_activation_code_pool_assignment.py index 9ce1ea2d971..180c16a0324 100644 --- a/msgraph_beta/generated/models/embedded_s_i_m_activation_code_pool_assignment.py +++ b/msgraph_beta/generated/models/embedded_s_i_m_activation_code_pool_assignment.py @@ -57,6 +57,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_and_app_management_assignment_target import DeviceAndAppManagementAssignmentTarget + from .entity import Entity + writer.write_object_value("target", self.target) diff --git a/msgraph_beta/generated/models/embedded_s_i_m_activation_code_pool_assignment_collection_response.py b/msgraph_beta/generated/models/embedded_s_i_m_activation_code_pool_assignment_collection_response.py index 1fa5164d854..3c75a1de1d8 100644 --- a/msgraph_beta/generated/models/embedded_s_i_m_activation_code_pool_assignment_collection_response.py +++ b/msgraph_beta/generated/models/embedded_s_i_m_activation_code_pool_assignment_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .embedded_s_i_m_activation_code_pool_assignment import EmbeddedSIMActivationCodePoolAssignment + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/embedded_s_i_m_activation_code_pool_collection_response.py b/msgraph_beta/generated/models/embedded_s_i_m_activation_code_pool_collection_response.py index 60840250274..cddf38a80b0 100644 --- a/msgraph_beta/generated/models/embedded_s_i_m_activation_code_pool_collection_response.py +++ b/msgraph_beta/generated/models/embedded_s_i_m_activation_code_pool_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .embedded_s_i_m_activation_code_pool import EmbeddedSIMActivationCodePool + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/embedded_s_i_m_device_state.py b/msgraph_beta/generated/models/embedded_s_i_m_device_state.py index a0da389f21e..e8069075eab 100644 --- a/msgraph_beta/generated/models/embedded_s_i_m_device_state.py +++ b/msgraph_beta/generated/models/embedded_s_i_m_device_state.py @@ -79,6 +79,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .embedded_s_i_m_device_state_value import EmbeddedSIMDeviceStateValue + from .entity import Entity + writer.write_datetime_value("createdDateTime", self.created_date_time) writer.write_str_value("deviceName", self.device_name) writer.write_datetime_value("lastSyncDateTime", self.last_sync_date_time) diff --git a/msgraph_beta/generated/models/embedded_s_i_m_device_state_collection_response.py b/msgraph_beta/generated/models/embedded_s_i_m_device_state_collection_response.py index ff9f5a4e544..c2fed1095c1 100644 --- a/msgraph_beta/generated/models/embedded_s_i_m_device_state_collection_response.py +++ b/msgraph_beta/generated/models/embedded_s_i_m_device_state_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .embedded_s_i_m_device_state import EmbeddedSIMDeviceState + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/emergency_call_event.py b/msgraph_beta/generated/models/emergency_call_event.py index d02f15e2bc9..e496522b247 100644 --- a/msgraph_beta/generated/models/emergency_call_event.py +++ b/msgraph_beta/generated/models/emergency_call_event.py @@ -60,6 +60,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .call_event import CallEvent + from .emergency_caller_info import EmergencyCallerInfo + writer.write_object_value("callerInfo", self.caller_info) writer.write_str_value("emergencyNumberDialed", self.emergency_number_dialed) writer.write_str_value("policyName", self.policy_name) diff --git a/msgraph_beta/generated/models/emergency_caller_info.py b/msgraph_beta/generated/models/emergency_caller_info.py index b2f755d81d0..3a6db7d9363 100644 --- a/msgraph_beta/generated/models/emergency_caller_info.py +++ b/msgraph_beta/generated/models/emergency_caller_info.py @@ -65,6 +65,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .location import Location + writer.write_str_value("displayName", self.display_name) writer.write_object_value("location", self.location) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/employee.py b/msgraph_beta/generated/models/employee.py index 6e58d7c6f03..e188ef2f800 100644 --- a/msgraph_beta/generated/models/employee.py +++ b/msgraph_beta/generated/models/employee.py @@ -112,6 +112,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .picture import Picture + from .postal_address_type import PostalAddressType + writer.write_object_value("address", self.address) writer.write_date_value("birthDate", self.birth_date) writer.write_str_value("displayName", self.display_name) diff --git a/msgraph_beta/generated/models/employee_collection_response.py b/msgraph_beta/generated/models/employee_collection_response.py index edbc3fffd6c..9b543dc0ec5 100644 --- a/msgraph_beta/generated/models/employee_collection_response.py +++ b/msgraph_beta/generated/models/employee_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .employee import Employee + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/employee_experience.py b/msgraph_beta/generated/models/employee_experience.py index 877581dffa2..50ae774b593 100644 --- a/msgraph_beta/generated/models/employee_experience.py +++ b/msgraph_beta/generated/models/employee_experience.py @@ -80,6 +80,12 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .community import Community + from .engagement_async_operation import EngagementAsyncOperation + from .goals import Goals + from .learning_course_activity import LearningCourseActivity + from .learning_provider import LearningProvider + writer.write_collection_of_object_values("communities", self.communities) writer.write_collection_of_object_values("engagementAsyncOperations", self.engagement_async_operations) writer.write_object_value("goals", self.goals) diff --git a/msgraph_beta/generated/models/employee_experience_user.py b/msgraph_beta/generated/models/employee_experience_user.py index 43d57c71dba..2a34e6d5523 100644 --- a/msgraph_beta/generated/models/employee_experience_user.py +++ b/msgraph_beta/generated/models/employee_experience_user.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .learning_course_activity import LearningCourseActivity + writer.write_collection_of_object_values("learningCourseActivities", self.learning_course_activities) diff --git a/msgraph_beta/generated/models/encrypt_content.py b/msgraph_beta/generated/models/encrypt_content.py index 53639a8dbcf..f2d03f8f8a1 100644 --- a/msgraph_beta/generated/models/encrypt_content.py +++ b/msgraph_beta/generated/models/encrypt_content.py @@ -28,7 +28,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> EncryptContent: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.encryptWithTemplate".casefold(): @@ -72,6 +73,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .encrypt_with import EncryptWith + from .encrypt_with_template import EncryptWithTemplate + from .encrypt_with_user_defined_rights import EncryptWithUserDefinedRights + from .label_action_base import LabelActionBase + writer.write_enum_value("encryptWith", self.encrypt_with) diff --git a/msgraph_beta/generated/models/encrypt_with_template.py b/msgraph_beta/generated/models/encrypt_with_template.py index e3d91c21aa3..e30938efde6 100644 --- a/msgraph_beta/generated/models/encrypt_with_template.py +++ b/msgraph_beta/generated/models/encrypt_with_template.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .encrypt_content import EncryptContent + writer.write_bool_value("availableForEncryption", self.available_for_encryption) writer.write_str_value("templateId", self.template_id) diff --git a/msgraph_beta/generated/models/encrypt_with_user_defined_rights.py b/msgraph_beta/generated/models/encrypt_with_user_defined_rights.py index bb10f4c6bb5..91635c5dc3a 100644 --- a/msgraph_beta/generated/models/encrypt_with_user_defined_rights.py +++ b/msgraph_beta/generated/models/encrypt_with_user_defined_rights.py @@ -57,6 +57,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .encrypt_content import EncryptContent + writer.write_bool_value("allowAdHocPermissions", self.allow_ad_hoc_permissions) writer.write_bool_value("allowMailForwarding", self.allow_mail_forwarding) writer.write_str_value("decryptionRightsManagementTemplateId", self.decryption_rights_management_template_id) diff --git a/msgraph_beta/generated/models/encrypted_aws_storage_bucket_finding.py b/msgraph_beta/generated/models/encrypted_aws_storage_bucket_finding.py index 7414223d1b7..555ba9607e4 100644 --- a/msgraph_beta/generated/models/encrypted_aws_storage_bucket_finding.py +++ b/msgraph_beta/generated/models/encrypted_aws_storage_bucket_finding.py @@ -60,6 +60,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .authorization_system_resource import AuthorizationSystemResource + from .aws_access_type import AwsAccessType + from .finding import Finding + writer.write_enum_value("accessibility", self.accessibility) writer.write_object_value("storageBucket", self.storage_bucket) diff --git a/msgraph_beta/generated/models/encrypted_azure_storage_account_finding.py b/msgraph_beta/generated/models/encrypted_azure_storage_account_finding.py index f52ac374b63..d70913cf3c1 100644 --- a/msgraph_beta/generated/models/encrypted_azure_storage_account_finding.py +++ b/msgraph_beta/generated/models/encrypted_azure_storage_account_finding.py @@ -60,6 +60,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .authorization_system_resource import AuthorizationSystemResource + from .azure_encryption import AzureEncryption + from .finding import Finding + writer.write_enum_value("encryptionManagedBy", self.encryption_managed_by) writer.write_object_value("storageAccount", self.storage_account) diff --git a/msgraph_beta/generated/models/encrypted_gcp_storage_bucket_finding.py b/msgraph_beta/generated/models/encrypted_gcp_storage_bucket_finding.py index 185fd01f4da..7206ef5b078 100644 --- a/msgraph_beta/generated/models/encrypted_gcp_storage_bucket_finding.py +++ b/msgraph_beta/generated/models/encrypted_gcp_storage_bucket_finding.py @@ -66,6 +66,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .authorization_system_resource import AuthorizationSystemResource + from .finding import Finding + from .gcp_access_type import GcpAccessType + from .gcp_encryption import GcpEncryption + writer.write_enum_value("accessibility", self.accessibility) writer.write_enum_value("encryptionManagedBy", self.encryption_managed_by) writer.write_object_value("storageBucket", self.storage_bucket) diff --git a/msgraph_beta/generated/models/end_user_notification.py b/msgraph_beta/generated/models/end_user_notification.py index 01bf6dc1bfe..e74bd1e0655 100644 --- a/msgraph_beta/generated/models/end_user_notification.py +++ b/msgraph_beta/generated/models/end_user_notification.py @@ -97,6 +97,13 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .email_identity import EmailIdentity + from .end_user_notification_detail import EndUserNotificationDetail + from .end_user_notification_type import EndUserNotificationType + from .entity import Entity + from .simulation_content_source import SimulationContentSource + from .simulation_content_status import SimulationContentStatus + writer.write_object_value("createdBy", self.created_by) writer.write_datetime_value("createdDateTime", self.created_date_time) writer.write_str_value("description", self.description) diff --git a/msgraph_beta/generated/models/end_user_notification_collection_response.py b/msgraph_beta/generated/models/end_user_notification_collection_response.py index d7b231d3f1d..4aa05632907 100644 --- a/msgraph_beta/generated/models/end_user_notification_collection_response.py +++ b/msgraph_beta/generated/models/end_user_notification_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .end_user_notification import EndUserNotification + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/end_user_notification_detail.py b/msgraph_beta/generated/models/end_user_notification_detail.py index 77b04b81a2c..8ab2e973be4 100644 --- a/msgraph_beta/generated/models/end_user_notification_detail.py +++ b/msgraph_beta/generated/models/end_user_notification_detail.py @@ -69,6 +69,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .email_identity import EmailIdentity + from .entity import Entity + writer.write_str_value("emailContent", self.email_content) writer.write_bool_value("isDefaultLangauge", self.is_default_langauge) writer.write_str_value("language", self.language) diff --git a/msgraph_beta/generated/models/end_user_notification_detail_collection_response.py b/msgraph_beta/generated/models/end_user_notification_detail_collection_response.py index 6f4be18266b..a272c5a4f2e 100644 --- a/msgraph_beta/generated/models/end_user_notification_detail_collection_response.py +++ b/msgraph_beta/generated/models/end_user_notification_detail_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .end_user_notification_detail import EndUserNotificationDetail + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/end_user_notification_setting.py b/msgraph_beta/generated/models/end_user_notification_setting.py index 5be968b10ba..d3a914c1260 100644 --- a/msgraph_beta/generated/models/end_user_notification_setting.py +++ b/msgraph_beta/generated/models/end_user_notification_setting.py @@ -37,7 +37,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> EndUserNotificatio if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.noTrainingNotificationSetting".casefold(): @@ -83,6 +84,12 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .end_user_notification_preference import EndUserNotificationPreference + from .end_user_notification_setting_type import EndUserNotificationSettingType + from .no_training_notification_setting import NoTrainingNotificationSetting + from .positive_reinforcement_notification import PositiveReinforcementNotification + from .training_notification_setting import TrainingNotificationSetting + writer.write_enum_value("notificationPreference", self.notification_preference) writer.write_str_value("@odata.type", self.odata_type) writer.write_object_value("positiveReinforcement", self.positive_reinforcement) diff --git a/msgraph_beta/generated/models/endpoint.py b/msgraph_beta/generated/models/endpoint.py index 9918fd64510..a3932166c73 100644 --- a/msgraph_beta/generated/models/endpoint.py +++ b/msgraph_beta/generated/models/endpoint.py @@ -63,6 +63,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .directory_object import DirectoryObject + writer.write_str_value("capability", self.capability) writer.write_str_value("providerId", self.provider_id) writer.write_str_value("providerName", self.provider_name) diff --git a/msgraph_beta/generated/models/endpoint_collection_response.py b/msgraph_beta/generated/models/endpoint_collection_response.py index de01a058837..991f42925fc 100644 --- a/msgraph_beta/generated/models/endpoint_collection_response.py +++ b/msgraph_beta/generated/models/endpoint_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .endpoint import Endpoint + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/endpoint_privilege_management_provisioning_status.py b/msgraph_beta/generated/models/endpoint_privilege_management_provisioning_status.py index 98444733bd9..25b7feec9f1 100644 --- a/msgraph_beta/generated/models/endpoint_privilege_management_provisioning_status.py +++ b/msgraph_beta/generated/models/endpoint_privilege_management_provisioning_status.py @@ -60,6 +60,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .license_type import LicenseType + writer.write_enum_value("licenseType", self.license_type) writer.write_bool_value("onboardedToMicrosoftManagedPlatform", self.onboarded_to_microsoft_managed_platform) diff --git a/msgraph_beta/generated/models/ends_with_transformation.py b/msgraph_beta/generated/models/ends_with_transformation.py index 698eb972f10..ac847369ebb 100644 --- a/msgraph_beta/generated/models/ends_with_transformation.py +++ b/msgraph_beta/generated/models/ends_with_transformation.py @@ -57,6 +57,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .custom_claim_transformation import CustomClaimTransformation + from .transformation_attribute import TransformationAttribute + writer.write_object_value("output", self.output) writer.write_str_value("value", self.value) diff --git a/msgraph_beta/generated/models/enforce_app_p_i_n.py b/msgraph_beta/generated/models/enforce_app_p_i_n.py index c7698f8ed7e..608069c924d 100644 --- a/msgraph_beta/generated/models/enforce_app_p_i_n.py +++ b/msgraph_beta/generated/models/enforce_app_p_i_n.py @@ -59,6 +59,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .exclude_target import ExcludeTarget + from .include_target import IncludeTarget + writer.write_collection_of_object_values("excludeTargets", self.exclude_targets) writer.write_collection_of_object_values("includeTargets", self.include_targets) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/engagement_async_operation.py b/msgraph_beta/generated/models/engagement_async_operation.py index 7ca6c90057d..7943812aa1a 100644 --- a/msgraph_beta/generated/models/engagement_async_operation.py +++ b/msgraph_beta/generated/models/engagement_async_operation.py @@ -60,6 +60,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .engagement_async_operation_type import EngagementAsyncOperationType + from .long_running_operation import LongRunningOperation + writer.write_enum_value("operationType", self.operation_type) writer.write_str_value("resourceId", self.resource_id) diff --git a/msgraph_beta/generated/models/engagement_async_operation_collection_response.py b/msgraph_beta/generated/models/engagement_async_operation_collection_response.py index cc54d109b36..85d2d79b30d 100644 --- a/msgraph_beta/generated/models/engagement_async_operation_collection_response.py +++ b/msgraph_beta/generated/models/engagement_async_operation_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .engagement_async_operation import EngagementAsyncOperation + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/enrollment_configuration_assignment.py b/msgraph_beta/generated/models/enrollment_configuration_assignment.py index 2af83ede0f6..939f7e9d198 100644 --- a/msgraph_beta/generated/models/enrollment_configuration_assignment.py +++ b/msgraph_beta/generated/models/enrollment_configuration_assignment.py @@ -66,6 +66,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_and_app_management_assignment_source import DeviceAndAppManagementAssignmentSource + from .device_and_app_management_assignment_target import DeviceAndAppManagementAssignmentTarget + from .entity import Entity + writer.write_enum_value("source", self.source) writer.write_str_value("sourceId", self.source_id) writer.write_object_value("target", self.target) diff --git a/msgraph_beta/generated/models/enrollment_configuration_assignment_collection_response.py b/msgraph_beta/generated/models/enrollment_configuration_assignment_collection_response.py index d48ceef0cd1..7e505e34738 100644 --- a/msgraph_beta/generated/models/enrollment_configuration_assignment_collection_response.py +++ b/msgraph_beta/generated/models/enrollment_configuration_assignment_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .enrollment_configuration_assignment import EnrollmentConfigurationAssignment + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/enrollment_profile.py b/msgraph_beta/generated/models/enrollment_profile.py index f3054d3a238..2cd8f7e8cb8 100644 --- a/msgraph_beta/generated/models/enrollment_profile.py +++ b/msgraph_beta/generated/models/enrollment_profile.py @@ -42,7 +42,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> EnrollmentProfile: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.depEnrollmentBaseProfile".casefold(): @@ -101,6 +102,12 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .dep_enrollment_base_profile import DepEnrollmentBaseProfile + from .dep_enrollment_profile import DepEnrollmentProfile + from .dep_i_o_s_enrollment_profile import DepIOSEnrollmentProfile + from .dep_mac_o_s_enrollment_profile import DepMacOSEnrollmentProfile + from .entity import Entity + writer.write_str_value("configurationEndpointUrl", self.configuration_endpoint_url) writer.write_str_value("description", self.description) writer.write_str_value("displayName", self.display_name) diff --git a/msgraph_beta/generated/models/enrollment_profile_collection_response.py b/msgraph_beta/generated/models/enrollment_profile_collection_response.py index 2231ea05989..2775667274f 100644 --- a/msgraph_beta/generated/models/enrollment_profile_collection_response.py +++ b/msgraph_beta/generated/models/enrollment_profile_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .enrollment_profile import EnrollmentProfile + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/enrollment_restrictions_configuration_policy_set_item.py b/msgraph_beta/generated/models/enrollment_restrictions_configuration_policy_set_item.py index cdb220fa591..5500f94814e 100644 --- a/msgraph_beta/generated/models/enrollment_restrictions_configuration_policy_set_item.py +++ b/msgraph_beta/generated/models/enrollment_restrictions_configuration_policy_set_item.py @@ -57,6 +57,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .policy_set_item import PolicySetItem + writer.write_int_value("limit", self.limit) writer.write_int_value("priority", self.priority) diff --git a/msgraph_beta/generated/models/enrollment_time_device_membership_target.py b/msgraph_beta/generated/models/enrollment_time_device_membership_target.py index 7e1fb5a32cc..b244cea8c3b 100644 --- a/msgraph_beta/generated/models/enrollment_time_device_membership_target.py +++ b/msgraph_beta/generated/models/enrollment_time_device_membership_target.py @@ -59,6 +59,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .enrollment_time_device_membership_target_type import EnrollmentTimeDeviceMembershipTargetType + writer.write_str_value("@odata.type", self.odata_type) writer.write_str_value("targetId", self.target_id) writer.write_enum_value("targetType", self.target_type) diff --git a/msgraph_beta/generated/models/enrollment_time_device_membership_target_result.py b/msgraph_beta/generated/models/enrollment_time_device_membership_target_result.py index 43dea857137..80711f5f86c 100644 --- a/msgraph_beta/generated/models/enrollment_time_device_membership_target_result.py +++ b/msgraph_beta/generated/models/enrollment_time_device_membership_target_result.py @@ -59,6 +59,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .enrollment_time_device_membership_target_status import EnrollmentTimeDeviceMembershipTargetStatus + writer.write_collection_of_object_values("enrollmentTimeDeviceMembershipTargetValidationStatuses", self.enrollment_time_device_membership_target_validation_statuses) writer.write_str_value("@odata.type", self.odata_type) writer.write_bool_value("validationSucceeded", self.validation_succeeded) diff --git a/msgraph_beta/generated/models/enrollment_time_device_membership_target_status.py b/msgraph_beta/generated/models/enrollment_time_device_membership_target_status.py index 9cefe64ab91..1aacaab53ea 100644 --- a/msgraph_beta/generated/models/enrollment_time_device_membership_target_status.py +++ b/msgraph_beta/generated/models/enrollment_time_device_membership_target_status.py @@ -59,6 +59,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .enrollment_time_device_membership_target_validation_error_code import EnrollmentTimeDeviceMembershipTargetValidationErrorCode + writer.write_str_value("@odata.type", self.odata_type) writer.write_str_value("targetId", self.target_id) writer.write_enum_value("targetValidationErrorCode", self.target_validation_error_code) diff --git a/msgraph_beta/generated/models/enrollment_troubleshooting_event.py b/msgraph_beta/generated/models/enrollment_troubleshooting_event.py index 1cc76f9d540..b1ba93de936 100644 --- a/msgraph_beta/generated/models/enrollment_troubleshooting_event.py +++ b/msgraph_beta/generated/models/enrollment_troubleshooting_event.py @@ -81,6 +81,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_enrollment_failure_reason import DeviceEnrollmentFailureReason + from .device_enrollment_type import DeviceEnrollmentType + from .device_management_troubleshooting_event import DeviceManagementTroubleshootingEvent + writer.write_str_value("deviceId", self.device_id) writer.write_enum_value("enrollmentType", self.enrollment_type) writer.write_enum_value("failureCategory", self.failure_category) diff --git a/msgraph_beta/generated/models/enterprise_code_signing_certificate.py b/msgraph_beta/generated/models/enterprise_code_signing_certificate.py index ec66fb6d9b3..b7907515fc5 100644 --- a/msgraph_beta/generated/models/enterprise_code_signing_certificate.py +++ b/msgraph_beta/generated/models/enterprise_code_signing_certificate.py @@ -76,6 +76,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .certificate_status import CertificateStatus + from .entity import Entity + writer.write_bytes_value("content", self.content) writer.write_datetime_value("expirationDateTime", self.expiration_date_time) writer.write_str_value("issuer", self.issuer) diff --git a/msgraph_beta/generated/models/enterprise_code_signing_certificate_collection_response.py b/msgraph_beta/generated/models/enterprise_code_signing_certificate_collection_response.py index 74c9ab980af..11fe111bccc 100644 --- a/msgraph_beta/generated/models/enterprise_code_signing_certificate_collection_response.py +++ b/msgraph_beta/generated/models/enterprise_code_signing_certificate_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .enterprise_code_signing_certificate import EnterpriseCodeSigningCertificate + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/entitlement_management.py b/msgraph_beta/generated/models/entitlement_management.py index e87eab4d5cd..e097a596612 100644 --- a/msgraph_beta/generated/models/entitlement_management.py +++ b/msgraph_beta/generated/models/entitlement_management.py @@ -135,6 +135,22 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .access_package import AccessPackage + from .access_package_assignment import AccessPackageAssignment + from .access_package_assignment_policy import AccessPackageAssignmentPolicy + from .access_package_assignment_request import AccessPackageAssignmentRequest + from .access_package_assignment_resource_role import AccessPackageAssignmentResourceRole + from .access_package_catalog import AccessPackageCatalog + from .access_package_resource import AccessPackageResource + from .access_package_resource_environment import AccessPackageResourceEnvironment + from .access_package_resource_request import AccessPackageResourceRequest + from .access_package_resource_role_scope import AccessPackageResourceRoleScope + from .access_package_subject import AccessPackageSubject + from .approval import Approval + from .connected_organization import ConnectedOrganization + from .entitlement_management_settings import EntitlementManagementSettings + from .entity import Entity + writer.write_collection_of_object_values("accessPackageAssignmentApprovals", self.access_package_assignment_approvals) writer.write_collection_of_object_values("accessPackageAssignmentPolicies", self.access_package_assignment_policies) writer.write_collection_of_object_values("accessPackageAssignmentRequests", self.access_package_assignment_requests) diff --git a/msgraph_beta/generated/models/entitlement_management_settings.py b/msgraph_beta/generated/models/entitlement_management_settings.py index d4ff24ac02d..803836605db 100644 --- a/msgraph_beta/generated/models/entitlement_management_settings.py +++ b/msgraph_beta/generated/models/entitlement_management_settings.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_int_value("daysUntilExternalUserDeletedAfterBlocked", self.days_until_external_user_deleted_after_blocked) writer.write_str_value("externalUserLifecycleAction", self.external_user_lifecycle_action) diff --git a/msgraph_beta/generated/models/entitlements_data_collection.py b/msgraph_beta/generated/models/entitlements_data_collection.py index d9edc873dd4..4133652d9b8 100644 --- a/msgraph_beta/generated/models/entitlements_data_collection.py +++ b/msgraph_beta/generated/models/entitlements_data_collection.py @@ -64,6 +64,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .data_collection_status import DataCollectionStatus + from .entitlements_data_collection_info import EntitlementsDataCollectionInfo + from .permissions_modification_capability import PermissionsModificationCapability + writer.write_datetime_value("lastCollectionDateTime", self.last_collection_date_time) writer.write_enum_value("permissionsModificationCapability", self.permissions_modification_capability) writer.write_enum_value("status", self.status) diff --git a/msgraph_beta/generated/models/entitlements_data_collection_info.py b/msgraph_beta/generated/models/entitlements_data_collection_info.py index 72e542ba8c4..61f622dfed3 100644 --- a/msgraph_beta/generated/models/entitlements_data_collection_info.py +++ b/msgraph_beta/generated/models/entitlements_data_collection_info.py @@ -28,7 +28,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> EntitlementsDataCo if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.entitlementsDataCollection".casefold(): @@ -65,6 +66,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .entitlements_data_collection import EntitlementsDataCollection + from .no_entitlements_data_collection import NoEntitlementsDataCollection + writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/entity.py b/msgraph_beta/generated/models/entity.py index c1119b3b16d..702a3f4144c 100644 --- a/msgraph_beta/generated/models/entity.py +++ b/msgraph_beta/generated/models/entity.py @@ -307,12 +307,14 @@ from .cloud_certification_authority_leaf_certificate import CloudCertificationAuthorityLeafCertificate from .cloud_clipboard_item import CloudClipboardItem from .cloud_clipboard_root import CloudClipboardRoot + from .cloud_licensing.usage_right import UsageRight from .cloud_pc_audit_event import CloudPcAuditEvent from .cloud_pc_bulk_action import CloudPcBulkAction from .cloud_pc_bulk_create_snapshot import CloudPcBulkCreateSnapshot from .cloud_pc_bulk_disaster_recovery_failback import CloudPcBulkDisasterRecoveryFailback from .cloud_pc_bulk_disaster_recovery_failover import CloudPcBulkDisasterRecoveryFailover from .cloud_pc_bulk_modify_disk_encryption_type import CloudPcBulkModifyDiskEncryptionType + from .cloud_pc_bulk_move import CloudPcBulkMove from .cloud_pc_bulk_power_off import CloudPcBulkPowerOff from .cloud_pc_bulk_power_on import CloudPcBulkPowerOn from .cloud_pc_bulk_reprovision import CloudPcBulkReprovision @@ -384,6 +386,8 @@ from .custom_extension_stage_setting import CustomExtensionStageSetting from .custom_security_attribute_audit import CustomSecurityAttributeAudit from .custom_security_attribute_definition import CustomSecurityAttributeDefinition + from .custom_security_attribute_exemption import CustomSecurityAttributeExemption + from .custom_security_attribute_string_value_exemption import CustomSecurityAttributeStringValueExemption from .daily_inactive_users_by_application_metric import DailyInactiveUsersByApplicationMetric from .daily_inactive_users_metric import DailyInactiveUsersMetric from .daily_user_insight_metrics_root import DailyUserInsightMetricsRoot @@ -564,6 +568,7 @@ from .drive_protection_unit import DriveProtectionUnit from .drive_protection_units_bulk_addition_job import DriveProtectionUnitsBulkAdditionJob from .drive_restore_artifact import DriveRestoreArtifact + from .drive_restore_artifacts_bulk_addition_request import DriveRestoreArtifactsBulkAdditionRequest from .eas_email_profile_configuration_base import EasEmailProfileConfigurationBase from .edge import Edge from .ediscovery.add_to_review_set_operation import AddToReviewSetOperation @@ -946,6 +951,7 @@ from .mailbox_protection_unit import MailboxProtectionUnit from .mailbox_protection_units_bulk_addition_job import MailboxProtectionUnitsBulkAdditionJob from .mailbox_restore_artifact import MailboxRestoreArtifact + from .mailbox_restore_artifacts_bulk_addition_request import MailboxRestoreArtifactsBulkAdditionRequest from .mail_assessment_request import MailAssessmentRequest from .mail_folder import MailFolder from .mail_search_folder import MailSearchFolder @@ -1344,6 +1350,7 @@ from .purchase_invoice_line import PurchaseInvoiceLine from .rbac_application import RbacApplication from .rbac_application_multiple import RbacApplicationMultiple + from .reading_assignment_submission import ReadingAssignmentSubmission from .recommendation import Recommendation from .recommendation_base import RecommendationBase from .record_operation import RecordOperation @@ -1352,17 +1359,20 @@ from .redundant_assignment_alert_configuration import RedundantAssignmentAlertConfiguration from .redundant_assignment_alert_incident import RedundantAssignmentAlertIncident from .reference_attachment import ReferenceAttachment + from .reflect_check_in_response import ReflectCheckInResponse from .regional_and_language_settings import RegionalAndLanguageSettings from .relying_party_detailed_summary import RelyingPartyDetailedSummary from .remote_action_audit import RemoteActionAudit from .remote_assistance_partner import RemoteAssistancePartner from .remote_assistance_settings import RemoteAssistanceSettings from .remote_desktop_security_configuration import RemoteDesktopSecurityConfiguration + from .reports_root import ReportsRoot from .report_root import ReportRoot from .request import Request from .reseller_delegated_admin_relationship import ResellerDelegatedAdminRelationship from .resource_operation import ResourceOperation from .resource_specific_permission_grant import ResourceSpecificPermissionGrant + from .restore_artifacts_bulk_request_base import RestoreArtifactsBulkRequestBase from .restore_artifact_base import RestoreArtifactBase from .restore_point import RestorePoint from .restore_session_base import RestoreSessionBase @@ -1567,6 +1577,7 @@ from .site_protection_unit import SiteProtectionUnit from .site_protection_units_bulk_addition_job import SiteProtectionUnitsBulkAdditionJob from .site_restore_artifact import SiteRestoreArtifact + from .site_restore_artifacts_bulk_addition_request import SiteRestoreArtifactsBulkAdditionRequest from .skill_proficiency import SkillProficiency from .skype_for_business_user_conversation_member import SkypeForBusinessUserConversationMember from .skype_user_conversation_member import SkypeUserConversationMember @@ -2019,7 +2030,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> Entity: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.aadUserConversationMember".casefold(): @@ -3235,6 +3247,11 @@ def create_from_discriminator_value(parse_node: ParseNode) -> Entity: from .cloud_clipboard_root import CloudClipboardRoot return CloudClipboardRoot() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.cloudLicensing.usageRight".casefold(): + from .cloud_licensing.usage_right import UsageRight + from .usage_right import UsageRight + + return UsageRight() if mapping_value and mapping_value.casefold() == "#microsoft.graph.cloudPC".casefold(): from .cloud_p_c import CloudPC @@ -3263,6 +3280,10 @@ def create_from_discriminator_value(parse_node: ParseNode) -> Entity: from .cloud_pc_bulk_modify_disk_encryption_type import CloudPcBulkModifyDiskEncryptionType return CloudPcBulkModifyDiskEncryptionType() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.cloudPcBulkMove".casefold(): + from .cloud_pc_bulk_move import CloudPcBulkMove + + return CloudPcBulkMove() if mapping_value and mapping_value.casefold() == "#microsoft.graph.cloudPcBulkPowerOff".casefold(): from .cloud_pc_bulk_power_off import CloudPcBulkPowerOff @@ -3545,6 +3566,14 @@ def create_from_discriminator_value(parse_node: ParseNode) -> Entity: from .custom_security_attribute_definition import CustomSecurityAttributeDefinition return CustomSecurityAttributeDefinition() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.customSecurityAttributeExemption".casefold(): + from .custom_security_attribute_exemption import CustomSecurityAttributeExemption + + return CustomSecurityAttributeExemption() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.customSecurityAttributeStringValueExemption".casefold(): + from .custom_security_attribute_string_value_exemption import CustomSecurityAttributeStringValueExemption + + return CustomSecurityAttributeStringValueExemption() if mapping_value and mapping_value.casefold() == "#microsoft.graph.dailyInactiveUsersByApplicationMetric".casefold(): from .daily_inactive_users_by_application_metric import DailyInactiveUsersByApplicationMetric @@ -4266,6 +4295,10 @@ def create_from_discriminator_value(parse_node: ParseNode) -> Entity: from .drive_restore_artifact import DriveRestoreArtifact return DriveRestoreArtifact() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.driveRestoreArtifactsBulkAdditionRequest".casefold(): + from .drive_restore_artifacts_bulk_addition_request import DriveRestoreArtifactsBulkAdditionRequest + + return DriveRestoreArtifactsBulkAdditionRequest() if mapping_value and mapping_value.casefold() == "#microsoft.graph.easEmailProfileConfigurationBase".casefold(): from .eas_email_profile_configuration_base import EasEmailProfileConfigurationBase @@ -5819,6 +5852,10 @@ def create_from_discriminator_value(parse_node: ParseNode) -> Entity: from .mailbox_restore_artifact import MailboxRestoreArtifact return MailboxRestoreArtifact() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.mailboxRestoreArtifactsBulkAdditionRequest".casefold(): + from .mailbox_restore_artifacts_bulk_addition_request import MailboxRestoreArtifactsBulkAdditionRequest + + return MailboxRestoreArtifactsBulkAdditionRequest() if mapping_value and mapping_value.casefold() == "#microsoft.graph.mailFolder".casefold(): from .mail_folder import MailFolder @@ -7421,6 +7458,10 @@ def create_from_discriminator_value(parse_node: ParseNode) -> Entity: from .rbac_application_multiple import RbacApplicationMultiple return RbacApplicationMultiple() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.readingAssignmentSubmission".casefold(): + from .reading_assignment_submission import ReadingAssignmentSubmission + + return ReadingAssignmentSubmission() if mapping_value and mapping_value.casefold() == "#microsoft.graph.recommendation".casefold(): from .recommendation import Recommendation @@ -7453,6 +7494,10 @@ def create_from_discriminator_value(parse_node: ParseNode) -> Entity: from .reference_attachment import ReferenceAttachment return ReferenceAttachment() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.reflectCheckInResponse".casefold(): + from .reflect_check_in_response import ReflectCheckInResponse + + return ReflectCheckInResponse() if mapping_value and mapping_value.casefold() == "#microsoft.graph.regionalAndLanguageSettings".casefold(): from .regional_and_language_settings import RegionalAndLanguageSettings @@ -7481,6 +7526,10 @@ def create_from_discriminator_value(parse_node: ParseNode) -> Entity: from .report_root import ReportRoot return ReportRoot() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.reportsRoot".casefold(): + from .reports_root import ReportsRoot + + return ReportsRoot() if mapping_value and mapping_value.casefold() == "#microsoft.graph.request".casefold(): from .request import Request @@ -7501,6 +7550,10 @@ def create_from_discriminator_value(parse_node: ParseNode) -> Entity: from .restore_artifact_base import RestoreArtifactBase return RestoreArtifactBase() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.restoreArtifactsBulkRequestBase".casefold(): + from .restore_artifacts_bulk_request_base import RestoreArtifactsBulkRequestBase + + return RestoreArtifactsBulkRequestBase() if mapping_value and mapping_value.casefold() == "#microsoft.graph.restorePoint".casefold(): from .restore_point import RestorePoint @@ -8329,6 +8382,10 @@ def create_from_discriminator_value(parse_node: ParseNode) -> Entity: from .site_restore_artifact import SiteRestoreArtifact return SiteRestoreArtifact() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.siteRestoreArtifactsBulkAdditionRequest".casefold(): + from .site_restore_artifacts_bulk_addition_request import SiteRestoreArtifactsBulkAdditionRequest + + return SiteRestoreArtifactsBulkAdditionRequest() if mapping_value and mapping_value.casefold() == "#microsoft.graph.skillProficiency".casefold(): from .skill_proficiency import SkillProficiency @@ -8903,6 +8960,7 @@ def create_from_discriminator_value(parse_node: ParseNode) -> Entity: return UrlAssessmentRequest() if mapping_value and mapping_value.casefold() == "#microsoft.graph.usageRight".casefold(): + from .cloud_licensing.usage_right import UsageRight from .usage_right import UsageRight return UsageRight() @@ -10357,12 +10415,14 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .cloud_certification_authority_leaf_certificate import CloudCertificationAuthorityLeafCertificate from .cloud_clipboard_item import CloudClipboardItem from .cloud_clipboard_root import CloudClipboardRoot + from .cloud_licensing.usage_right import UsageRight from .cloud_pc_audit_event import CloudPcAuditEvent from .cloud_pc_bulk_action import CloudPcBulkAction from .cloud_pc_bulk_create_snapshot import CloudPcBulkCreateSnapshot from .cloud_pc_bulk_disaster_recovery_failback import CloudPcBulkDisasterRecoveryFailback from .cloud_pc_bulk_disaster_recovery_failover import CloudPcBulkDisasterRecoveryFailover from .cloud_pc_bulk_modify_disk_encryption_type import CloudPcBulkModifyDiskEncryptionType + from .cloud_pc_bulk_move import CloudPcBulkMove from .cloud_pc_bulk_power_off import CloudPcBulkPowerOff from .cloud_pc_bulk_power_on import CloudPcBulkPowerOn from .cloud_pc_bulk_reprovision import CloudPcBulkReprovision @@ -10434,6 +10494,8 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .custom_extension_stage_setting import CustomExtensionStageSetting from .custom_security_attribute_audit import CustomSecurityAttributeAudit from .custom_security_attribute_definition import CustomSecurityAttributeDefinition + from .custom_security_attribute_exemption import CustomSecurityAttributeExemption + from .custom_security_attribute_string_value_exemption import CustomSecurityAttributeStringValueExemption from .daily_inactive_users_by_application_metric import DailyInactiveUsersByApplicationMetric from .daily_inactive_users_metric import DailyInactiveUsersMetric from .daily_user_insight_metrics_root import DailyUserInsightMetricsRoot @@ -10614,6 +10676,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .drive_protection_unit import DriveProtectionUnit from .drive_protection_units_bulk_addition_job import DriveProtectionUnitsBulkAdditionJob from .drive_restore_artifact import DriveRestoreArtifact + from .drive_restore_artifacts_bulk_addition_request import DriveRestoreArtifactsBulkAdditionRequest from .eas_email_profile_configuration_base import EasEmailProfileConfigurationBase from .edge import Edge from .ediscovery.add_to_review_set_operation import AddToReviewSetOperation @@ -10996,6 +11059,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .mailbox_protection_unit import MailboxProtectionUnit from .mailbox_protection_units_bulk_addition_job import MailboxProtectionUnitsBulkAdditionJob from .mailbox_restore_artifact import MailboxRestoreArtifact + from .mailbox_restore_artifacts_bulk_addition_request import MailboxRestoreArtifactsBulkAdditionRequest from .mail_assessment_request import MailAssessmentRequest from .mail_folder import MailFolder from .mail_search_folder import MailSearchFolder @@ -11394,6 +11458,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .purchase_invoice_line import PurchaseInvoiceLine from .rbac_application import RbacApplication from .rbac_application_multiple import RbacApplicationMultiple + from .reading_assignment_submission import ReadingAssignmentSubmission from .recommendation import Recommendation from .recommendation_base import RecommendationBase from .record_operation import RecordOperation @@ -11402,17 +11467,20 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .redundant_assignment_alert_configuration import RedundantAssignmentAlertConfiguration from .redundant_assignment_alert_incident import RedundantAssignmentAlertIncident from .reference_attachment import ReferenceAttachment + from .reflect_check_in_response import ReflectCheckInResponse from .regional_and_language_settings import RegionalAndLanguageSettings from .relying_party_detailed_summary import RelyingPartyDetailedSummary from .remote_action_audit import RemoteActionAudit from .remote_assistance_partner import RemoteAssistancePartner from .remote_assistance_settings import RemoteAssistanceSettings from .remote_desktop_security_configuration import RemoteDesktopSecurityConfiguration + from .reports_root import ReportsRoot from .report_root import ReportRoot from .request import Request from .reseller_delegated_admin_relationship import ResellerDelegatedAdminRelationship from .resource_operation import ResourceOperation from .resource_specific_permission_grant import ResourceSpecificPermissionGrant + from .restore_artifacts_bulk_request_base import RestoreArtifactsBulkRequestBase from .restore_artifact_base import RestoreArtifactBase from .restore_point import RestorePoint from .restore_session_base import RestoreSessionBase @@ -11617,6 +11685,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .site_protection_unit import SiteProtectionUnit from .site_protection_units_bulk_addition_job import SiteProtectionUnitsBulkAdditionJob from .site_restore_artifact import SiteRestoreArtifact + from .site_restore_artifacts_bulk_addition_request import SiteRestoreArtifactsBulkAdditionRequest from .skill_proficiency import SkillProficiency from .skype_for_business_user_conversation_member import SkypeForBusinessUserConversationMember from .skype_user_conversation_member import SkypeUserConversationMember @@ -12349,12 +12418,14 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .cloud_certification_authority_leaf_certificate import CloudCertificationAuthorityLeafCertificate from .cloud_clipboard_item import CloudClipboardItem from .cloud_clipboard_root import CloudClipboardRoot + from .cloud_licensing.usage_right import UsageRight from .cloud_pc_audit_event import CloudPcAuditEvent from .cloud_pc_bulk_action import CloudPcBulkAction from .cloud_pc_bulk_create_snapshot import CloudPcBulkCreateSnapshot from .cloud_pc_bulk_disaster_recovery_failback import CloudPcBulkDisasterRecoveryFailback from .cloud_pc_bulk_disaster_recovery_failover import CloudPcBulkDisasterRecoveryFailover from .cloud_pc_bulk_modify_disk_encryption_type import CloudPcBulkModifyDiskEncryptionType + from .cloud_pc_bulk_move import CloudPcBulkMove from .cloud_pc_bulk_power_off import CloudPcBulkPowerOff from .cloud_pc_bulk_power_on import CloudPcBulkPowerOn from .cloud_pc_bulk_reprovision import CloudPcBulkReprovision @@ -12426,6 +12497,8 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .custom_extension_stage_setting import CustomExtensionStageSetting from .custom_security_attribute_audit import CustomSecurityAttributeAudit from .custom_security_attribute_definition import CustomSecurityAttributeDefinition + from .custom_security_attribute_exemption import CustomSecurityAttributeExemption + from .custom_security_attribute_string_value_exemption import CustomSecurityAttributeStringValueExemption from .daily_inactive_users_by_application_metric import DailyInactiveUsersByApplicationMetric from .daily_inactive_users_metric import DailyInactiveUsersMetric from .daily_user_insight_metrics_root import DailyUserInsightMetricsRoot @@ -12606,6 +12679,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .drive_protection_unit import DriveProtectionUnit from .drive_protection_units_bulk_addition_job import DriveProtectionUnitsBulkAdditionJob from .drive_restore_artifact import DriveRestoreArtifact + from .drive_restore_artifacts_bulk_addition_request import DriveRestoreArtifactsBulkAdditionRequest from .eas_email_profile_configuration_base import EasEmailProfileConfigurationBase from .edge import Edge from .ediscovery.add_to_review_set_operation import AddToReviewSetOperation @@ -12988,6 +13062,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .mailbox_protection_unit import MailboxProtectionUnit from .mailbox_protection_units_bulk_addition_job import MailboxProtectionUnitsBulkAdditionJob from .mailbox_restore_artifact import MailboxRestoreArtifact + from .mailbox_restore_artifacts_bulk_addition_request import MailboxRestoreArtifactsBulkAdditionRequest from .mail_assessment_request import MailAssessmentRequest from .mail_folder import MailFolder from .mail_search_folder import MailSearchFolder @@ -13386,6 +13461,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .purchase_invoice_line import PurchaseInvoiceLine from .rbac_application import RbacApplication from .rbac_application_multiple import RbacApplicationMultiple + from .reading_assignment_submission import ReadingAssignmentSubmission from .recommendation import Recommendation from .recommendation_base import RecommendationBase from .record_operation import RecordOperation @@ -13394,17 +13470,20 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .redundant_assignment_alert_configuration import RedundantAssignmentAlertConfiguration from .redundant_assignment_alert_incident import RedundantAssignmentAlertIncident from .reference_attachment import ReferenceAttachment + from .reflect_check_in_response import ReflectCheckInResponse from .regional_and_language_settings import RegionalAndLanguageSettings from .relying_party_detailed_summary import RelyingPartyDetailedSummary from .remote_action_audit import RemoteActionAudit from .remote_assistance_partner import RemoteAssistancePartner from .remote_assistance_settings import RemoteAssistanceSettings from .remote_desktop_security_configuration import RemoteDesktopSecurityConfiguration + from .reports_root import ReportsRoot from .report_root import ReportRoot from .request import Request from .reseller_delegated_admin_relationship import ResellerDelegatedAdminRelationship from .resource_operation import ResourceOperation from .resource_specific_permission_grant import ResourceSpecificPermissionGrant + from .restore_artifacts_bulk_request_base import RestoreArtifactsBulkRequestBase from .restore_artifact_base import RestoreArtifactBase from .restore_point import RestorePoint from .restore_session_base import RestoreSessionBase @@ -13609,6 +13688,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .site_protection_unit import SiteProtectionUnit from .site_protection_units_bulk_addition_job import SiteProtectionUnitsBulkAdditionJob from .site_restore_artifact import SiteRestoreArtifact + from .site_restore_artifacts_bulk_addition_request import SiteRestoreArtifactsBulkAdditionRequest from .skill_proficiency import SkillProficiency from .skype_for_business_user_conversation_member import SkypeForBusinessUserConversationMember from .skype_user_conversation_member import SkypeUserConversationMember @@ -14053,6 +14133,2009 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .aad_user_conversation_member import AadUserConversationMember + from .access_package import AccessPackage + from .access_package_assignment import AccessPackageAssignment + from .access_package_assignment_policy import AccessPackageAssignmentPolicy + from .access_package_assignment_request import AccessPackageAssignmentRequest + from .access_package_assignment_request_workflow_extension import AccessPackageAssignmentRequestWorkflowExtension + from .access_package_assignment_resource_role import AccessPackageAssignmentResourceRole + from .access_package_assignment_workflow_extension import AccessPackageAssignmentWorkflowExtension + from .access_package_catalog import AccessPackageCatalog + from .access_package_resource import AccessPackageResource + from .access_package_resource_environment import AccessPackageResourceEnvironment + from .access_package_resource_request import AccessPackageResourceRequest + from .access_package_resource_role import AccessPackageResourceRole + from .access_package_resource_role_scope import AccessPackageResourceRoleScope + from .access_package_resource_scope import AccessPackageResourceScope + from .access_package_subject import AccessPackageSubject + from .access_review import AccessReview + from .access_review_decision import AccessReviewDecision + from .access_review_history_definition import AccessReviewHistoryDefinition + from .access_review_history_instance import AccessReviewHistoryInstance + from .access_review_instance import AccessReviewInstance + from .access_review_instance_decision_item import AccessReviewInstanceDecisionItem + from .access_review_policy import AccessReviewPolicy + from .access_review_reviewer import AccessReviewReviewer + from .access_review_schedule_definition import AccessReviewScheduleDefinition + from .access_review_set import AccessReviewSet + from .access_review_stage import AccessReviewStage + from .active_directory_windows_autopilot_deployment_profile import ActiveDirectoryWindowsAutopilotDeploymentProfile + from .active_users_metric import ActiveUsersMetric + from .activity_based_timeout_policy import ActivityBasedTimeoutPolicy + from .activity_history_item import ActivityHistoryItem + from .activity_statistics import ActivityStatistics + from .add_large_gallery_view_operation import AddLargeGalleryViewOperation + from .administrative_unit import AdministrativeUnit + from .admin_apps_and_services import AdminAppsAndServices + from .admin_consent_request_policy import AdminConsentRequestPolicy + from .admin_dynamics import AdminDynamics + from .admin_forms import AdminForms + from .admin_microsoft365_apps import AdminMicrosoft365Apps + from .admin_report_settings import AdminReportSettings + from .admin_todo import AdminTodo + from .admin_windows import AdminWindows + from .admin_windows_updates import AdminWindowsUpdates + from .advanced_threat_protection_onboarding_device_setting_state import AdvancedThreatProtectionOnboardingDeviceSettingState + from .advanced_threat_protection_onboarding_state_summary import AdvancedThreatProtectionOnboardingStateSummary + from .agreement import Agreement + from .agreement_acceptance import AgreementAcceptance + from .agreement_file import AgreementFile + from .agreement_file_localization import AgreementFileLocalization + from .agreement_file_properties import AgreementFileProperties + from .agreement_file_version import AgreementFileVersion + from .alert import Alert + from .allowed_data_location import AllowedDataLocation + from .allowed_value import AllowedValue + from .android_certificate_profile_base import AndroidCertificateProfileBase + from .android_compliance_policy import AndroidCompliancePolicy + from .android_custom_configuration import AndroidCustomConfiguration + from .android_device_compliance_local_action_base import AndroidDeviceComplianceLocalActionBase + from .android_device_compliance_local_action_lock_device import AndroidDeviceComplianceLocalActionLockDevice + from .android_device_compliance_local_action_lock_device_with_passcode import AndroidDeviceComplianceLocalActionLockDeviceWithPasscode + from .android_device_owner_certificate_profile_base import AndroidDeviceOwnerCertificateProfileBase + from .android_device_owner_compliance_policy import AndroidDeviceOwnerCompliancePolicy + from .android_device_owner_derived_credential_authentication_configuration import AndroidDeviceOwnerDerivedCredentialAuthenticationConfiguration + from .android_device_owner_enrollment_profile import AndroidDeviceOwnerEnrollmentProfile + from .android_device_owner_enterprise_wi_fi_configuration import AndroidDeviceOwnerEnterpriseWiFiConfiguration + from .android_device_owner_general_device_configuration import AndroidDeviceOwnerGeneralDeviceConfiguration + from .android_device_owner_imported_p_f_x_certificate_profile import AndroidDeviceOwnerImportedPFXCertificateProfile + from .android_device_owner_pkcs_certificate_profile import AndroidDeviceOwnerPkcsCertificateProfile + from .android_device_owner_scep_certificate_profile import AndroidDeviceOwnerScepCertificateProfile + from .android_device_owner_trusted_root_certificate import AndroidDeviceOwnerTrustedRootCertificate + from .android_device_owner_vpn_configuration import AndroidDeviceOwnerVpnConfiguration + from .android_device_owner_wi_fi_configuration import AndroidDeviceOwnerWiFiConfiguration + from .android_eas_email_profile_configuration import AndroidEasEmailProfileConfiguration + from .android_enterprise_wi_fi_configuration import AndroidEnterpriseWiFiConfiguration + from .android_for_work_app import AndroidForWorkApp + from .android_for_work_app_configuration_schema import AndroidForWorkAppConfigurationSchema + from .android_for_work_certificate_profile_base import AndroidForWorkCertificateProfileBase + from .android_for_work_compliance_policy import AndroidForWorkCompliancePolicy + from .android_for_work_custom_configuration import AndroidForWorkCustomConfiguration + from .android_for_work_eas_email_profile_base import AndroidForWorkEasEmailProfileBase + from .android_for_work_enrollment_profile import AndroidForWorkEnrollmentProfile + from .android_for_work_enterprise_wi_fi_configuration import AndroidForWorkEnterpriseWiFiConfiguration + from .android_for_work_general_device_configuration import AndroidForWorkGeneralDeviceConfiguration + from .android_for_work_gmail_eas_configuration import AndroidForWorkGmailEasConfiguration + from .android_for_work_imported_p_f_x_certificate_profile import AndroidForWorkImportedPFXCertificateProfile + from .android_for_work_mobile_app_configuration import AndroidForWorkMobileAppConfiguration + from .android_for_work_nine_work_eas_configuration import AndroidForWorkNineWorkEasConfiguration + from .android_for_work_pkcs_certificate_profile import AndroidForWorkPkcsCertificateProfile + from .android_for_work_scep_certificate_profile import AndroidForWorkScepCertificateProfile + from .android_for_work_settings import AndroidForWorkSettings + from .android_for_work_trusted_root_certificate import AndroidForWorkTrustedRootCertificate + from .android_for_work_vpn_configuration import AndroidForWorkVpnConfiguration + from .android_for_work_wi_fi_configuration import AndroidForWorkWiFiConfiguration + from .android_general_device_configuration import AndroidGeneralDeviceConfiguration + from .android_imported_p_f_x_certificate_profile import AndroidImportedPFXCertificateProfile + from .android_lob_app import AndroidLobApp + from .android_managed_app_protection import AndroidManagedAppProtection + from .android_managed_app_registration import AndroidManagedAppRegistration + from .android_managed_store_account_enterprise_settings import AndroidManagedStoreAccountEnterpriseSettings + from .android_managed_store_app import AndroidManagedStoreApp + from .android_managed_store_app_configuration import AndroidManagedStoreAppConfiguration + from .android_managed_store_app_configuration_schema import AndroidManagedStoreAppConfigurationSchema + from .android_managed_store_web_app import AndroidManagedStoreWebApp + from .android_oma_cp_configuration import AndroidOmaCpConfiguration + from .android_pkcs_certificate_profile import AndroidPkcsCertificateProfile + from .android_scep_certificate_profile import AndroidScepCertificateProfile + from .android_store_app import AndroidStoreApp + from .android_trusted_root_certificate import AndroidTrustedRootCertificate + from .android_vpn_configuration import AndroidVpnConfiguration + from .android_wi_fi_configuration import AndroidWiFiConfiguration + from .android_work_profile_certificate_profile_base import AndroidWorkProfileCertificateProfileBase + from .android_work_profile_compliance_policy import AndroidWorkProfileCompliancePolicy + from .android_work_profile_custom_configuration import AndroidWorkProfileCustomConfiguration + from .android_work_profile_eas_email_profile_base import AndroidWorkProfileEasEmailProfileBase + from .android_work_profile_enterprise_wi_fi_configuration import AndroidWorkProfileEnterpriseWiFiConfiguration + from .android_work_profile_general_device_configuration import AndroidWorkProfileGeneralDeviceConfiguration + from .android_work_profile_gmail_eas_configuration import AndroidWorkProfileGmailEasConfiguration + from .android_work_profile_nine_work_eas_configuration import AndroidWorkProfileNineWorkEasConfiguration + from .android_work_profile_pkcs_certificate_profile import AndroidWorkProfilePkcsCertificateProfile + from .android_work_profile_scep_certificate_profile import AndroidWorkProfileScepCertificateProfile + from .android_work_profile_trusted_root_certificate import AndroidWorkProfileTrustedRootCertificate + from .android_work_profile_vpn_configuration import AndroidWorkProfileVpnConfiguration + from .android_work_profile_wi_fi_configuration import AndroidWorkProfileWiFiConfiguration + from .anonymous_guest_conversation_member import AnonymousGuestConversationMember + from .aosp_device_owner_certificate_profile_base import AospDeviceOwnerCertificateProfileBase + from .aosp_device_owner_compliance_policy import AospDeviceOwnerCompliancePolicy + from .aosp_device_owner_device_configuration import AospDeviceOwnerDeviceConfiguration + from .aosp_device_owner_enterprise_wi_fi_configuration import AospDeviceOwnerEnterpriseWiFiConfiguration + from .aosp_device_owner_pkcs_certificate_profile import AospDeviceOwnerPkcsCertificateProfile + from .aosp_device_owner_scep_certificate_profile import AospDeviceOwnerScepCertificateProfile + from .aosp_device_owner_trusted_root_certificate import AospDeviceOwnerTrustedRootCertificate + from .aosp_device_owner_wi_fi_configuration import AospDeviceOwnerWiFiConfiguration + from .apple_device_features_configuration_base import AppleDeviceFeaturesConfigurationBase + from .apple_enrollment_profile_assignment import AppleEnrollmentProfileAssignment + from .apple_expedited_checkin_configuration_base import AppleExpeditedCheckinConfigurationBase + from .apple_managed_identity_provider import AppleManagedIdentityProvider + from .apple_push_notification_certificate import ApplePushNotificationCertificate + from .apple_user_initiated_enrollment_profile import AppleUserInitiatedEnrollmentProfile + from .apple_vpn_configuration import AppleVpnConfiguration + from .apple_vpp_token_troubleshooting_event import AppleVppTokenTroubleshootingEvent + from .application import Application + from .application_segment import ApplicationSegment + from .application_sign_in_detailed_summary import ApplicationSignInDetailedSummary + from .application_sign_in_summary import ApplicationSignInSummary + from .application_template import ApplicationTemplate + from .approval import Approval + from .approval_item import ApprovalItem + from .approval_item_request import ApprovalItemRequest + from .approval_item_response import ApprovalItemResponse + from .approval_operation import ApprovalOperation + from .approval_solution import ApprovalSolution + from .approval_step import ApprovalStep + from .approval_workflow_provider import ApprovalWorkflowProvider + from .app_consent_approval_route import AppConsentApprovalRoute + from .app_consent_request import AppConsentRequest + from .app_credential_sign_in_activity import AppCredentialSignInActivity + from .app_log_collection_request import AppLogCollectionRequest + from .app_management_policy import AppManagementPolicy + from .app_role_assignment import AppRoleAssignment + from .app_scope import AppScope + from .app_vulnerability_managed_device import AppVulnerabilityManagedDevice + from .app_vulnerability_mobile_app import AppVulnerabilityMobileApp + from .app_vulnerability_task import AppVulnerabilityTask + from .assigned_compute_instance_details import AssignedComputeInstanceDetails + from .assignment_filter_evaluation_status_details import AssignmentFilterEvaluationStatusDetails + from .associated_team_info import AssociatedTeamInfo + from .attachment import Attachment + from .attachment_base import AttachmentBase + from .attachment_session import AttachmentSession + from .attack_simulation_operation import AttackSimulationOperation + from .attack_simulation_root import AttackSimulationRoot + from .attendance_record import AttendanceRecord + from .attribute_mapping_function_schema import AttributeMappingFunctionSchema + from .attribute_set import AttributeSet + from .audio_routing_group import AudioRoutingGroup + from .audit_event import AuditEvent + from .authentication import Authentication + from .authentications_metric import AuthenticationsMetric + from .authentication_combination_configuration import AuthenticationCombinationConfiguration + from .authentication_context_class_reference import AuthenticationContextClassReference + from .authentication_events_flow import AuthenticationEventsFlow + from .authentication_events_policy import AuthenticationEventsPolicy + from .authentication_event_listener import AuthenticationEventListener + from .authentication_failure import AuthenticationFailure + from .authentication_flows_policy import AuthenticationFlowsPolicy + from .authentication_listener import AuthenticationListener + from .authentication_method import AuthenticationMethod + from .authentication_methods_policy import AuthenticationMethodsPolicy + from .authentication_methods_root import AuthenticationMethodsRoot + from .authentication_method_configuration import AuthenticationMethodConfiguration + from .authentication_method_mode_detail import AuthenticationMethodModeDetail + from .authentication_method_target import AuthenticationMethodTarget + from .authentication_strength_policy import AuthenticationStrengthPolicy + from .authentication_strength_root import AuthenticationStrengthRoot + from .authored_note import AuthoredNote + from .authorization_policy import AuthorizationPolicy + from .authorization_system import AuthorizationSystem + from .authorization_system_identity import AuthorizationSystemIdentity + from .authorization_system_resource import AuthorizationSystemResource + from .authorization_system_type_action import AuthorizationSystemTypeAction + from .authorization_system_type_service import AuthorizationSystemTypeService + from .aws_access_key import AwsAccessKey + from .aws_authorization_system import AwsAuthorizationSystem + from .aws_authorization_system_resource import AwsAuthorizationSystemResource + from .aws_authorization_system_type_action import AwsAuthorizationSystemTypeAction + from .aws_ec2_instance import AwsEc2Instance + from .aws_external_system_access_finding import AwsExternalSystemAccessFinding + from .aws_external_system_access_role_finding import AwsExternalSystemAccessRoleFinding + from .aws_group import AwsGroup + from .aws_identity import AwsIdentity + from .aws_identity_access_management_key_age_finding import AwsIdentityAccessManagementKeyAgeFinding + from .aws_identity_access_management_key_usage_finding import AwsIdentityAccessManagementKeyUsageFinding + from .aws_lambda import AwsLambda + from .aws_policy import AwsPolicy + from .aws_role import AwsRole + from .aws_secret_information_access_finding import AwsSecretInformationAccessFinding + from .aws_security_tool_administration_finding import AwsSecurityToolAdministrationFinding + from .aws_user import AwsUser + from .azure_authorization_system import AzureAuthorizationSystem + from .azure_authorization_system_resource import AzureAuthorizationSystemResource + from .azure_authorization_system_type_action import AzureAuthorizationSystemTypeAction + from .azure_a_d_authentication import AzureADAuthentication + from .azure_a_d_windows_autopilot_deployment_profile import AzureADWindowsAutopilotDeploymentProfile + from .azure_communication_services_user_conversation_member import AzureCommunicationServicesUserConversationMember + from .azure_group import AzureGroup + from .azure_identity import AzureIdentity + from .azure_managed_identity import AzureManagedIdentity + from .azure_role_definition import AzureRoleDefinition + from .azure_serverless_function import AzureServerlessFunction + from .azure_service_principal import AzureServicePrincipal + from .azure_user import AzureUser + from .b2c_authentication_methods_policy import B2cAuthenticationMethodsPolicy + from .b2c_identity_user_flow import B2cIdentityUserFlow + from .b2x_identity_user_flow import B2xIdentityUserFlow + from .backup_restore_root import BackupRestoreRoot + from .base_item import BaseItem + from .base_item_version import BaseItemVersion + from .base_site_page import BaseSitePage + from .bitlocker import Bitlocker + from .bitlocker_recovery_key import BitlockerRecoveryKey + from .booking_appointment import BookingAppointment + from .booking_business import BookingBusiness + from .booking_currency import BookingCurrency + from .booking_customer import BookingCustomer + from .booking_custom_question import BookingCustomQuestion + from .booking_named_entity import BookingNamedEntity + from .booking_person import BookingPerson + from .booking_service import BookingService + from .booking_staff_member import BookingStaffMember + from .browser_shared_cookie import BrowserSharedCookie + from .browser_site import BrowserSite + from .browser_site_list import BrowserSiteList + from .built_in_identity_provider import BuiltInIdentityProvider + from .bulk_upload import BulkUpload + from .business_flow import BusinessFlow + from .business_flow_template import BusinessFlowTemplate + from .business_scenario import BusinessScenario + from .business_scenario_planner import BusinessScenarioPlanner + from .business_scenario_plan_reference import BusinessScenarioPlanReference + from .business_scenario_task import BusinessScenarioTask + from .calendar import Calendar + from .calendar_group import CalendarGroup + from .calendar_permission import CalendarPermission + from .calendar_sharing_message import CalendarSharingMessage + from .call import Call + from .call_activity_statistics import CallActivityStatistics + from .call_ai_insight import CallAiInsight + from .call_event import CallEvent + from .call_recording import CallRecording + from .call_records.call_record import CallRecord + from .call_records.organizer import Organizer + from .call_records.participant import Participant + from .call_records.participant_base import ParticipantBase + from .call_records.segment import Segment + from .call_records.session import Session + from .call_transcript import CallTranscript + from .cancel_media_processing_operation import CancelMediaProcessingOperation + from .canvas_layout import CanvasLayout + from .cart_to_class_association import CartToClassAssociation + from .certificate_authority_as_entity import CertificateAuthorityAsEntity + from .certificate_authority_detail import CertificateAuthorityDetail + from .certificate_authority_path import CertificateAuthorityPath + from .certificate_based_application_configuration import CertificateBasedApplicationConfiguration + from .certificate_based_auth_configuration import CertificateBasedAuthConfiguration + from .certificate_based_auth_pki import CertificateBasedAuthPki + from .certificate_connector_details import CertificateConnectorDetails + from .change_tracked_entity import ChangeTrackedEntity + from .channel import Channel + from .chat import Chat + from .chat_activity_statistics import ChatActivityStatistics + from .chat_message import ChatMessage + from .chat_message_hosted_content import ChatMessageHostedContent + from .chat_message_info import ChatMessageInfo + from .checklist_item import ChecklistItem + from .chrome_o_s_onboarding_settings import ChromeOSOnboardingSettings + from .claims_mapping_policy import ClaimsMappingPolicy + from .classification_job_response import ClassificationJobResponse + from .cloud_app_security_profile import CloudAppSecurityProfile + from .cloud_certification_authority import CloudCertificationAuthority + from .cloud_certification_authority_leaf_certificate import CloudCertificationAuthorityLeafCertificate + from .cloud_clipboard_item import CloudClipboardItem + from .cloud_clipboard_root import CloudClipboardRoot + from .cloud_licensing.usage_right import UsageRight + from .cloud_pc_audit_event import CloudPcAuditEvent + from .cloud_pc_bulk_action import CloudPcBulkAction + from .cloud_pc_bulk_create_snapshot import CloudPcBulkCreateSnapshot + from .cloud_pc_bulk_disaster_recovery_failback import CloudPcBulkDisasterRecoveryFailback + from .cloud_pc_bulk_disaster_recovery_failover import CloudPcBulkDisasterRecoveryFailover + from .cloud_pc_bulk_modify_disk_encryption_type import CloudPcBulkModifyDiskEncryptionType + from .cloud_pc_bulk_move import CloudPcBulkMove + from .cloud_pc_bulk_power_off import CloudPcBulkPowerOff + from .cloud_pc_bulk_power_on import CloudPcBulkPowerOn + from .cloud_pc_bulk_reprovision import CloudPcBulkReprovision + from .cloud_pc_bulk_resize import CloudPcBulkResize + from .cloud_pc_bulk_restart import CloudPcBulkRestart + from .cloud_pc_bulk_restore import CloudPcBulkRestore + from .cloud_pc_bulk_set_review_status import CloudPcBulkSetReviewStatus + from .cloud_pc_bulk_troubleshoot import CloudPcBulkTroubleshoot + from .cloud_pc_cross_cloud_government_organization_mapping import CloudPcCrossCloudGovernmentOrganizationMapping + from .cloud_pc_device_image import CloudPcDeviceImage + from .cloud_pc_export_job import CloudPcExportJob + from .cloud_pc_external_partner_setting import CloudPcExternalPartnerSetting + from .cloud_pc_front_line_service_plan import CloudPcFrontLineServicePlan + from .cloud_pc_gallery_image import CloudPcGalleryImage + from .cloud_pc_on_premises_connection import CloudPcOnPremisesConnection + from .cloud_pc_organization_settings import CloudPcOrganizationSettings + from .cloud_pc_provisioning_policy import CloudPcProvisioningPolicy + from .cloud_pc_provisioning_policy_assignment import CloudPcProvisioningPolicyAssignment + from .cloud_pc_reports import CloudPcReports + from .cloud_pc_service_plan import CloudPcServicePlan + from .cloud_pc_snapshot import CloudPcSnapshot + from .cloud_pc_supported_region import CloudPcSupportedRegion + from .cloud_pc_user_setting import CloudPcUserSetting + from .cloud_pc_user_setting_assignment import CloudPcUserSettingAssignment + from .cloud_p_c import CloudPC + from .cloud_p_c_connectivity_issue import CloudPCConnectivityIssue + from .column_definition import ColumnDefinition + from .column_link import ColumnLink + from .comanagement_eligible_device import ComanagementEligibleDevice + from .command import Command + from .comms_operation import CommsOperation + from .community import Community + from .company_subscription import CompanySubscription + from .compliance_management_partner import ComplianceManagementPartner + from .compliant_network_named_location import CompliantNetworkNamedLocation + from .conditional_access_policy import ConditionalAccessPolicy + from .conditional_access_root import ConditionalAccessRoot + from .conditional_access_template import ConditionalAccessTemplate + from .conditional_access_what_if_policy import ConditionalAccessWhatIfPolicy + from .config_manager_collection import ConfigManagerCollection + from .connected_organization import ConnectedOrganization + from .connection_operation import ConnectionOperation + from .connector import Connector + from .connector_group import ConnectorGroup + from .contact import Contact + from .contact_folder import ContactFolder + from .contact_merge_suggestions import ContactMergeSuggestions + from .content_model import ContentModel + from .content_sharing_session import ContentSharingSession + from .content_type import ContentType + from .continuous_access_evaluation_policy import ContinuousAccessEvaluationPolicy + from .contract import Contract + from .conversation import Conversation + from .conversation_member import ConversationMember + from .conversation_thread import ConversationThread + from .cors_configuration_v2 import CorsConfiguration_v2 + from .country_named_location import CountryNamedLocation + from .credential_usage_summary import CredentialUsageSummary + from .credential_user_registration_count import CredentialUserRegistrationCount + from .credential_user_registration_details import CredentialUserRegistrationDetails + from .cross_tenant_access_policy import CrossTenantAccessPolicy + from .cross_tenant_access_policy_configuration_default import CrossTenantAccessPolicyConfigurationDefault + from .custom_access_package_workflow_extension import CustomAccessPackageWorkflowExtension + from .custom_app_scope import CustomAppScope + from .custom_authentication_extension import CustomAuthenticationExtension + from .custom_callout_extension import CustomCalloutExtension + from .custom_claims_policy import CustomClaimsPolicy + from .custom_extension_handler import CustomExtensionHandler + from .custom_extension_stage_setting import CustomExtensionStageSetting + from .custom_security_attribute_audit import CustomSecurityAttributeAudit + from .custom_security_attribute_definition import CustomSecurityAttributeDefinition + from .custom_security_attribute_exemption import CustomSecurityAttributeExemption + from .custom_security_attribute_string_value_exemption import CustomSecurityAttributeStringValueExemption + from .daily_inactive_users_by_application_metric import DailyInactiveUsersByApplicationMetric + from .daily_inactive_users_metric import DailyInactiveUsersMetric + from .daily_user_insight_metrics_root import DailyUserInsightMetricsRoot + from .data_classification_service import DataClassificationService + from .data_collection_info import DataCollectionInfo + from .data_loss_prevention_policy import DataLossPreventionPolicy + from .data_policy_operation import DataPolicyOperation + from .data_sharing_consent import DataSharingConsent + from .day_note import DayNote + from .default_device_compliance_policy import DefaultDeviceCompliancePolicy + from .default_managed_app_protection import DefaultManagedAppProtection + from .default_user_role_override import DefaultUserRoleOverride + from .delegated_admin_access_assignment import DelegatedAdminAccessAssignment + from .delegated_admin_customer import DelegatedAdminCustomer + from .delegated_admin_relationship import DelegatedAdminRelationship + from .delegated_admin_relationship_operation import DelegatedAdminRelationshipOperation + from .delegated_admin_relationship_request import DelegatedAdminRelationshipRequest + from .delegated_admin_service_management_detail import DelegatedAdminServiceManagementDetail + from .delegated_permission_classification import DelegatedPermissionClassification + from .deleted_chat import DeletedChat + from .deleted_item_container import DeletedItemContainer + from .deleted_team import DeletedTeam + from .delta_participants import DeltaParticipants + from .dep_enrollment_base_profile import DepEnrollmentBaseProfile + from .dep_enrollment_profile import DepEnrollmentProfile + from .dep_i_o_s_enrollment_profile import DepIOSEnrollmentProfile + from .dep_mac_o_s_enrollment_profile import DepMacOSEnrollmentProfile + from .dep_onboarding_setting import DepOnboardingSetting + from .detected_app import DetectedApp + from .device import Device + from .device_and_app_management_assignment_filter import DeviceAndAppManagementAssignmentFilter + from .device_and_app_management_role_assignment import DeviceAndAppManagementRoleAssignment + from .device_and_app_management_role_definition import DeviceAndAppManagementRoleDefinition + from .device_app_management import DeviceAppManagement + from .device_app_management_task import DeviceAppManagementTask + from .device_category import DeviceCategory + from .device_comanagement_authority_configuration import DeviceComanagementAuthorityConfiguration + from .device_compliance_action_item import DeviceComplianceActionItem + from .device_compliance_device_overview import DeviceComplianceDeviceOverview + from .device_compliance_device_status import DeviceComplianceDeviceStatus + from .device_compliance_policy import DeviceCompliancePolicy + from .device_compliance_policy_assignment import DeviceCompliancePolicyAssignment + from .device_compliance_policy_device_state_summary import DeviceCompliancePolicyDeviceStateSummary + from .device_compliance_policy_group_assignment import DeviceCompliancePolicyGroupAssignment + from .device_compliance_policy_policy_set_item import DeviceCompliancePolicyPolicySetItem + from .device_compliance_policy_setting_state_summary import DeviceCompliancePolicySettingStateSummary + from .device_compliance_policy_state import DeviceCompliancePolicyState + from .device_compliance_scheduled_action_for_rule import DeviceComplianceScheduledActionForRule + from .device_compliance_script import DeviceComplianceScript + from .device_compliance_script_device_state import DeviceComplianceScriptDeviceState + from .device_compliance_script_run_summary import DeviceComplianceScriptRunSummary + from .device_compliance_setting_state import DeviceComplianceSettingState + from .device_compliance_user_overview import DeviceComplianceUserOverview + from .device_compliance_user_status import DeviceComplianceUserStatus + from .device_configuration import DeviceConfiguration + from .device_configuration_assignment import DeviceConfigurationAssignment + from .device_configuration_conflict_summary import DeviceConfigurationConflictSummary + from .device_configuration_device_overview import DeviceConfigurationDeviceOverview + from .device_configuration_device_state_summary import DeviceConfigurationDeviceStateSummary + from .device_configuration_device_status import DeviceConfigurationDeviceStatus + from .device_configuration_group_assignment import DeviceConfigurationGroupAssignment + from .device_configuration_policy_set_item import DeviceConfigurationPolicySetItem + from .device_configuration_state import DeviceConfigurationState + from .device_configuration_user_overview import DeviceConfigurationUserOverview + from .device_configuration_user_state_summary import DeviceConfigurationUserStateSummary + from .device_configuration_user_status import DeviceConfigurationUserStatus + from .device_custom_attribute_shell_script import DeviceCustomAttributeShellScript + from .device_enrollment_configuration import DeviceEnrollmentConfiguration + from .device_enrollment_limit_configuration import DeviceEnrollmentLimitConfiguration + from .device_enrollment_notification_configuration import DeviceEnrollmentNotificationConfiguration + from .device_enrollment_platform_restrictions_configuration import DeviceEnrollmentPlatformRestrictionsConfiguration + from .device_enrollment_platform_restriction_configuration import DeviceEnrollmentPlatformRestrictionConfiguration + from .device_enrollment_windows_hello_for_business_configuration import DeviceEnrollmentWindowsHelloForBusinessConfiguration + from .device_health_script import DeviceHealthScript + from .device_health_script_assignment import DeviceHealthScriptAssignment + from .device_health_script_device_state import DeviceHealthScriptDeviceState + from .device_health_script_run_summary import DeviceHealthScriptRunSummary + from .device_install_state import DeviceInstallState + from .device_local_credential_info import DeviceLocalCredentialInfo + from .device_log_collection_response import DeviceLogCollectionResponse + from .device_management.alert_record import AlertRecord + from .device_management.alert_rule import AlertRule + from .device_management.device_management import DeviceManagement + from .device_management.monitoring import Monitoring + from .device_management_abstract_complex_setting_definition import DeviceManagementAbstractComplexSettingDefinition + from .device_management_abstract_complex_setting_instance import DeviceManagementAbstractComplexSettingInstance + from .device_management_autopilot_event import DeviceManagementAutopilotEvent + from .device_management_autopilot_policy_status_detail import DeviceManagementAutopilotPolicyStatusDetail + from .device_management_boolean_setting_instance import DeviceManagementBooleanSettingInstance + from .device_management_cached_report_configuration import DeviceManagementCachedReportConfiguration + from .device_management_collection_setting_definition import DeviceManagementCollectionSettingDefinition + from .device_management_collection_setting_instance import DeviceManagementCollectionSettingInstance + from .device_management_complex_setting_definition import DeviceManagementComplexSettingDefinition + from .device_management_complex_setting_instance import DeviceManagementComplexSettingInstance + from .device_management_compliance_action_item import DeviceManagementComplianceActionItem + from .device_management_compliance_policy import DeviceManagementCompliancePolicy + from .device_management_compliance_scheduled_action_for_rule import DeviceManagementComplianceScheduledActionForRule + from .device_management_configuration_category import DeviceManagementConfigurationCategory + from .device_management_configuration_choice_setting_collection_definition import DeviceManagementConfigurationChoiceSettingCollectionDefinition + from .device_management_configuration_choice_setting_definition import DeviceManagementConfigurationChoiceSettingDefinition + from .device_management_configuration_policy import DeviceManagementConfigurationPolicy + from .device_management_configuration_policy_assignment import DeviceManagementConfigurationPolicyAssignment + from .device_management_configuration_policy_policy_set_item import DeviceManagementConfigurationPolicyPolicySetItem + from .device_management_configuration_policy_template import DeviceManagementConfigurationPolicyTemplate + from .device_management_configuration_redirect_setting_definition import DeviceManagementConfigurationRedirectSettingDefinition + from .device_management_configuration_setting import DeviceManagementConfigurationSetting + from .device_management_configuration_setting_definition import DeviceManagementConfigurationSettingDefinition + from .device_management_configuration_setting_group_collection_definition import DeviceManagementConfigurationSettingGroupCollectionDefinition + from .device_management_configuration_setting_group_definition import DeviceManagementConfigurationSettingGroupDefinition + from .device_management_configuration_setting_template import DeviceManagementConfigurationSettingTemplate + from .device_management_configuration_simple_setting_collection_definition import DeviceManagementConfigurationSimpleSettingCollectionDefinition + from .device_management_configuration_simple_setting_definition import DeviceManagementConfigurationSimpleSettingDefinition + from .device_management_derived_credential_settings import DeviceManagementDerivedCredentialSettings + from .device_management_domain_join_connector import DeviceManagementDomainJoinConnector + from .device_management_exchange_connector import DeviceManagementExchangeConnector + from .device_management_exchange_on_premises_policy import DeviceManagementExchangeOnPremisesPolicy + from .device_management_export_job import DeviceManagementExportJob + from .device_management_integer_setting_instance import DeviceManagementIntegerSettingInstance + from .device_management_intent import DeviceManagementIntent + from .device_management_intent_assignment import DeviceManagementIntentAssignment + from .device_management_intent_device_setting_state_summary import DeviceManagementIntentDeviceSettingStateSummary + from .device_management_intent_device_state import DeviceManagementIntentDeviceState + from .device_management_intent_device_state_summary import DeviceManagementIntentDeviceStateSummary + from .device_management_intent_setting_category import DeviceManagementIntentSettingCategory + from .device_management_intent_user_state import DeviceManagementIntentUserState + from .device_management_intent_user_state_summary import DeviceManagementIntentUserStateSummary + from .device_management_partner import DeviceManagementPartner + from .device_management_reports import DeviceManagementReports + from .device_management_resource_access_profile_assignment import DeviceManagementResourceAccessProfileAssignment + from .device_management_resource_access_profile_base import DeviceManagementResourceAccessProfileBase + from .device_management_reusable_policy_setting import DeviceManagementReusablePolicySetting + from .device_management_script import DeviceManagementScript + from .device_management_script_assignment import DeviceManagementScriptAssignment + from .device_management_script_device_state import DeviceManagementScriptDeviceState + from .device_management_script_group_assignment import DeviceManagementScriptGroupAssignment + from .device_management_script_policy_set_item import DeviceManagementScriptPolicySetItem + from .device_management_script_run_summary import DeviceManagementScriptRunSummary + from .device_management_script_user_state import DeviceManagementScriptUserState + from .device_management_setting_category import DeviceManagementSettingCategory + from .device_management_setting_definition import DeviceManagementSettingDefinition + from .device_management_setting_instance import DeviceManagementSettingInstance + from .device_management_string_setting_instance import DeviceManagementStringSettingInstance + from .device_management_template import DeviceManagementTemplate + from .device_management_template_insights_definition import DeviceManagementTemplateInsightsDefinition + from .device_management_template_setting_category import DeviceManagementTemplateSettingCategory + from .device_management_troubleshooting_event import DeviceManagementTroubleshootingEvent + from .device_registration_policy import DeviceRegistrationPolicy + from .device_setup_configuration import DeviceSetupConfiguration + from .device_shell_script import DeviceShellScript + from .directory import Directory + from .directory_audit import DirectoryAudit + from .directory_definition import DirectoryDefinition + from .directory_object import DirectoryObject + from .directory_object_partner_reference import DirectoryObjectPartnerReference + from .directory_role import DirectoryRole + from .directory_role_access_review_policy import DirectoryRoleAccessReviewPolicy + from .directory_role_template import DirectoryRoleTemplate + from .directory_setting import DirectorySetting + from .directory_setting_template import DirectorySettingTemplate + from .dlp_evaluate_policies_job_response import DlpEvaluatePoliciesJobResponse + from .document import Document + from .document_comment import DocumentComment + from .document_comment_reply import DocumentCommentReply + from .document_processing_job import DocumentProcessingJob + from .document_set_version import DocumentSetVersion + from .domain import Domain + from .domain_dns_cname_record import DomainDnsCnameRecord + from .domain_dns_mx_record import DomainDnsMxRecord + from .domain_dns_record import DomainDnsRecord + from .domain_dns_srv_record import DomainDnsSrvRecord + from .domain_dns_txt_record import DomainDnsTxtRecord + from .domain_dns_unavailable_record import DomainDnsUnavailableRecord + from .domain_security_profile import DomainSecurityProfile + from .drive import Drive + from .drive_item import DriveItem + from .drive_item_version import DriveItemVersion + from .drive_protection_rule import DriveProtectionRule + from .drive_protection_unit import DriveProtectionUnit + from .drive_protection_units_bulk_addition_job import DriveProtectionUnitsBulkAdditionJob + from .drive_restore_artifact import DriveRestoreArtifact + from .drive_restore_artifacts_bulk_addition_request import DriveRestoreArtifactsBulkAdditionRequest + from .eas_email_profile_configuration_base import EasEmailProfileConfigurationBase + from .edge import Edge + from .ediscovery.add_to_review_set_operation import AddToReviewSetOperation + from .ediscovery.case import Case + from .ediscovery.case_export_operation import CaseExportOperation + from .ediscovery.case_hold_operation import CaseHoldOperation + from .ediscovery.case_index_operation import CaseIndexOperation + from .ediscovery.case_operation import CaseOperation + from .ediscovery.case_settings import CaseSettings + from .ediscovery.custodian import Custodian + from .ediscovery.data_source import DataSource + from .ediscovery.data_source_container import DataSourceContainer + from .ediscovery.ediscoveryroot import Ediscoveryroot + from .ediscovery.estimate_statistics_operation import EstimateStatisticsOperation + from .ediscovery.legal_hold import LegalHold + from .ediscovery.noncustodial_data_source import NoncustodialDataSource + from .ediscovery.purge_data_operation import PurgeDataOperation + from .ediscovery.review_set import ReviewSet + from .ediscovery.review_set_query import ReviewSetQuery + from .ediscovery.site_source import SiteSource + from .ediscovery.source_collection import SourceCollection + from .ediscovery.tag import Tag + from .ediscovery.tag_operation import TagOperation + from .ediscovery.unified_group_source import UnifiedGroupSource + from .ediscovery.user_source import UserSource + from .edition_upgrade_configuration import EditionUpgradeConfiguration + from .educational_activity import EducationalActivity + from .education_assignment import EducationAssignment + from .education_assignment_defaults import EducationAssignmentDefaults + from .education_assignment_resource import EducationAssignmentResource + from .education_assignment_settings import EducationAssignmentSettings + from .education_category import EducationCategory + from .education_class import EducationClass + from .education_feedback_outcome import EducationFeedbackOutcome + from .education_feedback_resource_outcome import EducationFeedbackResourceOutcome + from .education_grading_category import EducationGradingCategory + from .education_grading_scheme import EducationGradingScheme + from .education_module import EducationModule + from .education_module_resource import EducationModuleResource + from .education_organization import EducationOrganization + from .education_outcome import EducationOutcome + from .education_points_outcome import EducationPointsOutcome + from .education_rubric import EducationRubric + from .education_rubric_outcome import EducationRubricOutcome + from .education_school import EducationSchool + from .education_submission import EducationSubmission + from .education_submission_resource import EducationSubmissionResource + from .education_synchronization_error import EducationSynchronizationError + from .education_synchronization_profile import EducationSynchronizationProfile + from .education_synchronization_profile_status import EducationSynchronizationProfileStatus + from .education_user import EducationUser + from .email_activity_statistics import EmailActivityStatistics + from .email_authentication_method import EmailAuthenticationMethod + from .email_authentication_method_configuration import EmailAuthenticationMethodConfiguration + from .email_file_assessment_request import EmailFileAssessmentRequest + from .embedded_s_i_m_activation_code_pool import EmbeddedSIMActivationCodePool + from .embedded_s_i_m_activation_code_pool_assignment import EmbeddedSIMActivationCodePoolAssignment + from .embedded_s_i_m_device_state import EmbeddedSIMDeviceState + from .emergency_call_event import EmergencyCallEvent + from .employee_experience_user import EmployeeExperienceUser + from .encrypted_aws_storage_bucket_finding import EncryptedAwsStorageBucketFinding + from .encrypted_azure_storage_account_finding import EncryptedAzureStorageAccountFinding + from .encrypted_gcp_storage_bucket_finding import EncryptedGcpStorageBucketFinding + from .endpoint import Endpoint + from .endpoint_privilege_management_provisioning_status import EndpointPrivilegeManagementProvisioningStatus + from .end_user_notification import EndUserNotification + from .end_user_notification_detail import EndUserNotificationDetail + from .engagement_async_operation import EngagementAsyncOperation + from .enrollment_configuration_assignment import EnrollmentConfigurationAssignment + from .enrollment_profile import EnrollmentProfile + from .enrollment_restrictions_configuration_policy_set_item import EnrollmentRestrictionsConfigurationPolicySetItem + from .enrollment_troubleshooting_event import EnrollmentTroubleshootingEvent + from .enterprise_code_signing_certificate import EnterpriseCodeSigningCertificate + from .entitlement_management import EntitlementManagement + from .entitlement_management_settings import EntitlementManagementSettings + from .entra import Entra + from .evaluate_label_job_response import EvaluateLabelJobResponse + from .event import Event + from .event_message import EventMessage + from .event_message_request import EventMessageRequest + from .event_message_response import EventMessageResponse + from .exact_match_data_store import ExactMatchDataStore + from .exact_match_data_store_base import ExactMatchDataStoreBase + from .exact_match_job_base import ExactMatchJobBase + from .exact_match_lookup_job import ExactMatchLookupJob + from .exact_match_session import ExactMatchSession + from .exact_match_session_base import ExactMatchSessionBase + from .exact_match_upload_agent import ExactMatchUploadAgent + from .exchange_protection_policy import ExchangeProtectionPolicy + from .exchange_restore_session import ExchangeRestoreSession + from .extension import Extension + from .extension_property import ExtensionProperty + from .external import External + from .externally_accessible_aws_storage_bucket_finding import ExternallyAccessibleAwsStorageBucketFinding + from .externally_accessible_azure_blob_container_finding import ExternallyAccessibleAzureBlobContainerFinding + from .externally_accessible_gcp_storage_bucket_finding import ExternallyAccessibleGcpStorageBucketFinding + from .external_authentication_method_configuration import ExternalAuthenticationMethodConfiguration + from .external_connection import ExternalConnection + from .external_connectors.connection_operation import ConnectionOperation + from .external_connectors.connection_quota import ConnectionQuota + from .external_connectors.external_activity import ExternalActivity + from .external_connectors.external_activity_result import ExternalActivityResult + from .external_connectors.external_connection import ExternalConnection + from .external_connectors.external_group import ExternalGroup + from .external_connectors.external_item import ExternalItem + from .external_connectors.identity import Identity + from .external_connectors.schema import Schema + from .external_domain_name import ExternalDomainName + from .external_group import ExternalGroup + from .external_identities_policy import ExternalIdentitiesPolicy + from .external_item import ExternalItem + from .external_meeting_registrant import ExternalMeetingRegistrant + from .external_meeting_registration import ExternalMeetingRegistration + from .external_profile import ExternalProfile + from .external_users_self_service_sign_up_events_flow import ExternalUsersSelfServiceSignUpEventsFlow + from .external_user_profile import ExternalUserProfile + from .e_book_install_summary import EBookInstallSummary + from .feature_rollout_policy import FeatureRolloutPolicy + from .federated_identity_credential import FederatedIdentityCredential + from .federated_token_validation_policy import FederatedTokenValidationPolicy + from .fido2_authentication_method import Fido2AuthenticationMethod + from .fido2_authentication_method_configuration import Fido2AuthenticationMethodConfiguration + from .fido2_combination_configuration import Fido2CombinationConfiguration + from .field_value_set import FieldValueSet + from .file_assessment_request import FileAssessmentRequest + from .file_attachment import FileAttachment + from .file_classification_request import FileClassificationRequest + from .file_security_profile import FileSecurityProfile + from .file_storage import FileStorage + from .file_storage_container import FileStorageContainer + from .filter_operator_schema import FilterOperatorSchema + from .finding import Finding + from .focus_activity_statistics import FocusActivityStatistics + from .gcp_authorization_system import GcpAuthorizationSystem + from .gcp_authorization_system_resource import GcpAuthorizationSystemResource + from .gcp_authorization_system_type_action import GcpAuthorizationSystemTypeAction + from .gcp_cloud_function import GcpCloudFunction + from .gcp_group import GcpGroup + from .gcp_identity import GcpIdentity + from .gcp_role import GcpRole + from .gcp_service_account import GcpServiceAccount + from .gcp_user import GcpUser + from .goals import Goals + from .goals_export_job import GoalsExportJob + from .governance_insight import GovernanceInsight + from .governance_policy_template import GovernancePolicyTemplate + from .governance_resource import GovernanceResource + from .governance_role_assignment import GovernanceRoleAssignment + from .governance_role_assignment_request import GovernanceRoleAssignmentRequest + from .governance_role_definition import GovernanceRoleDefinition + from .governance_role_setting import GovernanceRoleSetting + from .governance_subject import GovernanceSubject + from .granular_mailbox_restore_artifact import GranularMailboxRestoreArtifact + from .group import Group + from .group_lifecycle_policy import GroupLifecyclePolicy + from .group_policy_category import GroupPolicyCategory + from .group_policy_configuration import GroupPolicyConfiguration + from .group_policy_configuration_assignment import GroupPolicyConfigurationAssignment + from .group_policy_definition import GroupPolicyDefinition + from .group_policy_definition_file import GroupPolicyDefinitionFile + from .group_policy_definition_value import GroupPolicyDefinitionValue + from .group_policy_migration_report import GroupPolicyMigrationReport + from .group_policy_object_file import GroupPolicyObjectFile + from .group_policy_operation import GroupPolicyOperation + from .group_policy_presentation import GroupPolicyPresentation + from .group_policy_presentation_check_box import GroupPolicyPresentationCheckBox + from .group_policy_presentation_combo_box import GroupPolicyPresentationComboBox + from .group_policy_presentation_decimal_text_box import GroupPolicyPresentationDecimalTextBox + from .group_policy_presentation_dropdown_list import GroupPolicyPresentationDropdownList + from .group_policy_presentation_list_box import GroupPolicyPresentationListBox + from .group_policy_presentation_long_decimal_text_box import GroupPolicyPresentationLongDecimalTextBox + from .group_policy_presentation_multi_text_box import GroupPolicyPresentationMultiTextBox + from .group_policy_presentation_text import GroupPolicyPresentationText + from .group_policy_presentation_text_box import GroupPolicyPresentationTextBox + from .group_policy_presentation_value import GroupPolicyPresentationValue + from .group_policy_presentation_value_boolean import GroupPolicyPresentationValueBoolean + from .group_policy_presentation_value_decimal import GroupPolicyPresentationValueDecimal + from .group_policy_presentation_value_list import GroupPolicyPresentationValueList + from .group_policy_presentation_value_long_decimal import GroupPolicyPresentationValueLongDecimal + from .group_policy_presentation_value_multi_text import GroupPolicyPresentationValueMultiText + from .group_policy_presentation_value_text import GroupPolicyPresentationValueText + from .group_policy_setting_mapping import GroupPolicySettingMapping + from .group_policy_uploaded_definition_file import GroupPolicyUploadedDefinitionFile + from .group_policy_uploaded_presentation import GroupPolicyUploadedPresentation + from .hardware_configuration import HardwareConfiguration + from .hardware_configuration_assignment import HardwareConfigurationAssignment + from .hardware_configuration_device_state import HardwareConfigurationDeviceState + from .hardware_configuration_run_summary import HardwareConfigurationRunSummary + from .hardware_configuration_user_state import HardwareConfigurationUserState + from .hardware_oath_authentication_method_configuration import HardwareOathAuthenticationMethodConfiguration + from .hardware_password_detail import HardwarePasswordDetail + from .hardware_password_info import HardwarePasswordInfo + from .health_monitoring.alert import Alert + from .health_monitoring.alert_configuration import AlertConfiguration + from .health_monitoring.health_monitoring_root import HealthMonitoringRoot + from .home_realm_discovery_policy import HomeRealmDiscoveryPolicy + from .horizontal_section import HorizontalSection + from .horizontal_section_column import HorizontalSectionColumn + from .host_security_profile import HostSecurityProfile + from .identity_api_connector import IdentityApiConnector + from .identity_built_in_user_flow_attribute import IdentityBuiltInUserFlowAttribute + from .identity_custom_user_flow_attribute import IdentityCustomUserFlowAttribute + from .identity_finding import IdentityFinding + from .identity_governance.custom_task_extension import CustomTaskExtension + from .identity_governance.insights import Insights + from .identity_governance.lifecycle_management_settings import LifecycleManagementSettings + from .identity_governance.lifecycle_workflows_container import LifecycleWorkflowsContainer + from .identity_governance.run import Run + from .identity_governance.task import Task + from .identity_governance.task_definition import TaskDefinition + from .identity_governance.task_processing_result import TaskProcessingResult + from .identity_governance.task_report import TaskReport + from .identity_governance.user_processing_result import UserProcessingResult + from .identity_governance.workflow_template import WorkflowTemplate + from .identity_provider import IdentityProvider + from .identity_provider_base import IdentityProviderBase + from .identity_security_defaults_enforcement_policy import IdentitySecurityDefaultsEnforcementPolicy + from .identity_user_flow import IdentityUserFlow + from .identity_user_flow_attribute import IdentityUserFlowAttribute + from .identity_user_flow_attribute_assignment import IdentityUserFlowAttributeAssignment + from .impacted_resource import ImpactedResource + from .imported_apple_device_identity import ImportedAppleDeviceIdentity + from .imported_apple_device_identity_result import ImportedAppleDeviceIdentityResult + from .imported_device_identity import ImportedDeviceIdentity + from .imported_device_identity_result import ImportedDeviceIdentityResult + from .imported_windows_autopilot_device_identity import ImportedWindowsAutopilotDeviceIdentity + from .imported_windows_autopilot_device_identity_upload import ImportedWindowsAutopilotDeviceIdentityUpload + from .inactive_aws_resource_finding import InactiveAwsResourceFinding + from .inactive_aws_role_finding import InactiveAwsRoleFinding + from .inactive_azure_service_principal_finding import InactiveAzureServicePrincipalFinding + from .inactive_gcp_service_account_finding import InactiveGcpServiceAccountFinding + from .inactive_group_finding import InactiveGroupFinding + from .inactive_serverless_function_finding import InactiveServerlessFunctionFinding + from .inactive_users_by_application_metric_base import InactiveUsersByApplicationMetricBase + from .inactive_users_metric_base import InactiveUsersMetricBase + from .inactive_user_finding import InactiveUserFinding + from .industry_data.administrative_unit_provisioning_flow import AdministrativeUnitProvisioningFlow + from .industry_data.api_data_connector import ApiDataConnector + from .industry_data.azure_data_lake_connector import AzureDataLakeConnector + from .industry_data.class_group_provisioning_flow import ClassGroupProvisioningFlow + from .industry_data.file_data_connector import FileDataConnector + from .industry_data.file_validate_operation import FileValidateOperation + from .industry_data.inbound_api_flow import InboundApiFlow + from .industry_data.inbound_file_flow import InboundFileFlow + from .industry_data.inbound_flow import InboundFlow + from .industry_data.inbound_flow_activity import InboundFlowActivity + from .industry_data.industry_data_activity import IndustryDataActivity + from .industry_data.industry_data_connector import IndustryDataConnector + from .industry_data.industry_data_root import IndustryDataRoot + from .industry_data.industry_data_run import IndustryDataRun + from .industry_data.industry_data_run_activity import IndustryDataRunActivity + from .industry_data.one_roster_api_data_connector import OneRosterApiDataConnector + from .industry_data.outbound_flow_activity import OutboundFlowActivity + from .industry_data.outbound_provisioning_flow_set import OutboundProvisioningFlowSet + from .industry_data.provisioning_flow import ProvisioningFlow + from .industry_data.reference_definition import ReferenceDefinition + from .industry_data.role_group import RoleGroup + from .industry_data.security_group_provisioning_flow import SecurityGroupProvisioningFlow + from .industry_data.source_system_definition import SourceSystemDefinition + from .industry_data.user_provisioning_flow import UserProvisioningFlow + from .industry_data.validate_operation import ValidateOperation + from .industry_data.year_time_period_definition import YearTimePeriodDefinition + from .inference_classification import InferenceClassification + from .inference_classification_override import InferenceClassificationOverride + from .information_protection import InformationProtection + from .information_protection_label import InformationProtectionLabel + from .information_protection_policy import InformationProtectionPolicy + from .insights_settings import InsightsSettings + from .insight_summary import InsightSummary + from .internal_domain_federation import InternalDomainFederation + from .internet_explorer_mode import InternetExplorerMode + from .intune_branding_profile import IntuneBrandingProfile + from .intune_branding_profile_assignment import IntuneBrandingProfileAssignment + from .invalid_license_alert_configuration import InvalidLicenseAlertConfiguration + from .invalid_license_alert_incident import InvalidLicenseAlertIncident + from .invitation import Invitation + from .invite_participants_operation import InviteParticipantsOperation + from .invoke_user_flow_listener import InvokeUserFlowListener + from .iosik_ev2_vpn_configuration import IosikEv2VpnConfiguration + from .iosi_pad_o_s_web_clip import IosiPadOSWebClip + from .ios_certificate_profile import IosCertificateProfile + from .ios_certificate_profile_base import IosCertificateProfileBase + from .ios_compliance_policy import IosCompliancePolicy + from .ios_custom_configuration import IosCustomConfiguration + from .ios_derived_credential_authentication_configuration import IosDerivedCredentialAuthenticationConfiguration + from .ios_device_features_configuration import IosDeviceFeaturesConfiguration + from .ios_eas_email_profile_configuration import IosEasEmailProfileConfiguration + from .ios_education_device_configuration import IosEducationDeviceConfiguration + from .ios_edu_device_configuration import IosEduDeviceConfiguration + from .ios_enterprise_wi_fi_configuration import IosEnterpriseWiFiConfiguration + from .ios_expedited_checkin_configuration import IosExpeditedCheckinConfiguration + from .ios_general_device_configuration import IosGeneralDeviceConfiguration + from .ios_imported_p_f_x_certificate_profile import IosImportedPFXCertificateProfile + from .ios_lob_app import IosLobApp + from .ios_lob_app_provisioning_configuration import IosLobAppProvisioningConfiguration + from .ios_lob_app_provisioning_configuration_assignment import IosLobAppProvisioningConfigurationAssignment + from .ios_lob_app_provisioning_configuration_policy_set_item import IosLobAppProvisioningConfigurationPolicySetItem + from .ios_managed_app_protection import IosManagedAppProtection + from .ios_managed_app_registration import IosManagedAppRegistration + from .ios_mobile_app_configuration import IosMobileAppConfiguration + from .ios_pkcs_certificate_profile import IosPkcsCertificateProfile + from .ios_scep_certificate_profile import IosScepCertificateProfile + from .ios_store_app import IosStoreApp + from .ios_trusted_root_certificate import IosTrustedRootCertificate + from .ios_update_configuration import IosUpdateConfiguration + from .ios_update_device_status import IosUpdateDeviceStatus + from .ios_vpn_configuration import IosVpnConfiguration + from .ios_vpp_app import IosVppApp + from .ios_vpp_app_assigned_device_license import IosVppAppAssignedDeviceLicense + from .ios_vpp_app_assigned_license import IosVppAppAssignedLicense + from .ios_vpp_app_assigned_user_license import IosVppAppAssignedUserLicense + from .ios_vpp_e_book import IosVppEBook + from .ios_vpp_e_book_assignment import IosVppEBookAssignment + from .ios_wi_fi_configuration import IosWiFiConfiguration + from .ip_application_segment import IpApplicationSegment + from .ip_named_location import IpNamedLocation + from .ip_security_profile import IpSecurityProfile + from .item_activity import ItemActivity + from .item_activity_o_l_d import ItemActivityOLD + from .item_activity_stat import ItemActivityStat + from .item_address import ItemAddress + from .item_analytics import ItemAnalytics + from .item_attachment import ItemAttachment + from .item_email import ItemEmail + from .item_facet import ItemFacet + from .item_insights import ItemInsights + from .item_patent import ItemPatent + from .item_phone import ItemPhone + from .item_publication import ItemPublication + from .item_retention_label import ItemRetentionLabel + from .job_response_base import JobResponseBase + from .landing_page import LandingPage + from .landing_page_detail import LandingPageDetail + from .language_proficiency import LanguageProficiency + from .learning_assignment import LearningAssignment + from .learning_content import LearningContent + from .learning_course_activity import LearningCourseActivity + from .learning_provider import LearningProvider + from .learning_self_initiated_course import LearningSelfInitiatedCourse + from .license_details import LicenseDetails + from .linked_resource import LinkedResource + from .list_ import List_ + from .list_item import ListItem + from .list_item_version import ListItemVersion + from .localized_notification_message import LocalizedNotificationMessage + from .login_page import LoginPage + from .long_running_operation import LongRunningOperation + from .lookup_result_row import LookupResultRow + from .m365_apps_installation_options import M365AppsInstallationOptions + from .mac_os_vpp_app import MacOsVppApp + from .mac_os_vpp_app_assigned_license import MacOsVppAppAssignedLicense + from .mac_o_s_certificate_profile_base import MacOSCertificateProfileBase + from .mac_o_s_compliance_policy import MacOSCompliancePolicy + from .mac_o_s_custom_app_configuration import MacOSCustomAppConfiguration + from .mac_o_s_custom_configuration import MacOSCustomConfiguration + from .mac_o_s_device_features_configuration import MacOSDeviceFeaturesConfiguration + from .mac_o_s_dmg_app import MacOSDmgApp + from .mac_o_s_endpoint_protection_configuration import MacOSEndpointProtectionConfiguration + from .mac_o_s_enterprise_wi_fi_configuration import MacOSEnterpriseWiFiConfiguration + from .mac_o_s_extensions_configuration import MacOSExtensionsConfiguration + from .mac_o_s_general_device_configuration import MacOSGeneralDeviceConfiguration + from .mac_o_s_imported_p_f_x_certificate_profile import MacOSImportedPFXCertificateProfile + from .mac_o_s_lob_app import MacOSLobApp + from .mac_o_s_microsoft_defender_app import MacOSMicrosoftDefenderApp + from .mac_o_s_microsoft_edge_app import MacOSMicrosoftEdgeApp + from .mac_o_s_office_suite_app import MacOSOfficeSuiteApp + from .mac_o_s_pkcs_certificate_profile import MacOSPkcsCertificateProfile + from .mac_o_s_pkg_app import MacOSPkgApp + from .mac_o_s_scep_certificate_profile import MacOSScepCertificateProfile + from .mac_o_s_software_update_account_summary import MacOSSoftwareUpdateAccountSummary + from .mac_o_s_software_update_category_summary import MacOSSoftwareUpdateCategorySummary + from .mac_o_s_software_update_configuration import MacOSSoftwareUpdateConfiguration + from .mac_o_s_software_update_state_summary import MacOSSoftwareUpdateStateSummary + from .mac_o_s_trusted_root_certificate import MacOSTrustedRootCertificate + from .mac_o_s_vpn_configuration import MacOSVpnConfiguration + from .mac_o_s_web_clip import MacOSWebClip + from .mac_o_s_wired_network_configuration import MacOSWiredNetworkConfiguration + from .mac_o_s_wi_fi_configuration import MacOSWiFiConfiguration + from .mailbox_protection_rule import MailboxProtectionRule + from .mailbox_protection_unit import MailboxProtectionUnit + from .mailbox_protection_units_bulk_addition_job import MailboxProtectionUnitsBulkAdditionJob + from .mailbox_restore_artifact import MailboxRestoreArtifact + from .mailbox_restore_artifacts_bulk_addition_request import MailboxRestoreArtifactsBulkAdditionRequest + from .mail_assessment_request import MailAssessmentRequest + from .mail_folder import MailFolder + from .mail_search_folder import MailSearchFolder + from .malware_state_for_windows_device import MalwareStateForWindowsDevice + from .managed_all_device_certificate_state import ManagedAllDeviceCertificateState + from .managed_android_lob_app import ManagedAndroidLobApp + from .managed_android_store_app import ManagedAndroidStoreApp + from .managed_app import ManagedApp + from .managed_app_configuration import ManagedAppConfiguration + from .managed_app_log_collection_request import ManagedAppLogCollectionRequest + from .managed_app_operation import ManagedAppOperation + from .managed_app_policy import ManagedAppPolicy + from .managed_app_policy_deployment_summary import ManagedAppPolicyDeploymentSummary + from .managed_app_protection import ManagedAppProtection + from .managed_app_protection_policy_set_item import ManagedAppProtectionPolicySetItem + from .managed_app_registration import ManagedAppRegistration + from .managed_app_status import ManagedAppStatus + from .managed_app_status_raw import ManagedAppStatusRaw + from .managed_device import ManagedDevice + from .managed_device_certificate_state import ManagedDeviceCertificateState + from .managed_device_cleanup_rule import ManagedDeviceCleanupRule + from .managed_device_encryption_state import ManagedDeviceEncryptionState + from .managed_device_mobile_app_configuration import ManagedDeviceMobileAppConfiguration + from .managed_device_mobile_app_configuration_assignment import ManagedDeviceMobileAppConfigurationAssignment + from .managed_device_mobile_app_configuration_device_status import ManagedDeviceMobileAppConfigurationDeviceStatus + from .managed_device_mobile_app_configuration_device_summary import ManagedDeviceMobileAppConfigurationDeviceSummary + from .managed_device_mobile_app_configuration_policy_set_item import ManagedDeviceMobileAppConfigurationPolicySetItem + from .managed_device_mobile_app_configuration_state import ManagedDeviceMobileAppConfigurationState + from .managed_device_mobile_app_configuration_user_status import ManagedDeviceMobileAppConfigurationUserStatus + from .managed_device_mobile_app_configuration_user_summary import ManagedDeviceMobileAppConfigurationUserSummary + from .managed_device_overview import ManagedDeviceOverview + from .managed_device_windows_operating_system_image import ManagedDeviceWindowsOperatingSystemImage + from .managed_e_book import ManagedEBook + from .managed_e_book_assignment import ManagedEBookAssignment + from .managed_e_book_category import ManagedEBookCategory + from .managed_i_o_s_lob_app import ManagedIOSLobApp + from .managed_i_o_s_store_app import ManagedIOSStoreApp + from .managed_mobile_app import ManagedMobileApp + from .managed_mobile_lob_app import ManagedMobileLobApp + from .managed_tenants.aggregated_policy_compliance import AggregatedPolicyCompliance + from .managed_tenants.app_performance import AppPerformance + from .managed_tenants.audit_event import AuditEvent + from .managed_tenants.cloud_pc_connection import CloudPcConnection + from .managed_tenants.cloud_pc_device import CloudPcDevice + from .managed_tenants.cloud_pc_overview import CloudPcOverview + from .managed_tenants.conditional_access_policy_coverage import ConditionalAccessPolicyCoverage + from .managed_tenants.credential_user_registrations_summary import CredentialUserRegistrationsSummary + from .managed_tenants.device_app_performance import DeviceAppPerformance + from .managed_tenants.device_compliance_policy_setting_state_summary import DeviceCompliancePolicySettingStateSummary + from .managed_tenants.device_health_status import DeviceHealthStatus + from .managed_tenants.managed_device_compliance import ManagedDeviceCompliance + from .managed_tenants.managed_device_compliance_trend import ManagedDeviceComplianceTrend + from .managed_tenants.managed_tenant import ManagedTenant + from .managed_tenants.managed_tenant_alert import ManagedTenantAlert + from .managed_tenants.managed_tenant_alert_log import ManagedTenantAlertLog + from .managed_tenants.managed_tenant_alert_rule import ManagedTenantAlertRule + from .managed_tenants.managed_tenant_alert_rule_definition import ManagedTenantAlertRuleDefinition + from .managed_tenants.managed_tenant_api_notification import ManagedTenantApiNotification + from .managed_tenants.managed_tenant_email_notification import ManagedTenantEmailNotification + from .managed_tenants.managed_tenant_ticketing_endpoint import ManagedTenantTicketingEndpoint + from .managed_tenants.management_action import ManagementAction + from .managed_tenants.management_action_tenant_deployment_status import ManagementActionTenantDeploymentStatus + from .managed_tenants.management_intent import ManagementIntent + from .managed_tenants.management_template import ManagementTemplate + from .managed_tenants.management_template_collection import ManagementTemplateCollection + from .managed_tenants.management_template_collection_tenant_summary import ManagementTemplateCollectionTenantSummary + from .managed_tenants.management_template_step import ManagementTemplateStep + from .managed_tenants.management_template_step_deployment import ManagementTemplateStepDeployment + from .managed_tenants.management_template_step_tenant_summary import ManagementTemplateStepTenantSummary + from .managed_tenants.management_template_step_version import ManagementTemplateStepVersion + from .managed_tenants.tenant import Tenant + from .managed_tenants.tenant_customized_information import TenantCustomizedInformation + from .managed_tenants.tenant_detailed_information import TenantDetailedInformation + from .managed_tenants.tenant_group import TenantGroup + from .managed_tenants.tenant_tag import TenantTag + from .managed_tenants.windows_device_malware_state import WindowsDeviceMalwareState + from .managed_tenants.windows_protection_state import WindowsProtectionState + from .mdm_windows_information_protection_policy import MdmWindowsInformationProtectionPolicy + from .mdm_windows_information_protection_policy_policy_set_item import MdmWindowsInformationProtectionPolicyPolicySetItem + from .meeting_activity_statistics import MeetingActivityStatistics + from .meeting_attendance_report import MeetingAttendanceReport + from .meeting_registrant import MeetingRegistrant + from .meeting_registrant_base import MeetingRegistrantBase + from .meeting_registration import MeetingRegistration + from .meeting_registration_base import MeetingRegistrationBase + from .meeting_registration_question import MeetingRegistrationQuestion + from .membership_outlier_insight import MembershipOutlierInsight + from .mention import Mention + from .message import Message + from .message_event import MessageEvent + from .message_recipient import MessageRecipient + from .message_rule import MessageRule + from .message_trace import MessageTrace + from .mfa_completion_metric import MfaCompletionMetric + from .mfa_failure import MfaFailure + from .microsoft_account_user_conversation_member import MicrosoftAccountUserConversationMember + from .microsoft_application_data_access_settings import MicrosoftApplicationDataAccessSettings + from .microsoft_authenticator_authentication_method import MicrosoftAuthenticatorAuthenticationMethod + from .microsoft_authenticator_authentication_method_configuration import MicrosoftAuthenticatorAuthenticationMethodConfiguration + from .microsoft_authenticator_authentication_method_target import MicrosoftAuthenticatorAuthenticationMethodTarget + from .microsoft_store_for_business_app import MicrosoftStoreForBusinessApp + from .microsoft_store_for_business_contained_app import MicrosoftStoreForBusinessContainedApp + from .microsoft_tunnel_configuration import MicrosoftTunnelConfiguration + from .microsoft_tunnel_health_threshold import MicrosoftTunnelHealthThreshold + from .microsoft_tunnel_server import MicrosoftTunnelServer + from .microsoft_tunnel_server_log_collection_response import MicrosoftTunnelServerLogCollectionResponse + from .microsoft_tunnel_site import MicrosoftTunnelSite + from .mobile_app import MobileApp + from .mobile_app_assignment import MobileAppAssignment + from .mobile_app_catalog_package import MobileAppCatalogPackage + from .mobile_app_category import MobileAppCategory + from .mobile_app_content import MobileAppContent + from .mobile_app_content_file import MobileAppContentFile + from .mobile_app_dependency import MobileAppDependency + from .mobile_app_install_status import MobileAppInstallStatus + from .mobile_app_install_summary import MobileAppInstallSummary + from .mobile_app_intent_and_state import MobileAppIntentAndState + from .mobile_app_policy_set_item import MobileAppPolicySetItem + from .mobile_app_provisioning_config_group_assignment import MobileAppProvisioningConfigGroupAssignment + from .mobile_app_relationship import MobileAppRelationship + from .mobile_app_supersedence import MobileAppSupersedence + from .mobile_app_troubleshooting_event import MobileAppTroubleshootingEvent + from .mobile_contained_app import MobileContainedApp + from .mobile_lob_app import MobileLobApp + from .mobile_threat_defense_connector import MobileThreatDefenseConnector + from .mobility_management_policy import MobilityManagementPolicy + from .monthly_inactive_users_by_application_metric import MonthlyInactiveUsersByApplicationMetric + from .monthly_inactive_users_metric import MonthlyInactiveUsersMetric + from .monthly_user_insight_metrics_root import MonthlyUserInsightMetricsRoot + from .multi_tenant_organization import MultiTenantOrganization + from .multi_tenant_organization_identity_sync_policy_template import MultiTenantOrganizationIdentitySyncPolicyTemplate + from .multi_tenant_organization_join_request_record import MultiTenantOrganizationJoinRequestRecord + from .multi_tenant_organization_member import MultiTenantOrganizationMember + from .multi_tenant_organization_partner_configuration_template import MultiTenantOrganizationPartnerConfigurationTemplate + from .multi_value_legacy_extended_property import MultiValueLegacyExtendedProperty + from .mute_participants_operation import MuteParticipantsOperation + from .mute_participant_operation import MuteParticipantOperation + from .named_location import NamedLocation + from .ndes_connector import NdesConnector + from .networkaccess.alert import Alert + from .networkaccess.branch_site import BranchSite + from .networkaccess.conditional_access_policy import ConditionalAccessPolicy + from .networkaccess.conditional_access_settings import ConditionalAccessSettings + from .networkaccess.connectivity import Connectivity + from .networkaccess.connectivity_configuration_link import ConnectivityConfigurationLink + from .networkaccess.cross_tenant_access_settings import CrossTenantAccessSettings + from .networkaccess.device_link import DeviceLink + from .networkaccess.enriched_audit_logs import EnrichedAuditLogs + from .networkaccess.filtering_policy import FilteringPolicy + from .networkaccess.filtering_policy_link import FilteringPolicyLink + from .networkaccess.filtering_profile import FilteringProfile + from .networkaccess.filtering_rule import FilteringRule + from .networkaccess.forwarding_options import ForwardingOptions + from .networkaccess.forwarding_policy import ForwardingPolicy + from .networkaccess.forwarding_policy_link import ForwardingPolicyLink + from .networkaccess.forwarding_profile import ForwardingProfile + from .networkaccess.forwarding_rule import ForwardingRule + from .networkaccess.fqdn_filtering_rule import FqdnFilteringRule + from .networkaccess.internet_access_forwarding_rule import InternetAccessForwardingRule + from .networkaccess.logs import Logs + from .networkaccess.m365_forwarding_rule import M365ForwardingRule + from .networkaccess.network_access_root import NetworkAccessRoot + from .networkaccess.policy import Policy + from .networkaccess.policy_link import PolicyLink + from .networkaccess.policy_rule import PolicyRule + from .networkaccess.private_access_forwarding_rule import PrivateAccessForwardingRule + from .networkaccess.profile import Profile + from .networkaccess.remote_network import RemoteNetwork + from .networkaccess.remote_network_health_event import RemoteNetworkHealthEvent + from .networkaccess.reports import Reports + from .networkaccess.settings import Settings + from .networkaccess.tenant_status import TenantStatus + from .networkaccess.web_category_filtering_rule import WebCategoryFilteringRule + from .news_link_page import NewsLinkPage + from .note import Note + from .notebook import Notebook + from .notification import Notification + from .notification_message_template import NotificationMessageTemplate + from .no_mfa_on_role_activation_alert_configuration import NoMfaOnRoleActivationAlertConfiguration + from .no_mfa_on_role_activation_alert_incident import NoMfaOnRoleActivationAlertIncident + from .offer_shift_request import OfferShiftRequest + from .office365_active_user_counts import Office365ActiveUserCounts + from .office365_active_user_detail import Office365ActiveUserDetail + from .office365_groups_activity_counts import Office365GroupsActivityCounts + from .office365_groups_activity_detail import Office365GroupsActivityDetail + from .office365_groups_activity_file_counts import Office365GroupsActivityFileCounts + from .office365_groups_activity_group_counts import Office365GroupsActivityGroupCounts + from .office365_groups_activity_storage import Office365GroupsActivityStorage + from .office365_services_user_counts import Office365ServicesUserCounts + from .office_graph_insights import OfficeGraphInsights + from .office_suite_app import OfficeSuiteApp + from .onenote import Onenote + from .onenote_entity_base_model import OnenoteEntityBaseModel + from .onenote_entity_hierarchy_model import OnenoteEntityHierarchyModel + from .onenote_entity_schema_object_model import OnenoteEntitySchemaObjectModel + from .onenote_operation import OnenoteOperation + from .onenote_page import OnenotePage + from .onenote_resource import OnenoteResource + from .onenote_section import OnenoteSection + from .one_drive_for_business_protection_policy import OneDriveForBusinessProtectionPolicy + from .one_drive_for_business_restore_session import OneDriveForBusinessRestoreSession + from .online_meeting import OnlineMeeting + from .online_meeting_base import OnlineMeetingBase + from .on_attribute_collection_listener import OnAttributeCollectionListener + from .on_attribute_collection_start_custom_extension import OnAttributeCollectionStartCustomExtension + from .on_attribute_collection_start_listener import OnAttributeCollectionStartListener + from .on_attribute_collection_submit_custom_extension import OnAttributeCollectionSubmitCustomExtension + from .on_attribute_collection_submit_listener import OnAttributeCollectionSubmitListener + from .on_authentication_method_load_start_listener import OnAuthenticationMethodLoadStartListener + from .on_interactive_auth_flow_start_listener import OnInteractiveAuthFlowStartListener + from .on_premises_agent import OnPremisesAgent + from .on_premises_agent_group import OnPremisesAgentGroup + from .on_premises_conditional_access_settings import OnPremisesConditionalAccessSettings + from .on_premises_directory_synchronization import OnPremisesDirectorySynchronization + from .on_premises_publishing_profile import OnPremisesPublishingProfile + from .on_token_issuance_start_custom_extension import OnTokenIssuanceStartCustomExtension + from .on_token_issuance_start_listener import OnTokenIssuanceStartListener + from .on_user_create_start_listener import OnUserCreateStartListener + from .open_aws_security_group_finding import OpenAwsSecurityGroupFinding + from .open_id_connect_identity_provider import OpenIdConnectIdentityProvider + from .open_id_connect_provider import OpenIdConnectProvider + from .open_network_azure_security_group_finding import OpenNetworkAzureSecurityGroupFinding + from .open_shift import OpenShift + from .open_shift_change_request import OpenShiftChangeRequest + from .open_type_extension import OpenTypeExtension + from .operation import Operation + from .operation_approval_policy import OperationApprovalPolicy + from .operation_approval_request import OperationApprovalRequest + from .organization import Organization + from .organizational_branding import OrganizationalBranding + from .organizational_branding_localization import OrganizationalBrandingLocalization + from .organizational_branding_properties import OrganizationalBrandingProperties + from .organizational_branding_theme import OrganizationalBrandingTheme + from .organization_settings import OrganizationSettings + from .org_contact import OrgContact + from .outlook_category import OutlookCategory + from .outlook_item import OutlookItem + from .outlook_task import OutlookTask + from .outlook_task_folder import OutlookTaskFolder + from .outlook_task_group import OutlookTaskGroup + from .outlook_user import OutlookUser + from .overprovisioned_aws_resource_finding import OverprovisionedAwsResourceFinding + from .overprovisioned_aws_role_finding import OverprovisionedAwsRoleFinding + from .overprovisioned_azure_service_principal_finding import OverprovisionedAzureServicePrincipalFinding + from .overprovisioned_gcp_service_account_finding import OverprovisionedGcpServiceAccountFinding + from .overprovisioned_serverless_function_finding import OverprovisionedServerlessFunctionFinding + from .overprovisioned_user_finding import OverprovisionedUserFinding + from .o_auth2_permission_grant import OAuth2PermissionGrant + from .page_template import PageTemplate + from .participant import Participant + from .participant_joining_notification import ParticipantJoiningNotification + from .participant_left_notification import ParticipantLeftNotification + from .partner.security.admins_mfa_enforced_security_requirement import AdminsMfaEnforcedSecurityRequirement + from .partner.security.customers_mfa_enforced_security_requirement import CustomersMfaEnforcedSecurityRequirement + from .partner.security.customers_spending_budget_security_requirement import CustomersSpendingBudgetSecurityRequirement + from .partner.security.partner_security import PartnerSecurity + from .partner.security.partner_security_alert import PartnerSecurityAlert + from .partner.security.partner_security_score import PartnerSecurityScore + from .partner.security.response_time_security_requirement import ResponseTimeSecurityRequirement + from .partner.security.security_requirement import SecurityRequirement + from .partner.security.security_score_history import SecurityScoreHistory + from .partners.billing.azure_usage import AzureUsage + from .partners.billing.billed_reconciliation import BilledReconciliation + from .partners.billing.billed_usage import BilledUsage + from .partners.billing.billing import Billing + from .partners.billing.billing_reconciliation import BillingReconciliation + from .partners.billing.export_success_operation import ExportSuccessOperation + from .partners.billing.failed_operation import FailedOperation + from .partners.billing.manifest import Manifest + from .partners.billing.operation import Operation + from .partners.billing.running_operation import RunningOperation + from .partners.billing.unbilled_usage import UnbilledUsage + from .partners.partners import Partners + from .passkey_authentication_method_target import PasskeyAuthenticationMethodTarget + from .passwordless_microsoft_authenticator_authentication_method import PasswordlessMicrosoftAuthenticatorAuthenticationMethod + from .password_authentication_method import PasswordAuthenticationMethod + from .payload import Payload + from .payload_compatible_assignment_filter import PayloadCompatibleAssignmentFilter + from .payload_response import PayloadResponse + from .pending_external_user_profile import PendingExternalUserProfile + from .people_admin_settings import PeopleAdminSettings + from .permission import Permission + from .permissions_analytics import PermissionsAnalytics + from .permissions_analytics_aggregation import PermissionsAnalyticsAggregation + from .permissions_creep_index_distribution import PermissionsCreepIndexDistribution + from .permissions_definition_aws_policy import PermissionsDefinitionAwsPolicy + from .permissions_definition_azure_role import PermissionsDefinitionAzureRole + from .permissions_definition_gcp_role import PermissionsDefinitionGcpRole + from .permissions_management import PermissionsManagement + from .permissions_request_change import PermissionsRequestChange + from .permission_grant_condition_set import PermissionGrantConditionSet + from .permission_grant_policy import PermissionGrantPolicy + from .permission_grant_pre_approval_policy import PermissionGrantPreApprovalPolicy + from .person import Person + from .person_annotation import PersonAnnotation + from .person_annual_event import PersonAnnualEvent + from .person_award import PersonAward + from .person_certification import PersonCertification + from .person_extension import PersonExtension + from .person_interest import PersonInterest + from .person_name import PersonName + from .person_responsibility import PersonResponsibility + from .person_website import PersonWebsite + from .phone_authentication_method import PhoneAuthenticationMethod + from .pinned_chat_message_info import PinnedChatMessageInfo + from .place import Place + from .planner import Planner + from .planner_assigned_to_task_board_task_format import PlannerAssignedToTaskBoardTaskFormat + from .planner_bucket import PlannerBucket + from .planner_bucket_task_board_task_format import PlannerBucketTaskBoardTaskFormat + from .planner_delta import PlannerDelta + from .planner_group import PlannerGroup + from .planner_plan import PlannerPlan + from .planner_plan_configuration import PlannerPlanConfiguration + from .planner_plan_configuration_localization import PlannerPlanConfigurationLocalization + from .planner_plan_details import PlannerPlanDetails + from .planner_progress_task_board_task_format import PlannerProgressTaskBoardTaskFormat + from .planner_roster import PlannerRoster + from .planner_roster_member import PlannerRosterMember + from .planner_task import PlannerTask + from .planner_task_configuration import PlannerTaskConfiguration + from .planner_task_details import PlannerTaskDetails + from .planner_user import PlannerUser + from .platform_credential_authentication_method import PlatformCredentialAuthenticationMethod + from .play_prompt_operation import PlayPromptOperation + from .policy_base import PolicyBase + from .policy_root import PolicyRoot + from .policy_set import PolicySet + from .policy_set_assignment import PolicySetAssignment + from .policy_set_item import PolicySetItem + from .policy_template import PolicyTemplate + from .post import Post + from .presence import Presence + from .presentation import Presentation + from .printer import Printer + from .printer_base import PrinterBase + from .printer_create_operation import PrinterCreateOperation + from .printer_share import PrinterShare + from .print_connector import PrintConnector + from .print_document import PrintDocument + from .print_job import PrintJob + from .print_operation import PrintOperation + from .print_service import PrintService + from .print_service_endpoint import PrintServiceEndpoint + from .print_task import PrintTask + from .print_task_definition import PrintTaskDefinition + from .print_task_trigger import PrintTaskTrigger + from .print_usage import PrintUsage + from .print_usage_by_printer import PrintUsageByPrinter + from .print_usage_by_user import PrintUsageByUser + from .privileged_access import PrivilegedAccess + from .privileged_access_group import PrivilegedAccessGroup + from .privileged_access_group_assignment_schedule import PrivilegedAccessGroupAssignmentSchedule + from .privileged_access_group_assignment_schedule_instance import PrivilegedAccessGroupAssignmentScheduleInstance + from .privileged_access_group_assignment_schedule_request import PrivilegedAccessGroupAssignmentScheduleRequest + from .privileged_access_group_eligibility_schedule import PrivilegedAccessGroupEligibilitySchedule + from .privileged_access_group_eligibility_schedule_instance import PrivilegedAccessGroupEligibilityScheduleInstance + from .privileged_access_group_eligibility_schedule_request import PrivilegedAccessGroupEligibilityScheduleRequest + from .privileged_access_root import PrivilegedAccessRoot + from .privileged_access_schedule import PrivilegedAccessSchedule + from .privileged_access_schedule_instance import PrivilegedAccessScheduleInstance + from .privileged_access_schedule_request import PrivilegedAccessScheduleRequest + from .privileged_approval import PrivilegedApproval + from .privileged_operation_event import PrivilegedOperationEvent + from .privileged_role import PrivilegedRole + from .privileged_role_assignment import PrivilegedRoleAssignment + from .privileged_role_assignment_request import PrivilegedRoleAssignmentRequest + from .privileged_role_settings import PrivilegedRoleSettings + from .privileged_role_summary import PrivilegedRoleSummary + from .privileged_signup_status import PrivilegedSignupStatus + from .privilege_escalation import PrivilegeEscalation + from .privilege_escalation_aws_resource_finding import PrivilegeEscalationAwsResourceFinding + from .privilege_escalation_aws_role_finding import PrivilegeEscalationAwsRoleFinding + from .privilege_escalation_finding import PrivilegeEscalationFinding + from .privilege_escalation_gcp_service_account_finding import PrivilegeEscalationGcpServiceAccountFinding + from .privilege_escalation_user_finding import PrivilegeEscalationUserFinding + from .privilege_management_elevation import PrivilegeManagementElevation + from .privilege_management_elevation_request import PrivilegeManagementElevationRequest + from .profile import Profile + from .profile_card_property import ProfileCardProperty + from .profile_photo import ProfilePhoto + from .profile_source import ProfileSource + from .program import Program + from .program_control import ProgramControl + from .program_control_type import ProgramControlType + from .project_participation import ProjectParticipation + from .pronouns_settings import PronounsSettings + from .protection_policy_base import ProtectionPolicyBase + from .protection_rule_base import ProtectionRuleBase + from .protection_units_bulk_job_base import ProtectionUnitsBulkJobBase + from .protection_unit_base import ProtectionUnitBase + from .provider_tenant_setting import ProviderTenantSetting + from .provisioning_object_summary import ProvisioningObjectSummary + from .public_key_infrastructure_root import PublicKeyInfrastructureRoot + from .published_resource import PublishedResource + from .purchase_invoice_line import PurchaseInvoiceLine + from .rbac_application import RbacApplication + from .rbac_application_multiple import RbacApplicationMultiple + from .reading_assignment_submission import ReadingAssignmentSubmission + from .recommendation import Recommendation + from .recommendation_base import RecommendationBase + from .record_operation import RecordOperation + from .recycle_bin import RecycleBin + from .recycle_bin_item import RecycleBinItem + from .redundant_assignment_alert_configuration import RedundantAssignmentAlertConfiguration + from .redundant_assignment_alert_incident import RedundantAssignmentAlertIncident + from .reference_attachment import ReferenceAttachment + from .reflect_check_in_response import ReflectCheckInResponse + from .regional_and_language_settings import RegionalAndLanguageSettings + from .relying_party_detailed_summary import RelyingPartyDetailedSummary + from .remote_action_audit import RemoteActionAudit + from .remote_assistance_partner import RemoteAssistancePartner + from .remote_assistance_settings import RemoteAssistanceSettings + from .remote_desktop_security_configuration import RemoteDesktopSecurityConfiguration + from .reports_root import ReportsRoot + from .report_root import ReportRoot + from .request import Request + from .reseller_delegated_admin_relationship import ResellerDelegatedAdminRelationship + from .resource_operation import ResourceOperation + from .resource_specific_permission_grant import ResourceSpecificPermissionGrant + from .restore_artifacts_bulk_request_base import RestoreArtifactsBulkRequestBase + from .restore_artifact_base import RestoreArtifactBase + from .restore_point import RestorePoint + from .restore_session_base import RestoreSessionBase + from .restricted_apps_violation import RestrictedAppsViolation + from .rich_long_running_operation import RichLongRunningOperation + from .risky_service_principal import RiskyServicePrincipal + from .risky_service_principal_history_item import RiskyServicePrincipalHistoryItem + from .risky_user import RiskyUser + from .risky_user_history_item import RiskyUserHistoryItem + from .risk_detection import RiskDetection + from .roles_assigned_outside_privileged_identity_management_alert_configuration import RolesAssignedOutsidePrivilegedIdentityManagementAlertConfiguration + from .roles_assigned_outside_privileged_identity_management_alert_incident import RolesAssignedOutsidePrivilegedIdentityManagementAlertIncident + from .role_assignment import RoleAssignment + from .role_definition import RoleDefinition + from .role_management_alert import RoleManagementAlert + from .role_scope_tag import RoleScopeTag + from .role_scope_tag_auto_assignment import RoleScopeTagAutoAssignment + from .room import Room + from .room_list import RoomList + from .sales_credit_memo_line import SalesCreditMemoLine + from .sales_invoice_line import SalesInvoiceLine + from .sales_order_line import SalesOrderLine + from .sales_quote_line import SalesQuoteLine + from .saml_or_ws_fed_external_domain_federation import SamlOrWsFedExternalDomainFederation + from .saml_or_ws_fed_provider import SamlOrWsFedProvider + from .schedule import Schedule + from .scheduled_permissions_request import ScheduledPermissionsRequest + from .schedule_change_request import ScheduleChangeRequest + from .scheduling_group import SchedulingGroup + from .schema import Schema + from .schema_extension import SchemaExtension + from .scoped_role_membership import ScopedRoleMembership + from .search.acronym import Acronym + from .search.bookmark import Bookmark + from .search.qna import Qna + from .search.search_answer import SearchAnswer + from .search_entity import SearchEntity + from .secret_information_access_aws_resource_finding import SecretInformationAccessAwsResourceFinding + from .secret_information_access_aws_role_finding import SecretInformationAccessAwsRoleFinding + from .secret_information_access_aws_serverless_function_finding import SecretInformationAccessAwsServerlessFunctionFinding + from .secret_information_access_aws_user_finding import SecretInformationAccessAwsUserFinding + from .section_group import SectionGroup + from .secure_score import SecureScore + from .secure_score_control_profile import SecureScoreControlProfile + from .security.alert import Alert + from .security.analyzed_email import AnalyzedEmail + from .security.article import Article + from .security.article_indicator import ArticleIndicator + from .security.artifact import Artifact + from .security.audit_core_root import AuditCoreRoot + from .security.audit_log_query import AuditLogQuery + from .security.audit_log_record import AuditLogRecord + from .security.authority_template import AuthorityTemplate + from .security.case import Case + from .security.cases_root import CasesRoot + from .security.case_operation import CaseOperation + from .security.category_template import CategoryTemplate + from .security.citation_template import CitationTemplate + from .security.collaboration_root import CollaborationRoot + from .security.data_set import DataSet + from .security.data_source import DataSource + from .security.data_source_container import DataSourceContainer + from .security.department_template import DepartmentTemplate + from .security.detection_rule import DetectionRule + from .security.disposition_review_stage import DispositionReviewStage + from .security.ediscovery_add_to_review_set_operation import EdiscoveryAddToReviewSetOperation + from .security.ediscovery_case import EdiscoveryCase + from .security.ediscovery_case_settings import EdiscoveryCaseSettings + from .security.ediscovery_custodian import EdiscoveryCustodian + from .security.ediscovery_estimate_operation import EdiscoveryEstimateOperation + from .security.ediscovery_export_operation import EdiscoveryExportOperation + from .security.ediscovery_file import EdiscoveryFile + from .security.ediscovery_hold_operation import EdiscoveryHoldOperation + from .security.ediscovery_hold_policy import EdiscoveryHoldPolicy + from .security.ediscovery_index_operation import EdiscoveryIndexOperation + from .security.ediscovery_noncustodial_data_source import EdiscoveryNoncustodialDataSource + from .security.ediscovery_purge_data_operation import EdiscoveryPurgeDataOperation + from .security.ediscovery_review_set import EdiscoveryReviewSet + from .security.ediscovery_review_set_query import EdiscoveryReviewSetQuery + from .security.ediscovery_review_tag import EdiscoveryReviewTag + from .security.ediscovery_search import EdiscoverySearch + from .security.ediscovery_search_export_operation import EdiscoverySearchExportOperation + from .security.ediscovery_tag_operation import EdiscoveryTagOperation + from .security.email_content_threat_submission import EmailContentThreatSubmission + from .security.email_threat_submission import EmailThreatSubmission + from .security.email_threat_submission_policy import EmailThreatSubmissionPolicy + from .security.email_url_threat_submission import EmailUrlThreatSubmission + from .security.file import File + from .security.file_content_threat_submission import FileContentThreatSubmission + from .security.file_plan_descriptor import FilePlanDescriptor + from .security.file_plan_descriptor_template import FilePlanDescriptorTemplate + from .security.file_plan_reference_template import FilePlanReferenceTemplate + from .security.file_threat_submission import FileThreatSubmission + from .security.file_url_threat_submission import FileUrlThreatSubmission + from .security.health_issue import HealthIssue + from .security.host import Host + from .security.hostname import Hostname + from .security.host_component import HostComponent + from .security.host_cookie import HostCookie + from .security.host_pair import HostPair + from .security.host_port import HostPort + from .security.host_reputation import HostReputation + from .security.host_ssl_certificate import HostSslCertificate + from .security.host_tracker import HostTracker + from .security.identity_container import IdentityContainer + from .security.incident import Incident + from .security.indicator import Indicator + from .security.information_protection import InformationProtection + from .security.information_protection_policy_setting import InformationProtectionPolicySetting + from .security.intelligence_profile import IntelligenceProfile + from .security.intelligence_profile_indicator import IntelligenceProfileIndicator + from .security.ip_address import IpAddress + from .security.labels_root import LabelsRoot + from .security.network_adapter import NetworkAdapter + from .security.passive_dns_record import PassiveDnsRecord + from .security.policy_base import PolicyBase + from .security.protection_rule import ProtectionRule + from .security.retention_event import RetentionEvent + from .security.retention_event_type import RetentionEventType + from .security.retention_label import RetentionLabel + from .security.rules_root import RulesRoot + from .security.search import Search + from .security.security import Security + from .security.sensitivity_label import SensitivityLabel + from .security.sensor import Sensor + from .security.site_source import SiteSource + from .security.ssl_certificate import SslCertificate + from .security.subcategory_template import SubcategoryTemplate + from .security.subdomain import Subdomain + from .security.tag import Tag + from .security.threat_intelligence import ThreatIntelligence + from .security.threat_submission import ThreatSubmission + from .security.threat_submission_root import ThreatSubmissionRoot + from .security.triggers_root import TriggersRoot + from .security.trigger_types_root import TriggerTypesRoot + from .security.unclassified_artifact import UnclassifiedArtifact + from .security.unified_group_source import UnifiedGroupSource + from .security.url_threat_submission import UrlThreatSubmission + from .security.user_source import UserSource + from .security.vulnerability import Vulnerability + from .security.vulnerability_component import VulnerabilityComponent + from .security.whois_base_record import WhoisBaseRecord + from .security.whois_history_record import WhoisHistoryRecord + from .security.whois_record import WhoisRecord + from .security_action import SecurityAction + from .security_baseline_category_state_summary import SecurityBaselineCategoryStateSummary + from .security_baseline_device_state import SecurityBaselineDeviceState + from .security_baseline_setting_state import SecurityBaselineSettingState + from .security_baseline_state import SecurityBaselineState + from .security_baseline_state_summary import SecurityBaselineStateSummary + from .security_baseline_template import SecurityBaselineTemplate + from .security_configuration_task import SecurityConfigurationTask + from .security_reports_root import SecurityReportsRoot + from .security_tool_aws_resource_administrator_finding import SecurityToolAwsResourceAdministratorFinding + from .security_tool_aws_role_administrator_finding import SecurityToolAwsRoleAdministratorFinding + from .security_tool_aws_serverless_function_administrator_finding import SecurityToolAwsServerlessFunctionAdministratorFinding + from .security_tool_aws_user_administrator_finding import SecurityToolAwsUserAdministratorFinding + from .send_dtmf_tones_operation import SendDtmfTonesOperation + from .sensitive_type import SensitiveType + from .sensitivity_label import SensitivityLabel + from .sensitivity_policy_settings import SensitivityPolicySettings + from .sequential_activation_renewals_alert_configuration import SequentialActivationRenewalsAlertConfiguration + from .sequential_activation_renewals_alert_incident import SequentialActivationRenewalsAlertIncident + from .service_activity import ServiceActivity + from .service_announcement import ServiceAnnouncement + from .service_announcement_attachment import ServiceAnnouncementAttachment + from .service_announcement_base import ServiceAnnouncementBase + from .service_app import ServiceApp + from .service_health import ServiceHealth + from .service_health_issue import ServiceHealthIssue + from .service_level_agreement_root import ServiceLevelAgreementRoot + from .service_now_connection import ServiceNowConnection + from .service_principal import ServicePrincipal + from .service_principal_creation_condition_set import ServicePrincipalCreationConditionSet + from .service_principal_creation_policy import ServicePrincipalCreationPolicy + from .service_principal_risk_detection import ServicePrincipalRiskDetection + from .service_principal_sign_in_activity import ServicePrincipalSignInActivity + from .service_storage_quota_breakdown import ServiceStorageQuotaBreakdown + from .service_update_message import ServiceUpdateMessage + from .setting_state_device_summary import SettingStateDeviceSummary + from .shared_drive_item import SharedDriveItem + from .shared_email_domain import SharedEmailDomain + from .shared_email_domain_invitation import SharedEmailDomainInvitation + from .shared_insight import SharedInsight + from .shared_p_c_configuration import SharedPCConfiguration + from .shared_with_channel_team_info import SharedWithChannelTeamInfo + from .sharepoint import Sharepoint + from .sharepoint_settings import SharepointSettings + from .share_point_protection_policy import SharePointProtectionPolicy + from .share_point_restore_session import SharePointRestoreSession + from .shift import Shift + from .shifts_role_definition import ShiftsRoleDefinition + from .shift_preferences import ShiftPreferences + from .sign_in import SignIn + from .simulation import Simulation + from .simulation_automation import SimulationAutomation + from .simulation_automation_run import SimulationAutomationRun + from .single_value_legacy_extended_property import SingleValueLegacyExtendedProperty + from .site import Site + from .site_page import SitePage + from .site_protection_rule import SiteProtectionRule + from .site_protection_unit import SiteProtectionUnit + from .site_protection_units_bulk_addition_job import SiteProtectionUnitsBulkAdditionJob + from .site_restore_artifact import SiteRestoreArtifact + from .site_restore_artifacts_bulk_addition_request import SiteRestoreArtifactsBulkAdditionRequest + from .skill_proficiency import SkillProficiency + from .skype_for_business_user_conversation_member import SkypeForBusinessUserConversationMember + from .skype_user_conversation_member import SkypeUserConversationMember + from .sms_authentication_method_configuration import SmsAuthenticationMethodConfiguration + from .sms_authentication_method_target import SmsAuthenticationMethodTarget + from .social_identity_provider import SocialIdentityProvider + from .software_oath_authentication_method import SoftwareOathAuthenticationMethod + from .software_oath_authentication_method_configuration import SoftwareOathAuthenticationMethodConfiguration + from .software_update_status_summary import SoftwareUpdateStatusSummary + from .stale_sign_in_alert_configuration import StaleSignInAlertConfiguration + from .stale_sign_in_alert_incident import StaleSignInAlertIncident + from .standard_web_part import StandardWebPart + from .start_hold_music_operation import StartHoldMusicOperation + from .stop_hold_music_operation import StopHoldMusicOperation + from .storage_quota_breakdown import StorageQuotaBreakdown + from .storage_settings import StorageSettings + from .strong_authentication_detail import StrongAuthenticationDetail + from .strong_authentication_phone_app_detail import StrongAuthenticationPhoneAppDetail + from .sts_policy import StsPolicy + from .subject_rights_request import SubjectRightsRequest + from .subscribed_sku import SubscribedSku + from .subscribe_to_tone_operation import SubscribeToToneOperation + from .subscription import Subscription + from .super_aws_resource_finding import SuperAwsResourceFinding + from .super_aws_role_finding import SuperAwsRoleFinding + from .super_azure_service_principal_finding import SuperAzureServicePrincipalFinding + from .super_gcp_service_account_finding import SuperGcpServiceAccountFinding + from .super_serverless_function_finding import SuperServerlessFunctionFinding + from .super_user_finding import SuperUserFinding + from .swap_shifts_change_request import SwapShiftsChangeRequest + from .symantec_code_signing_certificate import SymantecCodeSigningCertificate + from .synchronization import Synchronization + from .synchronization_job import SynchronizationJob + from .synchronization_schema import SynchronizationSchema + from .synchronization_template import SynchronizationTemplate + from .targeted_managed_app_configuration import TargetedManagedAppConfiguration + from .targeted_managed_app_configuration_policy_set_item import TargetedManagedAppConfigurationPolicySetItem + from .targeted_managed_app_policy_assignment import TargetedManagedAppPolicyAssignment + from .targeted_managed_app_protection import TargetedManagedAppProtection + from .target_device_group import TargetDeviceGroup + from .task_file_attachment import TaskFileAttachment + from .tax_group import TaxGroup + from .team import Team + from .teams_administration.teams_admin_root import TeamsAdminRoot + from .teams_app import TeamsApp + from .teams_app_dashboard_card_definition import TeamsAppDashboardCardDefinition + from .teams_app_definition import TeamsAppDefinition + from .teams_app_icon import TeamsAppIcon + from .teams_app_installation import TeamsAppInstallation + from .teams_app_settings import TeamsAppSettings + from .teams_async_operation import TeamsAsyncOperation + from .teams_tab import TeamsTab + from .teams_template import TeamsTemplate + from .teamwork import Teamwork + from .teamwork_bot import TeamworkBot + from .teamwork_device import TeamworkDevice + from .teamwork_device_activity import TeamworkDeviceActivity + from .teamwork_device_configuration import TeamworkDeviceConfiguration + from .teamwork_device_health import TeamworkDeviceHealth + from .teamwork_device_operation import TeamworkDeviceOperation + from .teamwork_hosted_content import TeamworkHostedContent + from .teamwork_peripheral import TeamworkPeripheral + from .teamwork_tag import TeamworkTag + from .teamwork_tag_member import TeamworkTagMember + from .team_info import TeamInfo + from .team_template import TeamTemplate + from .team_template_definition import TeamTemplateDefinition + from .telecom_expense_management_partner import TelecomExpenseManagementPartner + from .temporary_access_pass_authentication_method import TemporaryAccessPassAuthenticationMethod + from .temporary_access_pass_authentication_method_configuration import TemporaryAccessPassAuthenticationMethodConfiguration + from .tenant_app_management_policy import TenantAppManagementPolicy + from .tenant_attach_r_b_a_c import TenantAttachRBAC + from .tenant_relationship_access_policy_base import TenantRelationshipAccessPolicyBase + from .tenant_setup_info import TenantSetupInfo + from .terms_and_conditions import TermsAndConditions + from .terms_and_conditions_acceptance_status import TermsAndConditionsAcceptanceStatus + from .terms_and_conditions_assignment import TermsAndConditionsAssignment + from .terms_and_conditions_group_assignment import TermsAndConditionsGroupAssignment + from .terms_of_use_container import TermsOfUseContainer + from .term_store.group import Group + from .term_store.relation import Relation + from .term_store.set import Set + from .term_store.store import Store + from .term_store.term import Term + from .text_classification_request import TextClassificationRequest + from .text_web_part import TextWebPart + from .threat_assessment_request import ThreatAssessmentRequest + from .threat_assessment_result import ThreatAssessmentResult + from .thumbnail_set import ThumbnailSet + from .time_card import TimeCard + from .time_off import TimeOff + from .time_off_reason import TimeOffReason + from .time_off_request import TimeOffRequest + from .ti_indicator import TiIndicator + from .todo import Todo + from .todo_task import TodoTask + from .todo_task_list import TodoTaskList + from .token_issuance_policy import TokenIssuancePolicy + from .token_lifetime_policy import TokenLifetimePolicy + from .too_many_global_admins_assigned_to_tenant_alert_configuration import TooManyGlobalAdminsAssignedToTenantAlertConfiguration + from .too_many_global_admins_assigned_to_tenant_alert_incident import TooManyGlobalAdminsAssignedToTenantAlertIncident + from .training import Training + from .training_campaign import TrainingCampaign + from .training_language_detail import TrainingLanguageDetail + from .trending import Trending + from .trusted_certificate_authority_as_entity_base import TrustedCertificateAuthorityAsEntityBase + from .trust_framework_key_set import TrustFrameworkKeySet + from .trust_framework_policy import TrustFrameworkPolicy + from .unenforced_mfa_aws_user_finding import UnenforcedMfaAwsUserFinding + from .unified_rbac_application import UnifiedRbacApplication + from .unified_rbac_resource_action import UnifiedRbacResourceAction + from .unified_rbac_resource_namespace import UnifiedRbacResourceNamespace + from .unified_rbac_resource_scope import UnifiedRbacResourceScope + from .unified_role_assignment import UnifiedRoleAssignment + from .unified_role_assignment_multiple import UnifiedRoleAssignmentMultiple + from .unified_role_assignment_schedule import UnifiedRoleAssignmentSchedule + from .unified_role_assignment_schedule_instance import UnifiedRoleAssignmentScheduleInstance + from .unified_role_assignment_schedule_request import UnifiedRoleAssignmentScheduleRequest + from .unified_role_definition import UnifiedRoleDefinition + from .unified_role_eligibility_schedule import UnifiedRoleEligibilitySchedule + from .unified_role_eligibility_schedule_instance import UnifiedRoleEligibilityScheduleInstance + from .unified_role_eligibility_schedule_request import UnifiedRoleEligibilityScheduleRequest + from .unified_role_management_alert import UnifiedRoleManagementAlert + from .unified_role_management_alert_configuration import UnifiedRoleManagementAlertConfiguration + from .unified_role_management_alert_definition import UnifiedRoleManagementAlertDefinition + from .unified_role_management_alert_incident import UnifiedRoleManagementAlertIncident + from .unified_role_management_policy import UnifiedRoleManagementPolicy + from .unified_role_management_policy_approval_rule import UnifiedRoleManagementPolicyApprovalRule + from .unified_role_management_policy_assignment import UnifiedRoleManagementPolicyAssignment + from .unified_role_management_policy_authentication_context_rule import UnifiedRoleManagementPolicyAuthenticationContextRule + from .unified_role_management_policy_enablement_rule import UnifiedRoleManagementPolicyEnablementRule + from .unified_role_management_policy_expiration_rule import UnifiedRoleManagementPolicyExpirationRule + from .unified_role_management_policy_notification_rule import UnifiedRoleManagementPolicyNotificationRule + from .unified_role_management_policy_rule import UnifiedRoleManagementPolicyRule + from .unified_role_schedule_base import UnifiedRoleScheduleBase + from .unified_role_schedule_instance_base import UnifiedRoleScheduleInstanceBase + from .unified_storage_quota import UnifiedStorageQuota + from .unmanaged_device_discovery_task import UnmanagedDeviceDiscoveryTask + from .unmute_participant_operation import UnmuteParticipantOperation + from .unsupported_device_configuration import UnsupportedDeviceConfiguration + from .unsupported_group_policy_extension import UnsupportedGroupPolicyExtension + from .update_recording_status_operation import UpdateRecordingStatusOperation + from .url_assessment_request import UrlAssessmentRequest + from .usage_right import UsageRight + from .used_insight import UsedInsight + from .user import User + from .user_account_information import UserAccountInformation + from .user_activity import UserActivity + from .user_analytics import UserAnalytics + from .user_app_install_status import UserAppInstallStatus + from .user_configuration import UserConfiguration + from .user_consent_request import UserConsentRequest + from .user_count_metric import UserCountMetric + from .user_credential_usage_details import UserCredentialUsageDetails + from .user_experience_analytics_anomaly import UserExperienceAnalyticsAnomaly + from .user_experience_analytics_anomaly_correlation_group_overview import UserExperienceAnalyticsAnomalyCorrelationGroupOverview + from .user_experience_analytics_anomaly_device import UserExperienceAnalyticsAnomalyDevice + from .user_experience_analytics_app_health_application_performance import UserExperienceAnalyticsAppHealthApplicationPerformance + from .user_experience_analytics_app_health_app_performance_by_app_version import UserExperienceAnalyticsAppHealthAppPerformanceByAppVersion + from .user_experience_analytics_app_health_app_performance_by_app_version_details import UserExperienceAnalyticsAppHealthAppPerformanceByAppVersionDetails + from .user_experience_analytics_app_health_app_performance_by_app_version_device_id import UserExperienceAnalyticsAppHealthAppPerformanceByAppVersionDeviceId + from .user_experience_analytics_app_health_app_performance_by_o_s_version import UserExperienceAnalyticsAppHealthAppPerformanceByOSVersion + from .user_experience_analytics_app_health_device_model_performance import UserExperienceAnalyticsAppHealthDeviceModelPerformance + from .user_experience_analytics_app_health_device_performance import UserExperienceAnalyticsAppHealthDevicePerformance + from .user_experience_analytics_app_health_device_performance_details import UserExperienceAnalyticsAppHealthDevicePerformanceDetails + from .user_experience_analytics_app_health_o_s_version_performance import UserExperienceAnalyticsAppHealthOSVersionPerformance + from .user_experience_analytics_baseline import UserExperienceAnalyticsBaseline + from .user_experience_analytics_battery_health_app_impact import UserExperienceAnalyticsBatteryHealthAppImpact + from .user_experience_analytics_battery_health_capacity_details import UserExperienceAnalyticsBatteryHealthCapacityDetails + from .user_experience_analytics_battery_health_device_app_impact import UserExperienceAnalyticsBatteryHealthDeviceAppImpact + from .user_experience_analytics_battery_health_device_performance import UserExperienceAnalyticsBatteryHealthDevicePerformance + from .user_experience_analytics_battery_health_device_runtime_history import UserExperienceAnalyticsBatteryHealthDeviceRuntimeHistory + from .user_experience_analytics_battery_health_model_performance import UserExperienceAnalyticsBatteryHealthModelPerformance + from .user_experience_analytics_battery_health_os_performance import UserExperienceAnalyticsBatteryHealthOsPerformance + from .user_experience_analytics_battery_health_runtime_details import UserExperienceAnalyticsBatteryHealthRuntimeDetails + from .user_experience_analytics_category import UserExperienceAnalyticsCategory + from .user_experience_analytics_device_performance import UserExperienceAnalyticsDevicePerformance + from .user_experience_analytics_device_scope import UserExperienceAnalyticsDeviceScope + from .user_experience_analytics_device_scores import UserExperienceAnalyticsDeviceScores + from .user_experience_analytics_device_startup_history import UserExperienceAnalyticsDeviceStartupHistory + from .user_experience_analytics_device_startup_process import UserExperienceAnalyticsDeviceStartupProcess + from .user_experience_analytics_device_startup_process_performance import UserExperienceAnalyticsDeviceStartupProcessPerformance + from .user_experience_analytics_device_timeline_event import UserExperienceAnalyticsDeviceTimelineEvent + from .user_experience_analytics_device_without_cloud_identity import UserExperienceAnalyticsDeviceWithoutCloudIdentity + from .user_experience_analytics_impacting_process import UserExperienceAnalyticsImpactingProcess + from .user_experience_analytics_metric import UserExperienceAnalyticsMetric + from .user_experience_analytics_metric_history import UserExperienceAnalyticsMetricHistory + from .user_experience_analytics_model_scores import UserExperienceAnalyticsModelScores + from .user_experience_analytics_not_autopilot_ready_device import UserExperienceAnalyticsNotAutopilotReadyDevice + from .user_experience_analytics_overview import UserExperienceAnalyticsOverview + from .user_experience_analytics_remote_connection import UserExperienceAnalyticsRemoteConnection + from .user_experience_analytics_resource_performance import UserExperienceAnalyticsResourcePerformance + from .user_experience_analytics_score_history import UserExperienceAnalyticsScoreHistory + from .user_experience_analytics_work_from_anywhere_device import UserExperienceAnalyticsWorkFromAnywhereDevice + from .user_experience_analytics_work_from_anywhere_hardware_readiness_metric import UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric + from .user_experience_analytics_work_from_anywhere_metric import UserExperienceAnalyticsWorkFromAnywhereMetric + from .user_experience_analytics_work_from_anywhere_model_performance import UserExperienceAnalyticsWorkFromAnywhereModelPerformance + from .user_flow_language_configuration import UserFlowLanguageConfiguration + from .user_flow_language_page import UserFlowLanguagePage + from .user_insights_root import UserInsightsRoot + from .user_insights_settings import UserInsightsSettings + from .user_install_state_summary import UserInstallStateSummary + from .user_p_f_x_certificate import UserPFXCertificate + from .user_registration_details import UserRegistrationDetails + from .user_requests_metric import UserRequestsMetric + from .user_scope_teams_app_installation import UserScopeTeamsAppInstallation + from .user_security_profile import UserSecurityProfile + from .user_settings import UserSettings + from .user_sign_in_insight import UserSignInInsight + from .user_sign_up_metric import UserSignUpMetric + from .user_solution_root import UserSolutionRoot + from .user_storage import UserStorage + from .user_teamwork import UserTeamwork + from .user_virtual_events_root import UserVirtualEventsRoot + from .ux_setting import UxSetting + from .vertical_section import VerticalSection + from .video_news_link_page import VideoNewsLinkPage + from .virtual_endpoint import VirtualEndpoint + from .virtual_event import VirtualEvent + from .virtual_events_root import VirtualEventsRoot + from .virtual_event_presenter import VirtualEventPresenter + from .virtual_event_registration import VirtualEventRegistration + from .virtual_event_registration_configuration import VirtualEventRegistrationConfiguration + from .virtual_event_registration_custom_question import VirtualEventRegistrationCustomQuestion + from .virtual_event_registration_predefined_question import VirtualEventRegistrationPredefinedQuestion + from .virtual_event_registration_question_base import VirtualEventRegistrationQuestionBase + from .virtual_event_session import VirtualEventSession + from .virtual_event_townhall import VirtualEventTownhall + from .virtual_event_webinar import VirtualEventWebinar + from .virtual_event_webinar_registration_configuration import VirtualEventWebinarRegistrationConfiguration + from .virtual_machine_details import VirtualMachineDetails + from .virtual_machine_with_aws_storage_bucket_access_finding import VirtualMachineWithAwsStorageBucketAccessFinding + from .voice_authentication_method_configuration import VoiceAuthenticationMethodConfiguration + from .voice_authentication_method_target import VoiceAuthenticationMethodTarget + from .vpn_configuration import VpnConfiguration + from .vpp_token import VppToken + from .vulnerable_managed_device import VulnerableManagedDevice + from .web_account import WebAccount + from .web_app import WebApp + from .web_application_segment import WebApplicationSegment + from .web_part import WebPart + from .win32_catalog_app import Win32CatalogApp + from .win32_lob_app import Win32LobApp + from .win32_mobile_app_catalog_package import Win32MobileAppCatalogPackage + from .windows10_certificate_profile_base import Windows10CertificateProfileBase + from .windows10_compliance_policy import Windows10CompliancePolicy + from .windows10_custom_configuration import Windows10CustomConfiguration + from .windows10_device_firmware_configuration_interface import Windows10DeviceFirmwareConfigurationInterface + from .windows10_eas_email_profile_configuration import Windows10EasEmailProfileConfiguration + from .windows10_endpoint_protection_configuration import Windows10EndpointProtectionConfiguration + from .windows10_enrollment_completion_page_configuration import Windows10EnrollmentCompletionPageConfiguration + from .windows10_enrollment_completion_page_configuration_policy_set_item import Windows10EnrollmentCompletionPageConfigurationPolicySetItem + from .windows10_enterprise_modern_app_management_configuration import Windows10EnterpriseModernAppManagementConfiguration + from .windows10_general_configuration import Windows10GeneralConfiguration + from .windows10_imported_p_f_x_certificate_profile import Windows10ImportedPFXCertificateProfile + from .windows10_mobile_compliance_policy import Windows10MobileCompliancePolicy + from .windows10_network_boundary_configuration import Windows10NetworkBoundaryConfiguration + from .windows10_pkcs_certificate_profile import Windows10PkcsCertificateProfile + from .windows10_p_f_x_import_certificate_profile import Windows10PFXImportCertificateProfile + from .windows10_secure_assessment_configuration import Windows10SecureAssessmentConfiguration + from .windows10_team_general_configuration import Windows10TeamGeneralConfiguration + from .windows10_vpn_configuration import Windows10VpnConfiguration + from .windows10_x_certificate_profile import Windows10XCertificateProfile + from .windows10_x_s_c_e_p_certificate_profile import Windows10XSCEPCertificateProfile + from .windows10_x_trusted_root_certificate import Windows10XTrustedRootCertificate + from .windows10_x_vpn_configuration import Windows10XVpnConfiguration + from .windows10_x_wifi_configuration import Windows10XWifiConfiguration + from .windows81_certificate_profile_base import Windows81CertificateProfileBase + from .windows81_compliance_policy import Windows81CompliancePolicy + from .windows81_general_configuration import Windows81GeneralConfiguration + from .windows81_s_c_e_p_certificate_profile import Windows81SCEPCertificateProfile + from .windows81_trusted_root_certificate import Windows81TrustedRootCertificate + from .windows81_vpn_configuration import Windows81VpnConfiguration + from .windows81_wifi_import_configuration import Windows81WifiImportConfiguration + from .windows_app_x import WindowsAppX + from .windows_assigned_access_profile import WindowsAssignedAccessProfile + from .windows_autopilot_deployment_profile import WindowsAutopilotDeploymentProfile + from .windows_autopilot_deployment_profile_assignment import WindowsAutopilotDeploymentProfileAssignment + from .windows_autopilot_deployment_profile_policy_set_item import WindowsAutopilotDeploymentProfilePolicySetItem + from .windows_autopilot_device_identity import WindowsAutopilotDeviceIdentity + from .windows_autopilot_settings import WindowsAutopilotSettings + from .windows_certificate_profile_base import WindowsCertificateProfileBase + from .windows_defender_advanced_threat_protection_configuration import WindowsDefenderAdvancedThreatProtectionConfiguration + from .windows_defender_application_control_supplemental_policy import WindowsDefenderApplicationControlSupplementalPolicy + from .windows_defender_application_control_supplemental_policy_assignment import WindowsDefenderApplicationControlSupplementalPolicyAssignment + from .windows_defender_application_control_supplemental_policy_deployment_status import WindowsDefenderApplicationControlSupplementalPolicyDeploymentStatus + from .windows_defender_application_control_supplemental_policy_deployment_summary import WindowsDefenderApplicationControlSupplementalPolicyDeploymentSummary + from .windows_delivery_optimization_configuration import WindowsDeliveryOptimizationConfiguration + from .windows_device_malware_state import WindowsDeviceMalwareState + from .windows_domain_join_configuration import WindowsDomainJoinConfiguration + from .windows_driver_update_inventory import WindowsDriverUpdateInventory + from .windows_driver_update_profile import WindowsDriverUpdateProfile + from .windows_driver_update_profile_assignment import WindowsDriverUpdateProfileAssignment + from .windows_feature_update_catalog_item import WindowsFeatureUpdateCatalogItem + from .windows_feature_update_profile import WindowsFeatureUpdateProfile + from .windows_feature_update_profile_assignment import WindowsFeatureUpdateProfileAssignment + from .windows_health_monitoring_configuration import WindowsHealthMonitoringConfiguration + from .windows_hello_for_business_authentication_method import WindowsHelloForBusinessAuthenticationMethod + from .windows_identity_protection_configuration import WindowsIdentityProtectionConfiguration + from .windows_information_protection import WindowsInformationProtection + from .windows_information_protection_app_learning_summary import WindowsInformationProtectionAppLearningSummary + from .windows_information_protection_app_locker_file import WindowsInformationProtectionAppLockerFile + from .windows_information_protection_device_registration import WindowsInformationProtectionDeviceRegistration + from .windows_information_protection_network_learning_summary import WindowsInformationProtectionNetworkLearningSummary + from .windows_information_protection_policy import WindowsInformationProtectionPolicy + from .windows_information_protection_wipe_action import WindowsInformationProtectionWipeAction + from .windows_kiosk_configuration import WindowsKioskConfiguration + from .windows_malware_information import WindowsMalwareInformation + from .windows_managed_app_protection import WindowsManagedAppProtection + from .windows_managed_app_registration import WindowsManagedAppRegistration + from .windows_managed_device import WindowsManagedDevice + from .windows_management_app import WindowsManagementApp + from .windows_management_app_health_state import WindowsManagementAppHealthState + from .windows_management_app_health_summary import WindowsManagementAppHealthSummary + from .windows_microsoft_edge_app import WindowsMicrosoftEdgeApp + from .windows_mobile_m_s_i import WindowsMobileMSI + from .windows_phone81_app_x import WindowsPhone81AppX + from .windows_phone81_app_x_bundle import WindowsPhone81AppXBundle + from .windows_phone81_certificate_profile_base import WindowsPhone81CertificateProfileBase + from .windows_phone81_compliance_policy import WindowsPhone81CompliancePolicy + from .windows_phone81_custom_configuration import WindowsPhone81CustomConfiguration + from .windows_phone81_general_configuration import WindowsPhone81GeneralConfiguration + from .windows_phone81_imported_p_f_x_certificate_profile import WindowsPhone81ImportedPFXCertificateProfile + from .windows_phone81_store_app import WindowsPhone81StoreApp + from .windows_phone81_s_c_e_p_certificate_profile import WindowsPhone81SCEPCertificateProfile + from .windows_phone81_trusted_root_certificate import WindowsPhone81TrustedRootCertificate + from .windows_phone81_vpn_configuration import WindowsPhone81VpnConfiguration + from .windows_phone_e_a_s_email_profile_configuration import WindowsPhoneEASEmailProfileConfiguration + from .windows_phone_x_a_p import WindowsPhoneXAP + from .windows_privacy_data_access_control_item import WindowsPrivacyDataAccessControlItem + from .windows_protection_state import WindowsProtectionState + from .windows_quality_update_catalog_item import WindowsQualityUpdateCatalogItem + from .windows_quality_update_policy import WindowsQualityUpdatePolicy + from .windows_quality_update_policy_assignment import WindowsQualityUpdatePolicyAssignment + from .windows_quality_update_profile import WindowsQualityUpdateProfile + from .windows_quality_update_profile_assignment import WindowsQualityUpdateProfileAssignment + from .windows_setting import WindowsSetting + from .windows_setting_instance import WindowsSettingInstance + from .windows_store_app import WindowsStoreApp + from .windows_universal_app_x import WindowsUniversalAppX + from .windows_universal_app_x_contained_app import WindowsUniversalAppXContainedApp + from .windows_updates.azure_a_d_device import AzureADDevice + from .windows_updates.catalog import Catalog + from .windows_updates.catalog_entry import CatalogEntry + from .windows_updates.compliance_change import ComplianceChange + from .windows_updates.content_approval import ContentApproval + from .windows_updates.deployment import Deployment + from .windows_updates.deployment_audience import DeploymentAudience + from .windows_updates.driver_update_catalog_entry import DriverUpdateCatalogEntry + from .windows_updates.edition import Edition + from .windows_updates.feature_update_catalog_entry import FeatureUpdateCatalogEntry + from .windows_updates.knowledge_base_article import KnowledgeBaseArticle + from .windows_updates.known_issue import KnownIssue + from .windows_updates.operational_insights_connection import OperationalInsightsConnection + from .windows_updates.product import Product + from .windows_updates.product_revision import ProductRevision + from .windows_updates.quality_update_catalog_entry import QualityUpdateCatalogEntry + from .windows_updates.resource_connection import ResourceConnection + from .windows_updates.software_update_catalog_entry import SoftwareUpdateCatalogEntry + from .windows_updates.updatable_asset import UpdatableAsset + from .windows_updates.updatable_asset_group import UpdatableAssetGroup + from .windows_updates.update_policy import UpdatePolicy + from .windows_update_catalog_item import WindowsUpdateCatalogItem + from .windows_update_for_business_configuration import WindowsUpdateForBusinessConfiguration + from .windows_update_state import WindowsUpdateState + from .windows_vpn_configuration import WindowsVpnConfiguration + from .windows_web_app import WindowsWebApp + from .windows_wifi_configuration import WindowsWifiConfiguration + from .windows_wifi_enterprise_e_a_p_configuration import WindowsWifiEnterpriseEAPConfiguration + from .windows_wired_network_configuration import WindowsWiredNetworkConfiguration + from .win_get_app import WinGetApp + from .workbook import Workbook + from .workbook_application import WorkbookApplication + from .workbook_chart import WorkbookChart + from .workbook_chart_area_format import WorkbookChartAreaFormat + from .workbook_chart_axes import WorkbookChartAxes + from .workbook_chart_axis import WorkbookChartAxis + from .workbook_chart_axis_format import WorkbookChartAxisFormat + from .workbook_chart_axis_title import WorkbookChartAxisTitle + from .workbook_chart_axis_title_format import WorkbookChartAxisTitleFormat + from .workbook_chart_data_labels import WorkbookChartDataLabels + from .workbook_chart_data_label_format import WorkbookChartDataLabelFormat + from .workbook_chart_fill import WorkbookChartFill + from .workbook_chart_font import WorkbookChartFont + from .workbook_chart_gridlines import WorkbookChartGridlines + from .workbook_chart_gridlines_format import WorkbookChartGridlinesFormat + from .workbook_chart_legend import WorkbookChartLegend + from .workbook_chart_legend_format import WorkbookChartLegendFormat + from .workbook_chart_line_format import WorkbookChartLineFormat + from .workbook_chart_point import WorkbookChartPoint + from .workbook_chart_point_format import WorkbookChartPointFormat + from .workbook_chart_series import WorkbookChartSeries + from .workbook_chart_series_format import WorkbookChartSeriesFormat + from .workbook_chart_title import WorkbookChartTitle + from .workbook_chart_title_format import WorkbookChartTitleFormat + from .workbook_comment import WorkbookComment + from .workbook_comment_reply import WorkbookCommentReply + from .workbook_document_task import WorkbookDocumentTask + from .workbook_document_task_change import WorkbookDocumentTaskChange + from .workbook_filter import WorkbookFilter + from .workbook_format_protection import WorkbookFormatProtection + from .workbook_functions import WorkbookFunctions + from .workbook_function_result import WorkbookFunctionResult + from .workbook_named_item import WorkbookNamedItem + from .workbook_operation import WorkbookOperation + from .workbook_pivot_table import WorkbookPivotTable + from .workbook_range import WorkbookRange + from .workbook_range_border import WorkbookRangeBorder + from .workbook_range_fill import WorkbookRangeFill + from .workbook_range_font import WorkbookRangeFont + from .workbook_range_format import WorkbookRangeFormat + from .workbook_range_sort import WorkbookRangeSort + from .workbook_range_view import WorkbookRangeView + from .workbook_table import WorkbookTable + from .workbook_table_column import WorkbookTableColumn + from .workbook_table_row import WorkbookTableRow + from .workbook_table_sort import WorkbookTableSort + from .workbook_worksheet import WorkbookWorksheet + from .workbook_worksheet_protection import WorkbookWorksheetProtection + from .workforce_integration import WorkforceIntegration + from .working_time_schedule import WorkingTimeSchedule + from .workplace_sensor_device import WorkplaceSensorDevice + from .workspace import Workspace + from .work_position import WorkPosition + from .x509_certificate_authentication_method_configuration import X509CertificateAuthenticationMethodConfiguration + from .x509_certificate_combination_configuration import X509CertificateCombinationConfiguration + from .zebra_fota_artifact import ZebraFotaArtifact + from .zebra_fota_connector import ZebraFotaConnector + from .zebra_fota_deployment import ZebraFotaDeployment + writer.write_str_value("id", self.id) writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/entra.py b/msgraph_beta/generated/models/entra.py index 0a44bea7460..becc5509e92 100644 --- a/msgraph_beta/generated/models/entra.py +++ b/msgraph_beta/generated/models/entra.py @@ -13,7 +13,7 @@ class Entra(Entity): # The OdataType property odata_type: Optional[str] = None - # The uxSetting property + # Represents settings related to access to the Microsoft Entra admin center. ux_setting: Optional[UxSetting] = None @staticmethod @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .ux_setting import UxSetting + writer.write_object_value("uxSetting", self.ux_setting) diff --git a/msgraph_beta/generated/models/enumerated_accounts_with_access.py b/msgraph_beta/generated/models/enumerated_accounts_with_access.py index 4444db61719..a64d79741ef 100644 --- a/msgraph_beta/generated/models/enumerated_accounts_with_access.py +++ b/msgraph_beta/generated/models/enumerated_accounts_with_access.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .accounts_with_access import AccountsWithAccess + from .authorization_system import AuthorizationSystem + writer.write_collection_of_object_values("accounts", self.accounts) diff --git a/msgraph_beta/generated/models/enumerated_device_registration_membership.py b/msgraph_beta/generated/models/enumerated_device_registration_membership.py index 69024744441..ac324eae86e 100644 --- a/msgraph_beta/generated/models/enumerated_device_registration_membership.py +++ b/msgraph_beta/generated/models/enumerated_device_registration_membership.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_registration_membership import DeviceRegistrationMembership + writer.write_collection_of_primitive_values("groups", self.groups) writer.write_collection_of_primitive_values("users", self.users) diff --git a/msgraph_beta/generated/models/enumerated_domains.py b/msgraph_beta/generated/models/enumerated_domains.py index e8ab311fa12..64b1f2901e3 100644 --- a/msgraph_beta/generated/models/enumerated_domains.py +++ b/msgraph_beta/generated/models/enumerated_domains.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .validating_domains import ValidatingDomains + writer.write_collection_of_primitive_values("domainNames", self.domain_names) diff --git a/msgraph_beta/generated/models/enumerated_inbound_ports.py b/msgraph_beta/generated/models/enumerated_inbound_ports.py index 66cdb1475b6..482d16635d4 100644 --- a/msgraph_beta/generated/models/enumerated_inbound_ports.py +++ b/msgraph_beta/generated/models/enumerated_inbound_ports.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .inbound_ports import InboundPorts + writer.write_collection_of_primitive_values("ports", self.ports) diff --git a/msgraph_beta/generated/models/enumerated_pre_approved_permissions.py b/msgraph_beta/generated/models/enumerated_pre_approved_permissions.py index 37fc9f8ceee..a371fc3877d 100644 --- a/msgraph_beta/generated/models/enumerated_pre_approved_permissions.py +++ b/msgraph_beta/generated/models/enumerated_pre_approved_permissions.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .pre_approved_permissions import PreApprovedPermissions + writer.write_collection_of_primitive_values("permissionIds", self.permission_ids) writer.write_str_value("resourceApplicationId", self.resource_application_id) diff --git a/msgraph_beta/generated/models/enumerated_scope_sensitivity_labels.py b/msgraph_beta/generated/models/enumerated_scope_sensitivity_labels.py index 54737ba6135..b47febcab19 100644 --- a/msgraph_beta/generated/models/enumerated_scope_sensitivity_labels.py +++ b/msgraph_beta/generated/models/enumerated_scope_sensitivity_labels.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .scope_sensitivity_labels import ScopeSensitivityLabels + writer.write_collection_of_primitive_values("sensitivityLabels", self.sensitivity_labels) diff --git a/msgraph_beta/generated/models/evaluate_dynamic_membership_result.py b/msgraph_beta/generated/models/evaluate_dynamic_membership_result.py index e4024b2b447..50107343155 100644 --- a/msgraph_beta/generated/models/evaluate_dynamic_membership_result.py +++ b/msgraph_beta/generated/models/evaluate_dynamic_membership_result.py @@ -59,6 +59,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .expression_evaluation_details import ExpressionEvaluationDetails + writer.write_str_value("membershipRule", self.membership_rule) writer.write_object_value("membershipRuleEvaluationDetails", self.membership_rule_evaluation_details) writer.write_bool_value("membershipRuleEvaluationResult", self.membership_rule_evaluation_result) diff --git a/msgraph_beta/generated/models/evaluate_label_job_response.py b/msgraph_beta/generated/models/evaluate_label_job_response.py index 8a5af9d5522..097bc6c0578 100644 --- a/msgraph_beta/generated/models/evaluate_label_job_response.py +++ b/msgraph_beta/generated/models/evaluate_label_job_response.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .evaluate_label_job_result_group import EvaluateLabelJobResultGroup + from .job_response_base import JobResponseBase + writer.write_object_value("result", self.result) diff --git a/msgraph_beta/generated/models/evaluate_label_job_result.py b/msgraph_beta/generated/models/evaluate_label_job_result.py index d5c8975d88b..6d5418bb1e8 100644 --- a/msgraph_beta/generated/models/evaluate_label_job_result.py +++ b/msgraph_beta/generated/models/evaluate_label_job_result.py @@ -65,6 +65,10 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .matching_label import MatchingLabel + from .responsible_policy import ResponsiblePolicy + from .responsible_sensitive_type import ResponsibleSensitiveType + writer.write_str_value("@odata.type", self.odata_type) writer.write_object_value("responsiblePolicy", self.responsible_policy) writer.write_collection_of_object_values("responsibleSensitiveTypes", self.responsible_sensitive_types) diff --git a/msgraph_beta/generated/models/evaluate_label_job_result_group.py b/msgraph_beta/generated/models/evaluate_label_job_result_group.py index 207e60ab6a3..017e89ad716 100644 --- a/msgraph_beta/generated/models/evaluate_label_job_result_group.py +++ b/msgraph_beta/generated/models/evaluate_label_job_result_group.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .evaluate_label_job_result import EvaluateLabelJobResult + writer.write_object_value("automatic", self.automatic) writer.write_str_value("@odata.type", self.odata_type) writer.write_object_value("recommended", self.recommended) diff --git a/msgraph_beta/generated/models/event.py b/msgraph_beta/generated/models/event.py index 361a67e44e9..89c2a234bc4 100644 --- a/msgraph_beta/generated/models/event.py +++ b/msgraph_beta/generated/models/event.py @@ -241,6 +241,26 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .attachment import Attachment + from .attendee import Attendee + from .calendar import Calendar + from .date_time_time_zone import DateTimeTimeZone + from .event_type import EventType + from .extension import Extension + from .free_busy_status import FreeBusyStatus + from .importance import Importance + from .item_body import ItemBody + from .location import Location + from .multi_value_legacy_extended_property import MultiValueLegacyExtendedProperty + from .online_meeting_info import OnlineMeetingInfo + from .online_meeting_provider_type import OnlineMeetingProviderType + from .outlook_item import OutlookItem + from .patterned_recurrence import PatternedRecurrence + from .recipient import Recipient + from .response_status import ResponseStatus + from .sensitivity import Sensitivity + from .single_value_legacy_extended_property import SingleValueLegacyExtendedProperty + writer.write_bool_value("allowNewTimeProposals", self.allow_new_time_proposals) writer.write_collection_of_object_values("attachments", self.attachments) writer.write_collection_of_object_values("attendees", self.attendees) diff --git a/msgraph_beta/generated/models/event_collection_response.py b/msgraph_beta/generated/models/event_collection_response.py index f92eeff4482..40f3bac402b 100644 --- a/msgraph_beta/generated/models/event_collection_response.py +++ b/msgraph_beta/generated/models/event_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .event import Event + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/event_message.py b/msgraph_beta/generated/models/event_message.py index 45848274e05..d421ad2d1c8 100644 --- a/msgraph_beta/generated/models/event_message.py +++ b/msgraph_beta/generated/models/event_message.py @@ -51,7 +51,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> EventMessage: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.eventMessageRequest".casefold(): @@ -114,6 +115,16 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .date_time_time_zone import DateTimeTimeZone + from .event import Event + from .event_message_request import EventMessageRequest + from .event_message_response import EventMessageResponse + from .event_type import EventType + from .location import Location + from .meeting_message_type import MeetingMessageType + from .message import Message + from .patterned_recurrence import PatternedRecurrence + writer.write_object_value("endDateTime", self.end_date_time) writer.write_object_value("event", self.event) writer.write_bool_value("isAllDay", self.is_all_day) diff --git a/msgraph_beta/generated/models/event_message_detail.py b/msgraph_beta/generated/models/event_message_detail.py index e117ee56517..448148110c9 100644 --- a/msgraph_beta/generated/models/event_message_detail.py +++ b/msgraph_beta/generated/models/event_message_detail.py @@ -57,7 +57,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> EventMessageDetail if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.callEndedEventMessageDetail".casefold(): @@ -268,6 +269,38 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .call_ended_event_message_detail import CallEndedEventMessageDetail + from .call_recording_event_message_detail import CallRecordingEventMessageDetail + from .call_started_event_message_detail import CallStartedEventMessageDetail + from .call_transcript_event_message_detail import CallTranscriptEventMessageDetail + from .channel_added_event_message_detail import ChannelAddedEventMessageDetail + from .channel_deleted_event_message_detail import ChannelDeletedEventMessageDetail + from .channel_description_updated_event_message_detail import ChannelDescriptionUpdatedEventMessageDetail + from .channel_renamed_event_message_detail import ChannelRenamedEventMessageDetail + from .channel_set_as_favorite_by_default_event_message_detail import ChannelSetAsFavoriteByDefaultEventMessageDetail + from .channel_sharing_updated_event_message_detail import ChannelSharingUpdatedEventMessageDetail + from .channel_unset_as_favorite_by_default_event_message_detail import ChannelUnsetAsFavoriteByDefaultEventMessageDetail + from .chat_renamed_event_message_detail import ChatRenamedEventMessageDetail + from .conversation_member_role_updated_event_message_detail import ConversationMemberRoleUpdatedEventMessageDetail + from .meeting_policy_updated_event_message_detail import MeetingPolicyUpdatedEventMessageDetail + from .members_added_event_message_detail import MembersAddedEventMessageDetail + from .members_deleted_event_message_detail import MembersDeletedEventMessageDetail + from .members_joined_event_message_detail import MembersJoinedEventMessageDetail + from .members_left_event_message_detail import MembersLeftEventMessageDetail + from .message_pinned_event_message_detail import MessagePinnedEventMessageDetail + from .message_unpinned_event_message_detail import MessageUnpinnedEventMessageDetail + from .tab_updated_event_message_detail import TabUpdatedEventMessageDetail + from .teams_app_installed_event_message_detail import TeamsAppInstalledEventMessageDetail + from .teams_app_removed_event_message_detail import TeamsAppRemovedEventMessageDetail + from .teams_app_upgraded_event_message_detail import TeamsAppUpgradedEventMessageDetail + from .team_archived_event_message_detail import TeamArchivedEventMessageDetail + from .team_created_event_message_detail import TeamCreatedEventMessageDetail + from .team_description_updated_event_message_detail import TeamDescriptionUpdatedEventMessageDetail + from .team_joining_disabled_event_message_detail import TeamJoiningDisabledEventMessageDetail + from .team_joining_enabled_event_message_detail import TeamJoiningEnabledEventMessageDetail + from .team_renamed_event_message_detail import TeamRenamedEventMessageDetail + from .team_unarchived_event_message_detail import TeamUnarchivedEventMessageDetail + writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/event_message_request.py b/msgraph_beta/generated/models/event_message_request.py index a86d612ba67..dd5ebe3ab8b 100644 --- a/msgraph_beta/generated/models/event_message_request.py +++ b/msgraph_beta/generated/models/event_message_request.py @@ -75,6 +75,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .date_time_time_zone import DateTimeTimeZone + from .event_message import EventMessage + from .location import Location + from .meeting_request_type import MeetingRequestType + writer.write_bool_value("allowNewTimeProposals", self.allow_new_time_proposals) writer.write_enum_value("meetingRequestType", self.meeting_request_type) writer.write_object_value("previousEndDateTime", self.previous_end_date_time) diff --git a/msgraph_beta/generated/models/event_message_response.py b/msgraph_beta/generated/models/event_message_response.py index 19b5a033c44..b6a55b22e1a 100644 --- a/msgraph_beta/generated/models/event_message_response.py +++ b/msgraph_beta/generated/models/event_message_response.py @@ -60,6 +60,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .event_message import EventMessage + from .response_type import ResponseType + from .time_slot import TimeSlot + writer.write_object_value("proposedNewTime", self.proposed_new_time) writer.write_enum_value("responseType", self.response_type) diff --git a/msgraph_beta/generated/models/exact_match_classification_result.py b/msgraph_beta/generated/models/exact_match_classification_result.py index b7df1828789..2d97a48095e 100644 --- a/msgraph_beta/generated/models/exact_match_classification_result.py +++ b/msgraph_beta/generated/models/exact_match_classification_result.py @@ -59,6 +59,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .classification_error import ClassificationError + from .exact_match_detected_sensitive_content import ExactMatchDetectedSensitiveContent + writer.write_collection_of_object_values("classification", self.classification) writer.write_collection_of_object_values("errors", self.errors) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/exact_match_data_store.py b/msgraph_beta/generated/models/exact_match_data_store.py index 278a7fab109..49302732176 100644 --- a/msgraph_beta/generated/models/exact_match_data_store.py +++ b/msgraph_beta/generated/models/exact_match_data_store.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .exact_match_data_store_base import ExactMatchDataStoreBase + from .exact_match_session import ExactMatchSession + writer.write_collection_of_object_values("sessions", self.sessions) diff --git a/msgraph_beta/generated/models/exact_match_data_store_base.py b/msgraph_beta/generated/models/exact_match_data_store_base.py index 1aa18c450ea..10a1c525690 100644 --- a/msgraph_beta/generated/models/exact_match_data_store_base.py +++ b/msgraph_beta/generated/models/exact_match_data_store_base.py @@ -34,7 +34,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> ExactMatchDataStor if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.exactMatchDataStore".casefold(): @@ -75,6 +76,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .exact_data_match_store_column import ExactDataMatchStoreColumn + from .exact_match_data_store import ExactMatchDataStore + writer.write_collection_of_object_values("columns", self.columns) writer.write_datetime_value("dataLastUpdatedDateTime", self.data_last_updated_date_time) writer.write_str_value("description", self.description) diff --git a/msgraph_beta/generated/models/exact_match_data_store_collection_response.py b/msgraph_beta/generated/models/exact_match_data_store_collection_response.py index fbbc0c037a3..0423927f68f 100644 --- a/msgraph_beta/generated/models/exact_match_data_store_collection_response.py +++ b/msgraph_beta/generated/models/exact_match_data_store_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .exact_match_data_store import ExactMatchDataStore + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/exact_match_detected_sensitive_content.py b/msgraph_beta/generated/models/exact_match_detected_sensitive_content.py index a30a361e979..c2573150066 100644 --- a/msgraph_beta/generated/models/exact_match_detected_sensitive_content.py +++ b/msgraph_beta/generated/models/exact_match_detected_sensitive_content.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .detected_sensitive_content_base import DetectedSensitiveContentBase + from .sensitive_content_location import SensitiveContentLocation + writer.write_collection_of_object_values("matches", self.matches) diff --git a/msgraph_beta/generated/models/exact_match_job_base.py b/msgraph_beta/generated/models/exact_match_job_base.py index 16f9e3bc4e5..86cbd70eed9 100644 --- a/msgraph_beta/generated/models/exact_match_job_base.py +++ b/msgraph_beta/generated/models/exact_match_job_base.py @@ -38,7 +38,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> ExactMatchJobBase: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.exactMatchLookupJob".casefold(): @@ -92,6 +93,12 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .classification_error import ClassificationError + from .entity import Entity + from .exact_match_lookup_job import ExactMatchLookupJob + from .exact_match_session import ExactMatchSession + from .exact_match_session_base import ExactMatchSessionBase + writer.write_datetime_value("completionDateTime", self.completion_date_time) writer.write_datetime_value("creationDateTime", self.creation_date_time) writer.write_object_value("error", self.error) diff --git a/msgraph_beta/generated/models/exact_match_lookup_job.py b/msgraph_beta/generated/models/exact_match_lookup_job.py index 9d4595f98bc..d6dfa83e366 100644 --- a/msgraph_beta/generated/models/exact_match_lookup_job.py +++ b/msgraph_beta/generated/models/exact_match_lookup_job.py @@ -57,6 +57,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .exact_match_job_base import ExactMatchJobBase + from .lookup_result_row import LookupResultRow + writer.write_collection_of_object_values("matchingRows", self.matching_rows) writer.write_str_value("state", self.state) diff --git a/msgraph_beta/generated/models/exact_match_session.py b/msgraph_beta/generated/models/exact_match_session.py index db8544f6ef3..b3aaf60a2ba 100644 --- a/msgraph_beta/generated/models/exact_match_session.py +++ b/msgraph_beta/generated/models/exact_match_session.py @@ -75,6 +75,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .exact_match_session_base import ExactMatchSessionBase + from .exact_match_upload_agent import ExactMatchUploadAgent + writer.write_str_value("checksum", self.checksum) writer.write_str_value("dataUploadURI", self.data_upload_u_r_i) writer.write_collection_of_primitive_values("fields", self.fields) diff --git a/msgraph_beta/generated/models/exact_match_session_base.py b/msgraph_beta/generated/models/exact_match_session_base.py index f6a6e7119a4..fb6e56a9b2a 100644 --- a/msgraph_beta/generated/models/exact_match_session_base.py +++ b/msgraph_beta/generated/models/exact_match_session_base.py @@ -41,7 +41,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> ExactMatchSessionB if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.exactMatchSession".casefold(): @@ -84,6 +85,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .exact_match_job_base import ExactMatchJobBase + from .exact_match_session import ExactMatchSession + writer.write_str_value("dataStoreId", self.data_store_id) writer.write_datetime_value("processingCompletionDateTime", self.processing_completion_date_time) writer.write_int_value("remainingBlockCount", self.remaining_block_count) diff --git a/msgraph_beta/generated/models/exact_match_session_collection_response.py b/msgraph_beta/generated/models/exact_match_session_collection_response.py index 52426bc652d..ce810631546 100644 --- a/msgraph_beta/generated/models/exact_match_session_collection_response.py +++ b/msgraph_beta/generated/models/exact_match_session_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .exact_match_session import ExactMatchSession + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/exact_match_upload_agent.py b/msgraph_beta/generated/models/exact_match_upload_agent.py index c55b9729b19..f07828dfa4f 100644 --- a/msgraph_beta/generated/models/exact_match_upload_agent.py +++ b/msgraph_beta/generated/models/exact_match_upload_agent.py @@ -55,6 +55,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_datetime_value("creationDateTime", self.creation_date_time) writer.write_str_value("description", self.description) diff --git a/msgraph_beta/generated/models/exact_match_upload_agent_collection_response.py b/msgraph_beta/generated/models/exact_match_upload_agent_collection_response.py index 659b7f42efc..5d8a8f8f808 100644 --- a/msgraph_beta/generated/models/exact_match_upload_agent_collection_response.py +++ b/msgraph_beta/generated/models/exact_match_upload_agent_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .exact_match_upload_agent import ExactMatchUploadAgent + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/exchange_protection_policy.py b/msgraph_beta/generated/models/exchange_protection_policy.py index 7825de1ed85..a828e9647f4 100644 --- a/msgraph_beta/generated/models/exchange_protection_policy.py +++ b/msgraph_beta/generated/models/exchange_protection_policy.py @@ -66,6 +66,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .mailbox_protection_rule import MailboxProtectionRule + from .mailbox_protection_unit import MailboxProtectionUnit + from .mailbox_protection_units_bulk_addition_job import MailboxProtectionUnitsBulkAdditionJob + from .protection_policy_base import ProtectionPolicyBase + writer.write_collection_of_object_values("mailboxInclusionRules", self.mailbox_inclusion_rules) writer.write_collection_of_object_values("mailboxProtectionUnits", self.mailbox_protection_units) writer.write_collection_of_object_values("mailboxProtectionUnitsBulkAdditionJobs", self.mailbox_protection_units_bulk_addition_jobs) diff --git a/msgraph_beta/generated/models/exchange_protection_policy_collection_response.py b/msgraph_beta/generated/models/exchange_protection_policy_collection_response.py index 865ecb3d032..918da24128a 100644 --- a/msgraph_beta/generated/models/exchange_protection_policy_collection_response.py +++ b/msgraph_beta/generated/models/exchange_protection_policy_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .exchange_protection_policy import ExchangeProtectionPolicy + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/exchange_restore_session.py b/msgraph_beta/generated/models/exchange_restore_session.py index f99084d8200..710e5e31211 100644 --- a/msgraph_beta/generated/models/exchange_restore_session.py +++ b/msgraph_beta/generated/models/exchange_restore_session.py @@ -6,6 +6,7 @@ if TYPE_CHECKING: from .granular_mailbox_restore_artifact import GranularMailboxRestoreArtifact from .mailbox_restore_artifact import MailboxRestoreArtifact + from .mailbox_restore_artifacts_bulk_addition_request import MailboxRestoreArtifactsBulkAdditionRequest from .restore_session_base import RestoreSessionBase from .restore_session_base import RestoreSessionBase @@ -18,6 +19,8 @@ class ExchangeRestoreSession(RestoreSessionBase): granular_mailbox_restore_artifacts: Optional[List[GranularMailboxRestoreArtifact]] = None # A collection of restore points and destination details that can be used to restore Exchange mailboxes. mailbox_restore_artifacts: Optional[List[MailboxRestoreArtifact]] = None + # The mailboxRestoreArtifactsBulkAdditionRequests property + mailbox_restore_artifacts_bulk_addition_requests: Optional[List[MailboxRestoreArtifactsBulkAdditionRequest]] = None @staticmethod def create_from_discriminator_value(parse_node: ParseNode) -> ExchangeRestoreSession: @@ -37,15 +40,18 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: """ from .granular_mailbox_restore_artifact import GranularMailboxRestoreArtifact from .mailbox_restore_artifact import MailboxRestoreArtifact + from .mailbox_restore_artifacts_bulk_addition_request import MailboxRestoreArtifactsBulkAdditionRequest from .restore_session_base import RestoreSessionBase from .granular_mailbox_restore_artifact import GranularMailboxRestoreArtifact from .mailbox_restore_artifact import MailboxRestoreArtifact + from .mailbox_restore_artifacts_bulk_addition_request import MailboxRestoreArtifactsBulkAdditionRequest from .restore_session_base import RestoreSessionBase fields: Dict[str, Callable[[Any], None]] = { "granularMailboxRestoreArtifacts": lambda n : setattr(self, 'granular_mailbox_restore_artifacts', n.get_collection_of_object_values(GranularMailboxRestoreArtifact)), "mailboxRestoreArtifacts": lambda n : setattr(self, 'mailbox_restore_artifacts', n.get_collection_of_object_values(MailboxRestoreArtifact)), + "mailboxRestoreArtifactsBulkAdditionRequests": lambda n : setattr(self, 'mailbox_restore_artifacts_bulk_addition_requests', n.get_collection_of_object_values(MailboxRestoreArtifactsBulkAdditionRequest)), } super_fields = super().get_field_deserializers() fields.update(super_fields) @@ -60,7 +66,13 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .granular_mailbox_restore_artifact import GranularMailboxRestoreArtifact + from .mailbox_restore_artifact import MailboxRestoreArtifact + from .mailbox_restore_artifacts_bulk_addition_request import MailboxRestoreArtifactsBulkAdditionRequest + from .restore_session_base import RestoreSessionBase + writer.write_collection_of_object_values("granularMailboxRestoreArtifacts", self.granular_mailbox_restore_artifacts) writer.write_collection_of_object_values("mailboxRestoreArtifacts", self.mailbox_restore_artifacts) + writer.write_collection_of_object_values("mailboxRestoreArtifactsBulkAdditionRequests", self.mailbox_restore_artifacts_bulk_addition_requests) diff --git a/msgraph_beta/generated/models/exchange_restore_session_collection_response.py b/msgraph_beta/generated/models/exchange_restore_session_collection_response.py index d14cf06d774..a448acc2896 100644 --- a/msgraph_beta/generated/models/exchange_restore_session_collection_response.py +++ b/msgraph_beta/generated/models/exchange_restore_session_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .exchange_restore_session import ExchangeRestoreSession + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/exclude_target.py b/msgraph_beta/generated/models/exclude_target.py index ca70226c3f2..44d3b347a57 100644 --- a/msgraph_beta/generated/models/exclude_target.py +++ b/msgraph_beta/generated/models/exclude_target.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .authentication_method_target_type import AuthenticationMethodTargetType + writer.write_str_value("id", self.id) writer.write_str_value("@odata.type", self.odata_type) writer.write_enum_value("targetType", self.target_type) diff --git a/msgraph_beta/generated/models/exclusion_group_assignment_target.py b/msgraph_beta/generated/models/exclusion_group_assignment_target.py index f6650e36243..af13b07c80c 100644 --- a/msgraph_beta/generated/models/exclusion_group_assignment_target.py +++ b/msgraph_beta/generated/models/exclusion_group_assignment_target.py @@ -51,5 +51,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .group_assignment_target import GroupAssignmentTarget + diff --git a/msgraph_beta/generated/models/expiration_pattern.py b/msgraph_beta/generated/models/expiration_pattern.py index ba8372109d0..5a7aae85be7 100644 --- a/msgraph_beta/generated/models/expiration_pattern.py +++ b/msgraph_beta/generated/models/expiration_pattern.py @@ -60,6 +60,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .expiration_pattern_type import ExpirationPatternType + writer.write_timedelta_value("duration", self.duration) writer.write_datetime_value("endDateTime", self.end_date_time) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/expression_evaluation_details.py b/msgraph_beta/generated/models/expression_evaluation_details.py index 8dfd0092ffd..5b8de723b5e 100644 --- a/msgraph_beta/generated/models/expression_evaluation_details.py +++ b/msgraph_beta/generated/models/expression_evaluation_details.py @@ -62,6 +62,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .property_to_evaluate import PropertyToEvaluate + writer.write_str_value("expression", self.expression) writer.write_collection_of_object_values("expressionEvaluationDetails", self.expression_evaluation_details) writer.write_bool_value("expressionResult", self.expression_result) diff --git a/msgraph_beta/generated/models/expression_input_object.py b/msgraph_beta/generated/models/expression_input_object.py index 7f284bbd1e8..1569fc19df7 100644 --- a/msgraph_beta/generated/models/expression_input_object.py +++ b/msgraph_beta/generated/models/expression_input_object.py @@ -59,6 +59,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .object_definition import ObjectDefinition + from .string_key_object_value_pair import StringKeyObjectValuePair + writer.write_object_value("definition", self.definition) writer.write_str_value("@odata.type", self.odata_type) writer.write_collection_of_object_values("properties", self.properties) diff --git a/msgraph_beta/generated/models/extension.py b/msgraph_beta/generated/models/extension.py index 8029069f84b..c2cc32e2c61 100644 --- a/msgraph_beta/generated/models/extension.py +++ b/msgraph_beta/generated/models/extension.py @@ -25,7 +25,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> Extension: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.openTypeExtension".casefold(): @@ -66,5 +67,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .open_type_extension import OpenTypeExtension + from .person_extension import PersonExtension + diff --git a/msgraph_beta/generated/models/extension_collection_response.py b/msgraph_beta/generated/models/extension_collection_response.py index 5ca5478d76f..acf26857ff5 100644 --- a/msgraph_beta/generated/models/extension_collection_response.py +++ b/msgraph_beta/generated/models/extension_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .extension import Extension + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/extension_property.py b/msgraph_beta/generated/models/extension_property.py index ca8fd4cf473..91c1a057714 100644 --- a/msgraph_beta/generated/models/extension_property.py +++ b/msgraph_beta/generated/models/extension_property.py @@ -66,6 +66,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .directory_object import DirectoryObject + writer.write_str_value("appDisplayName", self.app_display_name) writer.write_str_value("dataType", self.data_type) writer.write_bool_value("isMultiValued", self.is_multi_valued) diff --git a/msgraph_beta/generated/models/extension_property_collection_response.py b/msgraph_beta/generated/models/extension_property_collection_response.py index 61326a88971..da5bc5496dc 100644 --- a/msgraph_beta/generated/models/extension_property_collection_response.py +++ b/msgraph_beta/generated/models/extension_property_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .extension_property import ExtensionProperty + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/external.py b/msgraph_beta/generated/models/external.py index 70e04b26f7a..7060f601ec5 100644 --- a/msgraph_beta/generated/models/external.py +++ b/msgraph_beta/generated/models/external.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .external_connection import ExternalConnection + writer.write_collection_of_object_values("connections", self.connections) diff --git a/msgraph_beta/generated/models/external_authentication_method_configuration.py b/msgraph_beta/generated/models/external_authentication_method_configuration.py index cb6949a90b3..af1bed007c2 100644 --- a/msgraph_beta/generated/models/external_authentication_method_configuration.py +++ b/msgraph_beta/generated/models/external_authentication_method_configuration.py @@ -66,6 +66,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .authentication_method_configuration import AuthenticationMethodConfiguration + from .authentication_method_target import AuthenticationMethodTarget + from .open_id_connect_setting import OpenIdConnectSetting + writer.write_str_value("appId", self.app_id) writer.write_str_value("displayName", self.display_name) writer.write_collection_of_object_values("includeTargets", self.include_targets) diff --git a/msgraph_beta/generated/models/external_connection.py b/msgraph_beta/generated/models/external_connection.py index 88248dd72ea..6942d27aa10 100644 --- a/msgraph_beta/generated/models/external_connection.py +++ b/msgraph_beta/generated/models/external_connection.py @@ -90,6 +90,14 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .configuration import Configuration + from .connection_operation import ConnectionOperation + from .connection_state import ConnectionState + from .entity import Entity + from .external_group import ExternalGroup + from .external_item import ExternalItem + from .schema import Schema + writer.write_object_value("configuration", self.configuration) writer.write_str_value("description", self.description) writer.write_collection_of_object_values("groups", self.groups) diff --git a/msgraph_beta/generated/models/external_connectors/acl.py b/msgraph_beta/generated/models/external_connectors/acl.py index d1376b82ccb..57d18d74078 100644 --- a/msgraph_beta/generated/models/external_connectors/acl.py +++ b/msgraph_beta/generated/models/external_connectors/acl.py @@ -68,6 +68,10 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .access_type import AccessType + from .acl_type import AclType + from .identity_source_type import IdentitySourceType + writer.write_enum_value("accessType", self.access_type) writer.write_enum_value("identitySource", self.identity_source) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/external_connectors/activity_settings.py b/msgraph_beta/generated/models/external_connectors/activity_settings.py index 3ace9fef435..44901f5b86a 100644 --- a/msgraph_beta/generated/models/external_connectors/activity_settings.py +++ b/msgraph_beta/generated/models/external_connectors/activity_settings.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .url_to_item_resolver_base import UrlToItemResolverBase + writer.write_str_value("@odata.type", self.odata_type) writer.write_collection_of_object_values("urlToItemResolvers", self.url_to_item_resolvers) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/external_connectors/compliance_settings.py b/msgraph_beta/generated/models/external_connectors/compliance_settings.py index 4219161efed..92cbfede29a 100644 --- a/msgraph_beta/generated/models/external_connectors/compliance_settings.py +++ b/msgraph_beta/generated/models/external_connectors/compliance_settings.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .display_template import DisplayTemplate + writer.write_collection_of_object_values("eDiscoveryResultTemplates", self.e_discovery_result_templates) writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/external_connectors/connection_operation.py b/msgraph_beta/generated/models/external_connectors/connection_operation.py index 3bc30817476..9e705eacb39 100644 --- a/msgraph_beta/generated/models/external_connectors/connection_operation.py +++ b/msgraph_beta/generated/models/external_connectors/connection_operation.py @@ -60,6 +60,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + from ..public_error import PublicError + from .connection_operation_status import ConnectionOperationStatus + writer.write_object_value("error", self.error) writer.write_enum_value("status", self.status) diff --git a/msgraph_beta/generated/models/external_connectors/connection_operation_collection_response.py b/msgraph_beta/generated/models/external_connectors/connection_operation_collection_response.py index 63683265c87..7d195c838f1 100644 --- a/msgraph_beta/generated/models/external_connectors/connection_operation_collection_response.py +++ b/msgraph_beta/generated/models/external_connectors/connection_operation_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .connection_operation import ConnectionOperation + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/external_connectors/connection_quota.py b/msgraph_beta/generated/models/external_connectors/connection_quota.py index f40dea0e9a1..71b88c9885b 100644 --- a/msgraph_beta/generated/models/external_connectors/connection_quota.py +++ b/msgraph_beta/generated/models/external_connectors/connection_quota.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + writer.write_int_value("itemsRemaining", self.items_remaining) diff --git a/msgraph_beta/generated/models/external_connectors/display_template.py b/msgraph_beta/generated/models/external_connectors/display_template.py index 0e1951efb79..a6e9ad9b12d 100644 --- a/msgraph_beta/generated/models/external_connectors/display_template.py +++ b/msgraph_beta/generated/models/external_connectors/display_template.py @@ -59,6 +59,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .property_rule import PropertyRule + writer.write_str_value("id", self.id) writer.write_str_value("@odata.type", self.odata_type) writer.write_int_value("priority", self.priority) diff --git a/msgraph_beta/generated/models/external_connectors/external.py b/msgraph_beta/generated/models/external_connectors/external.py index 237827bc326..8d7a3330daf 100644 --- a/msgraph_beta/generated/models/external_connectors/external.py +++ b/msgraph_beta/generated/models/external_connectors/external.py @@ -65,6 +65,10 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ..authorization_system import AuthorizationSystem + from ..industry_data.industry_data_root import IndustryDataRoot + from .external_connection import ExternalConnection + writer.write_collection_of_object_values("authorizationSystems", self.authorization_systems) writer.write_collection_of_object_values("connections", self.connections) writer.write_object_value("industryData", self.industry_data) diff --git a/msgraph_beta/generated/models/external_connectors/external_activity.py b/msgraph_beta/generated/models/external_connectors/external_activity.py index cf3dee82d79..e8a97790172 100644 --- a/msgraph_beta/generated/models/external_connectors/external_activity.py +++ b/msgraph_beta/generated/models/external_connectors/external_activity.py @@ -33,7 +33,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> ExternalActivity: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.externalConnectors.externalActivityResult".casefold(): @@ -75,6 +76,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + from .external_activity_result import ExternalActivityResult + from .external_activity_type import ExternalActivityType + from .identity import Identity + writer.write_object_value("performedBy", self.performed_by) writer.write_datetime_value("startDateTime", self.start_date_time) writer.write_enum_value("type", self.type) diff --git a/msgraph_beta/generated/models/external_connectors/external_activity_collection_response.py b/msgraph_beta/generated/models/external_connectors/external_activity_collection_response.py index 2d34bfe45e2..05403d6cdc0 100644 --- a/msgraph_beta/generated/models/external_connectors/external_activity_collection_response.py +++ b/msgraph_beta/generated/models/external_connectors/external_activity_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .external_activity import ExternalActivity + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/external_connectors/external_activity_result.py b/msgraph_beta/generated/models/external_connectors/external_activity_result.py index 84089ea34c2..555495e7607 100644 --- a/msgraph_beta/generated/models/external_connectors/external_activity_result.py +++ b/msgraph_beta/generated/models/external_connectors/external_activity_result.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..public_error import PublicError + from .external_activity import ExternalActivity + writer.write_object_value("error", self.error) diff --git a/msgraph_beta/generated/models/external_connectors/external_connection.py b/msgraph_beta/generated/models/external_connectors/external_connection.py index beeefcf5c39..fa4f039bbed 100644 --- a/msgraph_beta/generated/models/external_connectors/external_connection.py +++ b/msgraph_beta/generated/models/external_connectors/external_connection.py @@ -126,6 +126,19 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + from .activity_settings import ActivitySettings + from .compliance_settings import ComplianceSettings + from .configuration import Configuration + from .connection_operation import ConnectionOperation + from .connection_quota import ConnectionQuota + from .connection_state import ConnectionState + from .content_experience_type import ContentExperienceType + from .external_group import ExternalGroup + from .external_item import ExternalItem + from .schema import Schema + from .search_settings import SearchSettings + writer.write_object_value("activitySettings", self.activity_settings) writer.write_object_value("complianceSettings", self.compliance_settings) writer.write_object_value("configuration", self.configuration) diff --git a/msgraph_beta/generated/models/external_connectors/external_connection_collection_response.py b/msgraph_beta/generated/models/external_connectors/external_connection_collection_response.py index abbb7827303..9f3da3f59d1 100644 --- a/msgraph_beta/generated/models/external_connectors/external_connection_collection_response.py +++ b/msgraph_beta/generated/models/external_connectors/external_connection_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .external_connection import ExternalConnection + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/external_connectors/external_group.py b/msgraph_beta/generated/models/external_connectors/external_group.py index 5971a788e17..0083633bd0e 100644 --- a/msgraph_beta/generated/models/external_connectors/external_group.py +++ b/msgraph_beta/generated/models/external_connectors/external_group.py @@ -60,6 +60,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + from .identity import Identity + writer.write_str_value("description", self.description) writer.write_str_value("displayName", self.display_name) writer.write_collection_of_object_values("members", self.members) diff --git a/msgraph_beta/generated/models/external_connectors/external_group_collection_response.py b/msgraph_beta/generated/models/external_connectors/external_group_collection_response.py index 5c672261b98..8b9f1b108a5 100644 --- a/msgraph_beta/generated/models/external_connectors/external_group_collection_response.py +++ b/msgraph_beta/generated/models/external_connectors/external_group_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .external_group import ExternalGroup + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/external_connectors/external_item.py b/msgraph_beta/generated/models/external_connectors/external_item.py index ac5e5ccea56..af406d62f88 100644 --- a/msgraph_beta/generated/models/external_connectors/external_item.py +++ b/msgraph_beta/generated/models/external_connectors/external_item.py @@ -72,6 +72,12 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + from .acl import Acl + from .external_activity import ExternalActivity + from .external_item_content import ExternalItemContent + from .properties import Properties + writer.write_collection_of_object_values("acl", self.acl) writer.write_collection_of_object_values("activities", self.activities) writer.write_object_value("content", self.content) diff --git a/msgraph_beta/generated/models/external_connectors/external_item_collection_response.py b/msgraph_beta/generated/models/external_connectors/external_item_collection_response.py index 656f88ddc3d..4e1a0d43ffb 100644 --- a/msgraph_beta/generated/models/external_connectors/external_item_collection_response.py +++ b/msgraph_beta/generated/models/external_connectors/external_item_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .external_item import ExternalItem + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/external_connectors/external_item_content.py b/msgraph_beta/generated/models/external_connectors/external_item_content.py index 683f1de7c8a..5a404843beb 100644 --- a/msgraph_beta/generated/models/external_connectors/external_item_content.py +++ b/msgraph_beta/generated/models/external_connectors/external_item_content.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .external_item_content_type import ExternalItemContentType + writer.write_str_value("@odata.type", self.odata_type) writer.write_enum_value("type", self.type) writer.write_str_value("value", self.value) diff --git a/msgraph_beta/generated/models/external_connectors/identity.py b/msgraph_beta/generated/models/external_connectors/identity.py index 7bb29f28c3d..5b60ac214d8 100644 --- a/msgraph_beta/generated/models/external_connectors/identity.py +++ b/msgraph_beta/generated/models/external_connectors/identity.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + from .identity_type import IdentityType + writer.write_enum_value("type", self.type) diff --git a/msgraph_beta/generated/models/external_connectors/identity_collection_response.py b/msgraph_beta/generated/models/external_connectors/identity_collection_response.py index 294f654046f..d06dd4c089e 100644 --- a/msgraph_beta/generated/models/external_connectors/identity_collection_response.py +++ b/msgraph_beta/generated/models/external_connectors/identity_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .identity import Identity + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/external_connectors/item_id_resolver.py b/msgraph_beta/generated/models/external_connectors/item_id_resolver.py index 851b34b2964..adb5fc01651 100644 --- a/msgraph_beta/generated/models/external_connectors/item_id_resolver.py +++ b/msgraph_beta/generated/models/external_connectors/item_id_resolver.py @@ -57,6 +57,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .url_match_info import UrlMatchInfo + from .url_to_item_resolver_base import UrlToItemResolverBase + writer.write_str_value("itemId", self.item_id) writer.write_object_value("urlMatchInfo", self.url_match_info) diff --git a/msgraph_beta/generated/models/external_connectors/property_.py b/msgraph_beta/generated/models/external_connectors/property_.py index 1e9d13da1ee..fc13f8faa80 100644 --- a/msgraph_beta/generated/models/external_connectors/property_.py +++ b/msgraph_beta/generated/models/external_connectors/property_.py @@ -86,6 +86,10 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .label import Label + from .property_type import PropertyType + from .ranking_hint import RankingHint + writer.write_collection_of_primitive_values("aliases", self.aliases) writer.write_bool_value("isExactMatchRequired", self.is_exact_match_required) writer.write_bool_value("isQueryable", self.is_queryable) diff --git a/msgraph_beta/generated/models/external_connectors/property_rule.py b/msgraph_beta/generated/models/external_connectors/property_rule.py index 7c446041bc2..cd72e3177a1 100644 --- a/msgraph_beta/generated/models/external_connectors/property_rule.py +++ b/msgraph_beta/generated/models/external_connectors/property_rule.py @@ -65,6 +65,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ..binary_operator import BinaryOperator + from .rule_operation import RuleOperation + writer.write_str_value("@odata.type", self.odata_type) writer.write_enum_value("operation", self.operation) writer.write_str_value("property", self.property_) diff --git a/msgraph_beta/generated/models/external_connectors/ranking_hint.py b/msgraph_beta/generated/models/external_connectors/ranking_hint.py index d0aae0619e2..aa91494e8c2 100644 --- a/msgraph_beta/generated/models/external_connectors/ranking_hint.py +++ b/msgraph_beta/generated/models/external_connectors/ranking_hint.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .importance_score import ImportanceScore + writer.write_enum_value("importanceScore", self.importance_score) writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/external_connectors/schema.py b/msgraph_beta/generated/models/external_connectors/schema.py index 1ea6662ff36..25a895cc086 100644 --- a/msgraph_beta/generated/models/external_connectors/schema.py +++ b/msgraph_beta/generated/models/external_connectors/schema.py @@ -57,6 +57,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + from .property_ import Property_ + writer.write_str_value("baseType", self.base_type) writer.write_collection_of_object_values("properties", self.properties) diff --git a/msgraph_beta/generated/models/external_connectors/search_settings.py b/msgraph_beta/generated/models/external_connectors/search_settings.py index 5470641feb9..8a3940e24da 100644 --- a/msgraph_beta/generated/models/external_connectors/search_settings.py +++ b/msgraph_beta/generated/models/external_connectors/search_settings.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .display_template import DisplayTemplate + writer.write_str_value("@odata.type", self.odata_type) writer.write_collection_of_object_values("searchResultTemplates", self.search_result_templates) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/external_connectors/url_to_item_resolver_base.py b/msgraph_beta/generated/models/external_connectors/url_to_item_resolver_base.py index f891b3a38d8..589164dc9a4 100644 --- a/msgraph_beta/generated/models/external_connectors/url_to_item_resolver_base.py +++ b/msgraph_beta/generated/models/external_connectors/url_to_item_resolver_base.py @@ -29,7 +29,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> UrlToItemResolverB if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.externalConnectors.itemIdResolver".casefold(): @@ -61,6 +62,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .item_id_resolver import ItemIdResolver + writer.write_str_value("@odata.type", self.odata_type) writer.write_int_value("priority", self.priority) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/external_domain_federation.py b/msgraph_beta/generated/models/external_domain_federation.py index 52ca616cafc..58adfcc9f05 100644 --- a/msgraph_beta/generated/models/external_domain_federation.py +++ b/msgraph_beta/generated/models/external_domain_federation.py @@ -57,6 +57,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .identity_source import IdentitySource + writer.write_str_value("displayName", self.display_name) writer.write_str_value("domainName", self.domain_name) writer.write_str_value("issuerUri", self.issuer_uri) diff --git a/msgraph_beta/generated/models/external_domain_name.py b/msgraph_beta/generated/models/external_domain_name.py index f2a1890615e..bbd76af4af4 100644 --- a/msgraph_beta/generated/models/external_domain_name.py +++ b/msgraph_beta/generated/models/external_domain_name.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + diff --git a/msgraph_beta/generated/models/external_group.py b/msgraph_beta/generated/models/external_group.py index 80917d446f6..162efd7429c 100644 --- a/msgraph_beta/generated/models/external_group.py +++ b/msgraph_beta/generated/models/external_group.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_str_value("description", self.description) writer.write_str_value("displayName", self.display_name) diff --git a/msgraph_beta/generated/models/external_identities_policy.py b/msgraph_beta/generated/models/external_identities_policy.py index 8ba73d3cf2b..443a257d34d 100644 --- a/msgraph_beta/generated/models/external_identities_policy.py +++ b/msgraph_beta/generated/models/external_identities_policy.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .policy_base import PolicyBase + writer.write_bool_value("allowDeletedIdentitiesDataRemoval", self.allow_deleted_identities_data_removal) writer.write_bool_value("allowExternalIdentitiesToLeave", self.allow_external_identities_to_leave) diff --git a/msgraph_beta/generated/models/external_item.py b/msgraph_beta/generated/models/external_item.py index 26f0634c261..5ff04ed02b7 100644 --- a/msgraph_beta/generated/models/external_item.py +++ b/msgraph_beta/generated/models/external_item.py @@ -66,6 +66,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .acl import Acl + from .entity import Entity + from .external_item_content import ExternalItemContent + from .properties import Properties + writer.write_collection_of_object_values("acl", self.acl) writer.write_object_value("content", self.content) writer.write_object_value("properties", self.properties) diff --git a/msgraph_beta/generated/models/external_item_content.py b/msgraph_beta/generated/models/external_item_content.py index e2acd855257..51afa8e0d31 100644 --- a/msgraph_beta/generated/models/external_item_content.py +++ b/msgraph_beta/generated/models/external_item_content.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .external_item_content_type import ExternalItemContentType + writer.write_str_value("@odata.type", self.odata_type) writer.write_enum_value("type", self.type) writer.write_str_value("value", self.value) diff --git a/msgraph_beta/generated/models/external_meeting_registrant.py b/msgraph_beta/generated/models/external_meeting_registrant.py index 1d17a42c9f8..bc263ccc345 100644 --- a/msgraph_beta/generated/models/external_meeting_registrant.py +++ b/msgraph_beta/generated/models/external_meeting_registrant.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .meeting_registrant_base import MeetingRegistrantBase + writer.write_str_value("tenantId", self.tenant_id) writer.write_str_value("userId", self.user_id) diff --git a/msgraph_beta/generated/models/external_meeting_registration.py b/msgraph_beta/generated/models/external_meeting_registration.py index c738aa3ede2..9a146286e51 100644 --- a/msgraph_beta/generated/models/external_meeting_registration.py +++ b/msgraph_beta/generated/models/external_meeting_registration.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .meeting_registration_base import MeetingRegistrationBase + diff --git a/msgraph_beta/generated/models/external_profile.py b/msgraph_beta/generated/models/external_profile.py index 0f089c04fe4..75eaef974d6 100644 --- a/msgraph_beta/generated/models/external_profile.py +++ b/msgraph_beta/generated/models/external_profile.py @@ -49,7 +49,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> ExternalProfile: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.externalUserProfile".casefold(): @@ -103,6 +104,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .directory_object import DirectoryObject + from .external_user_profile import ExternalUserProfile + from .pending_external_user_profile import PendingExternalUserProfile + from .physical_office_address import PhysicalOfficeAddress + writer.write_object_value("address", self.address) writer.write_str_value("companyName", self.company_name) writer.write_str_value("createdBy", self.created_by) diff --git a/msgraph_beta/generated/models/external_sponsors.py b/msgraph_beta/generated/models/external_sponsors.py index 55155bee913..37607cbcf60 100644 --- a/msgraph_beta/generated/models/external_sponsors.py +++ b/msgraph_beta/generated/models/external_sponsors.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .user_set import UserSet + diff --git a/msgraph_beta/generated/models/external_user_profile.py b/msgraph_beta/generated/models/external_user_profile.py index 2fd855d680f..6fd7d84b3a4 100644 --- a/msgraph_beta/generated/models/external_user_profile.py +++ b/msgraph_beta/generated/models/external_user_profile.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .external_profile import ExternalProfile + diff --git a/msgraph_beta/generated/models/external_user_profile_collection_response.py b/msgraph_beta/generated/models/external_user_profile_collection_response.py index f35e63742f5..ec8168e319c 100644 --- a/msgraph_beta/generated/models/external_user_profile_collection_response.py +++ b/msgraph_beta/generated/models/external_user_profile_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .external_user_profile import ExternalUserProfile + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/external_users_self_service_sign_up_events_flow.py b/msgraph_beta/generated/models/external_users_self_service_sign_up_events_flow.py index 4950cbdecca..a41670ce930 100644 --- a/msgraph_beta/generated/models/external_users_self_service_sign_up_events_flow.py +++ b/msgraph_beta/generated/models/external_users_self_service_sign_up_events_flow.py @@ -84,6 +84,14 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .authentication_events_flow import AuthenticationEventsFlow + from .on_attribute_collection_handler import OnAttributeCollectionHandler + from .on_attribute_collection_start_handler import OnAttributeCollectionStartHandler + from .on_attribute_collection_submit_handler import OnAttributeCollectionSubmitHandler + from .on_authentication_method_load_start_handler import OnAuthenticationMethodLoadStartHandler + from .on_interactive_auth_flow_start_handler import OnInteractiveAuthFlowStartHandler + from .on_user_create_start_handler import OnUserCreateStartHandler + writer.write_object_value("onAttributeCollection", self.on_attribute_collection) writer.write_object_value("onAttributeCollectionStart", self.on_attribute_collection_start) writer.write_object_value("onAttributeCollectionSubmit", self.on_attribute_collection_submit) diff --git a/msgraph_beta/generated/models/external_users_self_service_sign_up_events_flow_collection_response.py b/msgraph_beta/generated/models/external_users_self_service_sign_up_events_flow_collection_response.py index 074dbd7490f..4c18326b667 100644 --- a/msgraph_beta/generated/models/external_users_self_service_sign_up_events_flow_collection_response.py +++ b/msgraph_beta/generated/models/external_users_self_service_sign_up_events_flow_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .external_users_self_service_sign_up_events_flow import ExternalUsersSelfServiceSignUpEventsFlow + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/externally_accessible_aws_storage_bucket_finding.py b/msgraph_beta/generated/models/externally_accessible_aws_storage_bucket_finding.py index 42b355a0b3e..0cab801b26f 100644 --- a/msgraph_beta/generated/models/externally_accessible_aws_storage_bucket_finding.py +++ b/msgraph_beta/generated/models/externally_accessible_aws_storage_bucket_finding.py @@ -66,6 +66,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .accounts_with_access import AccountsWithAccess + from .authorization_system_resource import AuthorizationSystemResource + from .aws_access_type import AwsAccessType + from .finding import Finding + writer.write_enum_value("accessibility", self.accessibility) writer.write_object_value("accountsWithAccess", self.accounts_with_access) writer.write_object_value("storageBucket", self.storage_bucket) diff --git a/msgraph_beta/generated/models/externally_accessible_azure_blob_container_finding.py b/msgraph_beta/generated/models/externally_accessible_azure_blob_container_finding.py index 366c7e6471e..43a77ce5a1b 100644 --- a/msgraph_beta/generated/models/externally_accessible_azure_blob_container_finding.py +++ b/msgraph_beta/generated/models/externally_accessible_azure_blob_container_finding.py @@ -66,6 +66,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .authorization_system_resource import AuthorizationSystemResource + from .azure_access_type import AzureAccessType + from .azure_encryption import AzureEncryption + from .finding import Finding + writer.write_enum_value("accessibility", self.accessibility) writer.write_enum_value("encryptionManagedBy", self.encryption_managed_by) writer.write_object_value("storageAccount", self.storage_account) diff --git a/msgraph_beta/generated/models/externally_accessible_gcp_storage_bucket_finding.py b/msgraph_beta/generated/models/externally_accessible_gcp_storage_bucket_finding.py index b4b656dc7ca..c8b69749641 100644 --- a/msgraph_beta/generated/models/externally_accessible_gcp_storage_bucket_finding.py +++ b/msgraph_beta/generated/models/externally_accessible_gcp_storage_bucket_finding.py @@ -66,6 +66,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .authorization_system_resource import AuthorizationSystemResource + from .finding import Finding + from .gcp_access_type import GcpAccessType + from .gcp_encryption import GcpEncryption + writer.write_enum_value("accessibility", self.accessibility) writer.write_enum_value("encryptionManagedBy", self.encryption_managed_by) writer.write_object_value("storageBucket", self.storage_bucket) diff --git a/msgraph_beta/generated/models/extract_alpha_transformation.py b/msgraph_beta/generated/models/extract_alpha_transformation.py index 7f8c074e3a1..5df20e4e1e4 100644 --- a/msgraph_beta/generated/models/extract_alpha_transformation.py +++ b/msgraph_beta/generated/models/extract_alpha_transformation.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .custom_claim_transformation import CustomClaimTransformation + from .transformation_extract_type import TransformationExtractType + writer.write_enum_value("type", self.type) diff --git a/msgraph_beta/generated/models/extract_mail_prefix_transformation.py b/msgraph_beta/generated/models/extract_mail_prefix_transformation.py index ef2310b6afb..f719640ef9e 100644 --- a/msgraph_beta/generated/models/extract_mail_prefix_transformation.py +++ b/msgraph_beta/generated/models/extract_mail_prefix_transformation.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .custom_claim_transformation import CustomClaimTransformation + diff --git a/msgraph_beta/generated/models/extract_number_transformation.py b/msgraph_beta/generated/models/extract_number_transformation.py index cd14b783488..e92826f07ba 100644 --- a/msgraph_beta/generated/models/extract_number_transformation.py +++ b/msgraph_beta/generated/models/extract_number_transformation.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .custom_claim_transformation import CustomClaimTransformation + from .transformation_extract_type import TransformationExtractType + writer.write_enum_value("type", self.type) diff --git a/msgraph_beta/generated/models/extract_sensitivity_labels_result.py b/msgraph_beta/generated/models/extract_sensitivity_labels_result.py index c699bea4d35..ced14ceca6f 100644 --- a/msgraph_beta/generated/models/extract_sensitivity_labels_result.py +++ b/msgraph_beta/generated/models/extract_sensitivity_labels_result.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .sensitivity_label_assignment import SensitivityLabelAssignment + writer.write_collection_of_object_values("labels", self.labels) writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/extract_transformation.py b/msgraph_beta/generated/models/extract_transformation.py index 7f01c3f4cd5..90c29dd1ecc 100644 --- a/msgraph_beta/generated/models/extract_transformation.py +++ b/msgraph_beta/generated/models/extract_transformation.py @@ -57,6 +57,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .custom_claim_transformation import CustomClaimTransformation + writer.write_str_value("type", self.type) writer.write_str_value("value", self.value) writer.write_str_value("value2", self.value2) diff --git a/msgraph_beta/generated/models/feature_rollout_policy.py b/msgraph_beta/generated/models/feature_rollout_policy.py index c74b702a159..951f80b16cb 100644 --- a/msgraph_beta/generated/models/feature_rollout_policy.py +++ b/msgraph_beta/generated/models/feature_rollout_policy.py @@ -72,6 +72,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .directory_object import DirectoryObject + from .entity import Entity + from .staged_feature_name import StagedFeatureName + writer.write_collection_of_object_values("appliesTo", self.applies_to) writer.write_str_value("description", self.description) writer.write_str_value("displayName", self.display_name) diff --git a/msgraph_beta/generated/models/feature_rollout_policy_collection_response.py b/msgraph_beta/generated/models/feature_rollout_policy_collection_response.py index b417b8ed647..2b0328c6e02 100644 --- a/msgraph_beta/generated/models/feature_rollout_policy_collection_response.py +++ b/msgraph_beta/generated/models/feature_rollout_policy_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .feature_rollout_policy import FeatureRolloutPolicy + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/feature_target.py b/msgraph_beta/generated/models/feature_target.py index 8e62e3bebca..69912ba00ed 100644 --- a/msgraph_beta/generated/models/feature_target.py +++ b/msgraph_beta/generated/models/feature_target.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .feature_target_type import FeatureTargetType + writer.write_str_value("id", self.id) writer.write_str_value("@odata.type", self.odata_type) writer.write_enum_value("targetType", self.target_type) diff --git a/msgraph_beta/generated/models/federated_identity_credential.py b/msgraph_beta/generated/models/federated_identity_credential.py index ad79e85df18..0d31a6d51e2 100644 --- a/msgraph_beta/generated/models/federated_identity_credential.py +++ b/msgraph_beta/generated/models/federated_identity_credential.py @@ -63,6 +63,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_collection_of_primitive_values("audiences", self.audiences) writer.write_str_value("description", self.description) writer.write_str_value("issuer", self.issuer) diff --git a/msgraph_beta/generated/models/federated_identity_credential_collection_response.py b/msgraph_beta/generated/models/federated_identity_credential_collection_response.py index 73daa12f0bf..a0148440b32 100644 --- a/msgraph_beta/generated/models/federated_identity_credential_collection_response.py +++ b/msgraph_beta/generated/models/federated_identity_credential_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .federated_identity_credential import FederatedIdentityCredential + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/federated_token_validation_policy.py b/msgraph_beta/generated/models/federated_token_validation_policy.py index 738fbae1e2d..95e98964b4b 100644 --- a/msgraph_beta/generated/models/federated_token_validation_policy.py +++ b/msgraph_beta/generated/models/federated_token_validation_policy.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .directory_object import DirectoryObject + from .validating_domains import ValidatingDomains + writer.write_object_value("validatingDomains", self.validating_domains) diff --git a/msgraph_beta/generated/models/fido2_authentication_method.py b/msgraph_beta/generated/models/fido2_authentication_method.py index e5616b24b49..577911391d2 100644 --- a/msgraph_beta/generated/models/fido2_authentication_method.py +++ b/msgraph_beta/generated/models/fido2_authentication_method.py @@ -72,6 +72,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .attestation_level import AttestationLevel + from .authentication_method import AuthenticationMethod + from .webauthn_public_key_credential import WebauthnPublicKeyCredential + writer.write_str_value("aaGuid", self.aa_guid) writer.write_collection_of_primitive_values("attestationCertificates", self.attestation_certificates) writer.write_enum_value("attestationLevel", self.attestation_level) diff --git a/msgraph_beta/generated/models/fido2_authentication_method_collection_response.py b/msgraph_beta/generated/models/fido2_authentication_method_collection_response.py index ee8abe0ebcb..06d6e9494ef 100644 --- a/msgraph_beta/generated/models/fido2_authentication_method_collection_response.py +++ b/msgraph_beta/generated/models/fido2_authentication_method_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .fido2_authentication_method import Fido2AuthenticationMethod + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/fido2_authentication_method_configuration.py b/msgraph_beta/generated/models/fido2_authentication_method_configuration.py index 342d4f2a096..7b5a9352f27 100644 --- a/msgraph_beta/generated/models/fido2_authentication_method_configuration.py +++ b/msgraph_beta/generated/models/fido2_authentication_method_configuration.py @@ -66,6 +66,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .authentication_method_configuration import AuthenticationMethodConfiguration + from .fido2_key_restrictions import Fido2KeyRestrictions + from .passkey_authentication_method_target import PasskeyAuthenticationMethodTarget + writer.write_collection_of_object_values("includeTargets", self.include_targets) writer.write_bool_value("isAttestationEnforced", self.is_attestation_enforced) writer.write_bool_value("isSelfServiceRegistrationAllowed", self.is_self_service_registration_allowed) diff --git a/msgraph_beta/generated/models/fido2_combination_configuration.py b/msgraph_beta/generated/models/fido2_combination_configuration.py index 2e4d21d4748..4b1f08293f3 100644 --- a/msgraph_beta/generated/models/fido2_combination_configuration.py +++ b/msgraph_beta/generated/models/fido2_combination_configuration.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .authentication_combination_configuration import AuthenticationCombinationConfiguration + writer.write_collection_of_primitive_values("allowedAAGUIDs", self.allowed_a_a_g_u_i_ds) diff --git a/msgraph_beta/generated/models/fido2_key_restrictions.py b/msgraph_beta/generated/models/fido2_key_restrictions.py index 281749c807c..ec1fa781bfb 100644 --- a/msgraph_beta/generated/models/fido2_key_restrictions.py +++ b/msgraph_beta/generated/models/fido2_key_restrictions.py @@ -59,6 +59,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .fido2_restriction_enforcement_type import Fido2RestrictionEnforcementType + writer.write_collection_of_primitive_values("aaGuids", self.aa_guids) writer.write_enum_value("enforcementType", self.enforcement_type) writer.write_bool_value("isEnforced", self.is_enforced) diff --git a/msgraph_beta/generated/models/field_value_set.py b/msgraph_beta/generated/models/field_value_set.py index 05519d24679..48e9415c025 100644 --- a/msgraph_beta/generated/models/field_value_set.py +++ b/msgraph_beta/generated/models/field_value_set.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + diff --git a/msgraph_beta/generated/models/file.py b/msgraph_beta/generated/models/file.py index 477ff6b9870..ac7e50f1537 100644 --- a/msgraph_beta/generated/models/file.py +++ b/msgraph_beta/generated/models/file.py @@ -59,6 +59,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .hashes import Hashes + writer.write_object_value("hashes", self.hashes) writer.write_str_value("mimeType", self.mime_type) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/file_assessment_request.py b/msgraph_beta/generated/models/file_assessment_request.py index 3ae4bbaeaf8..1e56d6ffbb4 100644 --- a/msgraph_beta/generated/models/file_assessment_request.py +++ b/msgraph_beta/generated/models/file_assessment_request.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .threat_assessment_request import ThreatAssessmentRequest + writer.write_str_value("contentData", self.content_data) writer.write_str_value("fileName", self.file_name) diff --git a/msgraph_beta/generated/models/file_attachment.py b/msgraph_beta/generated/models/file_attachment.py index 9decb013a8e..a0e1640dc78 100644 --- a/msgraph_beta/generated/models/file_attachment.py +++ b/msgraph_beta/generated/models/file_attachment.py @@ -57,6 +57,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .attachment import Attachment + writer.write_bytes_value("contentBytes", self.content_bytes) writer.write_str_value("contentId", self.content_id) writer.write_str_value("contentLocation", self.content_location) diff --git a/msgraph_beta/generated/models/file_classification_request.py b/msgraph_beta/generated/models/file_classification_request.py index 01be4998ff1..1afcde28d42 100644 --- a/msgraph_beta/generated/models/file_classification_request.py +++ b/msgraph_beta/generated/models/file_classification_request.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_bytes_value("file", self.file) writer.write_collection_of_primitive_values("sensitiveTypeIds", self.sensitive_type_ids) diff --git a/msgraph_beta/generated/models/file_hash.py b/msgraph_beta/generated/models/file_hash.py index 6dfabec114b..40450d23b42 100644 --- a/msgraph_beta/generated/models/file_hash.py +++ b/msgraph_beta/generated/models/file_hash.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .file_hash_type import FileHashType + writer.write_enum_value("hashType", self.hash_type) writer.write_str_value("hashValue", self.hash_value) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/file_security_profile.py b/msgraph_beta/generated/models/file_security_profile.py index 3868c5ac234..9b12a0106b9 100644 --- a/msgraph_beta/generated/models/file_security_profile.py +++ b/msgraph_beta/generated/models/file_security_profile.py @@ -109,6 +109,12 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .file_hash import FileHash + from .malware_state import MalwareState + from .security_vendor_information import SecurityVendorInformation + from .vulnerability_state import VulnerabilityState + writer.write_collection_of_primitive_values("activityGroupNames", self.activity_group_names) writer.write_str_value("azureSubscriptionId", self.azure_subscription_id) writer.write_str_value("azureTenantId", self.azure_tenant_id) diff --git a/msgraph_beta/generated/models/file_security_profile_collection_response.py b/msgraph_beta/generated/models/file_security_profile_collection_response.py index 72fdbf30d0e..1d93abbf0b8 100644 --- a/msgraph_beta/generated/models/file_security_profile_collection_response.py +++ b/msgraph_beta/generated/models/file_security_profile_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .file_security_profile import FileSecurityProfile + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/file_security_state.py b/msgraph_beta/generated/models/file_security_state.py index da01a72a550..eff148f9cbf 100644 --- a/msgraph_beta/generated/models/file_security_state.py +++ b/msgraph_beta/generated/models/file_security_state.py @@ -62,6 +62,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .file_hash import FileHash + writer.write_object_value("fileHash", self.file_hash) writer.write_str_value("name", self.name) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/file_storage.py b/msgraph_beta/generated/models/file_storage.py index e6005dc9414..296c3409327 100644 --- a/msgraph_beta/generated/models/file_storage.py +++ b/msgraph_beta/generated/models/file_storage.py @@ -57,6 +57,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .file_storage_container import FileStorageContainer + writer.write_collection_of_object_values("containers", self.containers) writer.write_collection_of_object_values("deletedContainers", self.deleted_containers) diff --git a/msgraph_beta/generated/models/file_storage_container.py b/msgraph_beta/generated/models/file_storage_container.py index 50a542df500..397b056cf72 100644 --- a/msgraph_beta/generated/models/file_storage_container.py +++ b/msgraph_beta/generated/models/file_storage_container.py @@ -146,6 +146,20 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .assigned_label import AssignedLabel + from .column_definition import ColumnDefinition + from .drive import Drive + from .entity import Entity + from .file_storage_container_custom_property_dictionary import FileStorageContainerCustomPropertyDictionary + from .file_storage_container_ownership_type import FileStorageContainerOwnershipType + from .file_storage_container_settings import FileStorageContainerSettings + from .file_storage_container_status import FileStorageContainerStatus + from .file_storage_container_viewpoint import FileStorageContainerViewpoint + from .permission import Permission + from .recycle_bin import RecycleBin + from .site_lock_state import SiteLockState + from .user_identity import UserIdentity + writer.write_object_value("assignedSensitivityLabel", self.assigned_sensitivity_label) writer.write_collection_of_object_values("columns", self.columns) writer.write_uuid_value("containerTypeId", self.container_type_id) diff --git a/msgraph_beta/generated/models/file_storage_container_collection_response.py b/msgraph_beta/generated/models/file_storage_container_collection_response.py index 1d62281803d..c185583c876 100644 --- a/msgraph_beta/generated/models/file_storage_container_collection_response.py +++ b/msgraph_beta/generated/models/file_storage_container_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .file_storage_container import FileStorageContainer + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/file_storage_container_custom_property_dictionary.py b/msgraph_beta/generated/models/file_storage_container_custom_property_dictionary.py index 22cd903a487..8f794d4d46b 100644 --- a/msgraph_beta/generated/models/file_storage_container_custom_property_dictionary.py +++ b/msgraph_beta/generated/models/file_storage_container_custom_property_dictionary.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .dictionary import Dictionary + diff --git a/msgraph_beta/generated/models/filter.py b/msgraph_beta/generated/models/filter.py index b53621cad8c..d5805e447a8 100644 --- a/msgraph_beta/generated/models/filter.py +++ b/msgraph_beta/generated/models/filter.py @@ -59,6 +59,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .filter_group import FilterGroup + writer.write_collection_of_object_values("categoryFilterGroups", self.category_filter_groups) writer.write_collection_of_object_values("groups", self.groups) writer.write_collection_of_object_values("inputFilterGroups", self.input_filter_groups) diff --git a/msgraph_beta/generated/models/filter_clause.py b/msgraph_beta/generated/models/filter_clause.py index e6753d1f554..4f056f415bc 100644 --- a/msgraph_beta/generated/models/filter_clause.py +++ b/msgraph_beta/generated/models/filter_clause.py @@ -59,6 +59,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .filter_operand import FilterOperand + writer.write_str_value("@odata.type", self.odata_type) writer.write_str_value("operatorName", self.operator_name) writer.write_str_value("sourceOperandName", self.source_operand_name) diff --git a/msgraph_beta/generated/models/filter_group.py b/msgraph_beta/generated/models/filter_group.py index 272e342eb88..48d9383e645 100644 --- a/msgraph_beta/generated/models/filter_group.py +++ b/msgraph_beta/generated/models/filter_group.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .filter_clause import FilterClause + writer.write_collection_of_object_values("clauses", self.clauses) writer.write_str_value("name", self.name) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/filter_operator_schema.py b/msgraph_beta/generated/models/filter_operator_schema.py index c46d2761f25..ced815daca2 100644 --- a/msgraph_beta/generated/models/filter_operator_schema.py +++ b/msgraph_beta/generated/models/filter_operator_schema.py @@ -66,6 +66,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .attribute_type import AttributeType + from .entity import Entity + from .scope_operator_multi_valued_comparison_type import ScopeOperatorMultiValuedComparisonType + from .scope_operator_type import ScopeOperatorType + writer.write_enum_value("arity", self.arity) writer.write_enum_value("multivaluedComparisonType", self.multivalued_comparison_type) writer.write_collection_of_enum_values("supportedAttributeTypes", self.supported_attribute_types) diff --git a/msgraph_beta/generated/models/filter_operator_schema_collection_response.py b/msgraph_beta/generated/models/filter_operator_schema_collection_response.py index 3c33d16c229..ba53da64312 100644 --- a/msgraph_beta/generated/models/filter_operator_schema_collection_response.py +++ b/msgraph_beta/generated/models/filter_operator_schema_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .filter_operator_schema import FilterOperatorSchema + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/financials.py b/msgraph_beta/generated/models/financials.py index dee330688fc..ed07a0d9a5f 100644 --- a/msgraph_beta/generated/models/financials.py +++ b/msgraph_beta/generated/models/financials.py @@ -57,6 +57,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .company import Company + writer.write_collection_of_object_values("companies", self.companies) writer.write_uuid_value("id", self.id) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/finding.py b/msgraph_beta/generated/models/finding.py index d73325fbaa9..5143e369df2 100644 --- a/msgraph_beta/generated/models/finding.py +++ b/msgraph_beta/generated/models/finding.py @@ -75,7 +75,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> Finding: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.awsExternalSystemAccessFinding".casefold(): @@ -399,6 +400,57 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .aws_external_system_access_finding import AwsExternalSystemAccessFinding + from .aws_external_system_access_role_finding import AwsExternalSystemAccessRoleFinding + from .aws_identity_access_management_key_age_finding import AwsIdentityAccessManagementKeyAgeFinding + from .aws_identity_access_management_key_usage_finding import AwsIdentityAccessManagementKeyUsageFinding + from .aws_secret_information_access_finding import AwsSecretInformationAccessFinding + from .aws_security_tool_administration_finding import AwsSecurityToolAdministrationFinding + from .encrypted_aws_storage_bucket_finding import EncryptedAwsStorageBucketFinding + from .encrypted_azure_storage_account_finding import EncryptedAzureStorageAccountFinding + from .encrypted_gcp_storage_bucket_finding import EncryptedGcpStorageBucketFinding + from .entity import Entity + from .externally_accessible_aws_storage_bucket_finding import ExternallyAccessibleAwsStorageBucketFinding + from .externally_accessible_azure_blob_container_finding import ExternallyAccessibleAzureBlobContainerFinding + from .externally_accessible_gcp_storage_bucket_finding import ExternallyAccessibleGcpStorageBucketFinding + from .identity_finding import IdentityFinding + from .inactive_aws_resource_finding import InactiveAwsResourceFinding + from .inactive_aws_role_finding import InactiveAwsRoleFinding + from .inactive_azure_service_principal_finding import InactiveAzureServicePrincipalFinding + from .inactive_gcp_service_account_finding import InactiveGcpServiceAccountFinding + from .inactive_group_finding import InactiveGroupFinding + from .inactive_serverless_function_finding import InactiveServerlessFunctionFinding + from .inactive_user_finding import InactiveUserFinding + from .open_aws_security_group_finding import OpenAwsSecurityGroupFinding + from .open_network_azure_security_group_finding import OpenNetworkAzureSecurityGroupFinding + from .overprovisioned_aws_resource_finding import OverprovisionedAwsResourceFinding + from .overprovisioned_aws_role_finding import OverprovisionedAwsRoleFinding + from .overprovisioned_azure_service_principal_finding import OverprovisionedAzureServicePrincipalFinding + from .overprovisioned_gcp_service_account_finding import OverprovisionedGcpServiceAccountFinding + from .overprovisioned_serverless_function_finding import OverprovisionedServerlessFunctionFinding + from .overprovisioned_user_finding import OverprovisionedUserFinding + from .privilege_escalation_aws_resource_finding import PrivilegeEscalationAwsResourceFinding + from .privilege_escalation_aws_role_finding import PrivilegeEscalationAwsRoleFinding + from .privilege_escalation_finding import PrivilegeEscalationFinding + from .privilege_escalation_gcp_service_account_finding import PrivilegeEscalationGcpServiceAccountFinding + from .privilege_escalation_user_finding import PrivilegeEscalationUserFinding + from .secret_information_access_aws_resource_finding import SecretInformationAccessAwsResourceFinding + from .secret_information_access_aws_role_finding import SecretInformationAccessAwsRoleFinding + from .secret_information_access_aws_serverless_function_finding import SecretInformationAccessAwsServerlessFunctionFinding + from .secret_information_access_aws_user_finding import SecretInformationAccessAwsUserFinding + from .security_tool_aws_resource_administrator_finding import SecurityToolAwsResourceAdministratorFinding + from .security_tool_aws_role_administrator_finding import SecurityToolAwsRoleAdministratorFinding + from .security_tool_aws_serverless_function_administrator_finding import SecurityToolAwsServerlessFunctionAdministratorFinding + from .security_tool_aws_user_administrator_finding import SecurityToolAwsUserAdministratorFinding + from .super_aws_resource_finding import SuperAwsResourceFinding + from .super_aws_role_finding import SuperAwsRoleFinding + from .super_azure_service_principal_finding import SuperAzureServicePrincipalFinding + from .super_gcp_service_account_finding import SuperGcpServiceAccountFinding + from .super_serverless_function_finding import SuperServerlessFunctionFinding + from .super_user_finding import SuperUserFinding + from .unenforced_mfa_aws_user_finding import UnenforcedMfaAwsUserFinding + from .virtual_machine_with_aws_storage_bucket_access_finding import VirtualMachineWithAwsStorageBucketAccessFinding + writer.write_datetime_value("createdDateTime", self.created_date_time) diff --git a/msgraph_beta/generated/models/finding_collection_response.py b/msgraph_beta/generated/models/finding_collection_response.py index 2e9e06c1cf1..fcc3e9286b2 100644 --- a/msgraph_beta/generated/models/finding_collection_response.py +++ b/msgraph_beta/generated/models/finding_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .finding import Finding + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/focus_activity_statistics.py b/msgraph_beta/generated/models/focus_activity_statistics.py index c38fef1e0dc..b9af640bc2a 100644 --- a/msgraph_beta/generated/models/focus_activity_statistics.py +++ b/msgraph_beta/generated/models/focus_activity_statistics.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .activity_statistics import ActivityStatistics + diff --git a/msgraph_beta/generated/models/folder.py b/msgraph_beta/generated/models/folder.py index 2b20c8ede4c..4b823a4e89f 100644 --- a/msgraph_beta/generated/models/folder.py +++ b/msgraph_beta/generated/models/folder.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .folder_view import FolderView + writer.write_int_value("childCount", self.child_count) writer.write_str_value("@odata.type", self.odata_type) writer.write_object_value("view", self.view) diff --git a/msgraph_beta/generated/models/followup_flag.py b/msgraph_beta/generated/models/followup_flag.py index 1f104f09dfa..232e391cb3d 100644 --- a/msgraph_beta/generated/models/followup_flag.py +++ b/msgraph_beta/generated/models/followup_flag.py @@ -65,6 +65,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .date_time_time_zone import DateTimeTimeZone + from .followup_flag_status import FollowupFlagStatus + writer.write_object_value("completedDateTime", self.completed_date_time) writer.write_object_value("dueDateTime", self.due_date_time) writer.write_enum_value("flagStatus", self.flag_status) diff --git a/msgraph_beta/generated/models/gcp_action_permissions_definition_action.py b/msgraph_beta/generated/models/gcp_action_permissions_definition_action.py index 8abc7ad0fac..91c83f62963 100644 --- a/msgraph_beta/generated/models/gcp_action_permissions_definition_action.py +++ b/msgraph_beta/generated/models/gcp_action_permissions_definition_action.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .gcp_permissions_definition_action import GcpPermissionsDefinitionAction + writer.write_collection_of_primitive_values("actions", self.actions) diff --git a/msgraph_beta/generated/models/gcp_associated_identities.py b/msgraph_beta/generated/models/gcp_associated_identities.py index 349a54ca92b..331e67ad1a0 100644 --- a/msgraph_beta/generated/models/gcp_associated_identities.py +++ b/msgraph_beta/generated/models/gcp_associated_identities.py @@ -65,6 +65,10 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .gcp_identity import GcpIdentity + from .gcp_service_account import GcpServiceAccount + from .gcp_user import GcpUser + writer.write_collection_of_object_values("all", self.all) writer.write_str_value("@odata.type", self.odata_type) writer.write_collection_of_object_values("serviceAccounts", self.service_accounts) diff --git a/msgraph_beta/generated/models/gcp_authorization_system.py b/msgraph_beta/generated/models/gcp_authorization_system.py index 0ae223b4220..22a75e4ac79 100644 --- a/msgraph_beta/generated/models/gcp_authorization_system.py +++ b/msgraph_beta/generated/models/gcp_authorization_system.py @@ -78,6 +78,13 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .authorization_system import AuthorizationSystem + from .authorization_system_type_service import AuthorizationSystemTypeService + from .gcp_associated_identities import GcpAssociatedIdentities + from .gcp_authorization_system_resource import GcpAuthorizationSystemResource + from .gcp_authorization_system_type_action import GcpAuthorizationSystemTypeAction + from .gcp_role import GcpRole + writer.write_collection_of_object_values("actions", self.actions) writer.write_object_value("associatedIdentities", self.associated_identities) writer.write_collection_of_object_values("resources", self.resources) diff --git a/msgraph_beta/generated/models/gcp_authorization_system_resource.py b/msgraph_beta/generated/models/gcp_authorization_system_resource.py index 3bbe841a73b..20bdbe67674 100644 --- a/msgraph_beta/generated/models/gcp_authorization_system_resource.py +++ b/msgraph_beta/generated/models/gcp_authorization_system_resource.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .authorization_system_resource import AuthorizationSystemResource + from .authorization_system_type_service import AuthorizationSystemTypeService + writer.write_object_value("service", self.service) diff --git a/msgraph_beta/generated/models/gcp_authorization_system_type_action.py b/msgraph_beta/generated/models/gcp_authorization_system_type_action.py index 8b7343ea135..790df0d7eae 100644 --- a/msgraph_beta/generated/models/gcp_authorization_system_type_action.py +++ b/msgraph_beta/generated/models/gcp_authorization_system_type_action.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .authorization_system_type_action import AuthorizationSystemTypeAction + from .authorization_system_type_service import AuthorizationSystemTypeService + writer.write_object_value("service", self.service) diff --git a/msgraph_beta/generated/models/gcp_cloud_function.py b/msgraph_beta/generated/models/gcp_cloud_function.py index c79c6900ae1..c375847fc2e 100644 --- a/msgraph_beta/generated/models/gcp_cloud_function.py +++ b/msgraph_beta/generated/models/gcp_cloud_function.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .gcp_authorization_system_resource import GcpAuthorizationSystemResource + from .gcp_identity import GcpIdentity + writer.write_object_value("resource", self.resource) diff --git a/msgraph_beta/generated/models/gcp_group.py b/msgraph_beta/generated/models/gcp_group.py index 9f889f140f9..d7ad0428f12 100644 --- a/msgraph_beta/generated/models/gcp_group.py +++ b/msgraph_beta/generated/models/gcp_group.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .gcp_identity import GcpIdentity + diff --git a/msgraph_beta/generated/models/gcp_identity.py b/msgraph_beta/generated/models/gcp_identity.py index 6259b48f0ec..cd7a09b9b60 100644 --- a/msgraph_beta/generated/models/gcp_identity.py +++ b/msgraph_beta/generated/models/gcp_identity.py @@ -27,7 +27,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> GcpIdentity: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.gcpCloudFunction".casefold(): @@ -80,5 +81,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .authorization_system_identity import AuthorizationSystemIdentity + from .gcp_cloud_function import GcpCloudFunction + from .gcp_group import GcpGroup + from .gcp_service_account import GcpServiceAccount + from .gcp_user import GcpUser + diff --git a/msgraph_beta/generated/models/gcp_permissions_definition_action.py b/msgraph_beta/generated/models/gcp_permissions_definition_action.py index 27901167d50..5a8bda57fe3 100644 --- a/msgraph_beta/generated/models/gcp_permissions_definition_action.py +++ b/msgraph_beta/generated/models/gcp_permissions_definition_action.py @@ -25,7 +25,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> GcpPermissionsDefi if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.gcpActionPermissionsDefinitionAction".casefold(): @@ -66,5 +67,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .gcp_action_permissions_definition_action import GcpActionPermissionsDefinitionAction + from .gcp_role_permissions_definition_action import GcpRolePermissionsDefinitionAction + from .permissions_definition_action import PermissionsDefinitionAction + diff --git a/msgraph_beta/generated/models/gcp_role.py b/msgraph_beta/generated/models/gcp_role.py index 68498c8461c..666cec8c805 100644 --- a/msgraph_beta/generated/models/gcp_role.py +++ b/msgraph_beta/generated/models/gcp_role.py @@ -66,6 +66,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .gcp_role_type import GcpRoleType + from .gcp_scope import GcpScope + writer.write_str_value("displayName", self.display_name) writer.write_str_value("externalId", self.external_id) writer.write_enum_value("gcpRoleType", self.gcp_role_type) diff --git a/msgraph_beta/generated/models/gcp_role_permissions_definition_action.py b/msgraph_beta/generated/models/gcp_role_permissions_definition_action.py index 88087730a17..9f557213b3b 100644 --- a/msgraph_beta/generated/models/gcp_role_permissions_definition_action.py +++ b/msgraph_beta/generated/models/gcp_role_permissions_definition_action.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .gcp_permissions_definition_action import GcpPermissionsDefinitionAction + from .permissions_definition_gcp_role import PermissionsDefinitionGcpRole + writer.write_collection_of_object_values("roles", self.roles) diff --git a/msgraph_beta/generated/models/gcp_scope.py b/msgraph_beta/generated/models/gcp_scope.py index cb100e43a15..f40877160ea 100644 --- a/msgraph_beta/generated/models/gcp_scope.py +++ b/msgraph_beta/generated/models/gcp_scope.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .authorization_system_type_service import AuthorizationSystemTypeService + writer.write_str_value("@odata.type", self.odata_type) writer.write_str_value("resourceType", self.resource_type) writer.write_object_value("service", self.service) diff --git a/msgraph_beta/generated/models/gcp_service_account.py b/msgraph_beta/generated/models/gcp_service_account.py index 658d8207b2a..a1cd1a95b46 100644 --- a/msgraph_beta/generated/models/gcp_service_account.py +++ b/msgraph_beta/generated/models/gcp_service_account.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .gcp_identity import GcpIdentity + diff --git a/msgraph_beta/generated/models/gcp_user.py b/msgraph_beta/generated/models/gcp_user.py index 1ce24f09ae7..b69261f8322 100644 --- a/msgraph_beta/generated/models/gcp_user.py +++ b/msgraph_beta/generated/models/gcp_user.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .gcp_identity import GcpIdentity + diff --git a/msgraph_beta/generated/models/general_ledger_entry.py b/msgraph_beta/generated/models/general_ledger_entry.py index 9003d1c0253..f38d99d859f 100644 --- a/msgraph_beta/generated/models/general_ledger_entry.py +++ b/msgraph_beta/generated/models/general_ledger_entry.py @@ -85,6 +85,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .account import Account + writer.write_object_value("account", self.account) writer.write_uuid_value("accountId", self.account_id) writer.write_str_value("accountNumber", self.account_number) diff --git a/msgraph_beta/generated/models/general_ledger_entry_collection_response.py b/msgraph_beta/generated/models/general_ledger_entry_collection_response.py index 9921a22084d..f1dc789ef9e 100644 --- a/msgraph_beta/generated/models/general_ledger_entry_collection_response.py +++ b/msgraph_beta/generated/models/general_ledger_entry_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .general_ledger_entry import GeneralLedgerEntry + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/generic_error.py b/msgraph_beta/generated/models/generic_error.py index 32ee134e7b0..deb05a33e71 100644 --- a/msgraph_beta/generated/models/generic_error.py +++ b/msgraph_beta/generated/models/generic_error.py @@ -31,7 +31,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> GenericError: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.accessReviewError".casefold(): @@ -64,6 +65,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .access_review_error import AccessReviewError + writer.write_str_value("code", self.code) writer.write_str_value("message", self.message) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/goals.py b/msgraph_beta/generated/models/goals.py index 035861b2adc..0e24b97ab34 100644 --- a/msgraph_beta/generated/models/goals.py +++ b/msgraph_beta/generated/models/goals.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .goals_export_job import GoalsExportJob + writer.write_collection_of_object_values("exportJobs", self.export_jobs) diff --git a/msgraph_beta/generated/models/goals_export_job.py b/msgraph_beta/generated/models/goals_export_job.py index a990d9ce025..ae010a0f400 100644 --- a/msgraph_beta/generated/models/goals_export_job.py +++ b/msgraph_beta/generated/models/goals_export_job.py @@ -64,6 +64,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .long_running_operation import LongRunningOperation + writer.write_bytes_value("content", self.content) writer.write_datetime_value("expirationDateTime", self.expiration_date_time) writer.write_str_value("explorerViewId", self.explorer_view_id) diff --git a/msgraph_beta/generated/models/goals_export_job_collection_response.py b/msgraph_beta/generated/models/goals_export_job_collection_response.py index cd2f97f70cf..ba470bececf 100644 --- a/msgraph_beta/generated/models/goals_export_job_collection_response.py +++ b/msgraph_beta/generated/models/goals_export_job_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .goals_export_job import GoalsExportJob + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/governance_criteria.py b/msgraph_beta/generated/models/governance_criteria.py index 9ef75840ff8..8809dc8b9b6 100644 --- a/msgraph_beta/generated/models/governance_criteria.py +++ b/msgraph_beta/generated/models/governance_criteria.py @@ -29,7 +29,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> GovernanceCriteria if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.groupMembershipGovernanceCriteria".casefold(): @@ -72,6 +73,10 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .group_membership_governance_criteria import GroupMembershipGovernanceCriteria + from .role_membership_governance_criteria import RoleMembershipGovernanceCriteria + from .user_governance_criteria import UserGovernanceCriteria + writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/governance_insight.py b/msgraph_beta/generated/models/governance_insight.py index 4d201ea21b5..d260ca9c638 100644 --- a/msgraph_beta/generated/models/governance_insight.py +++ b/msgraph_beta/generated/models/governance_insight.py @@ -28,7 +28,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> GovernanceInsight: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.membershipOutlierInsight".casefold(): @@ -70,6 +71,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .membership_outlier_insight import MembershipOutlierInsight + from .user_sign_in_insight import UserSignInInsight + writer.write_datetime_value("insightCreatedDateTime", self.insight_created_date_time) diff --git a/msgraph_beta/generated/models/governance_insight_collection_response.py b/msgraph_beta/generated/models/governance_insight_collection_response.py index 5640557bf9f..e76e7157b1e 100644 --- a/msgraph_beta/generated/models/governance_insight_collection_response.py +++ b/msgraph_beta/generated/models/governance_insight_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .governance_insight import GovernanceInsight + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/governance_notification_policy.py b/msgraph_beta/generated/models/governance_notification_policy.py index fdcf324518d..4478261fae0 100644 --- a/msgraph_beta/generated/models/governance_notification_policy.py +++ b/msgraph_beta/generated/models/governance_notification_policy.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .governance_notification_template import GovernanceNotificationTemplate + writer.write_collection_of_primitive_values("enabledTemplateTypes", self.enabled_template_types) writer.write_collection_of_object_values("notificationTemplates", self.notification_templates) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/governance_policy.py b/msgraph_beta/generated/models/governance_policy.py index bf2fb6961ee..52ba30be4b2 100644 --- a/msgraph_beta/generated/models/governance_policy.py +++ b/msgraph_beta/generated/models/governance_policy.py @@ -59,6 +59,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .governance_criteria import GovernanceCriteria + from .governance_notification_policy import GovernanceNotificationPolicy + writer.write_collection_of_object_values("decisionMakerCriteria", self.decision_maker_criteria) writer.write_object_value("notificationPolicy", self.notification_policy) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/governance_policy_template.py b/msgraph_beta/generated/models/governance_policy_template.py index d7b55c11e3d..671cf82c9c0 100644 --- a/msgraph_beta/generated/models/governance_policy_template.py +++ b/msgraph_beta/generated/models/governance_policy_template.py @@ -63,6 +63,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .business_flow_settings import BusinessFlowSettings + from .entity import Entity + from .governance_policy import GovernancePolicy + writer.write_str_value("displayName", self.display_name) writer.write_object_value("policy", self.policy) writer.write_object_value("settings", self.settings) diff --git a/msgraph_beta/generated/models/governance_policy_template_collection_response.py b/msgraph_beta/generated/models/governance_policy_template_collection_response.py index 5b0f8f06e18..e8996ebe8c4 100644 --- a/msgraph_beta/generated/models/governance_policy_template_collection_response.py +++ b/msgraph_beta/generated/models/governance_policy_template_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .governance_policy_template import GovernancePolicyTemplate + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/governance_resource.py b/msgraph_beta/generated/models/governance_resource.py index 17702883f77..c7ec34f281f 100644 --- a/msgraph_beta/generated/models/governance_resource.py +++ b/msgraph_beta/generated/models/governance_resource.py @@ -94,6 +94,12 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .governance_role_assignment import GovernanceRoleAssignment + from .governance_role_assignment_request import GovernanceRoleAssignmentRequest + from .governance_role_definition import GovernanceRoleDefinition + from .governance_role_setting import GovernanceRoleSetting + writer.write_str_value("displayName", self.display_name) writer.write_str_value("externalId", self.external_id) writer.write_object_value("parent", self.parent) diff --git a/msgraph_beta/generated/models/governance_resource_collection_response.py b/msgraph_beta/generated/models/governance_resource_collection_response.py index 34a04cffcdc..c272bc989aa 100644 --- a/msgraph_beta/generated/models/governance_resource_collection_response.py +++ b/msgraph_beta/generated/models/governance_resource_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .governance_resource import GovernanceResource + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/governance_role_assignment.py b/msgraph_beta/generated/models/governance_role_assignment.py index b8e853c541d..75f747e1631 100644 --- a/msgraph_beta/generated/models/governance_role_assignment.py +++ b/msgraph_beta/generated/models/governance_role_assignment.py @@ -100,6 +100,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .governance_resource import GovernanceResource + from .governance_role_definition import GovernanceRoleDefinition + from .governance_subject import GovernanceSubject + writer.write_str_value("assignmentState", self.assignment_state) writer.write_datetime_value("endDateTime", self.end_date_time) writer.write_str_value("externalId", self.external_id) diff --git a/msgraph_beta/generated/models/governance_role_assignment_collection_response.py b/msgraph_beta/generated/models/governance_role_assignment_collection_response.py index 55cf972aa86..0138188e2d3 100644 --- a/msgraph_beta/generated/models/governance_role_assignment_collection_response.py +++ b/msgraph_beta/generated/models/governance_role_assignment_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .governance_role_assignment import GovernanceRoleAssignment + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/governance_role_assignment_request.py b/msgraph_beta/generated/models/governance_role_assignment_request.py index ae20fd002c6..ebcc350e3d4 100644 --- a/msgraph_beta/generated/models/governance_role_assignment_request.py +++ b/msgraph_beta/generated/models/governance_role_assignment_request.py @@ -103,6 +103,13 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .governance_resource import GovernanceResource + from .governance_role_assignment_request_status import GovernanceRoleAssignmentRequestStatus + from .governance_role_definition import GovernanceRoleDefinition + from .governance_schedule import GovernanceSchedule + from .governance_subject import GovernanceSubject + writer.write_str_value("assignmentState", self.assignment_state) writer.write_str_value("linkedEligibleRoleAssignmentId", self.linked_eligible_role_assignment_id) writer.write_str_value("reason", self.reason) diff --git a/msgraph_beta/generated/models/governance_role_assignment_request_collection_response.py b/msgraph_beta/generated/models/governance_role_assignment_request_collection_response.py index 98a43205a53..0ed7896669d 100644 --- a/msgraph_beta/generated/models/governance_role_assignment_request_collection_response.py +++ b/msgraph_beta/generated/models/governance_role_assignment_request_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .governance_role_assignment_request import GovernanceRoleAssignmentRequest + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/governance_role_assignment_request_status.py b/msgraph_beta/generated/models/governance_role_assignment_request_status.py index 3018c9079aa..a6f651c9bdb 100644 --- a/msgraph_beta/generated/models/governance_role_assignment_request_status.py +++ b/msgraph_beta/generated/models/governance_role_assignment_request_status.py @@ -59,6 +59,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .key_value import KeyValue + writer.write_str_value("@odata.type", self.odata_type) writer.write_str_value("status", self.status) writer.write_collection_of_object_values("statusDetails", self.status_details) diff --git a/msgraph_beta/generated/models/governance_role_definition.py b/msgraph_beta/generated/models/governance_role_definition.py index 0259844bd82..13603a17597 100644 --- a/msgraph_beta/generated/models/governance_role_definition.py +++ b/msgraph_beta/generated/models/governance_role_definition.py @@ -72,6 +72,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .governance_resource import GovernanceResource + from .governance_role_setting import GovernanceRoleSetting + writer.write_str_value("displayName", self.display_name) writer.write_str_value("externalId", self.external_id) writer.write_object_value("resource", self.resource) diff --git a/msgraph_beta/generated/models/governance_role_definition_collection_response.py b/msgraph_beta/generated/models/governance_role_definition_collection_response.py index b31ac9547e8..3310736e4cd 100644 --- a/msgraph_beta/generated/models/governance_role_definition_collection_response.py +++ b/msgraph_beta/generated/models/governance_role_definition_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .governance_role_definition import GovernanceRoleDefinition + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/governance_role_setting.py b/msgraph_beta/generated/models/governance_role_setting.py index d516f67789a..675812c6301 100644 --- a/msgraph_beta/generated/models/governance_role_setting.py +++ b/msgraph_beta/generated/models/governance_role_setting.py @@ -91,6 +91,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .governance_resource import GovernanceResource + from .governance_role_definition import GovernanceRoleDefinition + from .governance_rule_setting import GovernanceRuleSetting + writer.write_collection_of_object_values("adminEligibleSettings", self.admin_eligible_settings) writer.write_collection_of_object_values("adminMemberSettings", self.admin_member_settings) writer.write_bool_value("isDefault", self.is_default) diff --git a/msgraph_beta/generated/models/governance_role_setting_collection_response.py b/msgraph_beta/generated/models/governance_role_setting_collection_response.py index 6d5c0987b77..14b194e7a2a 100644 --- a/msgraph_beta/generated/models/governance_role_setting_collection_response.py +++ b/msgraph_beta/generated/models/governance_role_setting_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .governance_role_setting import GovernanceRoleSetting + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/governance_subject.py b/msgraph_beta/generated/models/governance_subject.py index 3b1496bb16a..a510acaacb7 100644 --- a/msgraph_beta/generated/models/governance_subject.py +++ b/msgraph_beta/generated/models/governance_subject.py @@ -60,6 +60,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_str_value("displayName", self.display_name) writer.write_str_value("email", self.email) writer.write_str_value("principalName", self.principal_name) diff --git a/msgraph_beta/generated/models/governance_subject_collection_response.py b/msgraph_beta/generated/models/governance_subject_collection_response.py index 847ba820f93..972e6e4a26b 100644 --- a/msgraph_beta/generated/models/governance_subject_collection_response.py +++ b/msgraph_beta/generated/models/governance_subject_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .governance_subject import GovernanceSubject + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/granular_mailbox_restore_artifact.py b/msgraph_beta/generated/models/granular_mailbox_restore_artifact.py index f11b1158f86..3017a97045e 100644 --- a/msgraph_beta/generated/models/granular_mailbox_restore_artifact.py +++ b/msgraph_beta/generated/models/granular_mailbox_restore_artifact.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .mailbox_restore_artifact import MailboxRestoreArtifact + writer.write_int_value("artifactCount", self.artifact_count) writer.write_str_value("searchResponseId", self.search_response_id) diff --git a/msgraph_beta/generated/models/granular_mailbox_restore_artifact_collection_response.py b/msgraph_beta/generated/models/granular_mailbox_restore_artifact_collection_response.py index 25485314574..1cb611c840c 100644 --- a/msgraph_beta/generated/models/granular_mailbox_restore_artifact_collection_response.py +++ b/msgraph_beta/generated/models/granular_mailbox_restore_artifact_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .granular_mailbox_restore_artifact import GranularMailboxRestoreArtifact + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/group.py b/msgraph_beta/generated/models/group.py index e18c3c9194f..cff8aae8426 100644 --- a/msgraph_beta/generated/models/group.py +++ b/msgraph_beta/generated/models/group.py @@ -9,6 +9,7 @@ from .assigned_label import AssignedLabel from .assigned_license import AssignedLicense from .calendar import Calendar + from .cloud_licensing.group_cloud_licensing import GroupCloudLicensing from .conversation import Conversation from .conversation_thread import ConversationThread from .directory_object import DirectoryObject @@ -60,6 +61,8 @@ class Group(DirectoryObject): calendar_view: Optional[List[Event]] = None # Describes a classification for the group (such as low, medium or high business impact). Valid values for this property are defined by creating a ClassificationList setting value, based on the template definition.Returned by default. Supports $filter (eq, ne, not, ge, le, startsWith). classification: Optional[str] = None + # The relationships of a group to cloud licensing resources. + cloud_licensing: Optional[GroupCloudLicensing] = None # The group's conversations. conversations: Optional[List[Conversation]] = None # App ID of the app used to create the group. Can be null for some groups. Returned by default. Read-only. Supports $filter (eq, ne, not, in, startsWith). @@ -221,6 +224,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .assigned_label import AssignedLabel from .assigned_license import AssignedLicense from .calendar import Calendar + from .cloud_licensing.group_cloud_licensing import GroupCloudLicensing from .conversation import Conversation from .conversation_thread import ConversationThread from .directory_object import DirectoryObject @@ -247,6 +251,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .assigned_label import AssignedLabel from .assigned_license import AssignedLicense from .calendar import Calendar + from .cloud_licensing.group_cloud_licensing import GroupCloudLicensing from .conversation import Conversation from .conversation_thread import ConversationThread from .directory_object import DirectoryObject @@ -280,6 +285,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: "calendar": lambda n : setattr(self, 'calendar', n.get_object_value(Calendar)), "calendarView": lambda n : setattr(self, 'calendar_view', n.get_collection_of_object_values(Event)), "classification": lambda n : setattr(self, 'classification', n.get_str_value()), + "cloudLicensing": lambda n : setattr(self, 'cloud_licensing', n.get_object_value(GroupCloudLicensing)), "conversations": lambda n : setattr(self, 'conversations', n.get_collection_of_object_values(Conversation)), "createdByAppId": lambda n : setattr(self, 'created_by_app_id', n.get_str_value()), "createdDateTime": lambda n : setattr(self, 'created_date_time', n.get_datetime_value()), @@ -364,6 +370,33 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .app_role_assignment import AppRoleAssignment + from .assigned_label import AssignedLabel + from .assigned_license import AssignedLicense + from .calendar import Calendar + from .cloud_licensing.group_cloud_licensing import GroupCloudLicensing + from .conversation import Conversation + from .conversation_thread import ConversationThread + from .directory_object import DirectoryObject + from .directory_setting import DirectorySetting + from .drive import Drive + from .endpoint import Endpoint + from .event import Event + from .extension import Extension + from .group_access_type import GroupAccessType + from .group_lifecycle_policy import GroupLifecyclePolicy + from .group_writeback_configuration import GroupWritebackConfiguration + from .license_processing_state import LicenseProcessingState + from .membership_rule_processing_status import MembershipRuleProcessingStatus + from .onenote import Onenote + from .on_premises_provisioning_error import OnPremisesProvisioningError + from .planner_group import PlannerGroup + from .profile_photo import ProfilePhoto + from .resource_specific_permission_grant import ResourceSpecificPermissionGrant + from .service_provisioning_error import ServiceProvisioningError + from .site import Site + from .team import Team + writer.write_collection_of_object_values("acceptedSenders", self.accepted_senders) writer.write_enum_value("accessType", self.access_type) writer.write_bool_value("allowExternalSenders", self.allow_external_senders) @@ -374,6 +407,7 @@ def serialize(self,writer: SerializationWriter) -> None: writer.write_object_value("calendar", self.calendar) writer.write_collection_of_object_values("calendarView", self.calendar_view) writer.write_str_value("classification", self.classification) + writer.write_object_value("cloudLicensing", self.cloud_licensing) writer.write_collection_of_object_values("conversations", self.conversations) writer.write_str_value("createdByAppId", self.created_by_app_id) writer.write_datetime_value("createdDateTime", self.created_date_time) diff --git a/msgraph_beta/generated/models/group_assignment_target.py b/msgraph_beta/generated/models/group_assignment_target.py index 44856e3de42..0d6ebed9cac 100644 --- a/msgraph_beta/generated/models/group_assignment_target.py +++ b/msgraph_beta/generated/models/group_assignment_target.py @@ -29,7 +29,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> GroupAssignmentTar if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.exclusionGroupAssignmentTarget".casefold(): @@ -65,6 +66,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_and_app_management_assignment_target import DeviceAndAppManagementAssignmentTarget + from .exclusion_group_assignment_target import ExclusionGroupAssignmentTarget + writer.write_str_value("groupId", self.group_id) diff --git a/msgraph_beta/generated/models/group_chat_teams_app_installation_scope_info.py b/msgraph_beta/generated/models/group_chat_teams_app_installation_scope_info.py index 866a9193812..0d3f2ca6131 100644 --- a/msgraph_beta/generated/models/group_chat_teams_app_installation_scope_info.py +++ b/msgraph_beta/generated/models/group_chat_teams_app_installation_scope_info.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .teams_app_installation_scope_info import TeamsAppInstallationScopeInfo + writer.write_str_value("chatId", self.chat_id) diff --git a/msgraph_beta/generated/models/group_collection_response.py b/msgraph_beta/generated/models/group_collection_response.py index 424ff71c85e..87934ae21b3 100644 --- a/msgraph_beta/generated/models/group_collection_response.py +++ b/msgraph_beta/generated/models/group_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .group import Group + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/group_lifecycle_policy.py b/msgraph_beta/generated/models/group_lifecycle_policy.py index 3e774507930..dcbf53ff2de 100644 --- a/msgraph_beta/generated/models/group_lifecycle_policy.py +++ b/msgraph_beta/generated/models/group_lifecycle_policy.py @@ -57,6 +57,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_str_value("alternateNotificationEmails", self.alternate_notification_emails) writer.write_int_value("groupLifetimeInDays", self.group_lifetime_in_days) writer.write_str_value("managedGroupTypes", self.managed_group_types) diff --git a/msgraph_beta/generated/models/group_lifecycle_policy_collection_response.py b/msgraph_beta/generated/models/group_lifecycle_policy_collection_response.py index 32bbca01e91..9cdefecd3e3 100644 --- a/msgraph_beta/generated/models/group_lifecycle_policy_collection_response.py +++ b/msgraph_beta/generated/models/group_lifecycle_policy_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .group_lifecycle_policy import GroupLifecyclePolicy + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/group_members.py b/msgraph_beta/generated/models/group_members.py index 8560f2c1f0d..e75e29ea4b0 100644 --- a/msgraph_beta/generated/models/group_members.py +++ b/msgraph_beta/generated/models/group_members.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .user_set import UserSet + writer.write_str_value("description", self.description) writer.write_str_value("id", self.id) diff --git a/msgraph_beta/generated/models/group_membership_governance_criteria.py b/msgraph_beta/generated/models/group_membership_governance_criteria.py index 58a7b57e185..d14d58c6176 100644 --- a/msgraph_beta/generated/models/group_membership_governance_criteria.py +++ b/msgraph_beta/generated/models/group_membership_governance_criteria.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .governance_criteria import GovernanceCriteria + writer.write_str_value("groupId", self.group_id) diff --git a/msgraph_beta/generated/models/group_peer_outlier_recommendation_insight_settings.py b/msgraph_beta/generated/models/group_peer_outlier_recommendation_insight_settings.py index d4b295988ab..b2ba63737d9 100644 --- a/msgraph_beta/generated/models/group_peer_outlier_recommendation_insight_settings.py +++ b/msgraph_beta/generated/models/group_peer_outlier_recommendation_insight_settings.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .access_review_recommendation_insight_setting import AccessReviewRecommendationInsightSetting + diff --git a/msgraph_beta/generated/models/group_policy_category.py b/msgraph_beta/generated/models/group_policy_category.py index f6da94cf682..89d8b41b81c 100644 --- a/msgraph_beta/generated/models/group_policy_category.py +++ b/msgraph_beta/generated/models/group_policy_category.py @@ -85,6 +85,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .group_policy_definition import GroupPolicyDefinition + from .group_policy_definition_file import GroupPolicyDefinitionFile + from .ingestion_source import IngestionSource + writer.write_collection_of_object_values("children", self.children) writer.write_object_value("definitionFile", self.definition_file) writer.write_collection_of_object_values("definitions", self.definitions) diff --git a/msgraph_beta/generated/models/group_policy_category_collection_response.py b/msgraph_beta/generated/models/group_policy_category_collection_response.py index 510ac66be76..62a3752468c 100644 --- a/msgraph_beta/generated/models/group_policy_category_collection_response.py +++ b/msgraph_beta/generated/models/group_policy_category_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .group_policy_category import GroupPolicyCategory + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/group_policy_configuration.py b/msgraph_beta/generated/models/group_policy_configuration.py index 0e841e6f903..1f144e37147 100644 --- a/msgraph_beta/generated/models/group_policy_configuration.py +++ b/msgraph_beta/generated/models/group_policy_configuration.py @@ -85,6 +85,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .group_policy_configuration_assignment import GroupPolicyConfigurationAssignment + from .group_policy_configuration_ingestion_type import GroupPolicyConfigurationIngestionType + from .group_policy_definition_value import GroupPolicyDefinitionValue + writer.write_collection_of_object_values("assignments", self.assignments) writer.write_datetime_value("createdDateTime", self.created_date_time) writer.write_collection_of_object_values("definitionValues", self.definition_values) diff --git a/msgraph_beta/generated/models/group_policy_configuration_assignment.py b/msgraph_beta/generated/models/group_policy_configuration_assignment.py index 2c32321cc9b..34ebfcff306 100644 --- a/msgraph_beta/generated/models/group_policy_configuration_assignment.py +++ b/msgraph_beta/generated/models/group_policy_configuration_assignment.py @@ -61,6 +61,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_and_app_management_assignment_target import DeviceAndAppManagementAssignmentTarget + from .entity import Entity + writer.write_datetime_value("lastModifiedDateTime", self.last_modified_date_time) writer.write_object_value("target", self.target) diff --git a/msgraph_beta/generated/models/group_policy_configuration_assignment_collection_response.py b/msgraph_beta/generated/models/group_policy_configuration_assignment_collection_response.py index 5af79a84ce7..860eb20999c 100644 --- a/msgraph_beta/generated/models/group_policy_configuration_assignment_collection_response.py +++ b/msgraph_beta/generated/models/group_policy_configuration_assignment_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .group_policy_configuration_assignment import GroupPolicyConfigurationAssignment + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/group_policy_configuration_collection_response.py b/msgraph_beta/generated/models/group_policy_configuration_collection_response.py index a69a35fcd0b..87f3379a0ea 100644 --- a/msgraph_beta/generated/models/group_policy_configuration_collection_response.py +++ b/msgraph_beta/generated/models/group_policy_configuration_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .group_policy_configuration import GroupPolicyConfiguration + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/group_policy_definition.py b/msgraph_beta/generated/models/group_policy_definition.py index bd3083b84f0..c9bbb379235 100644 --- a/msgraph_beta/generated/models/group_policy_definition.py +++ b/msgraph_beta/generated/models/group_policy_definition.py @@ -119,6 +119,13 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .group_policy_category import GroupPolicyCategory + from .group_policy_definition_class_type import GroupPolicyDefinitionClassType + from .group_policy_definition_file import GroupPolicyDefinitionFile + from .group_policy_presentation import GroupPolicyPresentation + from .group_policy_type import GroupPolicyType + writer.write_object_value("category", self.category) writer.write_str_value("categoryPath", self.category_path) writer.write_enum_value("classType", self.class_type) diff --git a/msgraph_beta/generated/models/group_policy_definition_collection_response.py b/msgraph_beta/generated/models/group_policy_definition_collection_response.py index 46d67873039..0819227977b 100644 --- a/msgraph_beta/generated/models/group_policy_definition_collection_response.py +++ b/msgraph_beta/generated/models/group_policy_definition_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .group_policy_definition import GroupPolicyDefinition + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/group_policy_definition_file.py b/msgraph_beta/generated/models/group_policy_definition_file.py index 774b57f7d42..7c6ee255773 100644 --- a/msgraph_beta/generated/models/group_policy_definition_file.py +++ b/msgraph_beta/generated/models/group_policy_definition_file.py @@ -50,7 +50,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> GroupPolicyDefinit if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.groupPolicyUploadedDefinitionFile".casefold(): @@ -99,6 +100,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .group_policy_definition import GroupPolicyDefinition + from .group_policy_type import GroupPolicyType + from .group_policy_uploaded_definition_file import GroupPolicyUploadedDefinitionFile + writer.write_collection_of_object_values("definitions", self.definitions) writer.write_str_value("description", self.description) writer.write_str_value("displayName", self.display_name) diff --git a/msgraph_beta/generated/models/group_policy_definition_file_collection_response.py b/msgraph_beta/generated/models/group_policy_definition_file_collection_response.py index 97556843367..8a49fa3dcc1 100644 --- a/msgraph_beta/generated/models/group_policy_definition_file_collection_response.py +++ b/msgraph_beta/generated/models/group_policy_definition_file_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .group_policy_definition_file import GroupPolicyDefinitionFile + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/group_policy_definition_value.py b/msgraph_beta/generated/models/group_policy_definition_value.py index 6d34181d7b9..29ba7724165 100644 --- a/msgraph_beta/generated/models/group_policy_definition_value.py +++ b/msgraph_beta/generated/models/group_policy_definition_value.py @@ -79,6 +79,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .group_policy_configuration_type import GroupPolicyConfigurationType + from .group_policy_definition import GroupPolicyDefinition + from .group_policy_presentation_value import GroupPolicyPresentationValue + writer.write_enum_value("configurationType", self.configuration_type) writer.write_datetime_value("createdDateTime", self.created_date_time) writer.write_object_value("definition", self.definition) diff --git a/msgraph_beta/generated/models/group_policy_definition_value_collection_response.py b/msgraph_beta/generated/models/group_policy_definition_value_collection_response.py index 0a54088c7d3..e6bcef1b872 100644 --- a/msgraph_beta/generated/models/group_policy_definition_value_collection_response.py +++ b/msgraph_beta/generated/models/group_policy_definition_value_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .group_policy_definition_value import GroupPolicyDefinitionValue + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/group_policy_migration_report.py b/msgraph_beta/generated/models/group_policy_migration_report.py index 93cb108203d..b2a648d9332 100644 --- a/msgraph_beta/generated/models/group_policy_migration_report.py +++ b/msgraph_beta/generated/models/group_policy_migration_report.py @@ -107,6 +107,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .group_policy_migration_readiness import GroupPolicyMigrationReadiness + from .group_policy_setting_mapping import GroupPolicySettingMapping + from .unsupported_group_policy_extension import UnsupportedGroupPolicyExtension + writer.write_datetime_value("createdDateTime", self.created_date_time) writer.write_str_value("displayName", self.display_name) writer.write_datetime_value("groupPolicyCreatedDateTime", self.group_policy_created_date_time) diff --git a/msgraph_beta/generated/models/group_policy_migration_report_collection_response.py b/msgraph_beta/generated/models/group_policy_migration_report_collection_response.py index 8ed25146143..0f574a16fb4 100644 --- a/msgraph_beta/generated/models/group_policy_migration_report_collection_response.py +++ b/msgraph_beta/generated/models/group_policy_migration_report_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .group_policy_migration_report import GroupPolicyMigrationReport + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/group_policy_object_file.py b/msgraph_beta/generated/models/group_policy_object_file.py index b8b18bc1f87..03871b59a0a 100644 --- a/msgraph_beta/generated/models/group_policy_object_file.py +++ b/msgraph_beta/generated/models/group_policy_object_file.py @@ -71,6 +71,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_str_value("content", self.content) writer.write_datetime_value("createdDateTime", self.created_date_time) writer.write_uuid_value("groupPolicyObjectId", self.group_policy_object_id) diff --git a/msgraph_beta/generated/models/group_policy_object_file_collection_response.py b/msgraph_beta/generated/models/group_policy_object_file_collection_response.py index 25077f1c396..c0a852d91ab 100644 --- a/msgraph_beta/generated/models/group_policy_object_file_collection_response.py +++ b/msgraph_beta/generated/models/group_policy_object_file_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .group_policy_object_file import GroupPolicyObjectFile + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/group_policy_operation.py b/msgraph_beta/generated/models/group_policy_operation.py index f3ba2e4713a..914e62e6668 100644 --- a/msgraph_beta/generated/models/group_policy_operation.py +++ b/msgraph_beta/generated/models/group_policy_operation.py @@ -70,6 +70,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .group_policy_operation_status import GroupPolicyOperationStatus + from .group_policy_operation_type import GroupPolicyOperationType + writer.write_datetime_value("lastModifiedDateTime", self.last_modified_date_time) writer.write_enum_value("operationStatus", self.operation_status) writer.write_enum_value("operationType", self.operation_type) diff --git a/msgraph_beta/generated/models/group_policy_operation_collection_response.py b/msgraph_beta/generated/models/group_policy_operation_collection_response.py index 2c4b87953b6..52f1616ad0c 100644 --- a/msgraph_beta/generated/models/group_policy_operation_collection_response.py +++ b/msgraph_beta/generated/models/group_policy_operation_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .group_policy_operation import GroupPolicyOperation + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/group_policy_presentation.py b/msgraph_beta/generated/models/group_policy_presentation.py index 319a4e3fd26..0c4b2dd61a1 100644 --- a/msgraph_beta/generated/models/group_policy_presentation.py +++ b/msgraph_beta/generated/models/group_policy_presentation.py @@ -44,7 +44,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> GroupPolicyPresent if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.groupPolicyPresentationCheckBox".casefold(): @@ -138,6 +139,19 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .group_policy_definition import GroupPolicyDefinition + from .group_policy_presentation_check_box import GroupPolicyPresentationCheckBox + from .group_policy_presentation_combo_box import GroupPolicyPresentationComboBox + from .group_policy_presentation_decimal_text_box import GroupPolicyPresentationDecimalTextBox + from .group_policy_presentation_dropdown_list import GroupPolicyPresentationDropdownList + from .group_policy_presentation_list_box import GroupPolicyPresentationListBox + from .group_policy_presentation_long_decimal_text_box import GroupPolicyPresentationLongDecimalTextBox + from .group_policy_presentation_multi_text_box import GroupPolicyPresentationMultiTextBox + from .group_policy_presentation_text import GroupPolicyPresentationText + from .group_policy_presentation_text_box import GroupPolicyPresentationTextBox + from .group_policy_uploaded_presentation import GroupPolicyUploadedPresentation + writer.write_object_value("definition", self.definition) writer.write_str_value("label", self.label) writer.write_datetime_value("lastModifiedDateTime", self.last_modified_date_time) diff --git a/msgraph_beta/generated/models/group_policy_presentation_check_box.py b/msgraph_beta/generated/models/group_policy_presentation_check_box.py index 66adb377d2b..a5a7c53fa35 100644 --- a/msgraph_beta/generated/models/group_policy_presentation_check_box.py +++ b/msgraph_beta/generated/models/group_policy_presentation_check_box.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .group_policy_uploaded_presentation import GroupPolicyUploadedPresentation + writer.write_bool_value("defaultChecked", self.default_checked) diff --git a/msgraph_beta/generated/models/group_policy_presentation_collection_response.py b/msgraph_beta/generated/models/group_policy_presentation_collection_response.py index b01c4fd398c..24ac1f35569 100644 --- a/msgraph_beta/generated/models/group_policy_presentation_collection_response.py +++ b/msgraph_beta/generated/models/group_policy_presentation_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .group_policy_presentation import GroupPolicyPresentation + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/group_policy_presentation_combo_box.py b/msgraph_beta/generated/models/group_policy_presentation_combo_box.py index f9bfa4d9330..9baf722aaf0 100644 --- a/msgraph_beta/generated/models/group_policy_presentation_combo_box.py +++ b/msgraph_beta/generated/models/group_policy_presentation_combo_box.py @@ -63,6 +63,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .group_policy_uploaded_presentation import GroupPolicyUploadedPresentation + writer.write_str_value("defaultValue", self.default_value) writer.write_int_value("maxLength", self.max_length) writer.write_bool_value("required", self.required) diff --git a/msgraph_beta/generated/models/group_policy_presentation_decimal_text_box.py b/msgraph_beta/generated/models/group_policy_presentation_decimal_text_box.py index 7b2b52cc695..9cab12d9ca1 100644 --- a/msgraph_beta/generated/models/group_policy_presentation_decimal_text_box.py +++ b/msgraph_beta/generated/models/group_policy_presentation_decimal_text_box.py @@ -69,6 +69,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .group_policy_uploaded_presentation import GroupPolicyUploadedPresentation + writer.write_int_value("defaultValue", self.default_value) writer.write_int_value("maxValue", self.max_value) writer.write_int_value("minValue", self.min_value) diff --git a/msgraph_beta/generated/models/group_policy_presentation_dropdown_list.py b/msgraph_beta/generated/models/group_policy_presentation_dropdown_list.py index 6bedd1c8056..c32f0fbd959 100644 --- a/msgraph_beta/generated/models/group_policy_presentation_dropdown_list.py +++ b/msgraph_beta/generated/models/group_policy_presentation_dropdown_list.py @@ -63,6 +63,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .group_policy_presentation_dropdown_list_item import GroupPolicyPresentationDropdownListItem + from .group_policy_uploaded_presentation import GroupPolicyUploadedPresentation + writer.write_object_value("defaultItem", self.default_item) writer.write_collection_of_object_values("items", self.items) writer.write_bool_value("required", self.required) diff --git a/msgraph_beta/generated/models/group_policy_presentation_list_box.py b/msgraph_beta/generated/models/group_policy_presentation_list_box.py index 6dd166a0e8a..6bf2f68be83 100644 --- a/msgraph_beta/generated/models/group_policy_presentation_list_box.py +++ b/msgraph_beta/generated/models/group_policy_presentation_list_box.py @@ -57,6 +57,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .group_policy_uploaded_presentation import GroupPolicyUploadedPresentation + writer.write_bool_value("explicitValue", self.explicit_value) writer.write_str_value("valuePrefix", self.value_prefix) diff --git a/msgraph_beta/generated/models/group_policy_presentation_long_decimal_text_box.py b/msgraph_beta/generated/models/group_policy_presentation_long_decimal_text_box.py index ed2de0c0ebd..71b2639e8c0 100644 --- a/msgraph_beta/generated/models/group_policy_presentation_long_decimal_text_box.py +++ b/msgraph_beta/generated/models/group_policy_presentation_long_decimal_text_box.py @@ -69,6 +69,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .group_policy_uploaded_presentation import GroupPolicyUploadedPresentation + writer.write_int_value("defaultValue", self.default_value) writer.write_int_value("maxValue", self.max_value) writer.write_int_value("minValue", self.min_value) diff --git a/msgraph_beta/generated/models/group_policy_presentation_multi_text_box.py b/msgraph_beta/generated/models/group_policy_presentation_multi_text_box.py index 49d1760a09c..c7e4ca79d39 100644 --- a/msgraph_beta/generated/models/group_policy_presentation_multi_text_box.py +++ b/msgraph_beta/generated/models/group_policy_presentation_multi_text_box.py @@ -60,6 +60,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .group_policy_uploaded_presentation import GroupPolicyUploadedPresentation + writer.write_int_value("maxLength", self.max_length) writer.write_int_value("maxStrings", self.max_strings) writer.write_bool_value("required", self.required) diff --git a/msgraph_beta/generated/models/group_policy_presentation_text.py b/msgraph_beta/generated/models/group_policy_presentation_text.py index 3fc936ca5db..ecd2e6344e0 100644 --- a/msgraph_beta/generated/models/group_policy_presentation_text.py +++ b/msgraph_beta/generated/models/group_policy_presentation_text.py @@ -51,5 +51,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .group_policy_uploaded_presentation import GroupPolicyUploadedPresentation + diff --git a/msgraph_beta/generated/models/group_policy_presentation_text_box.py b/msgraph_beta/generated/models/group_policy_presentation_text_box.py index ddc5ebaddb4..45da8be308c 100644 --- a/msgraph_beta/generated/models/group_policy_presentation_text_box.py +++ b/msgraph_beta/generated/models/group_policy_presentation_text_box.py @@ -60,6 +60,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .group_policy_uploaded_presentation import GroupPolicyUploadedPresentation + writer.write_str_value("defaultValue", self.default_value) writer.write_int_value("maxLength", self.max_length) writer.write_bool_value("required", self.required) diff --git a/msgraph_beta/generated/models/group_policy_presentation_value.py b/msgraph_beta/generated/models/group_policy_presentation_value.py index edda098ebb2..a521bc255ff 100644 --- a/msgraph_beta/generated/models/group_policy_presentation_value.py +++ b/msgraph_beta/generated/models/group_policy_presentation_value.py @@ -43,7 +43,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> GroupPolicyPresent if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.groupPolicyPresentationValueBoolean".casefold(): @@ -116,6 +117,16 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .group_policy_definition_value import GroupPolicyDefinitionValue + from .group_policy_presentation import GroupPolicyPresentation + from .group_policy_presentation_value_boolean import GroupPolicyPresentationValueBoolean + from .group_policy_presentation_value_decimal import GroupPolicyPresentationValueDecimal + from .group_policy_presentation_value_list import GroupPolicyPresentationValueList + from .group_policy_presentation_value_long_decimal import GroupPolicyPresentationValueLongDecimal + from .group_policy_presentation_value_multi_text import GroupPolicyPresentationValueMultiText + from .group_policy_presentation_value_text import GroupPolicyPresentationValueText + writer.write_datetime_value("createdDateTime", self.created_date_time) writer.write_object_value("definitionValue", self.definition_value) writer.write_datetime_value("lastModifiedDateTime", self.last_modified_date_time) diff --git a/msgraph_beta/generated/models/group_policy_presentation_value_boolean.py b/msgraph_beta/generated/models/group_policy_presentation_value_boolean.py index 21db8597650..6b168daecab 100644 --- a/msgraph_beta/generated/models/group_policy_presentation_value_boolean.py +++ b/msgraph_beta/generated/models/group_policy_presentation_value_boolean.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .group_policy_presentation_value import GroupPolicyPresentationValue + writer.write_bool_value("value", self.value) diff --git a/msgraph_beta/generated/models/group_policy_presentation_value_collection_response.py b/msgraph_beta/generated/models/group_policy_presentation_value_collection_response.py index a58dfea2bba..50d649faebe 100644 --- a/msgraph_beta/generated/models/group_policy_presentation_value_collection_response.py +++ b/msgraph_beta/generated/models/group_policy_presentation_value_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .group_policy_presentation_value import GroupPolicyPresentationValue + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/group_policy_presentation_value_decimal.py b/msgraph_beta/generated/models/group_policy_presentation_value_decimal.py index 3a1ebd5ceab..22c63416e6e 100644 --- a/msgraph_beta/generated/models/group_policy_presentation_value_decimal.py +++ b/msgraph_beta/generated/models/group_policy_presentation_value_decimal.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .group_policy_presentation_value import GroupPolicyPresentationValue + writer.write_int_value("value", self.value) diff --git a/msgraph_beta/generated/models/group_policy_presentation_value_list.py b/msgraph_beta/generated/models/group_policy_presentation_value_list.py index 7e3ed695c52..3004a1e12be 100644 --- a/msgraph_beta/generated/models/group_policy_presentation_value_list.py +++ b/msgraph_beta/generated/models/group_policy_presentation_value_list.py @@ -57,6 +57,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .group_policy_presentation_value import GroupPolicyPresentationValue + from .key_value_pair import KeyValuePair + writer.write_collection_of_object_values("values", self.values) diff --git a/msgraph_beta/generated/models/group_policy_presentation_value_long_decimal.py b/msgraph_beta/generated/models/group_policy_presentation_value_long_decimal.py index 604f90fc444..734c2bdb8c9 100644 --- a/msgraph_beta/generated/models/group_policy_presentation_value_long_decimal.py +++ b/msgraph_beta/generated/models/group_policy_presentation_value_long_decimal.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .group_policy_presentation_value import GroupPolicyPresentationValue + writer.write_int_value("value", self.value) diff --git a/msgraph_beta/generated/models/group_policy_presentation_value_multi_text.py b/msgraph_beta/generated/models/group_policy_presentation_value_multi_text.py index 92426b104c6..4336d1f97d3 100644 --- a/msgraph_beta/generated/models/group_policy_presentation_value_multi_text.py +++ b/msgraph_beta/generated/models/group_policy_presentation_value_multi_text.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .group_policy_presentation_value import GroupPolicyPresentationValue + writer.write_collection_of_primitive_values("values", self.values) diff --git a/msgraph_beta/generated/models/group_policy_presentation_value_text.py b/msgraph_beta/generated/models/group_policy_presentation_value_text.py index f98b9330911..5487a6a8e58 100644 --- a/msgraph_beta/generated/models/group_policy_presentation_value_text.py +++ b/msgraph_beta/generated/models/group_policy_presentation_value_text.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .group_policy_presentation_value import GroupPolicyPresentationValue + writer.write_str_value("value", self.value) diff --git a/msgraph_beta/generated/models/group_policy_setting_mapping.py b/msgraph_beta/generated/models/group_policy_setting_mapping.py index ec8fce6df9b..3af573b24bf 100644 --- a/msgraph_beta/generated/models/group_policy_setting_mapping.py +++ b/msgraph_beta/generated/models/group_policy_setting_mapping.py @@ -120,6 +120,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .group_policy_setting_scope import GroupPolicySettingScope + from .group_policy_setting_type import GroupPolicySettingType + from .mdm_supported_state import MdmSupportedState + writer.write_str_value("admxSettingDefinitionId", self.admx_setting_definition_id) writer.write_collection_of_primitive_values("childIdList", self.child_id_list) writer.write_str_value("intuneSettingDefinitionId", self.intune_setting_definition_id) diff --git a/msgraph_beta/generated/models/group_policy_setting_mapping_collection_response.py b/msgraph_beta/generated/models/group_policy_setting_mapping_collection_response.py index b75b3bbf035..f08d8e8b4d2 100644 --- a/msgraph_beta/generated/models/group_policy_setting_mapping_collection_response.py +++ b/msgraph_beta/generated/models/group_policy_setting_mapping_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .group_policy_setting_mapping import GroupPolicySettingMapping + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/group_policy_uploaded_definition_file.py b/msgraph_beta/generated/models/group_policy_uploaded_definition_file.py index 27469949fe4..995b11497be 100644 --- a/msgraph_beta/generated/models/group_policy_uploaded_definition_file.py +++ b/msgraph_beta/generated/models/group_policy_uploaded_definition_file.py @@ -79,6 +79,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .group_policy_definition_file import GroupPolicyDefinitionFile + from .group_policy_operation import GroupPolicyOperation + from .group_policy_uploaded_definition_file_status import GroupPolicyUploadedDefinitionFileStatus + from .group_policy_uploaded_language_file import GroupPolicyUploadedLanguageFile + writer.write_bytes_value("content", self.content) writer.write_str_value("defaultLanguageCode", self.default_language_code) writer.write_collection_of_object_values("groupPolicyOperations", self.group_policy_operations) diff --git a/msgraph_beta/generated/models/group_policy_uploaded_definition_file_collection_response.py b/msgraph_beta/generated/models/group_policy_uploaded_definition_file_collection_response.py index 3ffb16bbc16..8283db6e61c 100644 --- a/msgraph_beta/generated/models/group_policy_uploaded_definition_file_collection_response.py +++ b/msgraph_beta/generated/models/group_policy_uploaded_definition_file_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .group_policy_uploaded_definition_file import GroupPolicyUploadedDefinitionFile + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/group_policy_uploaded_presentation.py b/msgraph_beta/generated/models/group_policy_uploaded_presentation.py index 104e9b54d84..77de0375646 100644 --- a/msgraph_beta/generated/models/group_policy_uploaded_presentation.py +++ b/msgraph_beta/generated/models/group_policy_uploaded_presentation.py @@ -35,7 +35,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> GroupPolicyUploade if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.groupPolicyPresentationCheckBox".casefold(): @@ -118,5 +119,16 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .group_policy_presentation import GroupPolicyPresentation + from .group_policy_presentation_check_box import GroupPolicyPresentationCheckBox + from .group_policy_presentation_combo_box import GroupPolicyPresentationComboBox + from .group_policy_presentation_decimal_text_box import GroupPolicyPresentationDecimalTextBox + from .group_policy_presentation_dropdown_list import GroupPolicyPresentationDropdownList + from .group_policy_presentation_list_box import GroupPolicyPresentationListBox + from .group_policy_presentation_long_decimal_text_box import GroupPolicyPresentationLongDecimalTextBox + from .group_policy_presentation_multi_text_box import GroupPolicyPresentationMultiTextBox + from .group_policy_presentation_text import GroupPolicyPresentationText + from .group_policy_presentation_text_box import GroupPolicyPresentationTextBox + diff --git a/msgraph_beta/generated/models/group_writeback_configuration.py b/msgraph_beta/generated/models/group_writeback_configuration.py index a2a19b87a9e..323a080c7a5 100644 --- a/msgraph_beta/generated/models/group_writeback_configuration.py +++ b/msgraph_beta/generated/models/group_writeback_configuration.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .writeback_configuration import WritebackConfiguration + writer.write_str_value("onPremisesGroupType", self.on_premises_group_type) diff --git a/msgraph_beta/generated/models/gsuite_source.py b/msgraph_beta/generated/models/gsuite_source.py index aaf56c77bfe..4f58fa4e847 100644 --- a/msgraph_beta/generated/models/gsuite_source.py +++ b/msgraph_beta/generated/models/gsuite_source.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .authorization_system_identity_source import AuthorizationSystemIdentitySource + writer.write_str_value("domain", self.domain) diff --git a/msgraph_beta/generated/models/hardware_configuration.py b/msgraph_beta/generated/models/hardware_configuration.py index a5366dae778..9dd90f1255d 100644 --- a/msgraph_beta/generated/models/hardware_configuration.py +++ b/msgraph_beta/generated/models/hardware_configuration.py @@ -109,6 +109,13 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .hardware_configuration_assignment import HardwareConfigurationAssignment + from .hardware_configuration_device_state import HardwareConfigurationDeviceState + from .hardware_configuration_format import HardwareConfigurationFormat + from .hardware_configuration_run_summary import HardwareConfigurationRunSummary + from .hardware_configuration_user_state import HardwareConfigurationUserState + writer.write_collection_of_object_values("assignments", self.assignments) writer.write_bytes_value("configurationFileContent", self.configuration_file_content) writer.write_str_value("description", self.description) diff --git a/msgraph_beta/generated/models/hardware_configuration_assignment.py b/msgraph_beta/generated/models/hardware_configuration_assignment.py index ad6dc31f5e7..65f3601b0c0 100644 --- a/msgraph_beta/generated/models/hardware_configuration_assignment.py +++ b/msgraph_beta/generated/models/hardware_configuration_assignment.py @@ -57,6 +57,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_and_app_management_assignment_target import DeviceAndAppManagementAssignmentTarget + from .entity import Entity + writer.write_object_value("target", self.target) diff --git a/msgraph_beta/generated/models/hardware_configuration_assignment_collection_response.py b/msgraph_beta/generated/models/hardware_configuration_assignment_collection_response.py index c01367fcfa3..b66284953eb 100644 --- a/msgraph_beta/generated/models/hardware_configuration_assignment_collection_response.py +++ b/msgraph_beta/generated/models/hardware_configuration_assignment_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .hardware_configuration_assignment import HardwareConfigurationAssignment + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/hardware_configuration_collection_response.py b/msgraph_beta/generated/models/hardware_configuration_collection_response.py index ca66116255f..ef4d7609cd4 100644 --- a/msgraph_beta/generated/models/hardware_configuration_collection_response.py +++ b/msgraph_beta/generated/models/hardware_configuration_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .hardware_configuration import HardwareConfiguration + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/hardware_configuration_device_state.py b/msgraph_beta/generated/models/hardware_configuration_device_state.py index 21bb02d035a..8c478cc3e20 100644 --- a/msgraph_beta/generated/models/hardware_configuration_device_state.py +++ b/msgraph_beta/generated/models/hardware_configuration_device_state.py @@ -85,6 +85,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .run_state import RunState + writer.write_str_value("assignmentFilterIds", self.assignment_filter_ids) writer.write_str_value("configurationError", self.configuration_error) writer.write_str_value("configurationOutput", self.configuration_output) diff --git a/msgraph_beta/generated/models/hardware_configuration_device_state_collection_response.py b/msgraph_beta/generated/models/hardware_configuration_device_state_collection_response.py index b1c4ec3eb58..fee5b9c5b5b 100644 --- a/msgraph_beta/generated/models/hardware_configuration_device_state_collection_response.py +++ b/msgraph_beta/generated/models/hardware_configuration_device_state_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .hardware_configuration_device_state import HardwareConfigurationDeviceState + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/hardware_configuration_run_summary.py b/msgraph_beta/generated/models/hardware_configuration_run_summary.py index 0b91e164582..1e0774cf582 100644 --- a/msgraph_beta/generated/models/hardware_configuration_run_summary.py +++ b/msgraph_beta/generated/models/hardware_configuration_run_summary.py @@ -91,6 +91,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_int_value("errorDeviceCount", self.error_device_count) writer.write_int_value("errorUserCount", self.error_user_count) writer.write_int_value("failedDeviceCount", self.failed_device_count) diff --git a/msgraph_beta/generated/models/hardware_configuration_user_state.py b/msgraph_beta/generated/models/hardware_configuration_user_state.py index 1fbb359e5ce..f600d201869 100644 --- a/msgraph_beta/generated/models/hardware_configuration_user_state.py +++ b/msgraph_beta/generated/models/hardware_configuration_user_state.py @@ -82,6 +82,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_int_value("errorDeviceCount", self.error_device_count) writer.write_int_value("failedDeviceCount", self.failed_device_count) writer.write_datetime_value("lastStateUpdateDateTime", self.last_state_update_date_time) diff --git a/msgraph_beta/generated/models/hardware_configuration_user_state_collection_response.py b/msgraph_beta/generated/models/hardware_configuration_user_state_collection_response.py index 9aa3e06df9a..3505c390522 100644 --- a/msgraph_beta/generated/models/hardware_configuration_user_state_collection_response.py +++ b/msgraph_beta/generated/models/hardware_configuration_user_state_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .hardware_configuration_user_state import HardwareConfigurationUserState + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/hardware_information.py b/msgraph_beta/generated/models/hardware_information.py index e09a8541c6b..cee393e576e 100644 --- a/msgraph_beta/generated/models/hardware_information.py +++ b/msgraph_beta/generated/models/hardware_information.py @@ -185,6 +185,12 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .device_guard_local_system_authority_credential_guard_state import DeviceGuardLocalSystemAuthorityCredentialGuardState + from .device_guard_virtualization_based_security_hardware_requirement_state import DeviceGuardVirtualizationBasedSecurityHardwareRequirementState + from .device_guard_virtualization_based_security_state import DeviceGuardVirtualizationBasedSecurityState + from .device_licensing_status import DeviceLicensingStatus + from .shared_apple_device_user import SharedAppleDeviceUser + writer.write_int_value("batteryChargeCycles", self.battery_charge_cycles) writer.write_int_value("batteryHealthPercentage", self.battery_health_percentage) writer.write_float_value("batteryLevelPercentage", self.battery_level_percentage) diff --git a/msgraph_beta/generated/models/hardware_oath_authentication_method_configuration.py b/msgraph_beta/generated/models/hardware_oath_authentication_method_configuration.py index 07483003e0e..7a2c1e6caa7 100644 --- a/msgraph_beta/generated/models/hardware_oath_authentication_method_configuration.py +++ b/msgraph_beta/generated/models/hardware_oath_authentication_method_configuration.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .authentication_method_configuration import AuthenticationMethodConfiguration + from .authentication_method_target import AuthenticationMethodTarget + writer.write_collection_of_object_values("includeTargets", self.include_targets) diff --git a/msgraph_beta/generated/models/hardware_password_detail.py b/msgraph_beta/generated/models/hardware_password_detail.py index c78d8da17b8..2537c947773 100644 --- a/msgraph_beta/generated/models/hardware_password_detail.py +++ b/msgraph_beta/generated/models/hardware_password_detail.py @@ -60,6 +60,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_str_value("serialNumber", self.serial_number) diff --git a/msgraph_beta/generated/models/hardware_password_detail_collection_response.py b/msgraph_beta/generated/models/hardware_password_detail_collection_response.py index 325065521cc..79f126ae287 100644 --- a/msgraph_beta/generated/models/hardware_password_detail_collection_response.py +++ b/msgraph_beta/generated/models/hardware_password_detail_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .hardware_password_detail import HardwarePasswordDetail + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/hardware_password_info.py b/msgraph_beta/generated/models/hardware_password_info.py index cbfaa0fbd7d..37ce4e00419 100644 --- a/msgraph_beta/generated/models/hardware_password_info.py +++ b/msgraph_beta/generated/models/hardware_password_info.py @@ -60,6 +60,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_str_value("serialNumber", self.serial_number) diff --git a/msgraph_beta/generated/models/hardware_password_info_collection_response.py b/msgraph_beta/generated/models/hardware_password_info_collection_response.py index 5c4de5aa21c..e38a9c78390 100644 --- a/msgraph_beta/generated/models/hardware_password_info_collection_response.py +++ b/msgraph_beta/generated/models/hardware_password_info_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .hardware_password_info import HardwarePasswordInfo + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/has_payload_link_result_item.py b/msgraph_beta/generated/models/has_payload_link_result_item.py index 1687a0b2158..1d5209e54e5 100644 --- a/msgraph_beta/generated/models/has_payload_link_result_item.py +++ b/msgraph_beta/generated/models/has_payload_link_result_item.py @@ -65,6 +65,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .device_and_app_management_assignment_source import DeviceAndAppManagementAssignmentSource + writer.write_str_value("error", self.error) writer.write_bool_value("hasLink", self.has_link) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/health_monitoring/alert.py b/msgraph_beta/generated/models/health_monitoring/alert.py index 77077d66747..1965cb0ef52 100644 --- a/msgraph_beta/generated/models/health_monitoring/alert.py +++ b/msgraph_beta/generated/models/health_monitoring/alert.py @@ -94,6 +94,15 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + from .alert_state import AlertState + from .alert_type import AlertType + from .category import Category + from .documentation import Documentation + from .enrichment import Enrichment + from .scenario import Scenario + from .signals import Signals + writer.write_enum_value("alertType", self.alert_type) writer.write_enum_value("category", self.category) writer.write_datetime_value("createdDateTime", self.created_date_time) diff --git a/msgraph_beta/generated/models/health_monitoring/alert_collection_response.py b/msgraph_beta/generated/models/health_monitoring/alert_collection_response.py index 3192706a815..d96e60a3b76 100644 --- a/msgraph_beta/generated/models/health_monitoring/alert_collection_response.py +++ b/msgraph_beta/generated/models/health_monitoring/alert_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .alert import Alert + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/health_monitoring/alert_configuration.py b/msgraph_beta/generated/models/health_monitoring/alert_configuration.py index 74dc8a196e1..5b154bad97a 100644 --- a/msgraph_beta/generated/models/health_monitoring/alert_configuration.py +++ b/msgraph_beta/generated/models/health_monitoring/alert_configuration.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + from .email_notification_configuration import EmailNotificationConfiguration + writer.write_collection_of_object_values("emailNotificationConfigurations", self.email_notification_configurations) diff --git a/msgraph_beta/generated/models/health_monitoring/alert_configuration_collection_response.py b/msgraph_beta/generated/models/health_monitoring/alert_configuration_collection_response.py index 2c3cf640935..fb9977a6c50 100644 --- a/msgraph_beta/generated/models/health_monitoring/alert_configuration_collection_response.py +++ b/msgraph_beta/generated/models/health_monitoring/alert_configuration_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .alert_configuration import AlertConfiguration + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/health_monitoring/application_impact_summary.py b/msgraph_beta/generated/models/health_monitoring/application_impact_summary.py index c866443d490..86ff9d1df90 100644 --- a/msgraph_beta/generated/models/health_monitoring/application_impact_summary.py +++ b/msgraph_beta/generated/models/health_monitoring/application_impact_summary.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .directory_object_impact_summary import DirectoryObjectImpactSummary + diff --git a/msgraph_beta/generated/models/health_monitoring/device_impact_summary.py b/msgraph_beta/generated/models/health_monitoring/device_impact_summary.py index 0873a1700db..21935c631c9 100644 --- a/msgraph_beta/generated/models/health_monitoring/device_impact_summary.py +++ b/msgraph_beta/generated/models/health_monitoring/device_impact_summary.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .directory_object_impact_summary import DirectoryObjectImpactSummary + diff --git a/msgraph_beta/generated/models/health_monitoring/dictionary.py b/msgraph_beta/generated/models/health_monitoring/dictionary.py index f03e0df5da0..26d372aeef1 100644 --- a/msgraph_beta/generated/models/health_monitoring/dictionary.py +++ b/msgraph_beta/generated/models/health_monitoring/dictionary.py @@ -30,7 +30,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> Dictionary: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.healthMonitoring.documentation".casefold(): @@ -79,6 +80,11 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .documentation import Documentation + from .health_monitoring_dictionary import HealthMonitoringDictionary + from .signals import Signals + from .supporting_data import SupportingData + writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/health_monitoring/directory_object_impact_summary.py b/msgraph_beta/generated/models/health_monitoring/directory_object_impact_summary.py index 77e67dc5728..14c732b6753 100644 --- a/msgraph_beta/generated/models/health_monitoring/directory_object_impact_summary.py +++ b/msgraph_beta/generated/models/health_monitoring/directory_object_impact_summary.py @@ -31,7 +31,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> DirectoryObjectImp if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.healthMonitoring.applicationImpactSummary".casefold(): @@ -93,6 +94,14 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..directory_object import DirectoryObject + from .application_impact_summary import ApplicationImpactSummary + from .device_impact_summary import DeviceImpactSummary + from .group_impact_summary import GroupImpactSummary + from .resource_impact_summary import ResourceImpactSummary + from .service_principal_impact_summary import ServicePrincipalImpactSummary + from .user_impact_summary import UserImpactSummary + writer.write_collection_of_object_values("resourceSampling", self.resource_sampling) diff --git a/msgraph_beta/generated/models/health_monitoring/documentation.py b/msgraph_beta/generated/models/health_monitoring/documentation.py index ce772d0fbfa..3215eaeaecf 100644 --- a/msgraph_beta/generated/models/health_monitoring/documentation.py +++ b/msgraph_beta/generated/models/health_monitoring/documentation.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .health_monitoring_dictionary import HealthMonitoringDictionary + diff --git a/msgraph_beta/generated/models/health_monitoring/enrichment.py b/msgraph_beta/generated/models/health_monitoring/enrichment.py index bee70ee6bf6..a668576092d 100644 --- a/msgraph_beta/generated/models/health_monitoring/enrichment.py +++ b/msgraph_beta/generated/models/health_monitoring/enrichment.py @@ -65,6 +65,10 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .enrichment_state import EnrichmentState + from .resource_impact_summary import ResourceImpactSummary + from .supporting_data import SupportingData + writer.write_collection_of_object_values("impacts", self.impacts) writer.write_str_value("@odata.type", self.odata_type) writer.write_enum_value("state", self.state) diff --git a/msgraph_beta/generated/models/health_monitoring/group_impact_summary.py b/msgraph_beta/generated/models/health_monitoring/group_impact_summary.py index 5baf2fd0763..29497f407b2 100644 --- a/msgraph_beta/generated/models/health_monitoring/group_impact_summary.py +++ b/msgraph_beta/generated/models/health_monitoring/group_impact_summary.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .directory_object_impact_summary import DirectoryObjectImpactSummary + diff --git a/msgraph_beta/generated/models/health_monitoring/health_monitoring_dictionary.py b/msgraph_beta/generated/models/health_monitoring/health_monitoring_dictionary.py index d8aea8c2359..31c1319b594 100644 --- a/msgraph_beta/generated/models/health_monitoring/health_monitoring_dictionary.py +++ b/msgraph_beta/generated/models/health_monitoring/health_monitoring_dictionary.py @@ -26,7 +26,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> HealthMonitoringDi if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.healthMonitoring.documentation".casefold(): @@ -73,5 +74,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .dictionary import Dictionary + from .documentation import Documentation + from .signals import Signals + from .supporting_data import SupportingData + diff --git a/msgraph_beta/generated/models/health_monitoring/health_monitoring_root.py b/msgraph_beta/generated/models/health_monitoring/health_monitoring_root.py index 19f54180ba1..d04073700df 100644 --- a/msgraph_beta/generated/models/health_monitoring/health_monitoring_root.py +++ b/msgraph_beta/generated/models/health_monitoring/health_monitoring_root.py @@ -60,6 +60,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + from .alert import Alert + from .alert_configuration import AlertConfiguration + writer.write_collection_of_object_values("alertConfigurations", self.alert_configurations) writer.write_collection_of_object_values("alerts", self.alerts) diff --git a/msgraph_beta/generated/models/health_monitoring/resource_impact_summary.py b/msgraph_beta/generated/models/health_monitoring/resource_impact_summary.py index 2375d08bf88..8ad69e47b1e 100644 --- a/msgraph_beta/generated/models/health_monitoring/resource_impact_summary.py +++ b/msgraph_beta/generated/models/health_monitoring/resource_impact_summary.py @@ -38,7 +38,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> ResourceImpactSumm if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.healthMonitoring.applicationImpactSummary".casefold(): @@ -102,6 +103,13 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .application_impact_summary import ApplicationImpactSummary + from .device_impact_summary import DeviceImpactSummary + from .directory_object_impact_summary import DirectoryObjectImpactSummary + from .group_impact_summary import GroupImpactSummary + from .service_principal_impact_summary import ServicePrincipalImpactSummary + from .user_impact_summary import UserImpactSummary + writer.write_str_value("impactedCount", self.impacted_count) writer.write_bool_value("impactedCountLimitExceeded", self.impacted_count_limit_exceeded) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/health_monitoring/service_principal_impact_summary.py b/msgraph_beta/generated/models/health_monitoring/service_principal_impact_summary.py index e4c9de96db9..6ae62e3c0ce 100644 --- a/msgraph_beta/generated/models/health_monitoring/service_principal_impact_summary.py +++ b/msgraph_beta/generated/models/health_monitoring/service_principal_impact_summary.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .directory_object_impact_summary import DirectoryObjectImpactSummary + diff --git a/msgraph_beta/generated/models/health_monitoring/signals.py b/msgraph_beta/generated/models/health_monitoring/signals.py index 7dfad2481b6..f8c8cdc12d4 100644 --- a/msgraph_beta/generated/models/health_monitoring/signals.py +++ b/msgraph_beta/generated/models/health_monitoring/signals.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .health_monitoring_dictionary import HealthMonitoringDictionary + diff --git a/msgraph_beta/generated/models/health_monitoring/supporting_data.py b/msgraph_beta/generated/models/health_monitoring/supporting_data.py index 6921dd4a80e..6bb48314062 100644 --- a/msgraph_beta/generated/models/health_monitoring/supporting_data.py +++ b/msgraph_beta/generated/models/health_monitoring/supporting_data.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .health_monitoring_dictionary import HealthMonitoringDictionary + diff --git a/msgraph_beta/generated/models/health_monitoring/user_impact_summary.py b/msgraph_beta/generated/models/health_monitoring/user_impact_summary.py index a26e98a805e..492ae740802 100644 --- a/msgraph_beta/generated/models/health_monitoring/user_impact_summary.py +++ b/msgraph_beta/generated/models/health_monitoring/user_impact_summary.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .directory_object_impact_summary import DirectoryObjectImpactSummary + diff --git a/msgraph_beta/generated/models/home_realm_discovery_policy.py b/msgraph_beta/generated/models/home_realm_discovery_policy.py index e0480293168..3cd2d6b44da 100644 --- a/msgraph_beta/generated/models/home_realm_discovery_policy.py +++ b/msgraph_beta/generated/models/home_realm_discovery_policy.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .sts_policy import StsPolicy + diff --git a/msgraph_beta/generated/models/home_realm_discovery_policy_collection_response.py b/msgraph_beta/generated/models/home_realm_discovery_policy_collection_response.py index bfd3d879daf..dea8755339a 100644 --- a/msgraph_beta/generated/models/home_realm_discovery_policy_collection_response.py +++ b/msgraph_beta/generated/models/home_realm_discovery_policy_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .home_realm_discovery_policy import HomeRealmDiscoveryPolicy + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/horizontal_section.py b/msgraph_beta/generated/models/horizontal_section.py index 0a85fd752c9..e77ae1fc2af 100644 --- a/msgraph_beta/generated/models/horizontal_section.py +++ b/msgraph_beta/generated/models/horizontal_section.py @@ -66,6 +66,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .horizontal_section_column import HorizontalSectionColumn + from .horizontal_section_layout_type import HorizontalSectionLayoutType + from .section_emphasis_type import SectionEmphasisType + writer.write_collection_of_object_values("columns", self.columns) writer.write_enum_value("emphasis", self.emphasis) writer.write_enum_value("layout", self.layout) diff --git a/msgraph_beta/generated/models/horizontal_section_collection_response.py b/msgraph_beta/generated/models/horizontal_section_collection_response.py index 1046b02b931..0dbfa19add8 100644 --- a/msgraph_beta/generated/models/horizontal_section_collection_response.py +++ b/msgraph_beta/generated/models/horizontal_section_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .horizontal_section import HorizontalSection + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/horizontal_section_column.py b/msgraph_beta/generated/models/horizontal_section_column.py index 12cdb056f11..d7eeea11829 100644 --- a/msgraph_beta/generated/models/horizontal_section_column.py +++ b/msgraph_beta/generated/models/horizontal_section_column.py @@ -57,6 +57,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .web_part import WebPart + writer.write_collection_of_object_values("webparts", self.webparts) writer.write_int_value("width", self.width) diff --git a/msgraph_beta/generated/models/horizontal_section_column_collection_response.py b/msgraph_beta/generated/models/horizontal_section_column_collection_response.py index de2152a8d14..3f57bba136e 100644 --- a/msgraph_beta/generated/models/horizontal_section_column_collection_response.py +++ b/msgraph_beta/generated/models/horizontal_section_column_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .horizontal_section_column import HorizontalSectionColumn + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/host_security_profile.py b/msgraph_beta/generated/models/host_security_profile.py index 40e361a5f3b..91114711fb7 100644 --- a/msgraph_beta/generated/models/host_security_profile.py +++ b/msgraph_beta/generated/models/host_security_profile.py @@ -112,6 +112,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .logon_user import LogonUser + from .network_interface import NetworkInterface + from .security_vendor_information import SecurityVendorInformation + writer.write_str_value("azureSubscriptionId", self.azure_subscription_id) writer.write_str_value("azureTenantId", self.azure_tenant_id) writer.write_datetime_value("firstSeenDateTime", self.first_seen_date_time) diff --git a/msgraph_beta/generated/models/host_security_profile_collection_response.py b/msgraph_beta/generated/models/host_security_profile_collection_response.py index 47791db16dd..44b63cc5742 100644 --- a/msgraph_beta/generated/models/host_security_profile_collection_response.py +++ b/msgraph_beta/generated/models/host_security_profile_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .host_security_profile import HostSecurityProfile + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/http_request_endpoint.py b/msgraph_beta/generated/models/http_request_endpoint.py index 9d540e9adc0..36c7ae25234 100644 --- a/msgraph_beta/generated/models/http_request_endpoint.py +++ b/msgraph_beta/generated/models/http_request_endpoint.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .custom_extension_endpoint_configuration import CustomExtensionEndpointConfiguration + writer.write_str_value("targetUrl", self.target_url) diff --git a/msgraph_beta/generated/models/hybrid_agent_updater_configuration.py b/msgraph_beta/generated/models/hybrid_agent_updater_configuration.py index e13612467ef..0642f9c74d9 100644 --- a/msgraph_beta/generated/models/hybrid_agent_updater_configuration.py +++ b/msgraph_beta/generated/models/hybrid_agent_updater_configuration.py @@ -60,6 +60,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .update_window import UpdateWindow + writer.write_bool_value("allowUpdateConfigurationOverride", self.allow_update_configuration_override) writer.write_datetime_value("deferUpdateDateTime", self.defer_update_date_time) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/i_pv4_cidr_range.py b/msgraph_beta/generated/models/i_pv4_cidr_range.py index 2cdc2c62f99..2a44de687a3 100644 --- a/msgraph_beta/generated/models/i_pv4_cidr_range.py +++ b/msgraph_beta/generated/models/i_pv4_cidr_range.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .ip_range import IpRange + writer.write_str_value("cidrAddress", self.cidr_address) diff --git a/msgraph_beta/generated/models/i_pv4_range.py b/msgraph_beta/generated/models/i_pv4_range.py index 81b00429783..c293254e52b 100644 --- a/msgraph_beta/generated/models/i_pv4_range.py +++ b/msgraph_beta/generated/models/i_pv4_range.py @@ -57,6 +57,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .ip_range import IpRange + writer.write_str_value("lowerAddress", self.lower_address) writer.write_str_value("upperAddress", self.upper_address) diff --git a/msgraph_beta/generated/models/i_pv6_cidr_range.py b/msgraph_beta/generated/models/i_pv6_cidr_range.py index 88dc55b9afd..dba79ecfebc 100644 --- a/msgraph_beta/generated/models/i_pv6_cidr_range.py +++ b/msgraph_beta/generated/models/i_pv6_cidr_range.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .ip_range import IpRange + writer.write_str_value("cidrAddress", self.cidr_address) diff --git a/msgraph_beta/generated/models/i_pv6_range.py b/msgraph_beta/generated/models/i_pv6_range.py index d8b622e0d07..b82381f4bf5 100644 --- a/msgraph_beta/generated/models/i_pv6_range.py +++ b/msgraph_beta/generated/models/i_pv6_range.py @@ -57,6 +57,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .ip_range import IpRange + writer.write_str_value("lowerAddress", self.lower_address) writer.write_str_value("upperAddress", self.upper_address) diff --git a/msgraph_beta/generated/models/identifier_uri_configuration.py b/msgraph_beta/generated/models/identifier_uri_configuration.py index ad6e56e044c..f2c5f570219 100644 --- a/msgraph_beta/generated/models/identifier_uri_configuration.py +++ b/msgraph_beta/generated/models/identifier_uri_configuration.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .identifier_uri_restriction import IdentifierUriRestriction + writer.write_object_value("nonDefaultUriAddition", self.non_default_uri_addition) writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/identifier_uri_restriction.py b/msgraph_beta/generated/models/identifier_uri_restriction.py index 778085aa095..4a5fd7f630d 100644 --- a/msgraph_beta/generated/models/identifier_uri_restriction.py +++ b/msgraph_beta/generated/models/identifier_uri_restriction.py @@ -6,6 +6,7 @@ from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union if TYPE_CHECKING: + from .app_management_policy_actor_exemptions import AppManagementPolicyActorExemptions from .app_management_restriction_state import AppManagementRestrictionState @dataclass @@ -15,6 +16,8 @@ class IdentifierUriRestriction(AdditionalDataHolder, BackedModel, Parsable): # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. additional_data: Dict[str, Any] = field(default_factory=dict) + # The excludeActors property + exclude_actors: Optional[AppManagementPolicyActorExemptions] = None # If true, the restriction isn't enforced for applications that are configured to receive V2 tokens in Entra ID; else, the restriction isn't enforced for those applications. exclude_apps_receiving_v2_tokens: Optional[bool] = None # If true, the restriction isn't enforced for SAML applications in Microsoft Entra ID; else, the restriction is enforced for those applications. @@ -42,11 +45,14 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: The deserialization information for the current model Returns: Dict[str, Callable[[ParseNode], None]] """ + from .app_management_policy_actor_exemptions import AppManagementPolicyActorExemptions from .app_management_restriction_state import AppManagementRestrictionState + from .app_management_policy_actor_exemptions import AppManagementPolicyActorExemptions from .app_management_restriction_state import AppManagementRestrictionState fields: Dict[str, Callable[[Any], None]] = { + "excludeActors": lambda n : setattr(self, 'exclude_actors', n.get_object_value(AppManagementPolicyActorExemptions)), "excludeAppsReceivingV2Tokens": lambda n : setattr(self, 'exclude_apps_receiving_v2_tokens', n.get_bool_value()), "excludeSaml": lambda n : setattr(self, 'exclude_saml', n.get_bool_value()), "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), @@ -63,6 +69,10 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .app_management_policy_actor_exemptions import AppManagementPolicyActorExemptions + from .app_management_restriction_state import AppManagementRestrictionState + + writer.write_object_value("excludeActors", self.exclude_actors) writer.write_bool_value("excludeAppsReceivingV2Tokens", self.exclude_apps_receiving_v2_tokens) writer.write_bool_value("excludeSaml", self.exclude_saml) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/identity.py b/msgraph_beta/generated/models/identity.py index c1a2412413b..d567a18d7ef 100644 --- a/msgraph_beta/generated/models/identity.py +++ b/msgraph_beta/generated/models/identity.py @@ -38,9 +38,9 @@ class Identity(AdditionalDataHolder, BackedModel, Parsable): # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. additional_data: Dict[str, Any] = field(default_factory=dict) - # The display name of the identity. This property is read-only. + # The display name of the identity. For drive items, the display name might not always be available or up to date. For example, if a user changes their display name the API might show the new value in a future response, but the items associated with the user don't show up as changed when using delta. display_name: Optional[str] = None - # The identifier of the identity. This property is read-only. + # Unique identifier for the identity or actor. For example, in the access reviews decisions API, this property might record the id of the principal, that is, the group, user, or application that's subject to review. id: Optional[str] = None # The OdataType property odata_type: Optional[str] = None @@ -55,7 +55,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> Identity: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.auditUserIdentity".casefold(): @@ -234,6 +235,32 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .audit_user_identity import AuditUserIdentity + from .azure_communication_services_user_identity import AzureCommunicationServicesUserIdentity + from .call_records.user_identity import UserIdentity + from .communications_application_identity import CommunicationsApplicationIdentity + from .communications_application_instance_identity import CommunicationsApplicationInstanceIdentity + from .communications_encrypted_identity import CommunicationsEncryptedIdentity + from .communications_guest_identity import CommunicationsGuestIdentity + from .communications_phone_identity import CommunicationsPhoneIdentity + from .communications_user_identity import CommunicationsUserIdentity + from .email_identity import EmailIdentity + from .initiator import Initiator + from .program_resource import ProgramResource + from .provisioned_identity import ProvisionedIdentity + from .provisioning_service_principal import ProvisioningServicePrincipal + from .provisioning_system import ProvisioningSystem + from .security.submission_user_identity import SubmissionUserIdentity + from .service_principal_identity import ServicePrincipalIdentity + from .share_point_identity import SharePointIdentity + from .source_provisioned_identity import SourceProvisionedIdentity + from .target_provisioned_identity import TargetProvisionedIdentity + from .teamwork_application_identity import TeamworkApplicationIdentity + from .teamwork_conversation_identity import TeamworkConversationIdentity + from .teamwork_tag_identity import TeamworkTagIdentity + from .teamwork_user_identity import TeamworkUserIdentity + from .user_identity import UserIdentity + writer.write_str_value("displayName", self.display_name) writer.write_str_value("id", self.id) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/identity_api_connector.py b/msgraph_beta/generated/models/identity_api_connector.py index 159f69caaaa..6d5672a75c6 100644 --- a/msgraph_beta/generated/models/identity_api_connector.py +++ b/msgraph_beta/generated/models/identity_api_connector.py @@ -60,6 +60,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .api_authentication_configuration_base import ApiAuthenticationConfigurationBase + from .entity import Entity + writer.write_object_value("authenticationConfiguration", self.authentication_configuration) writer.write_str_value("displayName", self.display_name) writer.write_str_value("targetUrl", self.target_url) diff --git a/msgraph_beta/generated/models/identity_api_connector_collection_response.py b/msgraph_beta/generated/models/identity_api_connector_collection_response.py index 3e450f69328..d7a28fee892 100644 --- a/msgraph_beta/generated/models/identity_api_connector_collection_response.py +++ b/msgraph_beta/generated/models/identity_api_connector_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .identity_api_connector import IdentityApiConnector + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/identity_built_in_user_flow_attribute.py b/msgraph_beta/generated/models/identity_built_in_user_flow_attribute.py index 78b646c3650..70979f20cf2 100644 --- a/msgraph_beta/generated/models/identity_built_in_user_flow_attribute.py +++ b/msgraph_beta/generated/models/identity_built_in_user_flow_attribute.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .identity_user_flow_attribute import IdentityUserFlowAttribute + diff --git a/msgraph_beta/generated/models/identity_container.py b/msgraph_beta/generated/models/identity_container.py index 921e9afffc3..cf61109572b 100644 --- a/msgraph_beta/generated/models/identity_container.py +++ b/msgraph_beta/generated/models/identity_container.py @@ -113,6 +113,18 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .authentication_events_flow import AuthenticationEventsFlow + from .authentication_event_listener import AuthenticationEventListener + from .b2c_identity_user_flow import B2cIdentityUserFlow + from .b2x_identity_user_flow import B2xIdentityUserFlow + from .conditional_access_root import ConditionalAccessRoot + from .continuous_access_evaluation_policy import ContinuousAccessEvaluationPolicy + from .custom_authentication_extension import CustomAuthenticationExtension + from .identity_api_connector import IdentityApiConnector + from .identity_provider_base import IdentityProviderBase + from .identity_user_flow import IdentityUserFlow + from .identity_user_flow_attribute import IdentityUserFlowAttribute + writer.write_collection_of_object_values("apiConnectors", self.api_connectors) writer.write_collection_of_object_values("authenticationEventListeners", self.authentication_event_listeners) writer.write_collection_of_object_values("authenticationEventsFlows", self.authentication_events_flows) diff --git a/msgraph_beta/generated/models/identity_custom_user_flow_attribute.py b/msgraph_beta/generated/models/identity_custom_user_flow_attribute.py index c3d9d46082b..6f25338f56d 100644 --- a/msgraph_beta/generated/models/identity_custom_user_flow_attribute.py +++ b/msgraph_beta/generated/models/identity_custom_user_flow_attribute.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .identity_user_flow_attribute import IdentityUserFlowAttribute + diff --git a/msgraph_beta/generated/models/identity_finding.py b/msgraph_beta/generated/models/identity_finding.py index eb9dd5f0bc8..cdfa9fb1534 100644 --- a/msgraph_beta/generated/models/identity_finding.py +++ b/msgraph_beta/generated/models/identity_finding.py @@ -54,7 +54,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> IdentityFinding: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.inactiveAwsResourceFinding".casefold(): @@ -209,6 +210,31 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .action_summary import ActionSummary + from .authorization_system_identity import AuthorizationSystemIdentity + from .finding import Finding + from .identity_details import IdentityDetails + from .inactive_aws_resource_finding import InactiveAwsResourceFinding + from .inactive_aws_role_finding import InactiveAwsRoleFinding + from .inactive_azure_service_principal_finding import InactiveAzureServicePrincipalFinding + from .inactive_gcp_service_account_finding import InactiveGcpServiceAccountFinding + from .inactive_serverless_function_finding import InactiveServerlessFunctionFinding + from .inactive_user_finding import InactiveUserFinding + from .overprovisioned_aws_resource_finding import OverprovisionedAwsResourceFinding + from .overprovisioned_aws_role_finding import OverprovisionedAwsRoleFinding + from .overprovisioned_azure_service_principal_finding import OverprovisionedAzureServicePrincipalFinding + from .overprovisioned_gcp_service_account_finding import OverprovisionedGcpServiceAccountFinding + from .overprovisioned_serverless_function_finding import OverprovisionedServerlessFunctionFinding + from .overprovisioned_user_finding import OverprovisionedUserFinding + from .permissions_creep_index import PermissionsCreepIndex + from .super_aws_resource_finding import SuperAwsResourceFinding + from .super_aws_role_finding import SuperAwsRoleFinding + from .super_azure_service_principal_finding import SuperAzureServicePrincipalFinding + from .super_gcp_service_account_finding import SuperGcpServiceAccountFinding + from .super_serverless_function_finding import SuperServerlessFunctionFinding + from .super_user_finding import SuperUserFinding + from .unenforced_mfa_aws_user_finding import UnenforcedMfaAwsUserFinding + writer.write_object_value("actionSummary", self.action_summary) writer.write_object_value("identity", self.identity) writer.write_object_value("identityDetails", self.identity_details) diff --git a/msgraph_beta/generated/models/identity_governance/attribute_change_trigger.py b/msgraph_beta/generated/models/identity_governance/attribute_change_trigger.py index 7309b526651..5d30947a8a9 100644 --- a/msgraph_beta/generated/models/identity_governance/attribute_change_trigger.py +++ b/msgraph_beta/generated/models/identity_governance/attribute_change_trigger.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .trigger_attribute import TriggerAttribute + from .workflow_execution_trigger import WorkflowExecutionTrigger + writer.write_collection_of_object_values("triggerAttributes", self.trigger_attributes) diff --git a/msgraph_beta/generated/models/identity_governance/custom_task_extension.py b/msgraph_beta/generated/models/identity_governance/custom_task_extension.py index 4ee6e1e5d24..b57427f7bad 100644 --- a/msgraph_beta/generated/models/identity_governance/custom_task_extension.py +++ b/msgraph_beta/generated/models/identity_governance/custom_task_extension.py @@ -70,6 +70,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..custom_callout_extension import CustomCalloutExtension + from ..custom_extension_callback_configuration import CustomExtensionCallbackConfiguration + from ..user import User + writer.write_object_value("callbackConfiguration", self.callback_configuration) writer.write_object_value("createdBy", self.created_by) writer.write_datetime_value("createdDateTime", self.created_date_time) diff --git a/msgraph_beta/generated/models/identity_governance/custom_task_extension_callback_configuration.py b/msgraph_beta/generated/models/identity_governance/custom_task_extension_callback_configuration.py index 6e06ecebd3d..366145f003c 100644 --- a/msgraph_beta/generated/models/identity_governance/custom_task_extension_callback_configuration.py +++ b/msgraph_beta/generated/models/identity_governance/custom_task_extension_callback_configuration.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..application import Application + from ..custom_extension_callback_configuration import CustomExtensionCallbackConfiguration + writer.write_collection_of_object_values("authorizedApps", self.authorized_apps) diff --git a/msgraph_beta/generated/models/identity_governance/custom_task_extension_callback_data.py b/msgraph_beta/generated/models/identity_governance/custom_task_extension_callback_data.py index ae23c2699aa..3a3840fec0f 100644 --- a/msgraph_beta/generated/models/identity_governance/custom_task_extension_callback_data.py +++ b/msgraph_beta/generated/models/identity_governance/custom_task_extension_callback_data.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..custom_extension_data import CustomExtensionData + from .custom_task_extension_operation_status import CustomTaskExtensionOperationStatus + writer.write_enum_value("operationStatus", self.operation_status) diff --git a/msgraph_beta/generated/models/identity_governance/custom_task_extension_callout_data.py b/msgraph_beta/generated/models/identity_governance/custom_task_extension_callout_data.py index 69852b780a2..312e26a19cd 100644 --- a/msgraph_beta/generated/models/identity_governance/custom_task_extension_callout_data.py +++ b/msgraph_beta/generated/models/identity_governance/custom_task_extension_callout_data.py @@ -72,6 +72,12 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..custom_extension_data import CustomExtensionData + from ..user import User + from .task import Task + from .task_processing_result import TaskProcessingResult + from .workflow import Workflow + writer.write_object_value("subject", self.subject) writer.write_object_value("task", self.task) writer.write_object_value("taskProcessingresult", self.task_processingresult) diff --git a/msgraph_beta/generated/models/identity_governance/custom_task_extension_collection_response.py b/msgraph_beta/generated/models/identity_governance/custom_task_extension_collection_response.py index e6de1037972..c8af7ad9bc5 100644 --- a/msgraph_beta/generated/models/identity_governance/custom_task_extension_collection_response.py +++ b/msgraph_beta/generated/models/identity_governance/custom_task_extension_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .custom_task_extension import CustomTaskExtension + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/identity_governance/group_based_subject_set.py b/msgraph_beta/generated/models/identity_governance/group_based_subject_set.py index 7bb0f71258f..ecdc69f8549 100644 --- a/msgraph_beta/generated/models/identity_governance/group_based_subject_set.py +++ b/msgraph_beta/generated/models/identity_governance/group_based_subject_set.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..group import Group + from ..subject_set import SubjectSet + writer.write_collection_of_object_values("groups", self.groups) diff --git a/msgraph_beta/generated/models/identity_governance/identity_governance.py b/msgraph_beta/generated/models/identity_governance/identity_governance.py index 56d192ad998..c413e1fd0be 100644 --- a/msgraph_beta/generated/models/identity_governance/identity_governance.py +++ b/msgraph_beta/generated/models/identity_governance/identity_governance.py @@ -101,6 +101,16 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ..access_review_set import AccessReviewSet + from ..app_consent_approval_route import AppConsentApprovalRoute + from ..entitlement_management import EntitlementManagement + from ..permissions_analytics_aggregation import PermissionsAnalyticsAggregation + from ..permissions_management import PermissionsManagement + from ..privileged_access_root import PrivilegedAccessRoot + from ..role_management_alert import RoleManagementAlert + from ..terms_of_use_container import TermsOfUseContainer + from .lifecycle_workflows_container import LifecycleWorkflowsContainer + writer.write_object_value("accessReviews", self.access_reviews) writer.write_object_value("appConsent", self.app_consent) writer.write_object_value("entitlementManagement", self.entitlement_management) diff --git a/msgraph_beta/generated/models/identity_governance/insights.py b/msgraph_beta/generated/models/identity_governance/insights.py index f732455f5d4..f967e1179bf 100644 --- a/msgraph_beta/generated/models/identity_governance/insights.py +++ b/msgraph_beta/generated/models/identity_governance/insights.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + diff --git a/msgraph_beta/generated/models/identity_governance/lifecycle_management_settings.py b/msgraph_beta/generated/models/identity_governance/lifecycle_management_settings.py index c63bfd0e4e9..98c36fb14a7 100644 --- a/msgraph_beta/generated/models/identity_governance/lifecycle_management_settings.py +++ b/msgraph_beta/generated/models/identity_governance/lifecycle_management_settings.py @@ -57,6 +57,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..email_settings import EmailSettings + from ..entity import Entity + writer.write_object_value("emailSettings", self.email_settings) writer.write_int_value("workflowScheduleIntervalInHours", self.workflow_schedule_interval_in_hours) diff --git a/msgraph_beta/generated/models/identity_governance/lifecycle_workflows_container.py b/msgraph_beta/generated/models/identity_governance/lifecycle_workflows_container.py index 27a539cb7a4..3205f4eb0a5 100644 --- a/msgraph_beta/generated/models/identity_governance/lifecycle_workflows_container.py +++ b/msgraph_beta/generated/models/identity_governance/lifecycle_workflows_container.py @@ -90,6 +90,15 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..deleted_item_container import DeletedItemContainer + from ..entity import Entity + from .custom_task_extension import CustomTaskExtension + from .insights import Insights + from .lifecycle_management_settings import LifecycleManagementSettings + from .task_definition import TaskDefinition + from .workflow import Workflow + from .workflow_template import WorkflowTemplate + writer.write_collection_of_object_values("customTaskExtensions", self.custom_task_extensions) writer.write_object_value("deletedItems", self.deleted_items) writer.write_object_value("insights", self.insights) diff --git a/msgraph_beta/generated/models/identity_governance/membership_change_trigger.py b/msgraph_beta/generated/models/identity_governance/membership_change_trigger.py index 21daf72cdd8..9aed1af4005 100644 --- a/msgraph_beta/generated/models/identity_governance/membership_change_trigger.py +++ b/msgraph_beta/generated/models/identity_governance/membership_change_trigger.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .membership_change_type import MembershipChangeType + from .workflow_execution_trigger import WorkflowExecutionTrigger + writer.write_enum_value("changeType", self.change_type) diff --git a/msgraph_beta/generated/models/identity_governance/on_demand_execution_only.py b/msgraph_beta/generated/models/identity_governance/on_demand_execution_only.py index c5b97dec3d6..0bd9b3208e3 100644 --- a/msgraph_beta/generated/models/identity_governance/on_demand_execution_only.py +++ b/msgraph_beta/generated/models/identity_governance/on_demand_execution_only.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .workflow_execution_conditions import WorkflowExecutionConditions + diff --git a/msgraph_beta/generated/models/identity_governance/parameter.py b/msgraph_beta/generated/models/identity_governance/parameter.py index c6040e224b3..3a1e4f53550 100644 --- a/msgraph_beta/generated/models/identity_governance/parameter.py +++ b/msgraph_beta/generated/models/identity_governance/parameter.py @@ -59,6 +59,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .value_type import ValueType + writer.write_str_value("name", self.name) writer.write_str_value("@odata.type", self.odata_type) writer.write_enum_value("valueType", self.value_type) diff --git a/msgraph_beta/generated/models/identity_governance/rule_based_subject_set.py b/msgraph_beta/generated/models/identity_governance/rule_based_subject_set.py index cbbe238fa41..10bbd0c229a 100644 --- a/msgraph_beta/generated/models/identity_governance/rule_based_subject_set.py +++ b/msgraph_beta/generated/models/identity_governance/rule_based_subject_set.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..subject_set import SubjectSet + writer.write_str_value("rule", self.rule) diff --git a/msgraph_beta/generated/models/identity_governance/run.py b/msgraph_beta/generated/models/identity_governance/run.py index a4c6c78a897..21473420e3a 100644 --- a/msgraph_beta/generated/models/identity_governance/run.py +++ b/msgraph_beta/generated/models/identity_governance/run.py @@ -103,6 +103,12 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + from .lifecycle_workflow_processing_status import LifecycleWorkflowProcessingStatus + from .task_processing_result import TaskProcessingResult + from .user_processing_result import UserProcessingResult + from .workflow_execution_type import WorkflowExecutionType + writer.write_datetime_value("completedDateTime", self.completed_date_time) writer.write_int_value("failedTasksCount", self.failed_tasks_count) writer.write_int_value("failedUsersCount", self.failed_users_count) diff --git a/msgraph_beta/generated/models/identity_governance/run_collection_response.py b/msgraph_beta/generated/models/identity_governance/run_collection_response.py index bef20882bf7..dcc7166e16e 100644 --- a/msgraph_beta/generated/models/identity_governance/run_collection_response.py +++ b/msgraph_beta/generated/models/identity_governance/run_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .run import Run + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/identity_governance/task.py b/msgraph_beta/generated/models/identity_governance/task.py index fcdb1d14fa7..8965e239218 100644 --- a/msgraph_beta/generated/models/identity_governance/task.py +++ b/msgraph_beta/generated/models/identity_governance/task.py @@ -84,6 +84,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + from ..key_value_pair import KeyValuePair + from .lifecycle_task_category import LifecycleTaskCategory + from .task_processing_result import TaskProcessingResult + writer.write_collection_of_object_values("arguments", self.arguments) writer.write_enum_value("category", self.category) writer.write_bool_value("continueOnError", self.continue_on_error) diff --git a/msgraph_beta/generated/models/identity_governance/task_collection_response.py b/msgraph_beta/generated/models/identity_governance/task_collection_response.py index ae7d6475635..410907480ec 100644 --- a/msgraph_beta/generated/models/identity_governance/task_collection_response.py +++ b/msgraph_beta/generated/models/identity_governance/task_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .task import Task + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/identity_governance/task_definition.py b/msgraph_beta/generated/models/identity_governance/task_definition.py index b86ca6c62a5..6e5bc8d581c 100644 --- a/msgraph_beta/generated/models/identity_governance/task_definition.py +++ b/msgraph_beta/generated/models/identity_governance/task_definition.py @@ -72,6 +72,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + from .lifecycle_task_category import LifecycleTaskCategory + from .parameter import Parameter + writer.write_enum_value("category", self.category) writer.write_bool_value("continueOnError", self.continue_on_error) writer.write_str_value("description", self.description) diff --git a/msgraph_beta/generated/models/identity_governance/task_definition_collection_response.py b/msgraph_beta/generated/models/identity_governance/task_definition_collection_response.py index a20e45ad7ca..1a5e9a6b863 100644 --- a/msgraph_beta/generated/models/identity_governance/task_definition_collection_response.py +++ b/msgraph_beta/generated/models/identity_governance/task_definition_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .task_definition import TaskDefinition + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/identity_governance/task_processing_result.py b/msgraph_beta/generated/models/identity_governance/task_processing_result.py index 899957621f5..243a606023b 100644 --- a/msgraph_beta/generated/models/identity_governance/task_processing_result.py +++ b/msgraph_beta/generated/models/identity_governance/task_processing_result.py @@ -79,6 +79,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + from ..user import User + from .lifecycle_workflow_processing_status import LifecycleWorkflowProcessingStatus + from .task import Task + writer.write_datetime_value("completedDateTime", self.completed_date_time) writer.write_datetime_value("createdDateTime", self.created_date_time) writer.write_str_value("failureReason", self.failure_reason) diff --git a/msgraph_beta/generated/models/identity_governance/task_processing_result_collection_response.py b/msgraph_beta/generated/models/identity_governance/task_processing_result_collection_response.py index 78d9cbf64bb..40ed7cf9ced 100644 --- a/msgraph_beta/generated/models/identity_governance/task_processing_result_collection_response.py +++ b/msgraph_beta/generated/models/identity_governance/task_processing_result_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .task_processing_result import TaskProcessingResult + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/identity_governance/task_report.py b/msgraph_beta/generated/models/identity_governance/task_report.py index 2fe1eb53958..7e22e1d6cec 100644 --- a/msgraph_beta/generated/models/identity_governance/task_report.py +++ b/msgraph_beta/generated/models/identity_governance/task_report.py @@ -97,6 +97,12 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + from .lifecycle_workflow_processing_status import LifecycleWorkflowProcessingStatus + from .task import Task + from .task_definition import TaskDefinition + from .task_processing_result import TaskProcessingResult + writer.write_datetime_value("completedDateTime", self.completed_date_time) writer.write_int_value("failedUsersCount", self.failed_users_count) writer.write_datetime_value("lastUpdatedDateTime", self.last_updated_date_time) diff --git a/msgraph_beta/generated/models/identity_governance/task_report_collection_response.py b/msgraph_beta/generated/models/identity_governance/task_report_collection_response.py index 767388d136d..1f6d7a10548 100644 --- a/msgraph_beta/generated/models/identity_governance/task_report_collection_response.py +++ b/msgraph_beta/generated/models/identity_governance/task_report_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .task_report import TaskReport + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/identity_governance/time_based_attribute_trigger.py b/msgraph_beta/generated/models/identity_governance/time_based_attribute_trigger.py index 118cb651e9d..942aa967650 100644 --- a/msgraph_beta/generated/models/identity_governance/time_based_attribute_trigger.py +++ b/msgraph_beta/generated/models/identity_governance/time_based_attribute_trigger.py @@ -57,6 +57,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .workflow_execution_trigger import WorkflowExecutionTrigger + from .workflow_trigger_time_based_attribute import WorkflowTriggerTimeBasedAttribute + writer.write_int_value("offsetInDays", self.offset_in_days) writer.write_enum_value("timeBasedAttribute", self.time_based_attribute) diff --git a/msgraph_beta/generated/models/identity_governance/top_workflows_insights_summary.py b/msgraph_beta/generated/models/identity_governance/top_workflows_insights_summary.py index df6be390a2a..3be69c78392 100644 --- a/msgraph_beta/generated/models/identity_governance/top_workflows_insights_summary.py +++ b/msgraph_beta/generated/models/identity_governance/top_workflows_insights_summary.py @@ -80,6 +80,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .lifecycle_workflow_category import LifecycleWorkflowCategory + writer.write_int_value("failedRuns", self.failed_runs) writer.write_int_value("failedUsers", self.failed_users) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/identity_governance/trigger_and_scope_based_conditions.py b/msgraph_beta/generated/models/identity_governance/trigger_and_scope_based_conditions.py index bb8af31957a..f45a47d7700 100644 --- a/msgraph_beta/generated/models/identity_governance/trigger_and_scope_based_conditions.py +++ b/msgraph_beta/generated/models/identity_governance/trigger_and_scope_based_conditions.py @@ -60,6 +60,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..subject_set import SubjectSet + from .workflow_execution_conditions import WorkflowExecutionConditions + from .workflow_execution_trigger import WorkflowExecutionTrigger + writer.write_object_value("scope", self.scope) writer.write_object_value("trigger", self.trigger) diff --git a/msgraph_beta/generated/models/identity_governance/user_processing_result.py b/msgraph_beta/generated/models/identity_governance/user_processing_result.py index e0fd794e970..922e58bbb10 100644 --- a/msgraph_beta/generated/models/identity_governance/user_processing_result.py +++ b/msgraph_beta/generated/models/identity_governance/user_processing_result.py @@ -94,6 +94,12 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + from ..user import User + from .lifecycle_workflow_processing_status import LifecycleWorkflowProcessingStatus + from .task_processing_result import TaskProcessingResult + from .workflow_execution_type import WorkflowExecutionType + writer.write_datetime_value("completedDateTime", self.completed_date_time) writer.write_int_value("failedTasksCount", self.failed_tasks_count) writer.write_enum_value("processingStatus", self.processing_status) diff --git a/msgraph_beta/generated/models/identity_governance/user_processing_result_collection_response.py b/msgraph_beta/generated/models/identity_governance/user_processing_result_collection_response.py index d0b6dca2fee..8aeb03ff6de 100644 --- a/msgraph_beta/generated/models/identity_governance/user_processing_result_collection_response.py +++ b/msgraph_beta/generated/models/identity_governance/user_processing_result_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .user_processing_result import UserProcessingResult + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/identity_governance/workflow.py b/msgraph_beta/generated/models/identity_governance/workflow.py index d90d5e3388d..e9720139f1c 100644 --- a/msgraph_beta/generated/models/identity_governance/workflow.py +++ b/msgraph_beta/generated/models/identity_governance/workflow.py @@ -88,6 +88,12 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .run import Run + from .task_report import TaskReport + from .user_processing_result import UserProcessingResult + from .workflow_base import WorkflowBase + from .workflow_version import WorkflowVersion + writer.write_datetime_value("deletedDateTime", self.deleted_date_time) writer.write_collection_of_object_values("executionScope", self.execution_scope) writer.write_str_value("id", self.id) diff --git a/msgraph_beta/generated/models/identity_governance/workflow_base.py b/msgraph_beta/generated/models/identity_governance/workflow_base.py index c58a87b4a17..e7e9c55db5d 100644 --- a/msgraph_beta/generated/models/identity_governance/workflow_base.py +++ b/msgraph_beta/generated/models/identity_governance/workflow_base.py @@ -55,7 +55,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> WorkflowBase: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.identityGovernance.workflow".casefold(): @@ -111,6 +112,13 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ..user import User + from .lifecycle_workflow_category import LifecycleWorkflowCategory + from .task import Task + from .workflow import Workflow + from .workflow_execution_conditions import WorkflowExecutionConditions + from .workflow_version import WorkflowVersion + writer.write_enum_value("category", self.category) writer.write_object_value("createdBy", self.created_by) writer.write_datetime_value("createdDateTime", self.created_date_time) diff --git a/msgraph_beta/generated/models/identity_governance/workflow_collection_response.py b/msgraph_beta/generated/models/identity_governance/workflow_collection_response.py index 86fbd783a74..e2f2c493acc 100644 --- a/msgraph_beta/generated/models/identity_governance/workflow_collection_response.py +++ b/msgraph_beta/generated/models/identity_governance/workflow_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .workflow import Workflow + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/identity_governance/workflow_execution_conditions.py b/msgraph_beta/generated/models/identity_governance/workflow_execution_conditions.py index 81bc14a3a97..d7ebedfbbea 100644 --- a/msgraph_beta/generated/models/identity_governance/workflow_execution_conditions.py +++ b/msgraph_beta/generated/models/identity_governance/workflow_execution_conditions.py @@ -28,7 +28,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> WorkflowExecutionC if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.identityGovernance.onDemandExecutionOnly".casefold(): @@ -65,6 +66,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .on_demand_execution_only import OnDemandExecutionOnly + from .trigger_and_scope_based_conditions import TriggerAndScopeBasedConditions + writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/identity_governance/workflow_execution_trigger.py b/msgraph_beta/generated/models/identity_governance/workflow_execution_trigger.py index 9103a5c6059..6587a6330ff 100644 --- a/msgraph_beta/generated/models/identity_governance/workflow_execution_trigger.py +++ b/msgraph_beta/generated/models/identity_governance/workflow_execution_trigger.py @@ -29,7 +29,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> WorkflowExecutionT if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.identityGovernance.attributeChangeTrigger".casefold(): @@ -72,6 +73,10 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .attribute_change_trigger import AttributeChangeTrigger + from .membership_change_trigger import MembershipChangeTrigger + from .time_based_attribute_trigger import TimeBasedAttributeTrigger + writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/identity_governance/workflow_template.py b/msgraph_beta/generated/models/identity_governance/workflow_template.py index ec84e278eba..b181486388b 100644 --- a/msgraph_beta/generated/models/identity_governance/workflow_template.py +++ b/msgraph_beta/generated/models/identity_governance/workflow_template.py @@ -72,6 +72,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + from .lifecycle_workflow_category import LifecycleWorkflowCategory + from .task import Task + from .workflow_execution_conditions import WorkflowExecutionConditions + writer.write_enum_value("category", self.category) writer.write_str_value("description", self.description) writer.write_str_value("displayName", self.display_name) diff --git a/msgraph_beta/generated/models/identity_governance/workflow_template_collection_response.py b/msgraph_beta/generated/models/identity_governance/workflow_template_collection_response.py index 2fb73e68fad..eff6c7b0d34 100644 --- a/msgraph_beta/generated/models/identity_governance/workflow_template_collection_response.py +++ b/msgraph_beta/generated/models/identity_governance/workflow_template_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .workflow_template import WorkflowTemplate + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/identity_governance/workflow_version.py b/msgraph_beta/generated/models/identity_governance/workflow_version.py index e14fe81083b..30e757b3570 100644 --- a/msgraph_beta/generated/models/identity_governance/workflow_version.py +++ b/msgraph_beta/generated/models/identity_governance/workflow_version.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .workflow_base import WorkflowBase + writer.write_int_value("versionNumber", self.version_number) diff --git a/msgraph_beta/generated/models/identity_governance/workflow_version_collection_response.py b/msgraph_beta/generated/models/identity_governance/workflow_version_collection_response.py index a3ca8691b5d..289b43d0939 100644 --- a/msgraph_beta/generated/models/identity_governance/workflow_version_collection_response.py +++ b/msgraph_beta/generated/models/identity_governance/workflow_version_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .workflow_version import WorkflowVersion + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/identity_protection_root.py b/msgraph_beta/generated/models/identity_protection_root.py index f3a1c3af7a5..102811e309a 100644 --- a/msgraph_beta/generated/models/identity_protection_root.py +++ b/msgraph_beta/generated/models/identity_protection_root.py @@ -71,6 +71,11 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .risky_service_principal import RiskyServicePrincipal + from .risky_user import RiskyUser + from .risk_detection import RiskDetection + from .service_principal_risk_detection import ServicePrincipalRiskDetection + writer.write_str_value("@odata.type", self.odata_type) writer.write_collection_of_object_values("riskDetections", self.risk_detections) writer.write_collection_of_object_values("riskyServicePrincipals", self.risky_service_principals) diff --git a/msgraph_beta/generated/models/identity_provider.py b/msgraph_beta/generated/models/identity_provider.py index ae7c2057fe3..ee7ebd8d052 100644 --- a/msgraph_beta/generated/models/identity_provider.py +++ b/msgraph_beta/generated/models/identity_provider.py @@ -32,7 +32,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> IdentityProvider: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.openIdConnectProvider".casefold(): @@ -71,6 +72,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .open_id_connect_provider import OpenIdConnectProvider + writer.write_str_value("clientId", self.client_id) writer.write_str_value("clientSecret", self.client_secret) writer.write_str_value("name", self.name) diff --git a/msgraph_beta/generated/models/identity_provider_base.py b/msgraph_beta/generated/models/identity_provider_base.py index 4702e4a4ddb..2a00df80fbd 100644 --- a/msgraph_beta/generated/models/identity_provider_base.py +++ b/msgraph_beta/generated/models/identity_provider_base.py @@ -32,7 +32,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> IdentityProviderBa if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.appleManagedIdentityProvider".casefold(): @@ -104,6 +105,15 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .apple_managed_identity_provider import AppleManagedIdentityProvider + from .built_in_identity_provider import BuiltInIdentityProvider + from .entity import Entity + from .internal_domain_federation import InternalDomainFederation + from .open_id_connect_identity_provider import OpenIdConnectIdentityProvider + from .saml_or_ws_fed_external_domain_federation import SamlOrWsFedExternalDomainFederation + from .saml_or_ws_fed_provider import SamlOrWsFedProvider + from .social_identity_provider import SocialIdentityProvider + writer.write_str_value("displayName", self.display_name) diff --git a/msgraph_beta/generated/models/identity_provider_base_collection_response.py b/msgraph_beta/generated/models/identity_provider_base_collection_response.py index 4ace66f24b0..2aa49364182 100644 --- a/msgraph_beta/generated/models/identity_provider_base_collection_response.py +++ b/msgraph_beta/generated/models/identity_provider_base_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .identity_provider_base import IdentityProviderBase + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/identity_provider_collection_response.py b/msgraph_beta/generated/models/identity_provider_collection_response.py index c65cb8b9a98..52cf82fd439 100644 --- a/msgraph_beta/generated/models/identity_provider_collection_response.py +++ b/msgraph_beta/generated/models/identity_provider_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .identity_provider import IdentityProvider + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/identity_security_defaults_enforcement_policy.py b/msgraph_beta/generated/models/identity_security_defaults_enforcement_policy.py index 7ec400d32e8..502a283802d 100644 --- a/msgraph_beta/generated/models/identity_security_defaults_enforcement_policy.py +++ b/msgraph_beta/generated/models/identity_security_defaults_enforcement_policy.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .policy_base import PolicyBase + writer.write_bool_value("isEnabled", self.is_enabled) diff --git a/msgraph_beta/generated/models/identity_set.py b/msgraph_beta/generated/models/identity_set.py index d7beae3f6c3..dc63fd8176a 100644 --- a/msgraph_beta/generated/models/identity_set.py +++ b/msgraph_beta/generated/models/identity_set.py @@ -20,13 +20,13 @@ class IdentitySet(AdditionalDataHolder, BackedModel, Parsable): # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. additional_data: Dict[str, Any] = field(default_factory=dict) - # The Identity of the Application. This property is read-only. + # Optional. The application associated with this action. application: Optional[Identity] = None - # The Identity of the Device. This property is read-only. + # Optional. The device associated with this action. device: Optional[Identity] = None # The OdataType property odata_type: Optional[str] = None - # The Identity of the User. This property is read-only. + # Optional. The user associated with this action. user: Optional[Identity] = None @staticmethod @@ -39,7 +39,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> IdentitySet: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.approvalIdentitySet".casefold(): @@ -105,6 +106,14 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .approval_identity_set import ApprovalIdentitySet + from .chat_message_from_identity_set import ChatMessageFromIdentitySet + from .chat_message_mentioned_identity_set import ChatMessageMentionedIdentitySet + from .chat_message_reaction_identity_set import ChatMessageReactionIdentitySet + from .communications_identity_set import CommunicationsIdentitySet + from .identity import Identity + from .share_point_identity_set import SharePointIdentitySet + writer.write_object_value("application", self.application) writer.write_object_value("device", self.device) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/identity_source.py b/msgraph_beta/generated/models/identity_source.py index c05f49d8f8c..d4eb74d38fd 100644 --- a/msgraph_beta/generated/models/identity_source.py +++ b/msgraph_beta/generated/models/identity_source.py @@ -31,7 +31,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> IdentitySource: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.azureActiveDirectoryTenant".casefold(): @@ -86,6 +87,12 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .azure_active_directory_tenant import AzureActiveDirectoryTenant + from .cross_cloud_azure_active_directory_tenant import CrossCloudAzureActiveDirectoryTenant + from .domain_identity_source import DomainIdentitySource + from .external_domain_federation import ExternalDomainFederation + from .social_identity_source import SocialIdentitySource + writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/identity_user_flow.py b/msgraph_beta/generated/models/identity_user_flow.py index 21f9ca4125a..70de2ce98c1 100644 --- a/msgraph_beta/generated/models/identity_user_flow.py +++ b/msgraph_beta/generated/models/identity_user_flow.py @@ -30,7 +30,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> IdentityUserFlow: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.b2cIdentityUserFlow".casefold(): @@ -75,6 +76,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .b2c_identity_user_flow import B2cIdentityUserFlow + from .b2x_identity_user_flow import B2xIdentityUserFlow + from .entity import Entity + from .user_flow_type import UserFlowType + writer.write_enum_value("userFlowType", self.user_flow_type) writer.write_float_value("userFlowTypeVersion", self.user_flow_type_version) diff --git a/msgraph_beta/generated/models/identity_user_flow_attribute.py b/msgraph_beta/generated/models/identity_user_flow_attribute.py index 2d6cde2f358..cb24db99dee 100644 --- a/msgraph_beta/generated/models/identity_user_flow_attribute.py +++ b/msgraph_beta/generated/models/identity_user_flow_attribute.py @@ -35,7 +35,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> IdentityUserFlowAt if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.identityBuiltInUserFlowAttribute".casefold(): @@ -84,6 +85,12 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .identity_built_in_user_flow_attribute import IdentityBuiltInUserFlowAttribute + from .identity_custom_user_flow_attribute import IdentityCustomUserFlowAttribute + from .identity_user_flow_attribute_data_type import IdentityUserFlowAttributeDataType + from .identity_user_flow_attribute_type import IdentityUserFlowAttributeType + writer.write_enum_value("dataType", self.data_type) writer.write_str_value("description", self.description) writer.write_str_value("displayName", self.display_name) diff --git a/msgraph_beta/generated/models/identity_user_flow_attribute_assignment.py b/msgraph_beta/generated/models/identity_user_flow_attribute_assignment.py index badbda1659a..b55d7361033 100644 --- a/msgraph_beta/generated/models/identity_user_flow_attribute_assignment.py +++ b/msgraph_beta/generated/models/identity_user_flow_attribute_assignment.py @@ -75,6 +75,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .identity_user_flow_attribute import IdentityUserFlowAttribute + from .identity_user_flow_attribute_input_type import IdentityUserFlowAttributeInputType + from .user_attribute_values_item import UserAttributeValuesItem + writer.write_str_value("displayName", self.display_name) writer.write_bool_value("isOptional", self.is_optional) writer.write_bool_value("requiresVerification", self.requires_verification) diff --git a/msgraph_beta/generated/models/identity_user_flow_attribute_assignment_collection_response.py b/msgraph_beta/generated/models/identity_user_flow_attribute_assignment_collection_response.py index 082e52e0939..9407e98afdb 100644 --- a/msgraph_beta/generated/models/identity_user_flow_attribute_assignment_collection_response.py +++ b/msgraph_beta/generated/models/identity_user_flow_attribute_assignment_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .identity_user_flow_attribute_assignment import IdentityUserFlowAttributeAssignment + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/identity_user_flow_attribute_collection_response.py b/msgraph_beta/generated/models/identity_user_flow_attribute_collection_response.py index bb3359293e4..b154b6f3fad 100644 --- a/msgraph_beta/generated/models/identity_user_flow_attribute_collection_response.py +++ b/msgraph_beta/generated/models/identity_user_flow_attribute_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .identity_user_flow_attribute import IdentityUserFlowAttribute + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/identity_user_flow_collection_response.py b/msgraph_beta/generated/models/identity_user_flow_collection_response.py index 4285b71b5a0..d7641672b02 100644 --- a/msgraph_beta/generated/models/identity_user_flow_collection_response.py +++ b/msgraph_beta/generated/models/identity_user_flow_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .identity_user_flow import IdentityUserFlow + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/if_empty_transformation.py b/msgraph_beta/generated/models/if_empty_transformation.py index c4e9d80f2ae..1a63f20ece1 100644 --- a/msgraph_beta/generated/models/if_empty_transformation.py +++ b/msgraph_beta/generated/models/if_empty_transformation.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .custom_claim_transformation import CustomClaimTransformation + from .transformation_attribute import TransformationAttribute + writer.write_object_value("output", self.output) diff --git a/msgraph_beta/generated/models/if_not_empty_transformation.py b/msgraph_beta/generated/models/if_not_empty_transformation.py index e4841dfa68f..29fdd0e3201 100644 --- a/msgraph_beta/generated/models/if_not_empty_transformation.py +++ b/msgraph_beta/generated/models/if_not_empty_transformation.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .custom_claim_transformation import CustomClaimTransformation + from .transformation_attribute import TransformationAttribute + writer.write_object_value("output", self.output) diff --git a/msgraph_beta/generated/models/impacted_resource.py b/msgraph_beta/generated/models/impacted_resource.py index 20c65069f83..b6f83a7ba6c 100644 --- a/msgraph_beta/generated/models/impacted_resource.py +++ b/msgraph_beta/generated/models/impacted_resource.py @@ -97,6 +97,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .key_value import KeyValue + from .recommendation_status import RecommendationStatus + writer.write_datetime_value("addedDateTime", self.added_date_time) writer.write_collection_of_object_values("additionalDetails", self.additional_details) writer.write_str_value("apiUrl", self.api_url) diff --git a/msgraph_beta/generated/models/impacted_resource_collection_response.py b/msgraph_beta/generated/models/impacted_resource_collection_response.py index 07cc7669d0a..bd78851f6e2 100644 --- a/msgraph_beta/generated/models/impacted_resource_collection_response.py +++ b/msgraph_beta/generated/models/impacted_resource_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .impacted_resource import ImpactedResource + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/imported_apple_device_identity.py b/msgraph_beta/generated/models/imported_apple_device_identity.py index 77cecb30e5b..abb0c7af347 100644 --- a/msgraph_beta/generated/models/imported_apple_device_identity.py +++ b/msgraph_beta/generated/models/imported_apple_device_identity.py @@ -53,7 +53,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> ImportedAppleDevic if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.importedAppleDeviceIdentityResult".casefold(): @@ -105,6 +106,12 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .discovery_source import DiscoverySource + from .enrollment_state import EnrollmentState + from .entity import Entity + from .imported_apple_device_identity_result import ImportedAppleDeviceIdentityResult + from .platform import Platform + writer.write_datetime_value("createdDateTime", self.created_date_time) writer.write_str_value("description", self.description) writer.write_enum_value("discoverySource", self.discovery_source) diff --git a/msgraph_beta/generated/models/imported_apple_device_identity_collection_response.py b/msgraph_beta/generated/models/imported_apple_device_identity_collection_response.py index 16b97c6ca93..21ebd0c9109 100644 --- a/msgraph_beta/generated/models/imported_apple_device_identity_collection_response.py +++ b/msgraph_beta/generated/models/imported_apple_device_identity_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .imported_apple_device_identity import ImportedAppleDeviceIdentity + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/imported_apple_device_identity_result.py b/msgraph_beta/generated/models/imported_apple_device_identity_result.py index 74d8a7e24c5..ade54a2b130 100644 --- a/msgraph_beta/generated/models/imported_apple_device_identity_result.py +++ b/msgraph_beta/generated/models/imported_apple_device_identity_result.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .imported_apple_device_identity import ImportedAppleDeviceIdentity + writer.write_bool_value("status", self.status) diff --git a/msgraph_beta/generated/models/imported_device_identity.py b/msgraph_beta/generated/models/imported_device_identity.py index 6ac7164fb19..833b8b974fb 100644 --- a/msgraph_beta/generated/models/imported_device_identity.py +++ b/msgraph_beta/generated/models/imported_device_identity.py @@ -47,7 +47,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> ImportedDeviceIden if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.importedDeviceIdentityResult".casefold(): @@ -96,6 +97,12 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .enrollment_state import EnrollmentState + from .entity import Entity + from .imported_device_identity_result import ImportedDeviceIdentityResult + from .imported_device_identity_type import ImportedDeviceIdentityType + from .platform import Platform + writer.write_datetime_value("createdDateTime", self.created_date_time) writer.write_str_value("description", self.description) writer.write_enum_value("enrollmentState", self.enrollment_state) diff --git a/msgraph_beta/generated/models/imported_device_identity_collection_response.py b/msgraph_beta/generated/models/imported_device_identity_collection_response.py index c3549b071b3..91d255e483b 100644 --- a/msgraph_beta/generated/models/imported_device_identity_collection_response.py +++ b/msgraph_beta/generated/models/imported_device_identity_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .imported_device_identity import ImportedDeviceIdentity + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/imported_device_identity_result.py b/msgraph_beta/generated/models/imported_device_identity_result.py index e5798776a60..870bd1c73c0 100644 --- a/msgraph_beta/generated/models/imported_device_identity_result.py +++ b/msgraph_beta/generated/models/imported_device_identity_result.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .imported_device_identity import ImportedDeviceIdentity + writer.write_bool_value("status", self.status) diff --git a/msgraph_beta/generated/models/imported_windows_autopilot_device_identity.py b/msgraph_beta/generated/models/imported_windows_autopilot_device_identity.py index db23b1e212f..634cb32aa19 100644 --- a/msgraph_beta/generated/models/imported_windows_autopilot_device_identity.py +++ b/msgraph_beta/generated/models/imported_windows_autopilot_device_identity.py @@ -75,6 +75,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .imported_windows_autopilot_device_identity_state import ImportedWindowsAutopilotDeviceIdentityState + writer.write_str_value("assignedUserPrincipalName", self.assigned_user_principal_name) writer.write_str_value("groupTag", self.group_tag) writer.write_bytes_value("hardwareIdentifier", self.hardware_identifier) diff --git a/msgraph_beta/generated/models/imported_windows_autopilot_device_identity_collection_response.py b/msgraph_beta/generated/models/imported_windows_autopilot_device_identity_collection_response.py index bd136c48dc3..b3b3a8877f9 100644 --- a/msgraph_beta/generated/models/imported_windows_autopilot_device_identity_collection_response.py +++ b/msgraph_beta/generated/models/imported_windows_autopilot_device_identity_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .imported_windows_autopilot_device_identity import ImportedWindowsAutopilotDeviceIdentity + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/imported_windows_autopilot_device_identity_state.py b/msgraph_beta/generated/models/imported_windows_autopilot_device_identity_state.py index a2f5dee0f44..a063d5056bd 100644 --- a/msgraph_beta/generated/models/imported_windows_autopilot_device_identity_state.py +++ b/msgraph_beta/generated/models/imported_windows_autopilot_device_identity_state.py @@ -62,6 +62,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .imported_windows_autopilot_device_identity_import_status import ImportedWindowsAutopilotDeviceIdentityImportStatus + writer.write_int_value("deviceErrorCode", self.device_error_code) writer.write_str_value("deviceErrorName", self.device_error_name) writer.write_enum_value("deviceImportStatus", self.device_import_status) diff --git a/msgraph_beta/generated/models/imported_windows_autopilot_device_identity_upload.py b/msgraph_beta/generated/models/imported_windows_autopilot_device_identity_upload.py index df2a3c8474e..03a6ec8bd51 100644 --- a/msgraph_beta/generated/models/imported_windows_autopilot_device_identity_upload.py +++ b/msgraph_beta/generated/models/imported_windows_autopilot_device_identity_upload.py @@ -67,6 +67,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .imported_windows_autopilot_device_identity import ImportedWindowsAutopilotDeviceIdentity + from .imported_windows_autopilot_device_identity_upload_status import ImportedWindowsAutopilotDeviceIdentityUploadStatus + writer.write_datetime_value("createdDateTimeUtc", self.created_date_time_utc) writer.write_collection_of_object_values("deviceIdentities", self.device_identities) writer.write_enum_value("status", self.status) diff --git a/msgraph_beta/generated/models/inactive_aws_resource_finding.py b/msgraph_beta/generated/models/inactive_aws_resource_finding.py index 551bb2152e8..7ef1668eed9 100644 --- a/msgraph_beta/generated/models/inactive_aws_resource_finding.py +++ b/msgraph_beta/generated/models/inactive_aws_resource_finding.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .identity_finding import IdentityFinding + diff --git a/msgraph_beta/generated/models/inactive_aws_role_finding.py b/msgraph_beta/generated/models/inactive_aws_role_finding.py index fd7c101caed..06b284dc93b 100644 --- a/msgraph_beta/generated/models/inactive_aws_role_finding.py +++ b/msgraph_beta/generated/models/inactive_aws_role_finding.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .identity_finding import IdentityFinding + diff --git a/msgraph_beta/generated/models/inactive_azure_service_principal_finding.py b/msgraph_beta/generated/models/inactive_azure_service_principal_finding.py index 08a46b6d9cf..cd820c89964 100644 --- a/msgraph_beta/generated/models/inactive_azure_service_principal_finding.py +++ b/msgraph_beta/generated/models/inactive_azure_service_principal_finding.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .identity_finding import IdentityFinding + diff --git a/msgraph_beta/generated/models/inactive_gcp_service_account_finding.py b/msgraph_beta/generated/models/inactive_gcp_service_account_finding.py index 08b01422a28..fbafe3e61dd 100644 --- a/msgraph_beta/generated/models/inactive_gcp_service_account_finding.py +++ b/msgraph_beta/generated/models/inactive_gcp_service_account_finding.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .identity_finding import IdentityFinding + diff --git a/msgraph_beta/generated/models/inactive_group_finding.py b/msgraph_beta/generated/models/inactive_group_finding.py index a391f38aac9..80207682013 100644 --- a/msgraph_beta/generated/models/inactive_group_finding.py +++ b/msgraph_beta/generated/models/inactive_group_finding.py @@ -66,6 +66,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .action_summary import ActionSummary + from .authorization_system_identity import AuthorizationSystemIdentity + from .finding import Finding + from .permissions_creep_index import PermissionsCreepIndex + writer.write_object_value("actionSummary", self.action_summary) writer.write_object_value("group", self.group) writer.write_object_value("permissionsCreepIndex", self.permissions_creep_index) diff --git a/msgraph_beta/generated/models/inactive_serverless_function_finding.py b/msgraph_beta/generated/models/inactive_serverless_function_finding.py index 107cd3c80da..53a13717bd2 100644 --- a/msgraph_beta/generated/models/inactive_serverless_function_finding.py +++ b/msgraph_beta/generated/models/inactive_serverless_function_finding.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .identity_finding import IdentityFinding + diff --git a/msgraph_beta/generated/models/inactive_user_finding.py b/msgraph_beta/generated/models/inactive_user_finding.py index 8ef11efc3e2..875d2a737ef 100644 --- a/msgraph_beta/generated/models/inactive_user_finding.py +++ b/msgraph_beta/generated/models/inactive_user_finding.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .identity_finding import IdentityFinding + diff --git a/msgraph_beta/generated/models/inactive_users_by_application_metric_base.py b/msgraph_beta/generated/models/inactive_users_by_application_metric_base.py index 85e0e5d84b3..5631fe71130 100644 --- a/msgraph_beta/generated/models/inactive_users_by_application_metric_base.py +++ b/msgraph_beta/generated/models/inactive_users_by_application_metric_base.py @@ -36,7 +36,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> InactiveUsersByApp if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.dailyInactiveUsersByApplicationMetric".casefold(): @@ -82,6 +83,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .daily_inactive_users_by_application_metric import DailyInactiveUsersByApplicationMetric + from .entity import Entity + from .monthly_inactive_users_by_application_metric import MonthlyInactiveUsersByApplicationMetric + writer.write_str_value("appId", self.app_id) writer.write_date_value("factDate", self.fact_date) writer.write_int_value("inactive30DayCount", self.inactive30_day_count) diff --git a/msgraph_beta/generated/models/inactive_users_metric_base.py b/msgraph_beta/generated/models/inactive_users_metric_base.py index 4202c6a3810..5c6c24aa8ba 100644 --- a/msgraph_beta/generated/models/inactive_users_metric_base.py +++ b/msgraph_beta/generated/models/inactive_users_metric_base.py @@ -36,7 +36,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> InactiveUsersMetri if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.dailyInactiveUsersMetric".casefold(): @@ -82,6 +83,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .daily_inactive_users_metric import DailyInactiveUsersMetric + from .entity import Entity + from .monthly_inactive_users_metric import MonthlyInactiveUsersMetric + writer.write_str_value("appId", self.app_id) writer.write_date_value("factDate", self.fact_date) writer.write_int_value("inactive30DayCount", self.inactive30_day_count) diff --git a/msgraph_beta/generated/models/inbound_ports.py b/msgraph_beta/generated/models/inbound_ports.py index ecde6eb7d1c..b0facc42461 100644 --- a/msgraph_beta/generated/models/inbound_ports.py +++ b/msgraph_beta/generated/models/inbound_ports.py @@ -28,7 +28,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> InboundPorts: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.allInboundPorts".casefold(): @@ -65,6 +66,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .all_inbound_ports import AllInboundPorts + from .enumerated_inbound_ports import EnumeratedInboundPorts + writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/inbound_shared_user_profile_collection_response.py b/msgraph_beta/generated/models/inbound_shared_user_profile_collection_response.py index 7a613b8ddb1..8a6a411f0a3 100644 --- a/msgraph_beta/generated/models/inbound_shared_user_profile_collection_response.py +++ b/msgraph_beta/generated/models/inbound_shared_user_profile_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .inbound_shared_user_profile import InboundSharedUserProfile + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/include_all_account_target_content.py b/msgraph_beta/generated/models/include_all_account_target_content.py index cdd42570a72..9666cdc8ce5 100644 --- a/msgraph_beta/generated/models/include_all_account_target_content.py +++ b/msgraph_beta/generated/models/include_all_account_target_content.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .account_target_content import AccountTargetContent + diff --git a/msgraph_beta/generated/models/include_target.py b/msgraph_beta/generated/models/include_target.py index 96d79260803..466bc7fe626 100644 --- a/msgraph_beta/generated/models/include_target.py +++ b/msgraph_beta/generated/models/include_target.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .authentication_method_target_type import AuthenticationMethodTargetType + writer.write_str_value("id", self.id) writer.write_str_value("@odata.type", self.odata_type) writer.write_enum_value("targetType", self.target_type) diff --git a/msgraph_beta/generated/models/incoming_call_options.py b/msgraph_beta/generated/models/incoming_call_options.py index 1a6b9858df0..99d4cc119ba 100644 --- a/msgraph_beta/generated/models/incoming_call_options.py +++ b/msgraph_beta/generated/models/incoming_call_options.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .call_options import CallOptions + diff --git a/msgraph_beta/generated/models/incoming_context.py b/msgraph_beta/generated/models/incoming_context.py index 2408c3bda8d..2748149d28c 100644 --- a/msgraph_beta/generated/models/incoming_context.py +++ b/msgraph_beta/generated/models/incoming_context.py @@ -62,6 +62,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .identity_set import IdentitySet + writer.write_str_value("observedParticipantId", self.observed_participant_id) writer.write_str_value("@odata.type", self.odata_type) writer.write_object_value("onBehalfOf", self.on_behalf_of) diff --git a/msgraph_beta/generated/models/industry_data/administrative_unit_provisioning_flow.py b/msgraph_beta/generated/models/industry_data/administrative_unit_provisioning_flow.py index b6688f0f6e6..f9d1c257732 100644 --- a/msgraph_beta/generated/models/industry_data/administrative_unit_provisioning_flow.py +++ b/msgraph_beta/generated/models/industry_data/administrative_unit_provisioning_flow.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .admin_unit_creation_options import AdminUnitCreationOptions + from .provisioning_flow import ProvisioningFlow + writer.write_object_value("creationOptions", self.creation_options) diff --git a/msgraph_beta/generated/models/industry_data/aggregated_inbound_statistics.py b/msgraph_beta/generated/models/industry_data/aggregated_inbound_statistics.py index dcd50866bc8..01b65787f01 100644 --- a/msgraph_beta/generated/models/industry_data/aggregated_inbound_statistics.py +++ b/msgraph_beta/generated/models/industry_data/aggregated_inbound_statistics.py @@ -74,6 +74,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .industry_data_run_role_count_metric import IndustryDataRunRoleCountMetric + writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/industry_data/api_data_connector.py b/msgraph_beta/generated/models/industry_data/api_data_connector.py index a64a2eeb63e..2499d3db4be 100644 --- a/msgraph_beta/generated/models/industry_data/api_data_connector.py +++ b/msgraph_beta/generated/models/industry_data/api_data_connector.py @@ -32,7 +32,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> ApiDataConnector: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.industryData.oneRosterApiDataConnector".casefold(): @@ -74,6 +75,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .api_format import ApiFormat + from .credential import Credential + from .industry_data_connector import IndustryDataConnector + from .one_roster_api_data_connector import OneRosterApiDataConnector + writer.write_enum_value("apiFormat", self.api_format) writer.write_str_value("baseUrl", self.base_url) writer.write_object_value("credential", self.credential) diff --git a/msgraph_beta/generated/models/industry_data/azure_data_lake_connector.py b/msgraph_beta/generated/models/industry_data/azure_data_lake_connector.py index 7594f57f431..8826945e7e2 100644 --- a/msgraph_beta/generated/models/industry_data/azure_data_lake_connector.py +++ b/msgraph_beta/generated/models/industry_data/azure_data_lake_connector.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .file_data_connector import FileDataConnector + from .file_format_reference_value import FileFormatReferenceValue + writer.write_object_value("fileFormat", self.file_format) diff --git a/msgraph_beta/generated/models/industry_data/basic_filter.py b/msgraph_beta/generated/models/industry_data/basic_filter.py index 4c473737b5f..92ad329a180 100644 --- a/msgraph_beta/generated/models/industry_data/basic_filter.py +++ b/msgraph_beta/generated/models/industry_data/basic_filter.py @@ -57,6 +57,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .filter import Filter + from .filter_options import FilterOptions + writer.write_enum_value("attribute", self.attribute) writer.write_collection_of_primitive_values("in", self.in_) diff --git a/msgraph_beta/generated/models/industry_data/class_group_configuration.py b/msgraph_beta/generated/models/industry_data/class_group_configuration.py index 93f4f4c2440..c7efb61a477 100644 --- a/msgraph_beta/generated/models/industry_data/class_group_configuration.py +++ b/msgraph_beta/generated/models/industry_data/class_group_configuration.py @@ -65,6 +65,10 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .additional_class_group_attributes import AdditionalClassGroupAttributes + from .additional_class_group_options import AdditionalClassGroupOptions + from .enrollment_mappings import EnrollmentMappings + writer.write_collection_of_enum_values("additionalAttributes", self.additional_attributes) writer.write_object_value("additionalOptions", self.additional_options) writer.write_object_value("enrollmentMappings", self.enrollment_mappings) diff --git a/msgraph_beta/generated/models/industry_data/class_group_provisioning_flow.py b/msgraph_beta/generated/models/industry_data/class_group_provisioning_flow.py index a4a4a27436c..971e1bbe016 100644 --- a/msgraph_beta/generated/models/industry_data/class_group_provisioning_flow.py +++ b/msgraph_beta/generated/models/industry_data/class_group_provisioning_flow.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .class_group_configuration import ClassGroupConfiguration + from .provisioning_flow import ProvisioningFlow + writer.write_object_value("configuration", self.configuration) diff --git a/msgraph_beta/generated/models/industry_data/credential.py b/msgraph_beta/generated/models/industry_data/credential.py index 33c3f3dd870..c48cf8b2a4a 100644 --- a/msgraph_beta/generated/models/industry_data/credential.py +++ b/msgraph_beta/generated/models/industry_data/credential.py @@ -36,7 +36,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> Credential: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.industryData.oAuth1ClientCredential".casefold(): @@ -82,6 +83,10 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .o_auth1_client_credential import OAuth1ClientCredential + from .o_auth2_client_credential import OAuth2ClientCredential + from .o_auth_client_credential import OAuthClientCredential + writer.write_str_value("displayName", self.display_name) writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/industry_data/enrollment_mappings.py b/msgraph_beta/generated/models/industry_data/enrollment_mappings.py index 67f0a7438ae..3a9b8809548 100644 --- a/msgraph_beta/generated/models/industry_data/enrollment_mappings.py +++ b/msgraph_beta/generated/models/industry_data/enrollment_mappings.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .section_role_reference_value import SectionRoleReferenceValue + writer.write_collection_of_object_values("memberEnrollmentMappings", self.member_enrollment_mappings) writer.write_str_value("@odata.type", self.odata_type) writer.write_collection_of_object_values("ownerEnrollmentMappings", self.owner_enrollment_mappings) diff --git a/msgraph_beta/generated/models/industry_data/file_data_connector.py b/msgraph_beta/generated/models/industry_data/file_data_connector.py index 384f6a98ee1..e51017b10cd 100644 --- a/msgraph_beta/generated/models/industry_data/file_data_connector.py +++ b/msgraph_beta/generated/models/industry_data/file_data_connector.py @@ -24,7 +24,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> FileDataConnector: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.industryData.azureDataLakeConnector".casefold(): @@ -59,5 +60,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .azure_data_lake_connector import AzureDataLakeConnector + from .industry_data_connector import IndustryDataConnector + diff --git a/msgraph_beta/generated/models/industry_data/file_format_reference_value.py b/msgraph_beta/generated/models/industry_data/file_format_reference_value.py index 8584312b820..a1475410b68 100644 --- a/msgraph_beta/generated/models/industry_data/file_format_reference_value.py +++ b/msgraph_beta/generated/models/industry_data/file_format_reference_value.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .reference_value import ReferenceValue + diff --git a/msgraph_beta/generated/models/industry_data/file_validate_operation.py b/msgraph_beta/generated/models/industry_data/file_validate_operation.py index 4de95baecd0..be2d775c4ed 100644 --- a/msgraph_beta/generated/models/industry_data/file_validate_operation.py +++ b/msgraph_beta/generated/models/industry_data/file_validate_operation.py @@ -54,5 +54,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .validate_operation import ValidateOperation + diff --git a/msgraph_beta/generated/models/industry_data/filter.py b/msgraph_beta/generated/models/industry_data/filter.py index bab89064108..68c8951a6fe 100644 --- a/msgraph_beta/generated/models/industry_data/filter.py +++ b/msgraph_beta/generated/models/industry_data/filter.py @@ -27,7 +27,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> Filter: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.industryData.basicFilter".casefold(): @@ -58,6 +59,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .basic_filter import BasicFilter + writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/industry_data/identifier_type_reference_value.py b/msgraph_beta/generated/models/industry_data/identifier_type_reference_value.py index cf9854e4ecd..059986bc729 100644 --- a/msgraph_beta/generated/models/industry_data/identifier_type_reference_value.py +++ b/msgraph_beta/generated/models/industry_data/identifier_type_reference_value.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .reference_value import ReferenceValue + diff --git a/msgraph_beta/generated/models/industry_data/inbound_activity_results.py b/msgraph_beta/generated/models/industry_data/inbound_activity_results.py index 8444e457277..2d99ea4d704 100644 --- a/msgraph_beta/generated/models/industry_data/inbound_activity_results.py +++ b/msgraph_beta/generated/models/industry_data/inbound_activity_results.py @@ -78,5 +78,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .industry_data_activity_statistics import IndustryDataActivityStatistics + from .industry_data_run_entity_count_metric import IndustryDataRunEntityCountMetric + from .industry_data_run_role_count_metric import IndustryDataRunRoleCountMetric + diff --git a/msgraph_beta/generated/models/industry_data/inbound_api_flow.py b/msgraph_beta/generated/models/industry_data/inbound_api_flow.py index bdb6e7909ff..bc5e0e1f8d8 100644 --- a/msgraph_beta/generated/models/industry_data/inbound_api_flow.py +++ b/msgraph_beta/generated/models/industry_data/inbound_api_flow.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .inbound_flow import InboundFlow + diff --git a/msgraph_beta/generated/models/industry_data/inbound_file_flow.py b/msgraph_beta/generated/models/industry_data/inbound_file_flow.py index e653f7917b2..398f998e214 100644 --- a/msgraph_beta/generated/models/industry_data/inbound_file_flow.py +++ b/msgraph_beta/generated/models/industry_data/inbound_file_flow.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .inbound_flow import InboundFlow + diff --git a/msgraph_beta/generated/models/industry_data/inbound_flow.py b/msgraph_beta/generated/models/industry_data/inbound_flow.py index 38a650bf83f..94f50de8cb9 100644 --- a/msgraph_beta/generated/models/industry_data/inbound_flow.py +++ b/msgraph_beta/generated/models/industry_data/inbound_flow.py @@ -39,7 +39,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> InboundFlow: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.industryData.inboundApiFlow".casefold(): @@ -91,6 +92,13 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .inbound_api_flow import InboundApiFlow + from .inbound_domain import InboundDomain + from .inbound_file_flow import InboundFileFlow + from .industry_data_activity import IndustryDataActivity + from .industry_data_connector import IndustryDataConnector + from .year_time_period_definition import YearTimePeriodDefinition + writer.write_object_value("dataConnector", self.data_connector) writer.write_enum_value("dataDomain", self.data_domain) writer.write_datetime_value("effectiveDateTime", self.effective_date_time) diff --git a/msgraph_beta/generated/models/industry_data/inbound_flow_activity.py b/msgraph_beta/generated/models/industry_data/inbound_flow_activity.py index cb29173c50f..b59c42ef9de 100644 --- a/msgraph_beta/generated/models/industry_data/inbound_flow_activity.py +++ b/msgraph_beta/generated/models/industry_data/inbound_flow_activity.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .industry_data_run_activity import IndustryDataRunActivity + diff --git a/msgraph_beta/generated/models/industry_data/inbound_flow_collection_response.py b/msgraph_beta/generated/models/industry_data/inbound_flow_collection_response.py index 2b4fd9e3ebf..a590d9f26eb 100644 --- a/msgraph_beta/generated/models/industry_data/inbound_flow_collection_response.py +++ b/msgraph_beta/generated/models/industry_data/inbound_flow_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .inbound_flow import InboundFlow + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/industry_data/industry_data_activity.py b/msgraph_beta/generated/models/industry_data/industry_data_activity.py index a6c39a6cac5..1201b8ba93c 100644 --- a/msgraph_beta/generated/models/industry_data/industry_data_activity.py +++ b/msgraph_beta/generated/models/industry_data/industry_data_activity.py @@ -31,7 +31,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> IndustryDataActivi if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.industryData.inboundApiFlow".casefold(): @@ -82,6 +83,12 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + from .inbound_api_flow import InboundApiFlow + from .inbound_file_flow import InboundFileFlow + from .inbound_flow import InboundFlow + from .readiness_status import ReadinessStatus + writer.write_str_value("displayName", self.display_name) writer.write_enum_value("readinessStatus", self.readiness_status) diff --git a/msgraph_beta/generated/models/industry_data/industry_data_activity_statistics.py b/msgraph_beta/generated/models/industry_data/industry_data_activity_statistics.py index b0bb76bf311..bda64c5d740 100644 --- a/msgraph_beta/generated/models/industry_data/industry_data_activity_statistics.py +++ b/msgraph_beta/generated/models/industry_data/industry_data_activity_statistics.py @@ -34,7 +34,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> IndustryDataActivi if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.industryData.inboundActivityResults".casefold(): @@ -70,6 +71,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .inbound_activity_results import InboundActivityResults + from .industry_data_activity_status import IndustryDataActivityStatus + writer.write_str_value("@odata.type", self.odata_type) writer.write_enum_value("status", self.status) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/industry_data/industry_data_connector.py b/msgraph_beta/generated/models/industry_data/industry_data_connector.py index 23a86319bdf..ffb47d79184 100644 --- a/msgraph_beta/generated/models/industry_data/industry_data_connector.py +++ b/msgraph_beta/generated/models/industry_data/industry_data_connector.py @@ -32,7 +32,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> IndustryDataConnec if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.industryData.apiDataConnector".casefold(): @@ -89,6 +90,13 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + from .api_data_connector import ApiDataConnector + from .azure_data_lake_connector import AzureDataLakeConnector + from .file_data_connector import FileDataConnector + from .one_roster_api_data_connector import OneRosterApiDataConnector + from .source_system_definition import SourceSystemDefinition + writer.write_str_value("displayName", self.display_name) writer.write_object_value("sourceSystem", self.source_system) diff --git a/msgraph_beta/generated/models/industry_data/industry_data_connector_collection_response.py b/msgraph_beta/generated/models/industry_data/industry_data_connector_collection_response.py index 218563360b4..d7f78a0a4c3 100644 --- a/msgraph_beta/generated/models/industry_data/industry_data_connector_collection_response.py +++ b/msgraph_beta/generated/models/industry_data/industry_data_connector_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .industry_data_connector import IndustryDataConnector + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/industry_data/industry_data_root.py b/msgraph_beta/generated/models/industry_data/industry_data_root.py index 77266746d80..984b1b93189 100644 --- a/msgraph_beta/generated/models/industry_data/industry_data_root.py +++ b/msgraph_beta/generated/models/industry_data/industry_data_root.py @@ -102,6 +102,17 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + from ..long_running_operation import LongRunningOperation + from .inbound_flow import InboundFlow + from .industry_data_connector import IndustryDataConnector + from .industry_data_run import IndustryDataRun + from .outbound_provisioning_flow_set import OutboundProvisioningFlowSet + from .reference_definition import ReferenceDefinition + from .role_group import RoleGroup + from .source_system_definition import SourceSystemDefinition + from .year_time_period_definition import YearTimePeriodDefinition + writer.write_collection_of_object_values("dataConnectors", self.data_connectors) writer.write_collection_of_object_values("inboundFlows", self.inbound_flows) writer.write_collection_of_object_values("operations", self.operations) diff --git a/msgraph_beta/generated/models/industry_data/industry_data_run.py b/msgraph_beta/generated/models/industry_data/industry_data_run.py index c74aa17c53f..a4e1cb5e6e7 100644 --- a/msgraph_beta/generated/models/industry_data/industry_data_run.py +++ b/msgraph_beta/generated/models/industry_data/industry_data_run.py @@ -76,6 +76,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + from ..public_error import PublicError + from .industry_data_run_activity import IndustryDataRunActivity + from .industry_data_run_status import IndustryDataRunStatus + writer.write_collection_of_object_values("activities", self.activities) writer.write_enum_value("status", self.status) diff --git a/msgraph_beta/generated/models/industry_data/industry_data_run_activity.py b/msgraph_beta/generated/models/industry_data/industry_data_run_activity.py index 2ff512affc3..5a18aba36bf 100644 --- a/msgraph_beta/generated/models/industry_data/industry_data_run_activity.py +++ b/msgraph_beta/generated/models/industry_data/industry_data_run_activity.py @@ -36,7 +36,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> IndustryDataRunAct if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.industryData.inboundFlowActivity".casefold(): @@ -87,6 +88,13 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + from ..public_error import PublicError + from .inbound_flow_activity import InboundFlowActivity + from .industry_data_activity import IndustryDataActivity + from .industry_data_activity_status import IndustryDataActivityStatus + from .outbound_flow_activity import OutboundFlowActivity + writer.write_object_value("activity", self.activity) writer.write_enum_value("status", self.status) diff --git a/msgraph_beta/generated/models/industry_data/industry_data_run_activity_collection_response.py b/msgraph_beta/generated/models/industry_data/industry_data_run_activity_collection_response.py index 4ad1dc1316d..e183fef33eb 100644 --- a/msgraph_beta/generated/models/industry_data/industry_data_run_activity_collection_response.py +++ b/msgraph_beta/generated/models/industry_data/industry_data_run_activity_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .industry_data_run_activity import IndustryDataRunActivity + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/industry_data/industry_data_run_collection_response.py b/msgraph_beta/generated/models/industry_data/industry_data_run_collection_response.py index 0e02234f05b..2e0eba596e6 100644 --- a/msgraph_beta/generated/models/industry_data/industry_data_run_collection_response.py +++ b/msgraph_beta/generated/models/industry_data/industry_data_run_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .industry_data_run import IndustryDataRun + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/industry_data/industry_data_run_statistics.py b/msgraph_beta/generated/models/industry_data/industry_data_run_statistics.py index 74ba2a28862..1c6665d1003 100644 --- a/msgraph_beta/generated/models/industry_data/industry_data_run_statistics.py +++ b/msgraph_beta/generated/models/industry_data/industry_data_run_statistics.py @@ -68,6 +68,10 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .aggregated_inbound_statistics import AggregatedInboundStatistics + from .industry_data_activity_statistics import IndustryDataActivityStatistics + from .industry_data_run_status import IndustryDataRunStatus + writer.write_str_value("@odata.type", self.odata_type) writer.write_enum_value("status", self.status) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/industry_data/o_auth1_client_credential.py b/msgraph_beta/generated/models/industry_data/o_auth1_client_credential.py index 701e7168865..4539584caef 100644 --- a/msgraph_beta/generated/models/industry_data/o_auth1_client_credential.py +++ b/msgraph_beta/generated/models/industry_data/o_auth1_client_credential.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .o_auth_client_credential import OAuthClientCredential + diff --git a/msgraph_beta/generated/models/industry_data/o_auth2_client_credential.py b/msgraph_beta/generated/models/industry_data/o_auth2_client_credential.py index da9fa5f28f6..0dc978fa537 100644 --- a/msgraph_beta/generated/models/industry_data/o_auth2_client_credential.py +++ b/msgraph_beta/generated/models/industry_data/o_auth2_client_credential.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .o_auth_client_credential import OAuthClientCredential + writer.write_str_value("scope", self.scope) writer.write_str_value("tokenUrl", self.token_url) diff --git a/msgraph_beta/generated/models/industry_data/o_auth_client_credential.py b/msgraph_beta/generated/models/industry_data/o_auth_client_credential.py index 7233b673a53..17f8ed5fdc6 100644 --- a/msgraph_beta/generated/models/industry_data/o_auth_client_credential.py +++ b/msgraph_beta/generated/models/industry_data/o_auth_client_credential.py @@ -29,7 +29,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> OAuthClientCredent if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.industryData.oAuth1ClientCredential".casefold(): @@ -72,6 +73,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .credential import Credential + from .o_auth1_client_credential import OAuth1ClientCredential + from .o_auth2_client_credential import OAuth2ClientCredential + writer.write_str_value("clientId", self.client_id) writer.write_str_value("clientSecret", self.client_secret) diff --git a/msgraph_beta/generated/models/industry_data/one_roster_api_data_connector.py b/msgraph_beta/generated/models/industry_data/one_roster_api_data_connector.py index 5b67c2603d2..93998f560fe 100644 --- a/msgraph_beta/generated/models/industry_data/one_roster_api_data_connector.py +++ b/msgraph_beta/generated/models/industry_data/one_roster_api_data_connector.py @@ -60,6 +60,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .api_data_connector import ApiDataConnector + writer.write_str_value("apiVersion", self.api_version) writer.write_bool_value("isContactsEnabled", self.is_contacts_enabled) writer.write_bool_value("isDemographicsEnabled", self.is_demographics_enabled) diff --git a/msgraph_beta/generated/models/industry_data/outbound_flow_activity.py b/msgraph_beta/generated/models/industry_data/outbound_flow_activity.py index b75e1414a5e..2ee1a916395 100644 --- a/msgraph_beta/generated/models/industry_data/outbound_flow_activity.py +++ b/msgraph_beta/generated/models/industry_data/outbound_flow_activity.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .industry_data_run_activity import IndustryDataRunActivity + diff --git a/msgraph_beta/generated/models/industry_data/outbound_provisioning_flow_set.py b/msgraph_beta/generated/models/industry_data/outbound_provisioning_flow_set.py index b1b2120e5b0..e78d4ef5310 100644 --- a/msgraph_beta/generated/models/industry_data/outbound_provisioning_flow_set.py +++ b/msgraph_beta/generated/models/industry_data/outbound_provisioning_flow_set.py @@ -70,6 +70,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + from .filter import Filter + from .provisioning_flow import ProvisioningFlow + writer.write_str_value("displayName", self.display_name) writer.write_object_value("filter", self.filter) writer.write_collection_of_object_values("provisioningFlows", self.provisioning_flows) diff --git a/msgraph_beta/generated/models/industry_data/outbound_provisioning_flow_set_collection_response.py b/msgraph_beta/generated/models/industry_data/outbound_provisioning_flow_set_collection_response.py index 2b94bbf174a..9947029a573 100644 --- a/msgraph_beta/generated/models/industry_data/outbound_provisioning_flow_set_collection_response.py +++ b/msgraph_beta/generated/models/industry_data/outbound_provisioning_flow_set_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .outbound_provisioning_flow_set import OutboundProvisioningFlowSet + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/industry_data/password_settings.py b/msgraph_beta/generated/models/industry_data/password_settings.py index 8aaf828120b..9e3492b4456 100644 --- a/msgraph_beta/generated/models/industry_data/password_settings.py +++ b/msgraph_beta/generated/models/industry_data/password_settings.py @@ -27,7 +27,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> PasswordSettings: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.industryData.simplePasswordSettings".casefold(): @@ -58,6 +59,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .simple_password_settings import SimplePasswordSettings + writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/industry_data/provisioning_flow.py b/msgraph_beta/generated/models/industry_data/provisioning_flow.py index eafa5bcaf76..769d16c67be 100644 --- a/msgraph_beta/generated/models/industry_data/provisioning_flow.py +++ b/msgraph_beta/generated/models/industry_data/provisioning_flow.py @@ -35,7 +35,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> ProvisioningFlow: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.industryData.administrativeUnitProvisioningFlow".casefold(): @@ -93,5 +94,12 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + from .administrative_unit_provisioning_flow import AdministrativeUnitProvisioningFlow + from .class_group_provisioning_flow import ClassGroupProvisioningFlow + from .readiness_status import ReadinessStatus + from .security_group_provisioning_flow import SecurityGroupProvisioningFlow + from .user_provisioning_flow import UserProvisioningFlow + diff --git a/msgraph_beta/generated/models/industry_data/provisioning_flow_collection_response.py b/msgraph_beta/generated/models/industry_data/provisioning_flow_collection_response.py index 0c33e759591..d7de2d8e7db 100644 --- a/msgraph_beta/generated/models/industry_data/provisioning_flow_collection_response.py +++ b/msgraph_beta/generated/models/industry_data/provisioning_flow_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .provisioning_flow import ProvisioningFlow + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/industry_data/reference_definition.py b/msgraph_beta/generated/models/industry_data/reference_definition.py index 5c196fe13f3..c5d47da4f58 100644 --- a/msgraph_beta/generated/models/industry_data/reference_definition.py +++ b/msgraph_beta/generated/models/industry_data/reference_definition.py @@ -73,6 +73,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + writer.write_str_value("code", self.code) writer.write_str_value("displayName", self.display_name) writer.write_bool_value("isDisabled", self.is_disabled) diff --git a/msgraph_beta/generated/models/industry_data/reference_definition_collection_response.py b/msgraph_beta/generated/models/industry_data/reference_definition_collection_response.py index 01be74467e1..cfeec18f032 100644 --- a/msgraph_beta/generated/models/industry_data/reference_definition_collection_response.py +++ b/msgraph_beta/generated/models/industry_data/reference_definition_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .reference_definition import ReferenceDefinition + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/industry_data/reference_value.py b/msgraph_beta/generated/models/industry_data/reference_value.py index 7f10681a793..3e947cb6918 100644 --- a/msgraph_beta/generated/models/industry_data/reference_value.py +++ b/msgraph_beta/generated/models/industry_data/reference_value.py @@ -37,7 +37,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> ReferenceValue: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.industryData.fileFormatReferenceValue".casefold(): @@ -102,6 +103,14 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .file_format_reference_value import FileFormatReferenceValue + from .identifier_type_reference_value import IdentifierTypeReferenceValue + from .reference_definition import ReferenceDefinition + from .role_reference_value import RoleReferenceValue + from .section_role_reference_value import SectionRoleReferenceValue + from .user_match_target_reference_value import UserMatchTargetReferenceValue + from .year_reference_value import YearReferenceValue + writer.write_str_value("code", self.code) writer.write_str_value("@odata.type", self.odata_type) writer.write_object_value("value", self.value) diff --git a/msgraph_beta/generated/models/industry_data/role_group.py b/msgraph_beta/generated/models/industry_data/role_group.py index 0911ddaded0..ca46d6c3cb0 100644 --- a/msgraph_beta/generated/models/industry_data/role_group.py +++ b/msgraph_beta/generated/models/industry_data/role_group.py @@ -57,6 +57,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + from .role_reference_value import RoleReferenceValue + writer.write_str_value("displayName", self.display_name) writer.write_collection_of_object_values("roles", self.roles) diff --git a/msgraph_beta/generated/models/industry_data/role_group_collection_response.py b/msgraph_beta/generated/models/industry_data/role_group_collection_response.py index 26f135310df..08db6494e5a 100644 --- a/msgraph_beta/generated/models/industry_data/role_group_collection_response.py +++ b/msgraph_beta/generated/models/industry_data/role_group_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .role_group import RoleGroup + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/industry_data/role_reference_value.py b/msgraph_beta/generated/models/industry_data/role_reference_value.py index 6c81d59264c..c1f6e7f6d02 100644 --- a/msgraph_beta/generated/models/industry_data/role_reference_value.py +++ b/msgraph_beta/generated/models/industry_data/role_reference_value.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .reference_value import ReferenceValue + diff --git a/msgraph_beta/generated/models/industry_data/section_role_reference_value.py b/msgraph_beta/generated/models/industry_data/section_role_reference_value.py index 221c3df75e8..83826cb0096 100644 --- a/msgraph_beta/generated/models/industry_data/section_role_reference_value.py +++ b/msgraph_beta/generated/models/industry_data/section_role_reference_value.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .reference_value import ReferenceValue + diff --git a/msgraph_beta/generated/models/industry_data/security_group_provisioning_flow.py b/msgraph_beta/generated/models/industry_data/security_group_provisioning_flow.py index e5ca52f9d95..f6d9019c7c2 100644 --- a/msgraph_beta/generated/models/industry_data/security_group_provisioning_flow.py +++ b/msgraph_beta/generated/models/industry_data/security_group_provisioning_flow.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .provisioning_flow import ProvisioningFlow + from .security_group_creation_options import SecurityGroupCreationOptions + writer.write_object_value("creationOptions", self.creation_options) diff --git a/msgraph_beta/generated/models/industry_data/simple_password_settings.py b/msgraph_beta/generated/models/industry_data/simple_password_settings.py index 5fc559f1922..9fc4425f8d5 100644 --- a/msgraph_beta/generated/models/industry_data/simple_password_settings.py +++ b/msgraph_beta/generated/models/industry_data/simple_password_settings.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .password_settings import PasswordSettings + writer.write_str_value("password", self.password) diff --git a/msgraph_beta/generated/models/industry_data/source_system_definition.py b/msgraph_beta/generated/models/industry_data/source_system_definition.py index ec2130f5d11..5611c62ae67 100644 --- a/msgraph_beta/generated/models/industry_data/source_system_definition.py +++ b/msgraph_beta/generated/models/industry_data/source_system_definition.py @@ -60,6 +60,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + from .user_matching_setting import UserMatchingSetting + writer.write_str_value("displayName", self.display_name) writer.write_collection_of_object_values("userMatchingSettings", self.user_matching_settings) writer.write_str_value("vendor", self.vendor) diff --git a/msgraph_beta/generated/models/industry_data/source_system_definition_collection_response.py b/msgraph_beta/generated/models/industry_data/source_system_definition_collection_response.py index 2ff3ce9dd1f..ca9685f17e4 100644 --- a/msgraph_beta/generated/models/industry_data/source_system_definition_collection_response.py +++ b/msgraph_beta/generated/models/industry_data/source_system_definition_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .source_system_definition import SourceSystemDefinition + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/industry_data/user_configuration.py b/msgraph_beta/generated/models/industry_data/user_configuration.py index e38616280b3..a7ee840930c 100644 --- a/msgraph_beta/generated/models/industry_data/user_configuration.py +++ b/msgraph_beta/generated/models/industry_data/user_configuration.py @@ -62,6 +62,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .password_settings import PasswordSettings + from .role_group import RoleGroup + writer.write_object_value("defaultPasswordSettings", self.default_password_settings) writer.write_collection_of_primitive_values("licenseSkus", self.license_skus) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/industry_data/user_creation_options.py b/msgraph_beta/generated/models/industry_data/user_creation_options.py index 48742966c94..1a3d5addddd 100644 --- a/msgraph_beta/generated/models/industry_data/user_creation_options.py +++ b/msgraph_beta/generated/models/industry_data/user_creation_options.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .user_configuration import UserConfiguration + writer.write_collection_of_object_values("configurations", self.configurations) writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/industry_data/user_management_options.py b/msgraph_beta/generated/models/industry_data/user_management_options.py index b13c0b4a315..fc327b0c151 100644 --- a/msgraph_beta/generated/models/industry_data/user_management_options.py +++ b/msgraph_beta/generated/models/industry_data/user_management_options.py @@ -59,6 +59,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .additional_user_attributes import AdditionalUserAttributes + from .additional_user_options import AdditionalUserOptions + writer.write_collection_of_enum_values("additionalAttributes", self.additional_attributes) writer.write_object_value("additionalOptions", self.additional_options) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/industry_data/user_match_target_reference_value.py b/msgraph_beta/generated/models/industry_data/user_match_target_reference_value.py index b6e48f1f083..4a58f19e3be 100644 --- a/msgraph_beta/generated/models/industry_data/user_match_target_reference_value.py +++ b/msgraph_beta/generated/models/industry_data/user_match_target_reference_value.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .reference_value import ReferenceValue + diff --git a/msgraph_beta/generated/models/industry_data/user_matching_setting.py b/msgraph_beta/generated/models/industry_data/user_matching_setting.py index ac55b70ac0f..63ec99f5bde 100644 --- a/msgraph_beta/generated/models/industry_data/user_matching_setting.py +++ b/msgraph_beta/generated/models/industry_data/user_matching_setting.py @@ -68,6 +68,10 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .identifier_type_reference_value import IdentifierTypeReferenceValue + from .role_group import RoleGroup + from .user_match_target_reference_value import UserMatchTargetReferenceValue + writer.write_object_value("matchTarget", self.match_target) writer.write_str_value("@odata.type", self.odata_type) writer.write_int_value("priorityOrder", self.priority_order) diff --git a/msgraph_beta/generated/models/industry_data/user_provisioning_flow.py b/msgraph_beta/generated/models/industry_data/user_provisioning_flow.py index 74980b9d427..2fa21fcddad 100644 --- a/msgraph_beta/generated/models/industry_data/user_provisioning_flow.py +++ b/msgraph_beta/generated/models/industry_data/user_provisioning_flow.py @@ -63,6 +63,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .provisioning_flow import ProvisioningFlow + from .user_creation_options import UserCreationOptions + from .user_management_options import UserManagementOptions + writer.write_bool_value("createUnmatchedUsers", self.create_unmatched_users) writer.write_object_value("creationOptions", self.creation_options) writer.write_object_value("managementOptions", self.management_options) diff --git a/msgraph_beta/generated/models/industry_data/validate_operation.py b/msgraph_beta/generated/models/industry_data/validate_operation.py index 627a886fe1d..7de4bc2b9ef 100644 --- a/msgraph_beta/generated/models/industry_data/validate_operation.py +++ b/msgraph_beta/generated/models/industry_data/validate_operation.py @@ -32,7 +32,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> ValidateOperation: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.industryData.fileValidateOperation".casefold(): @@ -71,5 +72,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..long_running_operation import LongRunningOperation + from ..public_error import PublicError + from .file_validate_operation import FileValidateOperation + diff --git a/msgraph_beta/generated/models/industry_data/year_reference_value.py b/msgraph_beta/generated/models/industry_data/year_reference_value.py index 2a93487cc6c..ca901a55dc3 100644 --- a/msgraph_beta/generated/models/industry_data/year_reference_value.py +++ b/msgraph_beta/generated/models/industry_data/year_reference_value.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .reference_value import ReferenceValue + diff --git a/msgraph_beta/generated/models/industry_data/year_time_period_definition.py b/msgraph_beta/generated/models/industry_data/year_time_period_definition.py index cbd6de68838..ff9aca90235 100644 --- a/msgraph_beta/generated/models/industry_data/year_time_period_definition.py +++ b/msgraph_beta/generated/models/industry_data/year_time_period_definition.py @@ -64,6 +64,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + from .year_reference_value import YearReferenceValue + writer.write_str_value("displayName", self.display_name) writer.write_date_value("endDate", self.end_date) writer.write_date_value("startDate", self.start_date) diff --git a/msgraph_beta/generated/models/industry_data/year_time_period_definition_collection_response.py b/msgraph_beta/generated/models/industry_data/year_time_period_definition_collection_response.py index 3e98aa6605a..2f5378dab87 100644 --- a/msgraph_beta/generated/models/industry_data/year_time_period_definition_collection_response.py +++ b/msgraph_beta/generated/models/industry_data/year_time_period_definition_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .year_time_period_definition import YearTimePeriodDefinition + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/inference_classification.py b/msgraph_beta/generated/models/inference_classification.py index 566b15a24e6..24e75dcf83d 100644 --- a/msgraph_beta/generated/models/inference_classification.py +++ b/msgraph_beta/generated/models/inference_classification.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .inference_classification_override import InferenceClassificationOverride + writer.write_collection_of_object_values("overrides", self.overrides) diff --git a/msgraph_beta/generated/models/inference_classification_override.py b/msgraph_beta/generated/models/inference_classification_override.py index eaedbfbf23a..f511cf210d8 100644 --- a/msgraph_beta/generated/models/inference_classification_override.py +++ b/msgraph_beta/generated/models/inference_classification_override.py @@ -60,6 +60,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .email_address import EmailAddress + from .entity import Entity + from .inference_classification_type import InferenceClassificationType + writer.write_enum_value("classifyAs", self.classify_as) writer.write_object_value("senderEmailAddress", self.sender_email_address) diff --git a/msgraph_beta/generated/models/inference_classification_override_collection_response.py b/msgraph_beta/generated/models/inference_classification_override_collection_response.py index aa7dccaee32..b133e79810b 100644 --- a/msgraph_beta/generated/models/inference_classification_override_collection_response.py +++ b/msgraph_beta/generated/models/inference_classification_override_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .inference_classification_override import InferenceClassificationOverride + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/information_protection.py b/msgraph_beta/generated/models/information_protection.py index e3f5b14d76f..839373db4bb 100644 --- a/msgraph_beta/generated/models/information_protection.py +++ b/msgraph_beta/generated/models/information_protection.py @@ -84,6 +84,14 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .bitlocker import Bitlocker + from .data_loss_prevention_policy import DataLossPreventionPolicy + from .entity import Entity + from .information_protection_policy import InformationProtectionPolicy + from .sensitivity_label import SensitivityLabel + from .sensitivity_policy_settings import SensitivityPolicySettings + from .threat_assessment_request import ThreatAssessmentRequest + writer.write_object_value("bitlocker", self.bitlocker) writer.write_collection_of_object_values("dataLossPreventionPolicies", self.data_loss_prevention_policies) writer.write_object_value("policy", self.policy) diff --git a/msgraph_beta/generated/models/information_protection_action.py b/msgraph_beta/generated/models/information_protection_action.py index 427fec2dd96..82b27988e69 100644 --- a/msgraph_beta/generated/models/information_protection_action.py +++ b/msgraph_beta/generated/models/information_protection_action.py @@ -41,7 +41,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> InformationProtect if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.addContentFooterAction".casefold(): @@ -156,6 +157,22 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .add_content_footer_action import AddContentFooterAction + from .add_content_header_action import AddContentHeaderAction + from .add_watermark_action import AddWatermarkAction + from .apply_label_action import ApplyLabelAction + from .custom_action import CustomAction + from .justify_action import JustifyAction + from .metadata_action import MetadataAction + from .protect_adhoc_action import ProtectAdhocAction + from .protect_by_template_action import ProtectByTemplateAction + from .protect_do_not_forward_action import ProtectDoNotForwardAction + from .recommend_label_action import RecommendLabelAction + from .remove_content_footer_action import RemoveContentFooterAction + from .remove_content_header_action import RemoveContentHeaderAction + from .remove_protection_action import RemoveProtectionAction + from .remove_watermark_action import RemoveWatermarkAction + writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/information_protection_content_label.py b/msgraph_beta/generated/models/information_protection_content_label.py index 3f4a943acd7..8ee0669ed18 100644 --- a/msgraph_beta/generated/models/information_protection_content_label.py +++ b/msgraph_beta/generated/models/information_protection_content_label.py @@ -63,6 +63,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .assignment_method import AssignmentMethod + from .label_details import LabelDetails + writer.write_enum_value("assignmentMethod", self.assignment_method) writer.write_datetime_value("creationDateTime", self.creation_date_time) writer.write_object_value("label", self.label) diff --git a/msgraph_beta/generated/models/information_protection_label.py b/msgraph_beta/generated/models/information_protection_label.py index 279665e6a84..f08b13660ba 100644 --- a/msgraph_beta/generated/models/information_protection_label.py +++ b/msgraph_beta/generated/models/information_protection_label.py @@ -72,6 +72,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .parent_label_details import ParentLabelDetails + writer.write_str_value("color", self.color) writer.write_str_value("description", self.description) writer.write_bool_value("isActive", self.is_active) diff --git a/msgraph_beta/generated/models/information_protection_label_collection_response.py b/msgraph_beta/generated/models/information_protection_label_collection_response.py index 25d84f4c6c1..a5f06eac8c2 100644 --- a/msgraph_beta/generated/models/information_protection_label_collection_response.py +++ b/msgraph_beta/generated/models/information_protection_label_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .information_protection_label import InformationProtectionLabel + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/information_protection_policy.py b/msgraph_beta/generated/models/information_protection_policy.py index f34f1077d8a..c1972ca02ca 100644 --- a/msgraph_beta/generated/models/information_protection_policy.py +++ b/msgraph_beta/generated/models/information_protection_policy.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .information_protection_label import InformationProtectionLabel + writer.write_collection_of_object_values("labels", self.labels) diff --git a/msgraph_beta/generated/models/initiator.py b/msgraph_beta/generated/models/initiator.py index 1f84dd9d515..0c4c99489d6 100644 --- a/msgraph_beta/generated/models/initiator.py +++ b/msgraph_beta/generated/models/initiator.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .identity import Identity + from .initiator_type import InitiatorType + writer.write_enum_value("initiatorType", self.initiator_type) diff --git a/msgraph_beta/generated/models/insight_summary.py b/msgraph_beta/generated/models/insight_summary.py index b240c83ce23..f789a77ba47 100644 --- a/msgraph_beta/generated/models/insight_summary.py +++ b/msgraph_beta/generated/models/insight_summary.py @@ -79,6 +79,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_int_value("activeUsers", self.active_users) writer.write_str_value("appId", self.app_id) writer.write_int_value("authenticationCompletions", self.authentication_completions) diff --git a/msgraph_beta/generated/models/insight_summary_collection_response.py b/msgraph_beta/generated/models/insight_summary_collection_response.py index ef1c7179591..dc90685b02a 100644 --- a/msgraph_beta/generated/models/insight_summary_collection_response.py +++ b/msgraph_beta/generated/models/insight_summary_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .insight_summary import InsightSummary + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/insight_value_double.py b/msgraph_beta/generated/models/insight_value_double.py index fcf2d573bf4..7561e129cea 100644 --- a/msgraph_beta/generated/models/insight_value_double.py +++ b/msgraph_beta/generated/models/insight_value_double.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .user_experience_analytics_insight_value import UserExperienceAnalyticsInsightValue + writer.write_float_value("value", self.value) diff --git a/msgraph_beta/generated/models/insight_value_int.py b/msgraph_beta/generated/models/insight_value_int.py index f88b1fedbc5..3d7aa51e147 100644 --- a/msgraph_beta/generated/models/insight_value_int.py +++ b/msgraph_beta/generated/models/insight_value_int.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .user_experience_analytics_insight_value import UserExperienceAnalyticsInsightValue + writer.write_int_value("value", self.value) diff --git a/msgraph_beta/generated/models/insights_settings.py b/msgraph_beta/generated/models/insights_settings.py index cf670fa939e..f345e8df6df 100644 --- a/msgraph_beta/generated/models/insights_settings.py +++ b/msgraph_beta/generated/models/insights_settings.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_str_value("disabledForGroup", self.disabled_for_group) writer.write_bool_value("isEnabledInOrganization", self.is_enabled_in_organization) diff --git a/msgraph_beta/generated/models/institution_data.py b/msgraph_beta/generated/models/institution_data.py index 9bf280180d9..4916b2d875d 100644 --- a/msgraph_beta/generated/models/institution_data.py +++ b/msgraph_beta/generated/models/institution_data.py @@ -62,6 +62,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .physical_address import PhysicalAddress + writer.write_str_value("description", self.description) writer.write_str_value("displayName", self.display_name) writer.write_object_value("location", self.location) diff --git a/msgraph_beta/generated/models/internal_domain_federation.py b/msgraph_beta/generated/models/internal_domain_federation.py index f091dee910d..57a027cdd68 100644 --- a/msgraph_beta/generated/models/internal_domain_federation.py +++ b/msgraph_beta/generated/models/internal_domain_federation.py @@ -81,6 +81,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .federated_idp_mfa_behavior import FederatedIdpMfaBehavior + from .prompt_login_behavior import PromptLoginBehavior + from .saml_or_ws_fed_provider import SamlOrWsFedProvider + from .signing_certificate_update_status import SigningCertificateUpdateStatus + writer.write_str_value("activeSignInUri", self.active_sign_in_uri) writer.write_enum_value("federatedIdpMfaBehavior", self.federated_idp_mfa_behavior) writer.write_bool_value("isSignedAuthenticationRequestRequired", self.is_signed_authentication_request_required) diff --git a/msgraph_beta/generated/models/internal_domain_federation_collection_response.py b/msgraph_beta/generated/models/internal_domain_federation_collection_response.py index 68e1ddbc721..80eb1790630 100644 --- a/msgraph_beta/generated/models/internal_domain_federation_collection_response.py +++ b/msgraph_beta/generated/models/internal_domain_federation_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .internal_domain_federation import InternalDomainFederation + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/internal_sponsors.py b/msgraph_beta/generated/models/internal_sponsors.py index 115990c10d1..85e99f691ba 100644 --- a/msgraph_beta/generated/models/internal_sponsors.py +++ b/msgraph_beta/generated/models/internal_sponsors.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .user_set import UserSet + diff --git a/msgraph_beta/generated/models/internet_explorer_mode.py b/msgraph_beta/generated/models/internet_explorer_mode.py index d486853de1e..82e21baf24d 100644 --- a/msgraph_beta/generated/models/internet_explorer_mode.py +++ b/msgraph_beta/generated/models/internet_explorer_mode.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .browser_site_list import BrowserSiteList + from .entity import Entity + writer.write_collection_of_object_values("siteLists", self.site_lists) diff --git a/msgraph_beta/generated/models/intune_brand.py b/msgraph_beta/generated/models/intune_brand.py index 0bb319d7d53..5906852e251 100644 --- a/msgraph_beta/generated/models/intune_brand.py +++ b/msgraph_beta/generated/models/intune_brand.py @@ -149,6 +149,11 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .company_portal_blocked_action import CompanyPortalBlockedAction + from .enrollment_availability_options import EnrollmentAvailabilityOptions + from .mime_content import MimeContent + from .rgb_color import RgbColor + writer.write_collection_of_object_values("companyPortalBlockedActions", self.company_portal_blocked_actions) writer.write_str_value("contactITEmailAddress", self.contact_i_t_email_address) writer.write_str_value("contactITName", self.contact_i_t_name) diff --git a/msgraph_beta/generated/models/intune_branding_profile.py b/msgraph_beta/generated/models/intune_branding_profile.py index b55f2c43ede..8639e93b180 100644 --- a/msgraph_beta/generated/models/intune_branding_profile.py +++ b/msgraph_beta/generated/models/intune_branding_profile.py @@ -169,6 +169,13 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .company_portal_blocked_action import CompanyPortalBlockedAction + from .enrollment_availability_options import EnrollmentAvailabilityOptions + from .entity import Entity + from .intune_branding_profile_assignment import IntuneBrandingProfileAssignment + from .mime_content import MimeContent + from .rgb_color import RgbColor + writer.write_collection_of_object_values("assignments", self.assignments) writer.write_collection_of_object_values("companyPortalBlockedActions", self.company_portal_blocked_actions) writer.write_str_value("contactITEmailAddress", self.contact_i_t_email_address) diff --git a/msgraph_beta/generated/models/intune_branding_profile_assignment.py b/msgraph_beta/generated/models/intune_branding_profile_assignment.py index 4eac175b591..239f48e5010 100644 --- a/msgraph_beta/generated/models/intune_branding_profile_assignment.py +++ b/msgraph_beta/generated/models/intune_branding_profile_assignment.py @@ -57,6 +57,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_and_app_management_assignment_target import DeviceAndAppManagementAssignmentTarget + from .entity import Entity + writer.write_object_value("target", self.target) diff --git a/msgraph_beta/generated/models/intune_branding_profile_assignment_collection_response.py b/msgraph_beta/generated/models/intune_branding_profile_assignment_collection_response.py index 53563498793..a39da2dbce5 100644 --- a/msgraph_beta/generated/models/intune_branding_profile_assignment_collection_response.py +++ b/msgraph_beta/generated/models/intune_branding_profile_assignment_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .intune_branding_profile_assignment import IntuneBrandingProfileAssignment + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/intune_branding_profile_collection_response.py b/msgraph_beta/generated/models/intune_branding_profile_collection_response.py index 65c3264d388..e660254b0bc 100644 --- a/msgraph_beta/generated/models/intune_branding_profile_collection_response.py +++ b/msgraph_beta/generated/models/intune_branding_profile_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .intune_branding_profile import IntuneBrandingProfile + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/invalid_license_alert_configuration.py b/msgraph_beta/generated/models/invalid_license_alert_configuration.py index 7113c40bae1..c5a9bde6a0b 100644 --- a/msgraph_beta/generated/models/invalid_license_alert_configuration.py +++ b/msgraph_beta/generated/models/invalid_license_alert_configuration.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .unified_role_management_alert_configuration import UnifiedRoleManagementAlertConfiguration + diff --git a/msgraph_beta/generated/models/invalid_license_alert_incident.py b/msgraph_beta/generated/models/invalid_license_alert_incident.py index ebf40bc5170..7df68330960 100644 --- a/msgraph_beta/generated/models/invalid_license_alert_incident.py +++ b/msgraph_beta/generated/models/invalid_license_alert_incident.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .unified_role_management_alert_incident import UnifiedRoleManagementAlertIncident + writer.write_str_value("tenantLicenseStatus", self.tenant_license_status) diff --git a/msgraph_beta/generated/models/invitation.py b/msgraph_beta/generated/models/invitation.py index 04b7193bfbf..cb805721944 100644 --- a/msgraph_beta/generated/models/invitation.py +++ b/msgraph_beta/generated/models/invitation.py @@ -90,6 +90,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .directory_object import DirectoryObject + from .entity import Entity + from .invited_user_message_info import InvitedUserMessageInfo + from .user import User + writer.write_str_value("inviteRedeemUrl", self.invite_redeem_url) writer.write_str_value("inviteRedirectUrl", self.invite_redirect_url) writer.write_object_value("invitedUser", self.invited_user) diff --git a/msgraph_beta/generated/models/invitation_collection_response.py b/msgraph_beta/generated/models/invitation_collection_response.py index d43cbd4c158..05a7e88eca0 100644 --- a/msgraph_beta/generated/models/invitation_collection_response.py +++ b/msgraph_beta/generated/models/invitation_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .invitation import Invitation + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/invitation_participant_info.py b/msgraph_beta/generated/models/invitation_participant_info.py index 5d8f77ec246..81de6385375 100644 --- a/msgraph_beta/generated/models/invitation_participant_info.py +++ b/msgraph_beta/generated/models/invitation_participant_info.py @@ -71,6 +71,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .endpoint_type import EndpointType + from .identity_set import IdentitySet + writer.write_enum_value("endpointType", self.endpoint_type) writer.write_bool_value("hidden", self.hidden) writer.write_object_value("identity", self.identity) diff --git a/msgraph_beta/generated/models/invitation_redemption_identity_provider_configuration.py b/msgraph_beta/generated/models/invitation_redemption_identity_provider_configuration.py index d0bf7441249..87059dfe782 100644 --- a/msgraph_beta/generated/models/invitation_redemption_identity_provider_configuration.py +++ b/msgraph_beta/generated/models/invitation_redemption_identity_provider_configuration.py @@ -32,7 +32,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> InvitationRedempti if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.defaultInvitationRedemptionIdentityProviderConfiguration".casefold(): @@ -67,6 +68,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .b2b_identity_providers_type import B2bIdentityProvidersType + from .default_invitation_redemption_identity_provider_configuration import DefaultInvitationRedemptionIdentityProviderConfiguration + writer.write_enum_value("fallbackIdentityProvider", self.fallback_identity_provider) writer.write_str_value("@odata.type", self.odata_type) writer.write_collection_of_enum_values("primaryIdentityProviderPrecedenceOrder", self.primary_identity_provider_precedence_order) diff --git a/msgraph_beta/generated/models/invite_participants_operation.py b/msgraph_beta/generated/models/invite_participants_operation.py index 2fe1c14f92d..bee57e104ef 100644 --- a/msgraph_beta/generated/models/invite_participants_operation.py +++ b/msgraph_beta/generated/models/invite_participants_operation.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .comms_operation import CommsOperation + from .invitation_participant_info import InvitationParticipantInfo + writer.write_collection_of_object_values("participants", self.participants) diff --git a/msgraph_beta/generated/models/invited_user_message_info.py b/msgraph_beta/generated/models/invited_user_message_info.py index 55c11dfc093..de83c290e72 100644 --- a/msgraph_beta/generated/models/invited_user_message_info.py +++ b/msgraph_beta/generated/models/invited_user_message_info.py @@ -59,6 +59,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .recipient import Recipient + writer.write_collection_of_object_values("ccRecipients", self.cc_recipients) writer.write_str_value("customizedMessageBody", self.customized_message_body) writer.write_str_value("messageLanguage", self.message_language) diff --git a/msgraph_beta/generated/models/invoke_user_flow_listener.py b/msgraph_beta/generated/models/invoke_user_flow_listener.py index 10a3c44efd4..bfaec7f84ab 100644 --- a/msgraph_beta/generated/models/invoke_user_flow_listener.py +++ b/msgraph_beta/generated/models/invoke_user_flow_listener.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .authentication_listener import AuthenticationListener + from .b2x_identity_user_flow import B2xIdentityUserFlow + writer.write_object_value("userFlow", self.user_flow) diff --git a/msgraph_beta/generated/models/ios_azure_ad_single_sign_on_extension.py b/msgraph_beta/generated/models/ios_azure_ad_single_sign_on_extension.py index 2fffcd4b59a..86d908e0999 100644 --- a/msgraph_beta/generated/models/ios_azure_ad_single_sign_on_extension.py +++ b/msgraph_beta/generated/models/ios_azure_ad_single_sign_on_extension.py @@ -63,6 +63,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .ios_single_sign_on_extension import IosSingleSignOnExtension + from .key_typed_value_pair import KeyTypedValuePair + writer.write_collection_of_primitive_values("bundleIdAccessControlList", self.bundle_id_access_control_list) writer.write_collection_of_object_values("configurations", self.configurations) writer.write_bool_value("enableSharedDeviceMode", self.enable_shared_device_mode) diff --git a/msgraph_beta/generated/models/ios_certificate_profile.py b/msgraph_beta/generated/models/ios_certificate_profile.py index cb85aa42dba..c1915c20218 100644 --- a/msgraph_beta/generated/models/ios_certificate_profile.py +++ b/msgraph_beta/generated/models/ios_certificate_profile.py @@ -30,7 +30,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> IosCertificateProf if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.iosCertificateProfileBase".casefold(): @@ -83,5 +84,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_configuration import DeviceConfiguration + from .ios_certificate_profile_base import IosCertificateProfileBase + from .ios_imported_p_f_x_certificate_profile import IosImportedPFXCertificateProfile + from .ios_pkcs_certificate_profile import IosPkcsCertificateProfile + from .ios_scep_certificate_profile import IosScepCertificateProfile + diff --git a/msgraph_beta/generated/models/ios_certificate_profile_base.py b/msgraph_beta/generated/models/ios_certificate_profile_base.py index 4304a59c844..53c4b9dfad2 100644 --- a/msgraph_beta/generated/models/ios_certificate_profile_base.py +++ b/msgraph_beta/generated/models/ios_certificate_profile_base.py @@ -41,7 +41,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> IosCertificateProf if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.iosPkcsCertificateProfile".casefold(): @@ -93,6 +94,13 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .apple_subject_name_format import AppleSubjectNameFormat + from .certificate_validity_period_scale import CertificateValidityPeriodScale + from .ios_certificate_profile import IosCertificateProfile + from .ios_pkcs_certificate_profile import IosPkcsCertificateProfile + from .ios_scep_certificate_profile import IosScepCertificateProfile + from .subject_alternative_name_type import SubjectAlternativeNameType + writer.write_enum_value("certificateValidityPeriodScale", self.certificate_validity_period_scale) writer.write_int_value("certificateValidityPeriodValue", self.certificate_validity_period_value) writer.write_int_value("renewalThresholdPercentage", self.renewal_threshold_percentage) diff --git a/msgraph_beta/generated/models/ios_compliance_policy.py b/msgraph_beta/generated/models/ios_compliance_policy.py index 5ace0080412..a279b6975f2 100644 --- a/msgraph_beta/generated/models/ios_compliance_policy.py +++ b/msgraph_beta/generated/models/ios_compliance_policy.py @@ -117,6 +117,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .app_list_item import AppListItem + from .device_compliance_policy import DeviceCompliancePolicy + from .device_threat_protection_level import DeviceThreatProtectionLevel + from .required_password_type import RequiredPasswordType + writer.write_enum_value("advancedThreatProtectionRequiredSecurityLevel", self.advanced_threat_protection_required_security_level) writer.write_bool_value("deviceThreatProtectionEnabled", self.device_threat_protection_enabled) writer.write_enum_value("deviceThreatProtectionRequiredSecurityLevel", self.device_threat_protection_required_security_level) diff --git a/msgraph_beta/generated/models/ios_credential_single_sign_on_extension.py b/msgraph_beta/generated/models/ios_credential_single_sign_on_extension.py index a2662111b57..c5d90b0c476 100644 --- a/msgraph_beta/generated/models/ios_credential_single_sign_on_extension.py +++ b/msgraph_beta/generated/models/ios_credential_single_sign_on_extension.py @@ -69,6 +69,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .ios_single_sign_on_extension import IosSingleSignOnExtension + from .key_typed_value_pair import KeyTypedValuePair + writer.write_collection_of_object_values("configurations", self.configurations) writer.write_collection_of_primitive_values("domains", self.domains) writer.write_str_value("extensionIdentifier", self.extension_identifier) diff --git a/msgraph_beta/generated/models/ios_custom_configuration.py b/msgraph_beta/generated/models/ios_custom_configuration.py index e3f4bf15f23..be7dd853985 100644 --- a/msgraph_beta/generated/models/ios_custom_configuration.py +++ b/msgraph_beta/generated/models/ios_custom_configuration.py @@ -60,6 +60,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_configuration import DeviceConfiguration + writer.write_bytes_value("payload", self.payload) writer.write_str_value("payloadFileName", self.payload_file_name) writer.write_str_value("payloadName", self.payload_name) diff --git a/msgraph_beta/generated/models/ios_derived_credential_authentication_configuration.py b/msgraph_beta/generated/models/ios_derived_credential_authentication_configuration.py index 1f8e6f09fd7..0ec81ba15dd 100644 --- a/msgraph_beta/generated/models/ios_derived_credential_authentication_configuration.py +++ b/msgraph_beta/generated/models/ios_derived_credential_authentication_configuration.py @@ -57,6 +57,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_configuration import DeviceConfiguration + from .device_management_derived_credential_settings import DeviceManagementDerivedCredentialSettings + writer.write_object_value("derivedCredentialSettings", self.derived_credential_settings) diff --git a/msgraph_beta/generated/models/ios_device_features_configuration.py b/msgraph_beta/generated/models/ios_device_features_configuration.py index 1f904eb4bab..db0cec9b68d 100644 --- a/msgraph_beta/generated/models/ios_device_features_configuration.py +++ b/msgraph_beta/generated/models/ios_device_features_configuration.py @@ -126,6 +126,18 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .apple_device_features_configuration_base import AppleDeviceFeaturesConfigurationBase + from .ios_certificate_profile_base import IosCertificateProfileBase + from .ios_home_screen_item import IosHomeScreenItem + from .ios_home_screen_page import IosHomeScreenPage + from .ios_notification_settings import IosNotificationSettings + from .ios_single_sign_on_extension import IosSingleSignOnExtension + from .ios_single_sign_on_settings import IosSingleSignOnSettings + from .ios_wallpaper_display_location import IosWallpaperDisplayLocation + from .ios_web_content_filter_base import IosWebContentFilterBase + from .mime_content import MimeContent + from .single_sign_on_extension import SingleSignOnExtension + writer.write_str_value("assetTagTemplate", self.asset_tag_template) writer.write_object_value("contentFilterSettings", self.content_filter_settings) writer.write_collection_of_object_values("homeScreenDockIcons", self.home_screen_dock_icons) diff --git a/msgraph_beta/generated/models/ios_eas_email_profile_configuration.py b/msgraph_beta/generated/models/ios_eas_email_profile_configuration.py index b1c73b8a30d..c1e4d2cce03 100644 --- a/msgraph_beta/generated/models/ios_eas_email_profile_configuration.py +++ b/msgraph_beta/generated/models/ios_eas_email_profile_configuration.py @@ -156,6 +156,16 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_management_derived_credential_settings import DeviceManagementDerivedCredentialSettings + from .eas_authentication_method import EasAuthenticationMethod + from .eas_email_profile_configuration_base import EasEmailProfileConfigurationBase + from .eas_services import EasServices + from .email_certificate_type import EmailCertificateType + from .email_sync_duration import EmailSyncDuration + from .ios_certificate_profile import IosCertificateProfile + from .ios_certificate_profile_base import IosCertificateProfileBase + from .user_email_source import UserEmailSource + writer.write_str_value("accountName", self.account_name) writer.write_enum_value("authenticationMethod", self.authentication_method) writer.write_bool_value("blockMovingMessagesToOtherEmailAccounts", self.block_moving_messages_to_other_email_accounts) diff --git a/msgraph_beta/generated/models/ios_edu_certificate_settings.py b/msgraph_beta/generated/models/ios_edu_certificate_settings.py index 35c268eeec8..14492a02546 100644 --- a/msgraph_beta/generated/models/ios_edu_certificate_settings.py +++ b/msgraph_beta/generated/models/ios_edu_certificate_settings.py @@ -77,6 +77,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .certificate_validity_period_scale import CertificateValidityPeriodScale + writer.write_str_value("certFileName", self.cert_file_name) writer.write_str_value("certificateTemplateName", self.certificate_template_name) writer.write_enum_value("certificateValidityPeriodScale", self.certificate_validity_period_scale) diff --git a/msgraph_beta/generated/models/ios_edu_device_configuration.py b/msgraph_beta/generated/models/ios_edu_device_configuration.py index 5128f965ea6..6a8a96f5712 100644 --- a/msgraph_beta/generated/models/ios_edu_device_configuration.py +++ b/msgraph_beta/generated/models/ios_edu_device_configuration.py @@ -63,6 +63,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_configuration import DeviceConfiguration + from .ios_edu_certificate_settings import IosEduCertificateSettings + writer.write_object_value("deviceCertificateSettings", self.device_certificate_settings) writer.write_object_value("studentCertificateSettings", self.student_certificate_settings) writer.write_object_value("teacherCertificateSettings", self.teacher_certificate_settings) diff --git a/msgraph_beta/generated/models/ios_education_device_configuration.py b/msgraph_beta/generated/models/ios_education_device_configuration.py index 004fbad3c69..f6569013375 100644 --- a/msgraph_beta/generated/models/ios_education_device_configuration.py +++ b/msgraph_beta/generated/models/ios_education_device_configuration.py @@ -51,5 +51,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_configuration import DeviceConfiguration + diff --git a/msgraph_beta/generated/models/ios_enterprise_wi_fi_configuration.py b/msgraph_beta/generated/models/ios_enterprise_wi_fi_configuration.py index 006fa1bab6a..a9f33444812 100644 --- a/msgraph_beta/generated/models/ios_enterprise_wi_fi_configuration.py +++ b/msgraph_beta/generated/models/ios_enterprise_wi_fi_configuration.py @@ -105,6 +105,15 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_management_derived_credential_settings import DeviceManagementDerivedCredentialSettings + from .eap_fast_configuration import EapFastConfiguration + from .eap_type import EapType + from .ios_certificate_profile_base import IosCertificateProfileBase + from .ios_trusted_root_certificate import IosTrustedRootCertificate + from .ios_wi_fi_configuration import IosWiFiConfiguration + from .non_eap_authentication_method_for_eap_ttls_type import NonEapAuthenticationMethodForEapTtlsType + from .wi_fi_authentication_method import WiFiAuthenticationMethod + writer.write_enum_value("authenticationMethod", self.authentication_method) writer.write_object_value("derivedCredentialSettings", self.derived_credential_settings) writer.write_enum_value("eapFastConfiguration", self.eap_fast_configuration) diff --git a/msgraph_beta/generated/models/ios_expedited_checkin_configuration.py b/msgraph_beta/generated/models/ios_expedited_checkin_configuration.py index 9a7dc746263..37bbacd131d 100644 --- a/msgraph_beta/generated/models/ios_expedited_checkin_configuration.py +++ b/msgraph_beta/generated/models/ios_expedited_checkin_configuration.py @@ -51,5 +51,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .apple_expedited_checkin_configuration_base import AppleExpeditedCheckinConfigurationBase + diff --git a/msgraph_beta/generated/models/ios_general_device_configuration.py b/msgraph_beta/generated/models/ios_general_device_configuration.py index 7e841d1badd..bf8ac669936 100644 --- a/msgraph_beta/generated/models/ios_general_device_configuration.py +++ b/msgraph_beta/generated/models/ios_general_device_configuration.py @@ -660,6 +660,24 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .app_list_item import AppListItem + from .app_list_type import AppListType + from .device_configuration import DeviceConfiguration + from .ios_kiosk_mode_app_type import IosKioskModeAppType + from .ios_network_usage_rule import IosNetworkUsageRule + from .media_content_rating_australia import MediaContentRatingAustralia + from .media_content_rating_canada import MediaContentRatingCanada + from .media_content_rating_france import MediaContentRatingFrance + from .media_content_rating_germany import MediaContentRatingGermany + from .media_content_rating_ireland import MediaContentRatingIreland + from .media_content_rating_japan import MediaContentRatingJapan + from .media_content_rating_new_zealand import MediaContentRatingNewZealand + from .media_content_rating_united_kingdom import MediaContentRatingUnitedKingdom + from .media_content_rating_united_states import MediaContentRatingUnitedStates + from .rating_apps_type import RatingAppsType + from .required_password_type import RequiredPasswordType + from .web_browser_cookie_settings import WebBrowserCookieSettings + writer.write_bool_value("accountBlockModification", self.account_block_modification) writer.write_bool_value("activationLockAllowWhenSupervised", self.activation_lock_allow_when_supervised) writer.write_bool_value("airDropBlocked", self.air_drop_blocked) diff --git a/msgraph_beta/generated/models/ios_home_screen_app.py b/msgraph_beta/generated/models/ios_home_screen_app.py index fcc4e2e8fd8..b303dec9cb4 100644 --- a/msgraph_beta/generated/models/ios_home_screen_app.py +++ b/msgraph_beta/generated/models/ios_home_screen_app.py @@ -57,6 +57,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .ios_home_screen_item import IosHomeScreenItem + writer.write_str_value("bundleID", self.bundle_i_d) writer.write_bool_value("isWebClip", self.is_web_clip) diff --git a/msgraph_beta/generated/models/ios_home_screen_folder.py b/msgraph_beta/generated/models/ios_home_screen_folder.py index f8eb2bcd115..bca4d9c545d 100644 --- a/msgraph_beta/generated/models/ios_home_screen_folder.py +++ b/msgraph_beta/generated/models/ios_home_screen_folder.py @@ -57,6 +57,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .ios_home_screen_folder_page import IosHomeScreenFolderPage + from .ios_home_screen_item import IosHomeScreenItem + writer.write_collection_of_object_values("pages", self.pages) diff --git a/msgraph_beta/generated/models/ios_home_screen_folder_page.py b/msgraph_beta/generated/models/ios_home_screen_folder_page.py index c86dfe144cf..89691ddca23 100644 --- a/msgraph_beta/generated/models/ios_home_screen_folder_page.py +++ b/msgraph_beta/generated/models/ios_home_screen_folder_page.py @@ -59,6 +59,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .ios_home_screen_app import IosHomeScreenApp + writer.write_collection_of_object_values("apps", self.apps) writer.write_str_value("displayName", self.display_name) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/ios_home_screen_item.py b/msgraph_beta/generated/models/ios_home_screen_item.py index 031bb8b699c..98528c1e08c 100644 --- a/msgraph_beta/generated/models/ios_home_screen_item.py +++ b/msgraph_beta/generated/models/ios_home_screen_item.py @@ -33,7 +33,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> IosHomeScreenItem: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.iosHomeScreenApp".casefold(): @@ -71,6 +72,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .ios_home_screen_app import IosHomeScreenApp + from .ios_home_screen_folder import IosHomeScreenFolder + writer.write_str_value("displayName", self.display_name) writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/ios_home_screen_page.py b/msgraph_beta/generated/models/ios_home_screen_page.py index 910374858a9..0c306c31d24 100644 --- a/msgraph_beta/generated/models/ios_home_screen_page.py +++ b/msgraph_beta/generated/models/ios_home_screen_page.py @@ -59,6 +59,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .ios_home_screen_item import IosHomeScreenItem + writer.write_str_value("displayName", self.display_name) writer.write_collection_of_object_values("icons", self.icons) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/ios_imported_p_f_x_certificate_profile.py b/msgraph_beta/generated/models/ios_imported_p_f_x_certificate_profile.py index 3439e188f12..0e750c4f371 100644 --- a/msgraph_beta/generated/models/ios_imported_p_f_x_certificate_profile.py +++ b/msgraph_beta/generated/models/ios_imported_p_f_x_certificate_profile.py @@ -63,6 +63,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .intended_purpose import IntendedPurpose + from .ios_certificate_profile import IosCertificateProfile + from .managed_device_certificate_state import ManagedDeviceCertificateState + writer.write_enum_value("intendedPurpose", self.intended_purpose) writer.write_collection_of_object_values("managedDeviceCertificateStates", self.managed_device_certificate_states) diff --git a/msgraph_beta/generated/models/ios_kerberos_single_sign_on_extension.py b/msgraph_beta/generated/models/ios_kerberos_single_sign_on_extension.py index 41b922ba001..b641d317704 100644 --- a/msgraph_beta/generated/models/ios_kerberos_single_sign_on_extension.py +++ b/msgraph_beta/generated/models/ios_kerberos_single_sign_on_extension.py @@ -120,6 +120,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .ios_single_sign_on_extension import IosSingleSignOnExtension + writer.write_str_value("activeDirectorySiteCode", self.active_directory_site_code) writer.write_bool_value("blockActiveDirectorySiteAutoDiscovery", self.block_active_directory_site_auto_discovery) writer.write_bool_value("blockAutomaticLogin", self.block_automatic_login) diff --git a/msgraph_beta/generated/models/ios_lob_app.py b/msgraph_beta/generated/models/ios_lob_app.py index 902b521f567..1963db8da70 100644 --- a/msgraph_beta/generated/models/ios_lob_app.py +++ b/msgraph_beta/generated/models/ios_lob_app.py @@ -76,6 +76,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .ios_device_type import IosDeviceType + from .ios_minimum_operating_system import IosMinimumOperatingSystem + from .mobile_lob_app import MobileLobApp + writer.write_object_value("applicableDeviceType", self.applicable_device_type) writer.write_str_value("buildNumber", self.build_number) writer.write_str_value("bundleId", self.bundle_id) diff --git a/msgraph_beta/generated/models/ios_lob_app_assignment_settings.py b/msgraph_beta/generated/models/ios_lob_app_assignment_settings.py index 36bfd01cb4f..69e1a386286 100644 --- a/msgraph_beta/generated/models/ios_lob_app_assignment_settings.py +++ b/msgraph_beta/generated/models/ios_lob_app_assignment_settings.py @@ -63,6 +63,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .mobile_app_assignment_settings import MobileAppAssignmentSettings + writer.write_bool_value("isRemovable", self.is_removable) writer.write_bool_value("preventManagedAppBackup", self.prevent_managed_app_backup) writer.write_bool_value("uninstallOnDeviceRemoval", self.uninstall_on_device_removal) diff --git a/msgraph_beta/generated/models/ios_lob_app_collection_response.py b/msgraph_beta/generated/models/ios_lob_app_collection_response.py index 0549751d97e..e863ac65611 100644 --- a/msgraph_beta/generated/models/ios_lob_app_collection_response.py +++ b/msgraph_beta/generated/models/ios_lob_app_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .ios_lob_app import IosLobApp + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/ios_lob_app_provisioning_configuration.py b/msgraph_beta/generated/models/ios_lob_app_provisioning_configuration.py index 0864604d9bf..a20d708f54c 100644 --- a/msgraph_beta/generated/models/ios_lob_app_provisioning_configuration.py +++ b/msgraph_beta/generated/models/ios_lob_app_provisioning_configuration.py @@ -103,6 +103,12 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .ios_lob_app_provisioning_configuration_assignment import IosLobAppProvisioningConfigurationAssignment + from .managed_device_mobile_app_configuration_device_status import ManagedDeviceMobileAppConfigurationDeviceStatus + from .managed_device_mobile_app_configuration_user_status import ManagedDeviceMobileAppConfigurationUserStatus + from .mobile_app_provisioning_config_group_assignment import MobileAppProvisioningConfigGroupAssignment + writer.write_collection_of_object_values("assignments", self.assignments) writer.write_datetime_value("createdDateTime", self.created_date_time) writer.write_str_value("description", self.description) diff --git a/msgraph_beta/generated/models/ios_lob_app_provisioning_configuration_assignment.py b/msgraph_beta/generated/models/ios_lob_app_provisioning_configuration_assignment.py index b2d925fc0fc..cd9f4c04dec 100644 --- a/msgraph_beta/generated/models/ios_lob_app_provisioning_configuration_assignment.py +++ b/msgraph_beta/generated/models/ios_lob_app_provisioning_configuration_assignment.py @@ -57,6 +57,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_and_app_management_assignment_target import DeviceAndAppManagementAssignmentTarget + from .entity import Entity + writer.write_object_value("target", self.target) diff --git a/msgraph_beta/generated/models/ios_lob_app_provisioning_configuration_assignment_collection_response.py b/msgraph_beta/generated/models/ios_lob_app_provisioning_configuration_assignment_collection_response.py index 90f525200b1..5312bd1154e 100644 --- a/msgraph_beta/generated/models/ios_lob_app_provisioning_configuration_assignment_collection_response.py +++ b/msgraph_beta/generated/models/ios_lob_app_provisioning_configuration_assignment_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .ios_lob_app_provisioning_configuration_assignment import IosLobAppProvisioningConfigurationAssignment + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/ios_lob_app_provisioning_configuration_collection_response.py b/msgraph_beta/generated/models/ios_lob_app_provisioning_configuration_collection_response.py index db43f97723e..c691208f44e 100644 --- a/msgraph_beta/generated/models/ios_lob_app_provisioning_configuration_collection_response.py +++ b/msgraph_beta/generated/models/ios_lob_app_provisioning_configuration_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .ios_lob_app_provisioning_configuration import IosLobAppProvisioningConfiguration + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/ios_lob_app_provisioning_configuration_policy_set_item.py b/msgraph_beta/generated/models/ios_lob_app_provisioning_configuration_policy_set_item.py index 224cdd05c96..651c2450e9a 100644 --- a/msgraph_beta/generated/models/ios_lob_app_provisioning_configuration_policy_set_item.py +++ b/msgraph_beta/generated/models/ios_lob_app_provisioning_configuration_policy_set_item.py @@ -51,5 +51,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .policy_set_item import PolicySetItem + diff --git a/msgraph_beta/generated/models/ios_managed_app_protection.py b/msgraph_beta/generated/models/ios_managed_app_protection.py index 85858693ff4..e338c1d3757 100644 --- a/msgraph_beta/generated/models/ios_managed_app_protection.py +++ b/msgraph_beta/generated/models/ios_managed_app_protection.py @@ -32,7 +32,7 @@ class IosManagedAppProtection(TargetedManagedAppProtection): app_data_encryption_type: Optional[ManagedAppDataEncryptionType] = None # List of apps to which the policy is deployed. apps: Optional[List[ManagedMobileApp]] = None - # A custom browser protocol to open weblink on iOS. + # A custom browser protocol to open weblink on iOS. When this property is configured, ManagedBrowserToOpenLinksRequired should be true. custom_browser_protocol: Optional[str] = None # Protocol of a custom dialer app to click-to-open a phone number on iOS, for example, skype:. custom_dialer_app_protocol: Optional[str] = None @@ -132,6 +132,13 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .key_value_pair import KeyValuePair + from .managed_app_data_encryption_type import ManagedAppDataEncryptionType + from .managed_app_policy_deployment_summary import ManagedAppPolicyDeploymentSummary + from .managed_app_remediation_action import ManagedAppRemediationAction + from .managed_mobile_app import ManagedMobileApp + from .targeted_managed_app_protection import TargetedManagedAppProtection + writer.write_bool_value("allowWidgetContentSync", self.allow_widget_content_sync) writer.write_str_value("allowedIosDeviceModels", self.allowed_ios_device_models) writer.write_enum_value("appActionIfAccountIsClockedOut", self.app_action_if_account_is_clocked_out) diff --git a/msgraph_beta/generated/models/ios_managed_app_protection_collection_response.py b/msgraph_beta/generated/models/ios_managed_app_protection_collection_response.py index 3c12f0f818d..d4e2c114de3 100644 --- a/msgraph_beta/generated/models/ios_managed_app_protection_collection_response.py +++ b/msgraph_beta/generated/models/ios_managed_app_protection_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .ios_managed_app_protection import IosManagedAppProtection + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/ios_managed_app_registration.py b/msgraph_beta/generated/models/ios_managed_app_registration.py index 90c518b3a23..d83f395872c 100644 --- a/msgraph_beta/generated/models/ios_managed_app_registration.py +++ b/msgraph_beta/generated/models/ios_managed_app_registration.py @@ -51,5 +51,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .managed_app_registration import ManagedAppRegistration + diff --git a/msgraph_beta/generated/models/ios_mobile_app_configuration.py b/msgraph_beta/generated/models/ios_mobile_app_configuration.py index d2b63b600bf..65cc96660ce 100644 --- a/msgraph_beta/generated/models/ios_mobile_app_configuration.py +++ b/msgraph_beta/generated/models/ios_mobile_app_configuration.py @@ -60,6 +60,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .app_configuration_setting_item import AppConfigurationSettingItem + from .managed_device_mobile_app_configuration import ManagedDeviceMobileAppConfiguration + writer.write_bytes_value("encodedSettingXml", self.encoded_setting_xml) writer.write_collection_of_object_values("settings", self.settings) diff --git a/msgraph_beta/generated/models/ios_mobile_app_identifier.py b/msgraph_beta/generated/models/ios_mobile_app_identifier.py index b26004d2623..6987d8fb046 100644 --- a/msgraph_beta/generated/models/ios_mobile_app_identifier.py +++ b/msgraph_beta/generated/models/ios_mobile_app_identifier.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .mobile_app_identifier import MobileAppIdentifier + writer.write_str_value("bundleId", self.bundle_id) diff --git a/msgraph_beta/generated/models/ios_network_usage_rule.py b/msgraph_beta/generated/models/ios_network_usage_rule.py index 977ecbfc9e2..edc3accc7a6 100644 --- a/msgraph_beta/generated/models/ios_network_usage_rule.py +++ b/msgraph_beta/generated/models/ios_network_usage_rule.py @@ -62,6 +62,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .app_list_item import AppListItem + writer.write_bool_value("cellularDataBlockWhenRoaming", self.cellular_data_block_when_roaming) writer.write_bool_value("cellularDataBlocked", self.cellular_data_blocked) writer.write_collection_of_object_values("managedApps", self.managed_apps) diff --git a/msgraph_beta/generated/models/ios_notification_settings.py b/msgraph_beta/generated/models/ios_notification_settings.py index f7803f555eb..52b2eb3d5a8 100644 --- a/msgraph_beta/generated/models/ios_notification_settings.py +++ b/msgraph_beta/generated/models/ios_notification_settings.py @@ -86,6 +86,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .ios_notification_alert_type import IosNotificationAlertType + from .ios_notification_preview_visibility import IosNotificationPreviewVisibility + writer.write_enum_value("alertType", self.alert_type) writer.write_str_value("appName", self.app_name) writer.write_bool_value("badgesEnabled", self.badges_enabled) diff --git a/msgraph_beta/generated/models/ios_pkcs_certificate_profile.py b/msgraph_beta/generated/models/ios_pkcs_certificate_profile.py index c21a47122cf..d5cfcc435b7 100644 --- a/msgraph_beta/generated/models/ios_pkcs_certificate_profile.py +++ b/msgraph_beta/generated/models/ios_pkcs_certificate_profile.py @@ -84,6 +84,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .certificate_store import CertificateStore + from .custom_subject_alternative_name import CustomSubjectAlternativeName + from .ios_certificate_profile_base import IosCertificateProfileBase + from .managed_device_certificate_state import ManagedDeviceCertificateState + writer.write_enum_value("certificateStore", self.certificate_store) writer.write_str_value("certificateTemplateName", self.certificate_template_name) writer.write_str_value("certificationAuthority", self.certification_authority) diff --git a/msgraph_beta/generated/models/ios_redirect_single_sign_on_extension.py b/msgraph_beta/generated/models/ios_redirect_single_sign_on_extension.py index c37c5cac8ba..1d46ec724ce 100644 --- a/msgraph_beta/generated/models/ios_redirect_single_sign_on_extension.py +++ b/msgraph_beta/generated/models/ios_redirect_single_sign_on_extension.py @@ -66,6 +66,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .ios_single_sign_on_extension import IosSingleSignOnExtension + from .key_typed_value_pair import KeyTypedValuePair + writer.write_collection_of_object_values("configurations", self.configurations) writer.write_str_value("extensionIdentifier", self.extension_identifier) writer.write_str_value("teamIdentifier", self.team_identifier) diff --git a/msgraph_beta/generated/models/ios_scep_certificate_profile.py b/msgraph_beta/generated/models/ios_scep_certificate_profile.py index 1fea0ae9902..c6fdda9ad8c 100644 --- a/msgraph_beta/generated/models/ios_scep_certificate_profile.py +++ b/msgraph_beta/generated/models/ios_scep_certificate_profile.py @@ -102,6 +102,15 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .certificate_store import CertificateStore + from .custom_subject_alternative_name import CustomSubjectAlternativeName + from .extended_key_usage import ExtendedKeyUsage + from .ios_certificate_profile_base import IosCertificateProfileBase + from .ios_trusted_root_certificate import IosTrustedRootCertificate + from .key_size import KeySize + from .key_usages import KeyUsages + from .managed_device_certificate_state import ManagedDeviceCertificateState + writer.write_enum_value("certificateStore", self.certificate_store) writer.write_collection_of_object_values("customSubjectAlternativeNames", self.custom_subject_alternative_names) writer.write_collection_of_object_values("extendedKeyUsages", self.extended_key_usages) diff --git a/msgraph_beta/generated/models/ios_single_sign_on_extension.py b/msgraph_beta/generated/models/ios_single_sign_on_extension.py index d01e4dd768e..5f86f16bac9 100644 --- a/msgraph_beta/generated/models/ios_single_sign_on_extension.py +++ b/msgraph_beta/generated/models/ios_single_sign_on_extension.py @@ -30,7 +30,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> IosSingleSignOnExt if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.iosAzureAdSingleSignOnExtension".casefold(): @@ -83,5 +84,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .ios_azure_ad_single_sign_on_extension import IosAzureAdSingleSignOnExtension + from .ios_credential_single_sign_on_extension import IosCredentialSingleSignOnExtension + from .ios_kerberos_single_sign_on_extension import IosKerberosSingleSignOnExtension + from .ios_redirect_single_sign_on_extension import IosRedirectSingleSignOnExtension + from .single_sign_on_extension import SingleSignOnExtension + diff --git a/msgraph_beta/generated/models/ios_single_sign_on_settings.py b/msgraph_beta/generated/models/ios_single_sign_on_settings.py index 3328568058b..5506447b524 100644 --- a/msgraph_beta/generated/models/ios_single_sign_on_settings.py +++ b/msgraph_beta/generated/models/ios_single_sign_on_settings.py @@ -68,6 +68,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .app_list_item import AppListItem + writer.write_collection_of_object_values("allowedAppsList", self.allowed_apps_list) writer.write_collection_of_primitive_values("allowedUrls", self.allowed_urls) writer.write_str_value("displayName", self.display_name) diff --git a/msgraph_beta/generated/models/ios_store_app.py b/msgraph_beta/generated/models/ios_store_app.py index 7deb6ed6288..355f5bbed9f 100644 --- a/msgraph_beta/generated/models/ios_store_app.py +++ b/msgraph_beta/generated/models/ios_store_app.py @@ -69,6 +69,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .ios_device_type import IosDeviceType + from .ios_minimum_operating_system import IosMinimumOperatingSystem + from .mobile_app import MobileApp + writer.write_str_value("appStoreUrl", self.app_store_url) writer.write_object_value("applicableDeviceType", self.applicable_device_type) writer.write_str_value("bundleId", self.bundle_id) diff --git a/msgraph_beta/generated/models/ios_store_app_assignment_settings.py b/msgraph_beta/generated/models/ios_store_app_assignment_settings.py index 24f3417b2a9..a2f4466f795 100644 --- a/msgraph_beta/generated/models/ios_store_app_assignment_settings.py +++ b/msgraph_beta/generated/models/ios_store_app_assignment_settings.py @@ -63,6 +63,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .mobile_app_assignment_settings import MobileAppAssignmentSettings + writer.write_bool_value("isRemovable", self.is_removable) writer.write_bool_value("preventManagedAppBackup", self.prevent_managed_app_backup) writer.write_bool_value("uninstallOnDeviceRemoval", self.uninstall_on_device_removal) diff --git a/msgraph_beta/generated/models/ios_store_app_collection_response.py b/msgraph_beta/generated/models/ios_store_app_collection_response.py index d9c8b36de5c..0a7ebcd4724 100644 --- a/msgraph_beta/generated/models/ios_store_app_collection_response.py +++ b/msgraph_beta/generated/models/ios_store_app_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .ios_store_app import IosStoreApp + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/ios_trusted_root_certificate.py b/msgraph_beta/generated/models/ios_trusted_root_certificate.py index 000d3f845ce..b14f3b242ce 100644 --- a/msgraph_beta/generated/models/ios_trusted_root_certificate.py +++ b/msgraph_beta/generated/models/ios_trusted_root_certificate.py @@ -57,6 +57,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_configuration import DeviceConfiguration + writer.write_str_value("certFileName", self.cert_file_name) writer.write_bytes_value("trustedRootCertificate", self.trusted_root_certificate) diff --git a/msgraph_beta/generated/models/ios_update_configuration.py b/msgraph_beta/generated/models/ios_update_configuration.py index 7b8b3d3224e..1261929bd38 100644 --- a/msgraph_beta/generated/models/ios_update_configuration.py +++ b/msgraph_beta/generated/models/ios_update_configuration.py @@ -88,6 +88,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .custom_update_time_window import CustomUpdateTimeWindow + from .day_of_week import DayOfWeek + from .device_configuration import DeviceConfiguration + from .ios_software_update_schedule_type import IosSoftwareUpdateScheduleType + writer.write_time_value("activeHoursEnd", self.active_hours_end) writer.write_time_value("activeHoursStart", self.active_hours_start) writer.write_collection_of_object_values("customUpdateTimeWindows", self.custom_update_time_windows) diff --git a/msgraph_beta/generated/models/ios_update_device_status.py b/msgraph_beta/generated/models/ios_update_device_status.py index c18a644c338..63543d3d9a2 100644 --- a/msgraph_beta/generated/models/ios_update_device_status.py +++ b/msgraph_beta/generated/models/ios_update_device_status.py @@ -91,6 +91,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .compliance_status import ComplianceStatus + from .entity import Entity + from .ios_updates_install_status import IosUpdatesInstallStatus + writer.write_datetime_value("complianceGracePeriodExpirationDateTime", self.compliance_grace_period_expiration_date_time) writer.write_str_value("deviceDisplayName", self.device_display_name) writer.write_str_value("deviceId", self.device_id) diff --git a/msgraph_beta/generated/models/ios_update_device_status_collection_response.py b/msgraph_beta/generated/models/ios_update_device_status_collection_response.py index 582f4b7d965..e637deacd50 100644 --- a/msgraph_beta/generated/models/ios_update_device_status_collection_response.py +++ b/msgraph_beta/generated/models/ios_update_device_status_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .ios_update_device_status import IosUpdateDeviceStatus + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/ios_vpn_configuration.py b/msgraph_beta/generated/models/ios_vpn_configuration.py index 43571bee653..92e984b1359 100644 --- a/msgraph_beta/generated/models/ios_vpn_configuration.py +++ b/msgraph_beta/generated/models/ios_vpn_configuration.py @@ -46,7 +46,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> IosVpnConfiguratio if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.iosikEv2VpnConfiguration".casefold(): @@ -95,6 +96,12 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .apple_vpn_configuration import AppleVpnConfiguration + from .app_list_item import AppListItem + from .device_management_derived_credential_settings import DeviceManagementDerivedCredentialSettings + from .iosik_ev2_vpn_configuration import IosikEv2VpnConfiguration + from .ios_certificate_profile_base import IosCertificateProfileBase + writer.write_str_value("cloudName", self.cloud_name) writer.write_object_value("derivedCredentialSettings", self.derived_credential_settings) writer.write_collection_of_primitive_values("excludeList", self.exclude_list) diff --git a/msgraph_beta/generated/models/ios_vpn_security_association_parameters.py b/msgraph_beta/generated/models/ios_vpn_security_association_parameters.py index 44a15c96e38..ace60a77c63 100644 --- a/msgraph_beta/generated/models/ios_vpn_security_association_parameters.py +++ b/msgraph_beta/generated/models/ios_vpn_security_association_parameters.py @@ -68,6 +68,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .vpn_encryption_algorithm_type import VpnEncryptionAlgorithmType + from .vpn_integrity_algorithm_type import VpnIntegrityAlgorithmType + writer.write_int_value("lifetimeInMinutes", self.lifetime_in_minutes) writer.write_str_value("@odata.type", self.odata_type) writer.write_int_value("securityDiffieHellmanGroup", self.security_diffie_hellman_group) diff --git a/msgraph_beta/generated/models/ios_vpp_app.py b/msgraph_beta/generated/models/ios_vpp_app.py index 898b4d80c16..14584f7b017 100644 --- a/msgraph_beta/generated/models/ios_vpp_app.py +++ b/msgraph_beta/generated/models/ios_vpp_app.py @@ -106,6 +106,13 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .ios_device_type import IosDeviceType + from .ios_vpp_app_assigned_license import IosVppAppAssignedLicense + from .ios_vpp_app_revoke_licenses_action_result import IosVppAppRevokeLicensesActionResult + from .mobile_app import MobileApp + from .vpp_licensing_type import VppLicensingType + from .vpp_token_account_type import VppTokenAccountType + writer.write_str_value("appStoreUrl", self.app_store_url) writer.write_object_value("applicableDeviceType", self.applicable_device_type) writer.write_collection_of_object_values("assignedLicenses", self.assigned_licenses) diff --git a/msgraph_beta/generated/models/ios_vpp_app_assigned_device_license.py b/msgraph_beta/generated/models/ios_vpp_app_assigned_device_license.py index 817d932fd0f..22a62fcd7b2 100644 --- a/msgraph_beta/generated/models/ios_vpp_app_assigned_device_license.py +++ b/msgraph_beta/generated/models/ios_vpp_app_assigned_device_license.py @@ -57,6 +57,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .ios_vpp_app_assigned_license import IosVppAppAssignedLicense + writer.write_str_value("deviceName", self.device_name) writer.write_str_value("managedDeviceId", self.managed_device_id) diff --git a/msgraph_beta/generated/models/ios_vpp_app_assigned_license.py b/msgraph_beta/generated/models/ios_vpp_app_assigned_license.py index f7f6871a4ca..15b6e3c1600 100644 --- a/msgraph_beta/generated/models/ios_vpp_app_assigned_license.py +++ b/msgraph_beta/generated/models/ios_vpp_app_assigned_license.py @@ -36,7 +36,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> IosVppAppAssignedL if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.iosVppAppAssignedDeviceLicense".casefold(): @@ -81,6 +82,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .ios_vpp_app_assigned_device_license import IosVppAppAssignedDeviceLicense + from .ios_vpp_app_assigned_user_license import IosVppAppAssignedUserLicense + writer.write_str_value("userEmailAddress", self.user_email_address) writer.write_str_value("userId", self.user_id) writer.write_str_value("userName", self.user_name) diff --git a/msgraph_beta/generated/models/ios_vpp_app_assigned_license_collection_response.py b/msgraph_beta/generated/models/ios_vpp_app_assigned_license_collection_response.py index affadac94d5..23dade246c2 100644 --- a/msgraph_beta/generated/models/ios_vpp_app_assigned_license_collection_response.py +++ b/msgraph_beta/generated/models/ios_vpp_app_assigned_license_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .ios_vpp_app_assigned_license import IosVppAppAssignedLicense + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/ios_vpp_app_assigned_user_license.py b/msgraph_beta/generated/models/ios_vpp_app_assigned_user_license.py index 9d124fc6582..864f7c837d8 100644 --- a/msgraph_beta/generated/models/ios_vpp_app_assigned_user_license.py +++ b/msgraph_beta/generated/models/ios_vpp_app_assigned_user_license.py @@ -51,5 +51,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .ios_vpp_app_assigned_license import IosVppAppAssignedLicense + diff --git a/msgraph_beta/generated/models/ios_vpp_app_assignment_settings.py b/msgraph_beta/generated/models/ios_vpp_app_assignment_settings.py index d9937b74fa5..b8b2e39c354 100644 --- a/msgraph_beta/generated/models/ios_vpp_app_assignment_settings.py +++ b/msgraph_beta/generated/models/ios_vpp_app_assignment_settings.py @@ -69,6 +69,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .mobile_app_assignment_settings import MobileAppAssignmentSettings + writer.write_bool_value("isRemovable", self.is_removable) writer.write_bool_value("preventAutoAppUpdate", self.prevent_auto_app_update) writer.write_bool_value("preventManagedAppBackup", self.prevent_managed_app_backup) diff --git a/msgraph_beta/generated/models/ios_vpp_app_collection_response.py b/msgraph_beta/generated/models/ios_vpp_app_collection_response.py index c9c9c6e2056..2984a5bb9d0 100644 --- a/msgraph_beta/generated/models/ios_vpp_app_collection_response.py +++ b/msgraph_beta/generated/models/ios_vpp_app_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .ios_vpp_app import IosVppApp + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/ios_vpp_app_revoke_licenses_action_result.py b/msgraph_beta/generated/models/ios_vpp_app_revoke_licenses_action_result.py index 5181de87ba5..70c9b3b8005 100644 --- a/msgraph_beta/generated/models/ios_vpp_app_revoke_licenses_action_result.py +++ b/msgraph_beta/generated/models/ios_vpp_app_revoke_licenses_action_result.py @@ -84,6 +84,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .action_state import ActionState + from .vpp_token_action_failure_reason import VppTokenActionFailureReason + writer.write_enum_value("actionFailureReason", self.action_failure_reason) writer.write_str_value("actionName", self.action_name) writer.write_enum_value("actionState", self.action_state) diff --git a/msgraph_beta/generated/models/ios_vpp_e_book.py b/msgraph_beta/generated/models/ios_vpp_e_book.py index 8c04287672d..546878b5be8 100644 --- a/msgraph_beta/generated/models/ios_vpp_e_book.py +++ b/msgraph_beta/generated/models/ios_vpp_e_book.py @@ -79,6 +79,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .managed_e_book import ManagedEBook + writer.write_str_value("appleId", self.apple_id) writer.write_collection_of_primitive_values("genres", self.genres) writer.write_str_value("language", self.language) diff --git a/msgraph_beta/generated/models/ios_vpp_e_book_assignment.py b/msgraph_beta/generated/models/ios_vpp_e_book_assignment.py index c5df84ec9b0..2d1f7b784f8 100644 --- a/msgraph_beta/generated/models/ios_vpp_e_book_assignment.py +++ b/msgraph_beta/generated/models/ios_vpp_e_book_assignment.py @@ -51,5 +51,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .managed_e_book_assignment import ManagedEBookAssignment + diff --git a/msgraph_beta/generated/models/ios_web_content_filter_auto_filter.py b/msgraph_beta/generated/models/ios_web_content_filter_auto_filter.py index 518b39366c1..81cf9374b0c 100644 --- a/msgraph_beta/generated/models/ios_web_content_filter_auto_filter.py +++ b/msgraph_beta/generated/models/ios_web_content_filter_auto_filter.py @@ -57,6 +57,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .ios_web_content_filter_base import IosWebContentFilterBase + writer.write_collection_of_primitive_values("allowedUrls", self.allowed_urls) writer.write_collection_of_primitive_values("blockedUrls", self.blocked_urls) diff --git a/msgraph_beta/generated/models/ios_web_content_filter_base.py b/msgraph_beta/generated/models/ios_web_content_filter_base.py index 25eff159697..ae526de825c 100644 --- a/msgraph_beta/generated/models/ios_web_content_filter_base.py +++ b/msgraph_beta/generated/models/ios_web_content_filter_base.py @@ -31,7 +31,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> IosWebContentFilte if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.iosWebContentFilterAutoFilter".casefold(): @@ -68,6 +69,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .ios_web_content_filter_auto_filter import IosWebContentFilterAutoFilter + from .ios_web_content_filter_specific_websites_access import IosWebContentFilterSpecificWebsitesAccess + writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/ios_web_content_filter_specific_websites_access.py b/msgraph_beta/generated/models/ios_web_content_filter_specific_websites_access.py index 4ab0bdd77f3..45d1a028527 100644 --- a/msgraph_beta/generated/models/ios_web_content_filter_specific_websites_access.py +++ b/msgraph_beta/generated/models/ios_web_content_filter_specific_websites_access.py @@ -60,6 +60,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .ios_bookmark import IosBookmark + from .ios_web_content_filter_base import IosWebContentFilterBase + writer.write_collection_of_object_values("specificWebsitesOnly", self.specific_websites_only) writer.write_collection_of_object_values("websiteList", self.website_list) diff --git a/msgraph_beta/generated/models/ios_wi_fi_configuration.py b/msgraph_beta/generated/models/ios_wi_fi_configuration.py index 5e64bbfa944..132bdd29041 100644 --- a/msgraph_beta/generated/models/ios_wi_fi_configuration.py +++ b/msgraph_beta/generated/models/ios_wi_fi_configuration.py @@ -51,7 +51,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> IosWiFiConfigurati if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.iosEnterpriseWiFiConfiguration".casefold(): @@ -101,6 +102,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_configuration import DeviceConfiguration + from .ios_enterprise_wi_fi_configuration import IosEnterpriseWiFiConfiguration + from .wi_fi_proxy_setting import WiFiProxySetting + from .wi_fi_security_type import WiFiSecurityType + writer.write_bool_value("connectAutomatically", self.connect_automatically) writer.write_bool_value("connectWhenNetworkNameIsHidden", self.connect_when_network_name_is_hidden) writer.write_bool_value("disableMacAddressRandomization", self.disable_mac_address_randomization) diff --git a/msgraph_beta/generated/models/iosi_pad_o_s_web_clip.py b/msgraph_beta/generated/models/iosi_pad_o_s_web_clip.py index ec312d974e6..cd29995cffb 100644 --- a/msgraph_beta/generated/models/iosi_pad_o_s_web_clip.py +++ b/msgraph_beta/generated/models/iosi_pad_o_s_web_clip.py @@ -69,6 +69,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .mobile_app import MobileApp + writer.write_str_value("appUrl", self.app_url) writer.write_bool_value("fullScreenEnabled", self.full_screen_enabled) writer.write_bool_value("ignoreManifestScope", self.ignore_manifest_scope) diff --git a/msgraph_beta/generated/models/iosik_ev2_vpn_configuration.py b/msgraph_beta/generated/models/iosik_ev2_vpn_configuration.py index b262228e06c..9db9844e945 100644 --- a/msgraph_beta/generated/models/iosik_ev2_vpn_configuration.py +++ b/msgraph_beta/generated/models/iosik_ev2_vpn_configuration.py @@ -138,6 +138,14 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .apple_vpn_always_on_configuration import AppleVpnAlwaysOnConfiguration + from .ios_vpn_configuration import IosVpnConfiguration + from .ios_vpn_security_association_parameters import IosVpnSecurityAssociationParameters + from .vpn_client_authentication_type import VpnClientAuthenticationType + from .vpn_dead_peer_detection_rate import VpnDeadPeerDetectionRate + from .vpn_local_identifier import VpnLocalIdentifier + from .vpn_server_certificate_type import VpnServerCertificateType + writer.write_bool_value("allowDefaultChildSecurityAssociationParameters", self.allow_default_child_security_association_parameters) writer.write_bool_value("allowDefaultSecurityAssociationParameters", self.allow_default_security_association_parameters) writer.write_object_value("alwaysOnConfiguration", self.always_on_configuration) diff --git a/msgraph_beta/generated/models/ip_application_segment.py b/msgraph_beta/generated/models/ip_application_segment.py index 2e09a480bd3..e592ca42f47 100644 --- a/msgraph_beta/generated/models/ip_application_segment.py +++ b/msgraph_beta/generated/models/ip_application_segment.py @@ -75,6 +75,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .application import Application + from .application_segment import ApplicationSegment + from .private_network_destination_type import PrivateNetworkDestinationType + from .private_network_protocol import PrivateNetworkProtocol + writer.write_object_value("application", self.application) writer.write_str_value("destinationHost", self.destination_host) writer.write_enum_value("destinationType", self.destination_type) diff --git a/msgraph_beta/generated/models/ip_application_segment_collection_response.py b/msgraph_beta/generated/models/ip_application_segment_collection_response.py index 7b7584a77af..7bd0de40848 100644 --- a/msgraph_beta/generated/models/ip_application_segment_collection_response.py +++ b/msgraph_beta/generated/models/ip_application_segment_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .ip_application_segment import IpApplicationSegment + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/ip_named_location.py b/msgraph_beta/generated/models/ip_named_location.py index 483296133ad..1bc261e2187 100644 --- a/msgraph_beta/generated/models/ip_named_location.py +++ b/msgraph_beta/generated/models/ip_named_location.py @@ -57,6 +57,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .ip_range import IpRange + from .named_location import NamedLocation + writer.write_collection_of_object_values("ipRanges", self.ip_ranges) writer.write_bool_value("isTrusted", self.is_trusted) diff --git a/msgraph_beta/generated/models/ip_range.py b/msgraph_beta/generated/models/ip_range.py index 5c832b6aa06..a6d6a8465ea 100644 --- a/msgraph_beta/generated/models/ip_range.py +++ b/msgraph_beta/generated/models/ip_range.py @@ -30,7 +30,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> IpRange: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.iPv4CidrRange".casefold(): @@ -79,6 +80,11 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .i_pv4_cidr_range import IPv4CidrRange + from .i_pv4_range import IPv4Range + from .i_pv6_cidr_range import IPv6CidrRange + from .i_pv6_range import IPv6Range + writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/ip_security_profile.py b/msgraph_beta/generated/models/ip_security_profile.py index 37f7eb5c5bc..af74b788155 100644 --- a/msgraph_beta/generated/models/ip_security_profile.py +++ b/msgraph_beta/generated/models/ip_security_profile.py @@ -97,6 +97,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .ip_category import IpCategory + from .ip_reference_data import IpReferenceData + from .security_vendor_information import SecurityVendorInformation + writer.write_collection_of_primitive_values("activityGroupNames", self.activity_group_names) writer.write_str_value("address", self.address) writer.write_str_value("azureSubscriptionId", self.azure_subscription_id) diff --git a/msgraph_beta/generated/models/ip_security_profile_collection_response.py b/msgraph_beta/generated/models/ip_security_profile_collection_response.py index 2d63b6ec8ac..47bb34889c9 100644 --- a/msgraph_beta/generated/models/ip_security_profile_collection_response.py +++ b/msgraph_beta/generated/models/ip_security_profile_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .ip_security_profile import IpSecurityProfile + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/ip_segment_configuration.py b/msgraph_beta/generated/models/ip_segment_configuration.py index 2476274aa32..56973fe9855 100644 --- a/msgraph_beta/generated/models/ip_segment_configuration.py +++ b/msgraph_beta/generated/models/ip_segment_configuration.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .ip_application_segment import IpApplicationSegment + from .segment_configuration import SegmentConfiguration + writer.write_collection_of_object_values("applicationSegments", self.application_segments) diff --git a/msgraph_beta/generated/models/item.py b/msgraph_beta/generated/models/item.py index 57cdd270e5f..c20e6fd4968 100644 --- a/msgraph_beta/generated/models/item.py +++ b/msgraph_beta/generated/models/item.py @@ -109,6 +109,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .item_category import ItemCategory + from .picture import Picture + writer.write_uuid_value("baseUnitOfMeasureId", self.base_unit_of_measure_id) writer.write_bool_value("blocked", self.blocked) writer.write_str_value("displayName", self.display_name) diff --git a/msgraph_beta/generated/models/item_action_set.py b/msgraph_beta/generated/models/item_action_set.py index 9c10e86aff7..3f44cd58735 100644 --- a/msgraph_beta/generated/models/item_action_set.py +++ b/msgraph_beta/generated/models/item_action_set.py @@ -107,6 +107,17 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .comment_action import CommentAction + from .create_action import CreateAction + from .delete_action import DeleteAction + from .edit_action import EditAction + from .mention_action import MentionAction + from .move_action import MoveAction + from .rename_action import RenameAction + from .restore_action import RestoreAction + from .share_action import ShareAction + from .version_action import VersionAction + writer.write_object_value("comment", self.comment) writer.write_object_value("create", self.create) writer.write_object_value("delete", self.delete) diff --git a/msgraph_beta/generated/models/item_activity.py b/msgraph_beta/generated/models/item_activity.py index 578c3983d76..165802d1a1c 100644 --- a/msgraph_beta/generated/models/item_activity.py +++ b/msgraph_beta/generated/models/item_activity.py @@ -70,6 +70,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .access_action import AccessAction + from .drive_item import DriveItem + from .entity import Entity + from .identity_set import IdentitySet + writer.write_object_value("access", self.access) writer.write_datetime_value("activityDateTime", self.activity_date_time) writer.write_object_value("actor", self.actor) diff --git a/msgraph_beta/generated/models/item_activity_collection_response.py b/msgraph_beta/generated/models/item_activity_collection_response.py index 23fc48ae1e6..9e59a15ebd8 100644 --- a/msgraph_beta/generated/models/item_activity_collection_response.py +++ b/msgraph_beta/generated/models/item_activity_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .item_activity import ItemActivity + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/item_activity_o_l_d.py b/msgraph_beta/generated/models/item_activity_o_l_d.py index bfcc4eab302..0bf3aa577be 100644 --- a/msgraph_beta/generated/models/item_activity_o_l_d.py +++ b/msgraph_beta/generated/models/item_activity_o_l_d.py @@ -78,6 +78,13 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .drive_item import DriveItem + from .entity import Entity + from .identity_set import IdentitySet + from .item_action_set import ItemActionSet + from .item_activity_time_set import ItemActivityTimeSet + from .list_item import ListItem + writer.write_object_value("action", self.action) writer.write_object_value("actor", self.actor) writer.write_object_value("driveItem", self.drive_item) diff --git a/msgraph_beta/generated/models/item_activity_o_l_d_collection_response.py b/msgraph_beta/generated/models/item_activity_o_l_d_collection_response.py index a0f60e28bd1..90df2df7fed 100644 --- a/msgraph_beta/generated/models/item_activity_o_l_d_collection_response.py +++ b/msgraph_beta/generated/models/item_activity_o_l_d_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .item_activity_o_l_d import ItemActivityOLD + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/item_activity_stat.py b/msgraph_beta/generated/models/item_activity_stat.py index bf8de85d87c..6f4f0e9c8c2 100644 --- a/msgraph_beta/generated/models/item_activity_stat.py +++ b/msgraph_beta/generated/models/item_activity_stat.py @@ -88,6 +88,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .incomplete_data import IncompleteData + from .item_action_stat import ItemActionStat + from .item_activity import ItemActivity + writer.write_object_value("access", self.access) writer.write_collection_of_object_values("activities", self.activities) writer.write_object_value("create", self.create) diff --git a/msgraph_beta/generated/models/item_activity_stat_collection_response.py b/msgraph_beta/generated/models/item_activity_stat_collection_response.py index aa0355151d8..cd7a8ce9837 100644 --- a/msgraph_beta/generated/models/item_activity_stat_collection_response.py +++ b/msgraph_beta/generated/models/item_activity_stat_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .item_activity_stat import ItemActivityStat + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/item_address.py b/msgraph_beta/generated/models/item_address.py index 7c381b4a041..e57497967da 100644 --- a/msgraph_beta/generated/models/item_address.py +++ b/msgraph_beta/generated/models/item_address.py @@ -63,6 +63,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .geo_coordinates import GeoCoordinates + from .item_facet import ItemFacet + from .physical_address import PhysicalAddress + writer.write_object_value("detail", self.detail) writer.write_str_value("displayName", self.display_name) writer.write_object_value("geoCoordinates", self.geo_coordinates) diff --git a/msgraph_beta/generated/models/item_address_collection_response.py b/msgraph_beta/generated/models/item_address_collection_response.py index 21f60a16658..e402547bc51 100644 --- a/msgraph_beta/generated/models/item_address_collection_response.py +++ b/msgraph_beta/generated/models/item_address_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .item_address import ItemAddress + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/item_analytics.py b/msgraph_beta/generated/models/item_analytics.py index ad45b6c32a6..4c0504bfd90 100644 --- a/msgraph_beta/generated/models/item_analytics.py +++ b/msgraph_beta/generated/models/item_analytics.py @@ -60,6 +60,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .item_activity_stat import ItemActivityStat + writer.write_object_value("allTime", self.all_time) writer.write_collection_of_object_values("itemActivityStats", self.item_activity_stats) writer.write_object_value("lastSevenDays", self.last_seven_days) diff --git a/msgraph_beta/generated/models/item_attachment.py b/msgraph_beta/generated/models/item_attachment.py index b68e699471e..eb586a39fa6 100644 --- a/msgraph_beta/generated/models/item_attachment.py +++ b/msgraph_beta/generated/models/item_attachment.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .attachment import Attachment + from .outlook_item import OutlookItem + writer.write_object_value("item", self.item) diff --git a/msgraph_beta/generated/models/item_body.py b/msgraph_beta/generated/models/item_body.py index 120fe92c7bf..81b8e9b5fe2 100644 --- a/msgraph_beta/generated/models/item_body.py +++ b/msgraph_beta/generated/models/item_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .body_type import BodyType + writer.write_str_value("content", self.content) writer.write_enum_value("contentType", self.content_type) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/item_category_collection_response.py b/msgraph_beta/generated/models/item_category_collection_response.py index a0b9b56259d..ca803276c36 100644 --- a/msgraph_beta/generated/models/item_category_collection_response.py +++ b/msgraph_beta/generated/models/item_category_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .item_category import ItemCategory + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/item_collection_response.py b/msgraph_beta/generated/models/item_collection_response.py index bc782debd4e..e25b5e3ee61 100644 --- a/msgraph_beta/generated/models/item_collection_response.py +++ b/msgraph_beta/generated/models/item_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .item import Item + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/item_email.py b/msgraph_beta/generated/models/item_email.py index 257d95d4b4b..f6452494088 100644 --- a/msgraph_beta/generated/models/item_email.py +++ b/msgraph_beta/generated/models/item_email.py @@ -60,6 +60,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .email_type import EmailType + from .item_facet import ItemFacet + writer.write_str_value("address", self.address) writer.write_str_value("displayName", self.display_name) writer.write_enum_value("type", self.type) diff --git a/msgraph_beta/generated/models/item_email_collection_response.py b/msgraph_beta/generated/models/item_email_collection_response.py index 22ee4c6fc14..84a79f324c0 100644 --- a/msgraph_beta/generated/models/item_email_collection_response.py +++ b/msgraph_beta/generated/models/item_email_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .item_email import ItemEmail + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/item_facet.py b/msgraph_beta/generated/models/item_facet.py index 0c1e903893a..cdaa3317a5a 100644 --- a/msgraph_beta/generated/models/item_facet.py +++ b/msgraph_beta/generated/models/item_facet.py @@ -67,7 +67,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> ItemFacet: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.educationalActivity".casefold(): @@ -235,6 +236,33 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .allowed_audiences import AllowedAudiences + from .educational_activity import EducationalActivity + from .entity import Entity + from .identity_set import IdentitySet + from .inference_data import InferenceData + from .item_address import ItemAddress + from .item_email import ItemEmail + from .item_patent import ItemPatent + from .item_phone import ItemPhone + from .item_publication import ItemPublication + from .language_proficiency import LanguageProficiency + from .person_annotation import PersonAnnotation + from .person_annual_event import PersonAnnualEvent + from .person_award import PersonAward + from .person_certification import PersonCertification + from .person_data_sources import PersonDataSources + from .person_interest import PersonInterest + from .person_name import PersonName + from .person_responsibility import PersonResponsibility + from .person_website import PersonWebsite + from .profile_source_annotation import ProfileSourceAnnotation + from .project_participation import ProjectParticipation + from .skill_proficiency import SkillProficiency + from .user_account_information import UserAccountInformation + from .web_account import WebAccount + from .work_position import WorkPosition + writer.write_enum_value("allowedAudiences", self.allowed_audiences) writer.write_object_value("createdBy", self.created_by) writer.write_datetime_value("createdDateTime", self.created_date_time) diff --git a/msgraph_beta/generated/models/item_insights.py b/msgraph_beta/generated/models/item_insights.py index 17ed357ea7d..a9982b42840 100644 --- a/msgraph_beta/generated/models/item_insights.py +++ b/msgraph_beta/generated/models/item_insights.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .office_graph_insights import OfficeGraphInsights + diff --git a/msgraph_beta/generated/models/item_patent.py b/msgraph_beta/generated/models/item_patent.py index 5e79f31a03e..19c662e7e50 100644 --- a/msgraph_beta/generated/models/item_patent.py +++ b/msgraph_beta/generated/models/item_patent.py @@ -70,6 +70,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .item_facet import ItemFacet + writer.write_str_value("description", self.description) writer.write_str_value("displayName", self.display_name) writer.write_bool_value("isPending", self.is_pending) diff --git a/msgraph_beta/generated/models/item_patent_collection_response.py b/msgraph_beta/generated/models/item_patent_collection_response.py index 501a1d95c4c..057ebb6dfa6 100644 --- a/msgraph_beta/generated/models/item_patent_collection_response.py +++ b/msgraph_beta/generated/models/item_patent_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .item_patent import ItemPatent + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/item_phone.py b/msgraph_beta/generated/models/item_phone.py index 35b24860b11..56f2efe106b 100644 --- a/msgraph_beta/generated/models/item_phone.py +++ b/msgraph_beta/generated/models/item_phone.py @@ -60,6 +60,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .item_facet import ItemFacet + from .phone_type import PhoneType + writer.write_str_value("displayName", self.display_name) writer.write_str_value("number", self.number) writer.write_enum_value("type", self.type) diff --git a/msgraph_beta/generated/models/item_phone_collection_response.py b/msgraph_beta/generated/models/item_phone_collection_response.py index 442bcbd9b7d..625af0f55b3 100644 --- a/msgraph_beta/generated/models/item_phone_collection_response.py +++ b/msgraph_beta/generated/models/item_phone_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .item_phone import ItemPhone + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/item_publication.py b/msgraph_beta/generated/models/item_publication.py index c1a140b9cca..a7b89daff2a 100644 --- a/msgraph_beta/generated/models/item_publication.py +++ b/msgraph_beta/generated/models/item_publication.py @@ -67,6 +67,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .item_facet import ItemFacet + writer.write_str_value("description", self.description) writer.write_str_value("displayName", self.display_name) writer.write_date_value("publishedDate", self.published_date) diff --git a/msgraph_beta/generated/models/item_publication_collection_response.py b/msgraph_beta/generated/models/item_publication_collection_response.py index fbd3ee8e35f..f33206697be 100644 --- a/msgraph_beta/generated/models/item_publication_collection_response.py +++ b/msgraph_beta/generated/models/item_publication_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .item_publication import ItemPublication + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/item_reference.py b/msgraph_beta/generated/models/item_reference.py index faeef2fdae3..c1b01e30825 100644 --- a/msgraph_beta/generated/models/item_reference.py +++ b/msgraph_beta/generated/models/item_reference.py @@ -74,6 +74,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .sharepoint_ids import SharepointIds + writer.write_str_value("driveId", self.drive_id) writer.write_str_value("driveType", self.drive_type) writer.write_str_value("id", self.id) diff --git a/msgraph_beta/generated/models/item_retention_label.py b/msgraph_beta/generated/models/item_retention_label.py index 1cbd9b4a916..f9fda9597b3 100644 --- a/msgraph_beta/generated/models/item_retention_label.py +++ b/msgraph_beta/generated/models/item_retention_label.py @@ -70,6 +70,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .identity_set import IdentitySet + from .retention_label_settings import RetentionLabelSettings + writer.write_bool_value("isLabelAppliedExplicitly", self.is_label_applied_explicitly) writer.write_object_value("labelAppliedBy", self.label_applied_by) writer.write_datetime_value("labelAppliedDateTime", self.label_applied_date_time) diff --git a/msgraph_beta/generated/models/job_response_base.py b/msgraph_beta/generated/models/job_response_base.py index 342d236a1b9..d0ae94ed5c0 100644 --- a/msgraph_beta/generated/models/job_response_base.py +++ b/msgraph_beta/generated/models/job_response_base.py @@ -44,7 +44,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> JobResponseBase: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.classificationJobResponse".casefold(): @@ -101,6 +102,12 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .classification_error import ClassificationError + from .classification_job_response import ClassificationJobResponse + from .dlp_evaluate_policies_job_response import DlpEvaluatePoliciesJobResponse + from .entity import Entity + from .evaluate_label_job_response import EvaluateLabelJobResponse + writer.write_datetime_value("creationDateTime", self.creation_date_time) writer.write_datetime_value("endDateTime", self.end_date_time) writer.write_object_value("error", self.error) diff --git a/msgraph_beta/generated/models/job_response_base_collection_response.py b/msgraph_beta/generated/models/job_response_base_collection_response.py index 12884523fc4..4adff5b90ef 100644 --- a/msgraph_beta/generated/models/job_response_base_collection_response.py +++ b/msgraph_beta/generated/models/job_response_base_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .job_response_base import JobResponseBase + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/join_meeting_id_meeting_info.py b/msgraph_beta/generated/models/join_meeting_id_meeting_info.py index 556a04c5599..2af3d247b89 100644 --- a/msgraph_beta/generated/models/join_meeting_id_meeting_info.py +++ b/msgraph_beta/generated/models/join_meeting_id_meeting_info.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .meeting_info import MeetingInfo + writer.write_str_value("joinMeetingId", self.join_meeting_id) writer.write_str_value("passcode", self.passcode) diff --git a/msgraph_beta/generated/models/join_transformation.py b/msgraph_beta/generated/models/join_transformation.py index e31b73e4c65..c00308fd2dd 100644 --- a/msgraph_beta/generated/models/join_transformation.py +++ b/msgraph_beta/generated/models/join_transformation.py @@ -57,6 +57,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .custom_claim_transformation import CustomClaimTransformation + from .transformation_attribute import TransformationAttribute + writer.write_object_value("input2", self.input2) writer.write_str_value("separator", self.separator) diff --git a/msgraph_beta/generated/models/journal.py b/msgraph_beta/generated/models/journal.py index 55f1dbba54e..facde0727c7 100644 --- a/msgraph_beta/generated/models/journal.py +++ b/msgraph_beta/generated/models/journal.py @@ -79,6 +79,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .account import Account + from .journal_line import JournalLine + writer.write_object_value("account", self.account) writer.write_uuid_value("balancingAccountId", self.balancing_account_id) writer.write_str_value("balancingAccountNumber", self.balancing_account_number) diff --git a/msgraph_beta/generated/models/journal_collection_response.py b/msgraph_beta/generated/models/journal_collection_response.py index ac9965c3388..9ef2fa828dd 100644 --- a/msgraph_beta/generated/models/journal_collection_response.py +++ b/msgraph_beta/generated/models/journal_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .journal import Journal + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/journal_line.py b/msgraph_beta/generated/models/journal_line.py index 25f59583251..e4fcb6cc109 100644 --- a/msgraph_beta/generated/models/journal_line.py +++ b/msgraph_beta/generated/models/journal_line.py @@ -91,6 +91,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .account import Account + writer.write_object_value("account", self.account) writer.write_uuid_value("accountId", self.account_id) writer.write_str_value("accountNumber", self.account_number) diff --git a/msgraph_beta/generated/models/journal_line_collection_response.py b/msgraph_beta/generated/models/journal_line_collection_response.py index 638e30f552c..a0d39ccc450 100644 --- a/msgraph_beta/generated/models/journal_line_collection_response.py +++ b/msgraph_beta/generated/models/journal_line_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .journal_line import JournalLine + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/justify_action.py b/msgraph_beta/generated/models/justify_action.py index 2368cd6f425..3593743914f 100644 --- a/msgraph_beta/generated/models/justify_action.py +++ b/msgraph_beta/generated/models/justify_action.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .information_protection_action import InformationProtectionAction + diff --git a/msgraph_beta/generated/models/kerberos_sign_on_settings.py b/msgraph_beta/generated/models/kerberos_sign_on_settings.py index b59a4fcc4a2..a9aa5c23624 100644 --- a/msgraph_beta/generated/models/kerberos_sign_on_settings.py +++ b/msgraph_beta/generated/models/kerberos_sign_on_settings.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .kerberos_sign_on_mapping_attribute_type import KerberosSignOnMappingAttributeType + writer.write_str_value("kerberosServicePrincipalName", self.kerberos_service_principal_name) writer.write_enum_value("kerberosSignOnMappingAttributeType", self.kerberos_sign_on_mapping_attribute_type) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/kerberos_single_sign_on_extension.py b/msgraph_beta/generated/models/kerberos_single_sign_on_extension.py index fd7835e8dcc..9fb020847a5 100644 --- a/msgraph_beta/generated/models/kerberos_single_sign_on_extension.py +++ b/msgraph_beta/generated/models/kerberos_single_sign_on_extension.py @@ -114,6 +114,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .single_sign_on_extension import SingleSignOnExtension + writer.write_str_value("activeDirectorySiteCode", self.active_directory_site_code) writer.write_bool_value("blockActiveDirectorySiteAutoDiscovery", self.block_active_directory_site_auto_discovery) writer.write_bool_value("blockAutomaticLogin", self.block_automatic_login) diff --git a/msgraph_beta/generated/models/key_boolean_value_pair.py b/msgraph_beta/generated/models/key_boolean_value_pair.py index 02844c393ae..3bdec0a3c48 100644 --- a/msgraph_beta/generated/models/key_boolean_value_pair.py +++ b/msgraph_beta/generated/models/key_boolean_value_pair.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .key_typed_value_pair import KeyTypedValuePair + writer.write_bool_value("value", self.value) diff --git a/msgraph_beta/generated/models/key_credential_configuration.py b/msgraph_beta/generated/models/key_credential_configuration.py index da0a068f2c1..1dd0a213521 100644 --- a/msgraph_beta/generated/models/key_credential_configuration.py +++ b/msgraph_beta/generated/models/key_credential_configuration.py @@ -69,6 +69,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .app_key_credential_restriction_type import AppKeyCredentialRestrictionType + from .app_management_restriction_state import AppManagementRestrictionState + writer.write_collection_of_primitive_values("certificateBasedApplicationConfigurationIds", self.certificate_based_application_configuration_ids) writer.write_timedelta_value("maxLifetime", self.max_lifetime) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/key_integer_value_pair.py b/msgraph_beta/generated/models/key_integer_value_pair.py index 04a1067d015..b134d7b62fb 100644 --- a/msgraph_beta/generated/models/key_integer_value_pair.py +++ b/msgraph_beta/generated/models/key_integer_value_pair.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .key_typed_value_pair import KeyTypedValuePair + writer.write_int_value("value", self.value) diff --git a/msgraph_beta/generated/models/key_real_value_pair.py b/msgraph_beta/generated/models/key_real_value_pair.py index e80f89b7237..0d1c8b05a4e 100644 --- a/msgraph_beta/generated/models/key_real_value_pair.py +++ b/msgraph_beta/generated/models/key_real_value_pair.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .key_typed_value_pair import KeyTypedValuePair + writer.write_float_value("value", self.value) diff --git a/msgraph_beta/generated/models/key_string_value_pair.py b/msgraph_beta/generated/models/key_string_value_pair.py index 74e4a533a35..9918827f887 100644 --- a/msgraph_beta/generated/models/key_string_value_pair.py +++ b/msgraph_beta/generated/models/key_string_value_pair.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .key_typed_value_pair import KeyTypedValuePair + writer.write_str_value("value", self.value) diff --git a/msgraph_beta/generated/models/key_typed_value_pair.py b/msgraph_beta/generated/models/key_typed_value_pair.py index c2b6994595b..a1693683e54 100644 --- a/msgraph_beta/generated/models/key_typed_value_pair.py +++ b/msgraph_beta/generated/models/key_typed_value_pair.py @@ -35,7 +35,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> KeyTypedValuePair: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.keyBooleanValuePair".casefold(): @@ -85,6 +86,11 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .key_boolean_value_pair import KeyBooleanValuePair + from .key_integer_value_pair import KeyIntegerValuePair + from .key_real_value_pair import KeyRealValuePair + from .key_string_value_pair import KeyStringValuePair + writer.write_str_value("key", self.key) writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/key_value.py b/msgraph_beta/generated/models/key_value.py index b7cb0ed1550..e1e0054f08f 100644 --- a/msgraph_beta/generated/models/key_value.py +++ b/msgraph_beta/generated/models/key_value.py @@ -11,11 +11,11 @@ class KeyValue(AdditionalDataHolder, BackedModel, Parsable): # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. additional_data: Dict[str, Any] = field(default_factory=dict) - # Contains the name of the field that a value is associated with. + # Key. key: Optional[str] = None # The OdataType property odata_type: Optional[str] = None - # Contains the corresponding value for the specified key. + # Value. value: Optional[str] = None @staticmethod diff --git a/msgraph_beta/generated/models/label_action_base.py b/msgraph_beta/generated/models/label_action_base.py index d1e72cf95a4..8307cea0ea1 100644 --- a/msgraph_beta/generated/models/label_action_base.py +++ b/msgraph_beta/generated/models/label_action_base.py @@ -38,7 +38,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> LabelActionBase: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.addFooter".casefold(): @@ -124,6 +125,17 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .add_footer import AddFooter + from .add_header import AddHeader + from .add_watermark import AddWatermark + from .encrypt_content import EncryptContent + from .encrypt_with_template import EncryptWithTemplate + from .encrypt_with_user_defined_rights import EncryptWithUserDefinedRights + from .mark_content import MarkContent + from .protect_group import ProtectGroup + from .protect_online_meeting_action import ProtectOnlineMeetingAction + from .protect_site import ProtectSite + writer.write_str_value("name", self.name) writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/label_details.py b/msgraph_beta/generated/models/label_details.py index 2a4b515e1c2..22fa452f7c9 100644 --- a/msgraph_beta/generated/models/label_details.py +++ b/msgraph_beta/generated/models/label_details.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .parent_label_details import ParentLabelDetails + diff --git a/msgraph_beta/generated/models/labeling_options.py b/msgraph_beta/generated/models/labeling_options.py index 6300b28f192..609cb694941 100644 --- a/msgraph_beta/generated/models/labeling_options.py +++ b/msgraph_beta/generated/models/labeling_options.py @@ -68,6 +68,10 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .assignment_method import AssignmentMethod + from .downgrade_justification import DowngradeJustification + from .key_value_pair import KeyValuePair + writer.write_enum_value("assignmentMethod", self.assignment_method) writer.write_object_value("downgradeJustification", self.downgrade_justification) writer.write_collection_of_object_values("extendedProperties", self.extended_properties) diff --git a/msgraph_beta/generated/models/landing_page.py b/msgraph_beta/generated/models/landing_page.py index 5025f8ca43e..ed82ba07152 100644 --- a/msgraph_beta/generated/models/landing_page.py +++ b/msgraph_beta/generated/models/landing_page.py @@ -94,6 +94,12 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .email_identity import EmailIdentity + from .entity import Entity + from .landing_page_detail import LandingPageDetail + from .simulation_content_source import SimulationContentSource + from .simulation_content_status import SimulationContentStatus + writer.write_object_value("createdBy", self.created_by) writer.write_datetime_value("createdDateTime", self.created_date_time) writer.write_str_value("description", self.description) diff --git a/msgraph_beta/generated/models/landing_page_collection_response.py b/msgraph_beta/generated/models/landing_page_collection_response.py index 66bfa1c8fc8..ae152552cb1 100644 --- a/msgraph_beta/generated/models/landing_page_collection_response.py +++ b/msgraph_beta/generated/models/landing_page_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .landing_page import LandingPage + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/landing_page_detail.py b/msgraph_beta/generated/models/landing_page_detail.py index f52b3297d29..37db7d26b56 100644 --- a/msgraph_beta/generated/models/landing_page_detail.py +++ b/msgraph_beta/generated/models/landing_page_detail.py @@ -57,6 +57,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_str_value("content", self.content) writer.write_bool_value("isDefaultLangauge", self.is_default_langauge) writer.write_str_value("language", self.language) diff --git a/msgraph_beta/generated/models/landing_page_detail_collection_response.py b/msgraph_beta/generated/models/landing_page_detail_collection_response.py index b2af37b8232..381f7df1738 100644 --- a/msgraph_beta/generated/models/landing_page_detail_collection_response.py +++ b/msgraph_beta/generated/models/landing_page_detail_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .landing_page_detail import LandingPageDetail + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/language_proficiency.py b/msgraph_beta/generated/models/language_proficiency.py index 03c2d1da801..9fbee36c0b9 100644 --- a/msgraph_beta/generated/models/language_proficiency.py +++ b/msgraph_beta/generated/models/language_proficiency.py @@ -72,6 +72,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .item_facet import ItemFacet + from .language_proficiency_level import LanguageProficiencyLevel + writer.write_str_value("displayName", self.display_name) writer.write_enum_value("proficiency", self.proficiency) writer.write_enum_value("reading", self.reading) diff --git a/msgraph_beta/generated/models/language_proficiency_collection_response.py b/msgraph_beta/generated/models/language_proficiency_collection_response.py index 4c6f0659a39..7afb7da3b97 100644 --- a/msgraph_beta/generated/models/language_proficiency_collection_response.py +++ b/msgraph_beta/generated/models/language_proficiency_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .language_proficiency import LanguageProficiency + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/learning_assignment.py b/msgraph_beta/generated/models/learning_assignment.py index 1fe6afd56cb..9d646cda425 100644 --- a/msgraph_beta/generated/models/learning_assignment.py +++ b/msgraph_beta/generated/models/learning_assignment.py @@ -73,6 +73,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .assignment_type import AssignmentType + from .date_time_time_zone import DateTimeTimeZone + from .item_body import ItemBody + from .learning_course_activity import LearningCourseActivity + writer.write_datetime_value("assignedDateTime", self.assigned_date_time) writer.write_str_value("assignerUserId", self.assigner_user_id) writer.write_enum_value("assignmentType", self.assignment_type) diff --git a/msgraph_beta/generated/models/learning_content.py b/msgraph_beta/generated/models/learning_content.py index be41190daeb..d48e7c1dcfe 100644 --- a/msgraph_beta/generated/models/learning_content.py +++ b/msgraph_beta/generated/models/learning_content.py @@ -109,6 +109,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .level import Level + writer.write_collection_of_primitive_values("additionalTags", self.additional_tags) writer.write_str_value("contentWebUrl", self.content_web_url) writer.write_collection_of_primitive_values("contributors", self.contributors) diff --git a/msgraph_beta/generated/models/learning_content_collection_response.py b/msgraph_beta/generated/models/learning_content_collection_response.py index ab2c8aaedee..c6c4abb854f 100644 --- a/msgraph_beta/generated/models/learning_content_collection_response.py +++ b/msgraph_beta/generated/models/learning_content_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .learning_content import LearningContent + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/learning_course_activity.py b/msgraph_beta/generated/models/learning_course_activity.py index dafbcc6a776..346810d703e 100644 --- a/msgraph_beta/generated/models/learning_course_activity.py +++ b/msgraph_beta/generated/models/learning_course_activity.py @@ -41,7 +41,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> LearningCourseActi if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.learningAssignment".casefold(): @@ -91,6 +92,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .course_status import CourseStatus + from .entity import Entity + from .learning_assignment import LearningAssignment + from .learning_self_initiated_course import LearningSelfInitiatedCourse + writer.write_datetime_value("completedDateTime", self.completed_date_time) writer.write_int_value("completionPercentage", self.completion_percentage) writer.write_str_value("externalcourseActivityId", self.externalcourse_activity_id) diff --git a/msgraph_beta/generated/models/learning_course_activity_collection_response.py b/msgraph_beta/generated/models/learning_course_activity_collection_response.py index 3fcd5207f1c..dc9c6b6b154 100644 --- a/msgraph_beta/generated/models/learning_course_activity_collection_response.py +++ b/msgraph_beta/generated/models/learning_course_activity_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .learning_course_activity import LearningCourseActivity + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/learning_provider.py b/msgraph_beta/generated/models/learning_provider.py index 33586d1535c..f2e8532dbd7 100644 --- a/msgraph_beta/generated/models/learning_provider.py +++ b/msgraph_beta/generated/models/learning_provider.py @@ -81,6 +81,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .learning_content import LearningContent + from .learning_course_activity import LearningCourseActivity + writer.write_str_value("displayName", self.display_name) writer.write_bool_value("isCourseActivitySyncEnabled", self.is_course_activity_sync_enabled) writer.write_collection_of_object_values("learningContents", self.learning_contents) diff --git a/msgraph_beta/generated/models/learning_provider_collection_response.py b/msgraph_beta/generated/models/learning_provider_collection_response.py index 043772b1344..c9ff70642b5 100644 --- a/msgraph_beta/generated/models/learning_provider_collection_response.py +++ b/msgraph_beta/generated/models/learning_provider_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .learning_provider import LearningProvider + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/learning_self_initiated_course.py b/msgraph_beta/generated/models/learning_self_initiated_course.py index adcd443636a..b48f8700f39 100644 --- a/msgraph_beta/generated/models/learning_self_initiated_course.py +++ b/msgraph_beta/generated/models/learning_self_initiated_course.py @@ -52,6 +52,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .learning_course_activity import LearningCourseActivity + writer.write_datetime_value("startedDateTime", self.started_date_time) diff --git a/msgraph_beta/generated/models/license_details.py b/msgraph_beta/generated/models/license_details.py index 5ad237f79c8..55abb751567 100644 --- a/msgraph_beta/generated/models/license_details.py +++ b/msgraph_beta/generated/models/license_details.py @@ -61,6 +61,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .service_plan_info import ServicePlanInfo + writer.write_collection_of_object_values("servicePlans", self.service_plans) writer.write_uuid_value("skuId", self.sku_id) writer.write_str_value("skuPartNumber", self.sku_part_number) diff --git a/msgraph_beta/generated/models/license_details_collection_response.py b/msgraph_beta/generated/models/license_details_collection_response.py index 195cef74391..025a01a4fc1 100644 --- a/msgraph_beta/generated/models/license_details_collection_response.py +++ b/msgraph_beta/generated/models/license_details_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .license_details import LicenseDetails + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/link_role_abilities.py b/msgraph_beta/generated/models/link_role_abilities.py index b285d374465..76b11e2c4b1 100644 --- a/msgraph_beta/generated/models/link_role_abilities.py +++ b/msgraph_beta/generated/models/link_role_abilities.py @@ -83,6 +83,10 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .sharing_link_expiration_status import SharingLinkExpirationStatus + from .sharing_link_variants import SharingLinkVariants + from .sharing_operation_status import SharingOperationStatus + writer.write_object_value("addExistingExternalUsers", self.add_existing_external_users) writer.write_object_value("addNewExternalUsers", self.add_new_external_users) writer.write_object_value("applyVariants", self.apply_variants) diff --git a/msgraph_beta/generated/models/link_scope_abilities.py b/msgraph_beta/generated/models/link_scope_abilities.py index 510ba47a122..532d4f54fa7 100644 --- a/msgraph_beta/generated/models/link_scope_abilities.py +++ b/msgraph_beta/generated/models/link_scope_abilities.py @@ -68,6 +68,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .link_role_abilities import LinkRoleAbilities + writer.write_object_value("blockDownloadLinkAbilities", self.block_download_link_abilities) writer.write_object_value("editLinkAbilities", self.edit_link_abilities) writer.write_object_value("manageListLinkAbilities", self.manage_list_link_abilities) diff --git a/msgraph_beta/generated/models/linked_resource.py b/msgraph_beta/generated/models/linked_resource.py index 1fdbffe30ef..317f7fdf762 100644 --- a/msgraph_beta/generated/models/linked_resource.py +++ b/msgraph_beta/generated/models/linked_resource.py @@ -60,6 +60,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_str_value("applicationName", self.application_name) writer.write_str_value("displayName", self.display_name) writer.write_str_value("externalId", self.external_id) diff --git a/msgraph_beta/generated/models/linked_resource_collection_response.py b/msgraph_beta/generated/models/linked_resource_collection_response.py index b41c3e396b2..b3ffb797ba8 100644 --- a/msgraph_beta/generated/models/linked_resource_collection_response.py +++ b/msgraph_beta/generated/models/linked_resource_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .linked_resource import LinkedResource + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/list_.py b/msgraph_beta/generated/models/list_.py index a309d20fb99..56da97af51a 100644 --- a/msgraph_beta/generated/models/list_.py +++ b/msgraph_beta/generated/models/list_.py @@ -117,6 +117,19 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_item import BaseItem + from .column_definition import ColumnDefinition + from .content_type import ContentType + from .drive import Drive + from .item_activity_o_l_d import ItemActivityOLD + from .list_info import ListInfo + from .list_item import ListItem + from .permission import Permission + from .rich_long_running_operation import RichLongRunningOperation + from .sharepoint_ids import SharepointIds + from .subscription import Subscription + from .system_facet import SystemFacet + writer.write_collection_of_object_values("activities", self.activities) writer.write_collection_of_object_values("columns", self.columns) writer.write_collection_of_object_values("contentTypes", self.content_types) diff --git a/msgraph_beta/generated/models/list_collection_response.py b/msgraph_beta/generated/models/list_collection_response.py index 847be3832f7..97d2e475ae3 100644 --- a/msgraph_beta/generated/models/list_collection_response.py +++ b/msgraph_beta/generated/models/list_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .list_ import List_ + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/list_item.py b/msgraph_beta/generated/models/list_item.py index bf12d8ea519..d5bcd3c3164 100644 --- a/msgraph_beta/generated/models/list_item.py +++ b/msgraph_beta/generated/models/list_item.py @@ -108,6 +108,18 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_item import BaseItem + from .content_type_info import ContentTypeInfo + from .deleted import Deleted + from .document_set_version import DocumentSetVersion + from .drive_item import DriveItem + from .field_value_set import FieldValueSet + from .item_activity_o_l_d import ItemActivityOLD + from .item_analytics import ItemAnalytics + from .list_item_version import ListItemVersion + from .permission import Permission + from .sharepoint_ids import SharepointIds + writer.write_collection_of_object_values("activities", self.activities) writer.write_object_value("analytics", self.analytics) writer.write_object_value("contentType", self.content_type) diff --git a/msgraph_beta/generated/models/list_item_collection_response.py b/msgraph_beta/generated/models/list_item_collection_response.py index c4b03f3ed38..2800cd390c3 100644 --- a/msgraph_beta/generated/models/list_item_collection_response.py +++ b/msgraph_beta/generated/models/list_item_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .list_item import ListItem + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/list_item_version.py b/msgraph_beta/generated/models/list_item_version.py index 2eac9f107a8..943534ad434 100644 --- a/msgraph_beta/generated/models/list_item_version.py +++ b/msgraph_beta/generated/models/list_item_version.py @@ -27,7 +27,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> ListItemVersion: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.documentSetVersion".casefold(): @@ -65,6 +66,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_item_version import BaseItemVersion + from .document_set_version import DocumentSetVersion + from .field_value_set import FieldValueSet + writer.write_object_value("fields", self.fields) diff --git a/msgraph_beta/generated/models/list_item_version_collection_response.py b/msgraph_beta/generated/models/list_item_version_collection_response.py index 764ba2c5ee3..c7be1eb50ec 100644 --- a/msgraph_beta/generated/models/list_item_version_collection_response.py +++ b/msgraph_beta/generated/models/list_item_version_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .list_item_version import ListItemVersion + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/lobby_bypass_settings.py b/msgraph_beta/generated/models/lobby_bypass_settings.py index 3ed4b4f95b5..d2ed0e1858e 100644 --- a/msgraph_beta/generated/models/lobby_bypass_settings.py +++ b/msgraph_beta/generated/models/lobby_bypass_settings.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .lobby_bypass_scope import LobbyBypassScope + writer.write_bool_value("isDialInBypassEnabled", self.is_dial_in_bypass_enabled) writer.write_str_value("@odata.type", self.odata_type) writer.write_enum_value("scope", self.scope) diff --git a/msgraph_beta/generated/models/local_admin_settings.py b/msgraph_beta/generated/models/local_admin_settings.py index 61fbddb0e10..556c0b174e7 100644 --- a/msgraph_beta/generated/models/local_admin_settings.py +++ b/msgraph_beta/generated/models/local_admin_settings.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .device_registration_membership import DeviceRegistrationMembership + writer.write_bool_value("enableGlobalAdmins", self.enable_global_admins) writer.write_str_value("@odata.type", self.odata_type) writer.write_object_value("registeringUsers", self.registering_users) diff --git a/msgraph_beta/generated/models/local_identity_source.py b/msgraph_beta/generated/models/local_identity_source.py index f6268274efa..657a6f09949 100644 --- a/msgraph_beta/generated/models/local_identity_source.py +++ b/msgraph_beta/generated/models/local_identity_source.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .permissions_definition_identity_source import PermissionsDefinitionIdentitySource + diff --git a/msgraph_beta/generated/models/localized_notification_message.py b/msgraph_beta/generated/models/localized_notification_message.py index 282703993c2..975aba1f46b 100644 --- a/msgraph_beta/generated/models/localized_notification_message.py +++ b/msgraph_beta/generated/models/localized_notification_message.py @@ -67,6 +67,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_bool_value("isDefault", self.is_default) writer.write_datetime_value("lastModifiedDateTime", self.last_modified_date_time) writer.write_str_value("locale", self.locale) diff --git a/msgraph_beta/generated/models/localized_notification_message_collection_response.py b/msgraph_beta/generated/models/localized_notification_message_collection_response.py index 53f629c643e..370c319e134 100644 --- a/msgraph_beta/generated/models/localized_notification_message_collection_response.py +++ b/msgraph_beta/generated/models/localized_notification_message_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .localized_notification_message import LocalizedNotificationMessage + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/locate_device_action_result.py b/msgraph_beta/generated/models/locate_device_action_result.py index 97e14ac3c81..cdb35d8ad3f 100644 --- a/msgraph_beta/generated/models/locate_device_action_result.py +++ b/msgraph_beta/generated/models/locate_device_action_result.py @@ -57,6 +57,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_action_result import DeviceActionResult + from .device_geo_location import DeviceGeoLocation + writer.write_object_value("deviceLocation", self.device_location) diff --git a/msgraph_beta/generated/models/location.py b/msgraph_beta/generated/models/location.py index 4d7424ad12c..59b9f7535ea 100644 --- a/msgraph_beta/generated/models/location.py +++ b/msgraph_beta/generated/models/location.py @@ -47,7 +47,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> Location: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.locationConstraintItem".casefold(): @@ -94,6 +95,12 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .location_constraint_item import LocationConstraintItem + from .location_type import LocationType + from .location_unique_id_type import LocationUniqueIdType + from .outlook_geo_coordinates import OutlookGeoCoordinates + from .physical_address import PhysicalAddress + writer.write_object_value("address", self.address) writer.write_object_value("coordinates", self.coordinates) writer.write_str_value("displayName", self.display_name) diff --git a/msgraph_beta/generated/models/location_constraint.py b/msgraph_beta/generated/models/location_constraint.py index 433c73137d9..c3dd4529e46 100644 --- a/msgraph_beta/generated/models/location_constraint.py +++ b/msgraph_beta/generated/models/location_constraint.py @@ -59,6 +59,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .location_constraint_item import LocationConstraintItem + writer.write_bool_value("isRequired", self.is_required) writer.write_collection_of_object_values("locations", self.locations) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/location_constraint_item.py b/msgraph_beta/generated/models/location_constraint_item.py index 53c8d6042fb..cc37fd7ceff 100644 --- a/msgraph_beta/generated/models/location_constraint_item.py +++ b/msgraph_beta/generated/models/location_constraint_item.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .location import Location + writer.write_bool_value("resolveAvailability", self.resolve_availability) diff --git a/msgraph_beta/generated/models/logic_app_trigger_endpoint_configuration.py b/msgraph_beta/generated/models/logic_app_trigger_endpoint_configuration.py index 1e3481a3cb1..ffc64d48f33 100644 --- a/msgraph_beta/generated/models/logic_app_trigger_endpoint_configuration.py +++ b/msgraph_beta/generated/models/logic_app_trigger_endpoint_configuration.py @@ -60,6 +60,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .custom_extension_endpoint_configuration import CustomExtensionEndpointConfiguration + writer.write_str_value("logicAppWorkflowName", self.logic_app_workflow_name) writer.write_str_value("resourceGroupName", self.resource_group_name) writer.write_str_value("subscriptionId", self.subscription_id) diff --git a/msgraph_beta/generated/models/login_page.py b/msgraph_beta/generated/models/login_page.py index 912476b4140..28cf49c49d8 100644 --- a/msgraph_beta/generated/models/login_page.py +++ b/msgraph_beta/generated/models/login_page.py @@ -88,6 +88,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .email_identity import EmailIdentity + from .entity import Entity + from .simulation_content_source import SimulationContentSource + from .simulation_content_status import SimulationContentStatus + writer.write_str_value("content", self.content) writer.write_object_value("createdBy", self.created_by) writer.write_datetime_value("createdDateTime", self.created_date_time) diff --git a/msgraph_beta/generated/models/login_page_collection_response.py b/msgraph_beta/generated/models/login_page_collection_response.py index c9f28206111..01c29856a59 100644 --- a/msgraph_beta/generated/models/login_page_collection_response.py +++ b/msgraph_beta/generated/models/login_page_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .login_page import LoginPage + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/login_page_layout_configuration.py b/msgraph_beta/generated/models/login_page_layout_configuration.py index c6e173ad442..d844e3cb4ee 100644 --- a/msgraph_beta/generated/models/login_page_layout_configuration.py +++ b/msgraph_beta/generated/models/login_page_layout_configuration.py @@ -59,6 +59,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .layout_template_type import LayoutTemplateType + writer.write_bool_value("isFooterShown", self.is_footer_shown) writer.write_bool_value("isHeaderShown", self.is_header_shown) writer.write_enum_value("layoutTemplateType", self.layout_template_type) diff --git a/msgraph_beta/generated/models/logon_user.py b/msgraph_beta/generated/models/logon_user.py index 01a3e98ab9a..6511532e686 100644 --- a/msgraph_beta/generated/models/logon_user.py +++ b/msgraph_beta/generated/models/logon_user.py @@ -75,6 +75,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .logon_type import LogonType + from .user_account_security_type import UserAccountSecurityType + writer.write_str_value("accountDomain", self.account_domain) writer.write_str_value("accountName", self.account_name) writer.write_enum_value("accountType", self.account_type) diff --git a/msgraph_beta/generated/models/long_running_operation.py b/msgraph_beta/generated/models/long_running_operation.py index cc510083d61..b2fed4df08c 100644 --- a/msgraph_beta/generated/models/long_running_operation.py +++ b/msgraph_beta/generated/models/long_running_operation.py @@ -44,7 +44,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> LongRunningOperati if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.attackSimulationOperation".casefold(): @@ -116,6 +117,15 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .attack_simulation_operation import AttackSimulationOperation + from .engagement_async_operation import EngagementAsyncOperation + from .entity import Entity + from .goals_export_job import GoalsExportJob + from .industry_data.file_validate_operation import FileValidateOperation + from .industry_data.validate_operation import ValidateOperation + from .long_running_operation_status import LongRunningOperationStatus + from .rich_long_running_operation import RichLongRunningOperation + writer.write_datetime_value("createdDateTime", self.created_date_time) writer.write_datetime_value("lastActionDateTime", self.last_action_date_time) writer.write_str_value("resourceLocation", self.resource_location) diff --git a/msgraph_beta/generated/models/long_running_operation_collection_response.py b/msgraph_beta/generated/models/long_running_operation_collection_response.py index ab646924c03..1eaa173cc4e 100644 --- a/msgraph_beta/generated/models/long_running_operation_collection_response.py +++ b/msgraph_beta/generated/models/long_running_operation_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .long_running_operation import LongRunningOperation + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/lookup_result_row.py b/msgraph_beta/generated/models/lookup_result_row.py index 69fe980f6fb..407652eeb7b 100644 --- a/msgraph_beta/generated/models/lookup_result_row.py +++ b/msgraph_beta/generated/models/lookup_result_row.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_str_value("row", self.row) diff --git a/msgraph_beta/generated/models/m365_apps_installation_options.py b/msgraph_beta/generated/models/m365_apps_installation_options.py index 190f91d7398..21b5956dc82 100644 --- a/msgraph_beta/generated/models/m365_apps_installation_options.py +++ b/msgraph_beta/generated/models/m365_apps_installation_options.py @@ -66,6 +66,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .apps_installation_options_for_mac import AppsInstallationOptionsForMac + from .apps_installation_options_for_windows import AppsInstallationOptionsForWindows + from .apps_update_channel_type import AppsUpdateChannelType + from .entity import Entity + writer.write_object_value("appsForMac", self.apps_for_mac) writer.write_object_value("appsForWindows", self.apps_for_windows) writer.write_enum_value("updateChannel", self.update_channel) diff --git a/msgraph_beta/generated/models/mac_app_identifier.py b/msgraph_beta/generated/models/mac_app_identifier.py index 94ed1f3fcf9..a7a5d77cdf6 100644 --- a/msgraph_beta/generated/models/mac_app_identifier.py +++ b/msgraph_beta/generated/models/mac_app_identifier.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .mobile_app_identifier import MobileAppIdentifier + writer.write_str_value("bundleId", self.bundle_id) diff --git a/msgraph_beta/generated/models/mac_o_s_apple_event_receiver.py b/msgraph_beta/generated/models/mac_o_s_apple_event_receiver.py index cee65c98ab7..2c9b5d947b0 100644 --- a/msgraph_beta/generated/models/mac_o_s_apple_event_receiver.py +++ b/msgraph_beta/generated/models/mac_o_s_apple_event_receiver.py @@ -65,6 +65,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .mac_o_s_process_identifier_type import MacOSProcessIdentifierType + writer.write_bool_value("allowed", self.allowed) writer.write_str_value("codeRequirement", self.code_requirement) writer.write_str_value("identifier", self.identifier) diff --git a/msgraph_beta/generated/models/mac_o_s_azure_ad_single_sign_on_extension.py b/msgraph_beta/generated/models/mac_o_s_azure_ad_single_sign_on_extension.py index a24bb8d864e..2c4ed912e3a 100644 --- a/msgraph_beta/generated/models/mac_o_s_azure_ad_single_sign_on_extension.py +++ b/msgraph_beta/generated/models/mac_o_s_azure_ad_single_sign_on_extension.py @@ -63,6 +63,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .key_typed_value_pair import KeyTypedValuePair + from .mac_o_s_single_sign_on_extension import MacOSSingleSignOnExtension + writer.write_collection_of_primitive_values("bundleIdAccessControlList", self.bundle_id_access_control_list) writer.write_collection_of_object_values("configurations", self.configurations) writer.write_bool_value("enableSharedDeviceMode", self.enable_shared_device_mode) diff --git a/msgraph_beta/generated/models/mac_o_s_certificate_profile_base.py b/msgraph_beta/generated/models/mac_o_s_certificate_profile_base.py index 9f5d1ae6a43..dcd717b6dd5 100644 --- a/msgraph_beta/generated/models/mac_o_s_certificate_profile_base.py +++ b/msgraph_beta/generated/models/mac_o_s_certificate_profile_base.py @@ -42,7 +42,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> MacOSCertificatePr if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.macOSImportedPFXCertificateProfile".casefold(): @@ -100,6 +101,14 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .apple_subject_name_format import AppleSubjectNameFormat + from .certificate_validity_period_scale import CertificateValidityPeriodScale + from .device_configuration import DeviceConfiguration + from .mac_o_s_imported_p_f_x_certificate_profile import MacOSImportedPFXCertificateProfile + from .mac_o_s_pkcs_certificate_profile import MacOSPkcsCertificateProfile + from .mac_o_s_scep_certificate_profile import MacOSScepCertificateProfile + from .subject_alternative_name_type import SubjectAlternativeNameType + writer.write_enum_value("certificateValidityPeriodScale", self.certificate_validity_period_scale) writer.write_int_value("certificateValidityPeriodValue", self.certificate_validity_period_value) writer.write_int_value("renewalThresholdPercentage", self.renewal_threshold_percentage) diff --git a/msgraph_beta/generated/models/mac_o_s_compliance_policy.py b/msgraph_beta/generated/models/mac_o_s_compliance_policy.py index 3b0cd187549..3be2eba911b 100644 --- a/msgraph_beta/generated/models/mac_o_s_compliance_policy.py +++ b/msgraph_beta/generated/models/mac_o_s_compliance_policy.py @@ -123,6 +123,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_compliance_policy import DeviceCompliancePolicy + from .device_threat_protection_level import DeviceThreatProtectionLevel + from .mac_o_s_gatekeeper_app_sources import MacOSGatekeeperAppSources + from .required_password_type import RequiredPasswordType + writer.write_enum_value("advancedThreatProtectionRequiredSecurityLevel", self.advanced_threat_protection_required_security_level) writer.write_bool_value("deviceThreatProtectionEnabled", self.device_threat_protection_enabled) writer.write_enum_value("deviceThreatProtectionRequiredSecurityLevel", self.device_threat_protection_required_security_level) diff --git a/msgraph_beta/generated/models/mac_o_s_credential_single_sign_on_extension.py b/msgraph_beta/generated/models/mac_o_s_credential_single_sign_on_extension.py index c5d9c111235..0afab4557b6 100644 --- a/msgraph_beta/generated/models/mac_o_s_credential_single_sign_on_extension.py +++ b/msgraph_beta/generated/models/mac_o_s_credential_single_sign_on_extension.py @@ -69,6 +69,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .key_typed_value_pair import KeyTypedValuePair + from .mac_o_s_single_sign_on_extension import MacOSSingleSignOnExtension + writer.write_collection_of_object_values("configurations", self.configurations) writer.write_collection_of_primitive_values("domains", self.domains) writer.write_str_value("extensionIdentifier", self.extension_identifier) diff --git a/msgraph_beta/generated/models/mac_o_s_custom_app_configuration.py b/msgraph_beta/generated/models/mac_o_s_custom_app_configuration.py index 89a461067e6..e15ed2d428b 100644 --- a/msgraph_beta/generated/models/mac_o_s_custom_app_configuration.py +++ b/msgraph_beta/generated/models/mac_o_s_custom_app_configuration.py @@ -60,6 +60,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_configuration import DeviceConfiguration + writer.write_str_value("bundleId", self.bundle_id) writer.write_bytes_value("configurationXml", self.configuration_xml) writer.write_str_value("fileName", self.file_name) diff --git a/msgraph_beta/generated/models/mac_o_s_custom_configuration.py b/msgraph_beta/generated/models/mac_o_s_custom_configuration.py index fda7a0a9277..a465c4d7abe 100644 --- a/msgraph_beta/generated/models/mac_o_s_custom_configuration.py +++ b/msgraph_beta/generated/models/mac_o_s_custom_configuration.py @@ -66,6 +66,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .apple_deployment_channel import AppleDeploymentChannel + from .device_configuration import DeviceConfiguration + writer.write_enum_value("deploymentChannel", self.deployment_channel) writer.write_bytes_value("payload", self.payload) writer.write_str_value("payloadFileName", self.payload_file_name) diff --git a/msgraph_beta/generated/models/mac_o_s_device_features_configuration.py b/msgraph_beta/generated/models/mac_o_s_device_features_configuration.py index 2d91cb9f123..7a9a96a206a 100644 --- a/msgraph_beta/generated/models/mac_o_s_device_features_configuration.py +++ b/msgraph_beta/generated/models/mac_o_s_device_features_configuration.py @@ -210,6 +210,19 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .apple_device_features_configuration_base import AppleDeviceFeaturesConfigurationBase + from .ip_range import IpRange + from .key_value_pair import KeyValuePair + from .mac_o_s_associated_domains_item import MacOSAssociatedDomainsItem + from .mac_o_s_certificate_profile_base import MacOSCertificateProfileBase + from .mac_o_s_content_caching_client_policy import MacOSContentCachingClientPolicy + from .mac_o_s_content_caching_parent_selection_policy import MacOSContentCachingParentSelectionPolicy + from .mac_o_s_content_caching_peer_policy import MacOSContentCachingPeerPolicy + from .mac_o_s_content_caching_type import MacOSContentCachingType + from .mac_o_s_launch_item import MacOSLaunchItem + from .mac_o_s_single_sign_on_extension import MacOSSingleSignOnExtension + from .single_sign_on_extension import SingleSignOnExtension + writer.write_bool_value("adminShowHostInfo", self.admin_show_host_info) writer.write_collection_of_object_values("appAssociatedDomains", self.app_associated_domains) writer.write_collection_of_object_values("associatedDomains", self.associated_domains) diff --git a/msgraph_beta/generated/models/mac_o_s_dmg_app.py b/msgraph_beta/generated/models/mac_o_s_dmg_app.py index 85a4319b48d..b82d9c7fbb8 100644 --- a/msgraph_beta/generated/models/mac_o_s_dmg_app.py +++ b/msgraph_beta/generated/models/mac_o_s_dmg_app.py @@ -72,6 +72,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .mac_o_s_included_app import MacOSIncludedApp + from .mac_o_s_minimum_operating_system import MacOSMinimumOperatingSystem + from .mobile_lob_app import MobileLobApp + writer.write_bool_value("ignoreVersionDetection", self.ignore_version_detection) writer.write_collection_of_object_values("includedApps", self.included_apps) writer.write_object_value("minimumSupportedOperatingSystem", self.minimum_supported_operating_system) diff --git a/msgraph_beta/generated/models/mac_o_s_dmg_app_collection_response.py b/msgraph_beta/generated/models/mac_o_s_dmg_app_collection_response.py index 29f35387eb2..e47b8cc4053 100644 --- a/msgraph_beta/generated/models/mac_o_s_dmg_app_collection_response.py +++ b/msgraph_beta/generated/models/mac_o_s_dmg_app_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .mac_o_s_dmg_app import MacOSDmgApp + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/mac_o_s_endpoint_protection_configuration.py b/msgraph_beta/generated/models/mac_o_s_endpoint_protection_configuration.py index 80677c8375a..87efdf05f73 100644 --- a/msgraph_beta/generated/models/mac_o_s_endpoint_protection_configuration.py +++ b/msgraph_beta/generated/models/mac_o_s_endpoint_protection_configuration.py @@ -135,6 +135,12 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_configuration import DeviceConfiguration + from .enablement import Enablement + from .mac_o_s_file_vault_recovery_key_types import MacOSFileVaultRecoveryKeyTypes + from .mac_o_s_firewall_application import MacOSFirewallApplication + from .mac_o_s_gatekeeper_app_sources import MacOSGatekeeperAppSources + writer.write_enum_value("advancedThreatProtectionAutomaticSampleSubmission", self.advanced_threat_protection_automatic_sample_submission) writer.write_enum_value("advancedThreatProtectionCloudDelivered", self.advanced_threat_protection_cloud_delivered) writer.write_enum_value("advancedThreatProtectionDiagnosticDataCollection", self.advanced_threat_protection_diagnostic_data_collection) diff --git a/msgraph_beta/generated/models/mac_o_s_enterprise_wi_fi_configuration.py b/msgraph_beta/generated/models/mac_o_s_enterprise_wi_fi_configuration.py index 23f3ddaf4b5..784245e3cca 100644 --- a/msgraph_beta/generated/models/mac_o_s_enterprise_wi_fi_configuration.py +++ b/msgraph_beta/generated/models/mac_o_s_enterprise_wi_fi_configuration.py @@ -96,6 +96,14 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .eap_fast_configuration import EapFastConfiguration + from .eap_type import EapType + from .mac_o_s_certificate_profile_base import MacOSCertificateProfileBase + from .mac_o_s_trusted_root_certificate import MacOSTrustedRootCertificate + from .mac_o_s_wi_fi_configuration import MacOSWiFiConfiguration + from .non_eap_authentication_method_for_eap_ttls_type import NonEapAuthenticationMethodForEapTtlsType + from .wi_fi_authentication_method import WiFiAuthenticationMethod + writer.write_enum_value("authenticationMethod", self.authentication_method) writer.write_enum_value("eapFastConfiguration", self.eap_fast_configuration) writer.write_enum_value("eapType", self.eap_type) diff --git a/msgraph_beta/generated/models/mac_o_s_extensions_configuration.py b/msgraph_beta/generated/models/mac_o_s_extensions_configuration.py index e4d8bb083dc..51dbe48c3cf 100644 --- a/msgraph_beta/generated/models/mac_o_s_extensions_configuration.py +++ b/msgraph_beta/generated/models/mac_o_s_extensions_configuration.py @@ -81,6 +81,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_configuration import DeviceConfiguration + from .mac_o_s_kernel_extension import MacOSKernelExtension + from .mac_o_s_system_extension import MacOSSystemExtension + from .mac_o_s_system_extension_type_mapping import MacOSSystemExtensionTypeMapping + writer.write_collection_of_primitive_values("kernelExtensionAllowedTeamIdentifiers", self.kernel_extension_allowed_team_identifiers) writer.write_bool_value("kernelExtensionOverridesAllowed", self.kernel_extension_overrides_allowed) writer.write_collection_of_object_values("kernelExtensionsAllowed", self.kernel_extensions_allowed) diff --git a/msgraph_beta/generated/models/mac_o_s_general_device_configuration.py b/msgraph_beta/generated/models/mac_o_s_general_device_configuration.py index f2c981b5bb3..e4c1c6c835c 100644 --- a/msgraph_beta/generated/models/mac_o_s_general_device_configuration.py +++ b/msgraph_beta/generated/models/mac_o_s_general_device_configuration.py @@ -246,6 +246,13 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .app_list_item import AppListItem + from .app_list_type import AppListType + from .device_configuration import DeviceConfiguration + from .mac_o_s_privacy_access_control_item import MacOSPrivacyAccessControlItem + from .mac_o_s_software_update_delay_policy import MacOSSoftwareUpdateDelayPolicy + from .required_password_type import RequiredPasswordType + writer.write_bool_value("activationLockWhenSupervisedAllowed", self.activation_lock_when_supervised_allowed) writer.write_bool_value("addingGameCenterFriendsBlocked", self.adding_game_center_friends_blocked) writer.write_bool_value("airDropBlocked", self.air_drop_blocked) diff --git a/msgraph_beta/generated/models/mac_o_s_imported_p_f_x_certificate_profile.py b/msgraph_beta/generated/models/mac_o_s_imported_p_f_x_certificate_profile.py index ce0f8b56adc..edbe19c20d3 100644 --- a/msgraph_beta/generated/models/mac_o_s_imported_p_f_x_certificate_profile.py +++ b/msgraph_beta/generated/models/mac_o_s_imported_p_f_x_certificate_profile.py @@ -69,6 +69,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .apple_deployment_channel import AppleDeploymentChannel + from .intended_purpose import IntendedPurpose + from .mac_o_s_certificate_profile_base import MacOSCertificateProfileBase + from .managed_device_certificate_state import ManagedDeviceCertificateState + writer.write_enum_value("deploymentChannel", self.deployment_channel) writer.write_enum_value("intendedPurpose", self.intended_purpose) writer.write_collection_of_object_values("managedDeviceCertificateStates", self.managed_device_certificate_states) diff --git a/msgraph_beta/generated/models/mac_o_s_kerberos_single_sign_on_extension.py b/msgraph_beta/generated/models/mac_o_s_kerberos_single_sign_on_extension.py index 146db5e539b..473e332b502 100644 --- a/msgraph_beta/generated/models/mac_o_s_kerberos_single_sign_on_extension.py +++ b/msgraph_beta/generated/models/mac_o_s_kerberos_single_sign_on_extension.py @@ -141,6 +141,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .mac_o_s_single_sign_on_extension import MacOSSingleSignOnExtension + writer.write_str_value("activeDirectorySiteCode", self.active_directory_site_code) writer.write_bool_value("blockActiveDirectorySiteAutoDiscovery", self.block_active_directory_site_auto_discovery) writer.write_bool_value("blockAutomaticLogin", self.block_automatic_login) diff --git a/msgraph_beta/generated/models/mac_o_s_lob_app.py b/msgraph_beta/generated/models/mac_o_s_lob_app.py index 7a7640257b5..66a4da3a586 100644 --- a/msgraph_beta/generated/models/mac_o_s_lob_app.py +++ b/msgraph_beta/generated/models/mac_o_s_lob_app.py @@ -84,6 +84,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .mac_o_s_lob_child_app import MacOSLobChildApp + from .mac_o_s_minimum_operating_system import MacOSMinimumOperatingSystem + from .mobile_lob_app import MobileLobApp + writer.write_str_value("buildNumber", self.build_number) writer.write_str_value("bundleId", self.bundle_id) writer.write_collection_of_object_values("childApps", self.child_apps) diff --git a/msgraph_beta/generated/models/mac_o_s_lob_app_collection_response.py b/msgraph_beta/generated/models/mac_o_s_lob_app_collection_response.py index 14c8b4c8090..1a03bde6742 100644 --- a/msgraph_beta/generated/models/mac_o_s_lob_app_collection_response.py +++ b/msgraph_beta/generated/models/mac_o_s_lob_app_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .mac_o_s_lob_app import MacOSLobApp + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/mac_o_s_microsoft_defender_app.py b/msgraph_beta/generated/models/mac_o_s_microsoft_defender_app.py index 33607c256cb..207c56c3f67 100644 --- a/msgraph_beta/generated/models/mac_o_s_microsoft_defender_app.py +++ b/msgraph_beta/generated/models/mac_o_s_microsoft_defender_app.py @@ -51,5 +51,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .mobile_app import MobileApp + diff --git a/msgraph_beta/generated/models/mac_o_s_microsoft_edge_app.py b/msgraph_beta/generated/models/mac_o_s_microsoft_edge_app.py index de04811a053..39646bc1da3 100644 --- a/msgraph_beta/generated/models/mac_o_s_microsoft_edge_app.py +++ b/msgraph_beta/generated/models/mac_o_s_microsoft_edge_app.py @@ -57,6 +57,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .microsoft_edge_channel import MicrosoftEdgeChannel + from .mobile_app import MobileApp + writer.write_enum_value("channel", self.channel) diff --git a/msgraph_beta/generated/models/mac_o_s_office_suite_app.py b/msgraph_beta/generated/models/mac_o_s_office_suite_app.py index 091423ab2c0..99a507ec109 100644 --- a/msgraph_beta/generated/models/mac_o_s_office_suite_app.py +++ b/msgraph_beta/generated/models/mac_o_s_office_suite_app.py @@ -51,5 +51,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .mobile_app import MobileApp + diff --git a/msgraph_beta/generated/models/mac_o_s_pkcs_certificate_profile.py b/msgraph_beta/generated/models/mac_o_s_pkcs_certificate_profile.py index a90e46bf1aa..4d0f2fb5b7d 100644 --- a/msgraph_beta/generated/models/mac_o_s_pkcs_certificate_profile.py +++ b/msgraph_beta/generated/models/mac_o_s_pkcs_certificate_profile.py @@ -93,6 +93,12 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .apple_deployment_channel import AppleDeploymentChannel + from .certificate_store import CertificateStore + from .custom_subject_alternative_name import CustomSubjectAlternativeName + from .mac_o_s_certificate_profile_base import MacOSCertificateProfileBase + from .managed_device_certificate_state import ManagedDeviceCertificateState + writer.write_bool_value("allowAllAppsAccess", self.allow_all_apps_access) writer.write_enum_value("certificateStore", self.certificate_store) writer.write_str_value("certificateTemplateName", self.certificate_template_name) diff --git a/msgraph_beta/generated/models/mac_o_s_pkg_app.py b/msgraph_beta/generated/models/mac_o_s_pkg_app.py index d170bbe7625..f9e374fcb5b 100644 --- a/msgraph_beta/generated/models/mac_o_s_pkg_app.py +++ b/msgraph_beta/generated/models/mac_o_s_pkg_app.py @@ -81,6 +81,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .mac_o_s_app_script import MacOSAppScript + from .mac_o_s_included_app import MacOSIncludedApp + from .mac_o_s_minimum_operating_system import MacOSMinimumOperatingSystem + from .mobile_lob_app import MobileLobApp + writer.write_bool_value("ignoreVersionDetection", self.ignore_version_detection) writer.write_collection_of_object_values("includedApps", self.included_apps) writer.write_object_value("minimumSupportedOperatingSystem", self.minimum_supported_operating_system) diff --git a/msgraph_beta/generated/models/mac_o_s_pkg_app_collection_response.py b/msgraph_beta/generated/models/mac_o_s_pkg_app_collection_response.py index c39247678d5..6d284a69607 100644 --- a/msgraph_beta/generated/models/mac_o_s_pkg_app_collection_response.py +++ b/msgraph_beta/generated/models/mac_o_s_pkg_app_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .mac_o_s_pkg_app import MacOSPkgApp + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/mac_o_s_privacy_access_control_item.py b/msgraph_beta/generated/models/mac_o_s_privacy_access_control_item.py index 7ac9da659a7..4479609ca54 100644 --- a/msgraph_beta/generated/models/mac_o_s_privacy_access_control_item.py +++ b/msgraph_beta/generated/models/mac_o_s_privacy_access_control_item.py @@ -137,6 +137,10 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .enablement import Enablement + from .mac_o_s_apple_event_receiver import MacOSAppleEventReceiver + from .mac_o_s_process_identifier_type import MacOSProcessIdentifierType + writer.write_enum_value("accessibility", self.accessibility) writer.write_enum_value("addressBook", self.address_book) writer.write_collection_of_object_values("appleEventsAllowedReceivers", self.apple_events_allowed_receivers) diff --git a/msgraph_beta/generated/models/mac_o_s_redirect_single_sign_on_extension.py b/msgraph_beta/generated/models/mac_o_s_redirect_single_sign_on_extension.py index 490c39bddf8..02a43c6107b 100644 --- a/msgraph_beta/generated/models/mac_o_s_redirect_single_sign_on_extension.py +++ b/msgraph_beta/generated/models/mac_o_s_redirect_single_sign_on_extension.py @@ -66,6 +66,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .key_typed_value_pair import KeyTypedValuePair + from .mac_o_s_single_sign_on_extension import MacOSSingleSignOnExtension + writer.write_collection_of_object_values("configurations", self.configurations) writer.write_str_value("extensionIdentifier", self.extension_identifier) writer.write_str_value("teamIdentifier", self.team_identifier) diff --git a/msgraph_beta/generated/models/mac_o_s_scep_certificate_profile.py b/msgraph_beta/generated/models/mac_o_s_scep_certificate_profile.py index 64bd0cd1303..861ac34eec5 100644 --- a/msgraph_beta/generated/models/mac_o_s_scep_certificate_profile.py +++ b/msgraph_beta/generated/models/mac_o_s_scep_certificate_profile.py @@ -117,6 +117,17 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .apple_deployment_channel import AppleDeploymentChannel + from .certificate_store import CertificateStore + from .custom_subject_alternative_name import CustomSubjectAlternativeName + from .extended_key_usage import ExtendedKeyUsage + from .hash_algorithms import HashAlgorithms + from .key_size import KeySize + from .key_usages import KeyUsages + from .mac_o_s_certificate_profile_base import MacOSCertificateProfileBase + from .mac_o_s_trusted_root_certificate import MacOSTrustedRootCertificate + from .managed_device_certificate_state import ManagedDeviceCertificateState + writer.write_bool_value("allowAllAppsAccess", self.allow_all_apps_access) writer.write_enum_value("certificateStore", self.certificate_store) writer.write_collection_of_object_values("customSubjectAlternativeNames", self.custom_subject_alternative_names) diff --git a/msgraph_beta/generated/models/mac_o_s_single_sign_on_extension.py b/msgraph_beta/generated/models/mac_o_s_single_sign_on_extension.py index 1b0695a4946..0ebe40acbc7 100644 --- a/msgraph_beta/generated/models/mac_o_s_single_sign_on_extension.py +++ b/msgraph_beta/generated/models/mac_o_s_single_sign_on_extension.py @@ -30,7 +30,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> MacOSSingleSignOnE if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.macOSAzureAdSingleSignOnExtension".casefold(): @@ -83,5 +84,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .mac_o_s_azure_ad_single_sign_on_extension import MacOSAzureAdSingleSignOnExtension + from .mac_o_s_credential_single_sign_on_extension import MacOSCredentialSingleSignOnExtension + from .mac_o_s_kerberos_single_sign_on_extension import MacOSKerberosSingleSignOnExtension + from .mac_o_s_redirect_single_sign_on_extension import MacOSRedirectSingleSignOnExtension + from .single_sign_on_extension import SingleSignOnExtension + diff --git a/msgraph_beta/generated/models/mac_o_s_software_update_account_summary.py b/msgraph_beta/generated/models/mac_o_s_software_update_account_summary.py index c7b15a641dd..7aca72710e3 100644 --- a/msgraph_beta/generated/models/mac_o_s_software_update_account_summary.py +++ b/msgraph_beta/generated/models/mac_o_s_software_update_account_summary.py @@ -88,6 +88,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .mac_o_s_software_update_category_summary import MacOSSoftwareUpdateCategorySummary + writer.write_collection_of_object_values("categorySummaries", self.category_summaries) writer.write_str_value("deviceId", self.device_id) writer.write_str_value("deviceName", self.device_name) diff --git a/msgraph_beta/generated/models/mac_o_s_software_update_account_summary_collection_response.py b/msgraph_beta/generated/models/mac_o_s_software_update_account_summary_collection_response.py index 139419d210f..17f3d5cd8b5 100644 --- a/msgraph_beta/generated/models/mac_o_s_software_update_account_summary_collection_response.py +++ b/msgraph_beta/generated/models/mac_o_s_software_update_account_summary_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .mac_o_s_software_update_account_summary import MacOSSoftwareUpdateAccountSummary + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/mac_o_s_software_update_category_summary.py b/msgraph_beta/generated/models/mac_o_s_software_update_category_summary.py index e4038de49db..a2df36bd398 100644 --- a/msgraph_beta/generated/models/mac_o_s_software_update_category_summary.py +++ b/msgraph_beta/generated/models/mac_o_s_software_update_category_summary.py @@ -85,6 +85,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .mac_o_s_software_update_category import MacOSSoftwareUpdateCategory + from .mac_o_s_software_update_state_summary import MacOSSoftwareUpdateStateSummary + writer.write_str_value("deviceId", self.device_id) writer.write_str_value("displayName", self.display_name) writer.write_int_value("failedUpdateCount", self.failed_update_count) diff --git a/msgraph_beta/generated/models/mac_o_s_software_update_category_summary_collection_response.py b/msgraph_beta/generated/models/mac_o_s_software_update_category_summary_collection_response.py index 74baddcf996..29ed10e7645 100644 --- a/msgraph_beta/generated/models/mac_o_s_software_update_category_summary_collection_response.py +++ b/msgraph_beta/generated/models/mac_o_s_software_update_category_summary_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .mac_o_s_software_update_category_summary import MacOSSoftwareUpdateCategorySummary + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/mac_o_s_software_update_configuration.py b/msgraph_beta/generated/models/mac_o_s_software_update_configuration.py index 79a13630921..49cf8a68221 100644 --- a/msgraph_beta/generated/models/mac_o_s_software_update_configuration.py +++ b/msgraph_beta/generated/models/mac_o_s_software_update_configuration.py @@ -90,6 +90,12 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .custom_update_time_window import CustomUpdateTimeWindow + from .device_configuration import DeviceConfiguration + from .mac_o_s_priority import MacOSPriority + from .mac_o_s_software_update_behavior import MacOSSoftwareUpdateBehavior + from .mac_o_s_software_update_schedule_type import MacOSSoftwareUpdateScheduleType + writer.write_enum_value("allOtherUpdateBehavior", self.all_other_update_behavior) writer.write_enum_value("configDataUpdateBehavior", self.config_data_update_behavior) writer.write_enum_value("criticalUpdateBehavior", self.critical_update_behavior) diff --git a/msgraph_beta/generated/models/mac_o_s_software_update_state_summary.py b/msgraph_beta/generated/models/mac_o_s_software_update_state_summary.py index 04872e4b92e..0cd35d6ae93 100644 --- a/msgraph_beta/generated/models/mac_o_s_software_update_state_summary.py +++ b/msgraph_beta/generated/models/mac_o_s_software_update_state_summary.py @@ -76,6 +76,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .mac_o_s_software_update_category import MacOSSoftwareUpdateCategory + from .mac_o_s_software_update_state import MacOSSoftwareUpdateState + writer.write_str_value("displayName", self.display_name) writer.write_datetime_value("lastUpdatedDateTime", self.last_updated_date_time) writer.write_str_value("productKey", self.product_key) diff --git a/msgraph_beta/generated/models/mac_o_s_software_update_state_summary_collection_response.py b/msgraph_beta/generated/models/mac_o_s_software_update_state_summary_collection_response.py index 01393a10951..b24d95c7004 100644 --- a/msgraph_beta/generated/models/mac_o_s_software_update_state_summary_collection_response.py +++ b/msgraph_beta/generated/models/mac_o_s_software_update_state_summary_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .mac_o_s_software_update_state_summary import MacOSSoftwareUpdateStateSummary + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/mac_o_s_system_extension_type_mapping.py b/msgraph_beta/generated/models/mac_o_s_system_extension_type_mapping.py index c23d4d6b662..d9c3c8f5d46 100644 --- a/msgraph_beta/generated/models/mac_o_s_system_extension_type_mapping.py +++ b/msgraph_beta/generated/models/mac_o_s_system_extension_type_mapping.py @@ -59,6 +59,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .mac_o_s_system_extension_type import MacOSSystemExtensionType + writer.write_enum_value("allowedTypes", self.allowed_types) writer.write_str_value("@odata.type", self.odata_type) writer.write_str_value("teamIdentifier", self.team_identifier) diff --git a/msgraph_beta/generated/models/mac_o_s_trusted_root_certificate.py b/msgraph_beta/generated/models/mac_o_s_trusted_root_certificate.py index 66981f3a2e9..a317e3318ae 100644 --- a/msgraph_beta/generated/models/mac_o_s_trusted_root_certificate.py +++ b/msgraph_beta/generated/models/mac_o_s_trusted_root_certificate.py @@ -63,6 +63,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .apple_deployment_channel import AppleDeploymentChannel + from .device_configuration import DeviceConfiguration + writer.write_str_value("certFileName", self.cert_file_name) writer.write_enum_value("deploymentChannel", self.deployment_channel) writer.write_bytes_value("trustedRootCertificate", self.trusted_root_certificate) diff --git a/msgraph_beta/generated/models/mac_o_s_vpn_configuration.py b/msgraph_beta/generated/models/mac_o_s_vpn_configuration.py index 549c4a74f25..b1734d29716 100644 --- a/msgraph_beta/generated/models/mac_o_s_vpn_configuration.py +++ b/msgraph_beta/generated/models/mac_o_s_vpn_configuration.py @@ -63,6 +63,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .apple_deployment_channel import AppleDeploymentChannel + from .apple_vpn_configuration import AppleVpnConfiguration + from .mac_o_s_certificate_profile_base import MacOSCertificateProfileBase + writer.write_enum_value("deploymentChannel", self.deployment_channel) writer.write_object_value("identityCertificate", self.identity_certificate) diff --git a/msgraph_beta/generated/models/mac_o_s_web_clip.py b/msgraph_beta/generated/models/mac_o_s_web_clip.py index c0159794896..0680f9700d6 100644 --- a/msgraph_beta/generated/models/mac_o_s_web_clip.py +++ b/msgraph_beta/generated/models/mac_o_s_web_clip.py @@ -60,6 +60,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .mobile_app import MobileApp + writer.write_str_value("appUrl", self.app_url) writer.write_bool_value("fullScreenEnabled", self.full_screen_enabled) writer.write_bool_value("preComposedIconEnabled", self.pre_composed_icon_enabled) diff --git a/msgraph_beta/generated/models/mac_o_s_wi_fi_configuration.py b/msgraph_beta/generated/models/mac_o_s_wi_fi_configuration.py index 9f0035e2705..f6fac07f169 100644 --- a/msgraph_beta/generated/models/mac_o_s_wi_fi_configuration.py +++ b/msgraph_beta/generated/models/mac_o_s_wi_fi_configuration.py @@ -52,7 +52,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> MacOSWiFiConfigura if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.macOSEnterpriseWiFiConfiguration".casefold(): @@ -104,6 +105,12 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .apple_deployment_channel import AppleDeploymentChannel + from .device_configuration import DeviceConfiguration + from .mac_o_s_enterprise_wi_fi_configuration import MacOSEnterpriseWiFiConfiguration + from .wi_fi_proxy_setting import WiFiProxySetting + from .wi_fi_security_type import WiFiSecurityType + writer.write_bool_value("connectAutomatically", self.connect_automatically) writer.write_bool_value("connectWhenNetworkNameIsHidden", self.connect_when_network_name_is_hidden) writer.write_enum_value("deploymentChannel", self.deployment_channel) diff --git a/msgraph_beta/generated/models/mac_o_s_wired_network_configuration.py b/msgraph_beta/generated/models/mac_o_s_wired_network_configuration.py index 09517cf869b..73f07dba793 100644 --- a/msgraph_beta/generated/models/mac_o_s_wired_network_configuration.py +++ b/msgraph_beta/generated/models/mac_o_s_wired_network_configuration.py @@ -108,6 +108,16 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .apple_deployment_channel import AppleDeploymentChannel + from .device_configuration import DeviceConfiguration + from .eap_fast_configuration import EapFastConfiguration + from .eap_type import EapType + from .mac_o_s_certificate_profile_base import MacOSCertificateProfileBase + from .mac_o_s_trusted_root_certificate import MacOSTrustedRootCertificate + from .non_eap_authentication_method_for_eap_ttls_type import NonEapAuthenticationMethodForEapTtlsType + from .wired_network_interface import WiredNetworkInterface + from .wi_fi_authentication_method import WiFiAuthenticationMethod + writer.write_enum_value("authenticationMethod", self.authentication_method) writer.write_enum_value("deploymentChannel", self.deployment_channel) writer.write_enum_value("eapFastConfiguration", self.eap_fast_configuration) diff --git a/msgraph_beta/generated/models/mac_os_lob_app_assignment_settings.py b/msgraph_beta/generated/models/mac_os_lob_app_assignment_settings.py index 24f3ecbd696..6842db8c61a 100644 --- a/msgraph_beta/generated/models/mac_os_lob_app_assignment_settings.py +++ b/msgraph_beta/generated/models/mac_os_lob_app_assignment_settings.py @@ -15,7 +15,7 @@ class MacOsLobAppAssignmentSettings(MobileAppAssignmentSettings): """ # The OdataType property odata_type: Optional[str] = "#microsoft.graph.macOsLobAppAssignmentSettings" - # When TRUE, indicates that the app should be uninstalled when the device is removed from Intune. When FALSE, indicates that the app will not be uninstalled when the device is removed from Intune. + # Whether or not to uninstall the app when device is removed from Intune. uninstall_on_device_removal: Optional[bool] = None @staticmethod @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .mobile_app_assignment_settings import MobileAppAssignmentSettings + writer.write_bool_value("uninstallOnDeviceRemoval", self.uninstall_on_device_removal) diff --git a/msgraph_beta/generated/models/mac_os_vpp_app.py b/msgraph_beta/generated/models/mac_os_vpp_app.py index 2205a87f740..9e51a257bab 100644 --- a/msgraph_beta/generated/models/mac_os_vpp_app.py +++ b/msgraph_beta/generated/models/mac_os_vpp_app.py @@ -100,6 +100,12 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .mac_os_vpp_app_assigned_license import MacOsVppAppAssignedLicense + from .mac_os_vpp_app_revoke_licenses_action_result import MacOsVppAppRevokeLicensesActionResult + from .mobile_app import MobileApp + from .vpp_licensing_type import VppLicensingType + from .vpp_token_account_type import VppTokenAccountType + writer.write_str_value("appStoreUrl", self.app_store_url) writer.write_collection_of_object_values("assignedLicenses", self.assigned_licenses) writer.write_str_value("bundleId", self.bundle_id) diff --git a/msgraph_beta/generated/models/mac_os_vpp_app_assigned_license.py b/msgraph_beta/generated/models/mac_os_vpp_app_assigned_license.py index 5ddf32e3ddd..2e142b94478 100644 --- a/msgraph_beta/generated/models/mac_os_vpp_app_assigned_license.py +++ b/msgraph_beta/generated/models/mac_os_vpp_app_assigned_license.py @@ -63,6 +63,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_str_value("userEmailAddress", self.user_email_address) writer.write_str_value("userId", self.user_id) writer.write_str_value("userName", self.user_name) diff --git a/msgraph_beta/generated/models/mac_os_vpp_app_assignment_settings.py b/msgraph_beta/generated/models/mac_os_vpp_app_assignment_settings.py index 828c0dd071d..f5314ce9dae 100644 --- a/msgraph_beta/generated/models/mac_os_vpp_app_assignment_settings.py +++ b/msgraph_beta/generated/models/mac_os_vpp_app_assignment_settings.py @@ -63,6 +63,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .mobile_app_assignment_settings import MobileAppAssignmentSettings + writer.write_bool_value("preventAutoAppUpdate", self.prevent_auto_app_update) writer.write_bool_value("preventManagedAppBackup", self.prevent_managed_app_backup) writer.write_bool_value("uninstallOnDeviceRemoval", self.uninstall_on_device_removal) diff --git a/msgraph_beta/generated/models/mac_os_vpp_app_revoke_licenses_action_result.py b/msgraph_beta/generated/models/mac_os_vpp_app_revoke_licenses_action_result.py index 758a5910eb6..4cf7d341c85 100644 --- a/msgraph_beta/generated/models/mac_os_vpp_app_revoke_licenses_action_result.py +++ b/msgraph_beta/generated/models/mac_os_vpp_app_revoke_licenses_action_result.py @@ -84,6 +84,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .action_state import ActionState + from .vpp_token_action_failure_reason import VppTokenActionFailureReason + writer.write_enum_value("actionFailureReason", self.action_failure_reason) writer.write_str_value("actionName", self.action_name) writer.write_enum_value("actionState", self.action_state) diff --git a/msgraph_beta/generated/models/machine_learning_detected_sensitive_content.py b/msgraph_beta/generated/models/machine_learning_detected_sensitive_content.py index 92a020aa468..e2708ff4242 100644 --- a/msgraph_beta/generated/models/machine_learning_detected_sensitive_content.py +++ b/msgraph_beta/generated/models/machine_learning_detected_sensitive_content.py @@ -57,6 +57,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .detected_sensitive_content import DetectedSensitiveContent + from .ml_classification_match_tolerance import MlClassificationMatchTolerance + writer.write_enum_value("matchTolerance", self.match_tolerance) writer.write_str_value("modelVersion", self.model_version) diff --git a/msgraph_beta/generated/models/mail_assessment_request.py b/msgraph_beta/generated/models/mail_assessment_request.py index 0ce8302e24c..5cd465826ee 100644 --- a/msgraph_beta/generated/models/mail_assessment_request.py +++ b/msgraph_beta/generated/models/mail_assessment_request.py @@ -60,6 +60,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .mail_destination_routing_reason import MailDestinationRoutingReason + from .threat_assessment_request import ThreatAssessmentRequest + writer.write_enum_value("destinationRoutingReason", self.destination_routing_reason) writer.write_str_value("messageUri", self.message_uri) writer.write_str_value("recipientEmail", self.recipient_email) diff --git a/msgraph_beta/generated/models/mail_folder.py b/msgraph_beta/generated/models/mail_folder.py index e0994669f8c..d5714c0b526 100644 --- a/msgraph_beta/generated/models/mail_folder.py +++ b/msgraph_beta/generated/models/mail_folder.py @@ -55,7 +55,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> MailFolder: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.mailSearchFolder".casefold(): @@ -113,6 +114,14 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .mail_search_folder import MailSearchFolder + from .message import Message + from .message_rule import MessageRule + from .multi_value_legacy_extended_property import MultiValueLegacyExtendedProperty + from .single_value_legacy_extended_property import SingleValueLegacyExtendedProperty + from .user_configuration import UserConfiguration + writer.write_int_value("childFolderCount", self.child_folder_count) writer.write_collection_of_object_values("childFolders", self.child_folders) writer.write_str_value("displayName", self.display_name) diff --git a/msgraph_beta/generated/models/mail_folder_collection_response.py b/msgraph_beta/generated/models/mail_folder_collection_response.py index 81ec32f4d88..a495f8cb643 100644 --- a/msgraph_beta/generated/models/mail_folder_collection_response.py +++ b/msgraph_beta/generated/models/mail_folder_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .mail_folder import MailFolder + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/mail_search_folder.py b/msgraph_beta/generated/models/mail_search_folder.py index 7f3f5c2294d..eaec268bdbf 100644 --- a/msgraph_beta/generated/models/mail_search_folder.py +++ b/msgraph_beta/generated/models/mail_search_folder.py @@ -60,6 +60,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .mail_folder import MailFolder + writer.write_str_value("filterQuery", self.filter_query) writer.write_bool_value("includeNestedFolders", self.include_nested_folders) writer.write_bool_value("isSupported", self.is_supported) diff --git a/msgraph_beta/generated/models/mail_tips.py b/msgraph_beta/generated/models/mail_tips.py index c6f89c498dc..d2be78f1837 100644 --- a/msgraph_beta/generated/models/mail_tips.py +++ b/msgraph_beta/generated/models/mail_tips.py @@ -98,6 +98,12 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .automatic_replies_mail_tips import AutomaticRepliesMailTips + from .email_address import EmailAddress + from .mail_tips_error import MailTipsError + from .recipient import Recipient + from .recipient_scope_type import RecipientScopeType + writer.write_object_value("automaticReplies", self.automatic_replies) writer.write_str_value("customMailTip", self.custom_mail_tip) writer.write_bool_value("deliveryRestricted", self.delivery_restricted) diff --git a/msgraph_beta/generated/models/mailbox_protection_rule.py b/msgraph_beta/generated/models/mailbox_protection_rule.py index 1a7cefed6d3..df3bc3e40d4 100644 --- a/msgraph_beta/generated/models/mailbox_protection_rule.py +++ b/msgraph_beta/generated/models/mailbox_protection_rule.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .protection_rule_base import ProtectionRuleBase + writer.write_str_value("mailboxExpression", self.mailbox_expression) diff --git a/msgraph_beta/generated/models/mailbox_protection_rule_collection_response.py b/msgraph_beta/generated/models/mailbox_protection_rule_collection_response.py index d6a01e96903..55d750070b5 100644 --- a/msgraph_beta/generated/models/mailbox_protection_rule_collection_response.py +++ b/msgraph_beta/generated/models/mailbox_protection_rule_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .mailbox_protection_rule import MailboxProtectionRule + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/mailbox_protection_unit.py b/msgraph_beta/generated/models/mailbox_protection_unit.py index ebe93175e96..d20aae7ccd5 100644 --- a/msgraph_beta/generated/models/mailbox_protection_unit.py +++ b/msgraph_beta/generated/models/mailbox_protection_unit.py @@ -57,6 +57,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .protection_unit_base import ProtectionUnitBase + writer.write_str_value("directoryObjectId", self.directory_object_id) diff --git a/msgraph_beta/generated/models/mailbox_protection_unit_collection_response.py b/msgraph_beta/generated/models/mailbox_protection_unit_collection_response.py index 3d4678f5cd2..49826f8b66f 100644 --- a/msgraph_beta/generated/models/mailbox_protection_unit_collection_response.py +++ b/msgraph_beta/generated/models/mailbox_protection_unit_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .mailbox_protection_unit import MailboxProtectionUnit + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/mailbox_protection_units_bulk_addition_job.py b/msgraph_beta/generated/models/mailbox_protection_units_bulk_addition_job.py index f0e74d7cc79..625b4c9e035 100644 --- a/msgraph_beta/generated/models/mailbox_protection_units_bulk_addition_job.py +++ b/msgraph_beta/generated/models/mailbox_protection_units_bulk_addition_job.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .protection_units_bulk_job_base import ProtectionUnitsBulkJobBase + writer.write_collection_of_primitive_values("directoryObjectIds", self.directory_object_ids) writer.write_collection_of_primitive_values("mailboxes", self.mailboxes) diff --git a/msgraph_beta/generated/models/mailbox_protection_units_bulk_addition_job_collection_response.py b/msgraph_beta/generated/models/mailbox_protection_units_bulk_addition_job_collection_response.py index 1e36a3200d0..7d42e38b860 100644 --- a/msgraph_beta/generated/models/mailbox_protection_units_bulk_addition_job_collection_response.py +++ b/msgraph_beta/generated/models/mailbox_protection_units_bulk_addition_job_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .mailbox_protection_units_bulk_addition_job import MailboxProtectionUnitsBulkAdditionJob + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/mailbox_restore_artifact.py b/msgraph_beta/generated/models/mailbox_restore_artifact.py index 604d39d368c..2cc7907be56 100644 --- a/msgraph_beta/generated/models/mailbox_restore_artifact.py +++ b/msgraph_beta/generated/models/mailbox_restore_artifact.py @@ -28,7 +28,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> MailboxRestoreArti if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.granularMailboxRestoreArtifact".casefold(): @@ -65,6 +66,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .granular_mailbox_restore_artifact import GranularMailboxRestoreArtifact + from .restore_artifact_base import RestoreArtifactBase + writer.write_str_value("restoredFolderId", self.restored_folder_id) diff --git a/msgraph_beta/generated/models/mailbox_restore_artifact_collection_response.py b/msgraph_beta/generated/models/mailbox_restore_artifact_collection_response.py index 24083505b07..0c64e15117f 100644 --- a/msgraph_beta/generated/models/mailbox_restore_artifact_collection_response.py +++ b/msgraph_beta/generated/models/mailbox_restore_artifact_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .mailbox_restore_artifact import MailboxRestoreArtifact + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/mailbox_restore_artifacts_bulk_addition_request.py b/msgraph_beta/generated/models/mailbox_restore_artifacts_bulk_addition_request.py new file mode 100644 index 00000000000..977eb6fab0b --- /dev/null +++ b/msgraph_beta/generated/models/mailbox_restore_artifacts_bulk_addition_request.py @@ -0,0 +1,62 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .restore_artifacts_bulk_request_base import RestoreArtifactsBulkRequestBase + +from .restore_artifacts_bulk_request_base import RestoreArtifactsBulkRequestBase + +@dataclass +class MailboxRestoreArtifactsBulkAdditionRequest(RestoreArtifactsBulkRequestBase): + # The directoryObjectIds property + directory_object_ids: Optional[List[str]] = None + # The mailboxes property + mailboxes: Optional[List[str]] = None + # The OdataType property + odata_type: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> MailboxRestoreArtifactsBulkAdditionRequest: + """ + 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: MailboxRestoreArtifactsBulkAdditionRequest + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return MailboxRestoreArtifactsBulkAdditionRequest() + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .restore_artifacts_bulk_request_base import RestoreArtifactsBulkRequestBase + + from .restore_artifacts_bulk_request_base import RestoreArtifactsBulkRequestBase + + fields: Dict[str, Callable[[Any], None]] = { + "directoryObjectIds": lambda n : setattr(self, 'directory_object_ids', n.get_collection_of_primitive_values(str)), + "mailboxes": lambda n : setattr(self, 'mailboxes', n.get_collection_of_primitive_values(str)), + } + 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) + from .restore_artifacts_bulk_request_base import RestoreArtifactsBulkRequestBase + + writer.write_collection_of_primitive_values("directoryObjectIds", self.directory_object_ids) + writer.write_collection_of_primitive_values("mailboxes", self.mailboxes) + + diff --git a/msgraph_beta/generated/models/mailbox_restore_artifacts_bulk_addition_request_collection_response.py b/msgraph_beta/generated/models/mailbox_restore_artifacts_bulk_addition_request_collection_response.py new file mode 100644 index 00000000000..b6dc04f8ac9 --- /dev/null +++ b/msgraph_beta/generated/models/mailbox_restore_artifacts_bulk_addition_request_collection_response.py @@ -0,0 +1,60 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .mailbox_restore_artifacts_bulk_addition_request import MailboxRestoreArtifactsBulkAdditionRequest + +from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + +@dataclass +class MailboxRestoreArtifactsBulkAdditionRequestCollectionResponse(BaseCollectionPaginationCountResponse): + # The value property + value: Optional[List[MailboxRestoreArtifactsBulkAdditionRequest]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> MailboxRestoreArtifactsBulkAdditionRequestCollectionResponse: + """ + 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: MailboxRestoreArtifactsBulkAdditionRequestCollectionResponse + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return MailboxRestoreArtifactsBulkAdditionRequestCollectionResponse() + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .mailbox_restore_artifacts_bulk_addition_request import MailboxRestoreArtifactsBulkAdditionRequest + + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .mailbox_restore_artifacts_bulk_addition_request import MailboxRestoreArtifactsBulkAdditionRequest + + fields: Dict[str, Callable[[Any], None]] = { + "value": lambda n : setattr(self, 'value', n.get_collection_of_object_values(MailboxRestoreArtifactsBulkAdditionRequest)), + } + 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) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .mailbox_restore_artifacts_bulk_addition_request import MailboxRestoreArtifactsBulkAdditionRequest + + writer.write_collection_of_object_values("value", self.value) + + diff --git a/msgraph_beta/generated/models/mailbox_settings.py b/msgraph_beta/generated/models/mailbox_settings.py index c197e50c0de..6e0eff1d53e 100644 --- a/msgraph_beta/generated/models/mailbox_settings.py +++ b/msgraph_beta/generated/models/mailbox_settings.py @@ -95,6 +95,13 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .automatic_replies_setting import AutomaticRepliesSetting + from .delegate_meeting_message_delivery_options import DelegateMeetingMessageDeliveryOptions + from .locale_info import LocaleInfo + from .mailbox_recipient_type import MailboxRecipientType + from .user_purpose import UserPurpose + from .working_hours import WorkingHours + writer.write_str_value("archiveFolder", self.archive_folder) writer.write_object_value("automaticRepliesSetting", self.automatic_replies_setting) writer.write_str_value("dateFormat", self.date_format) diff --git a/msgraph_beta/generated/models/malware_state_for_windows_device.py b/msgraph_beta/generated/models/malware_state_for_windows_device.py index b6bd3dbc882..271c4637c23 100644 --- a/msgraph_beta/generated/models/malware_state_for_windows_device.py +++ b/msgraph_beta/generated/models/malware_state_for_windows_device.py @@ -76,6 +76,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .windows_malware_execution_state import WindowsMalwareExecutionState + from .windows_malware_threat_state import WindowsMalwareThreatState + writer.write_int_value("detectionCount", self.detection_count) writer.write_str_value("deviceName", self.device_name) writer.write_enum_value("executionState", self.execution_state) diff --git a/msgraph_beta/generated/models/malware_state_for_windows_device_collection_response.py b/msgraph_beta/generated/models/malware_state_for_windows_device_collection_response.py index cb134efaf63..6a897be5efa 100644 --- a/msgraph_beta/generated/models/malware_state_for_windows_device_collection_response.py +++ b/msgraph_beta/generated/models/malware_state_for_windows_device_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .malware_state_for_windows_device import MalwareStateForWindowsDevice + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/managed_all_device_certificate_state.py b/msgraph_beta/generated/models/managed_all_device_certificate_state.py index c604391da06..a69e9f5bc45 100644 --- a/msgraph_beta/generated/models/managed_all_device_certificate_state.py +++ b/msgraph_beta/generated/models/managed_all_device_certificate_state.py @@ -88,6 +88,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .certificate_revocation_status import CertificateRevocationStatus + from .entity import Entity + writer.write_datetime_value("certificateExpirationDateTime", self.certificate_expiration_date_time) writer.write_str_value("certificateExtendedKeyUsages", self.certificate_extended_key_usages) writer.write_datetime_value("certificateIssuanceDateTime", self.certificate_issuance_date_time) diff --git a/msgraph_beta/generated/models/managed_all_device_certificate_state_collection_response.py b/msgraph_beta/generated/models/managed_all_device_certificate_state_collection_response.py index ddea566c3ef..22c89b2f4cd 100644 --- a/msgraph_beta/generated/models/managed_all_device_certificate_state_collection_response.py +++ b/msgraph_beta/generated/models/managed_all_device_certificate_state_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .managed_all_device_certificate_state import ManagedAllDeviceCertificateState + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/managed_android_lob_app.py b/msgraph_beta/generated/models/managed_android_lob_app.py index 32889869a6f..d68dfa4973d 100644 --- a/msgraph_beta/generated/models/managed_android_lob_app.py +++ b/msgraph_beta/generated/models/managed_android_lob_app.py @@ -72,6 +72,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .android_minimum_operating_system import AndroidMinimumOperatingSystem + from .android_targeted_platforms import AndroidTargetedPlatforms + from .managed_mobile_lob_app import ManagedMobileLobApp + writer.write_object_value("minimumSupportedOperatingSystem", self.minimum_supported_operating_system) writer.write_str_value("packageId", self.package_id) writer.write_enum_value("targetedPlatforms", self.targeted_platforms) diff --git a/msgraph_beta/generated/models/managed_android_lob_app_collection_response.py b/msgraph_beta/generated/models/managed_android_lob_app_collection_response.py index d03e0c29ae8..ff6548680f6 100644 --- a/msgraph_beta/generated/models/managed_android_lob_app_collection_response.py +++ b/msgraph_beta/generated/models/managed_android_lob_app_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .managed_android_lob_app import ManagedAndroidLobApp + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/managed_android_store_app.py b/msgraph_beta/generated/models/managed_android_store_app.py index cc98549a90f..3b78fdf916c 100644 --- a/msgraph_beta/generated/models/managed_android_store_app.py +++ b/msgraph_beta/generated/models/managed_android_store_app.py @@ -63,6 +63,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .android_minimum_operating_system import AndroidMinimumOperatingSystem + from .managed_app import ManagedApp + writer.write_str_value("appStoreUrl", self.app_store_url) writer.write_object_value("minimumSupportedOperatingSystem", self.minimum_supported_operating_system) writer.write_str_value("packageId", self.package_id) diff --git a/msgraph_beta/generated/models/managed_app.py b/msgraph_beta/generated/models/managed_app.py index cd44551da66..83d376fd3b3 100644 --- a/msgraph_beta/generated/models/managed_app.py +++ b/msgraph_beta/generated/models/managed_app.py @@ -36,7 +36,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> ManagedApp: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.managedAndroidLobApp".casefold(): @@ -99,6 +100,14 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .managed_android_lob_app import ManagedAndroidLobApp + from .managed_android_store_app import ManagedAndroidStoreApp + from .managed_app_availability import ManagedAppAvailability + from .managed_i_o_s_lob_app import ManagedIOSLobApp + from .managed_i_o_s_store_app import ManagedIOSStoreApp + from .managed_mobile_lob_app import ManagedMobileLobApp + from .mobile_app import MobileApp + writer.write_enum_value("appAvailability", self.app_availability) writer.write_str_value("version", self.version) diff --git a/msgraph_beta/generated/models/managed_app_configuration.py b/msgraph_beta/generated/models/managed_app_configuration.py index 87f5abc3555..250744a0973 100644 --- a/msgraph_beta/generated/models/managed_app_configuration.py +++ b/msgraph_beta/generated/models/managed_app_configuration.py @@ -33,7 +33,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> ManagedAppConfigur if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.targetedManagedAppConfiguration".casefold(): @@ -74,6 +75,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_management_configuration_setting import DeviceManagementConfigurationSetting + from .key_value_pair import KeyValuePair + from .managed_app_policy import ManagedAppPolicy + from .targeted_managed_app_configuration import TargetedManagedAppConfiguration + writer.write_collection_of_object_values("customSettings", self.custom_settings) writer.write_collection_of_object_values("settings", self.settings) diff --git a/msgraph_beta/generated/models/managed_app_log_collection_request.py b/msgraph_beta/generated/models/managed_app_log_collection_request.py index fa7179de335..a678c583978 100644 --- a/msgraph_beta/generated/models/managed_app_log_collection_request.py +++ b/msgraph_beta/generated/models/managed_app_log_collection_request.py @@ -85,6 +85,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .managed_app_log_upload import ManagedAppLogUpload + from .managed_app_log_upload_consent import ManagedAppLogUploadConsent + writer.write_datetime_value("completedDateTime", self.completed_date_time) writer.write_str_value("managedAppRegistrationId", self.managed_app_registration_id) writer.write_str_value("requestedBy", self.requested_by) diff --git a/msgraph_beta/generated/models/managed_app_log_collection_request_collection_response.py b/msgraph_beta/generated/models/managed_app_log_collection_request_collection_response.py index a466043c754..eb2fcf867dc 100644 --- a/msgraph_beta/generated/models/managed_app_log_collection_request_collection_response.py +++ b/msgraph_beta/generated/models/managed_app_log_collection_request_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .managed_app_log_collection_request import ManagedAppLogCollectionRequest + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/managed_app_log_upload.py b/msgraph_beta/generated/models/managed_app_log_upload.py index 252255ca328..6b8cd2a6d58 100644 --- a/msgraph_beta/generated/models/managed_app_log_upload.py +++ b/msgraph_beta/generated/models/managed_app_log_upload.py @@ -65,6 +65,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .managed_app_log_upload_state import ManagedAppLogUploadState + writer.write_str_value("managedAppComponent", self.managed_app_component) writer.write_str_value("managedAppComponentDescription", self.managed_app_component_description) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/managed_app_operation.py b/msgraph_beta/generated/models/managed_app_operation.py index 3b7ecec3f8e..b88da812e21 100644 --- a/msgraph_beta/generated/models/managed_app_operation.py +++ b/msgraph_beta/generated/models/managed_app_operation.py @@ -64,6 +64,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_str_value("displayName", self.display_name) writer.write_datetime_value("lastModifiedDateTime", self.last_modified_date_time) writer.write_str_value("state", self.state) diff --git a/msgraph_beta/generated/models/managed_app_operation_collection_response.py b/msgraph_beta/generated/models/managed_app_operation_collection_response.py index 2ae010a59cf..7917f9cb55c 100644 --- a/msgraph_beta/generated/models/managed_app_operation_collection_response.py +++ b/msgraph_beta/generated/models/managed_app_operation_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .managed_app_operation import ManagedAppOperation + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/managed_app_policy.py b/msgraph_beta/generated/models/managed_app_policy.py index c0f66f8128e..e8524b7d6c1 100644 --- a/msgraph_beta/generated/models/managed_app_policy.py +++ b/msgraph_beta/generated/models/managed_app_policy.py @@ -50,7 +50,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> ManagedAppPolicy: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.androidManagedAppProtection".casefold(): @@ -151,6 +152,19 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .android_managed_app_protection import AndroidManagedAppProtection + from .default_managed_app_protection import DefaultManagedAppProtection + from .entity import Entity + from .ios_managed_app_protection import IosManagedAppProtection + from .managed_app_configuration import ManagedAppConfiguration + from .managed_app_protection import ManagedAppProtection + from .mdm_windows_information_protection_policy import MdmWindowsInformationProtectionPolicy + from .targeted_managed_app_configuration import TargetedManagedAppConfiguration + from .targeted_managed_app_protection import TargetedManagedAppProtection + from .windows_information_protection import WindowsInformationProtection + from .windows_information_protection_policy import WindowsInformationProtectionPolicy + from .windows_managed_app_protection import WindowsManagedAppProtection + writer.write_datetime_value("createdDateTime", self.created_date_time) writer.write_str_value("description", self.description) writer.write_str_value("displayName", self.display_name) diff --git a/msgraph_beta/generated/models/managed_app_policy_collection_response.py b/msgraph_beta/generated/models/managed_app_policy_collection_response.py index 7f0d8ae4f5e..2a22bb005f4 100644 --- a/msgraph_beta/generated/models/managed_app_policy_collection_response.py +++ b/msgraph_beta/generated/models/managed_app_policy_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .managed_app_policy import ManagedAppPolicy + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/managed_app_policy_deployment_summary.py b/msgraph_beta/generated/models/managed_app_policy_deployment_summary.py index 03a7e6260de..e81f12fd8dd 100644 --- a/msgraph_beta/generated/models/managed_app_policy_deployment_summary.py +++ b/msgraph_beta/generated/models/managed_app_policy_deployment_summary.py @@ -70,6 +70,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .managed_app_policy_deployment_summary_per_app import ManagedAppPolicyDeploymentSummaryPerApp + writer.write_int_value("configurationDeployedUserCount", self.configuration_deployed_user_count) writer.write_collection_of_object_values("configurationDeploymentSummaryPerApp", self.configuration_deployment_summary_per_app) writer.write_str_value("displayName", self.display_name) diff --git a/msgraph_beta/generated/models/managed_app_policy_deployment_summary_per_app.py b/msgraph_beta/generated/models/managed_app_policy_deployment_summary_per_app.py index 0960971828b..7f669741530 100644 --- a/msgraph_beta/generated/models/managed_app_policy_deployment_summary_per_app.py +++ b/msgraph_beta/generated/models/managed_app_policy_deployment_summary_per_app.py @@ -59,6 +59,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .mobile_app_identifier import MobileAppIdentifier + writer.write_int_value("configurationAppliedUserCount", self.configuration_applied_user_count) writer.write_object_value("mobileAppIdentifier", self.mobile_app_identifier) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/managed_app_protection.py b/msgraph_beta/generated/models/managed_app_protection.py index 27f4ada9f2d..7ee9f23011f 100644 --- a/msgraph_beta/generated/models/managed_app_protection.py +++ b/msgraph_beta/generated/models/managed_app_protection.py @@ -137,7 +137,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> ManagedAppProtecti if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.androidManagedAppProtection".casefold(): @@ -261,6 +262,24 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .android_managed_app_protection import AndroidManagedAppProtection + from .default_managed_app_protection import DefaultManagedAppProtection + from .ios_managed_app_protection import IosManagedAppProtection + from .managed_app_clipboard_sharing_level import ManagedAppClipboardSharingLevel + from .managed_app_data_ingestion_location import ManagedAppDataIngestionLocation + from .managed_app_data_storage_location import ManagedAppDataStorageLocation + from .managed_app_data_transfer_level import ManagedAppDataTransferLevel + from .managed_app_device_threat_level import ManagedAppDeviceThreatLevel + from .managed_app_notification_restriction import ManagedAppNotificationRestriction + from .managed_app_phone_number_redirect_level import ManagedAppPhoneNumberRedirectLevel + from .managed_app_pin_character_set import ManagedAppPinCharacterSet + from .managed_app_policy import ManagedAppPolicy + from .managed_app_remediation_action import ManagedAppRemediationAction + from .managed_browser_type import ManagedBrowserType + from .messaging_redirect_app_type import MessagingRedirectAppType + from .mobile_threat_defense_partner_priority import MobileThreatDefensePartnerPriority + from .targeted_managed_app_protection import TargetedManagedAppProtection + writer.write_collection_of_enum_values("allowedDataIngestionLocations", self.allowed_data_ingestion_locations) writer.write_collection_of_enum_values("allowedDataStorageLocations", self.allowed_data_storage_locations) writer.write_enum_value("allowedInboundDataTransferSources", self.allowed_inbound_data_transfer_sources) diff --git a/msgraph_beta/generated/models/managed_app_protection_policy_set_item.py b/msgraph_beta/generated/models/managed_app_protection_policy_set_item.py index 94315c5296d..8d8c2b0e869 100644 --- a/msgraph_beta/generated/models/managed_app_protection_policy_set_item.py +++ b/msgraph_beta/generated/models/managed_app_protection_policy_set_item.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .policy_set_item import PolicySetItem + writer.write_str_value("targetedAppManagementLevels", self.targeted_app_management_levels) diff --git a/msgraph_beta/generated/models/managed_app_registration.py b/msgraph_beta/generated/models/managed_app_registration.py index 6afa10023a9..94c07c1fda3 100644 --- a/msgraph_beta/generated/models/managed_app_registration.py +++ b/msgraph_beta/generated/models/managed_app_registration.py @@ -75,7 +75,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> ManagedAppRegistra if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.androidManagedAppRegistration".casefold(): @@ -152,6 +153,16 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .android_managed_app_registration import AndroidManagedAppRegistration + from .entity import Entity + from .ios_managed_app_registration import IosManagedAppRegistration + from .managed_app_flagged_reason import ManagedAppFlaggedReason + from .managed_app_log_collection_request import ManagedAppLogCollectionRequest + from .managed_app_operation import ManagedAppOperation + from .managed_app_policy import ManagedAppPolicy + from .mobile_app_identifier import MobileAppIdentifier + from .windows_managed_app_registration import WindowsManagedAppRegistration + writer.write_object_value("appIdentifier", self.app_identifier) writer.write_str_value("applicationVersion", self.application_version) writer.write_collection_of_object_values("appliedPolicies", self.applied_policies) diff --git a/msgraph_beta/generated/models/managed_app_registration_collection_response.py b/msgraph_beta/generated/models/managed_app_registration_collection_response.py index cbb3828127b..a9b285c2855 100644 --- a/msgraph_beta/generated/models/managed_app_registration_collection_response.py +++ b/msgraph_beta/generated/models/managed_app_registration_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .managed_app_registration import ManagedAppRegistration + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/managed_app_remediation_action.py b/msgraph_beta/generated/models/managed_app_remediation_action.py index e0465e65ccd..b9cf6a28dbd 100644 --- a/msgraph_beta/generated/models/managed_app_remediation_action.py +++ b/msgraph_beta/generated/models/managed_app_remediation_action.py @@ -1,10 +1,12 @@ from enum import Enum class ManagedAppRemediationAction(str, Enum): - # app and the corresponding company data to be blocked + # Indicates the user will be blocked from accessing the app and corporate data Block = "block", - # app and the corresponding company data to be wiped + # Indicates the corporate data will be removed from the app Wipe = "wipe", - # app and the corresponding user to be warned + # Indicates user will be warned the when accessing the app Warn = "warn", + # Indicates user will be blocked from accessing the app and corporate data if devices supports this setting + BlockWhenSettingIsSupported = "blockWhenSettingIsSupported", diff --git a/msgraph_beta/generated/models/managed_app_status.py b/msgraph_beta/generated/models/managed_app_status.py index 49d4cd8b34e..cf2ea139122 100644 --- a/msgraph_beta/generated/models/managed_app_status.py +++ b/msgraph_beta/generated/models/managed_app_status.py @@ -31,7 +31,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> ManagedAppStatus: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.managedAppStatusRaw".casefold(): @@ -68,6 +69,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .managed_app_status_raw import ManagedAppStatusRaw + writer.write_str_value("displayName", self.display_name) writer.write_str_value("version", self.version) diff --git a/msgraph_beta/generated/models/managed_app_status_collection_response.py b/msgraph_beta/generated/models/managed_app_status_collection_response.py index b09d6defb95..2bd7334cb12 100644 --- a/msgraph_beta/generated/models/managed_app_status_collection_response.py +++ b/msgraph_beta/generated/models/managed_app_status_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .managed_app_status import ManagedAppStatus + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/managed_app_status_raw.py b/msgraph_beta/generated/models/managed_app_status_raw.py index ee0821da9b5..6b3dc0fc5f7 100644 --- a/msgraph_beta/generated/models/managed_app_status_raw.py +++ b/msgraph_beta/generated/models/managed_app_status_raw.py @@ -51,5 +51,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .managed_app_status import ManagedAppStatus + diff --git a/msgraph_beta/generated/models/managed_device.py b/msgraph_beta/generated/models/managed_device.py index 2278b5e0ba5..65a7d8f0567 100644 --- a/msgraph_beta/generated/models/managed_device.py +++ b/msgraph_beta/generated/models/managed_device.py @@ -252,7 +252,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> ManagedDevice: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.windowsManagedDevice".casefold(): @@ -453,6 +454,45 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .assignment_filter_evaluation_status_details import AssignmentFilterEvaluationStatusDetails + from .chassis_type import ChassisType + from .chrome_o_s_device_property import ChromeOSDeviceProperty + from .cloud_pc_remote_action_result import CloudPcRemoteActionResult + from .compliance_state import ComplianceState + from .configuration_manager_client_enabled_features import ConfigurationManagerClientEnabledFeatures + from .configuration_manager_client_health_state import ConfigurationManagerClientHealthState + from .configuration_manager_client_information import ConfigurationManagerClientInformation + from .detected_app import DetectedApp + from .device_action_result import DeviceActionResult + from .device_category import DeviceCategory + from .device_compliance_policy_state import DeviceCompliancePolicyState + from .device_configuration_state import DeviceConfigurationState + from .device_enrollment_type import DeviceEnrollmentType + from .device_health_attestation_state import DeviceHealthAttestationState + from .device_health_script_policy_state import DeviceHealthScriptPolicyState + from .device_log_collection_response import DeviceLogCollectionResponse + from .device_management_exchange_access_state import DeviceManagementExchangeAccessState + from .device_management_exchange_access_state_reason import DeviceManagementExchangeAccessStateReason + from .device_registration_state import DeviceRegistrationState + from .device_type import DeviceType + from .entity import Entity + from .hardware_information import HardwareInformation + from .join_type import JoinType + from .logged_on_user import LoggedOnUser + from .lost_mode_state import LostModeState + from .managed_device_architecture import ManagedDeviceArchitecture + from .managed_device_management_features import ManagedDeviceManagementFeatures + from .managed_device_mobile_app_configuration_state import ManagedDeviceMobileAppConfigurationState + from .managed_device_owner_type import ManagedDeviceOwnerType + from .managed_device_partner_reported_health_state import ManagedDevicePartnerReportedHealthState + from .management_agent_type import ManagementAgentType + from .management_state import ManagementState + from .owner_type import OwnerType + from .security_baseline_state import SecurityBaselineState + from .user import User + from .windows_managed_device import WindowsManagedDevice + from .windows_protection_state import WindowsProtectionState + writer.write_collection_of_object_values("assignmentFilterEvaluationStatusDetails", self.assignment_filter_evaluation_status_details) writer.write_enum_value("chassisType", self.chassis_type) writer.write_collection_of_object_values("chromeOSDeviceInfo", self.chrome_o_s_device_info) diff --git a/msgraph_beta/generated/models/managed_device_certificate_state.py b/msgraph_beta/generated/models/managed_device_certificate_state.py index bf7bbb23761..3c610ebebea 100644 --- a/msgraph_beta/generated/models/managed_device_certificate_state.py +++ b/msgraph_beta/generated/models/managed_device_certificate_state.py @@ -145,6 +145,16 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .certificate_issuance_states import CertificateIssuanceStates + from .certificate_revocation_status import CertificateRevocationStatus + from .certificate_validity_period_scale import CertificateValidityPeriodScale + from .device_platform_type import DevicePlatformType + from .entity import Entity + from .key_storage_provider_option import KeyStorageProviderOption + from .key_usages import KeyUsages + from .subject_alternative_name_type import SubjectAlternativeNameType + from .subject_name_format import SubjectNameFormat + writer.write_str_value("certificateEnhancedKeyUsage", self.certificate_enhanced_key_usage) writer.write_int_value("certificateErrorCode", self.certificate_error_code) writer.write_datetime_value("certificateExpirationDateTime", self.certificate_expiration_date_time) diff --git a/msgraph_beta/generated/models/managed_device_cleanup_rule.py b/msgraph_beta/generated/models/managed_device_cleanup_rule.py index ff4c5daf7a8..a1638aa4e7c 100644 --- a/msgraph_beta/generated/models/managed_device_cleanup_rule.py +++ b/msgraph_beta/generated/models/managed_device_cleanup_rule.py @@ -70,6 +70,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_cleanup_rule_platform_type import DeviceCleanupRulePlatformType + from .entity import Entity + writer.write_str_value("description", self.description) writer.write_enum_value("deviceCleanupRulePlatformType", self.device_cleanup_rule_platform_type) writer.write_int_value("deviceInactivityBeforeRetirementInDays", self.device_inactivity_before_retirement_in_days) diff --git a/msgraph_beta/generated/models/managed_device_cleanup_rule_collection_response.py b/msgraph_beta/generated/models/managed_device_cleanup_rule_collection_response.py index 585ae582ad3..b30d14df966 100644 --- a/msgraph_beta/generated/models/managed_device_cleanup_rule_collection_response.py +++ b/msgraph_beta/generated/models/managed_device_cleanup_rule_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .managed_device_cleanup_rule import ManagedDeviceCleanupRule + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/managed_device_collection_response.py b/msgraph_beta/generated/models/managed_device_collection_response.py index cd5208a0134..404b57ed92a 100644 --- a/msgraph_beta/generated/models/managed_device_collection_response.py +++ b/msgraph_beta/generated/models/managed_device_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .managed_device import ManagedDevice + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/managed_device_encryption_state.py b/msgraph_beta/generated/models/managed_device_encryption_state.py index 1245ac4d722..eea47036186 100644 --- a/msgraph_beta/generated/models/managed_device_encryption_state.py +++ b/msgraph_beta/generated/models/managed_device_encryption_state.py @@ -105,6 +105,15 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .advanced_bit_locker_state import AdvancedBitLockerState + from .compliance_status import ComplianceStatus + from .device_types import DeviceTypes + from .encryption_readiness_state import EncryptionReadinessState + from .encryption_report_policy_details import EncryptionReportPolicyDetails + from .encryption_state import EncryptionState + from .entity import Entity + from .file_vault_state import FileVaultState + writer.write_enum_value("advancedBitLockerStates", self.advanced_bit_locker_states) writer.write_str_value("deviceName", self.device_name) writer.write_enum_value("deviceType", self.device_type) diff --git a/msgraph_beta/generated/models/managed_device_encryption_state_collection_response.py b/msgraph_beta/generated/models/managed_device_encryption_state_collection_response.py index 9ebf95569e5..8d06966ae00 100644 --- a/msgraph_beta/generated/models/managed_device_encryption_state_collection_response.py +++ b/msgraph_beta/generated/models/managed_device_encryption_state_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .managed_device_encryption_state import ManagedDeviceEncryptionState + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/managed_device_mobile_app_configuration.py b/msgraph_beta/generated/models/managed_device_mobile_app_configuration.py index bb180c8c8bc..6be5fac978a 100644 --- a/msgraph_beta/generated/models/managed_device_mobile_app_configuration.py +++ b/msgraph_beta/generated/models/managed_device_mobile_app_configuration.py @@ -59,7 +59,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> ManagedDeviceMobil if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.androidForWorkMobileAppConfiguration".casefold(): @@ -128,6 +129,16 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .android_for_work_mobile_app_configuration import AndroidForWorkMobileAppConfiguration + from .android_managed_store_app_configuration import AndroidManagedStoreAppConfiguration + from .entity import Entity + from .ios_mobile_app_configuration import IosMobileAppConfiguration + from .managed_device_mobile_app_configuration_assignment import ManagedDeviceMobileAppConfigurationAssignment + from .managed_device_mobile_app_configuration_device_status import ManagedDeviceMobileAppConfigurationDeviceStatus + from .managed_device_mobile_app_configuration_device_summary import ManagedDeviceMobileAppConfigurationDeviceSummary + from .managed_device_mobile_app_configuration_user_status import ManagedDeviceMobileAppConfigurationUserStatus + from .managed_device_mobile_app_configuration_user_summary import ManagedDeviceMobileAppConfigurationUserSummary + writer.write_collection_of_object_values("assignments", self.assignments) writer.write_datetime_value("createdDateTime", self.created_date_time) writer.write_str_value("description", self.description) diff --git a/msgraph_beta/generated/models/managed_device_mobile_app_configuration_assignment.py b/msgraph_beta/generated/models/managed_device_mobile_app_configuration_assignment.py index 872bca6e6b2..803ee830bb2 100644 --- a/msgraph_beta/generated/models/managed_device_mobile_app_configuration_assignment.py +++ b/msgraph_beta/generated/models/managed_device_mobile_app_configuration_assignment.py @@ -57,6 +57,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_and_app_management_assignment_target import DeviceAndAppManagementAssignmentTarget + from .entity import Entity + writer.write_object_value("target", self.target) diff --git a/msgraph_beta/generated/models/managed_device_mobile_app_configuration_assignment_collection_response.py b/msgraph_beta/generated/models/managed_device_mobile_app_configuration_assignment_collection_response.py index 5b6429fb788..8f1a7dd8a7c 100644 --- a/msgraph_beta/generated/models/managed_device_mobile_app_configuration_assignment_collection_response.py +++ b/msgraph_beta/generated/models/managed_device_mobile_app_configuration_assignment_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .managed_device_mobile_app_configuration_assignment import ManagedDeviceMobileAppConfigurationAssignment + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/managed_device_mobile_app_configuration_collection_response.py b/msgraph_beta/generated/models/managed_device_mobile_app_configuration_collection_response.py index 77d4889e366..e8d873cd13d 100644 --- a/msgraph_beta/generated/models/managed_device_mobile_app_configuration_collection_response.py +++ b/msgraph_beta/generated/models/managed_device_mobile_app_configuration_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .managed_device_mobile_app_configuration import ManagedDeviceMobileAppConfiguration + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/managed_device_mobile_app_configuration_device_status.py b/msgraph_beta/generated/models/managed_device_mobile_app_configuration_device_status.py index 61a41ad5753..60f1630c780 100644 --- a/msgraph_beta/generated/models/managed_device_mobile_app_configuration_device_status.py +++ b/msgraph_beta/generated/models/managed_device_mobile_app_configuration_device_status.py @@ -79,6 +79,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .compliance_status import ComplianceStatus + from .entity import Entity + writer.write_datetime_value("complianceGracePeriodExpirationDateTime", self.compliance_grace_period_expiration_date_time) writer.write_str_value("deviceDisplayName", self.device_display_name) writer.write_str_value("deviceModel", self.device_model) diff --git a/msgraph_beta/generated/models/managed_device_mobile_app_configuration_device_status_collection_response.py b/msgraph_beta/generated/models/managed_device_mobile_app_configuration_device_status_collection_response.py index c0e7aceb340..2793e85a759 100644 --- a/msgraph_beta/generated/models/managed_device_mobile_app_configuration_device_status_collection_response.py +++ b/msgraph_beta/generated/models/managed_device_mobile_app_configuration_device_status_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .managed_device_mobile_app_configuration_device_status import ManagedDeviceMobileAppConfigurationDeviceStatus + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/managed_device_mobile_app_configuration_device_summary.py b/msgraph_beta/generated/models/managed_device_mobile_app_configuration_device_summary.py index 80ada8b6e5d..dde9f6533c2 100644 --- a/msgraph_beta/generated/models/managed_device_mobile_app_configuration_device_summary.py +++ b/msgraph_beta/generated/models/managed_device_mobile_app_configuration_device_summary.py @@ -79,6 +79,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_int_value("configurationVersion", self.configuration_version) writer.write_int_value("conflictCount", self.conflict_count) writer.write_int_value("errorCount", self.error_count) diff --git a/msgraph_beta/generated/models/managed_device_mobile_app_configuration_policy_set_item.py b/msgraph_beta/generated/models/managed_device_mobile_app_configuration_policy_set_item.py index c250c578a24..1a0cf43abeb 100644 --- a/msgraph_beta/generated/models/managed_device_mobile_app_configuration_policy_set_item.py +++ b/msgraph_beta/generated/models/managed_device_mobile_app_configuration_policy_set_item.py @@ -51,5 +51,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .policy_set_item import PolicySetItem + diff --git a/msgraph_beta/generated/models/managed_device_mobile_app_configuration_setting_state.py b/msgraph_beta/generated/models/managed_device_mobile_app_configuration_setting_state.py index 55fae288d0d..6fa705be519 100644 --- a/msgraph_beta/generated/models/managed_device_mobile_app_configuration_setting_state.py +++ b/msgraph_beta/generated/models/managed_device_mobile_app_configuration_setting_state.py @@ -95,6 +95,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .compliance_status import ComplianceStatus + from .setting_source import SettingSource + writer.write_str_value("currentValue", self.current_value) writer.write_int_value("errorCode", self.error_code) writer.write_str_value("errorDescription", self.error_description) diff --git a/msgraph_beta/generated/models/managed_device_mobile_app_configuration_state.py b/msgraph_beta/generated/models/managed_device_mobile_app_configuration_state.py index a59e5be9992..f9b6e2f7504 100644 --- a/msgraph_beta/generated/models/managed_device_mobile_app_configuration_state.py +++ b/msgraph_beta/generated/models/managed_device_mobile_app_configuration_state.py @@ -84,6 +84,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .compliance_status import ComplianceStatus + from .entity import Entity + from .managed_device_mobile_app_configuration_setting_state import ManagedDeviceMobileAppConfigurationSettingState + from .policy_platform_type import PolicyPlatformType + writer.write_str_value("displayName", self.display_name) writer.write_enum_value("platformType", self.platform_type) writer.write_int_value("settingCount", self.setting_count) diff --git a/msgraph_beta/generated/models/managed_device_mobile_app_configuration_state_collection_response.py b/msgraph_beta/generated/models/managed_device_mobile_app_configuration_state_collection_response.py index df3999bc5da..dc81f817a60 100644 --- a/msgraph_beta/generated/models/managed_device_mobile_app_configuration_state_collection_response.py +++ b/msgraph_beta/generated/models/managed_device_mobile_app_configuration_state_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .managed_device_mobile_app_configuration_state import ManagedDeviceMobileAppConfigurationState + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/managed_device_mobile_app_configuration_user_status.py b/msgraph_beta/generated/models/managed_device_mobile_app_configuration_user_status.py index 62b89a95f6a..a107c1404ab 100644 --- a/msgraph_beta/generated/models/managed_device_mobile_app_configuration_user_status.py +++ b/msgraph_beta/generated/models/managed_device_mobile_app_configuration_user_status.py @@ -70,6 +70,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .compliance_status import ComplianceStatus + from .entity import Entity + writer.write_int_value("devicesCount", self.devices_count) writer.write_datetime_value("lastReportedDateTime", self.last_reported_date_time) writer.write_enum_value("status", self.status) diff --git a/msgraph_beta/generated/models/managed_device_mobile_app_configuration_user_status_collection_response.py b/msgraph_beta/generated/models/managed_device_mobile_app_configuration_user_status_collection_response.py index 158ebbf30f7..92c57c98dfa 100644 --- a/msgraph_beta/generated/models/managed_device_mobile_app_configuration_user_status_collection_response.py +++ b/msgraph_beta/generated/models/managed_device_mobile_app_configuration_user_status_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .managed_device_mobile_app_configuration_user_status import ManagedDeviceMobileAppConfigurationUserStatus + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/managed_device_mobile_app_configuration_user_summary.py b/msgraph_beta/generated/models/managed_device_mobile_app_configuration_user_summary.py index 1f92187ae97..c7551d3d12d 100644 --- a/msgraph_beta/generated/models/managed_device_mobile_app_configuration_user_summary.py +++ b/msgraph_beta/generated/models/managed_device_mobile_app_configuration_user_summary.py @@ -76,6 +76,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_int_value("configurationVersion", self.configuration_version) writer.write_int_value("conflictCount", self.conflict_count) writer.write_int_value("errorCount", self.error_count) diff --git a/msgraph_beta/generated/models/managed_device_overview.py b/msgraph_beta/generated/models/managed_device_overview.py index 789d020b271..9dd76bb5bab 100644 --- a/msgraph_beta/generated/models/managed_device_overview.py +++ b/msgraph_beta/generated/models/managed_device_overview.py @@ -82,6 +82,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_exchange_access_state_summary import DeviceExchangeAccessStateSummary + from .device_operating_system_summary import DeviceOperatingSystemSummary + from .entity import Entity + from .managed_device_models_and_manufacturers import ManagedDeviceModelsAndManufacturers + writer.write_object_value("deviceExchangeAccessStateSummary", self.device_exchange_access_state_summary) writer.write_object_value("deviceOperatingSystemSummary", self.device_operating_system_summary) writer.write_int_value("dualEnrolledDeviceCount", self.dual_enrolled_device_count) diff --git a/msgraph_beta/generated/models/managed_device_owner_type.py b/msgraph_beta/generated/models/managed_device_owner_type.py index cdad5637e4a..44024a0ed73 100644 --- a/msgraph_beta/generated/models/managed_device_owner_type.py +++ b/msgraph_beta/generated/models/managed_device_owner_type.py @@ -1,10 +1,12 @@ from enum import Enum class ManagedDeviceOwnerType(str, Enum): - # Unknown. + # Unknown device owner type. Unknown = "unknown", - # Owned by company. + # Corporate device owner type. Company = "company", - # Owned by person. + # Personal device owner type. Personal = "personal", + # Evolvable enumeration sentinel value. Do not use. + UnknownFutureValue = "unknownFutureValue", diff --git a/msgraph_beta/generated/models/managed_device_summarized_app_state.py b/msgraph_beta/generated/models/managed_device_summarized_app_state.py index 9acc5c835f3..5f47a48c56d 100644 --- a/msgraph_beta/generated/models/managed_device_summarized_app_state.py +++ b/msgraph_beta/generated/models/managed_device_summarized_app_state.py @@ -59,6 +59,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .device_management_script_run_state import DeviceManagementScriptRunState + writer.write_str_value("deviceId", self.device_id) writer.write_str_value("@odata.type", self.odata_type) writer.write_enum_value("summarizedAppState", self.summarized_app_state) diff --git a/msgraph_beta/generated/models/managed_device_windows_operating_system_edition.py b/msgraph_beta/generated/models/managed_device_windows_operating_system_edition.py index ae659b78292..3f749bda229 100644 --- a/msgraph_beta/generated/models/managed_device_windows_operating_system_edition.py +++ b/msgraph_beta/generated/models/managed_device_windows_operating_system_edition.py @@ -60,6 +60,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .managed_device_windows_operating_system_edition_type import ManagedDeviceWindowsOperatingSystemEditionType + writer.write_enum_value("editionType", self.edition_type) writer.write_str_value("@odata.type", self.odata_type) writer.write_date_value("supportEndDate", self.support_end_date) diff --git a/msgraph_beta/generated/models/managed_device_windows_operating_system_image.py b/msgraph_beta/generated/models/managed_device_windows_operating_system_image.py index 6cfec0caaa9..3c4f1501fb6 100644 --- a/msgraph_beta/generated/models/managed_device_windows_operating_system_image.py +++ b/msgraph_beta/generated/models/managed_device_windows_operating_system_image.py @@ -69,6 +69,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .managed_device_architecture import ManagedDeviceArchitecture + from .managed_device_windows_operating_system_edition import ManagedDeviceWindowsOperatingSystemEdition + from .managed_device_windows_operating_system_update import ManagedDeviceWindowsOperatingSystemUpdate + writer.write_collection_of_object_values("availableUpdates", self.available_updates) writer.write_collection_of_enum_values("supportedArchitectures", self.supported_architectures) writer.write_collection_of_object_values("supportedEditions", self.supported_editions) diff --git a/msgraph_beta/generated/models/managed_device_windows_operating_system_image_collection_response.py b/msgraph_beta/generated/models/managed_device_windows_operating_system_image_collection_response.py index 987c00e4025..ba305411d63 100644 --- a/msgraph_beta/generated/models/managed_device_windows_operating_system_image_collection_response.py +++ b/msgraph_beta/generated/models/managed_device_windows_operating_system_image_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .managed_device_windows_operating_system_image import ManagedDeviceWindowsOperatingSystemImage + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/managed_e_book.py b/msgraph_beta/generated/models/managed_e_book.py index 4f0e9ef3239..40a6c6f7ba8 100644 --- a/msgraph_beta/generated/models/managed_e_book.py +++ b/msgraph_beta/generated/models/managed_e_book.py @@ -62,7 +62,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> ManagedEBook: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.iosVppEBook".casefold(): @@ -123,6 +124,15 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_install_state import DeviceInstallState + from .entity import Entity + from .e_book_install_summary import EBookInstallSummary + from .ios_vpp_e_book import IosVppEBook + from .managed_e_book_assignment import ManagedEBookAssignment + from .managed_e_book_category import ManagedEBookCategory + from .mime_content import MimeContent + from .user_install_state_summary import UserInstallStateSummary + writer.write_collection_of_object_values("assignments", self.assignments) writer.write_collection_of_object_values("categories", self.categories) writer.write_datetime_value("createdDateTime", self.created_date_time) diff --git a/msgraph_beta/generated/models/managed_e_book_assignment.py b/msgraph_beta/generated/models/managed_e_book_assignment.py index af42dcd6555..ee3ac419797 100644 --- a/msgraph_beta/generated/models/managed_e_book_assignment.py +++ b/msgraph_beta/generated/models/managed_e_book_assignment.py @@ -33,7 +33,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> ManagedEBookAssign if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.iosVppEBookAssignment".casefold(): @@ -74,6 +75,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_and_app_management_assignment_target import DeviceAndAppManagementAssignmentTarget + from .entity import Entity + from .install_intent import InstallIntent + from .ios_vpp_e_book_assignment import IosVppEBookAssignment + writer.write_enum_value("installIntent", self.install_intent) writer.write_object_value("target", self.target) diff --git a/msgraph_beta/generated/models/managed_e_book_assignment_collection_response.py b/msgraph_beta/generated/models/managed_e_book_assignment_collection_response.py index c5afe8f97a3..ba993d0addf 100644 --- a/msgraph_beta/generated/models/managed_e_book_assignment_collection_response.py +++ b/msgraph_beta/generated/models/managed_e_book_assignment_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .managed_e_book_assignment import ManagedEBookAssignment + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/managed_e_book_category.py b/msgraph_beta/generated/models/managed_e_book_category.py index 273e1a22f9f..665bd849ec8 100644 --- a/msgraph_beta/generated/models/managed_e_book_category.py +++ b/msgraph_beta/generated/models/managed_e_book_category.py @@ -58,6 +58,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_str_value("displayName", self.display_name) writer.write_datetime_value("lastModifiedDateTime", self.last_modified_date_time) diff --git a/msgraph_beta/generated/models/managed_e_book_category_collection_response.py b/msgraph_beta/generated/models/managed_e_book_category_collection_response.py index ef78e1dfbd5..2dd28a460d2 100644 --- a/msgraph_beta/generated/models/managed_e_book_category_collection_response.py +++ b/msgraph_beta/generated/models/managed_e_book_category_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .managed_e_book_category import ManagedEBookCategory + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/managed_e_book_collection_response.py b/msgraph_beta/generated/models/managed_e_book_collection_response.py index fc03de0265b..aff25858fae 100644 --- a/msgraph_beta/generated/models/managed_e_book_collection_response.py +++ b/msgraph_beta/generated/models/managed_e_book_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .managed_e_book import ManagedEBook + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/managed_i_o_s_lob_app.py b/msgraph_beta/generated/models/managed_i_o_s_lob_app.py index d7f67430a2e..4dfd1a2e4b7 100644 --- a/msgraph_beta/generated/models/managed_i_o_s_lob_app.py +++ b/msgraph_beta/generated/models/managed_i_o_s_lob_app.py @@ -79,6 +79,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .ios_device_type import IosDeviceType + from .ios_minimum_operating_system import IosMinimumOperatingSystem + from .managed_mobile_lob_app import ManagedMobileLobApp + writer.write_object_value("applicableDeviceType", self.applicable_device_type) writer.write_str_value("buildNumber", self.build_number) writer.write_str_value("bundleId", self.bundle_id) diff --git a/msgraph_beta/generated/models/managed_i_o_s_lob_app_collection_response.py b/msgraph_beta/generated/models/managed_i_o_s_lob_app_collection_response.py index caa31f2b499..bb16756d502 100644 --- a/msgraph_beta/generated/models/managed_i_o_s_lob_app_collection_response.py +++ b/msgraph_beta/generated/models/managed_i_o_s_lob_app_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .managed_i_o_s_lob_app import ManagedIOSLobApp + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/managed_i_o_s_store_app.py b/msgraph_beta/generated/models/managed_i_o_s_store_app.py index 172033da2e5..20e17c349c4 100644 --- a/msgraph_beta/generated/models/managed_i_o_s_store_app.py +++ b/msgraph_beta/generated/models/managed_i_o_s_store_app.py @@ -69,6 +69,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .ios_device_type import IosDeviceType + from .ios_minimum_operating_system import IosMinimumOperatingSystem + from .managed_app import ManagedApp + writer.write_str_value("appStoreUrl", self.app_store_url) writer.write_object_value("applicableDeviceType", self.applicable_device_type) writer.write_str_value("bundleId", self.bundle_id) diff --git a/msgraph_beta/generated/models/managed_identity.py b/msgraph_beta/generated/models/managed_identity.py index 11ff89ffc7f..f7723ad1c2f 100644 --- a/msgraph_beta/generated/models/managed_identity.py +++ b/msgraph_beta/generated/models/managed_identity.py @@ -62,6 +62,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .msi_type import MsiType + writer.write_str_value("associatedResourceId", self.associated_resource_id) writer.write_str_value("federatedTokenId", self.federated_token_id) writer.write_str_value("federatedTokenIssuer", self.federated_token_issuer) diff --git a/msgraph_beta/generated/models/managed_mobile_app.py b/msgraph_beta/generated/models/managed_mobile_app.py index 4558e7bd154..3d216410dbd 100644 --- a/msgraph_beta/generated/models/managed_mobile_app.py +++ b/msgraph_beta/generated/models/managed_mobile_app.py @@ -60,6 +60,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .mobile_app_identifier import MobileAppIdentifier + writer.write_object_value("mobileAppIdentifier", self.mobile_app_identifier) writer.write_str_value("version", self.version) diff --git a/msgraph_beta/generated/models/managed_mobile_app_collection_response.py b/msgraph_beta/generated/models/managed_mobile_app_collection_response.py index 73bfbd1e4f0..60b3de79759 100644 --- a/msgraph_beta/generated/models/managed_mobile_app_collection_response.py +++ b/msgraph_beta/generated/models/managed_mobile_app_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .managed_mobile_app import ManagedMobileApp + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/managed_mobile_lob_app.py b/msgraph_beta/generated/models/managed_mobile_lob_app.py index 913e9884712..287dd7b2526 100644 --- a/msgraph_beta/generated/models/managed_mobile_lob_app.py +++ b/msgraph_beta/generated/models/managed_mobile_lob_app.py @@ -37,7 +37,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> ManagedMobileLobAp if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.managedAndroidLobApp".casefold(): @@ -84,6 +85,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .managed_android_lob_app import ManagedAndroidLobApp + from .managed_app import ManagedApp + from .managed_i_o_s_lob_app import ManagedIOSLobApp + from .mobile_app_content import MobileAppContent + writer.write_str_value("committedContentVersion", self.committed_content_version) writer.write_collection_of_object_values("contentVersions", self.content_versions) writer.write_str_value("fileName", self.file_name) diff --git a/msgraph_beta/generated/models/managed_mobile_lob_app_collection_response.py b/msgraph_beta/generated/models/managed_mobile_lob_app_collection_response.py index 102a6789857..ffd55b81d58 100644 --- a/msgraph_beta/generated/models/managed_mobile_lob_app_collection_response.py +++ b/msgraph_beta/generated/models/managed_mobile_lob_app_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .managed_mobile_lob_app import ManagedMobileLobApp + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/managed_tenants/aggregated_policy_compliance.py b/msgraph_beta/generated/models/managed_tenants/aggregated_policy_compliance.py index e93ad44fcf6..e6cddbad2f5 100644 --- a/msgraph_beta/generated/models/managed_tenants/aggregated_policy_compliance.py +++ b/msgraph_beta/generated/models/managed_tenants/aggregated_policy_compliance.py @@ -82,6 +82,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + writer.write_str_value("compliancePolicyId", self.compliance_policy_id) writer.write_str_value("compliancePolicyName", self.compliance_policy_name) writer.write_str_value("compliancePolicyPlatform", self.compliance_policy_platform) diff --git a/msgraph_beta/generated/models/managed_tenants/aggregated_policy_compliance_collection_response.py b/msgraph_beta/generated/models/managed_tenants/aggregated_policy_compliance_collection_response.py index 56abdabaa98..7bd7a486e05 100644 --- a/msgraph_beta/generated/models/managed_tenants/aggregated_policy_compliance_collection_response.py +++ b/msgraph_beta/generated/models/managed_tenants/aggregated_policy_compliance_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .aggregated_policy_compliance import AggregatedPolicyCompliance + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/managed_tenants/alert_rule_definition_template.py b/msgraph_beta/generated/models/managed_tenants/alert_rule_definition_template.py index 6b61d22424c..6a2ca3e581d 100644 --- a/msgraph_beta/generated/models/managed_tenants/alert_rule_definition_template.py +++ b/msgraph_beta/generated/models/managed_tenants/alert_rule_definition_template.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .alert_severity import AlertSeverity + writer.write_enum_value("defaultSeverity", self.default_severity) writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/managed_tenants/app_performance.py b/msgraph_beta/generated/models/managed_tenants/app_performance.py index 6d61618285d..19887062574 100644 --- a/msgraph_beta/generated/models/managed_tenants/app_performance.py +++ b/msgraph_beta/generated/models/managed_tenants/app_performance.py @@ -79,6 +79,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + writer.write_str_value("appFriendlyName", self.app_friendly_name) writer.write_str_value("appName", self.app_name) writer.write_str_value("appPublisher", self.app_publisher) diff --git a/msgraph_beta/generated/models/managed_tenants/app_performance_collection_response.py b/msgraph_beta/generated/models/managed_tenants/app_performance_collection_response.py index faad41746f2..4b15f73a70b 100644 --- a/msgraph_beta/generated/models/managed_tenants/app_performance_collection_response.py +++ b/msgraph_beta/generated/models/managed_tenants/app_performance_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .app_performance import AppPerformance + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/managed_tenants/audit_event.py b/msgraph_beta/generated/models/managed_tenants/audit_event.py index cce1742aa88..942aa70594c 100644 --- a/msgraph_beta/generated/models/managed_tenants/audit_event.py +++ b/msgraph_beta/generated/models/managed_tenants/audit_event.py @@ -88,6 +88,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + writer.write_str_value("activity", self.activity) writer.write_datetime_value("activityDateTime", self.activity_date_time) writer.write_str_value("activityId", self.activity_id) diff --git a/msgraph_beta/generated/models/managed_tenants/audit_event_collection_response.py b/msgraph_beta/generated/models/managed_tenants/audit_event_collection_response.py index 57fbe741e56..8d414825ddc 100644 --- a/msgraph_beta/generated/models/managed_tenants/audit_event_collection_response.py +++ b/msgraph_beta/generated/models/managed_tenants/audit_event_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .audit_event import AuditEvent + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/managed_tenants/cloud_pc_connection.py b/msgraph_beta/generated/models/managed_tenants/cloud_pc_connection.py index f0fa1a2ac1c..c50fbde2d5d 100644 --- a/msgraph_beta/generated/models/managed_tenants/cloud_pc_connection.py +++ b/msgraph_beta/generated/models/managed_tenants/cloud_pc_connection.py @@ -64,6 +64,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + writer.write_str_value("displayName", self.display_name) writer.write_str_value("healthCheckStatus", self.health_check_status) writer.write_datetime_value("lastRefreshedDateTime", self.last_refreshed_date_time) diff --git a/msgraph_beta/generated/models/managed_tenants/cloud_pc_connection_collection_response.py b/msgraph_beta/generated/models/managed_tenants/cloud_pc_connection_collection_response.py index 97a68e97d7e..b1fdb371adb 100644 --- a/msgraph_beta/generated/models/managed_tenants/cloud_pc_connection_collection_response.py +++ b/msgraph_beta/generated/models/managed_tenants/cloud_pc_connection_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .cloud_pc_connection import CloudPcConnection + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/managed_tenants/cloud_pc_device.py b/msgraph_beta/generated/models/managed_tenants/cloud_pc_device.py index 80fb214dc77..f413be89169 100644 --- a/msgraph_beta/generated/models/managed_tenants/cloud_pc_device.py +++ b/msgraph_beta/generated/models/managed_tenants/cloud_pc_device.py @@ -85,6 +85,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + writer.write_str_value("cloudPcStatus", self.cloud_pc_status) writer.write_str_value("deviceSpecification", self.device_specification) writer.write_str_value("displayName", self.display_name) diff --git a/msgraph_beta/generated/models/managed_tenants/cloud_pc_device_collection_response.py b/msgraph_beta/generated/models/managed_tenants/cloud_pc_device_collection_response.py index 48c6bb258eb..6d42f08f8ab 100644 --- a/msgraph_beta/generated/models/managed_tenants/cloud_pc_device_collection_response.py +++ b/msgraph_beta/generated/models/managed_tenants/cloud_pc_device_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .cloud_pc_device import CloudPcDevice + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/managed_tenants/cloud_pc_overview.py b/msgraph_beta/generated/models/managed_tenants/cloud_pc_overview.py index 28f3fd8617a..f2879171299 100644 --- a/msgraph_beta/generated/models/managed_tenants/cloud_pc_overview.py +++ b/msgraph_beta/generated/models/managed_tenants/cloud_pc_overview.py @@ -112,6 +112,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + writer.write_int_value("frontlineLicensesCount", self.frontline_licenses_count) writer.write_datetime_value("lastRefreshedDateTime", self.last_refreshed_date_time) writer.write_int_value("numberOfCloudPcConnectionStatusFailed", self.number_of_cloud_pc_connection_status_failed) diff --git a/msgraph_beta/generated/models/managed_tenants/cloud_pc_overview_collection_response.py b/msgraph_beta/generated/models/managed_tenants/cloud_pc_overview_collection_response.py index d34f7ba4108..1ba1004c5f4 100644 --- a/msgraph_beta/generated/models/managed_tenants/cloud_pc_overview_collection_response.py +++ b/msgraph_beta/generated/models/managed_tenants/cloud_pc_overview_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .cloud_pc_overview import CloudPcOverview + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/managed_tenants/conditional_access_policy_coverage.py b/msgraph_beta/generated/models/managed_tenants/conditional_access_policy_coverage.py index 6720af910d4..412d87f74d3 100644 --- a/msgraph_beta/generated/models/managed_tenants/conditional_access_policy_coverage.py +++ b/msgraph_beta/generated/models/managed_tenants/conditional_access_policy_coverage.py @@ -61,6 +61,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + writer.write_str_value("conditionalAccessPolicyState", self.conditional_access_policy_state) writer.write_datetime_value("latestPolicyModifiedDateTime", self.latest_policy_modified_date_time) writer.write_bool_value("requiresDeviceCompliance", self.requires_device_compliance) diff --git a/msgraph_beta/generated/models/managed_tenants/conditional_access_policy_coverage_collection_response.py b/msgraph_beta/generated/models/managed_tenants/conditional_access_policy_coverage_collection_response.py index 1905d5c66ce..336449fecc6 100644 --- a/msgraph_beta/generated/models/managed_tenants/conditional_access_policy_coverage_collection_response.py +++ b/msgraph_beta/generated/models/managed_tenants/conditional_access_policy_coverage_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .conditional_access_policy_coverage import ConditionalAccessPolicyCoverage + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/managed_tenants/credential_user_registrations_summary.py b/msgraph_beta/generated/models/managed_tenants/credential_user_registrations_summary.py index ba41444b4a7..8ab89239a1c 100644 --- a/msgraph_beta/generated/models/managed_tenants/credential_user_registrations_summary.py +++ b/msgraph_beta/generated/models/managed_tenants/credential_user_registrations_summary.py @@ -85,6 +85,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + writer.write_datetime_value("lastRefreshedDateTime", self.last_refreshed_date_time) writer.write_int_value("mfaAndSsprCapableUserCount", self.mfa_and_sspr_capable_user_count) writer.write_str_value("mfaConditionalAccessPolicyState", self.mfa_conditional_access_policy_state) diff --git a/msgraph_beta/generated/models/managed_tenants/credential_user_registrations_summary_collection_response.py b/msgraph_beta/generated/models/managed_tenants/credential_user_registrations_summary_collection_response.py index b2a25ba9f71..96587312b86 100644 --- a/msgraph_beta/generated/models/managed_tenants/credential_user_registrations_summary_collection_response.py +++ b/msgraph_beta/generated/models/managed_tenants/credential_user_registrations_summary_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .credential_user_registrations_summary import CredentialUserRegistrationsSummary + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/managed_tenants/device_app_performance.py b/msgraph_beta/generated/models/managed_tenants/device_app_performance.py index 78dbd206e0d..2948b1c8225 100644 --- a/msgraph_beta/generated/models/managed_tenants/device_app_performance.py +++ b/msgraph_beta/generated/models/managed_tenants/device_app_performance.py @@ -97,6 +97,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + writer.write_str_value("appFriendlyName", self.app_friendly_name) writer.write_str_value("appName", self.app_name) writer.write_str_value("appPublisher", self.app_publisher) diff --git a/msgraph_beta/generated/models/managed_tenants/device_app_performance_collection_response.py b/msgraph_beta/generated/models/managed_tenants/device_app_performance_collection_response.py index 1fb6b468918..48b38b1500f 100644 --- a/msgraph_beta/generated/models/managed_tenants/device_app_performance_collection_response.py +++ b/msgraph_beta/generated/models/managed_tenants/device_app_performance_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .device_app_performance import DeviceAppPerformance + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/managed_tenants/device_compliance_policy_setting_state_summary.py b/msgraph_beta/generated/models/managed_tenants/device_compliance_policy_setting_state_summary.py index f020cfddfd9..b5357461c9d 100644 --- a/msgraph_beta/generated/models/managed_tenants/device_compliance_policy_setting_state_summary.py +++ b/msgraph_beta/generated/models/managed_tenants/device_compliance_policy_setting_state_summary.py @@ -88,6 +88,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + writer.write_int_value("conflictDeviceCount", self.conflict_device_count) writer.write_int_value("errorDeviceCount", self.error_device_count) writer.write_int_value("failedDeviceCount", self.failed_device_count) diff --git a/msgraph_beta/generated/models/managed_tenants/device_compliance_policy_setting_state_summary_collection_response.py b/msgraph_beta/generated/models/managed_tenants/device_compliance_policy_setting_state_summary_collection_response.py index c56e27d8e30..fd9de34dd16 100644 --- a/msgraph_beta/generated/models/managed_tenants/device_compliance_policy_setting_state_summary_collection_response.py +++ b/msgraph_beta/generated/models/managed_tenants/device_compliance_policy_setting_state_summary_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .device_compliance_policy_setting_state_summary import DeviceCompliancePolicySettingStateSummary + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/managed_tenants/device_health_status.py b/msgraph_beta/generated/models/managed_tenants/device_health_status.py index 14df9b059e0..52f3db7f683 100644 --- a/msgraph_beta/generated/models/managed_tenants/device_health_status.py +++ b/msgraph_beta/generated/models/managed_tenants/device_health_status.py @@ -94,6 +94,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + writer.write_int_value("blueScreenCount", self.blue_screen_count) writer.write_float_value("bootTotalDurationInSeconds", self.boot_total_duration_in_seconds) writer.write_str_value("deviceId", self.device_id) diff --git a/msgraph_beta/generated/models/managed_tenants/device_health_status_collection_response.py b/msgraph_beta/generated/models/managed_tenants/device_health_status_collection_response.py index 71bb71a50fc..04e5954038d 100644 --- a/msgraph_beta/generated/models/managed_tenants/device_health_status_collection_response.py +++ b/msgraph_beta/generated/models/managed_tenants/device_health_status_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .device_health_status import DeviceHealthStatus + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/managed_tenants/managed_device_compliance.py b/msgraph_beta/generated/models/managed_tenants/managed_device_compliance.py index 2c85152bf40..13bdfb22448 100644 --- a/msgraph_beta/generated/models/managed_tenants/managed_device_compliance.py +++ b/msgraph_beta/generated/models/managed_tenants/managed_device_compliance.py @@ -91,6 +91,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + writer.write_str_value("complianceStatus", self.compliance_status) writer.write_str_value("deviceType", self.device_type) writer.write_datetime_value("inGracePeriodUntilDateTime", self.in_grace_period_until_date_time) diff --git a/msgraph_beta/generated/models/managed_tenants/managed_device_compliance_collection_response.py b/msgraph_beta/generated/models/managed_tenants/managed_device_compliance_collection_response.py index cbbc5b1a020..bb12a493658 100644 --- a/msgraph_beta/generated/models/managed_tenants/managed_device_compliance_collection_response.py +++ b/msgraph_beta/generated/models/managed_tenants/managed_device_compliance_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .managed_device_compliance import ManagedDeviceCompliance + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/managed_tenants/managed_device_compliance_trend.py b/msgraph_beta/generated/models/managed_tenants/managed_device_compliance_trend.py index b2024e87c2b..67602f8769f 100644 --- a/msgraph_beta/generated/models/managed_tenants/managed_device_compliance_trend.py +++ b/msgraph_beta/generated/models/managed_tenants/managed_device_compliance_trend.py @@ -75,6 +75,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + writer.write_int_value("compliantDeviceCount", self.compliant_device_count) writer.write_int_value("configManagerDeviceCount", self.config_manager_device_count) writer.write_str_value("countDateTime", self.count_date_time) diff --git a/msgraph_beta/generated/models/managed_tenants/managed_device_compliance_trend_collection_response.py b/msgraph_beta/generated/models/managed_tenants/managed_device_compliance_trend_collection_response.py index b513fb9d728..24ebc31d181 100644 --- a/msgraph_beta/generated/models/managed_tenants/managed_device_compliance_trend_collection_response.py +++ b/msgraph_beta/generated/models/managed_tenants/managed_device_compliance_trend_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .managed_device_compliance_trend import ManagedDeviceComplianceTrend + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/managed_tenants/managed_tenant.py b/msgraph_beta/generated/models/managed_tenants/managed_tenant.py index a557bd1d568..4eeb5ece5d5 100644 --- a/msgraph_beta/generated/models/managed_tenants/managed_tenant.py +++ b/msgraph_beta/generated/models/managed_tenants/managed_tenant.py @@ -270,6 +270,45 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + from .aggregated_policy_compliance import AggregatedPolicyCompliance + from .app_performance import AppPerformance + from .audit_event import AuditEvent + from .cloud_pc_connection import CloudPcConnection + from .cloud_pc_device import CloudPcDevice + from .cloud_pc_overview import CloudPcOverview + from .conditional_access_policy_coverage import ConditionalAccessPolicyCoverage + from .credential_user_registrations_summary import CredentialUserRegistrationsSummary + from .device_app_performance import DeviceAppPerformance + from .device_compliance_policy_setting_state_summary import DeviceCompliancePolicySettingStateSummary + from .device_health_status import DeviceHealthStatus + from .managed_device_compliance import ManagedDeviceCompliance + from .managed_device_compliance_trend import ManagedDeviceComplianceTrend + from .managed_tenant_alert import ManagedTenantAlert + from .managed_tenant_alert_log import ManagedTenantAlertLog + from .managed_tenant_alert_rule import ManagedTenantAlertRule + from .managed_tenant_alert_rule_definition import ManagedTenantAlertRuleDefinition + from .managed_tenant_api_notification import ManagedTenantApiNotification + from .managed_tenant_email_notification import ManagedTenantEmailNotification + from .managed_tenant_ticketing_endpoint import ManagedTenantTicketingEndpoint + from .management_action import ManagementAction + from .management_action_tenant_deployment_status import ManagementActionTenantDeploymentStatus + from .management_intent import ManagementIntent + from .management_template import ManagementTemplate + from .management_template_collection import ManagementTemplateCollection + from .management_template_collection_tenant_summary import ManagementTemplateCollectionTenantSummary + from .management_template_step import ManagementTemplateStep + from .management_template_step_tenant_summary import ManagementTemplateStepTenantSummary + from .management_template_step_version import ManagementTemplateStepVersion + from .my_role import MyRole + from .tenant import Tenant + from .tenant_customized_information import TenantCustomizedInformation + from .tenant_detailed_information import TenantDetailedInformation + from .tenant_group import TenantGroup + from .tenant_tag import TenantTag + from .windows_device_malware_state import WindowsDeviceMalwareState + from .windows_protection_state import WindowsProtectionState + writer.write_collection_of_object_values("aggregatedPolicyCompliances", self.aggregated_policy_compliances) writer.write_collection_of_object_values("appPerformances", self.app_performances) writer.write_collection_of_object_values("auditEvents", self.audit_events) diff --git a/msgraph_beta/generated/models/managed_tenants/managed_tenant_alert.py b/msgraph_beta/generated/models/managed_tenants/managed_tenant_alert.py index abb04b728df..9289255fa9e 100644 --- a/msgraph_beta/generated/models/managed_tenants/managed_tenant_alert.py +++ b/msgraph_beta/generated/models/managed_tenants/managed_tenant_alert.py @@ -130,6 +130,16 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + from .alert_data import AlertData + from .alert_data_reference_string import AlertDataReferenceString + from .alert_severity import AlertSeverity + from .alert_status import AlertStatus + from .managed_tenant_alert_log import ManagedTenantAlertLog + from .managed_tenant_alert_rule import ManagedTenantAlertRule + from .managed_tenant_api_notification import ManagedTenantApiNotification + from .managed_tenant_email_notification import ManagedTenantEmailNotification + writer.write_object_value("alertData", self.alert_data) writer.write_collection_of_object_values("alertDataReferenceStrings", self.alert_data_reference_strings) writer.write_collection_of_object_values("alertLogs", self.alert_logs) diff --git a/msgraph_beta/generated/models/managed_tenants/managed_tenant_alert_collection_response.py b/msgraph_beta/generated/models/managed_tenants/managed_tenant_alert_collection_response.py index c5af26bbcde..8bab76f00d0 100644 --- a/msgraph_beta/generated/models/managed_tenants/managed_tenant_alert_collection_response.py +++ b/msgraph_beta/generated/models/managed_tenants/managed_tenant_alert_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .managed_tenant_alert import ManagedTenantAlert + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/managed_tenants/managed_tenant_alert_log.py b/msgraph_beta/generated/models/managed_tenants/managed_tenant_alert_log.py index f50ca81164e..d4fd9871b14 100644 --- a/msgraph_beta/generated/models/managed_tenants/managed_tenant_alert_log.py +++ b/msgraph_beta/generated/models/managed_tenants/managed_tenant_alert_log.py @@ -73,6 +73,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + from .alert_log_content import AlertLogContent + from .managed_tenant_alert import ManagedTenantAlert + writer.write_object_value("alert", self.alert) writer.write_object_value("content", self.content) writer.write_str_value("createdByUserId", self.created_by_user_id) diff --git a/msgraph_beta/generated/models/managed_tenants/managed_tenant_alert_log_collection_response.py b/msgraph_beta/generated/models/managed_tenants/managed_tenant_alert_log_collection_response.py index e0dccedcd99..8bc2c31dcd8 100644 --- a/msgraph_beta/generated/models/managed_tenants/managed_tenant_alert_log_collection_response.py +++ b/msgraph_beta/generated/models/managed_tenants/managed_tenant_alert_log_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .managed_tenant_alert_log import ManagedTenantAlertLog + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/managed_tenants/managed_tenant_alert_rule.py b/msgraph_beta/generated/models/managed_tenants/managed_tenant_alert_rule.py index f08bfb8fa00..5394f7cb14c 100644 --- a/msgraph_beta/generated/models/managed_tenants/managed_tenant_alert_rule.py +++ b/msgraph_beta/generated/models/managed_tenants/managed_tenant_alert_rule.py @@ -112,6 +112,14 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + from .alert_severity import AlertSeverity + from .managed_tenant_alert import ManagedTenantAlert + from .managed_tenant_alert_rule_definition import ManagedTenantAlertRuleDefinition + from .notification_destination import NotificationDestination + from .notification_target import NotificationTarget + from .tenant_info import TenantInfo + writer.write_str_value("alertDisplayName", self.alert_display_name) writer.write_int_value("alertTTL", self.alert_t_t_l) writer.write_collection_of_object_values("alerts", self.alerts) diff --git a/msgraph_beta/generated/models/managed_tenants/managed_tenant_alert_rule_collection_response.py b/msgraph_beta/generated/models/managed_tenants/managed_tenant_alert_rule_collection_response.py index e06f86bc7b8..8c109ce76dd 100644 --- a/msgraph_beta/generated/models/managed_tenants/managed_tenant_alert_rule_collection_response.py +++ b/msgraph_beta/generated/models/managed_tenants/managed_tenant_alert_rule_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .managed_tenant_alert_rule import ManagedTenantAlertRule + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/managed_tenants/managed_tenant_alert_rule_definition.py b/msgraph_beta/generated/models/managed_tenants/managed_tenant_alert_rule_definition.py index dd0a86f0b58..a94522fb390 100644 --- a/msgraph_beta/generated/models/managed_tenants/managed_tenant_alert_rule_definition.py +++ b/msgraph_beta/generated/models/managed_tenants/managed_tenant_alert_rule_definition.py @@ -76,6 +76,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + from .alert_rule_definition_template import AlertRuleDefinitionTemplate + from .managed_tenant_alert_rule import ManagedTenantAlertRule + writer.write_collection_of_object_values("alertRules", self.alert_rules) writer.write_str_value("createdByUserId", self.created_by_user_id) writer.write_datetime_value("createdDateTime", self.created_date_time) diff --git a/msgraph_beta/generated/models/managed_tenants/managed_tenant_alert_rule_definition_collection_response.py b/msgraph_beta/generated/models/managed_tenants/managed_tenant_alert_rule_definition_collection_response.py index 8eb4a86c594..2a112ad28ee 100644 --- a/msgraph_beta/generated/models/managed_tenants/managed_tenant_alert_rule_definition_collection_response.py +++ b/msgraph_beta/generated/models/managed_tenants/managed_tenant_alert_rule_definition_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .managed_tenant_alert_rule_definition import ManagedTenantAlertRuleDefinition + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/managed_tenants/managed_tenant_api_notification.py b/msgraph_beta/generated/models/managed_tenants/managed_tenant_api_notification.py index 538b84670c0..bf3099e2fb0 100644 --- a/msgraph_beta/generated/models/managed_tenants/managed_tenant_api_notification.py +++ b/msgraph_beta/generated/models/managed_tenants/managed_tenant_api_notification.py @@ -79,6 +79,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + from .managed_tenant_alert import ManagedTenantAlert + writer.write_object_value("alert", self.alert) writer.write_str_value("createdByUserId", self.created_by_user_id) writer.write_datetime_value("createdDateTime", self.created_date_time) diff --git a/msgraph_beta/generated/models/managed_tenants/managed_tenant_api_notification_collection_response.py b/msgraph_beta/generated/models/managed_tenants/managed_tenant_api_notification_collection_response.py index c9a86cd055d..ab9fe96b716 100644 --- a/msgraph_beta/generated/models/managed_tenants/managed_tenant_api_notification_collection_response.py +++ b/msgraph_beta/generated/models/managed_tenants/managed_tenant_api_notification_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .managed_tenant_api_notification import ManagedTenantApiNotification + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/managed_tenants/managed_tenant_email_notification.py b/msgraph_beta/generated/models/managed_tenants/managed_tenant_email_notification.py index 08e5ecf6487..2d5a9174aa7 100644 --- a/msgraph_beta/generated/models/managed_tenants/managed_tenant_email_notification.py +++ b/msgraph_beta/generated/models/managed_tenants/managed_tenant_email_notification.py @@ -79,6 +79,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + from .email import Email + from .managed_tenant_alert import ManagedTenantAlert + writer.write_object_value("alert", self.alert) writer.write_str_value("createdByUserId", self.created_by_user_id) writer.write_datetime_value("createdDateTime", self.created_date_time) diff --git a/msgraph_beta/generated/models/managed_tenants/managed_tenant_email_notification_collection_response.py b/msgraph_beta/generated/models/managed_tenants/managed_tenant_email_notification_collection_response.py index da0df8af853..5b242bdb508 100644 --- a/msgraph_beta/generated/models/managed_tenants/managed_tenant_email_notification_collection_response.py +++ b/msgraph_beta/generated/models/managed_tenants/managed_tenant_email_notification_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .managed_tenant_email_notification import ManagedTenantEmailNotification + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/managed_tenants/managed_tenant_ticketing_endpoint.py b/msgraph_beta/generated/models/managed_tenants/managed_tenant_ticketing_endpoint.py index 5b724e65ae8..75b2fd20ed1 100644 --- a/msgraph_beta/generated/models/managed_tenants/managed_tenant_ticketing_endpoint.py +++ b/msgraph_beta/generated/models/managed_tenants/managed_tenant_ticketing_endpoint.py @@ -70,6 +70,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + writer.write_str_value("createdByUserId", self.created_by_user_id) writer.write_datetime_value("createdDateTime", self.created_date_time) writer.write_str_value("displayName", self.display_name) diff --git a/msgraph_beta/generated/models/managed_tenants/managed_tenant_ticketing_endpoint_collection_response.py b/msgraph_beta/generated/models/managed_tenants/managed_tenant_ticketing_endpoint_collection_response.py index fb3ac50b20a..399b26844b7 100644 --- a/msgraph_beta/generated/models/managed_tenants/managed_tenant_ticketing_endpoint_collection_response.py +++ b/msgraph_beta/generated/models/managed_tenants/managed_tenant_ticketing_endpoint_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .managed_tenant_ticketing_endpoint import ManagedTenantTicketingEndpoint + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/managed_tenants/management_action.py b/msgraph_beta/generated/models/managed_tenants/management_action.py index e03f5d763de..b96cf90222a 100644 --- a/msgraph_beta/generated/models/managed_tenants/management_action.py +++ b/msgraph_beta/generated/models/managed_tenants/management_action.py @@ -72,6 +72,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + from .management_category import ManagementCategory + from .workload_action import WorkloadAction + writer.write_enum_value("category", self.category) writer.write_str_value("description", self.description) writer.write_str_value("displayName", self.display_name) diff --git a/msgraph_beta/generated/models/managed_tenants/management_action_collection_response.py b/msgraph_beta/generated/models/managed_tenants/management_action_collection_response.py index a50564de758..f7d3a5a95cb 100644 --- a/msgraph_beta/generated/models/managed_tenants/management_action_collection_response.py +++ b/msgraph_beta/generated/models/managed_tenants/management_action_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .management_action import ManagementAction + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/managed_tenants/management_action_deployment_status.py b/msgraph_beta/generated/models/managed_tenants/management_action_deployment_status.py index c858f40809b..713dd59c22f 100644 --- a/msgraph_beta/generated/models/managed_tenants/management_action_deployment_status.py +++ b/msgraph_beta/generated/models/managed_tenants/management_action_deployment_status.py @@ -68,6 +68,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .management_action_status import ManagementActionStatus + from .workload_action_deployment_status import WorkloadActionDeploymentStatus + writer.write_str_value("managementActionId", self.management_action_id) writer.write_str_value("managementTemplateId", self.management_template_id) writer.write_int_value("managementTemplateVersion", self.management_template_version) diff --git a/msgraph_beta/generated/models/managed_tenants/management_action_tenant_deployment_status.py b/msgraph_beta/generated/models/managed_tenants/management_action_tenant_deployment_status.py index aed21e00702..37cb7f03183 100644 --- a/msgraph_beta/generated/models/managed_tenants/management_action_tenant_deployment_status.py +++ b/msgraph_beta/generated/models/managed_tenants/management_action_tenant_deployment_status.py @@ -60,6 +60,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + from .management_action_deployment_status import ManagementActionDeploymentStatus + writer.write_collection_of_object_values("statuses", self.statuses) writer.write_str_value("tenantGroupId", self.tenant_group_id) writer.write_str_value("tenantId", self.tenant_id) diff --git a/msgraph_beta/generated/models/managed_tenants/management_action_tenant_deployment_status_collection_response.py b/msgraph_beta/generated/models/managed_tenants/management_action_tenant_deployment_status_collection_response.py index c0afdd9e5e3..f8b388c0245 100644 --- a/msgraph_beta/generated/models/managed_tenants/management_action_tenant_deployment_status_collection_response.py +++ b/msgraph_beta/generated/models/managed_tenants/management_action_tenant_deployment_status_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .management_action_tenant_deployment_status import ManagementActionTenantDeploymentStatus + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/managed_tenants/management_intent.py b/msgraph_beta/generated/models/managed_tenants/management_intent.py index 33344e65c86..37b4ee310e2 100644 --- a/msgraph_beta/generated/models/managed_tenants/management_intent.py +++ b/msgraph_beta/generated/models/managed_tenants/management_intent.py @@ -60,6 +60,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + from .management_template_detailed_info import ManagementTemplateDetailedInfo + writer.write_str_value("displayName", self.display_name) writer.write_bool_value("isGlobal", self.is_global) writer.write_collection_of_object_values("managementTemplates", self.management_templates) diff --git a/msgraph_beta/generated/models/managed_tenants/management_intent_collection_response.py b/msgraph_beta/generated/models/managed_tenants/management_intent_collection_response.py index f120e639644..e31c8de4c34 100644 --- a/msgraph_beta/generated/models/managed_tenants/management_intent_collection_response.py +++ b/msgraph_beta/generated/models/managed_tenants/management_intent_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .management_intent import ManagementIntent + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/managed_tenants/management_intent_info.py b/msgraph_beta/generated/models/managed_tenants/management_intent_info.py index 5becec118ff..e0440525451 100644 --- a/msgraph_beta/generated/models/managed_tenants/management_intent_info.py +++ b/msgraph_beta/generated/models/managed_tenants/management_intent_info.py @@ -59,6 +59,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .management_template_detailed_info import ManagementTemplateDetailedInfo + writer.write_str_value("managementIntentDisplayName", self.management_intent_display_name) writer.write_str_value("managementIntentId", self.management_intent_id) writer.write_collection_of_object_values("managementTemplates", self.management_templates) diff --git a/msgraph_beta/generated/models/managed_tenants/management_template.py b/msgraph_beta/generated/models/managed_tenants/management_template.py index d0958abe1fd..b33502cebbf 100644 --- a/msgraph_beta/generated/models/managed_tenants/management_template.py +++ b/msgraph_beta/generated/models/managed_tenants/management_template.py @@ -118,6 +118,15 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..action_url import ActionUrl + from ..entity import Entity + from .management_category import ManagementCategory + from .management_provider import ManagementProvider + from .management_template_collection import ManagementTemplateCollection + from .management_template_step import ManagementTemplateStep + from .template_parameter import TemplateParameter + from .workload_action import WorkloadAction + writer.write_enum_value("category", self.category) writer.write_str_value("createdByUserId", self.created_by_user_id) writer.write_datetime_value("createdDateTime", self.created_date_time) diff --git a/msgraph_beta/generated/models/managed_tenants/management_template_collection.py b/msgraph_beta/generated/models/managed_tenants/management_template_collection.py index e36f9d8e595..d1f79261a47 100644 --- a/msgraph_beta/generated/models/managed_tenants/management_template_collection.py +++ b/msgraph_beta/generated/models/managed_tenants/management_template_collection.py @@ -73,6 +73,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + from .management_template import ManagementTemplate + writer.write_str_value("createdByUserId", self.created_by_user_id) writer.write_datetime_value("createdDateTime", self.created_date_time) writer.write_str_value("description", self.description) diff --git a/msgraph_beta/generated/models/managed_tenants/management_template_collection_collection_response.py b/msgraph_beta/generated/models/managed_tenants/management_template_collection_collection_response.py index 2c00f842747..7b63eb59c63 100644 --- a/msgraph_beta/generated/models/managed_tenants/management_template_collection_collection_response.py +++ b/msgraph_beta/generated/models/managed_tenants/management_template_collection_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .management_template_collection import ManagementTemplateCollection + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/managed_tenants/management_template_collection_response.py b/msgraph_beta/generated/models/managed_tenants/management_template_collection_response.py index 88361eeff45..e28e3289e03 100644 --- a/msgraph_beta/generated/models/managed_tenants/management_template_collection_response.py +++ b/msgraph_beta/generated/models/managed_tenants/management_template_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .management_template import ManagementTemplate + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/managed_tenants/management_template_collection_tenant_summary.py b/msgraph_beta/generated/models/managed_tenants/management_template_collection_tenant_summary.py index fe1b898e8ce..a2985c116e3 100644 --- a/msgraph_beta/generated/models/managed_tenants/management_template_collection_tenant_summary.py +++ b/msgraph_beta/generated/models/managed_tenants/management_template_collection_tenant_summary.py @@ -106,6 +106,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + writer.write_int_value("completeStepsCount", self.complete_steps_count) writer.write_int_value("completeUsersCount", self.complete_users_count) writer.write_str_value("createdByUserId", self.created_by_user_id) diff --git a/msgraph_beta/generated/models/managed_tenants/management_template_collection_tenant_summary_collection_response.py b/msgraph_beta/generated/models/managed_tenants/management_template_collection_tenant_summary_collection_response.py index 02669021fac..b6c1da0bc9d 100644 --- a/msgraph_beta/generated/models/managed_tenants/management_template_collection_tenant_summary_collection_response.py +++ b/msgraph_beta/generated/models/managed_tenants/management_template_collection_tenant_summary_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .management_template_collection_tenant_summary import ManagementTemplateCollectionTenantSummary + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/managed_tenants/management_template_detailed_info.py b/msgraph_beta/generated/models/managed_tenants/management_template_detailed_info.py index b84ca06b818..3e2e8f00208 100644 --- a/msgraph_beta/generated/models/managed_tenants/management_template_detailed_info.py +++ b/msgraph_beta/generated/models/managed_tenants/management_template_detailed_info.py @@ -62,6 +62,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .management_category import ManagementCategory + writer.write_enum_value("category", self.category) writer.write_str_value("displayName", self.display_name) writer.write_str_value("managementTemplateId", self.management_template_id) diff --git a/msgraph_beta/generated/models/managed_tenants/management_template_step.py b/msgraph_beta/generated/models/managed_tenants/management_template_step.py index 52977494528..06c2354319a 100644 --- a/msgraph_beta/generated/models/managed_tenants/management_template_step.py +++ b/msgraph_beta/generated/models/managed_tenants/management_template_step.py @@ -103,6 +103,12 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..action_url import ActionUrl + from ..entity import Entity + from .management_category import ManagementCategory + from .management_template import ManagementTemplate + from .management_template_step_version import ManagementTemplateStepVersion + writer.write_object_value("acceptedVersion", self.accepted_version) writer.write_enum_value("category", self.category) writer.write_str_value("createdByUserId", self.created_by_user_id) diff --git a/msgraph_beta/generated/models/managed_tenants/management_template_step_collection_response.py b/msgraph_beta/generated/models/managed_tenants/management_template_step_collection_response.py index 2ad35ef7154..dad1a33860f 100644 --- a/msgraph_beta/generated/models/managed_tenants/management_template_step_collection_response.py +++ b/msgraph_beta/generated/models/managed_tenants/management_template_step_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .management_template_step import ManagementTemplateStep + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/managed_tenants/management_template_step_deployment.py b/msgraph_beta/generated/models/managed_tenants/management_template_step_deployment.py index fb26a79eba2..e3461b17487 100644 --- a/msgraph_beta/generated/models/managed_tenants/management_template_step_deployment.py +++ b/msgraph_beta/generated/models/managed_tenants/management_template_step_deployment.py @@ -82,6 +82,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + from .graph_a_p_i_error_details import GraphAPIErrorDetails + from .management_template_deployment_status import ManagementTemplateDeploymentStatus + from .management_template_step_version import ManagementTemplateStepVersion + writer.write_str_value("createdByUserId", self.created_by_user_id) writer.write_datetime_value("createdDateTime", self.created_date_time) writer.write_object_value("error", self.error) diff --git a/msgraph_beta/generated/models/managed_tenants/management_template_step_deployment_collection_response.py b/msgraph_beta/generated/models/managed_tenants/management_template_step_deployment_collection_response.py index 3805bd14278..7f05427b22b 100644 --- a/msgraph_beta/generated/models/managed_tenants/management_template_step_deployment_collection_response.py +++ b/msgraph_beta/generated/models/managed_tenants/management_template_step_deployment_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .management_template_step_deployment import ManagementTemplateStepDeployment + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/managed_tenants/management_template_step_tenant_summary.py b/msgraph_beta/generated/models/managed_tenants/management_template_step_tenant_summary.py index 2c8bb4e5a31..283bb99260a 100644 --- a/msgraph_beta/generated/models/managed_tenants/management_template_step_tenant_summary.py +++ b/msgraph_beta/generated/models/managed_tenants/management_template_step_tenant_summary.py @@ -94,6 +94,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + writer.write_int_value("assignedTenantsCount", self.assigned_tenants_count) writer.write_int_value("compliantTenantsCount", self.compliant_tenants_count) writer.write_str_value("createdByUserId", self.created_by_user_id) diff --git a/msgraph_beta/generated/models/managed_tenants/management_template_step_tenant_summary_collection_response.py b/msgraph_beta/generated/models/managed_tenants/management_template_step_tenant_summary_collection_response.py index c357fa997b7..312e0a548c2 100644 --- a/msgraph_beta/generated/models/managed_tenants/management_template_step_tenant_summary_collection_response.py +++ b/msgraph_beta/generated/models/managed_tenants/management_template_step_tenant_summary_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .management_template_step_tenant_summary import ManagementTemplateStepTenantSummary + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/managed_tenants/management_template_step_version.py b/msgraph_beta/generated/models/managed_tenants/management_template_step_version.py index 16b9bda1c23..abbce9257ee 100644 --- a/msgraph_beta/generated/models/managed_tenants/management_template_step_version.py +++ b/msgraph_beta/generated/models/managed_tenants/management_template_step_version.py @@ -88,6 +88,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + from .management_template_step import ManagementTemplateStep + from .management_template_step_deployment import ManagementTemplateStepDeployment + writer.write_object_value("acceptedFor", self.accepted_for) writer.write_str_value("contentMarkdown", self.content_markdown) writer.write_str_value("createdByUserId", self.created_by_user_id) diff --git a/msgraph_beta/generated/models/managed_tenants/management_template_step_version_collection_response.py b/msgraph_beta/generated/models/managed_tenants/management_template_step_version_collection_response.py index cb1ba7115a1..36dff253af6 100644 --- a/msgraph_beta/generated/models/managed_tenants/management_template_step_version_collection_response.py +++ b/msgraph_beta/generated/models/managed_tenants/management_template_step_version_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .management_template_step_version import ManagementTemplateStepVersion + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/managed_tenants/my_role.py b/msgraph_beta/generated/models/managed_tenants/my_role.py index 8a70217359e..3a0b00488a1 100644 --- a/msgraph_beta/generated/models/managed_tenants/my_role.py +++ b/msgraph_beta/generated/models/managed_tenants/my_role.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .role_assignment import RoleAssignment + writer.write_collection_of_object_values("assignments", self.assignments) writer.write_str_value("@odata.type", self.odata_type) writer.write_str_value("tenantId", self.tenant_id) diff --git a/msgraph_beta/generated/models/managed_tenants/my_role_collection_response.py b/msgraph_beta/generated/models/managed_tenants/my_role_collection_response.py index c0401b6f60c..5b7f9b64adb 100644 --- a/msgraph_beta/generated/models/managed_tenants/my_role_collection_response.py +++ b/msgraph_beta/generated/models/managed_tenants/my_role_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .my_role import MyRole + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/managed_tenants/role_assignment.py b/msgraph_beta/generated/models/managed_tenants/role_assignment.py index b40fce91067..97c24810b9c 100644 --- a/msgraph_beta/generated/models/managed_tenants/role_assignment.py +++ b/msgraph_beta/generated/models/managed_tenants/role_assignment.py @@ -59,6 +59,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .delegated_privilege_status import DelegatedPrivilegeStatus + from .role_definition import RoleDefinition + writer.write_enum_value("assignmentType", self.assignment_type) writer.write_str_value("@odata.type", self.odata_type) writer.write_collection_of_object_values("roles", self.roles) diff --git a/msgraph_beta/generated/models/managed_tenants/setting.py b/msgraph_beta/generated/models/managed_tenants/setting.py index c24aeb7ffd8..828afa7fb3d 100644 --- a/msgraph_beta/generated/models/managed_tenants/setting.py +++ b/msgraph_beta/generated/models/managed_tenants/setting.py @@ -65,6 +65,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .management_parameter_value_type import ManagementParameterValueType + writer.write_str_value("displayName", self.display_name) writer.write_str_value("jsonValue", self.json_value) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/managed_tenants/template_parameter.py b/msgraph_beta/generated/models/managed_tenants/template_parameter.py index d072f07bce1..cacf6d67262 100644 --- a/msgraph_beta/generated/models/managed_tenants/template_parameter.py +++ b/msgraph_beta/generated/models/managed_tenants/template_parameter.py @@ -65,6 +65,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .management_parameter_value_type import ManagementParameterValueType + writer.write_str_value("description", self.description) writer.write_str_value("displayName", self.display_name) writer.write_str_value("jsonAllowedValues", self.json_allowed_values) diff --git a/msgraph_beta/generated/models/managed_tenants/tenant.py b/msgraph_beta/generated/models/managed_tenants/tenant.py index 70ddd5fc9ba..a138d2a69d7 100644 --- a/msgraph_beta/generated/models/managed_tenants/tenant.py +++ b/msgraph_beta/generated/models/managed_tenants/tenant.py @@ -73,6 +73,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + from .tenant_contract import TenantContract + from .tenant_status_information import TenantStatusInformation + writer.write_object_value("contract", self.contract) writer.write_datetime_value("createdDateTime", self.created_date_time) writer.write_str_value("displayName", self.display_name) diff --git a/msgraph_beta/generated/models/managed_tenants/tenant_collection_response.py b/msgraph_beta/generated/models/managed_tenants/tenant_collection_response.py index 2a97837c09a..d4be8962d77 100644 --- a/msgraph_beta/generated/models/managed_tenants/tenant_collection_response.py +++ b/msgraph_beta/generated/models/managed_tenants/tenant_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .tenant import Tenant + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/managed_tenants/tenant_customized_information.py b/msgraph_beta/generated/models/managed_tenants/tenant_customized_information.py index 8b187b53e71..789373e9f0b 100644 --- a/msgraph_beta/generated/models/managed_tenants/tenant_customized_information.py +++ b/msgraph_beta/generated/models/managed_tenants/tenant_customized_information.py @@ -82,6 +82,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + from .tenant_contact_information import TenantContactInformation + writer.write_str_value("businessRelationship", self.business_relationship) writer.write_collection_of_primitive_values("complianceRequirements", self.compliance_requirements) writer.write_collection_of_object_values("contacts", self.contacts) diff --git a/msgraph_beta/generated/models/managed_tenants/tenant_customized_information_collection_response.py b/msgraph_beta/generated/models/managed_tenants/tenant_customized_information_collection_response.py index 57d1c746d86..6960b63237c 100644 --- a/msgraph_beta/generated/models/managed_tenants/tenant_customized_information_collection_response.py +++ b/msgraph_beta/generated/models/managed_tenants/tenant_customized_information_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .tenant_customized_information import TenantCustomizedInformation + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/managed_tenants/tenant_detailed_information.py b/msgraph_beta/generated/models/managed_tenants/tenant_detailed_information.py index 28bda0c4b5d..83521f20511 100644 --- a/msgraph_beta/generated/models/managed_tenants/tenant_detailed_information.py +++ b/msgraph_beta/generated/models/managed_tenants/tenant_detailed_information.py @@ -78,6 +78,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + writer.write_str_value("city", self.city) writer.write_str_value("countryCode", self.country_code) writer.write_str_value("countryName", self.country_name) diff --git a/msgraph_beta/generated/models/managed_tenants/tenant_detailed_information_collection_response.py b/msgraph_beta/generated/models/managed_tenants/tenant_detailed_information_collection_response.py index 6490707acf0..ba112d794d8 100644 --- a/msgraph_beta/generated/models/managed_tenants/tenant_detailed_information_collection_response.py +++ b/msgraph_beta/generated/models/managed_tenants/tenant_detailed_information_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .tenant_detailed_information import TenantDetailedInformation + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/managed_tenants/tenant_group.py b/msgraph_beta/generated/models/managed_tenants/tenant_group.py index 66e1be67d8c..f29f6d82563 100644 --- a/msgraph_beta/generated/models/managed_tenants/tenant_group.py +++ b/msgraph_beta/generated/models/managed_tenants/tenant_group.py @@ -69,6 +69,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + from .management_action_info import ManagementActionInfo + from .management_intent_info import ManagementIntentInfo + writer.write_bool_value("allTenantsIncluded", self.all_tenants_included) writer.write_str_value("displayName", self.display_name) writer.write_collection_of_object_values("managementActions", self.management_actions) diff --git a/msgraph_beta/generated/models/managed_tenants/tenant_group_collection_response.py b/msgraph_beta/generated/models/managed_tenants/tenant_group_collection_response.py index 544e6bb7f8f..1969bd38c32 100644 --- a/msgraph_beta/generated/models/managed_tenants/tenant_group_collection_response.py +++ b/msgraph_beta/generated/models/managed_tenants/tenant_group_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .tenant_group import TenantGroup + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/managed_tenants/tenant_status_information.py b/msgraph_beta/generated/models/managed_tenants/tenant_status_information.py index 24e30dc041e..9a787dd157b 100644 --- a/msgraph_beta/generated/models/managed_tenants/tenant_status_information.py +++ b/msgraph_beta/generated/models/managed_tenants/tenant_status_information.py @@ -87,6 +87,11 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .delegated_privilege_status import DelegatedPrivilegeStatus + from .tenant_onboarding_eligibility_reason import TenantOnboardingEligibilityReason + from .tenant_onboarding_status import TenantOnboardingStatus + from .workload_status import WorkloadStatus + writer.write_enum_value("delegatedPrivilegeStatus", self.delegated_privilege_status) writer.write_datetime_value("lastDelegatedPrivilegeRefreshDateTime", self.last_delegated_privilege_refresh_date_time) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/managed_tenants/tenant_tag.py b/msgraph_beta/generated/models/managed_tenants/tenant_tag.py index 673df8ae0fc..011b9dfccb0 100644 --- a/msgraph_beta/generated/models/managed_tenants/tenant_tag.py +++ b/msgraph_beta/generated/models/managed_tenants/tenant_tag.py @@ -76,6 +76,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + from .tenant_info import TenantInfo + writer.write_str_value("createdByUserId", self.created_by_user_id) writer.write_datetime_value("createdDateTime", self.created_date_time) writer.write_datetime_value("deletedDateTime", self.deleted_date_time) diff --git a/msgraph_beta/generated/models/managed_tenants/tenant_tag_collection_response.py b/msgraph_beta/generated/models/managed_tenants/tenant_tag_collection_response.py index 1f5e3d70d4d..da53d487c32 100644 --- a/msgraph_beta/generated/models/managed_tenants/tenant_tag_collection_response.py +++ b/msgraph_beta/generated/models/managed_tenants/tenant_tag_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .tenant_tag import TenantTag + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/managed_tenants/windows_device_malware_state.py b/msgraph_beta/generated/models/managed_tenants/windows_device_malware_state.py index cb34a9841ae..3789e897190 100644 --- a/msgraph_beta/generated/models/managed_tenants/windows_device_malware_state.py +++ b/msgraph_beta/generated/models/managed_tenants/windows_device_malware_state.py @@ -97,6 +97,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + writer.write_str_value("additionalInformationUrl", self.additional_information_url) writer.write_int_value("detectionCount", self.detection_count) writer.write_bool_value("deviceDeleted", self.device_deleted) diff --git a/msgraph_beta/generated/models/managed_tenants/windows_device_malware_state_collection_response.py b/msgraph_beta/generated/models/managed_tenants/windows_device_malware_state_collection_response.py index ff7ef408daf..bdbd232357d 100644 --- a/msgraph_beta/generated/models/managed_tenants/windows_device_malware_state_collection_response.py +++ b/msgraph_beta/generated/models/managed_tenants/windows_device_malware_state_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .windows_device_malware_state import WindowsDeviceMalwareState + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/managed_tenants/windows_protection_state.py b/msgraph_beta/generated/models/managed_tenants/windows_protection_state.py index d45fc505d1c..863de9d68f9 100644 --- a/msgraph_beta/generated/models/managed_tenants/windows_protection_state.py +++ b/msgraph_beta/generated/models/managed_tenants/windows_protection_state.py @@ -124,6 +124,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + writer.write_str_value("antiMalwareVersion", self.anti_malware_version) writer.write_bool_value("attentionRequired", self.attention_required) writer.write_bool_value("deviceDeleted", self.device_deleted) diff --git a/msgraph_beta/generated/models/managed_tenants/windows_protection_state_collection_response.py b/msgraph_beta/generated/models/managed_tenants/windows_protection_state_collection_response.py index 232d1241330..bffe1003984 100644 --- a/msgraph_beta/generated/models/managed_tenants/windows_protection_state_collection_response.py +++ b/msgraph_beta/generated/models/managed_tenants/windows_protection_state_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .windows_protection_state import WindowsProtectionState + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/managed_tenants/workload_action.py b/msgraph_beta/generated/models/managed_tenants/workload_action.py index 164c552e07e..2e9f0bce8f8 100644 --- a/msgraph_beta/generated/models/managed_tenants/workload_action.py +++ b/msgraph_beta/generated/models/managed_tenants/workload_action.py @@ -74,6 +74,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .setting import Setting + from .workload_action_category import WorkloadActionCategory + writer.write_str_value("actionId", self.action_id) writer.write_enum_value("category", self.category) writer.write_str_value("description", self.description) diff --git a/msgraph_beta/generated/models/managed_tenants/workload_action_deployment_status.py b/msgraph_beta/generated/models/managed_tenants/workload_action_deployment_status.py index 183e07822db..d5168d1b3b1 100644 --- a/msgraph_beta/generated/models/managed_tenants/workload_action_deployment_status.py +++ b/msgraph_beta/generated/models/managed_tenants/workload_action_deployment_status.py @@ -78,6 +78,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ..generic_error import GenericError + from .workload_action_status import WorkloadActionStatus + writer.write_str_value("actionId", self.action_id) writer.write_str_value("deployedPolicyId", self.deployed_policy_id) writer.write_object_value("error", self.error) diff --git a/msgraph_beta/generated/models/managed_tenants/workload_status.py b/msgraph_beta/generated/models/managed_tenants/workload_status.py index ec855a7f98d..252fa23d155 100644 --- a/msgraph_beta/generated/models/managed_tenants/workload_status.py +++ b/msgraph_beta/generated/models/managed_tenants/workload_status.py @@ -63,6 +63,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .workload_onboarding_status import WorkloadOnboardingStatus + writer.write_str_value("displayName", self.display_name) writer.write_str_value("@odata.type", self.odata_type) writer.write_datetime_value("offboardedDateTime", self.offboarded_date_time) diff --git a/msgraph_beta/generated/models/mark_content.py b/msgraph_beta/generated/models/mark_content.py index 0b656e5592c..c423a630767 100644 --- a/msgraph_beta/generated/models/mark_content.py +++ b/msgraph_beta/generated/models/mark_content.py @@ -32,7 +32,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> MarkContent: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.addFooter".casefold(): @@ -82,6 +83,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .add_footer import AddFooter + from .add_header import AddHeader + from .add_watermark import AddWatermark + from .label_action_base import LabelActionBase + writer.write_str_value("fontColor", self.font_color) writer.write_int_value("fontSize", self.font_size) writer.write_str_value("text", self.text) diff --git a/msgraph_beta/generated/models/matching_dlp_rule.py b/msgraph_beta/generated/models/matching_dlp_rule.py index 9b08764a77f..cc6d3a32953 100644 --- a/msgraph_beta/generated/models/matching_dlp_rule.py +++ b/msgraph_beta/generated/models/matching_dlp_rule.py @@ -77,6 +77,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .dlp_action_info import DlpActionInfo + from .rule_mode import RuleMode + writer.write_collection_of_object_values("actions", self.actions) writer.write_bool_value("isMostRestrictive", self.is_most_restrictive) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/matching_label.py b/msgraph_beta/generated/models/matching_label.py index 973826db14c..36430b37b62 100644 --- a/msgraph_beta/generated/models/matching_label.py +++ b/msgraph_beta/generated/models/matching_label.py @@ -83,6 +83,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .application_mode import ApplicationMode + from .label_action_base import LabelActionBase + writer.write_enum_value("applicationMode", self.application_mode) writer.write_str_value("description", self.description) writer.write_str_value("displayName", self.display_name) diff --git a/msgraph_beta/generated/models/mdm_windows_information_protection_policy.py b/msgraph_beta/generated/models/mdm_windows_information_protection_policy.py index 8a13285e29b..eb2f02e9eef 100644 --- a/msgraph_beta/generated/models/mdm_windows_information_protection_policy.py +++ b/msgraph_beta/generated/models/mdm_windows_information_protection_policy.py @@ -51,5 +51,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .windows_information_protection import WindowsInformationProtection + diff --git a/msgraph_beta/generated/models/mdm_windows_information_protection_policy_collection_response.py b/msgraph_beta/generated/models/mdm_windows_information_protection_policy_collection_response.py index b79d2a435ed..06ebe59a69b 100644 --- a/msgraph_beta/generated/models/mdm_windows_information_protection_policy_collection_response.py +++ b/msgraph_beta/generated/models/mdm_windows_information_protection_policy_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .mdm_windows_information_protection_policy import MdmWindowsInformationProtectionPolicy + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/mdm_windows_information_protection_policy_policy_set_item.py b/msgraph_beta/generated/models/mdm_windows_information_protection_policy_policy_set_item.py index 0121dae9021..dfb9ffb0baf 100644 --- a/msgraph_beta/generated/models/mdm_windows_information_protection_policy_policy_set_item.py +++ b/msgraph_beta/generated/models/mdm_windows_information_protection_policy_policy_set_item.py @@ -51,5 +51,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .policy_set_item import PolicySetItem + diff --git a/msgraph_beta/generated/models/media.py b/msgraph_beta/generated/models/media.py index 525a5a48feb..e5db4a017a8 100644 --- a/msgraph_beta/generated/models/media.py +++ b/msgraph_beta/generated/models/media.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .media_source import MediaSource + writer.write_bool_value("isTranscriptionShown", self.is_transcription_shown) writer.write_object_value("mediaSource", self.media_source) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/media_config.py b/msgraph_beta/generated/models/media_config.py index f7819ff1e5f..4852c309d85 100644 --- a/msgraph_beta/generated/models/media_config.py +++ b/msgraph_beta/generated/models/media_config.py @@ -30,7 +30,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> MediaConfig: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.appHostedMediaConfig".casefold(): @@ -68,6 +69,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .app_hosted_media_config import AppHostedMediaConfig + from .service_hosted_media_config import ServiceHostedMediaConfig + writer.write_str_value("@odata.type", self.odata_type) writer.write_bool_value("removeFromDefaultAudioGroup", self.remove_from_default_audio_group) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/media_content_rating_australia.py b/msgraph_beta/generated/models/media_content_rating_australia.py index ecf5d7c2cfd..d166da361b5 100644 --- a/msgraph_beta/generated/models/media_content_rating_australia.py +++ b/msgraph_beta/generated/models/media_content_rating_australia.py @@ -59,6 +59,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .rating_australia_movies_type import RatingAustraliaMoviesType + from .rating_australia_television_type import RatingAustraliaTelevisionType + writer.write_enum_value("movieRating", self.movie_rating) writer.write_str_value("@odata.type", self.odata_type) writer.write_enum_value("tvRating", self.tv_rating) diff --git a/msgraph_beta/generated/models/media_content_rating_canada.py b/msgraph_beta/generated/models/media_content_rating_canada.py index c5116120875..49a3c22e8ea 100644 --- a/msgraph_beta/generated/models/media_content_rating_canada.py +++ b/msgraph_beta/generated/models/media_content_rating_canada.py @@ -59,6 +59,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .rating_canada_movies_type import RatingCanadaMoviesType + from .rating_canada_television_type import RatingCanadaTelevisionType + writer.write_enum_value("movieRating", self.movie_rating) writer.write_str_value("@odata.type", self.odata_type) writer.write_enum_value("tvRating", self.tv_rating) diff --git a/msgraph_beta/generated/models/media_content_rating_france.py b/msgraph_beta/generated/models/media_content_rating_france.py index 91405e8eee0..5281c6da286 100644 --- a/msgraph_beta/generated/models/media_content_rating_france.py +++ b/msgraph_beta/generated/models/media_content_rating_france.py @@ -59,6 +59,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .rating_france_movies_type import RatingFranceMoviesType + from .rating_france_television_type import RatingFranceTelevisionType + writer.write_enum_value("movieRating", self.movie_rating) writer.write_str_value("@odata.type", self.odata_type) writer.write_enum_value("tvRating", self.tv_rating) diff --git a/msgraph_beta/generated/models/media_content_rating_germany.py b/msgraph_beta/generated/models/media_content_rating_germany.py index c9a4caf0a30..8031e90b660 100644 --- a/msgraph_beta/generated/models/media_content_rating_germany.py +++ b/msgraph_beta/generated/models/media_content_rating_germany.py @@ -59,6 +59,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .rating_germany_movies_type import RatingGermanyMoviesType + from .rating_germany_television_type import RatingGermanyTelevisionType + writer.write_enum_value("movieRating", self.movie_rating) writer.write_str_value("@odata.type", self.odata_type) writer.write_enum_value("tvRating", self.tv_rating) diff --git a/msgraph_beta/generated/models/media_content_rating_ireland.py b/msgraph_beta/generated/models/media_content_rating_ireland.py index c13cb7991be..495f1f00764 100644 --- a/msgraph_beta/generated/models/media_content_rating_ireland.py +++ b/msgraph_beta/generated/models/media_content_rating_ireland.py @@ -59,6 +59,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .rating_ireland_movies_type import RatingIrelandMoviesType + from .rating_ireland_television_type import RatingIrelandTelevisionType + writer.write_enum_value("movieRating", self.movie_rating) writer.write_str_value("@odata.type", self.odata_type) writer.write_enum_value("tvRating", self.tv_rating) diff --git a/msgraph_beta/generated/models/media_content_rating_japan.py b/msgraph_beta/generated/models/media_content_rating_japan.py index 8f6a3a31e0e..5076cbccd91 100644 --- a/msgraph_beta/generated/models/media_content_rating_japan.py +++ b/msgraph_beta/generated/models/media_content_rating_japan.py @@ -59,6 +59,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .rating_japan_movies_type import RatingJapanMoviesType + from .rating_japan_television_type import RatingJapanTelevisionType + writer.write_enum_value("movieRating", self.movie_rating) writer.write_str_value("@odata.type", self.odata_type) writer.write_enum_value("tvRating", self.tv_rating) diff --git a/msgraph_beta/generated/models/media_content_rating_new_zealand.py b/msgraph_beta/generated/models/media_content_rating_new_zealand.py index 7c26dab8d7a..e4b4b200a40 100644 --- a/msgraph_beta/generated/models/media_content_rating_new_zealand.py +++ b/msgraph_beta/generated/models/media_content_rating_new_zealand.py @@ -59,6 +59,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .rating_new_zealand_movies_type import RatingNewZealandMoviesType + from .rating_new_zealand_television_type import RatingNewZealandTelevisionType + writer.write_enum_value("movieRating", self.movie_rating) writer.write_str_value("@odata.type", self.odata_type) writer.write_enum_value("tvRating", self.tv_rating) diff --git a/msgraph_beta/generated/models/media_content_rating_united_kingdom.py b/msgraph_beta/generated/models/media_content_rating_united_kingdom.py index 46148d68276..6fd02f3b84e 100644 --- a/msgraph_beta/generated/models/media_content_rating_united_kingdom.py +++ b/msgraph_beta/generated/models/media_content_rating_united_kingdom.py @@ -59,6 +59,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .rating_united_kingdom_movies_type import RatingUnitedKingdomMoviesType + from .rating_united_kingdom_television_type import RatingUnitedKingdomTelevisionType + writer.write_enum_value("movieRating", self.movie_rating) writer.write_str_value("@odata.type", self.odata_type) writer.write_enum_value("tvRating", self.tv_rating) diff --git a/msgraph_beta/generated/models/media_content_rating_united_states.py b/msgraph_beta/generated/models/media_content_rating_united_states.py index 7f8af18cf52..dcd0e097cb0 100644 --- a/msgraph_beta/generated/models/media_content_rating_united_states.py +++ b/msgraph_beta/generated/models/media_content_rating_united_states.py @@ -59,6 +59,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .rating_united_states_movies_type import RatingUnitedStatesMoviesType + from .rating_united_states_television_type import RatingUnitedStatesTelevisionType + writer.write_enum_value("movieRating", self.movie_rating) writer.write_str_value("@odata.type", self.odata_type) writer.write_enum_value("tvRating", self.tv_rating) diff --git a/msgraph_beta/generated/models/media_prompt.py b/msgraph_beta/generated/models/media_prompt.py index 3392ab1bc78..0854db6eaf6 100644 --- a/msgraph_beta/generated/models/media_prompt.py +++ b/msgraph_beta/generated/models/media_prompt.py @@ -57,6 +57,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .media_info import MediaInfo + from .prompt import Prompt + writer.write_int_value("loop", self.loop) writer.write_object_value("mediaInfo", self.media_info) diff --git a/msgraph_beta/generated/models/media_source.py b/msgraph_beta/generated/models/media_source.py index 7734bbbdc3b..020546487de 100644 --- a/msgraph_beta/generated/models/media_source.py +++ b/msgraph_beta/generated/models/media_source.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .media_source_content_category import MediaSourceContentCategory + writer.write_enum_value("contentCategory", self.content_category) writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/media_stream.py b/msgraph_beta/generated/models/media_stream.py index c74a0d53b92..e859726ee70 100644 --- a/msgraph_beta/generated/models/media_stream.py +++ b/msgraph_beta/generated/models/media_stream.py @@ -68,6 +68,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .media_direction import MediaDirection + from .modality import Modality + writer.write_enum_value("direction", self.direction) writer.write_str_value("label", self.label) writer.write_enum_value("mediaType", self.media_type) diff --git a/msgraph_beta/generated/models/meeting_activity_statistics.py b/msgraph_beta/generated/models/meeting_activity_statistics.py index 5ada51dc28d..d0ae77a9c92 100644 --- a/msgraph_beta/generated/models/meeting_activity_statistics.py +++ b/msgraph_beta/generated/models/meeting_activity_statistics.py @@ -67,6 +67,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .activity_statistics import ActivityStatistics + writer.write_timedelta_value("afterHours", self.after_hours) writer.write_timedelta_value("conflicting", self.conflicting) writer.write_timedelta_value("long", self.long) diff --git a/msgraph_beta/generated/models/meeting_attendance_report.py b/msgraph_beta/generated/models/meeting_attendance_report.py index a30a50ba9bd..f8225608d4c 100644 --- a/msgraph_beta/generated/models/meeting_attendance_report.py +++ b/msgraph_beta/generated/models/meeting_attendance_report.py @@ -64,6 +64,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .attendance_record import AttendanceRecord + from .entity import Entity + writer.write_collection_of_object_values("attendanceRecords", self.attendance_records) writer.write_datetime_value("meetingEndDateTime", self.meeting_end_date_time) writer.write_datetime_value("meetingStartDateTime", self.meeting_start_date_time) diff --git a/msgraph_beta/generated/models/meeting_attendance_report_collection_response.py b/msgraph_beta/generated/models/meeting_attendance_report_collection_response.py index 6909638ed3f..e362270e6b1 100644 --- a/msgraph_beta/generated/models/meeting_attendance_report_collection_response.py +++ b/msgraph_beta/generated/models/meeting_attendance_report_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .meeting_attendance_report import MeetingAttendanceReport + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/meeting_capability.py b/msgraph_beta/generated/models/meeting_capability.py index a06658d4027..75f89b92002 100644 --- a/msgraph_beta/generated/models/meeting_capability.py +++ b/msgraph_beta/generated/models/meeting_capability.py @@ -59,6 +59,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .auto_admitted_users_type import AutoAdmittedUsersType + writer.write_bool_value("allowAnonymousUsersToDialOut", self.allow_anonymous_users_to_dial_out) writer.write_bool_value("allowAnonymousUsersToStartMeeting", self.allow_anonymous_users_to_start_meeting) writer.write_enum_value("autoAdmittedUsers", self.auto_admitted_users) diff --git a/msgraph_beta/generated/models/meeting_info.py b/msgraph_beta/generated/models/meeting_info.py index 33719112067..a1e7bf8ac2a 100644 --- a/msgraph_beta/generated/models/meeting_info.py +++ b/msgraph_beta/generated/models/meeting_info.py @@ -31,7 +31,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> MeetingInfo: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.joinMeetingIdMeetingInfo".casefold(): @@ -75,6 +76,10 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .join_meeting_id_meeting_info import JoinMeetingIdMeetingInfo + from .organizer_meeting_info import OrganizerMeetingInfo + from .token_meeting_info import TokenMeetingInfo + writer.write_bool_value("allowConversationWithoutHost", self.allow_conversation_without_host) writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/meeting_note.py b/msgraph_beta/generated/models/meeting_note.py index 8d349c92bc0..ff62ab957b4 100644 --- a/msgraph_beta/generated/models/meeting_note.py +++ b/msgraph_beta/generated/models/meeting_note.py @@ -59,6 +59,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .meeting_note_subpoint import MeetingNoteSubpoint + writer.write_str_value("@odata.type", self.odata_type) writer.write_collection_of_object_values("subpoints", self.subpoints) writer.write_str_value("text", self.text) diff --git a/msgraph_beta/generated/models/meeting_participant_info.py b/msgraph_beta/generated/models/meeting_participant_info.py index 919569ebdec..f83ed7803d2 100644 --- a/msgraph_beta/generated/models/meeting_participant_info.py +++ b/msgraph_beta/generated/models/meeting_participant_info.py @@ -35,7 +35,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> MeetingParticipant if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.virtualEventPresenterInfo".casefold(): @@ -73,6 +74,10 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .identity_set import IdentitySet + from .online_meeting_role import OnlineMeetingRole + from .virtual_event_presenter_info import VirtualEventPresenterInfo + writer.write_object_value("identity", self.identity) writer.write_str_value("@odata.type", self.odata_type) writer.write_enum_value("role", self.role) diff --git a/msgraph_beta/generated/models/meeting_participants.py b/msgraph_beta/generated/models/meeting_participants.py index 2991a6b6a5f..8d2c427bf08 100644 --- a/msgraph_beta/generated/models/meeting_participants.py +++ b/msgraph_beta/generated/models/meeting_participants.py @@ -62,6 +62,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .meeting_participant_info import MeetingParticipantInfo + writer.write_collection_of_object_values("attendees", self.attendees) writer.write_collection_of_object_values("contributors", self.contributors) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/meeting_policy_updated_event_message_detail.py b/msgraph_beta/generated/models/meeting_policy_updated_event_message_detail.py index 15fb3c9cee4..f9d0558b878 100644 --- a/msgraph_beta/generated/models/meeting_policy_updated_event_message_detail.py +++ b/msgraph_beta/generated/models/meeting_policy_updated_event_message_detail.py @@ -60,6 +60,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .event_message_detail import EventMessageDetail + from .identity_set import IdentitySet + writer.write_object_value("initiator", self.initiator) writer.write_bool_value("meetingChatEnabled", self.meeting_chat_enabled) writer.write_str_value("meetingChatId", self.meeting_chat_id) diff --git a/msgraph_beta/generated/models/meeting_registrant.py b/msgraph_beta/generated/models/meeting_registrant.py index 2ee33a40d94..8d9e46c5c3c 100644 --- a/msgraph_beta/generated/models/meeting_registrant.py +++ b/msgraph_beta/generated/models/meeting_registrant.py @@ -73,6 +73,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .custom_question_answer import CustomQuestionAnswer + from .meeting_registrant_base import MeetingRegistrantBase + from .meeting_registrant_status import MeetingRegistrantStatus + writer.write_collection_of_object_values("customQuestionAnswers", self.custom_question_answers) writer.write_str_value("email", self.email) writer.write_str_value("firstName", self.first_name) diff --git a/msgraph_beta/generated/models/meeting_registrant_base.py b/msgraph_beta/generated/models/meeting_registrant_base.py index a58a96bc311..b997af73678 100644 --- a/msgraph_beta/generated/models/meeting_registrant_base.py +++ b/msgraph_beta/generated/models/meeting_registrant_base.py @@ -27,7 +27,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> MeetingRegistrantB if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.externalMeetingRegistrant".casefold(): @@ -69,6 +70,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .external_meeting_registrant import ExternalMeetingRegistrant + from .meeting_registrant import MeetingRegistrant + writer.write_str_value("joinWebUrl", self.join_web_url) diff --git a/msgraph_beta/generated/models/meeting_registrant_base_collection_response.py b/msgraph_beta/generated/models/meeting_registrant_base_collection_response.py index efcb894de97..9b364c5aed7 100644 --- a/msgraph_beta/generated/models/meeting_registrant_base_collection_response.py +++ b/msgraph_beta/generated/models/meeting_registrant_base_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .meeting_registrant_base import MeetingRegistrantBase + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/meeting_registration.py b/msgraph_beta/generated/models/meeting_registration.py index 3702f339680..693dedba81d 100644 --- a/msgraph_beta/generated/models/meeting_registration.py +++ b/msgraph_beta/generated/models/meeting_registration.py @@ -79,6 +79,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .meeting_registration_base import MeetingRegistrationBase + from .meeting_registration_question import MeetingRegistrationQuestion + from .meeting_speaker import MeetingSpeaker + writer.write_collection_of_object_values("customQuestions", self.custom_questions) writer.write_str_value("description", self.description) writer.write_datetime_value("endDateTime", self.end_date_time) diff --git a/msgraph_beta/generated/models/meeting_registration_base.py b/msgraph_beta/generated/models/meeting_registration_base.py index aef8ba0414f..8259babc112 100644 --- a/msgraph_beta/generated/models/meeting_registration_base.py +++ b/msgraph_beta/generated/models/meeting_registration_base.py @@ -31,7 +31,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> MeetingRegistratio if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.externalMeetingRegistration".casefold(): @@ -78,6 +79,12 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .external_meeting_registration import ExternalMeetingRegistration + from .meeting_audience import MeetingAudience + from .meeting_registrant_base import MeetingRegistrantBase + from .meeting_registration import MeetingRegistration + writer.write_enum_value("allowedRegistrant", self.allowed_registrant) writer.write_collection_of_object_values("registrants", self.registrants) diff --git a/msgraph_beta/generated/models/meeting_registration_question.py b/msgraph_beta/generated/models/meeting_registration_question.py index 81777ef46cb..f72675d4ecf 100644 --- a/msgraph_beta/generated/models/meeting_registration_question.py +++ b/msgraph_beta/generated/models/meeting_registration_question.py @@ -63,6 +63,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .answer_input_type import AnswerInputType + from .entity import Entity + writer.write_enum_value("answerInputType", self.answer_input_type) writer.write_collection_of_primitive_values("answerOptions", self.answer_options) writer.write_str_value("displayName", self.display_name) diff --git a/msgraph_beta/generated/models/meeting_registration_question_collection_response.py b/msgraph_beta/generated/models/meeting_registration_question_collection_response.py index a148e7ea469..aa9d7545cee 100644 --- a/msgraph_beta/generated/models/meeting_registration_question_collection_response.py +++ b/msgraph_beta/generated/models/meeting_registration_question_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .meeting_registration_question import MeetingRegistrationQuestion + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/meeting_time_suggestion.py b/msgraph_beta/generated/models/meeting_time_suggestion.py index 2ddf48e1035..f252c5b3198 100644 --- a/msgraph_beta/generated/models/meeting_time_suggestion.py +++ b/msgraph_beta/generated/models/meeting_time_suggestion.py @@ -80,6 +80,11 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .attendee_availability import AttendeeAvailability + from .free_busy_status import FreeBusyStatus + from .location import Location + from .time_slot import TimeSlot + writer.write_collection_of_object_values("attendeeAvailability", self.attendee_availability) writer.write_float_value("confidence", self.confidence) writer.write_collection_of_object_values("locations", self.locations) diff --git a/msgraph_beta/generated/models/meeting_time_suggestions_result.py b/msgraph_beta/generated/models/meeting_time_suggestions_result.py index d2dfc2d26f8..0fe4957f021 100644 --- a/msgraph_beta/generated/models/meeting_time_suggestions_result.py +++ b/msgraph_beta/generated/models/meeting_time_suggestions_result.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .meeting_time_suggestion import MeetingTimeSuggestion + writer.write_str_value("emptySuggestionsReason", self.empty_suggestions_reason) writer.write_collection_of_object_values("meetingTimeSuggestions", self.meeting_time_suggestions) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/members_added_event_message_detail.py b/msgraph_beta/generated/models/members_added_event_message_detail.py index dc0dad8c3b7..0c9fc1e0341 100644 --- a/msgraph_beta/generated/models/members_added_event_message_detail.py +++ b/msgraph_beta/generated/models/members_added_event_message_detail.py @@ -64,6 +64,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .event_message_detail import EventMessageDetail + from .identity_set import IdentitySet + from .teamwork_user_identity import TeamworkUserIdentity + writer.write_object_value("initiator", self.initiator) writer.write_collection_of_object_values("members", self.members) writer.write_datetime_value("visibleHistoryStartDateTime", self.visible_history_start_date_time) diff --git a/msgraph_beta/generated/models/members_deleted_event_message_detail.py b/msgraph_beta/generated/models/members_deleted_event_message_detail.py index d3c1b9523fb..07619fefbb6 100644 --- a/msgraph_beta/generated/models/members_deleted_event_message_detail.py +++ b/msgraph_beta/generated/models/members_deleted_event_message_detail.py @@ -60,6 +60,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .event_message_detail import EventMessageDetail + from .identity_set import IdentitySet + from .teamwork_user_identity import TeamworkUserIdentity + writer.write_object_value("initiator", self.initiator) writer.write_collection_of_object_values("members", self.members) diff --git a/msgraph_beta/generated/models/members_joined_event_message_detail.py b/msgraph_beta/generated/models/members_joined_event_message_detail.py index 4362d16fdce..41569f57143 100644 --- a/msgraph_beta/generated/models/members_joined_event_message_detail.py +++ b/msgraph_beta/generated/models/members_joined_event_message_detail.py @@ -60,6 +60,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .event_message_detail import EventMessageDetail + from .identity_set import IdentitySet + from .teamwork_user_identity import TeamworkUserIdentity + writer.write_object_value("initiator", self.initiator) writer.write_collection_of_object_values("members", self.members) diff --git a/msgraph_beta/generated/models/members_left_event_message_detail.py b/msgraph_beta/generated/models/members_left_event_message_detail.py index 90b0c3d772d..746b07defff 100644 --- a/msgraph_beta/generated/models/members_left_event_message_detail.py +++ b/msgraph_beta/generated/models/members_left_event_message_detail.py @@ -60,6 +60,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .event_message_detail import EventMessageDetail + from .identity_set import IdentitySet + from .teamwork_user_identity import TeamworkUserIdentity + writer.write_object_value("initiator", self.initiator) writer.write_collection_of_object_values("members", self.members) diff --git a/msgraph_beta/generated/models/membership_outlier_insight.py b/msgraph_beta/generated/models/membership_outlier_insight.py index 5b26fa58780..e184df13d42 100644 --- a/msgraph_beta/generated/models/membership_outlier_insight.py +++ b/msgraph_beta/generated/models/membership_outlier_insight.py @@ -81,6 +81,12 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .directory_object import DirectoryObject + from .governance_insight import GovernanceInsight + from .outlier_container_type import OutlierContainerType + from .outlier_member_type import OutlierMemberType + from .user import User + writer.write_object_value("container", self.container) writer.write_str_value("containerId", self.container_id) writer.write_object_value("lastModifiedBy", self.last_modified_by) diff --git a/msgraph_beta/generated/models/membership_rule_processing_status.py b/msgraph_beta/generated/models/membership_rule_processing_status.py index 006c0ddcd6f..02b8a43f967 100644 --- a/msgraph_beta/generated/models/membership_rule_processing_status.py +++ b/msgraph_beta/generated/models/membership_rule_processing_status.py @@ -60,6 +60,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .membership_rule_processing_status_details import MembershipRuleProcessingStatusDetails + writer.write_str_value("errorMessage", self.error_message) writer.write_datetime_value("lastMembershipUpdated", self.last_membership_updated) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/mention.py b/msgraph_beta/generated/models/mention.py index f24ced94dac..a180c8a1612 100644 --- a/msgraph_beta/generated/models/mention.py +++ b/msgraph_beta/generated/models/mention.py @@ -76,6 +76,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .email_address import EmailAddress + from .entity import Entity + writer.write_str_value("application", self.application) writer.write_str_value("clientReference", self.client_reference) writer.write_object_value("createdBy", self.created_by) diff --git a/msgraph_beta/generated/models/mention_action.py b/msgraph_beta/generated/models/mention_action.py index c9b6857f38e..2b9a3314aee 100644 --- a/msgraph_beta/generated/models/mention_action.py +++ b/msgraph_beta/generated/models/mention_action.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .identity_set import IdentitySet + writer.write_collection_of_object_values("mentionees", self.mentionees) writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/mention_collection_response.py b/msgraph_beta/generated/models/mention_collection_response.py index e8e3670034f..ca336c1dd36 100644 --- a/msgraph_beta/generated/models/mention_collection_response.py +++ b/msgraph_beta/generated/models/mention_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .mention import Mention + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/mention_event.py b/msgraph_beta/generated/models/mention_event.py index 147558b136f..fd707534b3b 100644 --- a/msgraph_beta/generated/models/mention_event.py +++ b/msgraph_beta/generated/models/mention_event.py @@ -60,6 +60,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .identity_set import IdentitySet + writer.write_datetime_value("eventDateTime", self.event_date_time) writer.write_str_value("@odata.type", self.odata_type) writer.write_object_value("speaker", self.speaker) diff --git a/msgraph_beta/generated/models/message.py b/msgraph_beta/generated/models/message.py index 686767f6939..6bb4e77ab07 100644 --- a/msgraph_beta/generated/models/message.py +++ b/msgraph_beta/generated/models/message.py @@ -108,7 +108,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> Message: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.calendarSharingMessage".casefold(): @@ -219,6 +220,24 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .attachment import Attachment + from .calendar_sharing_message import CalendarSharingMessage + from .event_message import EventMessage + from .event_message_request import EventMessageRequest + from .event_message_response import EventMessageResponse + from .extension import Extension + from .followup_flag import FollowupFlag + from .importance import Importance + from .inference_classification_type import InferenceClassificationType + from .internet_message_header import InternetMessageHeader + from .item_body import ItemBody + from .mention import Mention + from .mentions_preview import MentionsPreview + from .multi_value_legacy_extended_property import MultiValueLegacyExtendedProperty + from .outlook_item import OutlookItem + from .recipient import Recipient + from .single_value_legacy_extended_property import SingleValueLegacyExtendedProperty + writer.write_collection_of_object_values("attachments", self.attachments) writer.write_collection_of_object_values("bccRecipients", self.bcc_recipients) writer.write_object_value("body", self.body) diff --git a/msgraph_beta/generated/models/message_collection_response.py b/msgraph_beta/generated/models/message_collection_response.py index 9ad13b34992..9d49cc1b0f3 100644 --- a/msgraph_beta/generated/models/message_collection_response.py +++ b/msgraph_beta/generated/models/message_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .message import Message + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/message_event.py b/msgraph_beta/generated/models/message_event.py index 1685eb73130..2140183e8a7 100644 --- a/msgraph_beta/generated/models/message_event.py +++ b/msgraph_beta/generated/models/message_event.py @@ -61,6 +61,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .message_event_type import MessageEventType + writer.write_datetime_value("dateTime", self.date_time) writer.write_str_value("description", self.description) writer.write_enum_value("eventType", self.event_type) diff --git a/msgraph_beta/generated/models/message_event_collection_response.py b/msgraph_beta/generated/models/message_event_collection_response.py index cea0286bc6d..8a0c1a9895f 100644 --- a/msgraph_beta/generated/models/message_event_collection_response.py +++ b/msgraph_beta/generated/models/message_event_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .message_event import MessageEvent + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/message_pinned_event_message_detail.py b/msgraph_beta/generated/models/message_pinned_event_message_detail.py index 37cce2975b7..ec55aa4a310 100644 --- a/msgraph_beta/generated/models/message_pinned_event_message_detail.py +++ b/msgraph_beta/generated/models/message_pinned_event_message_detail.py @@ -58,6 +58,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .event_message_detail import EventMessageDetail + from .identity_set import IdentitySet + writer.write_datetime_value("eventDateTime", self.event_date_time) writer.write_object_value("initiator", self.initiator) diff --git a/msgraph_beta/generated/models/message_recipient.py b/msgraph_beta/generated/models/message_recipient.py index 1b4cd58d7a3..76e5222baa8 100644 --- a/msgraph_beta/generated/models/message_recipient.py +++ b/msgraph_beta/generated/models/message_recipient.py @@ -63,6 +63,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .message_event import MessageEvent + from .message_status import MessageStatus + writer.write_enum_value("deliveryStatus", self.delivery_status) writer.write_collection_of_object_values("events", self.events) writer.write_str_value("recipientEmail", self.recipient_email) diff --git a/msgraph_beta/generated/models/message_recipient_collection_response.py b/msgraph_beta/generated/models/message_recipient_collection_response.py index eadf50549e3..dc314b0a067 100644 --- a/msgraph_beta/generated/models/message_recipient_collection_response.py +++ b/msgraph_beta/generated/models/message_recipient_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .message_recipient import MessageRecipient + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/message_rule.py b/msgraph_beta/generated/models/message_rule.py index aca86053711..231330c5b26 100644 --- a/msgraph_beta/generated/models/message_rule.py +++ b/msgraph_beta/generated/models/message_rule.py @@ -78,6 +78,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .message_rule_actions import MessageRuleActions + from .message_rule_predicates import MessageRulePredicates + writer.write_object_value("actions", self.actions) writer.write_object_value("conditions", self.conditions) writer.write_str_value("displayName", self.display_name) diff --git a/msgraph_beta/generated/models/message_rule_actions.py b/msgraph_beta/generated/models/message_rule_actions.py index 5e0d0c697da..4f635e27782 100644 --- a/msgraph_beta/generated/models/message_rule_actions.py +++ b/msgraph_beta/generated/models/message_rule_actions.py @@ -86,6 +86,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .importance import Importance + from .recipient import Recipient + writer.write_collection_of_primitive_values("assignCategories", self.assign_categories) writer.write_str_value("copyToFolder", self.copy_to_folder) writer.write_bool_value("delete", self.delete) diff --git a/msgraph_beta/generated/models/message_rule_collection_response.py b/msgraph_beta/generated/models/message_rule_collection_response.py index 15e23c3612e..d134255e3e3 100644 --- a/msgraph_beta/generated/models/message_rule_collection_response.py +++ b/msgraph_beta/generated/models/message_rule_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .message_rule import MessageRule + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/message_rule_predicates.py b/msgraph_beta/generated/models/message_rule_predicates.py index 2f080d917af..7ba39c75ffa 100644 --- a/msgraph_beta/generated/models/message_rule_predicates.py +++ b/msgraph_beta/generated/models/message_rule_predicates.py @@ -152,6 +152,12 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .importance import Importance + from .message_action_flag import MessageActionFlag + from .recipient import Recipient + from .sensitivity import Sensitivity + from .size_range import SizeRange + writer.write_collection_of_primitive_values("bodyContains", self.body_contains) writer.write_collection_of_primitive_values("bodyOrSubjectContains", self.body_or_subject_contains) writer.write_collection_of_primitive_values("categories", self.categories) diff --git a/msgraph_beta/generated/models/message_trace.py b/msgraph_beta/generated/models/message_trace.py index a3508aaa533..687d80565d6 100644 --- a/msgraph_beta/generated/models/message_trace.py +++ b/msgraph_beta/generated/models/message_trace.py @@ -76,6 +76,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .message_recipient import MessageRecipient + writer.write_str_value("destinationIPAddress", self.destination_i_p_address) writer.write_str_value("messageId", self.message_id) writer.write_datetime_value("receivedDateTime", self.received_date_time) diff --git a/msgraph_beta/generated/models/message_trace_collection_response.py b/msgraph_beta/generated/models/message_trace_collection_response.py index 0cffe9aaeb8..a273db1c449 100644 --- a/msgraph_beta/generated/models/message_trace_collection_response.py +++ b/msgraph_beta/generated/models/message_trace_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .message_trace import MessageTrace + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/message_unpinned_event_message_detail.py b/msgraph_beta/generated/models/message_unpinned_event_message_detail.py index a09da6c950a..79202530246 100644 --- a/msgraph_beta/generated/models/message_unpinned_event_message_detail.py +++ b/msgraph_beta/generated/models/message_unpinned_event_message_detail.py @@ -58,6 +58,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .event_message_detail import EventMessageDetail + from .identity_set import IdentitySet + writer.write_datetime_value("eventDateTime", self.event_date_time) writer.write_object_value("initiator", self.initiator) diff --git a/msgraph_beta/generated/models/metadata_action.py b/msgraph_beta/generated/models/metadata_action.py index bb54b895c41..a890e0d36fe 100644 --- a/msgraph_beta/generated/models/metadata_action.py +++ b/msgraph_beta/generated/models/metadata_action.py @@ -57,6 +57,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .information_protection_action import InformationProtectionAction + from .key_value_pair import KeyValuePair + writer.write_collection_of_object_values("metadataToAdd", self.metadata_to_add) writer.write_collection_of_primitive_values("metadataToRemove", self.metadata_to_remove) diff --git a/msgraph_beta/generated/models/mfa_completion_metric.py b/msgraph_beta/generated/models/mfa_completion_metric.py index b9c2747a654..b8b8f75176e 100644 --- a/msgraph_beta/generated/models/mfa_completion_metric.py +++ b/msgraph_beta/generated/models/mfa_completion_metric.py @@ -82,6 +82,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .mfa_failure import MfaFailure + writer.write_str_value("appId", self.app_id) writer.write_int_value("attemptsCount", self.attempts_count) writer.write_str_value("country", self.country) diff --git a/msgraph_beta/generated/models/mfa_completion_metric_collection_response.py b/msgraph_beta/generated/models/mfa_completion_metric_collection_response.py index 2a9a705819a..fc0c310efdc 100644 --- a/msgraph_beta/generated/models/mfa_completion_metric_collection_response.py +++ b/msgraph_beta/generated/models/mfa_completion_metric_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .mfa_completion_metric import MfaCompletionMetric + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/mfa_failure.py b/msgraph_beta/generated/models/mfa_failure.py index ab03fcde509..5202db0f567 100644 --- a/msgraph_beta/generated/models/mfa_failure.py +++ b/msgraph_beta/generated/models/mfa_failure.py @@ -60,6 +60,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .mfa_failure_reason_code import MfaFailureReasonCode + writer.write_int_value("count", self.count) writer.write_str_value("reason", self.reason) writer.write_enum_value("reasonCode", self.reason_code) diff --git a/msgraph_beta/generated/models/microsoft_account_user_conversation_member.py b/msgraph_beta/generated/models/microsoft_account_user_conversation_member.py index 4a718e4cdd7..49099d7dc29 100644 --- a/msgraph_beta/generated/models/microsoft_account_user_conversation_member.py +++ b/msgraph_beta/generated/models/microsoft_account_user_conversation_member.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .conversation_member import ConversationMember + writer.write_str_value("userId", self.user_id) diff --git a/msgraph_beta/generated/models/microsoft_application_data_access_settings.py b/msgraph_beta/generated/models/microsoft_application_data_access_settings.py index 204384e3c81..10412e36bbb 100644 --- a/msgraph_beta/generated/models/microsoft_application_data_access_settings.py +++ b/msgraph_beta/generated/models/microsoft_application_data_access_settings.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_str_value("disabledForGroup", self.disabled_for_group) writer.write_bool_value("isEnabledForAllMicrosoftApplications", self.is_enabled_for_all_microsoft_applications) diff --git a/msgraph_beta/generated/models/microsoft_authenticator_authentication_method.py b/msgraph_beta/generated/models/microsoft_authenticator_authentication_method.py index da2d2418d6c..82a72c66393 100644 --- a/msgraph_beta/generated/models/microsoft_authenticator_authentication_method.py +++ b/msgraph_beta/generated/models/microsoft_authenticator_authentication_method.py @@ -69,6 +69,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .authentication_method import AuthenticationMethod + from .device import Device + from .microsoft_authenticator_authentication_method_client_app_name import MicrosoftAuthenticatorAuthenticationMethodClientAppName + writer.write_enum_value("clientAppName", self.client_app_name) writer.write_object_value("device", self.device) writer.write_str_value("deviceTag", self.device_tag) diff --git a/msgraph_beta/generated/models/microsoft_authenticator_authentication_method_collection_response.py b/msgraph_beta/generated/models/microsoft_authenticator_authentication_method_collection_response.py index 043d22cbd73..f72cbc6b4b0 100644 --- a/msgraph_beta/generated/models/microsoft_authenticator_authentication_method_collection_response.py +++ b/msgraph_beta/generated/models/microsoft_authenticator_authentication_method_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .microsoft_authenticator_authentication_method import MicrosoftAuthenticatorAuthenticationMethod + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/microsoft_authenticator_authentication_method_configuration.py b/msgraph_beta/generated/models/microsoft_authenticator_authentication_method_configuration.py index 5af9eee055c..a8c77ff5491 100644 --- a/msgraph_beta/generated/models/microsoft_authenticator_authentication_method_configuration.py +++ b/msgraph_beta/generated/models/microsoft_authenticator_authentication_method_configuration.py @@ -63,6 +63,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .authentication_method_configuration import AuthenticationMethodConfiguration + from .microsoft_authenticator_authentication_method_target import MicrosoftAuthenticatorAuthenticationMethodTarget + from .microsoft_authenticator_feature_settings import MicrosoftAuthenticatorFeatureSettings + writer.write_object_value("featureSettings", self.feature_settings) writer.write_collection_of_object_values("includeTargets", self.include_targets) writer.write_bool_value("isSoftwareOathEnabled", self.is_software_oath_enabled) diff --git a/msgraph_beta/generated/models/microsoft_authenticator_authentication_method_target.py b/msgraph_beta/generated/models/microsoft_authenticator_authentication_method_target.py index c43b7a671be..7fa10882ca4 100644 --- a/msgraph_beta/generated/models/microsoft_authenticator_authentication_method_target.py +++ b/msgraph_beta/generated/models/microsoft_authenticator_authentication_method_target.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .authentication_method_target import AuthenticationMethodTarget + from .microsoft_authenticator_authentication_mode import MicrosoftAuthenticatorAuthenticationMode + writer.write_enum_value("authenticationMode", self.authentication_mode) diff --git a/msgraph_beta/generated/models/microsoft_authenticator_feature_settings.py b/msgraph_beta/generated/models/microsoft_authenticator_feature_settings.py index d1c3ecc9d8f..8b71808c4b6 100644 --- a/msgraph_beta/generated/models/microsoft_authenticator_feature_settings.py +++ b/msgraph_beta/generated/models/microsoft_authenticator_feature_settings.py @@ -62,6 +62,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .authentication_method_feature_configuration import AuthenticationMethodFeatureConfiguration + writer.write_object_value("companionAppAllowedState", self.companion_app_allowed_state) writer.write_object_value("displayAppInformationRequiredState", self.display_app_information_required_state) writer.write_object_value("displayLocationInformationRequiredState", self.display_location_information_required_state) diff --git a/msgraph_beta/generated/models/microsoft_authenticator_platform_settings.py b/msgraph_beta/generated/models/microsoft_authenticator_platform_settings.py index b3b2cf08e75..a6d2af72043 100644 --- a/msgraph_beta/generated/models/microsoft_authenticator_platform_settings.py +++ b/msgraph_beta/generated/models/microsoft_authenticator_platform_settings.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .enforce_app_p_i_n import EnforceAppPIN + writer.write_object_value("enforceAppPIN", self.enforce_app_p_i_n) writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/microsoft_custom_training_setting.py b/msgraph_beta/generated/models/microsoft_custom_training_setting.py index 4af8d6319f5..e7e541195d0 100644 --- a/msgraph_beta/generated/models/microsoft_custom_training_setting.py +++ b/msgraph_beta/generated/models/microsoft_custom_training_setting.py @@ -64,6 +64,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .microsoft_training_assignment_mapping import MicrosoftTrainingAssignmentMapping + from .training_completion_duration import TrainingCompletionDuration + from .training_setting import TrainingSetting + writer.write_datetime_value("completionDateTime", self.completion_date_time) writer.write_collection_of_object_values("trainingAssignmentMappings", self.training_assignment_mappings) writer.write_enum_value("trainingCompletionDuration", self.training_completion_duration) diff --git a/msgraph_beta/generated/models/microsoft_managed_desktop.py b/msgraph_beta/generated/models/microsoft_managed_desktop.py index f9a5fbe90b4..fc03473f1fa 100644 --- a/msgraph_beta/generated/models/microsoft_managed_desktop.py +++ b/msgraph_beta/generated/models/microsoft_managed_desktop.py @@ -59,6 +59,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .microsoft_managed_desktop_type import MicrosoftManagedDesktopType + writer.write_enum_value("managedType", self.managed_type) writer.write_str_value("@odata.type", self.odata_type) writer.write_str_value("profile", self.profile) diff --git a/msgraph_beta/generated/models/microsoft_managed_training_setting.py b/msgraph_beta/generated/models/microsoft_managed_training_setting.py index cd3b30c57c0..8e1409e0dbc 100644 --- a/msgraph_beta/generated/models/microsoft_managed_training_setting.py +++ b/msgraph_beta/generated/models/microsoft_managed_training_setting.py @@ -58,6 +58,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .training_completion_duration import TrainingCompletionDuration + from .training_setting import TrainingSetting + writer.write_datetime_value("completionDateTime", self.completion_date_time) writer.write_enum_value("trainingCompletionDuration", self.training_completion_duration) diff --git a/msgraph_beta/generated/models/microsoft_store_for_business_app.py b/msgraph_beta/generated/models/microsoft_store_for_business_app.py index 44577810058..c3aff5844a3 100644 --- a/msgraph_beta/generated/models/microsoft_store_for_business_app.py +++ b/msgraph_beta/generated/models/microsoft_store_for_business_app.py @@ -81,6 +81,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .microsoft_store_for_business_license_type import MicrosoftStoreForBusinessLicenseType + from .mobile_app import MobileApp + from .mobile_contained_app import MobileContainedApp + from .vpp_licensing_type import VppLicensingType + writer.write_collection_of_object_values("containedApps", self.contained_apps) writer.write_enum_value("licenseType", self.license_type) writer.write_object_value("licensingType", self.licensing_type) diff --git a/msgraph_beta/generated/models/microsoft_store_for_business_app_assignment_settings.py b/msgraph_beta/generated/models/microsoft_store_for_business_app_assignment_settings.py index 3fab3a2079e..21c233a50c2 100644 --- a/msgraph_beta/generated/models/microsoft_store_for_business_app_assignment_settings.py +++ b/msgraph_beta/generated/models/microsoft_store_for_business_app_assignment_settings.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .mobile_app_assignment_settings import MobileAppAssignmentSettings + writer.write_bool_value("useDeviceContext", self.use_device_context) diff --git a/msgraph_beta/generated/models/microsoft_store_for_business_app_collection_response.py b/msgraph_beta/generated/models/microsoft_store_for_business_app_collection_response.py index 2f55c989600..88a135b4c62 100644 --- a/msgraph_beta/generated/models/microsoft_store_for_business_app_collection_response.py +++ b/msgraph_beta/generated/models/microsoft_store_for_business_app_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .microsoft_store_for_business_app import MicrosoftStoreForBusinessApp + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/microsoft_store_for_business_contained_app.py b/msgraph_beta/generated/models/microsoft_store_for_business_contained_app.py index e1f87284770..cdcf2e41b4b 100644 --- a/msgraph_beta/generated/models/microsoft_store_for_business_contained_app.py +++ b/msgraph_beta/generated/models/microsoft_store_for_business_contained_app.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .mobile_contained_app import MobileContainedApp + writer.write_str_value("appUserModelId", self.app_user_model_id) diff --git a/msgraph_beta/generated/models/microsoft_training_assignment_mapping.py b/msgraph_beta/generated/models/microsoft_training_assignment_mapping.py index 80a32846726..6ced074fd50 100644 --- a/msgraph_beta/generated/models/microsoft_training_assignment_mapping.py +++ b/msgraph_beta/generated/models/microsoft_training_assignment_mapping.py @@ -60,6 +60,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .training import Training + from .training_assigned_to import TrainingAssignedTo + from .training_setting import TrainingSetting + writer.write_collection_of_enum_values("assignedTo", self.assigned_to) writer.write_object_value("training", self.training) diff --git a/msgraph_beta/generated/models/microsoft_tunnel_configuration.py b/msgraph_beta/generated/models/microsoft_tunnel_configuration.py index 8b4f8e848f6..513aa765ea9 100644 --- a/msgraph_beta/generated/models/microsoft_tunnel_configuration.py +++ b/msgraph_beta/generated/models/microsoft_tunnel_configuration.py @@ -103,6 +103,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .key_value_pair import KeyValuePair + writer.write_collection_of_object_values("advancedSettings", self.advanced_settings) writer.write_str_value("defaultDomainSuffix", self.default_domain_suffix) writer.write_str_value("description", self.description) diff --git a/msgraph_beta/generated/models/microsoft_tunnel_configuration_collection_response.py b/msgraph_beta/generated/models/microsoft_tunnel_configuration_collection_response.py index 8a481d4720e..6e95ddaf9c4 100644 --- a/msgraph_beta/generated/models/microsoft_tunnel_configuration_collection_response.py +++ b/msgraph_beta/generated/models/microsoft_tunnel_configuration_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .microsoft_tunnel_configuration import MicrosoftTunnelConfiguration + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/microsoft_tunnel_health_threshold.py b/msgraph_beta/generated/models/microsoft_tunnel_health_threshold.py index 021dda12d23..59959f90582 100644 --- a/msgraph_beta/generated/models/microsoft_tunnel_health_threshold.py +++ b/msgraph_beta/generated/models/microsoft_tunnel_health_threshold.py @@ -63,6 +63,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_int_value("defaultHealthyThreshold", self.default_healthy_threshold) writer.write_int_value("defaultUnhealthyThreshold", self.default_unhealthy_threshold) writer.write_int_value("healthyThreshold", self.healthy_threshold) diff --git a/msgraph_beta/generated/models/microsoft_tunnel_health_threshold_collection_response.py b/msgraph_beta/generated/models/microsoft_tunnel_health_threshold_collection_response.py index fc10b365fbd..dc89442a85d 100644 --- a/msgraph_beta/generated/models/microsoft_tunnel_health_threshold_collection_response.py +++ b/msgraph_beta/generated/models/microsoft_tunnel_health_threshold_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .microsoft_tunnel_health_threshold import MicrosoftTunnelHealthThreshold + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/microsoft_tunnel_server.py b/msgraph_beta/generated/models/microsoft_tunnel_server.py index aa8fea3709b..61212935538 100644 --- a/msgraph_beta/generated/models/microsoft_tunnel_server.py +++ b/msgraph_beta/generated/models/microsoft_tunnel_server.py @@ -76,6 +76,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .microsoft_tunnel_deployment_mode import MicrosoftTunnelDeploymentMode + from .microsoft_tunnel_server_health_status import MicrosoftTunnelServerHealthStatus + writer.write_str_value("agentImageDigest", self.agent_image_digest) writer.write_enum_value("deploymentMode", self.deployment_mode) writer.write_str_value("displayName", self.display_name) diff --git a/msgraph_beta/generated/models/microsoft_tunnel_server_collection_response.py b/msgraph_beta/generated/models/microsoft_tunnel_server_collection_response.py index ed337cb017e..d1e10389d8a 100644 --- a/msgraph_beta/generated/models/microsoft_tunnel_server_collection_response.py +++ b/msgraph_beta/generated/models/microsoft_tunnel_server_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .microsoft_tunnel_server import MicrosoftTunnelServer + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/microsoft_tunnel_server_log_collection_response.py b/msgraph_beta/generated/models/microsoft_tunnel_server_log_collection_response.py index fbf80ed27b6..cc7cd8109a5 100644 --- a/msgraph_beta/generated/models/microsoft_tunnel_server_log_collection_response.py +++ b/msgraph_beta/generated/models/microsoft_tunnel_server_log_collection_response.py @@ -76,6 +76,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .microsoft_tunnel_log_collection_status import MicrosoftTunnelLogCollectionStatus + writer.write_datetime_value("endDateTime", self.end_date_time) writer.write_datetime_value("expiryDateTime", self.expiry_date_time) writer.write_datetime_value("requestDateTime", self.request_date_time) diff --git a/msgraph_beta/generated/models/microsoft_tunnel_server_log_collection_response_collection_response.py b/msgraph_beta/generated/models/microsoft_tunnel_server_log_collection_response_collection_response.py index 5abcffe9c16..978335f40f8 100644 --- a/msgraph_beta/generated/models/microsoft_tunnel_server_log_collection_response_collection_response.py +++ b/msgraph_beta/generated/models/microsoft_tunnel_server_log_collection_response_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .microsoft_tunnel_server_log_collection_response import MicrosoftTunnelServerLogCollectionResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/microsoft_tunnel_site.py b/msgraph_beta/generated/models/microsoft_tunnel_site.py index 8ac656853da..b0bc3b757b2 100644 --- a/msgraph_beta/generated/models/microsoft_tunnel_site.py +++ b/msgraph_beta/generated/models/microsoft_tunnel_site.py @@ -94,6 +94,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .microsoft_tunnel_configuration import MicrosoftTunnelConfiguration + from .microsoft_tunnel_server import MicrosoftTunnelServer + writer.write_str_value("description", self.description) writer.write_str_value("displayName", self.display_name) writer.write_str_value("internalNetworkProbeUrl", self.internal_network_probe_url) diff --git a/msgraph_beta/generated/models/microsoft_tunnel_site_collection_response.py b/msgraph_beta/generated/models/microsoft_tunnel_site_collection_response.py index 62b9cf788fd..a40646e5ca5 100644 --- a/msgraph_beta/generated/models/microsoft_tunnel_site_collection_response.py +++ b/msgraph_beta/generated/models/microsoft_tunnel_site_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .microsoft_tunnel_site import MicrosoftTunnelSite + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/mobile_app.py b/msgraph_beta/generated/models/mobile_app.py index aedc7f6ec56..9ccee780c8d 100644 --- a/msgraph_beta/generated/models/mobile_app.py +++ b/msgraph_beta/generated/models/mobile_app.py @@ -116,7 +116,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> MobileApp: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.androidForWorkApp".casefold(): @@ -417,6 +418,53 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .android_for_work_app import AndroidForWorkApp + from .android_lob_app import AndroidLobApp + from .android_managed_store_app import AndroidManagedStoreApp + from .android_managed_store_web_app import AndroidManagedStoreWebApp + from .android_store_app import AndroidStoreApp + from .entity import Entity + from .iosi_pad_o_s_web_clip import IosiPadOSWebClip + from .ios_lob_app import IosLobApp + from .ios_store_app import IosStoreApp + from .ios_vpp_app import IosVppApp + from .mac_os_vpp_app import MacOsVppApp + from .mac_o_s_dmg_app import MacOSDmgApp + from .mac_o_s_lob_app import MacOSLobApp + from .mac_o_s_microsoft_defender_app import MacOSMicrosoftDefenderApp + from .mac_o_s_microsoft_edge_app import MacOSMicrosoftEdgeApp + from .mac_o_s_office_suite_app import MacOSOfficeSuiteApp + from .mac_o_s_pkg_app import MacOSPkgApp + from .mac_o_s_web_clip import MacOSWebClip + from .managed_android_lob_app import ManagedAndroidLobApp + from .managed_android_store_app import ManagedAndroidStoreApp + from .managed_app import ManagedApp + from .managed_i_o_s_lob_app import ManagedIOSLobApp + from .managed_i_o_s_store_app import ManagedIOSStoreApp + from .managed_mobile_lob_app import ManagedMobileLobApp + from .microsoft_store_for_business_app import MicrosoftStoreForBusinessApp + from .mime_content import MimeContent + from .mobile_app_assignment import MobileAppAssignment + from .mobile_app_category import MobileAppCategory + from .mobile_app_publishing_state import MobileAppPublishingState + from .mobile_app_relationship import MobileAppRelationship + from .mobile_lob_app import MobileLobApp + from .office_suite_app import OfficeSuiteApp + from .web_app import WebApp + from .win32_catalog_app import Win32CatalogApp + from .win32_lob_app import Win32LobApp + from .windows_app_x import WindowsAppX + from .windows_microsoft_edge_app import WindowsMicrosoftEdgeApp + from .windows_mobile_m_s_i import WindowsMobileMSI + from .windows_phone81_app_x import WindowsPhone81AppX + from .windows_phone81_app_x_bundle import WindowsPhone81AppXBundle + from .windows_phone81_store_app import WindowsPhone81StoreApp + from .windows_phone_x_a_p import WindowsPhoneXAP + from .windows_store_app import WindowsStoreApp + from .windows_universal_app_x import WindowsUniversalAppX + from .windows_web_app import WindowsWebApp + from .win_get_app import WinGetApp + writer.write_collection_of_object_values("assignments", self.assignments) writer.write_collection_of_object_values("categories", self.categories) writer.write_str_value("description", self.description) diff --git a/msgraph_beta/generated/models/mobile_app_assignment.py b/msgraph_beta/generated/models/mobile_app_assignment.py index 63be9b2ad54..eccf8f7b8fe 100644 --- a/msgraph_beta/generated/models/mobile_app_assignment.py +++ b/msgraph_beta/generated/models/mobile_app_assignment.py @@ -78,6 +78,12 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_and_app_management_assignment_source import DeviceAndAppManagementAssignmentSource + from .device_and_app_management_assignment_target import DeviceAndAppManagementAssignmentTarget + from .entity import Entity + from .install_intent import InstallIntent + from .mobile_app_assignment_settings import MobileAppAssignmentSettings + writer.write_enum_value("intent", self.intent) writer.write_object_value("settings", self.settings) writer.write_enum_value("source", self.source) diff --git a/msgraph_beta/generated/models/mobile_app_assignment_collection_response.py b/msgraph_beta/generated/models/mobile_app_assignment_collection_response.py index 3bda8097d80..fab3a9b2393 100644 --- a/msgraph_beta/generated/models/mobile_app_assignment_collection_response.py +++ b/msgraph_beta/generated/models/mobile_app_assignment_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .mobile_app_assignment import MobileAppAssignment + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/mobile_app_assignment_settings.py b/msgraph_beta/generated/models/mobile_app_assignment_settings.py index beadad5447f..f0487854b1a 100644 --- a/msgraph_beta/generated/models/mobile_app_assignment_settings.py +++ b/msgraph_beta/generated/models/mobile_app_assignment_settings.py @@ -41,7 +41,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> MobileAppAssignmen if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.androidManagedStoreAppAssignmentSettings".casefold(): @@ -138,6 +139,19 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .android_managed_store_app_assignment_settings import AndroidManagedStoreAppAssignmentSettings + from .ios_lob_app_assignment_settings import IosLobAppAssignmentSettings + from .ios_store_app_assignment_settings import IosStoreAppAssignmentSettings + from .ios_vpp_app_assignment_settings import IosVppAppAssignmentSettings + from .mac_os_lob_app_assignment_settings import MacOsLobAppAssignmentSettings + from .mac_os_vpp_app_assignment_settings import MacOsVppAppAssignmentSettings + from .microsoft_store_for_business_app_assignment_settings import MicrosoftStoreForBusinessAppAssignmentSettings + from .win32_catalog_app_assignment_settings import Win32CatalogAppAssignmentSettings + from .win32_lob_app_assignment_settings import Win32LobAppAssignmentSettings + from .windows_app_x_app_assignment_settings import WindowsAppXAppAssignmentSettings + from .windows_universal_app_x_app_assignment_settings import WindowsUniversalAppXAppAssignmentSettings + from .win_get_app_assignment_settings import WinGetAppAssignmentSettings + writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/mobile_app_catalog_package.py b/msgraph_beta/generated/models/mobile_app_catalog_package.py index 106cdb1f00d..f88383173b6 100644 --- a/msgraph_beta/generated/models/mobile_app_catalog_package.py +++ b/msgraph_beta/generated/models/mobile_app_catalog_package.py @@ -35,7 +35,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> MobileAppCatalogPa if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.win32MobileAppCatalogPackage".casefold(): @@ -74,5 +75,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .win32_mobile_app_catalog_package import Win32MobileAppCatalogPackage + diff --git a/msgraph_beta/generated/models/mobile_app_catalog_package_collection_response.py b/msgraph_beta/generated/models/mobile_app_catalog_package_collection_response.py index 11fba65e192..d4eb3b2f4db 100644 --- a/msgraph_beta/generated/models/mobile_app_catalog_package_collection_response.py +++ b/msgraph_beta/generated/models/mobile_app_catalog_package_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .mobile_app_catalog_package import MobileAppCatalogPackage + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/mobile_app_category.py b/msgraph_beta/generated/models/mobile_app_category.py index a7cb7033ab4..c0e47b27798 100644 --- a/msgraph_beta/generated/models/mobile_app_category.py +++ b/msgraph_beta/generated/models/mobile_app_category.py @@ -58,6 +58,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_str_value("displayName", self.display_name) diff --git a/msgraph_beta/generated/models/mobile_app_category_collection_response.py b/msgraph_beta/generated/models/mobile_app_category_collection_response.py index c56643d7eff..2490b8c5ff9 100644 --- a/msgraph_beta/generated/models/mobile_app_category_collection_response.py +++ b/msgraph_beta/generated/models/mobile_app_category_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .mobile_app_category import MobileAppCategory + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/mobile_app_collection_response.py b/msgraph_beta/generated/models/mobile_app_collection_response.py index 481522d456d..8e2a5fa149e 100644 --- a/msgraph_beta/generated/models/mobile_app_collection_response.py +++ b/msgraph_beta/generated/models/mobile_app_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .mobile_app import MobileApp + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/mobile_app_content.py b/msgraph_beta/generated/models/mobile_app_content.py index 941bd458e39..43ecaa14255 100644 --- a/msgraph_beta/generated/models/mobile_app_content.py +++ b/msgraph_beta/generated/models/mobile_app_content.py @@ -63,6 +63,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .mobile_app_content_file import MobileAppContentFile + from .mobile_contained_app import MobileContainedApp + writer.write_collection_of_object_values("containedApps", self.contained_apps) writer.write_collection_of_object_values("files", self.files) diff --git a/msgraph_beta/generated/models/mobile_app_content_collection_response.py b/msgraph_beta/generated/models/mobile_app_content_collection_response.py index f30c1e9fd1a..e15cc75bcee 100644 --- a/msgraph_beta/generated/models/mobile_app_content_collection_response.py +++ b/msgraph_beta/generated/models/mobile_app_content_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .mobile_app_content import MobileAppContent + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/mobile_app_content_file.py b/msgraph_beta/generated/models/mobile_app_content_file.py index 6a2d04d4933..f45ae532f44 100644 --- a/msgraph_beta/generated/models/mobile_app_content_file.py +++ b/msgraph_beta/generated/models/mobile_app_content_file.py @@ -94,6 +94,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .mobile_app_content_file_upload_state import MobileAppContentFileUploadState + writer.write_bool_value("isDependency", self.is_dependency) writer.write_bool_value("isFrameworkFile", self.is_framework_file) writer.write_bytes_value("manifest", self.manifest) diff --git a/msgraph_beta/generated/models/mobile_app_content_file_collection_response.py b/msgraph_beta/generated/models/mobile_app_content_file_collection_response.py index ad04d1c4234..7000b073dc4 100644 --- a/msgraph_beta/generated/models/mobile_app_content_file_collection_response.py +++ b/msgraph_beta/generated/models/mobile_app_content_file_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .mobile_app_content_file import MobileAppContentFile + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/mobile_app_dependency.py b/msgraph_beta/generated/models/mobile_app_dependency.py index 5aa027d54a4..ca7081d98bb 100644 --- a/msgraph_beta/generated/models/mobile_app_dependency.py +++ b/msgraph_beta/generated/models/mobile_app_dependency.py @@ -63,6 +63,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .mobile_app_dependency_type import MobileAppDependencyType + from .mobile_app_relationship import MobileAppRelationship + writer.write_enum_value("dependencyType", self.dependency_type) diff --git a/msgraph_beta/generated/models/mobile_app_identifier.py b/msgraph_beta/generated/models/mobile_app_identifier.py index b8d56c2907c..1dfd83abef8 100644 --- a/msgraph_beta/generated/models/mobile_app_identifier.py +++ b/msgraph_beta/generated/models/mobile_app_identifier.py @@ -33,7 +33,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> MobileAppIdentifie if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.androidMobileAppIdentifier".casefold(): @@ -82,6 +83,11 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .android_mobile_app_identifier import AndroidMobileAppIdentifier + from .ios_mobile_app_identifier import IosMobileAppIdentifier + from .mac_app_identifier import MacAppIdentifier + from .windows_app_identifier import WindowsAppIdentifier + writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/mobile_app_install_status.py b/msgraph_beta/generated/models/mobile_app_install_status.py index 70292cc8b05..943e63939de 100644 --- a/msgraph_beta/generated/models/mobile_app_install_status.py +++ b/msgraph_beta/generated/models/mobile_app_install_status.py @@ -100,6 +100,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .mobile_app import MobileApp + from .resultant_app_state import ResultantAppState + from .resultant_app_state_detail import ResultantAppStateDetail + writer.write_object_value("app", self.app) writer.write_str_value("deviceId", self.device_id) writer.write_str_value("deviceName", self.device_name) diff --git a/msgraph_beta/generated/models/mobile_app_install_summary.py b/msgraph_beta/generated/models/mobile_app_install_summary.py index 835bf6b26aa..00a4064de37 100644 --- a/msgraph_beta/generated/models/mobile_app_install_summary.py +++ b/msgraph_beta/generated/models/mobile_app_install_summary.py @@ -81,5 +81,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + diff --git a/msgraph_beta/generated/models/mobile_app_intent_and_state.py b/msgraph_beta/generated/models/mobile_app_intent_and_state.py index 40ea8624667..346e3f37b19 100644 --- a/msgraph_beta/generated/models/mobile_app_intent_and_state.py +++ b/msgraph_beta/generated/models/mobile_app_intent_and_state.py @@ -63,6 +63,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .mobile_app_intent_and_state_detail import MobileAppIntentAndStateDetail + writer.write_str_value("managedDeviceIdentifier", self.managed_device_identifier) writer.write_collection_of_object_values("mobileAppList", self.mobile_app_list) writer.write_str_value("userId", self.user_id) diff --git a/msgraph_beta/generated/models/mobile_app_intent_and_state_collection_response.py b/msgraph_beta/generated/models/mobile_app_intent_and_state_collection_response.py index a6a22a93936..c892f10fae9 100644 --- a/msgraph_beta/generated/models/mobile_app_intent_and_state_collection_response.py +++ b/msgraph_beta/generated/models/mobile_app_intent_and_state_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .mobile_app_intent_and_state import MobileAppIntentAndState + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/mobile_app_intent_and_state_detail.py b/msgraph_beta/generated/models/mobile_app_intent_and_state_detail.py index d5c04768599..1353faeca0a 100644 --- a/msgraph_beta/generated/models/mobile_app_intent_and_state_detail.py +++ b/msgraph_beta/generated/models/mobile_app_intent_and_state_detail.py @@ -77,6 +77,10 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .mobile_app_intent import MobileAppIntent + from .mobile_app_supported_device_type import MobileAppSupportedDeviceType + from .resultant_app_state import ResultantAppState + writer.write_str_value("applicationId", self.application_id) writer.write_str_value("displayName", self.display_name) writer.write_str_value("displayVersion", self.display_version) diff --git a/msgraph_beta/generated/models/mobile_app_policy_set_item.py b/msgraph_beta/generated/models/mobile_app_policy_set_item.py index 4340f58ad00..45e32bba8df 100644 --- a/msgraph_beta/generated/models/mobile_app_policy_set_item.py +++ b/msgraph_beta/generated/models/mobile_app_policy_set_item.py @@ -63,6 +63,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .install_intent import InstallIntent + from .mobile_app_assignment_settings import MobileAppAssignmentSettings + from .policy_set_item import PolicySetItem + writer.write_enum_value("intent", self.intent) writer.write_object_value("settings", self.settings) diff --git a/msgraph_beta/generated/models/mobile_app_provisioning_config_group_assignment.py b/msgraph_beta/generated/models/mobile_app_provisioning_config_group_assignment.py index beb625d54bf..944f0b7bd99 100644 --- a/msgraph_beta/generated/models/mobile_app_provisioning_config_group_assignment.py +++ b/msgraph_beta/generated/models/mobile_app_provisioning_config_group_assignment.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_str_value("targetGroupId", self.target_group_id) diff --git a/msgraph_beta/generated/models/mobile_app_provisioning_config_group_assignment_collection_response.py b/msgraph_beta/generated/models/mobile_app_provisioning_config_group_assignment_collection_response.py index 7d51f2cd969..2463a318255 100644 --- a/msgraph_beta/generated/models/mobile_app_provisioning_config_group_assignment_collection_response.py +++ b/msgraph_beta/generated/models/mobile_app_provisioning_config_group_assignment_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .mobile_app_provisioning_config_group_assignment import MobileAppProvisioningConfigGroupAssignment + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/mobile_app_relationship.py b/msgraph_beta/generated/models/mobile_app_relationship.py index 726a0a2d014..21c242c888c 100644 --- a/msgraph_beta/generated/models/mobile_app_relationship.py +++ b/msgraph_beta/generated/models/mobile_app_relationship.py @@ -18,6 +18,14 @@ class MobileAppRelationship(Entity): """ # The OdataType property odata_type: Optional[str] = None + # The display name of the app that is the source of the mobile app relationship entity. For example: Orca. Maximum length is 500 characters. Read-Only. Supports: $select. Does not support $search, $filter, $orderBy. This property is read-only. + source_display_name: Optional[str] = None + # The display version of the app that is the source of the mobile app relationship entity. For example 1.0.12 or 1.2203.156 or 3. Read-Only. Supports: $select. Does not support $search, $filter, $orderBy. This property is read-only. + source_display_version: Optional[str] = None + # The unique app identifier of the source of the mobile app relationship entity. For example: 2dbc75b9-e993-4e4d-a071-91ac5a218672. If null during relationship creation, then it will be populated with parent Id. Read-Only. Supports: $select. Does not support $search, $filter, $orderBy. This property is read-only. + source_id: Optional[str] = None + # The publisher display name of the app that is the source of the mobile app relationship entity. For example: Fabrikam. Maximum length is 500 characters. Read-Only. Supports: $select. Does not support $search, $filter, $orderBy. This property is read-only. + source_publisher_display_name: Optional[str] = None # The display name of the app that is the target of the mobile app relationship entity. Read-Only. This property is read-only. target_display_name: Optional[str] = None # The display version of the app that is the target of the mobile app relationship entity. Read-Only. This property is read-only. @@ -26,6 +34,8 @@ class MobileAppRelationship(Entity): target_id: Optional[str] = None # The publisher of the app that is the target of the mobile app relationship entity. Read-Only. This property is read-only. target_publisher: Optional[str] = None + # The publisher display name of the app that is the target of the mobile app relationship entity. For example: Fabrikam. Maximum length is 500 characters. Read-Only. Supports: $select. Does not support $search, $filter, $orderBy. This property is read-only. + target_publisher_display_name: Optional[str] = None # Indicates whether the target of a relationship is the parent or the child in the relationship. target_type: Optional[MobileAppRelationshipType] = None @@ -39,7 +49,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> MobileAppRelations if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.mobileAppDependency".casefold(): @@ -68,10 +79,15 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .mobile_app_supersedence import MobileAppSupersedence fields: Dict[str, Callable[[Any], None]] = { + "sourceDisplayName": lambda n : setattr(self, 'source_display_name', n.get_str_value()), + "sourceDisplayVersion": lambda n : setattr(self, 'source_display_version', n.get_str_value()), + "sourceId": lambda n : setattr(self, 'source_id', n.get_str_value()), + "sourcePublisherDisplayName": lambda n : setattr(self, 'source_publisher_display_name', n.get_str_value()), "targetDisplayName": lambda n : setattr(self, 'target_display_name', n.get_str_value()), "targetDisplayVersion": lambda n : setattr(self, 'target_display_version', n.get_str_value()), "targetId": lambda n : setattr(self, 'target_id', n.get_str_value()), "targetPublisher": lambda n : setattr(self, 'target_publisher', n.get_str_value()), + "targetPublisherDisplayName": lambda n : setattr(self, 'target_publisher_display_name', n.get_str_value()), "targetType": lambda n : setattr(self, 'target_type', n.get_enum_value(MobileAppRelationshipType)), } super_fields = super().get_field_deserializers() @@ -87,6 +103,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .mobile_app_dependency import MobileAppDependency + from .mobile_app_relationship_type import MobileAppRelationshipType + from .mobile_app_supersedence import MobileAppSupersedence + writer.write_str_value("targetId", self.target_id) writer.write_enum_value("targetType", self.target_type) diff --git a/msgraph_beta/generated/models/mobile_app_relationship_collection_response.py b/msgraph_beta/generated/models/mobile_app_relationship_collection_response.py index 937f627ad0d..2295dc7cb44 100644 --- a/msgraph_beta/generated/models/mobile_app_relationship_collection_response.py +++ b/msgraph_beta/generated/models/mobile_app_relationship_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .mobile_app_relationship import MobileAppRelationship + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/mobile_app_supersedence.py b/msgraph_beta/generated/models/mobile_app_supersedence.py index dbbcade9a6c..a12cc37184b 100644 --- a/msgraph_beta/generated/models/mobile_app_supersedence.py +++ b/msgraph_beta/generated/models/mobile_app_supersedence.py @@ -63,6 +63,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .mobile_app_relationship import MobileAppRelationship + from .mobile_app_supersedence_type import MobileAppSupersedenceType + writer.write_enum_value("supersedenceType", self.supersedence_type) diff --git a/msgraph_beta/generated/models/mobile_app_supported_device_type.py b/msgraph_beta/generated/models/mobile_app_supported_device_type.py index 7564395e55f..b43925819f0 100644 --- a/msgraph_beta/generated/models/mobile_app_supported_device_type.py +++ b/msgraph_beta/generated/models/mobile_app_supported_device_type.py @@ -62,6 +62,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .device_type import DeviceType + writer.write_str_value("maximumOperatingSystemVersion", self.maximum_operating_system_version) writer.write_str_value("minimumOperatingSystemVersion", self.minimum_operating_system_version) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/mobile_app_troubleshooting_app_policy_creation_history.py b/msgraph_beta/generated/models/mobile_app_troubleshooting_app_policy_creation_history.py index 70cc9b9b1ef..c83fe77ea09 100644 --- a/msgraph_beta/generated/models/mobile_app_troubleshooting_app_policy_creation_history.py +++ b/msgraph_beta/generated/models/mobile_app_troubleshooting_app_policy_creation_history.py @@ -60,6 +60,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .mobile_app_troubleshooting_history_item import MobileAppTroubleshootingHistoryItem + from .run_state import RunState + writer.write_str_value("errorCode", self.error_code) writer.write_enum_value("runState", self.run_state) diff --git a/msgraph_beta/generated/models/mobile_app_troubleshooting_app_state_history.py b/msgraph_beta/generated/models/mobile_app_troubleshooting_app_state_history.py index cb50d1ad12a..36fa2d5a462 100644 --- a/msgraph_beta/generated/models/mobile_app_troubleshooting_app_state_history.py +++ b/msgraph_beta/generated/models/mobile_app_troubleshooting_app_state_history.py @@ -66,6 +66,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .mobile_app_action_type import MobileAppActionType + from .mobile_app_troubleshooting_history_item import MobileAppTroubleshootingHistoryItem + from .run_state import RunState + writer.write_enum_value("actionType", self.action_type) writer.write_str_value("errorCode", self.error_code) writer.write_enum_value("runState", self.run_state) diff --git a/msgraph_beta/generated/models/mobile_app_troubleshooting_app_target_history.py b/msgraph_beta/generated/models/mobile_app_troubleshooting_app_target_history.py index 488a1e8bec5..67f7a2e49c4 100644 --- a/msgraph_beta/generated/models/mobile_app_troubleshooting_app_target_history.py +++ b/msgraph_beta/generated/models/mobile_app_troubleshooting_app_target_history.py @@ -63,6 +63,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .mobile_app_troubleshooting_history_item import MobileAppTroubleshootingHistoryItem + from .run_state import RunState + writer.write_str_value("errorCode", self.error_code) writer.write_enum_value("runState", self.run_state) writer.write_str_value("securityGroupId", self.security_group_id) diff --git a/msgraph_beta/generated/models/mobile_app_troubleshooting_app_update_history.py b/msgraph_beta/generated/models/mobile_app_troubleshooting_app_update_history.py index 0d1e36f346c..7a86f14e81a 100644 --- a/msgraph_beta/generated/models/mobile_app_troubleshooting_app_update_history.py +++ b/msgraph_beta/generated/models/mobile_app_troubleshooting_app_update_history.py @@ -51,5 +51,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .mobile_app_troubleshooting_history_item import MobileAppTroubleshootingHistoryItem + diff --git a/msgraph_beta/generated/models/mobile_app_troubleshooting_device_checkin_history.py b/msgraph_beta/generated/models/mobile_app_troubleshooting_device_checkin_history.py index a0d2433c6bb..46d26bce9df 100644 --- a/msgraph_beta/generated/models/mobile_app_troubleshooting_device_checkin_history.py +++ b/msgraph_beta/generated/models/mobile_app_troubleshooting_device_checkin_history.py @@ -51,5 +51,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .mobile_app_troubleshooting_history_item import MobileAppTroubleshootingHistoryItem + diff --git a/msgraph_beta/generated/models/mobile_app_troubleshooting_event.py b/msgraph_beta/generated/models/mobile_app_troubleshooting_event.py index fd3638755db..aa8b4de90be 100644 --- a/msgraph_beta/generated/models/mobile_app_troubleshooting_event.py +++ b/msgraph_beta/generated/models/mobile_app_troubleshooting_event.py @@ -75,6 +75,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .app_log_collection_request import AppLogCollectionRequest + from .device_management_troubleshooting_event import DeviceManagementTroubleshootingEvent + from .mobile_app_troubleshooting_history_item import MobileAppTroubleshootingHistoryItem + writer.write_collection_of_object_values("appLogCollectionRequests", self.app_log_collection_requests) writer.write_str_value("applicationId", self.application_id) writer.write_str_value("deviceId", self.device_id) diff --git a/msgraph_beta/generated/models/mobile_app_troubleshooting_event_collection_response.py b/msgraph_beta/generated/models/mobile_app_troubleshooting_event_collection_response.py index 163f66c1eb4..4a70e259d9d 100644 --- a/msgraph_beta/generated/models/mobile_app_troubleshooting_event_collection_response.py +++ b/msgraph_beta/generated/models/mobile_app_troubleshooting_event_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .mobile_app_troubleshooting_event import MobileAppTroubleshootingEvent + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/mobile_app_troubleshooting_history_item.py b/msgraph_beta/generated/models/mobile_app_troubleshooting_history_item.py index 576076c479a..7fb18509c72 100644 --- a/msgraph_beta/generated/models/mobile_app_troubleshooting_history_item.py +++ b/msgraph_beta/generated/models/mobile_app_troubleshooting_history_item.py @@ -40,7 +40,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> MobileAppTroublesh if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.mobileAppTroubleshootingAppPolicyCreationHistory".casefold(): @@ -99,6 +100,13 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .device_management_troubleshooting_error_details import DeviceManagementTroubleshootingErrorDetails + from .mobile_app_troubleshooting_app_policy_creation_history import MobileAppTroubleshootingAppPolicyCreationHistory + from .mobile_app_troubleshooting_app_state_history import MobileAppTroubleshootingAppStateHistory + from .mobile_app_troubleshooting_app_target_history import MobileAppTroubleshootingAppTargetHistory + from .mobile_app_troubleshooting_app_update_history import MobileAppTroubleshootingAppUpdateHistory + from .mobile_app_troubleshooting_device_checkin_history import MobileAppTroubleshootingDeviceCheckinHistory + writer.write_datetime_value("occurrenceDateTime", self.occurrence_date_time) writer.write_str_value("@odata.type", self.odata_type) writer.write_object_value("troubleshootingErrorDetails", self.troubleshooting_error_details) diff --git a/msgraph_beta/generated/models/mobile_contained_app.py b/msgraph_beta/generated/models/mobile_contained_app.py index 41cd06145c1..3f9cac3b4ae 100644 --- a/msgraph_beta/generated/models/mobile_contained_app.py +++ b/msgraph_beta/generated/models/mobile_contained_app.py @@ -28,7 +28,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> MobileContainedApp if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.microsoftStoreForBusinessContainedApp".casefold(): @@ -69,5 +70,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .microsoft_store_for_business_contained_app import MicrosoftStoreForBusinessContainedApp + from .windows_universal_app_x_contained_app import WindowsUniversalAppXContainedApp + diff --git a/msgraph_beta/generated/models/mobile_contained_app_collection_response.py b/msgraph_beta/generated/models/mobile_contained_app_collection_response.py index d9be76deb36..5a5f232b592 100644 --- a/msgraph_beta/generated/models/mobile_contained_app_collection_response.py +++ b/msgraph_beta/generated/models/mobile_contained_app_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .mobile_contained_app import MobileContainedApp + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/mobile_lob_app.py b/msgraph_beta/generated/models/mobile_lob_app.py index 0bd2cebcbab..ed3cecad57a 100644 --- a/msgraph_beta/generated/models/mobile_lob_app.py +++ b/msgraph_beta/generated/models/mobile_lob_app.py @@ -48,7 +48,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> MobileLobApp: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.androidLobApp".casefold(): @@ -161,6 +162,22 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .android_lob_app import AndroidLobApp + from .ios_lob_app import IosLobApp + from .mac_o_s_dmg_app import MacOSDmgApp + from .mac_o_s_lob_app import MacOSLobApp + from .mac_o_s_pkg_app import MacOSPkgApp + from .mobile_app import MobileApp + from .mobile_app_content import MobileAppContent + from .win32_catalog_app import Win32CatalogApp + from .win32_lob_app import Win32LobApp + from .windows_app_x import WindowsAppX + from .windows_mobile_m_s_i import WindowsMobileMSI + from .windows_phone81_app_x import WindowsPhone81AppX + from .windows_phone81_app_x_bundle import WindowsPhone81AppXBundle + from .windows_phone_x_a_p import WindowsPhoneXAP + from .windows_universal_app_x import WindowsUniversalAppX + writer.write_str_value("committedContentVersion", self.committed_content_version) writer.write_collection_of_object_values("contentVersions", self.content_versions) writer.write_str_value("fileName", self.file_name) diff --git a/msgraph_beta/generated/models/mobile_threat_defense_connector.py b/msgraph_beta/generated/models/mobile_threat_defense_connector.py index a1080d20f3c..3533ec15eba 100644 --- a/msgraph_beta/generated/models/mobile_threat_defense_connector.py +++ b/msgraph_beta/generated/models/mobile_threat_defense_connector.py @@ -109,6 +109,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .mobile_threat_partner_tenant_state import MobileThreatPartnerTenantState + writer.write_bool_value("allowPartnerToCollectIOSApplicationMetadata", self.allow_partner_to_collect_i_o_s_application_metadata) writer.write_bool_value("allowPartnerToCollectIOSPersonalApplicationMetadata", self.allow_partner_to_collect_i_o_s_personal_application_metadata) writer.write_bool_value("androidDeviceBlockedOnMissingPartnerData", self.android_device_blocked_on_missing_partner_data) diff --git a/msgraph_beta/generated/models/mobile_threat_defense_connector_collection_response.py b/msgraph_beta/generated/models/mobile_threat_defense_connector_collection_response.py index c4ea86db7cd..b7fd19057e4 100644 --- a/msgraph_beta/generated/models/mobile_threat_defense_connector_collection_response.py +++ b/msgraph_beta/generated/models/mobile_threat_defense_connector_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .mobile_threat_defense_connector import MobileThreatDefenseConnector + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/mobility_management_policy.py b/msgraph_beta/generated/models/mobility_management_policy.py index 1174b6ba986..d6db6ca9546 100644 --- a/msgraph_beta/generated/models/mobility_management_policy.py +++ b/msgraph_beta/generated/models/mobility_management_policy.py @@ -78,6 +78,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .group import Group + from .policy_scope import PolicyScope + writer.write_enum_value("appliesTo", self.applies_to) writer.write_str_value("complianceUrl", self.compliance_url) writer.write_str_value("description", self.description) diff --git a/msgraph_beta/generated/models/mobility_management_policy_collection_response.py b/msgraph_beta/generated/models/mobility_management_policy_collection_response.py index 60830a197bb..9e0936baaf6 100644 --- a/msgraph_beta/generated/models/mobility_management_policy_collection_response.py +++ b/msgraph_beta/generated/models/mobility_management_policy_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .mobility_management_policy import MobilityManagementPolicy + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/monthly_inactive_users_by_application_metric.py b/msgraph_beta/generated/models/monthly_inactive_users_by_application_metric.py index bedc2d8c1ce..95bca667d96 100644 --- a/msgraph_beta/generated/models/monthly_inactive_users_by_application_metric.py +++ b/msgraph_beta/generated/models/monthly_inactive_users_by_application_metric.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .inactive_users_by_application_metric_base import InactiveUsersByApplicationMetricBase + writer.write_int_value("inactiveCalendarMonthCount", self.inactive_calendar_month_count) diff --git a/msgraph_beta/generated/models/monthly_inactive_users_by_application_metric_collection_response.py b/msgraph_beta/generated/models/monthly_inactive_users_by_application_metric_collection_response.py index 93c96fe12e9..d0cd574a316 100644 --- a/msgraph_beta/generated/models/monthly_inactive_users_by_application_metric_collection_response.py +++ b/msgraph_beta/generated/models/monthly_inactive_users_by_application_metric_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .monthly_inactive_users_by_application_metric import MonthlyInactiveUsersByApplicationMetric + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/monthly_inactive_users_metric.py b/msgraph_beta/generated/models/monthly_inactive_users_metric.py index ab10a39dd66..9c060e5db96 100644 --- a/msgraph_beta/generated/models/monthly_inactive_users_metric.py +++ b/msgraph_beta/generated/models/monthly_inactive_users_metric.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .inactive_users_metric_base import InactiveUsersMetricBase + writer.write_int_value("inactiveCalendarMonthCount", self.inactive_calendar_month_count) diff --git a/msgraph_beta/generated/models/monthly_inactive_users_metric_collection_response.py b/msgraph_beta/generated/models/monthly_inactive_users_metric_collection_response.py index 75d889118a6..c1d9005f0df 100644 --- a/msgraph_beta/generated/models/monthly_inactive_users_metric_collection_response.py +++ b/msgraph_beta/generated/models/monthly_inactive_users_metric_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .monthly_inactive_users_metric import MonthlyInactiveUsersMetric + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/monthly_user_insight_metrics_root.py b/msgraph_beta/generated/models/monthly_user_insight_metrics_root.py index f70b7009b91..9986ebd25a6 100644 --- a/msgraph_beta/generated/models/monthly_user_insight_metrics_root.py +++ b/msgraph_beta/generated/models/monthly_user_insight_metrics_root.py @@ -96,6 +96,16 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .active_users_metric import ActiveUsersMetric + from .authentications_metric import AuthenticationsMetric + from .entity import Entity + from .insight_summary import InsightSummary + from .mfa_completion_metric import MfaCompletionMetric + from .monthly_inactive_users_by_application_metric import MonthlyInactiveUsersByApplicationMetric + from .monthly_inactive_users_metric import MonthlyInactiveUsersMetric + from .user_requests_metric import UserRequestsMetric + from .user_sign_up_metric import UserSignUpMetric + writer.write_collection_of_object_values("activeUsers", self.active_users) writer.write_collection_of_object_values("authentications", self.authentications) writer.write_collection_of_object_values("inactiveUsers", self.inactive_users) diff --git a/msgraph_beta/generated/models/multi_tenant_organization.py b/msgraph_beta/generated/models/multi_tenant_organization.py index 3ee1b720322..6f29e122623 100644 --- a/msgraph_beta/generated/models/multi_tenant_organization.py +++ b/msgraph_beta/generated/models/multi_tenant_organization.py @@ -76,6 +76,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .multi_tenant_organization_join_request_record import MultiTenantOrganizationJoinRequestRecord + from .multi_tenant_organization_member import MultiTenantOrganizationMember + from .multi_tenant_organization_state import MultiTenantOrganizationState + writer.write_datetime_value("createdDateTime", self.created_date_time) writer.write_str_value("description", self.description) writer.write_str_value("displayName", self.display_name) diff --git a/msgraph_beta/generated/models/multi_tenant_organization_identity_sync_policy_template.py b/msgraph_beta/generated/models/multi_tenant_organization_identity_sync_policy_template.py index b91f99786fd..1be47417728 100644 --- a/msgraph_beta/generated/models/multi_tenant_organization_identity_sync_policy_template.py +++ b/msgraph_beta/generated/models/multi_tenant_organization_identity_sync_policy_template.py @@ -60,6 +60,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .cross_tenant_user_sync_inbound import CrossTenantUserSyncInbound + from .entity import Entity + from .template_application_level import TemplateApplicationLevel + writer.write_enum_value("templateApplicationLevel", self.template_application_level) writer.write_object_value("userSyncInbound", self.user_sync_inbound) diff --git a/msgraph_beta/generated/models/multi_tenant_organization_join_request_record.py b/msgraph_beta/generated/models/multi_tenant_organization_join_request_record.py index febd97750d6..978451c75be 100644 --- a/msgraph_beta/generated/models/multi_tenant_organization_join_request_record.py +++ b/msgraph_beta/generated/models/multi_tenant_organization_join_request_record.py @@ -69,6 +69,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .multi_tenant_organization_join_request_transition_details import MultiTenantOrganizationJoinRequestTransitionDetails + from .multi_tenant_organization_member_role import MultiTenantOrganizationMemberRole + from .multi_tenant_organization_member_state import MultiTenantOrganizationMemberState + writer.write_str_value("addedByTenantId", self.added_by_tenant_id) writer.write_enum_value("memberState", self.member_state) writer.write_enum_value("role", self.role) diff --git a/msgraph_beta/generated/models/multi_tenant_organization_join_request_transition_details.py b/msgraph_beta/generated/models/multi_tenant_organization_join_request_transition_details.py index d0b726e21b9..e73f99287f9 100644 --- a/msgraph_beta/generated/models/multi_tenant_organization_join_request_transition_details.py +++ b/msgraph_beta/generated/models/multi_tenant_organization_join_request_transition_details.py @@ -62,6 +62,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .multi_tenant_organization_member_processing_status import MultiTenantOrganizationMemberProcessingStatus + from .multi_tenant_organization_member_state import MultiTenantOrganizationMemberState + writer.write_enum_value("desiredMemberState", self.desired_member_state) writer.write_str_value("details", self.details) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/multi_tenant_organization_member.py b/msgraph_beta/generated/models/multi_tenant_organization_member.py index 6b0f7afb3a2..fb5f98bf6b0 100644 --- a/msgraph_beta/generated/models/multi_tenant_organization_member.py +++ b/msgraph_beta/generated/models/multi_tenant_organization_member.py @@ -83,6 +83,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .directory_object import DirectoryObject + from .multi_tenant_organization_member_role import MultiTenantOrganizationMemberRole + from .multi_tenant_organization_member_state import MultiTenantOrganizationMemberState + from .multi_tenant_organization_member_transition_details import MultiTenantOrganizationMemberTransitionDetails + writer.write_uuid_value("addedByTenantId", self.added_by_tenant_id) writer.write_datetime_value("addedDateTime", self.added_date_time) writer.write_str_value("displayName", self.display_name) diff --git a/msgraph_beta/generated/models/multi_tenant_organization_member_collection_response.py b/msgraph_beta/generated/models/multi_tenant_organization_member_collection_response.py index 8c2ad5c1fef..1c6008f3039 100644 --- a/msgraph_beta/generated/models/multi_tenant_organization_member_collection_response.py +++ b/msgraph_beta/generated/models/multi_tenant_organization_member_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .multi_tenant_organization_member import MultiTenantOrganizationMember + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/multi_tenant_organization_member_transition_details.py b/msgraph_beta/generated/models/multi_tenant_organization_member_transition_details.py index d88be2e4107..85b5ceb027d 100644 --- a/msgraph_beta/generated/models/multi_tenant_organization_member_transition_details.py +++ b/msgraph_beta/generated/models/multi_tenant_organization_member_transition_details.py @@ -68,6 +68,10 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .multi_tenant_organization_member_processing_status import MultiTenantOrganizationMemberProcessingStatus + from .multi_tenant_organization_member_role import MultiTenantOrganizationMemberRole + from .multi_tenant_organization_member_state import MultiTenantOrganizationMemberState + writer.write_enum_value("desiredRole", self.desired_role) writer.write_enum_value("desiredState", self.desired_state) writer.write_str_value("details", self.details) diff --git a/msgraph_beta/generated/models/multi_tenant_organization_partner_configuration_template.py b/msgraph_beta/generated/models/multi_tenant_organization_partner_configuration_template.py index eb5c86852f6..fc292f02c9e 100644 --- a/msgraph_beta/generated/models/multi_tenant_organization_partner_configuration_template.py +++ b/msgraph_beta/generated/models/multi_tenant_organization_partner_configuration_template.py @@ -81,6 +81,12 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .cross_tenant_access_policy_b2_b_setting import CrossTenantAccessPolicyB2BSetting + from .cross_tenant_access_policy_inbound_trust import CrossTenantAccessPolicyInboundTrust + from .entity import Entity + from .inbound_outbound_policy_configuration import InboundOutboundPolicyConfiguration + from .template_application_level import TemplateApplicationLevel + writer.write_object_value("automaticUserConsentSettings", self.automatic_user_consent_settings) writer.write_object_value("b2bCollaborationInbound", self.b2b_collaboration_inbound) writer.write_object_value("b2bCollaborationOutbound", self.b2b_collaboration_outbound) diff --git a/msgraph_beta/generated/models/multi_value_legacy_extended_property.py b/msgraph_beta/generated/models/multi_value_legacy_extended_property.py index 80c03241033..0b9d38e5e32 100644 --- a/msgraph_beta/generated/models/multi_value_legacy_extended_property.py +++ b/msgraph_beta/generated/models/multi_value_legacy_extended_property.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_collection_of_primitive_values("value", self.value) diff --git a/msgraph_beta/generated/models/mute_participant_operation.py b/msgraph_beta/generated/models/mute_participant_operation.py index 4b3f92b99e3..31384234c99 100644 --- a/msgraph_beta/generated/models/mute_participant_operation.py +++ b/msgraph_beta/generated/models/mute_participant_operation.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .comms_operation import CommsOperation + diff --git a/msgraph_beta/generated/models/mute_participants_operation.py b/msgraph_beta/generated/models/mute_participants_operation.py index 3687af7f9b4..7d472875e43 100644 --- a/msgraph_beta/generated/models/mute_participants_operation.py +++ b/msgraph_beta/generated/models/mute_participants_operation.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .comms_operation import CommsOperation + writer.write_collection_of_primitive_values("participants", self.participants) diff --git a/msgraph_beta/generated/models/named_location.py b/msgraph_beta/generated/models/named_location.py index 1167301edba..fc7fd7834c8 100644 --- a/msgraph_beta/generated/models/named_location.py +++ b/msgraph_beta/generated/models/named_location.py @@ -33,7 +33,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> NamedLocation: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.compliantNetworkNamedLocation".casefold(): @@ -83,6 +84,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .compliant_network_named_location import CompliantNetworkNamedLocation + from .country_named_location import CountryNamedLocation + from .entity import Entity + from .ip_named_location import IpNamedLocation + writer.write_datetime_value("createdDateTime", self.created_date_time) writer.write_str_value("displayName", self.display_name) writer.write_datetime_value("modifiedDateTime", self.modified_date_time) diff --git a/msgraph_beta/generated/models/named_location_collection_response.py b/msgraph_beta/generated/models/named_location_collection_response.py index 32103e9ec04..2dbf8646caf 100644 --- a/msgraph_beta/generated/models/named_location_collection_response.py +++ b/msgraph_beta/generated/models/named_location_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .named_location import NamedLocation + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/ndes_connector.py b/msgraph_beta/generated/models/ndes_connector.py index b453cf30507..c4e27d25d9b 100644 --- a/msgraph_beta/generated/models/ndes_connector.py +++ b/msgraph_beta/generated/models/ndes_connector.py @@ -76,6 +76,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .ndes_connector_state import NdesConnectorState + writer.write_str_value("connectorVersion", self.connector_version) writer.write_str_value("displayName", self.display_name) writer.write_datetime_value("enrolledDateTime", self.enrolled_date_time) diff --git a/msgraph_beta/generated/models/ndes_connector_collection_response.py b/msgraph_beta/generated/models/ndes_connector_collection_response.py index 1b8bd7cbf07..c127c42b7ec 100644 --- a/msgraph_beta/generated/models/ndes_connector_collection_response.py +++ b/msgraph_beta/generated/models/ndes_connector_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .ndes_connector import NdesConnector + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/network_connection.py b/msgraph_beta/generated/models/network_connection.py index 64ec184e9d4..61f335e7a0d 100644 --- a/msgraph_beta/generated/models/network_connection.py +++ b/msgraph_beta/generated/models/network_connection.py @@ -117,6 +117,10 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .connection_direction import ConnectionDirection + from .connection_status import ConnectionStatus + from .security_network_protocol import SecurityNetworkProtocol + writer.write_str_value("applicationName", self.application_name) writer.write_str_value("destinationAddress", self.destination_address) writer.write_str_value("destinationDomain", self.destination_domain) diff --git a/msgraph_beta/generated/models/network_location_detail.py b/msgraph_beta/generated/models/network_location_detail.py index 09086fe8ed0..d53331a0fca 100644 --- a/msgraph_beta/generated/models/network_location_detail.py +++ b/msgraph_beta/generated/models/network_location_detail.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .network_type import NetworkType + writer.write_collection_of_primitive_values("networkNames", self.network_names) writer.write_enum_value("networkType", self.network_type) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/networkaccess/alert.py b/msgraph_beta/generated/models/networkaccess/alert.py index a2bb486df86..567ba113061 100644 --- a/msgraph_beta/generated/models/networkaccess/alert.py +++ b/msgraph_beta/generated/models/networkaccess/alert.py @@ -94,6 +94,13 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + from .alert_action import AlertAction + from .alert_severity import AlertSeverity + from .alert_type import AlertType + from .filtering_policy import FilteringPolicy + from .related_resource import RelatedResource + writer.write_collection_of_object_values("actions", self.actions) writer.write_enum_value("alertType", self.alert_type) writer.write_datetime_value("creationDateTime", self.creation_date_time) diff --git a/msgraph_beta/generated/models/networkaccess/alert_collection_response.py b/msgraph_beta/generated/models/networkaccess/alert_collection_response.py index 3192706a815..d96e60a3b76 100644 --- a/msgraph_beta/generated/models/networkaccess/alert_collection_response.py +++ b/msgraph_beta/generated/models/networkaccess/alert_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .alert import Alert + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/networkaccess/alert_severity_summary.py b/msgraph_beta/generated/models/networkaccess/alert_severity_summary.py index 8e14d12d461..238e45f77b1 100644 --- a/msgraph_beta/generated/models/networkaccess/alert_severity_summary.py +++ b/msgraph_beta/generated/models/networkaccess/alert_severity_summary.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .alert_severity import AlertSeverity + writer.write_int_value("count", self.count) writer.write_str_value("@odata.type", self.odata_type) writer.write_enum_value("severity", self.severity) diff --git a/msgraph_beta/generated/models/networkaccess/associated_branch.py b/msgraph_beta/generated/models/networkaccess/associated_branch.py index adf450b3a2e..9060bd7ffd2 100644 --- a/msgraph_beta/generated/models/networkaccess/associated_branch.py +++ b/msgraph_beta/generated/models/networkaccess/associated_branch.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .association import Association + writer.write_str_value("branchId", self.branch_id) diff --git a/msgraph_beta/generated/models/networkaccess/association.py b/msgraph_beta/generated/models/networkaccess/association.py index eba4406953c..1a44804ea39 100644 --- a/msgraph_beta/generated/models/networkaccess/association.py +++ b/msgraph_beta/generated/models/networkaccess/association.py @@ -27,7 +27,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> Association: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.networkaccess.associatedBranch".casefold(): @@ -58,6 +59,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .associated_branch import AssociatedBranch + writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/networkaccess/branch_connectivity_configuration.py b/msgraph_beta/generated/models/networkaccess/branch_connectivity_configuration.py index 0c33970a671..98f2f972ba1 100644 --- a/msgraph_beta/generated/models/networkaccess/branch_connectivity_configuration.py +++ b/msgraph_beta/generated/models/networkaccess/branch_connectivity_configuration.py @@ -59,6 +59,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .connectivity_configuration_link import ConnectivityConfigurationLink + writer.write_str_value("branchId", self.branch_id) writer.write_str_value("branchName", self.branch_name) writer.write_collection_of_object_values("links", self.links) diff --git a/msgraph_beta/generated/models/networkaccess/branch_site.py b/msgraph_beta/generated/models/networkaccess/branch_site.py index 307e80cfe67..1cf54261035 100644 --- a/msgraph_beta/generated/models/networkaccess/branch_site.py +++ b/msgraph_beta/generated/models/networkaccess/branch_site.py @@ -94,6 +94,13 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + from .branch_connectivity_configuration import BranchConnectivityConfiguration + from .connectivity_state import ConnectivityState + from .device_link import DeviceLink + from .forwarding_profile import ForwardingProfile + from .region import Region + writer.write_int_value("bandwidthCapacity", self.bandwidth_capacity) writer.write_object_value("connectivityConfiguration", self.connectivity_configuration) writer.write_enum_value("connectivityState", self.connectivity_state) diff --git a/msgraph_beta/generated/models/networkaccess/branch_site_collection_response.py b/msgraph_beta/generated/models/networkaccess/branch_site_collection_response.py index a32f224f7a9..82ac0c2aff6 100644 --- a/msgraph_beta/generated/models/networkaccess/branch_site_collection_response.py +++ b/msgraph_beta/generated/models/networkaccess/branch_site_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .branch_site import BranchSite + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/networkaccess/conditional_access_policy.py b/msgraph_beta/generated/models/networkaccess/conditional_access_policy.py index 4af2e38f843..0c4c826f317 100644 --- a/msgraph_beta/generated/models/networkaccess/conditional_access_policy.py +++ b/msgraph_beta/generated/models/networkaccess/conditional_access_policy.py @@ -61,6 +61,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + writer.write_datetime_value("createdDateTime", self.created_date_time) writer.write_str_value("description", self.description) writer.write_str_value("displayName", self.display_name) diff --git a/msgraph_beta/generated/models/networkaccess/conditional_access_policy_collection_response.py b/msgraph_beta/generated/models/networkaccess/conditional_access_policy_collection_response.py index c5d0e1289e7..47a97415b9d 100644 --- a/msgraph_beta/generated/models/networkaccess/conditional_access_policy_collection_response.py +++ b/msgraph_beta/generated/models/networkaccess/conditional_access_policy_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .conditional_access_policy import ConditionalAccessPolicy + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/networkaccess/conditional_access_settings.py b/msgraph_beta/generated/models/networkaccess/conditional_access_settings.py index ebc9cbaeea3..da71873ae80 100644 --- a/msgraph_beta/generated/models/networkaccess/conditional_access_settings.py +++ b/msgraph_beta/generated/models/networkaccess/conditional_access_settings.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + from .status import Status + writer.write_enum_value("signalingStatus", self.signaling_status) diff --git a/msgraph_beta/generated/models/networkaccess/connectivity.py b/msgraph_beta/generated/models/networkaccess/connectivity.py index d709ccdeaba..787848e8a86 100644 --- a/msgraph_beta/generated/models/networkaccess/connectivity.py +++ b/msgraph_beta/generated/models/networkaccess/connectivity.py @@ -66,6 +66,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + from .branch_site import BranchSite + from .remote_network import RemoteNetwork + from .web_category import WebCategory + writer.write_collection_of_object_values("branches", self.branches) writer.write_collection_of_object_values("remoteNetworks", self.remote_networks) writer.write_collection_of_object_values("webCategories", self.web_categories) diff --git a/msgraph_beta/generated/models/networkaccess/connectivity_configuration_link.py b/msgraph_beta/generated/models/networkaccess/connectivity_configuration_link.py index 908b897a7d6..7f64ff82484 100644 --- a/msgraph_beta/generated/models/networkaccess/connectivity_configuration_link.py +++ b/msgraph_beta/generated/models/networkaccess/connectivity_configuration_link.py @@ -63,6 +63,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + from .local_connectivity_configuration import LocalConnectivityConfiguration + from .peer_connectivity_configuration import PeerConnectivityConfiguration + writer.write_str_value("displayName", self.display_name) writer.write_collection_of_object_values("localConfigurations", self.local_configurations) writer.write_object_value("peerConfiguration", self.peer_configuration) diff --git a/msgraph_beta/generated/models/networkaccess/connectivity_configuration_link_collection_response.py b/msgraph_beta/generated/models/networkaccess/connectivity_configuration_link_collection_response.py index b1c8c110664..3b1789b09cc 100644 --- a/msgraph_beta/generated/models/networkaccess/connectivity_configuration_link_collection_response.py +++ b/msgraph_beta/generated/models/networkaccess/connectivity_configuration_link_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .connectivity_configuration_link import ConnectivityConfigurationLink + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/networkaccess/cross_tenant_access.py b/msgraph_beta/generated/models/networkaccess/cross_tenant_access.py index ec1528dbe75..9974a066486 100644 --- a/msgraph_beta/generated/models/networkaccess/cross_tenant_access.py +++ b/msgraph_beta/generated/models/networkaccess/cross_tenant_access.py @@ -72,6 +72,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .usage_status import UsageStatus + writer.write_int_value("deviceCount", self.device_count) writer.write_datetime_value("lastAccessDateTime", self.last_access_date_time) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/networkaccess/cross_tenant_access_settings.py b/msgraph_beta/generated/models/networkaccess/cross_tenant_access_settings.py index b25edd22b35..658ac869493 100644 --- a/msgraph_beta/generated/models/networkaccess/cross_tenant_access_settings.py +++ b/msgraph_beta/generated/models/networkaccess/cross_tenant_access_settings.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + from .status import Status + writer.write_enum_value("networkPacketTaggingStatus", self.network_packet_tagging_status) diff --git a/msgraph_beta/generated/models/networkaccess/destination.py b/msgraph_beta/generated/models/networkaccess/destination.py index ef7e76fdb92..8e7e9278509 100644 --- a/msgraph_beta/generated/models/networkaccess/destination.py +++ b/msgraph_beta/generated/models/networkaccess/destination.py @@ -93,6 +93,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .networking_protocol import NetworkingProtocol + from .traffic_type import TrafficType + writer.write_int_value("deviceCount", self.device_count) writer.write_datetime_value("firstAccessDateTime", self.first_access_date_time) writer.write_str_value("fqdn", self.fqdn) diff --git a/msgraph_beta/generated/models/networkaccess/destination_summary.py b/msgraph_beta/generated/models/networkaccess/destination_summary.py index 5f37465de8b..07247fb74d5 100644 --- a/msgraph_beta/generated/models/networkaccess/destination_summary.py +++ b/msgraph_beta/generated/models/networkaccess/destination_summary.py @@ -59,6 +59,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .traffic_type import TrafficType + writer.write_int_value("count", self.count) writer.write_str_value("destination", self.destination) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/networkaccess/device.py b/msgraph_beta/generated/models/networkaccess/device.py index 403a47ef66c..ca80c1633e6 100644 --- a/msgraph_beta/generated/models/networkaccess/device.py +++ b/msgraph_beta/generated/models/networkaccess/device.py @@ -69,6 +69,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .traffic_type import TrafficType + writer.write_str_value("deviceId", self.device_id) writer.write_str_value("displayName", self.display_name) writer.write_bool_value("isCompliant", self.is_compliant) diff --git a/msgraph_beta/generated/models/networkaccess/device_link.py b/msgraph_beta/generated/models/networkaccess/device_link.py index 1a97f6f5591..4978cdd24b3 100644 --- a/msgraph_beta/generated/models/networkaccess/device_link.py +++ b/msgraph_beta/generated/models/networkaccess/device_link.py @@ -88,6 +88,13 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + from .bandwidth_capacity_in_mbps import BandwidthCapacityInMbps + from .bgp_configuration import BgpConfiguration + from .device_vendor import DeviceVendor + from .redundancy_configuration import RedundancyConfiguration + from .tunnel_configuration import TunnelConfiguration + writer.write_enum_value("bandwidthCapacityInMbps", self.bandwidth_capacity_in_mbps) writer.write_object_value("bgpConfiguration", self.bgp_configuration) writer.write_enum_value("deviceVendor", self.device_vendor) diff --git a/msgraph_beta/generated/models/networkaccess/device_link_collection_response.py b/msgraph_beta/generated/models/networkaccess/device_link_collection_response.py index 67eb62626b4..b2391ae313c 100644 --- a/msgraph_beta/generated/models/networkaccess/device_link_collection_response.py +++ b/msgraph_beta/generated/models/networkaccess/device_link_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .device_link import DeviceLink + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/networkaccess/discovered_application_segment_report.py b/msgraph_beta/generated/models/networkaccess/discovered_application_segment_report.py index 400baf4c18d..b6a0c83d583 100644 --- a/msgraph_beta/generated/models/networkaccess/discovered_application_segment_report.py +++ b/msgraph_beta/generated/models/networkaccess/discovered_application_segment_report.py @@ -93,6 +93,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .access_type import AccessType + from .networking_protocol import NetworkingProtocol + writer.write_enum_value("accessType", self.access_type) writer.write_int_value("deviceCount", self.device_count) writer.write_str_value("discoveredApplicationSegmentId", self.discovered_application_segment_id) diff --git a/msgraph_beta/generated/models/networkaccess/enriched_audit_logs.py b/msgraph_beta/generated/models/networkaccess/enriched_audit_logs.py index 80e0f95cd45..45e57df1314 100644 --- a/msgraph_beta/generated/models/networkaccess/enriched_audit_logs.py +++ b/msgraph_beta/generated/models/networkaccess/enriched_audit_logs.py @@ -60,6 +60,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + from .enriched_audit_logs_settings import EnrichedAuditLogsSettings + writer.write_object_value("exchange", self.exchange) writer.write_object_value("sharepoint", self.sharepoint) writer.write_object_value("teams", self.teams) diff --git a/msgraph_beta/generated/models/networkaccess/enriched_audit_logs_settings.py b/msgraph_beta/generated/models/networkaccess/enriched_audit_logs_settings.py index 1137642bab5..dc8a8b9c98e 100644 --- a/msgraph_beta/generated/models/networkaccess/enriched_audit_logs_settings.py +++ b/msgraph_beta/generated/models/networkaccess/enriched_audit_logs_settings.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .status import Status + writer.write_str_value("@odata.type", self.odata_type) writer.write_enum_value("status", self.status) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/networkaccess/entities_summary.py b/msgraph_beta/generated/models/networkaccess/entities_summary.py index 7e63b21e4d1..adf6fcac04c 100644 --- a/msgraph_beta/generated/models/networkaccess/entities_summary.py +++ b/msgraph_beta/generated/models/networkaccess/entities_summary.py @@ -62,6 +62,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .traffic_type import TrafficType + writer.write_int_value("deviceCount", self.device_count) writer.write_str_value("@odata.type", self.odata_type) writer.write_enum_value("trafficType", self.traffic_type) diff --git a/msgraph_beta/generated/models/networkaccess/filtering_policy.py b/msgraph_beta/generated/models/networkaccess/filtering_policy.py index 3a8ac811d68..c09defe79b4 100644 --- a/msgraph_beta/generated/models/networkaccess/filtering_policy.py +++ b/msgraph_beta/generated/models/networkaccess/filtering_policy.py @@ -61,6 +61,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .filtering_policy_action import FilteringPolicyAction + from .policy import Policy + writer.write_enum_value("action", self.action) writer.write_datetime_value("createdDateTime", self.created_date_time) writer.write_datetime_value("lastModifiedDateTime", self.last_modified_date_time) diff --git a/msgraph_beta/generated/models/networkaccess/filtering_policy_collection_response.py b/msgraph_beta/generated/models/networkaccess/filtering_policy_collection_response.py index ea66d2dd0a9..e7886c4719e 100644 --- a/msgraph_beta/generated/models/networkaccess/filtering_policy_collection_response.py +++ b/msgraph_beta/generated/models/networkaccess/filtering_policy_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .filtering_policy import FilteringPolicy + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/networkaccess/filtering_policy_link.py b/msgraph_beta/generated/models/networkaccess/filtering_policy_link.py index 3c66fa71737..a626a068241 100644 --- a/msgraph_beta/generated/models/networkaccess/filtering_policy_link.py +++ b/msgraph_beta/generated/models/networkaccess/filtering_policy_link.py @@ -64,6 +64,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .policy_link import PolicyLink + from .status import Status + writer.write_datetime_value("createdDateTime", self.created_date_time) writer.write_datetime_value("lastModifiedDateTime", self.last_modified_date_time) writer.write_enum_value("loggingState", self.logging_state) diff --git a/msgraph_beta/generated/models/networkaccess/filtering_profile.py b/msgraph_beta/generated/models/networkaccess/filtering_profile.py index 608df4da04a..a59f85c5ba0 100644 --- a/msgraph_beta/generated/models/networkaccess/filtering_profile.py +++ b/msgraph_beta/generated/models/networkaccess/filtering_profile.py @@ -61,6 +61,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .conditional_access_policy import ConditionalAccessPolicy + from .profile import Profile + writer.write_collection_of_object_values("conditionalAccessPolicies", self.conditional_access_policies) writer.write_datetime_value("createdDateTime", self.created_date_time) writer.write_int_value("priority", self.priority) diff --git a/msgraph_beta/generated/models/networkaccess/filtering_profile_collection_response.py b/msgraph_beta/generated/models/networkaccess/filtering_profile_collection_response.py index 67aad581629..adbb7c88dda 100644 --- a/msgraph_beta/generated/models/networkaccess/filtering_profile_collection_response.py +++ b/msgraph_beta/generated/models/networkaccess/filtering_profile_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .filtering_profile import FilteringProfile + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/networkaccess/filtering_rule.py b/msgraph_beta/generated/models/networkaccess/filtering_rule.py index d3974caa7f0..3138c51605f 100644 --- a/msgraph_beta/generated/models/networkaccess/filtering_rule.py +++ b/msgraph_beta/generated/models/networkaccess/filtering_rule.py @@ -31,7 +31,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> FilteringRule: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.networkaccess.fqdnFilteringRule".casefold(): @@ -78,6 +79,12 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .fqdn_filtering_rule import FqdnFilteringRule + from .network_destination_type import NetworkDestinationType + from .policy_rule import PolicyRule + from .rule_destination import RuleDestination + from .web_category_filtering_rule import WebCategoryFilteringRule + writer.write_collection_of_object_values("destinations", self.destinations) writer.write_enum_value("ruleType", self.rule_type) diff --git a/msgraph_beta/generated/models/networkaccess/forwarding_options.py b/msgraph_beta/generated/models/networkaccess/forwarding_options.py index a3b4538cb92..e81a63cd5aa 100644 --- a/msgraph_beta/generated/models/networkaccess/forwarding_options.py +++ b/msgraph_beta/generated/models/networkaccess/forwarding_options.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + from .status import Status + writer.write_enum_value("skipDnsLookupState", self.skip_dns_lookup_state) diff --git a/msgraph_beta/generated/models/networkaccess/forwarding_policy.py b/msgraph_beta/generated/models/networkaccess/forwarding_policy.py index 7666364f985..bcfed6ba657 100644 --- a/msgraph_beta/generated/models/networkaccess/forwarding_policy.py +++ b/msgraph_beta/generated/models/networkaccess/forwarding_policy.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .policy import Policy + from .traffic_forwarding_type import TrafficForwardingType + writer.write_enum_value("trafficForwardingType", self.traffic_forwarding_type) diff --git a/msgraph_beta/generated/models/networkaccess/forwarding_policy_collection_response.py b/msgraph_beta/generated/models/networkaccess/forwarding_policy_collection_response.py index 13c573dc640..04a33477cb4 100644 --- a/msgraph_beta/generated/models/networkaccess/forwarding_policy_collection_response.py +++ b/msgraph_beta/generated/models/networkaccess/forwarding_policy_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .forwarding_policy import ForwardingPolicy + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/networkaccess/forwarding_policy_link.py b/msgraph_beta/generated/models/networkaccess/forwarding_policy_link.py index 43a2e516add..95a34b7d1ca 100644 --- a/msgraph_beta/generated/models/networkaccess/forwarding_policy_link.py +++ b/msgraph_beta/generated/models/networkaccess/forwarding_policy_link.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .policy_link import PolicyLink + diff --git a/msgraph_beta/generated/models/networkaccess/forwarding_profile.py b/msgraph_beta/generated/models/networkaccess/forwarding_profile.py index 8807d1cc5a3..2634d9198d6 100644 --- a/msgraph_beta/generated/models/networkaccess/forwarding_profile.py +++ b/msgraph_beta/generated/models/networkaccess/forwarding_profile.py @@ -69,6 +69,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..service_principal import ServicePrincipal + from .association import Association + from .profile import Profile + from .traffic_forwarding_type import TrafficForwardingType + writer.write_collection_of_object_values("associations", self.associations) writer.write_int_value("priority", self.priority) writer.write_object_value("servicePrincipal", self.service_principal) diff --git a/msgraph_beta/generated/models/networkaccess/forwarding_profile_collection_response.py b/msgraph_beta/generated/models/networkaccess/forwarding_profile_collection_response.py index 5818fac7c30..338257fc216 100644 --- a/msgraph_beta/generated/models/networkaccess/forwarding_profile_collection_response.py +++ b/msgraph_beta/generated/models/networkaccess/forwarding_profile_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .forwarding_profile import ForwardingProfile + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/networkaccess/forwarding_rule.py b/msgraph_beta/generated/models/networkaccess/forwarding_rule.py index 0968ba85e36..f1f2a3dd016 100644 --- a/msgraph_beta/generated/models/networkaccess/forwarding_rule.py +++ b/msgraph_beta/generated/models/networkaccess/forwarding_rule.py @@ -35,7 +35,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> ForwardingRule: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.networkaccess.internetAccessForwardingRule".casefold(): @@ -91,6 +92,14 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .forwarding_rule_action import ForwardingRuleAction + from .internet_access_forwarding_rule import InternetAccessForwardingRule + from .m365_forwarding_rule import M365ForwardingRule + from .network_destination_type import NetworkDestinationType + from .policy_rule import PolicyRule + from .private_access_forwarding_rule import PrivateAccessForwardingRule + from .rule_destination import RuleDestination + writer.write_enum_value("action", self.action) writer.write_collection_of_object_values("destinations", self.destinations) writer.write_enum_value("ruleType", self.rule_type) diff --git a/msgraph_beta/generated/models/networkaccess/fqdn.py b/msgraph_beta/generated/models/networkaccess/fqdn.py index 2c4c13fbda9..768081660e5 100644 --- a/msgraph_beta/generated/models/networkaccess/fqdn.py +++ b/msgraph_beta/generated/models/networkaccess/fqdn.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .rule_destination import RuleDestination + writer.write_str_value("value", self.value) diff --git a/msgraph_beta/generated/models/networkaccess/fqdn_filtering_rule.py b/msgraph_beta/generated/models/networkaccess/fqdn_filtering_rule.py index 1632e7cac20..07bd39a5920 100644 --- a/msgraph_beta/generated/models/networkaccess/fqdn_filtering_rule.py +++ b/msgraph_beta/generated/models/networkaccess/fqdn_filtering_rule.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .filtering_rule import FilteringRule + diff --git a/msgraph_beta/generated/models/networkaccess/internet_access_forwarding_rule.py b/msgraph_beta/generated/models/networkaccess/internet_access_forwarding_rule.py index 2f3eb5b8d64..82c06156896 100644 --- a/msgraph_beta/generated/models/networkaccess/internet_access_forwarding_rule.py +++ b/msgraph_beta/generated/models/networkaccess/internet_access_forwarding_rule.py @@ -57,6 +57,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .forwarding_rule import ForwardingRule + from .networking_protocol import NetworkingProtocol + writer.write_collection_of_primitive_values("ports", self.ports) writer.write_enum_value("protocol", self.protocol) diff --git a/msgraph_beta/generated/models/networkaccess/ip_address.py b/msgraph_beta/generated/models/networkaccess/ip_address.py index 7f407e3ed8f..d2e379ade60 100644 --- a/msgraph_beta/generated/models/networkaccess/ip_address.py +++ b/msgraph_beta/generated/models/networkaccess/ip_address.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .rule_destination import RuleDestination + writer.write_str_value("value", self.value) diff --git a/msgraph_beta/generated/models/networkaccess/ip_range.py b/msgraph_beta/generated/models/networkaccess/ip_range.py index 11c5d208c37..327a1bc0d0c 100644 --- a/msgraph_beta/generated/models/networkaccess/ip_range.py +++ b/msgraph_beta/generated/models/networkaccess/ip_range.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .rule_destination import RuleDestination + writer.write_str_value("beginAddress", self.begin_address) writer.write_str_value("endAddress", self.end_address) diff --git a/msgraph_beta/generated/models/networkaccess/ip_subnet.py b/msgraph_beta/generated/models/networkaccess/ip_subnet.py index f214e1598a5..5315f3ad0c4 100644 --- a/msgraph_beta/generated/models/networkaccess/ip_subnet.py +++ b/msgraph_beta/generated/models/networkaccess/ip_subnet.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .rule_destination import RuleDestination + writer.write_str_value("value", self.value) diff --git a/msgraph_beta/generated/models/networkaccess/local_connectivity_configuration.py b/msgraph_beta/generated/models/networkaccess/local_connectivity_configuration.py index 619946f1370..7b6b995108b 100644 --- a/msgraph_beta/generated/models/networkaccess/local_connectivity_configuration.py +++ b/msgraph_beta/generated/models/networkaccess/local_connectivity_configuration.py @@ -62,6 +62,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .region import Region + writer.write_int_value("asn", self.asn) writer.write_str_value("bgpAddress", self.bgp_address) writer.write_str_value("endpoint", self.endpoint) diff --git a/msgraph_beta/generated/models/networkaccess/logs.py b/msgraph_beta/generated/models/networkaccess/logs.py index ddefaf13814..cf1e2626809 100644 --- a/msgraph_beta/generated/models/networkaccess/logs.py +++ b/msgraph_beta/generated/models/networkaccess/logs.py @@ -60,6 +60,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + from .network_access_traffic import NetworkAccessTraffic + from .remote_network_health_event import RemoteNetworkHealthEvent + writer.write_collection_of_object_values("remoteNetworks", self.remote_networks) writer.write_collection_of_object_values("traffic", self.traffic) diff --git a/msgraph_beta/generated/models/networkaccess/m365_forwarding_rule.py b/msgraph_beta/generated/models/networkaccess/m365_forwarding_rule.py index 4c4048d227f..e2e66784d29 100644 --- a/msgraph_beta/generated/models/networkaccess/m365_forwarding_rule.py +++ b/msgraph_beta/generated/models/networkaccess/m365_forwarding_rule.py @@ -63,6 +63,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .forwarding_category import ForwardingCategory + from .forwarding_rule import ForwardingRule + from .networking_protocol import NetworkingProtocol + writer.write_enum_value("category", self.category) writer.write_collection_of_primitive_values("ports", self.ports) writer.write_enum_value("protocol", self.protocol) diff --git a/msgraph_beta/generated/models/networkaccess/network_access_root.py b/msgraph_beta/generated/models/networkaccess/network_access_root.py index 2c38e534866..42c75ee45d6 100644 --- a/msgraph_beta/generated/models/networkaccess/network_access_root.py +++ b/msgraph_beta/generated/models/networkaccess/network_access_root.py @@ -108,6 +108,18 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + from .alert import Alert + from .connectivity import Connectivity + from .filtering_policy import FilteringPolicy + from .filtering_profile import FilteringProfile + from .forwarding_policy import ForwardingPolicy + from .forwarding_profile import ForwardingProfile + from .logs import Logs + from .reports import Reports + from .settings import Settings + from .tenant_status import TenantStatus + writer.write_collection_of_object_values("alerts", self.alerts) writer.write_object_value("connectivity", self.connectivity) writer.write_collection_of_object_values("filteringPolicies", self.filtering_policies) diff --git a/msgraph_beta/generated/models/networkaccess/network_access_traffic.py b/msgraph_beta/generated/models/networkaccess/network_access_traffic.py index 5fa4496134c..3208477dc7d 100644 --- a/msgraph_beta/generated/models/networkaccess/network_access_traffic.py +++ b/msgraph_beta/generated/models/networkaccess/network_access_traffic.py @@ -14,6 +14,7 @@ from .headers import Headers from .http_method import HttpMethod from .networking_protocol import NetworkingProtocol + from .network_traffic_operation_status import NetworkTrafficOperationStatus from .private_access_details import PrivateAccessDetails from .traffic_type import TrafficType from .web_category import WebCategory @@ -71,6 +72,8 @@ class NetworkAccessTraffic(AdditionalDataHolder, BackedModel, Parsable): network_protocol: Optional[NetworkingProtocol] = None # The OdataType property odata_type: Optional[str] = None + # The operationStatus property + operation_status: Optional[NetworkTrafficOperationStatus] = None # Represents a unique identifier assigned to a policy. Supports $filter (eq) and $orderby. policy_id: Optional[str] = None # The policyName property @@ -79,6 +82,8 @@ class NetworkAccessTraffic(AdditionalDataHolder, BackedModel, Parsable): policy_rule_id: Optional[str] = None # The policyRuleName property policy_rule_name: Optional[str] = None + # The popProcessingRegion property + pop_processing_region: Optional[str] = None # The privateAccessDetails property private_access_details: Optional[PrivateAccessDetails] = None # Represents the total number of bytes received in a network communication or data transfer. Supports $filter (eq) and $orderby. @@ -140,6 +145,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .headers import Headers from .http_method import HttpMethod from .networking_protocol import NetworkingProtocol + from .network_traffic_operation_status import NetworkTrafficOperationStatus from .private_access_details import PrivateAccessDetails from .traffic_type import TrafficType from .web_category import WebCategory @@ -152,6 +158,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .headers import Headers from .http_method import HttpMethod from .networking_protocol import NetworkingProtocol + from .network_traffic_operation_status import NetworkTrafficOperationStatus from .private_access_details import PrivateAccessDetails from .traffic_type import TrafficType from .web_category import WebCategory @@ -180,10 +187,12 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: "initiatingProcessName": lambda n : setattr(self, 'initiating_process_name', n.get_str_value()), "networkProtocol": lambda n : setattr(self, 'network_protocol', n.get_enum_value(NetworkingProtocol)), "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), + "operationStatus": lambda n : setattr(self, 'operation_status', n.get_enum_value(NetworkTrafficOperationStatus)), "policyId": lambda n : setattr(self, 'policy_id', n.get_str_value()), "policyName": lambda n : setattr(self, 'policy_name', n.get_str_value()), "policyRuleId": lambda n : setattr(self, 'policy_rule_id', n.get_str_value()), "policyRuleName": lambda n : setattr(self, 'policy_rule_name', n.get_str_value()), + "popProcessingRegion": lambda n : setattr(self, 'pop_processing_region', n.get_str_value()), "privateAccessDetails": lambda n : setattr(self, 'private_access_details', n.get_object_value(PrivateAccessDetails)), "receivedBytes": lambda n : setattr(self, 'received_bytes', n.get_int_value()), "remoteNetworkId": lambda n : setattr(self, 'remote_network_id', n.get_str_value()), @@ -213,6 +222,19 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ..device import Device + from ..user import User + from .application_snapshot import ApplicationSnapshot + from .device_category import DeviceCategory + from .filtering_policy_action import FilteringPolicyAction + from .headers import Headers + from .http_method import HttpMethod + from .networking_protocol import NetworkingProtocol + from .network_traffic_operation_status import NetworkTrafficOperationStatus + from .private_access_details import PrivateAccessDetails + from .traffic_type import TrafficType + from .web_category import WebCategory + writer.write_enum_value("action", self.action) writer.write_str_value("agentVersion", self.agent_version) writer.write_object_value("applicationSnapshot", self.application_snapshot) @@ -236,10 +258,12 @@ def serialize(self,writer: SerializationWriter) -> None: writer.write_str_value("initiatingProcessName", self.initiating_process_name) writer.write_enum_value("networkProtocol", self.network_protocol) writer.write_str_value("@odata.type", self.odata_type) + writer.write_enum_value("operationStatus", self.operation_status) writer.write_str_value("policyId", self.policy_id) writer.write_str_value("policyName", self.policy_name) writer.write_str_value("policyRuleId", self.policy_rule_id) writer.write_str_value("policyRuleName", self.policy_rule_name) + writer.write_str_value("popProcessingRegion", self.pop_processing_region) writer.write_object_value("privateAccessDetails", self.private_access_details) writer.write_int_value("receivedBytes", self.received_bytes) writer.write_str_value("remoteNetworkId", self.remote_network_id) diff --git a/msgraph_beta/generated/models/networkaccess/network_access_traffic_collection_response.py b/msgraph_beta/generated/models/networkaccess/network_access_traffic_collection_response.py index 160da1c08a1..940172bf126 100644 --- a/msgraph_beta/generated/models/networkaccess/network_access_traffic_collection_response.py +++ b/msgraph_beta/generated/models/networkaccess/network_access_traffic_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .network_access_traffic import NetworkAccessTraffic + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/networkaccess/network_traffic_operation_status.py b/msgraph_beta/generated/models/networkaccess/network_traffic_operation_status.py new file mode 100644 index 00000000000..bb176feea78 --- /dev/null +++ b/msgraph_beta/generated/models/networkaccess/network_traffic_operation_status.py @@ -0,0 +1,7 @@ +from enum import Enum + +class NetworkTrafficOperationStatus(str, Enum): + Success = "success", + Failure = "failure", + UnknownFutureValue = "unknownFutureValue", + diff --git a/msgraph_beta/generated/models/networkaccess/policy.py b/msgraph_beta/generated/models/networkaccess/policy.py index 8b2102a2243..a647f8e7435 100644 --- a/msgraph_beta/generated/models/networkaccess/policy.py +++ b/msgraph_beta/generated/models/networkaccess/policy.py @@ -34,7 +34,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> Policy: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.networkaccess.filteringPolicy".casefold(): @@ -81,6 +82,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + from .filtering_policy import FilteringPolicy + from .forwarding_policy import ForwardingPolicy + from .policy_rule import PolicyRule + writer.write_str_value("description", self.description) writer.write_str_value("name", self.name) writer.write_collection_of_object_values("policyRules", self.policy_rules) diff --git a/msgraph_beta/generated/models/networkaccess/policy_link.py b/msgraph_beta/generated/models/networkaccess/policy_link.py index 95ef1718c7c..1fad215b574 100644 --- a/msgraph_beta/generated/models/networkaccess/policy_link.py +++ b/msgraph_beta/generated/models/networkaccess/policy_link.py @@ -33,7 +33,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> PolicyLink: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.networkaccess.filteringPolicyLink".casefold(): @@ -81,6 +82,12 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + from .filtering_policy_link import FilteringPolicyLink + from .forwarding_policy_link import ForwardingPolicyLink + from .policy import Policy + from .status import Status + writer.write_object_value("policy", self.policy) writer.write_enum_value("state", self.state) writer.write_str_value("version", self.version) diff --git a/msgraph_beta/generated/models/networkaccess/policy_link_collection_response.py b/msgraph_beta/generated/models/networkaccess/policy_link_collection_response.py index daf7be36d8c..65a4d3aea62 100644 --- a/msgraph_beta/generated/models/networkaccess/policy_link_collection_response.py +++ b/msgraph_beta/generated/models/networkaccess/policy_link_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .policy_link import PolicyLink + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/networkaccess/policy_rule.py b/msgraph_beta/generated/models/networkaccess/policy_rule.py index ba2f4797f7c..b46ede4c0cd 100644 --- a/msgraph_beta/generated/models/networkaccess/policy_rule.py +++ b/msgraph_beta/generated/models/networkaccess/policy_rule.py @@ -32,7 +32,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> PolicyRule: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.networkaccess.filteringRule".casefold(): @@ -104,6 +105,15 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + from .filtering_rule import FilteringRule + from .forwarding_rule import ForwardingRule + from .fqdn_filtering_rule import FqdnFilteringRule + from .internet_access_forwarding_rule import InternetAccessForwardingRule + from .m365_forwarding_rule import M365ForwardingRule + from .private_access_forwarding_rule import PrivateAccessForwardingRule + from .web_category_filtering_rule import WebCategoryFilteringRule + writer.write_str_value("name", self.name) diff --git a/msgraph_beta/generated/models/networkaccess/policy_rule_collection_response.py b/msgraph_beta/generated/models/networkaccess/policy_rule_collection_response.py index 37b402939fa..227e88d60a1 100644 --- a/msgraph_beta/generated/models/networkaccess/policy_rule_collection_response.py +++ b/msgraph_beta/generated/models/networkaccess/policy_rule_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .policy_rule import PolicyRule + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/networkaccess/policy_rule_delta.py b/msgraph_beta/generated/models/networkaccess/policy_rule_delta.py index 1517a22cdb8..7f42e10bfb8 100644 --- a/msgraph_beta/generated/models/networkaccess/policy_rule_delta.py +++ b/msgraph_beta/generated/models/networkaccess/policy_rule_delta.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .forwarding_rule_action import ForwardingRuleAction + writer.write_enum_value("action", self.action) writer.write_str_value("@odata.type", self.odata_type) writer.write_str_value("ruleId", self.rule_id) diff --git a/msgraph_beta/generated/models/networkaccess/private_access_details.py b/msgraph_beta/generated/models/networkaccess/private_access_details.py index 614d1ce6491..03ab54a50a7 100644 --- a/msgraph_beta/generated/models/networkaccess/private_access_details.py +++ b/msgraph_beta/generated/models/networkaccess/private_access_details.py @@ -80,6 +80,10 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .access_type import AccessType + from .connection_status import ConnectionStatus + from .third_party_token_details import ThirdPartyTokenDetails + writer.write_enum_value("accessType", self.access_type) writer.write_str_value("appSegmentId", self.app_segment_id) writer.write_enum_value("connectionStatus", self.connection_status) diff --git a/msgraph_beta/generated/models/networkaccess/private_access_forwarding_rule.py b/msgraph_beta/generated/models/networkaccess/private_access_forwarding_rule.py index 0d7577581bf..182644b45e1 100644 --- a/msgraph_beta/generated/models/networkaccess/private_access_forwarding_rule.py +++ b/msgraph_beta/generated/models/networkaccess/private_access_forwarding_rule.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .forwarding_rule import ForwardingRule + diff --git a/msgraph_beta/generated/models/networkaccess/profile.py b/msgraph_beta/generated/models/networkaccess/profile.py index eea114878a9..d02a0483d72 100644 --- a/msgraph_beta/generated/models/networkaccess/profile.py +++ b/msgraph_beta/generated/models/networkaccess/profile.py @@ -40,7 +40,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> Profile: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.networkaccess.filteringProfile".casefold(): @@ -91,6 +92,12 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + from .filtering_profile import FilteringProfile + from .forwarding_profile import ForwardingProfile + from .policy_link import PolicyLink + from .status import Status + writer.write_str_value("description", self.description) writer.write_datetime_value("lastModifiedDateTime", self.last_modified_date_time) writer.write_str_value("name", self.name) diff --git a/msgraph_beta/generated/models/networkaccess/redundancy_configuration.py b/msgraph_beta/generated/models/networkaccess/redundancy_configuration.py index f33326ff445..9c2e7e658b6 100644 --- a/msgraph_beta/generated/models/networkaccess/redundancy_configuration.py +++ b/msgraph_beta/generated/models/networkaccess/redundancy_configuration.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .redundancy_tier import RedundancyTier + writer.write_str_value("@odata.type", self.odata_type) writer.write_enum_value("redundancyTier", self.redundancy_tier) writer.write_str_value("zoneLocalIpAddress", self.zone_local_ip_address) diff --git a/msgraph_beta/generated/models/networkaccess/related_destination.py b/msgraph_beta/generated/models/networkaccess/related_destination.py index 362c4306b84..a3c04883045 100644 --- a/msgraph_beta/generated/models/networkaccess/related_destination.py +++ b/msgraph_beta/generated/models/networkaccess/related_destination.py @@ -63,6 +63,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .networking_protocol import NetworkingProtocol + from .related_resource import RelatedResource + writer.write_str_value("fqdn", self.fqdn) writer.write_str_value("ip", self.ip) writer.write_enum_value("networkingProtocol", self.networking_protocol) diff --git a/msgraph_beta/generated/models/networkaccess/related_device.py b/msgraph_beta/generated/models/networkaccess/related_device.py index 15450b109a2..b555fd60db5 100644 --- a/msgraph_beta/generated/models/networkaccess/related_device.py +++ b/msgraph_beta/generated/models/networkaccess/related_device.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .related_resource import RelatedResource + writer.write_str_value("deviceId", self.device_id) diff --git a/msgraph_beta/generated/models/networkaccess/related_file.py b/msgraph_beta/generated/models/networkaccess/related_file.py index e37b133ec94..fdc8b093147 100644 --- a/msgraph_beta/generated/models/networkaccess/related_file.py +++ b/msgraph_beta/generated/models/networkaccess/related_file.py @@ -57,6 +57,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .related_resource import RelatedResource + writer.write_str_value("directory", self.directory) writer.write_str_value("name", self.name) writer.write_int_value("sizeInBytes", self.size_in_bytes) diff --git a/msgraph_beta/generated/models/networkaccess/related_file_hash.py b/msgraph_beta/generated/models/networkaccess/related_file_hash.py index cdd712cc5fd..77e3d69ec31 100644 --- a/msgraph_beta/generated/models/networkaccess/related_file_hash.py +++ b/msgraph_beta/generated/models/networkaccess/related_file_hash.py @@ -57,6 +57,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .algorithm import Algorithm + from .related_resource import RelatedResource + writer.write_enum_value("algorithm", self.algorithm) writer.write_str_value("value", self.value) diff --git a/msgraph_beta/generated/models/networkaccess/related_malware.py b/msgraph_beta/generated/models/networkaccess/related_malware.py index c08697a1c18..568ace8de52 100644 --- a/msgraph_beta/generated/models/networkaccess/related_malware.py +++ b/msgraph_beta/generated/models/networkaccess/related_malware.py @@ -63,6 +63,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .malware_category import MalwareCategory + from .related_resource import RelatedResource + from .threat_severity import ThreatSeverity + writer.write_enum_value("category", self.category) writer.write_str_value("name", self.name) writer.write_enum_value("severity", self.severity) diff --git a/msgraph_beta/generated/models/networkaccess/related_process.py b/msgraph_beta/generated/models/networkaccess/related_process.py index 4891d3d396a..ebb1c618a78 100644 --- a/msgraph_beta/generated/models/networkaccess/related_process.py +++ b/msgraph_beta/generated/models/networkaccess/related_process.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .related_resource import RelatedResource + writer.write_bool_value("isSuspicious", self.is_suspicious) writer.write_str_value("processName", self.process_name) diff --git a/msgraph_beta/generated/models/networkaccess/related_remote_network.py b/msgraph_beta/generated/models/networkaccess/related_remote_network.py index 5b07638b9ad..492d30b9ad0 100644 --- a/msgraph_beta/generated/models/networkaccess/related_remote_network.py +++ b/msgraph_beta/generated/models/networkaccess/related_remote_network.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .related_resource import RelatedResource + writer.write_str_value("remoteNetworkId", self.remote_network_id) diff --git a/msgraph_beta/generated/models/networkaccess/related_resource.py b/msgraph_beta/generated/models/networkaccess/related_resource.py index 33d359ae6d9..f9147308fb8 100644 --- a/msgraph_beta/generated/models/networkaccess/related_resource.py +++ b/msgraph_beta/generated/models/networkaccess/related_resource.py @@ -40,7 +40,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> RelatedResource: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.networkaccess.relatedDestination".casefold(): @@ -149,6 +150,21 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .related_destination import RelatedDestination + from .related_device import RelatedDevice + from .related_file import RelatedFile + from .related_file_hash import RelatedFileHash + from .related_malware import RelatedMalware + from .related_process import RelatedProcess + from .related_remote_network import RelatedRemoteNetwork + from .related_tenant import RelatedTenant + from .related_threat_intelligence import RelatedThreatIntelligence + from .related_token import RelatedToken + from .related_transaction import RelatedTransaction + from .related_url import RelatedUrl + from .related_user import RelatedUser + from .related_web_category import RelatedWebCategory + writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/networkaccess/related_tenant.py b/msgraph_beta/generated/models/networkaccess/related_tenant.py index 29b575da39d..fc89d53b0e0 100644 --- a/msgraph_beta/generated/models/networkaccess/related_tenant.py +++ b/msgraph_beta/generated/models/networkaccess/related_tenant.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .related_resource import RelatedResource + writer.write_str_value("tenantId", self.tenant_id) diff --git a/msgraph_beta/generated/models/networkaccess/related_threat_intelligence.py b/msgraph_beta/generated/models/networkaccess/related_threat_intelligence.py index 2989adac248..60ff922ed9f 100644 --- a/msgraph_beta/generated/models/networkaccess/related_threat_intelligence.py +++ b/msgraph_beta/generated/models/networkaccess/related_threat_intelligence.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .related_resource import RelatedResource + writer.write_int_value("threatCount", self.threat_count) diff --git a/msgraph_beta/generated/models/networkaccess/related_token.py b/msgraph_beta/generated/models/networkaccess/related_token.py index b63a762a771..7cf379cfff9 100644 --- a/msgraph_beta/generated/models/networkaccess/related_token.py +++ b/msgraph_beta/generated/models/networkaccess/related_token.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .related_resource import RelatedResource + writer.write_str_value("uniqueTokenIdentifier", self.unique_token_identifier) diff --git a/msgraph_beta/generated/models/networkaccess/related_transaction.py b/msgraph_beta/generated/models/networkaccess/related_transaction.py index 43ac2885f79..f4223075606 100644 --- a/msgraph_beta/generated/models/networkaccess/related_transaction.py +++ b/msgraph_beta/generated/models/networkaccess/related_transaction.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .related_resource import RelatedResource + writer.write_str_value("transactionId", self.transaction_id) diff --git a/msgraph_beta/generated/models/networkaccess/related_url.py b/msgraph_beta/generated/models/networkaccess/related_url.py index 9f157f120fd..3897058bc6b 100644 --- a/msgraph_beta/generated/models/networkaccess/related_url.py +++ b/msgraph_beta/generated/models/networkaccess/related_url.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .related_resource import RelatedResource + writer.write_str_value("url", self.url) diff --git a/msgraph_beta/generated/models/networkaccess/related_user.py b/msgraph_beta/generated/models/networkaccess/related_user.py index 2086b1cb91d..223c68f418a 100644 --- a/msgraph_beta/generated/models/networkaccess/related_user.py +++ b/msgraph_beta/generated/models/networkaccess/related_user.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .related_resource import RelatedResource + writer.write_str_value("userId", self.user_id) writer.write_str_value("userPrincipalName", self.user_principal_name) diff --git a/msgraph_beta/generated/models/networkaccess/related_web_category.py b/msgraph_beta/generated/models/networkaccess/related_web_category.py index 45bc2000b69..964a2e25941 100644 --- a/msgraph_beta/generated/models/networkaccess/related_web_category.py +++ b/msgraph_beta/generated/models/networkaccess/related_web_category.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .related_resource import RelatedResource + writer.write_str_value("webCategoryName", self.web_category_name) diff --git a/msgraph_beta/generated/models/networkaccess/remote_network.py b/msgraph_beta/generated/models/networkaccess/remote_network.py index eeb946b5dd7..73039c32535 100644 --- a/msgraph_beta/generated/models/networkaccess/remote_network.py +++ b/msgraph_beta/generated/models/networkaccess/remote_network.py @@ -82,6 +82,12 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + from .device_link import DeviceLink + from .forwarding_profile import ForwardingProfile + from .region import Region + from .remote_network_connectivity_configuration import RemoteNetworkConnectivityConfiguration + writer.write_object_value("connectivityConfiguration", self.connectivity_configuration) writer.write_collection_of_object_values("deviceLinks", self.device_links) writer.write_collection_of_object_values("forwardingProfiles", self.forwarding_profiles) diff --git a/msgraph_beta/generated/models/networkaccess/remote_network_collection_response.py b/msgraph_beta/generated/models/networkaccess/remote_network_collection_response.py index 0e4bac2a601..cb3bd50e575 100644 --- a/msgraph_beta/generated/models/networkaccess/remote_network_collection_response.py +++ b/msgraph_beta/generated/models/networkaccess/remote_network_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .remote_network import RemoteNetwork + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/networkaccess/remote_network_connectivity_configuration.py b/msgraph_beta/generated/models/networkaccess/remote_network_connectivity_configuration.py index 709bd7634e4..e5c5cd390a9 100644 --- a/msgraph_beta/generated/models/networkaccess/remote_network_connectivity_configuration.py +++ b/msgraph_beta/generated/models/networkaccess/remote_network_connectivity_configuration.py @@ -59,6 +59,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .connectivity_configuration_link import ConnectivityConfigurationLink + writer.write_collection_of_object_values("links", self.links) writer.write_str_value("@odata.type", self.odata_type) writer.write_str_value("remoteNetworkId", self.remote_network_id) diff --git a/msgraph_beta/generated/models/networkaccess/remote_network_health_event.py b/msgraph_beta/generated/models/networkaccess/remote_network_health_event.py index fcca2a70d65..fc22fdf6b4b 100644 --- a/msgraph_beta/generated/models/networkaccess/remote_network_health_event.py +++ b/msgraph_beta/generated/models/networkaccess/remote_network_health_event.py @@ -79,6 +79,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + from .remote_network_status import RemoteNetworkStatus + writer.write_int_value("bgpRoutesAdvertisedCount", self.bgp_routes_advertised_count) writer.write_datetime_value("createdDateTime", self.created_date_time) writer.write_str_value("description", self.description) diff --git a/msgraph_beta/generated/models/networkaccess/remote_network_health_event_collection_response.py b/msgraph_beta/generated/models/networkaccess/remote_network_health_event_collection_response.py index 08ead0263d5..e9c3ab560ec 100644 --- a/msgraph_beta/generated/models/networkaccess/remote_network_health_event_collection_response.py +++ b/msgraph_beta/generated/models/networkaccess/remote_network_health_event_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .remote_network_health_event import RemoteNetworkHealthEvent + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/networkaccess/reports.py b/msgraph_beta/generated/models/networkaccess/reports.py index 3efdab9dee4..0519141f9f7 100644 --- a/msgraph_beta/generated/models/networkaccess/reports.py +++ b/msgraph_beta/generated/models/networkaccess/reports.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + diff --git a/msgraph_beta/generated/models/networkaccess/rule_destination.py b/msgraph_beta/generated/models/networkaccess/rule_destination.py index 3fd7aaef37b..7516d4cf7b0 100644 --- a/msgraph_beta/generated/models/networkaccess/rule_destination.py +++ b/msgraph_beta/generated/models/networkaccess/rule_destination.py @@ -32,7 +32,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> RuleDestination: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.networkaccess.fqdn".casefold(): @@ -93,6 +94,13 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .fqdn import Fqdn + from .ip_address import IpAddress + from .ip_range import IpRange + from .ip_subnet import IpSubnet + from .url import Url + from .web_category import WebCategory + writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/networkaccess/settings.py b/msgraph_beta/generated/models/networkaccess/settings.py index a850cce8bca..38a67997473 100644 --- a/msgraph_beta/generated/models/networkaccess/settings.py +++ b/msgraph_beta/generated/models/networkaccess/settings.py @@ -72,6 +72,12 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + from .conditional_access_settings import ConditionalAccessSettings + from .cross_tenant_access_settings import CrossTenantAccessSettings + from .enriched_audit_logs import EnrichedAuditLogs + from .forwarding_options import ForwardingOptions + writer.write_object_value("conditionalAccess", self.conditional_access) writer.write_object_value("crossTenantAccess", self.cross_tenant_access) writer.write_object_value("enrichedAuditLogs", self.enriched_audit_logs) diff --git a/msgraph_beta/generated/models/networkaccess/tenant_status.py b/msgraph_beta/generated/models/networkaccess/tenant_status.py index cad10574fbc..43c0bbfc7ad 100644 --- a/msgraph_beta/generated/models/networkaccess/tenant_status.py +++ b/msgraph_beta/generated/models/networkaccess/tenant_status.py @@ -57,6 +57,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + from .onboarding_status import OnboardingStatus + writer.write_str_value("onboardingErrorMessage", self.onboarding_error_message) writer.write_enum_value("onboardingStatus", self.onboarding_status) diff --git a/msgraph_beta/generated/models/networkaccess/transaction_summary.py b/msgraph_beta/generated/models/networkaccess/transaction_summary.py index 213ac369006..eab8822b378 100644 --- a/msgraph_beta/generated/models/networkaccess/transaction_summary.py +++ b/msgraph_beta/generated/models/networkaccess/transaction_summary.py @@ -59,6 +59,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .traffic_type import TrafficType + writer.write_int_value("blockedCount", self.blocked_count) writer.write_str_value("@odata.type", self.odata_type) writer.write_int_value("totalCount", self.total_count) diff --git a/msgraph_beta/generated/models/networkaccess/tunnel_configuration.py b/msgraph_beta/generated/models/networkaccess/tunnel_configuration.py index 338163399ca..2830102d0f8 100644 --- a/msgraph_beta/generated/models/networkaccess/tunnel_configuration.py +++ b/msgraph_beta/generated/models/networkaccess/tunnel_configuration.py @@ -32,7 +32,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> TunnelConfiguratio if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.networkaccess.tunnelConfigurationIKEv2Custom".casefold(): @@ -71,6 +72,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .tunnel_configuration_i_k_ev2_custom import TunnelConfigurationIKEv2Custom + from .tunnel_configuration_i_k_ev2_default import TunnelConfigurationIKEv2Default + writer.write_str_value("@odata.type", self.odata_type) writer.write_str_value("preSharedKey", self.pre_shared_key) writer.write_str_value("zoneRedundancyPreSharedKey", self.zone_redundancy_pre_shared_key) diff --git a/msgraph_beta/generated/models/networkaccess/tunnel_configuration_i_k_ev2_custom.py b/msgraph_beta/generated/models/networkaccess/tunnel_configuration_i_k_ev2_custom.py index 981c92e8aa1..1c4dd9fc899 100644 --- a/msgraph_beta/generated/models/networkaccess/tunnel_configuration_i_k_ev2_custom.py +++ b/msgraph_beta/generated/models/networkaccess/tunnel_configuration_i_k_ev2_custom.py @@ -87,6 +87,14 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .dh_group import DhGroup + from .ike_encryption import IkeEncryption + from .ike_integrity import IkeIntegrity + from .ip_sec_encryption import IpSecEncryption + from .ip_sec_integrity import IpSecIntegrity + from .pfs_group import PfsGroup + from .tunnel_configuration import TunnelConfiguration + writer.write_enum_value("dhGroup", self.dh_group) writer.write_enum_value("ikeEncryption", self.ike_encryption) writer.write_enum_value("ikeIntegrity", self.ike_integrity) diff --git a/msgraph_beta/generated/models/networkaccess/tunnel_configuration_i_k_ev2_default.py b/msgraph_beta/generated/models/networkaccess/tunnel_configuration_i_k_ev2_default.py index eb2b4b260ac..6b5e06ed7bd 100644 --- a/msgraph_beta/generated/models/networkaccess/tunnel_configuration_i_k_ev2_default.py +++ b/msgraph_beta/generated/models/networkaccess/tunnel_configuration_i_k_ev2_default.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .tunnel_configuration import TunnelConfiguration + diff --git a/msgraph_beta/generated/models/networkaccess/url.py b/msgraph_beta/generated/models/networkaccess/url.py index 72e017b3346..77955364aec 100644 --- a/msgraph_beta/generated/models/networkaccess/url.py +++ b/msgraph_beta/generated/models/networkaccess/url.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .rule_destination import RuleDestination + writer.write_str_value("value", self.value) diff --git a/msgraph_beta/generated/models/networkaccess/user.py b/msgraph_beta/generated/models/networkaccess/user.py index 68e78f9ecdd..9b2117962c2 100644 --- a/msgraph_beta/generated/models/networkaccess/user.py +++ b/msgraph_beta/generated/models/networkaccess/user.py @@ -84,6 +84,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .traffic_type import TrafficType + from .user_type import UserType + writer.write_str_value("displayName", self.display_name) writer.write_datetime_value("firstAccessDateTime", self.first_access_date_time) writer.write_datetime_value("lastAccessDateTime", self.last_access_date_time) diff --git a/msgraph_beta/generated/models/networkaccess/web_categories_summary.py b/msgraph_beta/generated/models/networkaccess/web_categories_summary.py index 053da0cb0cf..0f0ec37931d 100644 --- a/msgraph_beta/generated/models/networkaccess/web_categories_summary.py +++ b/msgraph_beta/generated/models/networkaccess/web_categories_summary.py @@ -68,6 +68,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .filtering_policy_action import FilteringPolicyAction + from .web_category import WebCategory + writer.write_enum_value("action", self.action) writer.write_int_value("deviceCount", self.device_count) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/networkaccess/web_category.py b/msgraph_beta/generated/models/networkaccess/web_category.py index c9cae582518..e98dc4e6d28 100644 --- a/msgraph_beta/generated/models/networkaccess/web_category.py +++ b/msgraph_beta/generated/models/networkaccess/web_category.py @@ -57,6 +57,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .rule_destination import RuleDestination + writer.write_str_value("displayName", self.display_name) writer.write_str_value("group", self.group) writer.write_str_value("name", self.name) diff --git a/msgraph_beta/generated/models/networkaccess/web_category_filtering_rule.py b/msgraph_beta/generated/models/networkaccess/web_category_filtering_rule.py index 18bc967db1b..64debe7ef78 100644 --- a/msgraph_beta/generated/models/networkaccess/web_category_filtering_rule.py +++ b/msgraph_beta/generated/models/networkaccess/web_category_filtering_rule.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .filtering_rule import FilteringRule + diff --git a/msgraph_beta/generated/models/news_link_page.py b/msgraph_beta/generated/models/news_link_page.py index 44f54c8e70a..c42eff9cbd5 100644 --- a/msgraph_beta/generated/models/news_link_page.py +++ b/msgraph_beta/generated/models/news_link_page.py @@ -60,6 +60,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_site_page import BaseSitePage + from .sharepoint_ids import SharepointIds + writer.write_str_value("bannerImageWebUrl", self.banner_image_web_url) writer.write_object_value("newsSharepointIds", self.news_sharepoint_ids) writer.write_str_value("newsWebUrl", self.news_web_url) diff --git a/msgraph_beta/generated/models/no_device_registration_membership.py b/msgraph_beta/generated/models/no_device_registration_membership.py index e8a3b613017..b7b514114df 100644 --- a/msgraph_beta/generated/models/no_device_registration_membership.py +++ b/msgraph_beta/generated/models/no_device_registration_membership.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_registration_membership import DeviceRegistrationMembership + diff --git a/msgraph_beta/generated/models/no_entitlements_data_collection.py b/msgraph_beta/generated/models/no_entitlements_data_collection.py index 903b2548aff..ba8a21bb98f 100644 --- a/msgraph_beta/generated/models/no_entitlements_data_collection.py +++ b/msgraph_beta/generated/models/no_entitlements_data_collection.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entitlements_data_collection_info import EntitlementsDataCollectionInfo + diff --git a/msgraph_beta/generated/models/no_mfa_on_role_activation_alert_configuration.py b/msgraph_beta/generated/models/no_mfa_on_role_activation_alert_configuration.py index ec037cea0c6..f8c953a24b9 100644 --- a/msgraph_beta/generated/models/no_mfa_on_role_activation_alert_configuration.py +++ b/msgraph_beta/generated/models/no_mfa_on_role_activation_alert_configuration.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .unified_role_management_alert_configuration import UnifiedRoleManagementAlertConfiguration + diff --git a/msgraph_beta/generated/models/no_mfa_on_role_activation_alert_incident.py b/msgraph_beta/generated/models/no_mfa_on_role_activation_alert_incident.py index 01288415663..aa7b41b4a89 100644 --- a/msgraph_beta/generated/models/no_mfa_on_role_activation_alert_incident.py +++ b/msgraph_beta/generated/models/no_mfa_on_role_activation_alert_incident.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .unified_role_management_alert_incident import UnifiedRoleManagementAlertIncident + writer.write_str_value("roleDisplayName", self.role_display_name) writer.write_str_value("roleTemplateId", self.role_template_id) diff --git a/msgraph_beta/generated/models/no_training_notification_setting.py b/msgraph_beta/generated/models/no_training_notification_setting.py index 3ee3d3b8074..030f483a2d7 100644 --- a/msgraph_beta/generated/models/no_training_notification_setting.py +++ b/msgraph_beta/generated/models/no_training_notification_setting.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .end_user_notification_setting import EndUserNotificationSetting + from .simulation_notification import SimulationNotification + writer.write_object_value("simulationNotification", self.simulation_notification) diff --git a/msgraph_beta/generated/models/no_training_setting.py b/msgraph_beta/generated/models/no_training_setting.py index a3fe1d50d14..723cdfd024c 100644 --- a/msgraph_beta/generated/models/no_training_setting.py +++ b/msgraph_beta/generated/models/no_training_setting.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .training_setting import TrainingSetting + diff --git a/msgraph_beta/generated/models/note.py b/msgraph_beta/generated/models/note.py index 4384f8896f9..6dfe28eed29 100644 --- a/msgraph_beta/generated/models/note.py +++ b/msgraph_beta/generated/models/note.py @@ -87,6 +87,13 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .attachment import Attachment + from .extension import Extension + from .item_body import ItemBody + from .multi_value_legacy_extended_property import MultiValueLegacyExtendedProperty + from .outlook_item import OutlookItem + from .single_value_legacy_extended_property import SingleValueLegacyExtendedProperty + writer.write_collection_of_object_values("attachments", self.attachments) writer.write_object_value("body", self.body) writer.write_collection_of_object_values("extensions", self.extensions) diff --git a/msgraph_beta/generated/models/notebook.py b/msgraph_beta/generated/models/notebook.py index f5a9db989a1..5909f33c95f 100644 --- a/msgraph_beta/generated/models/notebook.py +++ b/msgraph_beta/generated/models/notebook.py @@ -84,6 +84,12 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .notebook_links import NotebookLinks + from .onenote_entity_hierarchy_model import OnenoteEntityHierarchyModel + from .onenote_section import OnenoteSection + from .onenote_user_role import OnenoteUserRole + from .section_group import SectionGroup + writer.write_bool_value("isDefault", self.is_default) writer.write_bool_value("isShared", self.is_shared) writer.write_object_value("links", self.links) diff --git a/msgraph_beta/generated/models/notebook_collection_response.py b/msgraph_beta/generated/models/notebook_collection_response.py index cf7820b3960..a014e8079c8 100644 --- a/msgraph_beta/generated/models/notebook_collection_response.py +++ b/msgraph_beta/generated/models/notebook_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .notebook import Notebook + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/notebook_links.py b/msgraph_beta/generated/models/notebook_links.py index 85eabe84e70..3919c67a938 100644 --- a/msgraph_beta/generated/models/notebook_links.py +++ b/msgraph_beta/generated/models/notebook_links.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .external_link import ExternalLink + writer.write_str_value("@odata.type", self.odata_type) writer.write_object_value("oneNoteClientUrl", self.one_note_client_url) writer.write_object_value("oneNoteWebUrl", self.one_note_web_url) diff --git a/msgraph_beta/generated/models/notification.py b/msgraph_beta/generated/models/notification.py index b541cab06fe..bf0786e7709 100644 --- a/msgraph_beta/generated/models/notification.py +++ b/msgraph_beta/generated/models/notification.py @@ -79,6 +79,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .payload_types import PayloadTypes + from .priority import Priority + from .target_policy_endpoints import TargetPolicyEndpoints + writer.write_int_value("displayTimeToLive", self.display_time_to_live) writer.write_datetime_value("expirationDateTime", self.expiration_date_time) writer.write_str_value("groupName", self.group_name) diff --git a/msgraph_beta/generated/models/notification_collection_response.py b/msgraph_beta/generated/models/notification_collection_response.py index eefbd7f9a5f..03225b364f8 100644 --- a/msgraph_beta/generated/models/notification_collection_response.py +++ b/msgraph_beta/generated/models/notification_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .notification import Notification + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/notification_message_template.py b/msgraph_beta/generated/models/notification_message_template.py index f0f06c50e4f..e20adc6fd3c 100644 --- a/msgraph_beta/generated/models/notification_message_template.py +++ b/msgraph_beta/generated/models/notification_message_template.py @@ -79,6 +79,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .localized_notification_message import LocalizedNotificationMessage + from .notification_template_branding_options import NotificationTemplateBrandingOptions + writer.write_enum_value("brandingOptions", self.branding_options) writer.write_str_value("defaultLocale", self.default_locale) writer.write_str_value("description", self.description) diff --git a/msgraph_beta/generated/models/notification_message_template_collection_response.py b/msgraph_beta/generated/models/notification_message_template_collection_response.py index cdad2304004..7738c138222 100644 --- a/msgraph_beta/generated/models/notification_message_template_collection_response.py +++ b/msgraph_beta/generated/models/notification_message_template_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .notification_message_template import NotificationMessageTemplate + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/notify_user_action.py b/msgraph_beta/generated/models/notify_user_action.py index cb846113fba..3f6347552c4 100644 --- a/msgraph_beta/generated/models/notify_user_action.py +++ b/msgraph_beta/generated/models/notify_user_action.py @@ -61,6 +61,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .dlp_action_info import DlpActionInfo + writer.write_datetime_value("actionLastModifiedDateTime", self.action_last_modified_date_time) writer.write_str_value("emailText", self.email_text) writer.write_str_value("policyTip", self.policy_tip) diff --git a/msgraph_beta/generated/models/o_auth2_permission_grant.py b/msgraph_beta/generated/models/o_auth2_permission_grant.py index dc3bc75155b..c6f0f453d64 100644 --- a/msgraph_beta/generated/models/o_auth2_permission_grant.py +++ b/msgraph_beta/generated/models/o_auth2_permission_grant.py @@ -70,6 +70,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_str_value("clientId", self.client_id) writer.write_str_value("consentType", self.consent_type) writer.write_datetime_value("expiryTime", self.expiry_time) diff --git a/msgraph_beta/generated/models/o_auth2_permission_grant_collection_response.py b/msgraph_beta/generated/models/o_auth2_permission_grant_collection_response.py index f8196beeecd..7059abf52fb 100644 --- a/msgraph_beta/generated/models/o_auth2_permission_grant_collection_response.py +++ b/msgraph_beta/generated/models/o_auth2_permission_grant_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .o_auth2_permission_grant import OAuth2PermissionGrant + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/o_auth_consent_app_detail.py b/msgraph_beta/generated/models/o_auth_consent_app_detail.py index 7338f8f8dee..3a58248d579 100644 --- a/msgraph_beta/generated/models/o_auth_consent_app_detail.py +++ b/msgraph_beta/generated/models/o_auth_consent_app_detail.py @@ -59,6 +59,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .o_auth_app_scope import OAuthAppScope + writer.write_enum_value("appScope", self.app_scope) writer.write_str_value("displayLogo", self.display_logo) writer.write_str_value("displayName", self.display_name) diff --git a/msgraph_beta/generated/models/o_data_errors/main_error.py b/msgraph_beta/generated/models/o_data_errors/main_error.py index e8942c547aa..f74aecfa477 100644 --- a/msgraph_beta/generated/models/o_data_errors/main_error.py +++ b/msgraph_beta/generated/models/o_data_errors/main_error.py @@ -65,6 +65,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .error_details import ErrorDetails + from .inner_error import InnerError + writer.write_str_value("code", self.code) writer.write_collection_of_object_values("details", self.details) writer.write_object_value("innerError", self.inner_error) diff --git a/msgraph_beta/generated/models/o_data_errors/o_data_error.py b/msgraph_beta/generated/models/o_data_errors/o_data_error.py index 176c7157c63..b74c0ec7d0b 100644 --- a/msgraph_beta/generated/models/o_data_errors/o_data_error.py +++ b/msgraph_beta/generated/models/o_data_errors/o_data_error.py @@ -51,11 +51,13 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .main_error import MainError + writer.write_object_value("error", self.error) writer.write_additional_data_value(self.additional_data) @property - def primary_message(self) -> str: + def primary_message(self) -> Optional[str]: """ The primary error message. """ diff --git a/msgraph_beta/generated/models/oath_token_metadata.py b/msgraph_beta/generated/models/oath_token_metadata.py index cabbbd01d77..2fe8763d299 100644 --- a/msgraph_beta/generated/models/oath_token_metadata.py +++ b/msgraph_beta/generated/models/oath_token_metadata.py @@ -65,6 +65,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .key_value import KeyValue + writer.write_bool_value("enabled", self.enabled) writer.write_str_value("manufacturer", self.manufacturer) writer.write_collection_of_object_values("manufacturerProperties", self.manufacturer_properties) diff --git a/msgraph_beta/generated/models/object_definition.py b/msgraph_beta/generated/models/object_definition.py index 6effce357e9..0674098ff91 100644 --- a/msgraph_beta/generated/models/object_definition.py +++ b/msgraph_beta/generated/models/object_definition.py @@ -65,6 +65,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .attribute_definition import AttributeDefinition + from .object_definition_metadata_entry import ObjectDefinitionMetadataEntry + writer.write_collection_of_object_values("attributes", self.attributes) writer.write_collection_of_object_values("metadata", self.metadata) writer.write_str_value("name", self.name) diff --git a/msgraph_beta/generated/models/object_definition_metadata_entry.py b/msgraph_beta/generated/models/object_definition_metadata_entry.py index 52cc8c74bc5..f9fff4acc74 100644 --- a/msgraph_beta/generated/models/object_definition_metadata_entry.py +++ b/msgraph_beta/generated/models/object_definition_metadata_entry.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .object_definition_metadata import ObjectDefinitionMetadata + writer.write_enum_value("key", self.key) writer.write_str_value("@odata.type", self.odata_type) writer.write_str_value("value", self.value) diff --git a/msgraph_beta/generated/models/object_mapping.py b/msgraph_beta/generated/models/object_mapping.py index f768fce8190..a572c49a838 100644 --- a/msgraph_beta/generated/models/object_mapping.py +++ b/msgraph_beta/generated/models/object_mapping.py @@ -83,6 +83,11 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .attribute_mapping import AttributeMapping + from .filter import Filter + from .object_flow_types import ObjectFlowTypes + from .object_mapping_metadata_entry import ObjectMappingMetadataEntry + writer.write_collection_of_object_values("attributeMappings", self.attribute_mappings) writer.write_bool_value("enabled", self.enabled) writer.write_enum_value("flowTypes", self.flow_types) diff --git a/msgraph_beta/generated/models/object_mapping_metadata_entry.py b/msgraph_beta/generated/models/object_mapping_metadata_entry.py index d282599ac7b..e09c8d4a44f 100644 --- a/msgraph_beta/generated/models/object_mapping_metadata_entry.py +++ b/msgraph_beta/generated/models/object_mapping_metadata_entry.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .object_mapping_metadata import ObjectMappingMetadata + writer.write_enum_value("key", self.key) writer.write_str_value("@odata.type", self.odata_type) writer.write_str_value("value", self.value) diff --git a/msgraph_beta/generated/models/offer_shift_request.py b/msgraph_beta/generated/models/offer_shift_request.py index 7064c64e3ce..4e580e64aee 100644 --- a/msgraph_beta/generated/models/offer_shift_request.py +++ b/msgraph_beta/generated/models/offer_shift_request.py @@ -33,7 +33,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> OfferShiftRequest: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.swapShiftsChangeRequest".casefold(): @@ -72,6 +73,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .schedule_change_request import ScheduleChangeRequest + from .swap_shifts_change_request import SwapShiftsChangeRequest + writer.write_str_value("recipientActionMessage", self.recipient_action_message) writer.write_str_value("recipientUserId", self.recipient_user_id) writer.write_str_value("senderShiftId", self.sender_shift_id) diff --git a/msgraph_beta/generated/models/offer_shift_request_collection_response.py b/msgraph_beta/generated/models/offer_shift_request_collection_response.py index 398445410d9..3d0a1f9b3ba 100644 --- a/msgraph_beta/generated/models/offer_shift_request_collection_response.py +++ b/msgraph_beta/generated/models/offer_shift_request_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .offer_shift_request import OfferShiftRequest + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/office365_active_user_counts.py b/msgraph_beta/generated/models/office365_active_user_counts.py index 173b154c06c..6ea823b46b1 100644 --- a/msgraph_beta/generated/models/office365_active_user_counts.py +++ b/msgraph_beta/generated/models/office365_active_user_counts.py @@ -79,6 +79,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_int_value("exchange", self.exchange) writer.write_int_value("office365", self.office365) writer.write_int_value("oneDrive", self.one_drive) diff --git a/msgraph_beta/generated/models/office365_active_user_detail.py b/msgraph_beta/generated/models/office365_active_user_detail.py index c6dd48afdcd..3095476b80e 100644 --- a/msgraph_beta/generated/models/office365_active_user_detail.py +++ b/msgraph_beta/generated/models/office365_active_user_detail.py @@ -121,6 +121,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_collection_of_primitive_values("assignedProducts", self.assigned_products) writer.write_date_value("deletedDate", self.deleted_date) writer.write_str_value("displayName", self.display_name) diff --git a/msgraph_beta/generated/models/office365_groups_activity_counts.py b/msgraph_beta/generated/models/office365_groups_activity_counts.py index f16ea0e2749..cfb0a1a32d5 100644 --- a/msgraph_beta/generated/models/office365_groups_activity_counts.py +++ b/msgraph_beta/generated/models/office365_groups_activity_counts.py @@ -76,6 +76,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_int_value("exchangeEmailsReceived", self.exchange_emails_received) writer.write_date_value("reportDate", self.report_date) writer.write_str_value("reportPeriod", self.report_period) diff --git a/msgraph_beta/generated/models/office365_groups_activity_detail.py b/msgraph_beta/generated/models/office365_groups_activity_detail.py index 5e566131fe5..e6442b9de5e 100644 --- a/msgraph_beta/generated/models/office365_groups_activity_detail.py +++ b/msgraph_beta/generated/models/office365_groups_activity_detail.py @@ -112,6 +112,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_int_value("exchangeMailboxStorageUsedInBytes", self.exchange_mailbox_storage_used_in_bytes) writer.write_int_value("exchangeMailboxTotalItemCount", self.exchange_mailbox_total_item_count) writer.write_int_value("exchangeReceivedEmailCount", self.exchange_received_email_count) diff --git a/msgraph_beta/generated/models/office365_groups_activity_file_counts.py b/msgraph_beta/generated/models/office365_groups_activity_file_counts.py index 67f2418e29f..a9a989e0dbe 100644 --- a/msgraph_beta/generated/models/office365_groups_activity_file_counts.py +++ b/msgraph_beta/generated/models/office365_groups_activity_file_counts.py @@ -64,6 +64,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_int_value("active", self.active) writer.write_date_value("reportDate", self.report_date) writer.write_str_value("reportPeriod", self.report_period) diff --git a/msgraph_beta/generated/models/office365_groups_activity_group_counts.py b/msgraph_beta/generated/models/office365_groups_activity_group_counts.py index 35143983a37..9ec7ed0c689 100644 --- a/msgraph_beta/generated/models/office365_groups_activity_group_counts.py +++ b/msgraph_beta/generated/models/office365_groups_activity_group_counts.py @@ -64,6 +64,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_int_value("active", self.active) writer.write_date_value("reportDate", self.report_date) writer.write_str_value("reportPeriod", self.report_period) diff --git a/msgraph_beta/generated/models/office365_groups_activity_storage.py b/msgraph_beta/generated/models/office365_groups_activity_storage.py index 4922c539631..82e87c760d5 100644 --- a/msgraph_beta/generated/models/office365_groups_activity_storage.py +++ b/msgraph_beta/generated/models/office365_groups_activity_storage.py @@ -64,6 +64,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_int_value("mailboxStorageUsedInBytes", self.mailbox_storage_used_in_bytes) writer.write_date_value("reportDate", self.report_date) writer.write_str_value("reportPeriod", self.report_period) diff --git a/msgraph_beta/generated/models/office365_services_user_counts.py b/msgraph_beta/generated/models/office365_services_user_counts.py index 6e1c7182a74..922200cd363 100644 --- a/msgraph_beta/generated/models/office365_services_user_counts.py +++ b/msgraph_beta/generated/models/office365_services_user_counts.py @@ -97,6 +97,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_int_value("exchangeActive", self.exchange_active) writer.write_int_value("exchangeInactive", self.exchange_inactive) writer.write_int_value("office365Active", self.office365_active) diff --git a/msgraph_beta/generated/models/office_graph_insights.py b/msgraph_beta/generated/models/office_graph_insights.py index 8ee00054335..308926f7aec 100644 --- a/msgraph_beta/generated/models/office_graph_insights.py +++ b/msgraph_beta/generated/models/office_graph_insights.py @@ -33,7 +33,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> OfficeGraphInsight if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.itemInsights".casefold(): @@ -77,6 +78,12 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .item_insights import ItemInsights + from .shared_insight import SharedInsight + from .trending import Trending + from .used_insight import UsedInsight + writer.write_collection_of_object_values("shared", self.shared) writer.write_collection_of_object_values("trending", self.trending) writer.write_collection_of_object_values("used", self.used) diff --git a/msgraph_beta/generated/models/office_suite_app.py b/msgraph_beta/generated/models/office_suite_app.py index 7ff9b7d4644..5d5502e6ce7 100644 --- a/msgraph_beta/generated/models/office_suite_app.py +++ b/msgraph_beta/generated/models/office_suite_app.py @@ -108,6 +108,14 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .excluded_apps import ExcludedApps + from .mobile_app import MobileApp + from .office_product_id import OfficeProductId + from .office_suite_default_file_format_type import OfficeSuiteDefaultFileFormatType + from .office_suite_install_progress_display_level import OfficeSuiteInstallProgressDisplayLevel + from .office_update_channel import OfficeUpdateChannel + from .windows_architecture import WindowsArchitecture + writer.write_bool_value("autoAcceptEula", self.auto_accept_eula) writer.write_object_value("excludedApps", self.excluded_apps) writer.write_enum_value("installProgressDisplayLevel", self.install_progress_display_level) diff --git a/msgraph_beta/generated/models/oma_setting.py b/msgraph_beta/generated/models/oma_setting.py index 2d8a0a3857d..072942e70ce 100644 --- a/msgraph_beta/generated/models/oma_setting.py +++ b/msgraph_beta/generated/models/oma_setting.py @@ -46,7 +46,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> OmaSetting: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.omaSettingBase64".casefold(): @@ -118,6 +119,14 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .oma_setting_base64 import OmaSettingBase64 + from .oma_setting_boolean import OmaSettingBoolean + from .oma_setting_date_time import OmaSettingDateTime + from .oma_setting_floating_point import OmaSettingFloatingPoint + from .oma_setting_integer import OmaSettingInteger + from .oma_setting_string import OmaSettingString + from .oma_setting_string_xml import OmaSettingStringXml + writer.write_str_value("description", self.description) writer.write_str_value("displayName", self.display_name) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/oma_setting_base64.py b/msgraph_beta/generated/models/oma_setting_base64.py index de652714222..88298f9bcc0 100644 --- a/msgraph_beta/generated/models/oma_setting_base64.py +++ b/msgraph_beta/generated/models/oma_setting_base64.py @@ -57,6 +57,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .oma_setting import OmaSetting + writer.write_str_value("fileName", self.file_name) writer.write_str_value("value", self.value) diff --git a/msgraph_beta/generated/models/oma_setting_boolean.py b/msgraph_beta/generated/models/oma_setting_boolean.py index 9f158357dc3..de9bf765dc0 100644 --- a/msgraph_beta/generated/models/oma_setting_boolean.py +++ b/msgraph_beta/generated/models/oma_setting_boolean.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .oma_setting import OmaSetting + writer.write_bool_value("value", self.value) diff --git a/msgraph_beta/generated/models/oma_setting_date_time.py b/msgraph_beta/generated/models/oma_setting_date_time.py index d86db32f3ee..fb581b696b2 100644 --- a/msgraph_beta/generated/models/oma_setting_date_time.py +++ b/msgraph_beta/generated/models/oma_setting_date_time.py @@ -55,6 +55,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .oma_setting import OmaSetting + writer.write_datetime_value("value", self.value) diff --git a/msgraph_beta/generated/models/oma_setting_floating_point.py b/msgraph_beta/generated/models/oma_setting_floating_point.py index 9909da6a169..9d7f63ff772 100644 --- a/msgraph_beta/generated/models/oma_setting_floating_point.py +++ b/msgraph_beta/generated/models/oma_setting_floating_point.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .oma_setting import OmaSetting + writer.write_float_value("value", self.value) diff --git a/msgraph_beta/generated/models/oma_setting_integer.py b/msgraph_beta/generated/models/oma_setting_integer.py index e1868f0c4a7..54a9916484c 100644 --- a/msgraph_beta/generated/models/oma_setting_integer.py +++ b/msgraph_beta/generated/models/oma_setting_integer.py @@ -57,6 +57,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .oma_setting import OmaSetting + writer.write_bool_value("isReadOnly", self.is_read_only) writer.write_int_value("value", self.value) diff --git a/msgraph_beta/generated/models/oma_setting_string.py b/msgraph_beta/generated/models/oma_setting_string.py index c61564b8ca9..0d1fe80af43 100644 --- a/msgraph_beta/generated/models/oma_setting_string.py +++ b/msgraph_beta/generated/models/oma_setting_string.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .oma_setting import OmaSetting + writer.write_str_value("value", self.value) diff --git a/msgraph_beta/generated/models/oma_setting_string_xml.py b/msgraph_beta/generated/models/oma_setting_string_xml.py index b5004bae872..800d3ff0e58 100644 --- a/msgraph_beta/generated/models/oma_setting_string_xml.py +++ b/msgraph_beta/generated/models/oma_setting_string_xml.py @@ -57,6 +57,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .oma_setting import OmaSetting + writer.write_str_value("fileName", self.file_name) writer.write_bytes_value("value", self.value) diff --git a/msgraph_beta/generated/models/on_attribute_collection_external_users_self_service_sign_up.py b/msgraph_beta/generated/models/on_attribute_collection_external_users_self_service_sign_up.py index fee4cdc1afb..d6ba7487a56 100644 --- a/msgraph_beta/generated/models/on_attribute_collection_external_users_self_service_sign_up.py +++ b/msgraph_beta/generated/models/on_attribute_collection_external_users_self_service_sign_up.py @@ -60,6 +60,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .authentication_attribute_collection_page import AuthenticationAttributeCollectionPage + from .identity_user_flow_attribute import IdentityUserFlowAttribute + from .on_attribute_collection_handler import OnAttributeCollectionHandler + writer.write_object_value("attributeCollectionPage", self.attribute_collection_page) writer.write_collection_of_object_values("attributes", self.attributes) diff --git a/msgraph_beta/generated/models/on_attribute_collection_handler.py b/msgraph_beta/generated/models/on_attribute_collection_handler.py index c672ad0182c..f7ce99affe8 100644 --- a/msgraph_beta/generated/models/on_attribute_collection_handler.py +++ b/msgraph_beta/generated/models/on_attribute_collection_handler.py @@ -27,7 +27,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> OnAttributeCollect if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.onAttributeCollectionExternalUsersSelfServiceSignUp".casefold(): @@ -58,6 +59,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .on_attribute_collection_external_users_self_service_sign_up import OnAttributeCollectionExternalUsersSelfServiceSignUp + writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/on_attribute_collection_listener.py b/msgraph_beta/generated/models/on_attribute_collection_listener.py index 298c4c9be57..f6b4dc1300f 100644 --- a/msgraph_beta/generated/models/on_attribute_collection_listener.py +++ b/msgraph_beta/generated/models/on_attribute_collection_listener.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .authentication_event_listener import AuthenticationEventListener + from .on_attribute_collection_handler import OnAttributeCollectionHandler + writer.write_object_value("handler", self.handler) diff --git a/msgraph_beta/generated/models/on_attribute_collection_start_custom_extension.py b/msgraph_beta/generated/models/on_attribute_collection_start_custom_extension.py index ec421a17aba..9af7aedde67 100644 --- a/msgraph_beta/generated/models/on_attribute_collection_start_custom_extension.py +++ b/msgraph_beta/generated/models/on_attribute_collection_start_custom_extension.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .custom_authentication_extension import CustomAuthenticationExtension + diff --git a/msgraph_beta/generated/models/on_attribute_collection_start_custom_extension_handler.py b/msgraph_beta/generated/models/on_attribute_collection_start_custom_extension_handler.py index 0142515e27c..c67b630896f 100644 --- a/msgraph_beta/generated/models/on_attribute_collection_start_custom_extension_handler.py +++ b/msgraph_beta/generated/models/on_attribute_collection_start_custom_extension_handler.py @@ -60,6 +60,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .custom_extension_overwrite_configuration import CustomExtensionOverwriteConfiguration + from .on_attribute_collection_start_custom_extension import OnAttributeCollectionStartCustomExtension + from .on_attribute_collection_start_handler import OnAttributeCollectionStartHandler + writer.write_object_value("configuration", self.configuration) writer.write_object_value("customExtension", self.custom_extension) diff --git a/msgraph_beta/generated/models/on_attribute_collection_start_handler.py b/msgraph_beta/generated/models/on_attribute_collection_start_handler.py index f0d2f40665f..508ef78bdf0 100644 --- a/msgraph_beta/generated/models/on_attribute_collection_start_handler.py +++ b/msgraph_beta/generated/models/on_attribute_collection_start_handler.py @@ -27,7 +27,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> OnAttributeCollect if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.onAttributeCollectionStartCustomExtensionHandler".casefold(): @@ -58,6 +59,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .on_attribute_collection_start_custom_extension_handler import OnAttributeCollectionStartCustomExtensionHandler + writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/on_attribute_collection_start_listener.py b/msgraph_beta/generated/models/on_attribute_collection_start_listener.py index 27f2fa245d8..dca2930d155 100644 --- a/msgraph_beta/generated/models/on_attribute_collection_start_listener.py +++ b/msgraph_beta/generated/models/on_attribute_collection_start_listener.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .authentication_event_listener import AuthenticationEventListener + from .on_attribute_collection_start_handler import OnAttributeCollectionStartHandler + writer.write_object_value("handler", self.handler) diff --git a/msgraph_beta/generated/models/on_attribute_collection_submit_custom_extension.py b/msgraph_beta/generated/models/on_attribute_collection_submit_custom_extension.py index 97141045ca7..e3db0ce6b67 100644 --- a/msgraph_beta/generated/models/on_attribute_collection_submit_custom_extension.py +++ b/msgraph_beta/generated/models/on_attribute_collection_submit_custom_extension.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .custom_authentication_extension import CustomAuthenticationExtension + diff --git a/msgraph_beta/generated/models/on_attribute_collection_submit_custom_extension_handler.py b/msgraph_beta/generated/models/on_attribute_collection_submit_custom_extension_handler.py index 4ab9de7ab57..c4324588b03 100644 --- a/msgraph_beta/generated/models/on_attribute_collection_submit_custom_extension_handler.py +++ b/msgraph_beta/generated/models/on_attribute_collection_submit_custom_extension_handler.py @@ -60,6 +60,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .custom_extension_overwrite_configuration import CustomExtensionOverwriteConfiguration + from .on_attribute_collection_submit_custom_extension import OnAttributeCollectionSubmitCustomExtension + from .on_attribute_collection_submit_handler import OnAttributeCollectionSubmitHandler + writer.write_object_value("configuration", self.configuration) writer.write_object_value("customExtension", self.custom_extension) diff --git a/msgraph_beta/generated/models/on_attribute_collection_submit_handler.py b/msgraph_beta/generated/models/on_attribute_collection_submit_handler.py index 4588fad6b9d..0523ee6bb91 100644 --- a/msgraph_beta/generated/models/on_attribute_collection_submit_handler.py +++ b/msgraph_beta/generated/models/on_attribute_collection_submit_handler.py @@ -27,7 +27,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> OnAttributeCollect if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.onAttributeCollectionSubmitCustomExtensionHandler".casefold(): @@ -58,6 +59,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .on_attribute_collection_submit_custom_extension_handler import OnAttributeCollectionSubmitCustomExtensionHandler + writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/on_attribute_collection_submit_listener.py b/msgraph_beta/generated/models/on_attribute_collection_submit_listener.py index abaf6cc166d..786de1f1089 100644 --- a/msgraph_beta/generated/models/on_attribute_collection_submit_listener.py +++ b/msgraph_beta/generated/models/on_attribute_collection_submit_listener.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .authentication_event_listener import AuthenticationEventListener + from .on_attribute_collection_submit_handler import OnAttributeCollectionSubmitHandler + writer.write_object_value("handler", self.handler) diff --git a/msgraph_beta/generated/models/on_authentication_method_load_start_external_users_self_service_sign_up.py b/msgraph_beta/generated/models/on_authentication_method_load_start_external_users_self_service_sign_up.py index 232013117f6..63eea29ecc5 100644 --- a/msgraph_beta/generated/models/on_authentication_method_load_start_external_users_self_service_sign_up.py +++ b/msgraph_beta/generated/models/on_authentication_method_load_start_external_users_self_service_sign_up.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .identity_provider_base import IdentityProviderBase + from .on_authentication_method_load_start_handler import OnAuthenticationMethodLoadStartHandler + writer.write_collection_of_object_values("identityProviders", self.identity_providers) diff --git a/msgraph_beta/generated/models/on_authentication_method_load_start_handler.py b/msgraph_beta/generated/models/on_authentication_method_load_start_handler.py index f24d20a947c..11bd39f4756 100644 --- a/msgraph_beta/generated/models/on_authentication_method_load_start_handler.py +++ b/msgraph_beta/generated/models/on_authentication_method_load_start_handler.py @@ -27,7 +27,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> OnAuthenticationMe if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.onAuthenticationMethodLoadStartExternalUsersSelfServiceSignUp".casefold(): @@ -58,6 +59,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .on_authentication_method_load_start_external_users_self_service_sign_up import OnAuthenticationMethodLoadStartExternalUsersSelfServiceSignUp + writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/on_authentication_method_load_start_listener.py b/msgraph_beta/generated/models/on_authentication_method_load_start_listener.py index 076ff9b66f3..d41d6a9b878 100644 --- a/msgraph_beta/generated/models/on_authentication_method_load_start_listener.py +++ b/msgraph_beta/generated/models/on_authentication_method_load_start_listener.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .authentication_event_listener import AuthenticationEventListener + from .on_authentication_method_load_start_handler import OnAuthenticationMethodLoadStartHandler + writer.write_object_value("handler", self.handler) diff --git a/msgraph_beta/generated/models/on_interactive_auth_flow_start_external_users_self_service_sign_up.py b/msgraph_beta/generated/models/on_interactive_auth_flow_start_external_users_self_service_sign_up.py index 1994b482321..c176c4b13f3 100644 --- a/msgraph_beta/generated/models/on_interactive_auth_flow_start_external_users_self_service_sign_up.py +++ b/msgraph_beta/generated/models/on_interactive_auth_flow_start_external_users_self_service_sign_up.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .on_interactive_auth_flow_start_handler import OnInteractiveAuthFlowStartHandler + writer.write_bool_value("isSignUpAllowed", self.is_sign_up_allowed) diff --git a/msgraph_beta/generated/models/on_interactive_auth_flow_start_handler.py b/msgraph_beta/generated/models/on_interactive_auth_flow_start_handler.py index 84ef318583e..6405bc8094d 100644 --- a/msgraph_beta/generated/models/on_interactive_auth_flow_start_handler.py +++ b/msgraph_beta/generated/models/on_interactive_auth_flow_start_handler.py @@ -27,7 +27,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> OnInteractiveAuthF if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.onInteractiveAuthFlowStartExternalUsersSelfServiceSignUp".casefold(): @@ -58,6 +59,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .on_interactive_auth_flow_start_external_users_self_service_sign_up import OnInteractiveAuthFlowStartExternalUsersSelfServiceSignUp + writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/on_interactive_auth_flow_start_listener.py b/msgraph_beta/generated/models/on_interactive_auth_flow_start_listener.py index 167319715a7..029621c7bc2 100644 --- a/msgraph_beta/generated/models/on_interactive_auth_flow_start_listener.py +++ b/msgraph_beta/generated/models/on_interactive_auth_flow_start_listener.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .authentication_event_listener import AuthenticationEventListener + from .on_interactive_auth_flow_start_handler import OnInteractiveAuthFlowStartHandler + writer.write_object_value("handler", self.handler) diff --git a/msgraph_beta/generated/models/on_premises_accidental_deletion_prevention.py b/msgraph_beta/generated/models/on_premises_accidental_deletion_prevention.py index 820a8922758..db4a12145eb 100644 --- a/msgraph_beta/generated/models/on_premises_accidental_deletion_prevention.py +++ b/msgraph_beta/generated/models/on_premises_accidental_deletion_prevention.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .on_premises_directory_synchronization_deletion_prevention_type import OnPremisesDirectorySynchronizationDeletionPreventionType + writer.write_int_value("alertThreshold", self.alert_threshold) writer.write_str_value("@odata.type", self.odata_type) writer.write_enum_value("synchronizationPreventionType", self.synchronization_prevention_type) diff --git a/msgraph_beta/generated/models/on_premises_agent.py b/msgraph_beta/generated/models/on_premises_agent.py index 495d82800d5..2ecda990b31 100644 --- a/msgraph_beta/generated/models/on_premises_agent.py +++ b/msgraph_beta/generated/models/on_premises_agent.py @@ -72,6 +72,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .agent_status import AgentStatus + from .entity import Entity + from .on_premises_agent_group import OnPremisesAgentGroup + from .on_premises_publishing_type import OnPremisesPublishingType + writer.write_collection_of_object_values("agentGroups", self.agent_groups) writer.write_str_value("externalIp", self.external_ip) writer.write_str_value("machineName", self.machine_name) diff --git a/msgraph_beta/generated/models/on_premises_agent_collection_response.py b/msgraph_beta/generated/models/on_premises_agent_collection_response.py index 57b1762bfa9..b397ab886e9 100644 --- a/msgraph_beta/generated/models/on_premises_agent_collection_response.py +++ b/msgraph_beta/generated/models/on_premises_agent_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .on_premises_agent import OnPremisesAgent + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/on_premises_agent_group.py b/msgraph_beta/generated/models/on_premises_agent_group.py index 8efd122a6a1..1f549a63df9 100644 --- a/msgraph_beta/generated/models/on_premises_agent_group.py +++ b/msgraph_beta/generated/models/on_premises_agent_group.py @@ -72,6 +72,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .on_premises_agent import OnPremisesAgent + from .on_premises_publishing_type import OnPremisesPublishingType + from .published_resource import PublishedResource + writer.write_collection_of_object_values("agents", self.agents) writer.write_str_value("displayName", self.display_name) writer.write_bool_value("isDefault", self.is_default) diff --git a/msgraph_beta/generated/models/on_premises_agent_group_collection_response.py b/msgraph_beta/generated/models/on_premises_agent_group_collection_response.py index e0545ced9eb..beca20cd8ec 100644 --- a/msgraph_beta/generated/models/on_premises_agent_group_collection_response.py +++ b/msgraph_beta/generated/models/on_premises_agent_group_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .on_premises_agent_group import OnPremisesAgentGroup + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/on_premises_application_segment.py b/msgraph_beta/generated/models/on_premises_application_segment.py index a6bc464421d..0f141c13d79 100644 --- a/msgraph_beta/generated/models/on_premises_application_segment.py +++ b/msgraph_beta/generated/models/on_premises_application_segment.py @@ -62,6 +62,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .cors_configuration import CorsConfiguration + writer.write_str_value("alternateUrl", self.alternate_url) writer.write_collection_of_object_values("corsConfigurations", self.cors_configurations) writer.write_str_value("externalUrl", self.external_url) diff --git a/msgraph_beta/generated/models/on_premises_conditional_access_settings.py b/msgraph_beta/generated/models/on_premises_conditional_access_settings.py index 61d6fa7fd7e..ec94e32d339 100644 --- a/msgraph_beta/generated/models/on_premises_conditional_access_settings.py +++ b/msgraph_beta/generated/models/on_premises_conditional_access_settings.py @@ -64,6 +64,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_bool_value("enabled", self.enabled) writer.write_collection_of_primitive_values("excludedGroups", self.excluded_groups) writer.write_collection_of_primitive_values("includedGroups", self.included_groups) diff --git a/msgraph_beta/generated/models/on_premises_directory_synchronization.py b/msgraph_beta/generated/models/on_premises_directory_synchronization.py index e70517b22df..61000c45f43 100644 --- a/msgraph_beta/generated/models/on_premises_directory_synchronization.py +++ b/msgraph_beta/generated/models/on_premises_directory_synchronization.py @@ -60,6 +60,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .on_premises_directory_synchronization_configuration import OnPremisesDirectorySynchronizationConfiguration + from .on_premises_directory_synchronization_feature import OnPremisesDirectorySynchronizationFeature + writer.write_object_value("configuration", self.configuration) writer.write_object_value("features", self.features) diff --git a/msgraph_beta/generated/models/on_premises_directory_synchronization_collection_response.py b/msgraph_beta/generated/models/on_premises_directory_synchronization_collection_response.py index 34ff1e4f0bb..699ba01ed6d 100644 --- a/msgraph_beta/generated/models/on_premises_directory_synchronization_collection_response.py +++ b/msgraph_beta/generated/models/on_premises_directory_synchronization_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .on_premises_directory_synchronization import OnPremisesDirectorySynchronization + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/on_premises_directory_synchronization_configuration.py b/msgraph_beta/generated/models/on_premises_directory_synchronization_configuration.py index cd58be7c2f6..91d63f13641 100644 --- a/msgraph_beta/generated/models/on_premises_directory_synchronization_configuration.py +++ b/msgraph_beta/generated/models/on_premises_directory_synchronization_configuration.py @@ -81,6 +81,10 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .on_premises_accidental_deletion_prevention import OnPremisesAccidentalDeletionPrevention + from .on_premises_current_export_data import OnPremisesCurrentExportData + from .on_premises_writeback_configuration import OnPremisesWritebackConfiguration + writer.write_object_value("accidentalDeletionPrevention", self.accidental_deletion_prevention) writer.write_str_value("anchorAttribute", self.anchor_attribute) writer.write_str_value("applicationId", self.application_id) diff --git a/msgraph_beta/generated/models/on_premises_publishing.py b/msgraph_beta/generated/models/on_premises_publishing.py index 7790486afeb..95009286e24 100644 --- a/msgraph_beta/generated/models/on_premises_publishing.py +++ b/msgraph_beta/generated/models/on_premises_publishing.py @@ -137,6 +137,14 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .external_authentication_type import ExternalAuthenticationType + from .key_credential import KeyCredential + from .on_premises_application_segment import OnPremisesApplicationSegment + from .on_premises_publishing_single_sign_on import OnPremisesPublishingSingleSignOn + from .password_credential import PasswordCredential + from .segment_configuration import SegmentConfiguration + from .verified_custom_domain_certificates_metadata import VerifiedCustomDomainCertificatesMetadata + writer.write_str_value("alternateUrl", self.alternate_url) writer.write_str_value("applicationServerTimeout", self.application_server_timeout) writer.write_str_value("applicationType", self.application_type) diff --git a/msgraph_beta/generated/models/on_premises_publishing_profile.py b/msgraph_beta/generated/models/on_premises_publishing_profile.py index 02d078d5108..5068ee5b28e 100644 --- a/msgraph_beta/generated/models/on_premises_publishing_profile.py +++ b/msgraph_beta/generated/models/on_premises_publishing_profile.py @@ -96,6 +96,15 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .connector import Connector + from .connector_group import ConnectorGroup + from .entity import Entity + from .hybrid_agent_updater_configuration import HybridAgentUpdaterConfiguration + from .ip_application_segment import IpApplicationSegment + from .on_premises_agent import OnPremisesAgent + from .on_premises_agent_group import OnPremisesAgentGroup + from .published_resource import PublishedResource + writer.write_collection_of_object_values("agentGroups", self.agent_groups) writer.write_collection_of_object_values("agents", self.agents) writer.write_collection_of_object_values("applicationSegments", self.application_segments) diff --git a/msgraph_beta/generated/models/on_premises_publishing_profile_collection_response.py b/msgraph_beta/generated/models/on_premises_publishing_profile_collection_response.py index d81eb5bbb76..6d8356d7580 100644 --- a/msgraph_beta/generated/models/on_premises_publishing_profile_collection_response.py +++ b/msgraph_beta/generated/models/on_premises_publishing_profile_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .on_premises_publishing_profile import OnPremisesPublishingProfile + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/on_premises_publishing_single_sign_on.py b/msgraph_beta/generated/models/on_premises_publishing_single_sign_on.py index f9565c86d0e..1d235385a0f 100644 --- a/msgraph_beta/generated/models/on_premises_publishing_single_sign_on.py +++ b/msgraph_beta/generated/models/on_premises_publishing_single_sign_on.py @@ -59,6 +59,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .kerberos_sign_on_settings import KerberosSignOnSettings + from .single_sign_on_mode import SingleSignOnMode + writer.write_object_value("kerberosSignOnSettings", self.kerberos_sign_on_settings) writer.write_str_value("@odata.type", self.odata_type) writer.write_enum_value("singleSignOnMode", self.single_sign_on_mode) diff --git a/msgraph_beta/generated/models/on_token_issuance_start_custom_extension.py b/msgraph_beta/generated/models/on_token_issuance_start_custom_extension.py index a61cade8bc6..a7ed30e99af 100644 --- a/msgraph_beta/generated/models/on_token_issuance_start_custom_extension.py +++ b/msgraph_beta/generated/models/on_token_issuance_start_custom_extension.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .custom_authentication_extension import CustomAuthenticationExtension + from .on_token_issuance_start_return_claim import OnTokenIssuanceStartReturnClaim + writer.write_collection_of_object_values("claimsForTokenConfiguration", self.claims_for_token_configuration) diff --git a/msgraph_beta/generated/models/on_token_issuance_start_custom_extension_handler.py b/msgraph_beta/generated/models/on_token_issuance_start_custom_extension_handler.py index 3da62b85e8a..dcf24d647c4 100644 --- a/msgraph_beta/generated/models/on_token_issuance_start_custom_extension_handler.py +++ b/msgraph_beta/generated/models/on_token_issuance_start_custom_extension_handler.py @@ -60,6 +60,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .custom_extension_overwrite_configuration import CustomExtensionOverwriteConfiguration + from .on_token_issuance_start_custom_extension import OnTokenIssuanceStartCustomExtension + from .on_token_issuance_start_handler import OnTokenIssuanceStartHandler + writer.write_object_value("configuration", self.configuration) writer.write_object_value("customExtension", self.custom_extension) diff --git a/msgraph_beta/generated/models/on_token_issuance_start_handler.py b/msgraph_beta/generated/models/on_token_issuance_start_handler.py index a1cc636e912..972877c0f00 100644 --- a/msgraph_beta/generated/models/on_token_issuance_start_handler.py +++ b/msgraph_beta/generated/models/on_token_issuance_start_handler.py @@ -27,7 +27,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> OnTokenIssuanceSta if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.onTokenIssuanceStartCustomExtensionHandler".casefold(): @@ -58,6 +59,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .on_token_issuance_start_custom_extension_handler import OnTokenIssuanceStartCustomExtensionHandler + writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/on_token_issuance_start_listener.py b/msgraph_beta/generated/models/on_token_issuance_start_listener.py index 2c14097c22f..689524ae81a 100644 --- a/msgraph_beta/generated/models/on_token_issuance_start_listener.py +++ b/msgraph_beta/generated/models/on_token_issuance_start_listener.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .authentication_event_listener import AuthenticationEventListener + from .on_token_issuance_start_handler import OnTokenIssuanceStartHandler + writer.write_object_value("handler", self.handler) diff --git a/msgraph_beta/generated/models/on_user_create_start_external_users_self_service_sign_up.py b/msgraph_beta/generated/models/on_user_create_start_external_users_self_service_sign_up.py index b64abf1a7b4..54c9aff6aca 100644 --- a/msgraph_beta/generated/models/on_user_create_start_external_users_self_service_sign_up.py +++ b/msgraph_beta/generated/models/on_user_create_start_external_users_self_service_sign_up.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .on_user_create_start_handler import OnUserCreateStartHandler + from .user_type import UserType + writer.write_enum_value("userTypeToCreate", self.user_type_to_create) diff --git a/msgraph_beta/generated/models/on_user_create_start_handler.py b/msgraph_beta/generated/models/on_user_create_start_handler.py index c02aae22054..778e60b81e6 100644 --- a/msgraph_beta/generated/models/on_user_create_start_handler.py +++ b/msgraph_beta/generated/models/on_user_create_start_handler.py @@ -27,7 +27,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> OnUserCreateStartH if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.onUserCreateStartExternalUsersSelfServiceSignUp".casefold(): @@ -58,6 +59,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .on_user_create_start_external_users_self_service_sign_up import OnUserCreateStartExternalUsersSelfServiceSignUp + writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/on_user_create_start_listener.py b/msgraph_beta/generated/models/on_user_create_start_listener.py index afc55d724cc..d8e0afa40ae 100644 --- a/msgraph_beta/generated/models/on_user_create_start_listener.py +++ b/msgraph_beta/generated/models/on_user_create_start_listener.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .authentication_event_listener import AuthenticationEventListener + from .on_user_create_start_handler import OnUserCreateStartHandler + writer.write_object_value("handler", self.handler) diff --git a/msgraph_beta/generated/models/one_drive_for_business_protection_policy.py b/msgraph_beta/generated/models/one_drive_for_business_protection_policy.py index 28ae254b1d3..19cb815d5b4 100644 --- a/msgraph_beta/generated/models/one_drive_for_business_protection_policy.py +++ b/msgraph_beta/generated/models/one_drive_for_business_protection_policy.py @@ -66,6 +66,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .drive_protection_rule import DriveProtectionRule + from .drive_protection_unit import DriveProtectionUnit + from .drive_protection_units_bulk_addition_job import DriveProtectionUnitsBulkAdditionJob + from .protection_policy_base import ProtectionPolicyBase + writer.write_collection_of_object_values("driveInclusionRules", self.drive_inclusion_rules) writer.write_collection_of_object_values("driveProtectionUnits", self.drive_protection_units) writer.write_collection_of_object_values("driveProtectionUnitsBulkAdditionJobs", self.drive_protection_units_bulk_addition_jobs) diff --git a/msgraph_beta/generated/models/one_drive_for_business_protection_policy_collection_response.py b/msgraph_beta/generated/models/one_drive_for_business_protection_policy_collection_response.py index 90cabfde0f2..de4e3fec996 100644 --- a/msgraph_beta/generated/models/one_drive_for_business_protection_policy_collection_response.py +++ b/msgraph_beta/generated/models/one_drive_for_business_protection_policy_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .one_drive_for_business_protection_policy import OneDriveForBusinessProtectionPolicy + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/one_drive_for_business_restore_session.py b/msgraph_beta/generated/models/one_drive_for_business_restore_session.py index b23640af102..9356c6b86e5 100644 --- a/msgraph_beta/generated/models/one_drive_for_business_restore_session.py +++ b/msgraph_beta/generated/models/one_drive_for_business_restore_session.py @@ -5,6 +5,7 @@ if TYPE_CHECKING: from .drive_restore_artifact import DriveRestoreArtifact + from .drive_restore_artifacts_bulk_addition_request import DriveRestoreArtifactsBulkAdditionRequest from .restore_session_base import RestoreSessionBase from .restore_session_base import RestoreSessionBase @@ -15,6 +16,8 @@ class OneDriveForBusinessRestoreSession(RestoreSessionBase): odata_type: Optional[str] = "#microsoft.graph.oneDriveForBusinessRestoreSession" # A collection of restore points and destination details that can be used to restore a OneDrive for Business drive. drive_restore_artifacts: Optional[List[DriveRestoreArtifact]] = None + # The driveRestoreArtifactsBulkAdditionRequests property + drive_restore_artifacts_bulk_addition_requests: Optional[List[DriveRestoreArtifactsBulkAdditionRequest]] = None @staticmethod def create_from_discriminator_value(parse_node: ParseNode) -> OneDriveForBusinessRestoreSession: @@ -33,13 +36,16 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: Returns: Dict[str, Callable[[ParseNode], None]] """ from .drive_restore_artifact import DriveRestoreArtifact + from .drive_restore_artifacts_bulk_addition_request import DriveRestoreArtifactsBulkAdditionRequest from .restore_session_base import RestoreSessionBase from .drive_restore_artifact import DriveRestoreArtifact + from .drive_restore_artifacts_bulk_addition_request import DriveRestoreArtifactsBulkAdditionRequest from .restore_session_base import RestoreSessionBase fields: Dict[str, Callable[[Any], None]] = { "driveRestoreArtifacts": lambda n : setattr(self, 'drive_restore_artifacts', n.get_collection_of_object_values(DriveRestoreArtifact)), + "driveRestoreArtifactsBulkAdditionRequests": lambda n : setattr(self, 'drive_restore_artifacts_bulk_addition_requests', n.get_collection_of_object_values(DriveRestoreArtifactsBulkAdditionRequest)), } super_fields = super().get_field_deserializers() fields.update(super_fields) @@ -54,6 +60,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .drive_restore_artifact import DriveRestoreArtifact + from .drive_restore_artifacts_bulk_addition_request import DriveRestoreArtifactsBulkAdditionRequest + from .restore_session_base import RestoreSessionBase + writer.write_collection_of_object_values("driveRestoreArtifacts", self.drive_restore_artifacts) + writer.write_collection_of_object_values("driveRestoreArtifactsBulkAdditionRequests", self.drive_restore_artifacts_bulk_addition_requests) diff --git a/msgraph_beta/generated/models/one_drive_for_business_restore_session_collection_response.py b/msgraph_beta/generated/models/one_drive_for_business_restore_session_collection_response.py index faac8d93335..bbe78dabe7e 100644 --- a/msgraph_beta/generated/models/one_drive_for_business_restore_session_collection_response.py +++ b/msgraph_beta/generated/models/one_drive_for_business_restore_session_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .one_drive_for_business_restore_session import OneDriveForBusinessRestoreSession + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/onenote.py b/msgraph_beta/generated/models/onenote.py index 4fef2989476..1070a72ca6d 100644 --- a/msgraph_beta/generated/models/onenote.py +++ b/msgraph_beta/generated/models/onenote.py @@ -84,6 +84,14 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .notebook import Notebook + from .onenote_operation import OnenoteOperation + from .onenote_page import OnenotePage + from .onenote_resource import OnenoteResource + from .onenote_section import OnenoteSection + from .section_group import SectionGroup + writer.write_collection_of_object_values("notebooks", self.notebooks) writer.write_collection_of_object_values("operations", self.operations) writer.write_collection_of_object_values("pages", self.pages) diff --git a/msgraph_beta/generated/models/onenote_entity_base_model.py b/msgraph_beta/generated/models/onenote_entity_base_model.py index 522f3ade28a..0cde418d457 100644 --- a/msgraph_beta/generated/models/onenote_entity_base_model.py +++ b/msgraph_beta/generated/models/onenote_entity_base_model.py @@ -32,7 +32,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> OnenoteEntityBaseM if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.notebook".casefold(): @@ -104,6 +105,15 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .notebook import Notebook + from .onenote_entity_hierarchy_model import OnenoteEntityHierarchyModel + from .onenote_entity_schema_object_model import OnenoteEntitySchemaObjectModel + from .onenote_page import OnenotePage + from .onenote_resource import OnenoteResource + from .onenote_section import OnenoteSection + from .section_group import SectionGroup + writer.write_str_value("self", self.self) diff --git a/msgraph_beta/generated/models/onenote_entity_hierarchy_model.py b/msgraph_beta/generated/models/onenote_entity_hierarchy_model.py index 2c5bc6f5e02..f92ee3509f3 100644 --- a/msgraph_beta/generated/models/onenote_entity_hierarchy_model.py +++ b/msgraph_beta/generated/models/onenote_entity_hierarchy_model.py @@ -36,7 +36,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> OnenoteEntityHiera if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.notebook".casefold(): @@ -89,6 +90,12 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .identity_set import IdentitySet + from .notebook import Notebook + from .onenote_entity_schema_object_model import OnenoteEntitySchemaObjectModel + from .onenote_section import OnenoteSection + from .section_group import SectionGroup + writer.write_object_value("createdBy", self.created_by) writer.write_str_value("displayName", self.display_name) writer.write_object_value("lastModifiedBy", self.last_modified_by) diff --git a/msgraph_beta/generated/models/onenote_entity_schema_object_model.py b/msgraph_beta/generated/models/onenote_entity_schema_object_model.py index afda72b6ebb..a59325867b7 100644 --- a/msgraph_beta/generated/models/onenote_entity_schema_object_model.py +++ b/msgraph_beta/generated/models/onenote_entity_schema_object_model.py @@ -31,7 +31,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> OnenoteEntitySchem if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.notebook".casefold(): @@ -91,6 +92,13 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .notebook import Notebook + from .onenote_entity_base_model import OnenoteEntityBaseModel + from .onenote_entity_hierarchy_model import OnenoteEntityHierarchyModel + from .onenote_page import OnenotePage + from .onenote_section import OnenoteSection + from .section_group import SectionGroup + writer.write_datetime_value("createdDateTime", self.created_date_time) diff --git a/msgraph_beta/generated/models/onenote_operation.py b/msgraph_beta/generated/models/onenote_operation.py index 04b13950a4b..ada3e4e176e 100644 --- a/msgraph_beta/generated/models/onenote_operation.py +++ b/msgraph_beta/generated/models/onenote_operation.py @@ -63,6 +63,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .onenote_operation_error import OnenoteOperationError + from .operation import Operation + writer.write_object_value("error", self.error) writer.write_str_value("percentComplete", self.percent_complete) writer.write_str_value("resourceId", self.resource_id) diff --git a/msgraph_beta/generated/models/onenote_operation_collection_response.py b/msgraph_beta/generated/models/onenote_operation_collection_response.py index 76ddf7023aa..922475c2e88 100644 --- a/msgraph_beta/generated/models/onenote_operation_collection_response.py +++ b/msgraph_beta/generated/models/onenote_operation_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .onenote_operation import OnenoteOperation + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/onenote_page.py b/msgraph_beta/generated/models/onenote_page.py index 58403933913..ddacfde99f1 100644 --- a/msgraph_beta/generated/models/onenote_page.py +++ b/msgraph_beta/generated/models/onenote_page.py @@ -91,6 +91,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .notebook import Notebook + from .onenote_entity_schema_object_model import OnenoteEntitySchemaObjectModel + from .onenote_section import OnenoteSection + from .page_links import PageLinks + writer.write_bytes_value("content", self.content) writer.write_str_value("contentUrl", self.content_url) writer.write_str_value("createdByAppId", self.created_by_app_id) diff --git a/msgraph_beta/generated/models/onenote_page_collection_response.py b/msgraph_beta/generated/models/onenote_page_collection_response.py index 3f80f0110b8..b7c24dac648 100644 --- a/msgraph_beta/generated/models/onenote_page_collection_response.py +++ b/msgraph_beta/generated/models/onenote_page_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .onenote_page import OnenotePage + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/onenote_page_preview.py b/msgraph_beta/generated/models/onenote_page_preview.py index c6293b26ecb..ffa65f289c8 100644 --- a/msgraph_beta/generated/models/onenote_page_preview.py +++ b/msgraph_beta/generated/models/onenote_page_preview.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .onenote_page_preview_links import OnenotePagePreviewLinks + writer.write_object_value("links", self.links) writer.write_str_value("@odata.type", self.odata_type) writer.write_str_value("previewText", self.preview_text) diff --git a/msgraph_beta/generated/models/onenote_page_preview_links.py b/msgraph_beta/generated/models/onenote_page_preview_links.py index 6cd008ec12d..772f99a7d30 100644 --- a/msgraph_beta/generated/models/onenote_page_preview_links.py +++ b/msgraph_beta/generated/models/onenote_page_preview_links.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .external_link import ExternalLink + writer.write_str_value("@odata.type", self.odata_type) writer.write_object_value("previewImageUrl", self.preview_image_url) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/onenote_patch_content_command.py b/msgraph_beta/generated/models/onenote_patch_content_command.py index 09e913963ef..4b127bf119a 100644 --- a/msgraph_beta/generated/models/onenote_patch_content_command.py +++ b/msgraph_beta/generated/models/onenote_patch_content_command.py @@ -65,6 +65,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .onenote_patch_action_type import OnenotePatchActionType + from .onenote_patch_insert_position import OnenotePatchInsertPosition + writer.write_enum_value("action", self.action) writer.write_str_value("content", self.content) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/onenote_resource.py b/msgraph_beta/generated/models/onenote_resource.py index 9229017b764..0d7664800dd 100644 --- a/msgraph_beta/generated/models/onenote_resource.py +++ b/msgraph_beta/generated/models/onenote_resource.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .onenote_entity_base_model import OnenoteEntityBaseModel + writer.write_bytes_value("content", self.content) writer.write_str_value("contentUrl", self.content_url) diff --git a/msgraph_beta/generated/models/onenote_resource_collection_response.py b/msgraph_beta/generated/models/onenote_resource_collection_response.py index 2f813c3baf1..a5beac719dc 100644 --- a/msgraph_beta/generated/models/onenote_resource_collection_response.py +++ b/msgraph_beta/generated/models/onenote_resource_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .onenote_resource import OnenoteResource + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/onenote_section.py b/msgraph_beta/generated/models/onenote_section.py index c437f0fdbb1..6f728db8794 100644 --- a/msgraph_beta/generated/models/onenote_section.py +++ b/msgraph_beta/generated/models/onenote_section.py @@ -78,6 +78,12 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .notebook import Notebook + from .onenote_entity_hierarchy_model import OnenoteEntityHierarchyModel + from .onenote_page import OnenotePage + from .section_group import SectionGroup + from .section_links import SectionLinks + writer.write_bool_value("isDefault", self.is_default) writer.write_object_value("links", self.links) writer.write_collection_of_object_values("pages", self.pages) diff --git a/msgraph_beta/generated/models/onenote_section_collection_response.py b/msgraph_beta/generated/models/onenote_section_collection_response.py index e562642d89a..af8779275fe 100644 --- a/msgraph_beta/generated/models/onenote_section_collection_response.py +++ b/msgraph_beta/generated/models/onenote_section_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .onenote_section import OnenoteSection + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/online_meeting.py b/msgraph_beta/generated/models/online_meeting.py index b24e858fba4..4060f29b874 100644 --- a/msgraph_beta/generated/models/online_meeting.py +++ b/msgraph_beta/generated/models/online_meeting.py @@ -130,6 +130,16 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .broadcast_meeting_settings import BroadcastMeetingSettings + from .call_ai_insight import CallAiInsight + from .call_recording import CallRecording + from .call_transcript import CallTranscript + from .meeting_attendance_report import MeetingAttendanceReport + from .meeting_capabilities import MeetingCapabilities + from .meeting_participants import MeetingParticipants + from .meeting_registration import MeetingRegistration + from .online_meeting_base import OnlineMeetingBase + writer.write_collection_of_object_values("aiInsights", self.ai_insights) writer.write_bytes_value("alternativeRecording", self.alternative_recording) writer.write_bytes_value("attendeeReport", self.attendee_report) diff --git a/msgraph_beta/generated/models/online_meeting_base.py b/msgraph_beta/generated/models/online_meeting_base.py index ff6738baeb5..d9eb7f51906 100644 --- a/msgraph_beta/generated/models/online_meeting_base.py +++ b/msgraph_beta/generated/models/online_meeting_base.py @@ -4,6 +4,7 @@ from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union if TYPE_CHECKING: + from .allowed_lobby_admitter_roles import AllowedLobbyAdmitterRoles from .audio_conferencing import AudioConferencing from .chat_info import ChatInfo from .chat_restrictions import ChatRestrictions @@ -47,6 +48,8 @@ class OnlineMeetingBase(Entity): allow_transcription: Optional[bool] = None # Indicates whether whiteboard is enabled for the meeting. allow_whiteboard: Optional[bool] = None + # The allowedLobbyAdmitters property + allowed_lobby_admitters: Optional[AllowedLobbyAdmitterRoles] = None # Specifies who can be a presenter in a meeting. Possible values are: everyone, organization, roleIsPresenter, organizer, unknownFutureValue. allowed_presenters: Optional[OnlineMeetingPresenters] = None # Specifies whose identity is anonymized in the meeting. Possible values are: attendee. The attendee value can't be removed through a PATCH operation once added. @@ -94,7 +97,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> OnlineMeetingBase: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.onlineMeeting".casefold(): @@ -112,6 +116,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: The deserialization information for the current model Returns: Dict[str, Callable[[ParseNode], None]] """ + from .allowed_lobby_admitter_roles import AllowedLobbyAdmitterRoles from .audio_conferencing import AudioConferencing from .chat_info import ChatInfo from .chat_restrictions import ChatRestrictions @@ -129,6 +134,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .virtual_event_session import VirtualEventSession from .watermark_protection_values import WatermarkProtectionValues + from .allowed_lobby_admitter_roles import AllowedLobbyAdmitterRoles from .audio_conferencing import AudioConferencing from .chat_info import ChatInfo from .chat_restrictions import ChatRestrictions @@ -158,6 +164,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: "allowTeamworkReactions": lambda n : setattr(self, 'allow_teamwork_reactions', n.get_bool_value()), "allowTranscription": lambda n : setattr(self, 'allow_transcription', n.get_bool_value()), "allowWhiteboard": lambda n : setattr(self, 'allow_whiteboard', n.get_bool_value()), + "allowedLobbyAdmitters": lambda n : setattr(self, 'allowed_lobby_admitters', n.get_enum_value(AllowedLobbyAdmitterRoles)), "allowedPresenters": lambda n : setattr(self, 'allowed_presenters', n.get_enum_value(OnlineMeetingPresenters)), "anonymizeIdentityForRoles": lambda n : setattr(self, 'anonymize_identity_for_roles', n.get_collection_of_enum_values(OnlineMeetingRole)), "attendanceReports": lambda n : setattr(self, 'attendance_reports', n.get_collection_of_object_values(MeetingAttendanceReport)), @@ -189,6 +196,24 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .allowed_lobby_admitter_roles import AllowedLobbyAdmitterRoles + 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 + from .lobby_bypass_settings import LobbyBypassSettings + from .meeting_attendance_report import MeetingAttendanceReport + from .meeting_chat_history_default_mode import MeetingChatHistoryDefaultMode + from .meeting_chat_mode import MeetingChatMode + from .meeting_live_share_options import MeetingLiveShareOptions + from .online_meeting import OnlineMeeting + from .online_meeting_presenters import OnlineMeetingPresenters + from .online_meeting_role import OnlineMeetingRole + from .virtual_event_session import VirtualEventSession + from .watermark_protection_values import WatermarkProtectionValues + writer.write_bool_value("allowAttendeeToEnableCamera", self.allow_attendee_to_enable_camera) writer.write_bool_value("allowAttendeeToEnableMic", self.allow_attendee_to_enable_mic) writer.write_bool_value("allowBreakoutRooms", self.allow_breakout_rooms) @@ -200,6 +225,7 @@ def serialize(self,writer: SerializationWriter) -> None: writer.write_bool_value("allowTeamworkReactions", self.allow_teamwork_reactions) writer.write_bool_value("allowTranscription", self.allow_transcription) writer.write_bool_value("allowWhiteboard", self.allow_whiteboard) + writer.write_enum_value("allowedLobbyAdmitters", self.allowed_lobby_admitters) writer.write_enum_value("allowedPresenters", self.allowed_presenters) writer.write_collection_of_enum_values("anonymizeIdentityForRoles", self.anonymize_identity_for_roles) writer.write_collection_of_object_values("attendanceReports", self.attendance_reports) diff --git a/msgraph_beta/generated/models/online_meeting_collection_response.py b/msgraph_beta/generated/models/online_meeting_collection_response.py index 70d4bbff91f..57d362c3527 100644 --- a/msgraph_beta/generated/models/online_meeting_collection_response.py +++ b/msgraph_beta/generated/models/online_meeting_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .online_meeting import OnlineMeeting + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/online_meeting_info.py b/msgraph_beta/generated/models/online_meeting_info.py index 8fdbf7e3e20..85b631b0a20 100644 --- a/msgraph_beta/generated/models/online_meeting_info.py +++ b/msgraph_beta/generated/models/online_meeting_info.py @@ -68,6 +68,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .phone import Phone + writer.write_str_value("conferenceId", self.conference_id) writer.write_str_value("joinUrl", self.join_url) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/online_meeting_restricted.py b/msgraph_beta/generated/models/online_meeting_restricted.py index 2f8e5175a8b..6c41d8691af 100644 --- a/msgraph_beta/generated/models/online_meeting_restricted.py +++ b/msgraph_beta/generated/models/online_meeting_restricted.py @@ -59,6 +59,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .online_meeting_content_sharing_disabled_reason import OnlineMeetingContentSharingDisabledReason + from .online_meeting_video_disabled_reason import OnlineMeetingVideoDisabledReason + writer.write_enum_value("contentSharingDisabled", self.content_sharing_disabled) writer.write_str_value("@odata.type", self.odata_type) writer.write_enum_value("videoDisabled", self.video_disabled) diff --git a/msgraph_beta/generated/models/open_aws_security_group_finding.py b/msgraph_beta/generated/models/open_aws_security_group_finding.py index 78b72735a03..880a393b6ae 100644 --- a/msgraph_beta/generated/models/open_aws_security_group_finding.py +++ b/msgraph_beta/generated/models/open_aws_security_group_finding.py @@ -69,6 +69,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .assigned_compute_instance_details import AssignedComputeInstanceDetails + from .aws_authorization_system_resource import AwsAuthorizationSystemResource + from .finding import Finding + from .inbound_ports import InboundPorts + writer.write_collection_of_object_values("assignedComputeInstancesDetails", self.assigned_compute_instances_details) writer.write_object_value("inboundPorts", self.inbound_ports) writer.write_object_value("securityGroup", self.security_group) diff --git a/msgraph_beta/generated/models/open_id_connect_identity_provider.py b/msgraph_beta/generated/models/open_id_connect_identity_provider.py index ffb9ddb2a99..c20f74cf0dd 100644 --- a/msgraph_beta/generated/models/open_id_connect_identity_provider.py +++ b/msgraph_beta/generated/models/open_id_connect_identity_provider.py @@ -81,6 +81,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .claims_mapping import ClaimsMapping + from .identity_provider_base import IdentityProviderBase + from .open_id_connect_response_mode import OpenIdConnectResponseMode + from .open_id_connect_response_types import OpenIdConnectResponseTypes + writer.write_object_value("claimsMapping", self.claims_mapping) writer.write_str_value("clientId", self.client_id) writer.write_str_value("clientSecret", self.client_secret) diff --git a/msgraph_beta/generated/models/open_id_connect_provider.py b/msgraph_beta/generated/models/open_id_connect_provider.py index f0d6a01cd00..2163702b16e 100644 --- a/msgraph_beta/generated/models/open_id_connect_provider.py +++ b/msgraph_beta/generated/models/open_id_connect_provider.py @@ -75,6 +75,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .claims_mapping import ClaimsMapping + from .identity_provider import IdentityProvider + from .open_id_connect_response_mode import OpenIdConnectResponseMode + from .open_id_connect_response_types import OpenIdConnectResponseTypes + writer.write_object_value("claimsMapping", self.claims_mapping) writer.write_str_value("domainHint", self.domain_hint) writer.write_str_value("metadataUrl", self.metadata_url) diff --git a/msgraph_beta/generated/models/open_network_azure_security_group_finding.py b/msgraph_beta/generated/models/open_network_azure_security_group_finding.py index a7ee48a5e4f..81a27cf91be 100644 --- a/msgraph_beta/generated/models/open_network_azure_security_group_finding.py +++ b/msgraph_beta/generated/models/open_network_azure_security_group_finding.py @@ -66,6 +66,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .authorization_system_resource import AuthorizationSystemResource + from .finding import Finding + from .inbound_ports import InboundPorts + from .virtual_machine_details import VirtualMachineDetails + writer.write_object_value("inboundPorts", self.inbound_ports) writer.write_object_value("securityGroup", self.security_group) writer.write_collection_of_object_values("virtualMachines", self.virtual_machines) diff --git a/msgraph_beta/generated/models/open_shift.py b/msgraph_beta/generated/models/open_shift.py index 97aab46871c..2e5a9830cbf 100644 --- a/msgraph_beta/generated/models/open_shift.py +++ b/msgraph_beta/generated/models/open_shift.py @@ -75,6 +75,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .change_tracked_entity import ChangeTrackedEntity + from .open_shift_item import OpenShiftItem + from .scheduling_group_info import SchedulingGroupInfo + from .shifts_team_info import ShiftsTeamInfo + writer.write_object_value("draftOpenShift", self.draft_open_shift) writer.write_bool_value("isStagedForDeletion", self.is_staged_for_deletion) writer.write_str_value("schedulingGroupId", self.scheduling_group_id) diff --git a/msgraph_beta/generated/models/open_shift_change_request.py b/msgraph_beta/generated/models/open_shift_change_request.py index 80bf68152e8..6ff2eb05e56 100644 --- a/msgraph_beta/generated/models/open_shift_change_request.py +++ b/msgraph_beta/generated/models/open_shift_change_request.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .schedule_change_request import ScheduleChangeRequest + writer.write_str_value("openShiftId", self.open_shift_id) diff --git a/msgraph_beta/generated/models/open_shift_change_request_collection_response.py b/msgraph_beta/generated/models/open_shift_change_request_collection_response.py index efbd98c9892..a9f5dc12d83 100644 --- a/msgraph_beta/generated/models/open_shift_change_request_collection_response.py +++ b/msgraph_beta/generated/models/open_shift_change_request_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .open_shift_change_request import OpenShiftChangeRequest + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/open_shift_collection_response.py b/msgraph_beta/generated/models/open_shift_collection_response.py index c8bfaff3417..693d6d6b01f 100644 --- a/msgraph_beta/generated/models/open_shift_collection_response.py +++ b/msgraph_beta/generated/models/open_shift_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .open_shift import OpenShift + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/open_shift_item.py b/msgraph_beta/generated/models/open_shift_item.py index 2d1d7cc6b1c..2254c038d1f 100644 --- a/msgraph_beta/generated/models/open_shift_item.py +++ b/msgraph_beta/generated/models/open_shift_item.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .shift_item import ShiftItem + writer.write_int_value("openSlotCount", self.open_slot_count) diff --git a/msgraph_beta/generated/models/open_type_extension.py b/msgraph_beta/generated/models/open_type_extension.py index 725687a6a1f..0f49d7e4203 100644 --- a/msgraph_beta/generated/models/open_type_extension.py +++ b/msgraph_beta/generated/models/open_type_extension.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .extension import Extension + writer.write_str_value("extensionName", self.extension_name) diff --git a/msgraph_beta/generated/models/operation.py b/msgraph_beta/generated/models/operation.py index 7e7791dda89..d99eb23e030 100644 --- a/msgraph_beta/generated/models/operation.py +++ b/msgraph_beta/generated/models/operation.py @@ -32,7 +32,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> Operation: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.onenoteOperation".casefold(): @@ -72,6 +73,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .onenote_operation import OnenoteOperation + from .operation_status import OperationStatus + writer.write_datetime_value("createdDateTime", self.created_date_time) writer.write_datetime_value("lastActionDateTime", self.last_action_date_time) writer.write_enum_value("status", self.status) diff --git a/msgraph_beta/generated/models/operation_approval_policy.py b/msgraph_beta/generated/models/operation_approval_policy.py index 091601a46db..4c882367637 100644 --- a/msgraph_beta/generated/models/operation_approval_policy.py +++ b/msgraph_beta/generated/models/operation_approval_policy.py @@ -82,6 +82,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .operation_approval_policy_platform import OperationApprovalPolicyPlatform + from .operation_approval_policy_set import OperationApprovalPolicySet + from .operation_approval_policy_type import OperationApprovalPolicyType + writer.write_collection_of_primitive_values("approverGroupIds", self.approver_group_ids) writer.write_str_value("description", self.description) writer.write_str_value("displayName", self.display_name) diff --git a/msgraph_beta/generated/models/operation_approval_policy_collection_response.py b/msgraph_beta/generated/models/operation_approval_policy_collection_response.py index 26dc988a90b..3aa91f56055 100644 --- a/msgraph_beta/generated/models/operation_approval_policy_collection_response.py +++ b/msgraph_beta/generated/models/operation_approval_policy_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .operation_approval_policy import OperationApprovalPolicy + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/operation_approval_policy_set.py b/msgraph_beta/generated/models/operation_approval_policy_set.py index 105084d98c3..94aa4d6a2fa 100644 --- a/msgraph_beta/generated/models/operation_approval_policy_set.py +++ b/msgraph_beta/generated/models/operation_approval_policy_set.py @@ -62,6 +62,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .operation_approval_policy_platform import OperationApprovalPolicyPlatform + from .operation_approval_policy_type import OperationApprovalPolicyType + writer.write_str_value("@odata.type", self.odata_type) writer.write_enum_value("policyPlatform", self.policy_platform) writer.write_enum_value("policyType", self.policy_type) diff --git a/msgraph_beta/generated/models/operation_approval_request.py b/msgraph_beta/generated/models/operation_approval_request.py index 076202fde85..358ad4d8ba0 100644 --- a/msgraph_beta/generated/models/operation_approval_request.py +++ b/msgraph_beta/generated/models/operation_approval_request.py @@ -88,6 +88,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .identity_set import IdentitySet + from .operation_approval_policy_type import OperationApprovalPolicyType + from .operation_approval_request_status import OperationApprovalRequestStatus + writer.write_enum_value("status", self.status) diff --git a/msgraph_beta/generated/models/operation_approval_request_collection_response.py b/msgraph_beta/generated/models/operation_approval_request_collection_response.py index 34ecfefbe69..f923a2a69ca 100644 --- a/msgraph_beta/generated/models/operation_approval_request_collection_response.py +++ b/msgraph_beta/generated/models/operation_approval_request_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .operation_approval_request import OperationApprovalRequest + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/operation_approval_request_entity_status.py b/msgraph_beta/generated/models/operation_approval_request_entity_status.py index a47d5d65508..fcea2410f89 100644 --- a/msgraph_beta/generated/models/operation_approval_request_entity_status.py +++ b/msgraph_beta/generated/models/operation_approval_request_entity_status.py @@ -66,6 +66,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .operation_approval_request_status import OperationApprovalRequestStatus + writer.write_str_value("@odata.type", self.odata_type) writer.write_enum_value("requestStatus", self.request_status) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/optional_claims.py b/msgraph_beta/generated/models/optional_claims.py index d34fe561eb8..debf0260870 100644 --- a/msgraph_beta/generated/models/optional_claims.py +++ b/msgraph_beta/generated/models/optional_claims.py @@ -59,6 +59,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .optional_claim import OptionalClaim + writer.write_collection_of_object_values("accessToken", self.access_token) writer.write_collection_of_object_values("idToken", self.id_token) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/org_contact.py b/msgraph_beta/generated/models/org_contact.py index bb2a1af1a0b..59a8525dbff 100644 --- a/msgraph_beta/generated/models/org_contact.py +++ b/msgraph_beta/generated/models/org_contact.py @@ -121,6 +121,12 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .directory_object import DirectoryObject + from .on_premises_provisioning_error import OnPremisesProvisioningError + from .phone import Phone + from .physical_office_address import PhysicalOfficeAddress + from .service_provisioning_error import ServiceProvisioningError + writer.write_collection_of_object_values("addresses", self.addresses) writer.write_str_value("companyName", self.company_name) writer.write_str_value("department", self.department) diff --git a/msgraph_beta/generated/models/org_contact_collection_response.py b/msgraph_beta/generated/models/org_contact_collection_response.py index 9bd40fc3240..4dc0efe4f63 100644 --- a/msgraph_beta/generated/models/org_contact_collection_response.py +++ b/msgraph_beta/generated/models/org_contact_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .org_contact import OrgContact + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/organization.py b/msgraph_beta/generated/models/organization.py index 2bba61a6c3e..73ffcc2e6ae 100644 --- a/msgraph_beta/generated/models/organization.py +++ b/msgraph_beta/generated/models/organization.py @@ -187,6 +187,21 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .assigned_plan import AssignedPlan + from .certificate_based_auth_configuration import CertificateBasedAuthConfiguration + from .certificate_connector_setting import CertificateConnectorSetting + from .directory_object import DirectoryObject + from .directory_size_quota import DirectorySizeQuota + from .extension import Extension + from .mdm_authority import MdmAuthority + from .organizational_branding import OrganizationalBranding + from .organization_settings import OrganizationSettings + from .partner_information import PartnerInformation + from .partner_tenant_type import PartnerTenantType + from .privacy_profile import PrivacyProfile + from .provisioned_plan import ProvisionedPlan + from .verified_domain import VerifiedDomain + writer.write_collection_of_object_values("assignedPlans", self.assigned_plans) writer.write_object_value("branding", self.branding) writer.write_collection_of_primitive_values("businessPhones", self.business_phones) diff --git a/msgraph_beta/generated/models/organization_collection_response.py b/msgraph_beta/generated/models/organization_collection_response.py index 0d93e692fe6..6175fc636b1 100644 --- a/msgraph_beta/generated/models/organization_collection_response.py +++ b/msgraph_beta/generated/models/organization_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .organization import Organization + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/organization_settings.py b/msgraph_beta/generated/models/organization_settings.py index 58d803a1003..1b7e1678bcc 100644 --- a/msgraph_beta/generated/models/organization_settings.py +++ b/msgraph_beta/generated/models/organization_settings.py @@ -66,6 +66,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .insights_settings import InsightsSettings + from .microsoft_application_data_access_settings import MicrosoftApplicationDataAccessSettings + writer.write_object_value("contactInsights", self.contact_insights) writer.write_object_value("itemInsights", self.item_insights) writer.write_object_value("microsoftApplicationDataAccess", self.microsoft_application_data_access) diff --git a/msgraph_beta/generated/models/organizational_branding.py b/msgraph_beta/generated/models/organizational_branding.py index 431f84e1cdc..beba6084b55 100644 --- a/msgraph_beta/generated/models/organizational_branding.py +++ b/msgraph_beta/generated/models/organizational_branding.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .organizational_branding_localization import OrganizationalBrandingLocalization + from .organizational_branding_properties import OrganizationalBrandingProperties + writer.write_collection_of_object_values("localizations", self.localizations) diff --git a/msgraph_beta/generated/models/organizational_branding_localization.py b/msgraph_beta/generated/models/organizational_branding_localization.py index 2fac11dbd79..7ed3c291433 100644 --- a/msgraph_beta/generated/models/organizational_branding_localization.py +++ b/msgraph_beta/generated/models/organizational_branding_localization.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .organizational_branding_properties import OrganizationalBrandingProperties + diff --git a/msgraph_beta/generated/models/organizational_branding_localization_collection_response.py b/msgraph_beta/generated/models/organizational_branding_localization_collection_response.py index 9fc14e19167..cdea6aff182 100644 --- a/msgraph_beta/generated/models/organizational_branding_localization_collection_response.py +++ b/msgraph_beta/generated/models/organizational_branding_localization_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .organizational_branding_localization import OrganizationalBrandingLocalization + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/organizational_branding_properties.py b/msgraph_beta/generated/models/organizational_branding_properties.py index 832cedb293f..a509110799d 100644 --- a/msgraph_beta/generated/models/organizational_branding_properties.py +++ b/msgraph_beta/generated/models/organizational_branding_properties.py @@ -90,7 +90,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> OrganizationalBran if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.organizationalBranding".casefold(): @@ -168,6 +169,13 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .content_customization import ContentCustomization + from .entity import Entity + from .login_page_layout_configuration import LoginPageLayoutConfiguration + from .login_page_text_visibility_settings import LoginPageTextVisibilitySettings + from .organizational_branding import OrganizationalBranding + from .organizational_branding_localization import OrganizationalBrandingLocalization + writer.write_str_value("backgroundColor", self.background_color) writer.write_bytes_value("backgroundImage", self.background_image) writer.write_str_value("backgroundImageRelativeUrl", self.background_image_relative_url) diff --git a/msgraph_beta/generated/models/organizational_branding_theme.py b/msgraph_beta/generated/models/organizational_branding_theme.py index 5fdc7d5f363..75f1b26d994 100644 --- a/msgraph_beta/generated/models/organizational_branding_theme.py +++ b/msgraph_beta/generated/models/organizational_branding_theme.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_bool_value("isDefaultTheme", self.is_default_theme) writer.write_str_value("name", self.name) diff --git a/msgraph_beta/generated/models/organizer_meeting_info.py b/msgraph_beta/generated/models/organizer_meeting_info.py index 92705648cdb..6083a19d7c1 100644 --- a/msgraph_beta/generated/models/organizer_meeting_info.py +++ b/msgraph_beta/generated/models/organizer_meeting_info.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .identity_set import IdentitySet + from .meeting_info import MeetingInfo + writer.write_object_value("organizer", self.organizer) diff --git a/msgraph_beta/generated/models/out_of_box_experience_setting.py b/msgraph_beta/generated/models/out_of_box_experience_setting.py index bacee0c4daa..40f98a3dcd8 100644 --- a/msgraph_beta/generated/models/out_of_box_experience_setting.py +++ b/msgraph_beta/generated/models/out_of_box_experience_setting.py @@ -74,6 +74,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .windows_device_usage_type import WindowsDeviceUsageType + from .windows_user_type import WindowsUserType + writer.write_enum_value("deviceUsageType", self.device_usage_type) writer.write_bool_value("escapeLinkHidden", self.escape_link_hidden) writer.write_bool_value("eulaHidden", self.eula_hidden) diff --git a/msgraph_beta/generated/models/out_of_box_experience_settings.py b/msgraph_beta/generated/models/out_of_box_experience_settings.py index 30f1464e2e7..afcc6415c37 100644 --- a/msgraph_beta/generated/models/out_of_box_experience_settings.py +++ b/msgraph_beta/generated/models/out_of_box_experience_settings.py @@ -74,6 +74,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .windows_device_usage_type import WindowsDeviceUsageType + from .windows_user_type import WindowsUserType + writer.write_enum_value("deviceUsageType", self.device_usage_type) writer.write_bool_value("hideEULA", self.hide_e_u_l_a) writer.write_bool_value("hideEscapeLink", self.hide_escape_link) diff --git a/msgraph_beta/generated/models/outbound_shared_user_profile.py b/msgraph_beta/generated/models/outbound_shared_user_profile.py index 1ddc68096a8..e5ab77aad42 100644 --- a/msgraph_beta/generated/models/outbound_shared_user_profile.py +++ b/msgraph_beta/generated/models/outbound_shared_user_profile.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .tenant_reference import TenantReference + writer.write_str_value("@odata.type", self.odata_type) writer.write_collection_of_object_values("tenants", self.tenants) writer.write_str_value("userId", self.user_id) diff --git a/msgraph_beta/generated/models/outbound_shared_user_profile_collection_response.py b/msgraph_beta/generated/models/outbound_shared_user_profile_collection_response.py index 913aa0f123b..e0129b19510 100644 --- a/msgraph_beta/generated/models/outbound_shared_user_profile_collection_response.py +++ b/msgraph_beta/generated/models/outbound_shared_user_profile_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .outbound_shared_user_profile import OutboundSharedUserProfile + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/outgoing_call_options.py b/msgraph_beta/generated/models/outgoing_call_options.py index cc743a6d04f..df58bbcc0bc 100644 --- a/msgraph_beta/generated/models/outgoing_call_options.py +++ b/msgraph_beta/generated/models/outgoing_call_options.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .call_options import CallOptions + diff --git a/msgraph_beta/generated/models/outlook_category.py b/msgraph_beta/generated/models/outlook_category.py index 1b3430470a5..b5e9d9356cb 100644 --- a/msgraph_beta/generated/models/outlook_category.py +++ b/msgraph_beta/generated/models/outlook_category.py @@ -57,6 +57,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .category_color import CategoryColor + from .entity import Entity + writer.write_enum_value("color", self.color) writer.write_str_value("displayName", self.display_name) diff --git a/msgraph_beta/generated/models/outlook_category_collection_response.py b/msgraph_beta/generated/models/outlook_category_collection_response.py index 1b82c3a69d1..a514a884b5f 100644 --- a/msgraph_beta/generated/models/outlook_category_collection_response.py +++ b/msgraph_beta/generated/models/outlook_category_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .outlook_category import OutlookCategory + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/outlook_item.py b/msgraph_beta/generated/models/outlook_item.py index 8d4e73456c7..fbbad2b320d 100644 --- a/msgraph_beta/generated/models/outlook_item.py +++ b/msgraph_beta/generated/models/outlook_item.py @@ -42,7 +42,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> OutlookItem: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.calendarSharingMessage".casefold(): @@ -135,6 +136,18 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .calendar_sharing_message import CalendarSharingMessage + from .contact import Contact + from .entity import Entity + from .event import Event + from .event_message import EventMessage + from .event_message_request import EventMessageRequest + from .event_message_response import EventMessageResponse + from .message import Message + from .note import Note + from .outlook_task import OutlookTask + from .post import Post + writer.write_collection_of_primitive_values("categories", self.categories) writer.write_str_value("changeKey", self.change_key) writer.write_datetime_value("createdDateTime", self.created_date_time) diff --git a/msgraph_beta/generated/models/outlook_task.py b/msgraph_beta/generated/models/outlook_task.py index b096446b6b4..358090e14c1 100644 --- a/msgraph_beta/generated/models/outlook_task.py +++ b/msgraph_beta/generated/models/outlook_task.py @@ -129,6 +129,17 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .attachment import Attachment + from .date_time_time_zone import DateTimeTimeZone + from .importance import Importance + from .item_body import ItemBody + from .multi_value_legacy_extended_property import MultiValueLegacyExtendedProperty + from .outlook_item import OutlookItem + from .patterned_recurrence import PatternedRecurrence + from .sensitivity import Sensitivity + from .single_value_legacy_extended_property import SingleValueLegacyExtendedProperty + from .task_status import TaskStatus + writer.write_str_value("assignedTo", self.assigned_to) writer.write_collection_of_object_values("attachments", self.attachments) writer.write_object_value("body", self.body) diff --git a/msgraph_beta/generated/models/outlook_task_collection_response.py b/msgraph_beta/generated/models/outlook_task_collection_response.py index 900479b7653..977eb61a81c 100644 --- a/msgraph_beta/generated/models/outlook_task_collection_response.py +++ b/msgraph_beta/generated/models/outlook_task_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .outlook_task import OutlookTask + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/outlook_task_folder.py b/msgraph_beta/generated/models/outlook_task_folder.py index b0bcecb821c..3ae24c48c34 100644 --- a/msgraph_beta/generated/models/outlook_task_folder.py +++ b/msgraph_beta/generated/models/outlook_task_folder.py @@ -79,6 +79,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .multi_value_legacy_extended_property import MultiValueLegacyExtendedProperty + from .outlook_task import OutlookTask + from .single_value_legacy_extended_property import SingleValueLegacyExtendedProperty + writer.write_str_value("changeKey", self.change_key) writer.write_bool_value("isDefaultFolder", self.is_default_folder) writer.write_collection_of_object_values("multiValueExtendedProperties", self.multi_value_extended_properties) diff --git a/msgraph_beta/generated/models/outlook_task_folder_collection_response.py b/msgraph_beta/generated/models/outlook_task_folder_collection_response.py index 51ccfcd7b8f..b5631f58610 100644 --- a/msgraph_beta/generated/models/outlook_task_folder_collection_response.py +++ b/msgraph_beta/generated/models/outlook_task_folder_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .outlook_task_folder import OutlookTaskFolder + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/outlook_task_group.py b/msgraph_beta/generated/models/outlook_task_group.py index d671e1f4f29..b27561fb3b2 100644 --- a/msgraph_beta/generated/models/outlook_task_group.py +++ b/msgraph_beta/generated/models/outlook_task_group.py @@ -67,6 +67,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .outlook_task_folder import OutlookTaskFolder + writer.write_str_value("changeKey", self.change_key) writer.write_uuid_value("groupKey", self.group_key) writer.write_bool_value("isDefaultGroup", self.is_default_group) diff --git a/msgraph_beta/generated/models/outlook_task_group_collection_response.py b/msgraph_beta/generated/models/outlook_task_group_collection_response.py index a954f4c7710..022082aef5c 100644 --- a/msgraph_beta/generated/models/outlook_task_group_collection_response.py +++ b/msgraph_beta/generated/models/outlook_task_group_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .outlook_task_group import OutlookTaskGroup + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/outlook_user.py b/msgraph_beta/generated/models/outlook_user.py index e6fa58423aa..d81e863c0d5 100644 --- a/msgraph_beta/generated/models/outlook_user.py +++ b/msgraph_beta/generated/models/outlook_user.py @@ -72,6 +72,12 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .outlook_category import OutlookCategory + from .outlook_task import OutlookTask + from .outlook_task_folder import OutlookTaskFolder + from .outlook_task_group import OutlookTaskGroup + writer.write_collection_of_object_values("masterCategories", self.master_categories) writer.write_collection_of_object_values("taskFolders", self.task_folders) writer.write_collection_of_object_values("taskGroups", self.task_groups) diff --git a/msgraph_beta/generated/models/overprovisioned_aws_resource_finding.py b/msgraph_beta/generated/models/overprovisioned_aws_resource_finding.py index 0cc8a373b39..fd802d89932 100644 --- a/msgraph_beta/generated/models/overprovisioned_aws_resource_finding.py +++ b/msgraph_beta/generated/models/overprovisioned_aws_resource_finding.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .identity_finding import IdentityFinding + diff --git a/msgraph_beta/generated/models/overprovisioned_aws_role_finding.py b/msgraph_beta/generated/models/overprovisioned_aws_role_finding.py index 547baa408f5..260804c7b90 100644 --- a/msgraph_beta/generated/models/overprovisioned_aws_role_finding.py +++ b/msgraph_beta/generated/models/overprovisioned_aws_role_finding.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .identity_finding import IdentityFinding + diff --git a/msgraph_beta/generated/models/overprovisioned_azure_service_principal_finding.py b/msgraph_beta/generated/models/overprovisioned_azure_service_principal_finding.py index f55d5f48d4a..b5adbbfad77 100644 --- a/msgraph_beta/generated/models/overprovisioned_azure_service_principal_finding.py +++ b/msgraph_beta/generated/models/overprovisioned_azure_service_principal_finding.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .identity_finding import IdentityFinding + diff --git a/msgraph_beta/generated/models/overprovisioned_gcp_service_account_finding.py b/msgraph_beta/generated/models/overprovisioned_gcp_service_account_finding.py index b139bd105f1..ec64b6b065a 100644 --- a/msgraph_beta/generated/models/overprovisioned_gcp_service_account_finding.py +++ b/msgraph_beta/generated/models/overprovisioned_gcp_service_account_finding.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .identity_finding import IdentityFinding + diff --git a/msgraph_beta/generated/models/overprovisioned_serverless_function_finding.py b/msgraph_beta/generated/models/overprovisioned_serverless_function_finding.py index 362f091a659..9cbd7868d38 100644 --- a/msgraph_beta/generated/models/overprovisioned_serverless_function_finding.py +++ b/msgraph_beta/generated/models/overprovisioned_serverless_function_finding.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .identity_finding import IdentityFinding + diff --git a/msgraph_beta/generated/models/overprovisioned_user_finding.py b/msgraph_beta/generated/models/overprovisioned_user_finding.py index aabe9f16543..e41f6ecde85 100644 --- a/msgraph_beta/generated/models/overprovisioned_user_finding.py +++ b/msgraph_beta/generated/models/overprovisioned_user_finding.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .identity_finding import IdentityFinding + diff --git a/msgraph_beta/generated/models/page_links.py b/msgraph_beta/generated/models/page_links.py index 17398835ab8..6c0aa35655f 100644 --- a/msgraph_beta/generated/models/page_links.py +++ b/msgraph_beta/generated/models/page_links.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .external_link import ExternalLink + writer.write_str_value("@odata.type", self.odata_type) writer.write_object_value("oneNoteClientUrl", self.one_note_client_url) writer.write_object_value("oneNoteWebUrl", self.one_note_web_url) diff --git a/msgraph_beta/generated/models/page_template.py b/msgraph_beta/generated/models/page_template.py index 8948bd72da8..c57ebaded48 100644 --- a/msgraph_beta/generated/models/page_template.py +++ b/msgraph_beta/generated/models/page_template.py @@ -66,6 +66,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_site_page import BaseSitePage + from .canvas_layout import CanvasLayout + from .title_area import TitleArea + from .web_part import WebPart + writer.write_object_value("canvasLayout", self.canvas_layout) writer.write_object_value("titleArea", self.title_area) writer.write_collection_of_object_values("webParts", self.web_parts) diff --git a/msgraph_beta/generated/models/page_template_collection_response.py b/msgraph_beta/generated/models/page_template_collection_response.py index d2aaaa2ffa9..8cfd4899fad 100644 --- a/msgraph_beta/generated/models/page_template_collection_response.py +++ b/msgraph_beta/generated/models/page_template_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .page_template import PageTemplate + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/parent_label_details.py b/msgraph_beta/generated/models/parent_label_details.py index d8a12b7ea0b..ceec6cf5583 100644 --- a/msgraph_beta/generated/models/parent_label_details.py +++ b/msgraph_beta/generated/models/parent_label_details.py @@ -43,7 +43,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> ParentLabelDetails if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.labelDetails".casefold(): @@ -82,6 +83,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .label_details import LabelDetails + writer.write_str_value("color", self.color) writer.write_str_value("description", self.description) writer.write_str_value("id", self.id) diff --git a/msgraph_beta/generated/models/parse_expression_response.py b/msgraph_beta/generated/models/parse_expression_response.py index eba709a3481..8d088e6a406 100644 --- a/msgraph_beta/generated/models/parse_expression_response.py +++ b/msgraph_beta/generated/models/parse_expression_response.py @@ -68,6 +68,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .attribute_mapping_source import AttributeMappingSource + from .public_error import PublicError + writer.write_object_value("error", self.error) writer.write_collection_of_primitive_values("evaluationResult", self.evaluation_result) writer.write_bool_value("evaluationSucceeded", self.evaluation_succeeded) diff --git a/msgraph_beta/generated/models/participant.py b/msgraph_beta/generated/models/participant.py index 27fadea8068..8dde45c33c2 100644 --- a/msgraph_beta/generated/models/participant.py +++ b/msgraph_beta/generated/models/participant.py @@ -96,6 +96,13 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .media_stream import MediaStream + from .online_meeting_restricted import OnlineMeetingRestricted + from .participant_info import ParticipantInfo + from .recording_info import RecordingInfo + from .removed_state import RemovedState + writer.write_object_value("info", self.info) writer.write_bool_value("isIdentityAnonymized", self.is_identity_anonymized) writer.write_bool_value("isInLobby", self.is_in_lobby) diff --git a/msgraph_beta/generated/models/participant_collection_response.py b/msgraph_beta/generated/models/participant_collection_response.py index fed2ad44e39..87aa3273361 100644 --- a/msgraph_beta/generated/models/participant_collection_response.py +++ b/msgraph_beta/generated/models/participant_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .participant import Participant + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/participant_info.py b/msgraph_beta/generated/models/participant_info.py index c9bbe5f1bf2..bb4e93b49c4 100644 --- a/msgraph_beta/generated/models/participant_info.py +++ b/msgraph_beta/generated/models/participant_info.py @@ -77,6 +77,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .endpoint_type import EndpointType + from .identity_set import IdentitySet + writer.write_str_value("countryCode", self.country_code) writer.write_enum_value("endpointType", self.endpoint_type) writer.write_object_value("identity", self.identity) diff --git a/msgraph_beta/generated/models/participant_joining_notification.py b/msgraph_beta/generated/models/participant_joining_notification.py index c4b2c3f868f..ece7ce14c77 100644 --- a/msgraph_beta/generated/models/participant_joining_notification.py +++ b/msgraph_beta/generated/models/participant_joining_notification.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .call import Call + from .entity import Entity + writer.write_object_value("call", self.call) diff --git a/msgraph_beta/generated/models/participant_left_notification.py b/msgraph_beta/generated/models/participant_left_notification.py index b6b93030914..7b0ee1c2526 100644 --- a/msgraph_beta/generated/models/participant_left_notification.py +++ b/msgraph_beta/generated/models/participant_left_notification.py @@ -57,6 +57,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .call import Call + from .entity import Entity + writer.write_object_value("call", self.call) writer.write_str_value("participantId", self.participant_id) diff --git a/msgraph_beta/generated/models/partner/security/activity_log.py b/msgraph_beta/generated/models/partner/security/activity_log.py index 6e95085101c..28006999068 100644 --- a/msgraph_beta/generated/models/partner/security/activity_log.py +++ b/msgraph_beta/generated/models/partner/security/activity_log.py @@ -63,6 +63,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .security_alert_status import SecurityAlertStatus + writer.write_str_value("@odata.type", self.odata_type) writer.write_enum_value("statusFrom", self.status_from) writer.write_enum_value("statusTo", self.status_to) diff --git a/msgraph_beta/generated/models/partner/security/additional_data_dictionary.py b/msgraph_beta/generated/models/partner/security/additional_data_dictionary.py index 717b036eb58..a2bf2e99976 100644 --- a/msgraph_beta/generated/models/partner/security/additional_data_dictionary.py +++ b/msgraph_beta/generated/models/partner/security/additional_data_dictionary.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ...dictionary import Dictionary + diff --git a/msgraph_beta/generated/models/partner/security/admins_mfa_enforced_security_requirement.py b/msgraph_beta/generated/models/partner/security/admins_mfa_enforced_security_requirement.py index 98a1f5fc88b..861936b4a8a 100644 --- a/msgraph_beta/generated/models/partner/security/admins_mfa_enforced_security_requirement.py +++ b/msgraph_beta/generated/models/partner/security/admins_mfa_enforced_security_requirement.py @@ -78,6 +78,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .policy_status import PolicyStatus + from .security_requirement import SecurityRequirement + writer.write_int_value("adminsRequiredNotUsingMfaCount", self.admins_required_not_using_mfa_count) writer.write_enum_value("legacyPerUserMfaStatus", self.legacy_per_user_mfa_status) writer.write_enum_value("mfaConditionalAccessPolicyStatus", self.mfa_conditional_access_policy_status) diff --git a/msgraph_beta/generated/models/partner/security/customer_insight.py b/msgraph_beta/generated/models/partner/security/customer_insight.py index caa9298cf7a..b8febbe4691 100644 --- a/msgraph_beta/generated/models/partner/security/customer_insight.py +++ b/msgraph_beta/generated/models/partner/security/customer_insight.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .customer_mfa_insight import CustomerMfaInsight + writer.write_object_value("mfa", self.mfa) writer.write_str_value("@odata.type", self.odata_type) writer.write_str_value("tenantId", self.tenant_id) diff --git a/msgraph_beta/generated/models/partner/security/customer_insight_collection_response.py b/msgraph_beta/generated/models/partner/security/customer_insight_collection_response.py index 7ce026cc46c..563d87d11fe 100644 --- a/msgraph_beta/generated/models/partner/security/customer_insight_collection_response.py +++ b/msgraph_beta/generated/models/partner/security/customer_insight_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ...base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .customer_insight import CustomerInsight + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/partner/security/customer_mfa_insight.py b/msgraph_beta/generated/models/partner/security/customer_mfa_insight.py index 7f079dd5d25..d964d095f44 100644 --- a/msgraph_beta/generated/models/partner/security/customer_mfa_insight.py +++ b/msgraph_beta/generated/models/partner/security/customer_mfa_insight.py @@ -68,6 +68,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .policy_status import PolicyStatus + writer.write_int_value("compliantAdminsCount", self.compliant_admins_count) writer.write_int_value("compliantNonAdminsCount", self.compliant_non_admins_count) writer.write_enum_value("legacyPerUserMfaStatus", self.legacy_per_user_mfa_status) diff --git a/msgraph_beta/generated/models/partner/security/customers_mfa_enforced_security_requirement.py b/msgraph_beta/generated/models/partner/security/customers_mfa_enforced_security_requirement.py index 3c278418233..407759d4a64 100644 --- a/msgraph_beta/generated/models/partner/security/customers_mfa_enforced_security_requirement.py +++ b/msgraph_beta/generated/models/partner/security/customers_mfa_enforced_security_requirement.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .security_requirement import SecurityRequirement + writer.write_int_value("compliantTenantCount", self.compliant_tenant_count) writer.write_int_value("totalTenantCount", self.total_tenant_count) diff --git a/msgraph_beta/generated/models/partner/security/customers_spending_budget_security_requirement.py b/msgraph_beta/generated/models/partner/security/customers_spending_budget_security_requirement.py index 16f128b81a1..6739b0c2149 100644 --- a/msgraph_beta/generated/models/partner/security/customers_spending_budget_security_requirement.py +++ b/msgraph_beta/generated/models/partner/security/customers_spending_budget_security_requirement.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .security_requirement import SecurityRequirement + writer.write_int_value("customersWithSpendBudgetCount", self.customers_with_spend_budget_count) writer.write_int_value("totalCustomersCount", self.total_customers_count) diff --git a/msgraph_beta/generated/models/partner/security/partner_security.py b/msgraph_beta/generated/models/partner/security/partner_security.py index f0bca58c027..ab3b2b19c37 100644 --- a/msgraph_beta/generated/models/partner/security/partner_security.py +++ b/msgraph_beta/generated/models/partner/security/partner_security.py @@ -60,6 +60,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ...entity import Entity + from .partner_security_alert import PartnerSecurityAlert + from .partner_security_score import PartnerSecurityScore + writer.write_collection_of_object_values("securityAlerts", self.security_alerts) writer.write_object_value("securityScore", self.security_score) diff --git a/msgraph_beta/generated/models/partner/security/partner_security_alert.py b/msgraph_beta/generated/models/partner/security/partner_security_alert.py index 22978c4f443..71300a42ed5 100644 --- a/msgraph_beta/generated/models/partner/security/partner_security_alert.py +++ b/msgraph_beta/generated/models/partner/security/partner_security_alert.py @@ -130,6 +130,15 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ...entity import Entity + from .activity_log import ActivityLog + from .additional_data_dictionary import AdditionalDataDictionary + from .affected_resource import AffectedResource + from .security_alert_confidence import SecurityAlertConfidence + from .security_alert_resolved_reason import SecurityAlertResolvedReason + from .security_alert_severity import SecurityAlertSeverity + from .security_alert_status import SecurityAlertStatus + writer.write_collection_of_object_values("activityLogs", self.activity_logs) writer.write_object_value("additionalDetails", self.additional_details) writer.write_collection_of_object_values("affectedResources", self.affected_resources) diff --git a/msgraph_beta/generated/models/partner/security/partner_security_alert_collection_response.py b/msgraph_beta/generated/models/partner/security/partner_security_alert_collection_response.py index d0714678759..59ae439e743 100644 --- a/msgraph_beta/generated/models/partner/security/partner_security_alert_collection_response.py +++ b/msgraph_beta/generated/models/partner/security/partner_security_alert_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ...base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .partner_security_alert import PartnerSecurityAlert + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/partner/security/partner_security_score.py b/msgraph_beta/generated/models/partner/security/partner_security_score.py index a7192202905..7e56d629cf9 100644 --- a/msgraph_beta/generated/models/partner/security/partner_security_score.py +++ b/msgraph_beta/generated/models/partner/security/partner_security_score.py @@ -79,6 +79,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ...entity import Entity + from .customer_insight import CustomerInsight + from .security_requirement import SecurityRequirement + from .security_score_history import SecurityScoreHistory + writer.write_float_value("currentScore", self.current_score) writer.write_collection_of_object_values("customerInsights", self.customer_insights) writer.write_collection_of_object_values("history", self.history) diff --git a/msgraph_beta/generated/models/partner/security/response_time_security_requirement.py b/msgraph_beta/generated/models/partner/security/response_time_security_requirement.py index 9199ca293d3..561c393d1a6 100644 --- a/msgraph_beta/generated/models/partner/security/response_time_security_requirement.py +++ b/msgraph_beta/generated/models/partner/security/response_time_security_requirement.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .security_requirement import SecurityRequirement + writer.write_float_value("averageResponseTimeInHours", self.average_response_time_in_hours) diff --git a/msgraph_beta/generated/models/partner/security/security_requirement.py b/msgraph_beta/generated/models/partner/security/security_requirement.py index 4377df38cdf..a65c90d6bfe 100644 --- a/msgraph_beta/generated/models/partner/security/security_requirement.py +++ b/msgraph_beta/generated/models/partner/security/security_requirement.py @@ -47,7 +47,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> SecurityRequiremen if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.partner.security.adminsMfaEnforcedSecurityRequirement".casefold(): @@ -114,6 +115,15 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ...entity import Entity + from .admins_mfa_enforced_security_requirement import AdminsMfaEnforcedSecurityRequirement + from .compliance_status import ComplianceStatus + from .customers_mfa_enforced_security_requirement import CustomersMfaEnforcedSecurityRequirement + from .customers_spending_budget_security_requirement import CustomersSpendingBudgetSecurityRequirement + from .response_time_security_requirement import ResponseTimeSecurityRequirement + from .security_requirement_state import SecurityRequirementState + from .security_requirement_type import SecurityRequirementType + writer.write_str_value("actionUrl", self.action_url) writer.write_enum_value("complianceStatus", self.compliance_status) writer.write_str_value("helpUrl", self.help_url) diff --git a/msgraph_beta/generated/models/partner/security/security_requirement_collection_response.py b/msgraph_beta/generated/models/partner/security/security_requirement_collection_response.py index e8cc7c6cf63..4f9f130c7ea 100644 --- a/msgraph_beta/generated/models/partner/security/security_requirement_collection_response.py +++ b/msgraph_beta/generated/models/partner/security/security_requirement_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ...base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .security_requirement import SecurityRequirement + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/partner/security/security_score_history.py b/msgraph_beta/generated/models/partner/security/security_score_history.py index 391540fbc61..ce84219fc08 100644 --- a/msgraph_beta/generated/models/partner/security/security_score_history.py +++ b/msgraph_beta/generated/models/partner/security/security_score_history.py @@ -61,6 +61,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ...entity import Entity + writer.write_int_value("compliantRequirementsCount", self.compliant_requirements_count) writer.write_datetime_value("createdDateTime", self.created_date_time) writer.write_float_value("score", self.score) diff --git a/msgraph_beta/generated/models/partner/security/security_score_history_collection_response.py b/msgraph_beta/generated/models/partner/security/security_score_history_collection_response.py index 4f488008e0f..006a0bbe5ab 100644 --- a/msgraph_beta/generated/models/partner/security/security_score_history_collection_response.py +++ b/msgraph_beta/generated/models/partner/security/security_score_history_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ...base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .security_score_history import SecurityScoreHistory + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/partner_information.py b/msgraph_beta/generated/models/partner_information.py index 1edb3692890..e42dd73e8bc 100644 --- a/msgraph_beta/generated/models/partner_information.py +++ b/msgraph_beta/generated/models/partner_information.py @@ -74,6 +74,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .partner_tenant_type import PartnerTenantType + writer.write_str_value("commerceUrl", self.commerce_url) writer.write_str_value("companyName", self.company_name) writer.write_enum_value("companyType", self.company_type) diff --git a/msgraph_beta/generated/models/partners/billing/azure_usage.py b/msgraph_beta/generated/models/partners/billing/azure_usage.py index 01c9de6dd4e..0f2d9e9529f 100644 --- a/msgraph_beta/generated/models/partners/billing/azure_usage.py +++ b/msgraph_beta/generated/models/partners/billing/azure_usage.py @@ -60,6 +60,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ...entity import Entity + from .billed_usage import BilledUsage + from .unbilled_usage import UnbilledUsage + writer.write_object_value("billed", self.billed) writer.write_object_value("unbilled", self.unbilled) diff --git a/msgraph_beta/generated/models/partners/billing/billed_reconciliation.py b/msgraph_beta/generated/models/partners/billing/billed_reconciliation.py index 59234e817bb..34afb089170 100644 --- a/msgraph_beta/generated/models/partners/billing/billed_reconciliation.py +++ b/msgraph_beta/generated/models/partners/billing/billed_reconciliation.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ...entity import Entity + diff --git a/msgraph_beta/generated/models/partners/billing/billed_usage.py b/msgraph_beta/generated/models/partners/billing/billed_usage.py index a95bf082b73..579987c79c0 100644 --- a/msgraph_beta/generated/models/partners/billing/billed_usage.py +++ b/msgraph_beta/generated/models/partners/billing/billed_usage.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ...entity import Entity + diff --git a/msgraph_beta/generated/models/partners/billing/billing.py b/msgraph_beta/generated/models/partners/billing/billing.py index b1f8436ac11..49d63ed7ea1 100644 --- a/msgraph_beta/generated/models/partners/billing/billing.py +++ b/msgraph_beta/generated/models/partners/billing/billing.py @@ -72,6 +72,12 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ...entity import Entity + from .azure_usage import AzureUsage + from .billing_reconciliation import BillingReconciliation + from .manifest import Manifest + from .operation import Operation + writer.write_collection_of_object_values("manifests", self.manifests) writer.write_collection_of_object_values("operations", self.operations) writer.write_object_value("reconciliation", self.reconciliation) diff --git a/msgraph_beta/generated/models/partners/billing/billing_reconciliation.py b/msgraph_beta/generated/models/partners/billing/billing_reconciliation.py index a4067802c87..e88be494c18 100644 --- a/msgraph_beta/generated/models/partners/billing/billing_reconciliation.py +++ b/msgraph_beta/generated/models/partners/billing/billing_reconciliation.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ...entity import Entity + from .billed_reconciliation import BilledReconciliation + writer.write_object_value("billed", self.billed) diff --git a/msgraph_beta/generated/models/partners/billing/export_success_operation.py b/msgraph_beta/generated/models/partners/billing/export_success_operation.py index efc56717bf1..8b67b5dc5bb 100644 --- a/msgraph_beta/generated/models/partners/billing/export_success_operation.py +++ b/msgraph_beta/generated/models/partners/billing/export_success_operation.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .manifest import Manifest + from .operation import Operation + writer.write_object_value("resourceLocation", self.resource_location) diff --git a/msgraph_beta/generated/models/partners/billing/failed_operation.py b/msgraph_beta/generated/models/partners/billing/failed_operation.py index 2719fccbdb0..e8739cc0a33 100644 --- a/msgraph_beta/generated/models/partners/billing/failed_operation.py +++ b/msgraph_beta/generated/models/partners/billing/failed_operation.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ...public_error import PublicError + from .operation import Operation + writer.write_object_value("error", self.error) diff --git a/msgraph_beta/generated/models/partners/billing/manifest.py b/msgraph_beta/generated/models/partners/billing/manifest.py index e8c780bc707..5c34aba5531 100644 --- a/msgraph_beta/generated/models/partners/billing/manifest.py +++ b/msgraph_beta/generated/models/partners/billing/manifest.py @@ -82,6 +82,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ...entity import Entity + from .blob import Blob + writer.write_int_value("blobCount", self.blob_count) writer.write_collection_of_object_values("blobs", self.blobs) writer.write_datetime_value("createdDateTime", self.created_date_time) diff --git a/msgraph_beta/generated/models/partners/billing/manifest_collection_response.py b/msgraph_beta/generated/models/partners/billing/manifest_collection_response.py index 4f709427d62..22d92026155 100644 --- a/msgraph_beta/generated/models/partners/billing/manifest_collection_response.py +++ b/msgraph_beta/generated/models/partners/billing/manifest_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ...base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .manifest import Manifest + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/partners/billing/operation.py b/msgraph_beta/generated/models/partners/billing/operation.py index 87602a9f8e9..efe230c109e 100644 --- a/msgraph_beta/generated/models/partners/billing/operation.py +++ b/msgraph_beta/generated/models/partners/billing/operation.py @@ -34,7 +34,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> Operation: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.partners.billing.exportSuccessOperation".casefold(): @@ -86,6 +87,12 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ...entity import Entity + from ...long_running_operation_status import LongRunningOperationStatus + from .export_success_operation import ExportSuccessOperation + from .failed_operation import FailedOperation + from .running_operation import RunningOperation + writer.write_datetime_value("createdDateTime", self.created_date_time) writer.write_datetime_value("lastActionDateTime", self.last_action_date_time) writer.write_enum_value("status", self.status) diff --git a/msgraph_beta/generated/models/partners/billing/operation_collection_response.py b/msgraph_beta/generated/models/partners/billing/operation_collection_response.py index 080c96c58ca..4cff6701b50 100644 --- a/msgraph_beta/generated/models/partners/billing/operation_collection_response.py +++ b/msgraph_beta/generated/models/partners/billing/operation_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ...base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .operation import Operation + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/partners/billing/running_operation.py b/msgraph_beta/generated/models/partners/billing/running_operation.py index 0ab61870cf6..5f8ec5c7bfc 100644 --- a/msgraph_beta/generated/models/partners/billing/running_operation.py +++ b/msgraph_beta/generated/models/partners/billing/running_operation.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .operation import Operation + diff --git a/msgraph_beta/generated/models/partners/billing/unbilled_usage.py b/msgraph_beta/generated/models/partners/billing/unbilled_usage.py index d0c8698e2e3..4b4bf09c030 100644 --- a/msgraph_beta/generated/models/partners/billing/unbilled_usage.py +++ b/msgraph_beta/generated/models/partners/billing/unbilled_usage.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ...entity import Entity + diff --git a/msgraph_beta/generated/models/partners/partners.py b/msgraph_beta/generated/models/partners/partners.py index 4acfc707637..99aa0a1eb40 100644 --- a/msgraph_beta/generated/models/partners/partners.py +++ b/msgraph_beta/generated/models/partners/partners.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + from .billing.billing import Billing + writer.write_object_value("billing", self.billing) diff --git a/msgraph_beta/generated/models/passkey_authentication_method_target.py b/msgraph_beta/generated/models/passkey_authentication_method_target.py index 0abac6bb4d3..5e877b5954e 100644 --- a/msgraph_beta/generated/models/passkey_authentication_method_target.py +++ b/msgraph_beta/generated/models/passkey_authentication_method_target.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .authentication_method_target import AuthenticationMethodTarget + diff --git a/msgraph_beta/generated/models/password_authentication_method.py b/msgraph_beta/generated/models/password_authentication_method.py index 30c0be95221..07c92d223f3 100644 --- a/msgraph_beta/generated/models/password_authentication_method.py +++ b/msgraph_beta/generated/models/password_authentication_method.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .authentication_method import AuthenticationMethod + writer.write_str_value("password", self.password) diff --git a/msgraph_beta/generated/models/password_authentication_method_collection_response.py b/msgraph_beta/generated/models/password_authentication_method_collection_response.py index b82edb81a99..c24204b9c0e 100644 --- a/msgraph_beta/generated/models/password_authentication_method_collection_response.py +++ b/msgraph_beta/generated/models/password_authentication_method_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .password_authentication_method import PasswordAuthenticationMethod + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/password_credential_configuration.py b/msgraph_beta/generated/models/password_credential_configuration.py index 4b3c09be959..fac651ff30a 100644 --- a/msgraph_beta/generated/models/password_credential_configuration.py +++ b/msgraph_beta/generated/models/password_credential_configuration.py @@ -66,6 +66,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .app_credential_restriction_type import AppCredentialRestrictionType + from .app_management_restriction_state import AppManagementRestrictionState + writer.write_timedelta_value("maxLifetime", self.max_lifetime) writer.write_str_value("@odata.type", self.odata_type) writer.write_datetime_value("restrictForAppsCreatedAfterDateTime", self.restrict_for_apps_created_after_date_time) diff --git a/msgraph_beta/generated/models/password_single_sign_on_credential_set.py b/msgraph_beta/generated/models/password_single_sign_on_credential_set.py index a238d7120d1..5459f8de791 100644 --- a/msgraph_beta/generated/models/password_single_sign_on_credential_set.py +++ b/msgraph_beta/generated/models/password_single_sign_on_credential_set.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .credential import Credential + writer.write_collection_of_object_values("credentials", self.credentials) writer.write_str_value("id", self.id) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/password_single_sign_on_settings.py b/msgraph_beta/generated/models/password_single_sign_on_settings.py index 14863888a8e..128f26a5520 100644 --- a/msgraph_beta/generated/models/password_single_sign_on_settings.py +++ b/msgraph_beta/generated/models/password_single_sign_on_settings.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .password_single_sign_on_field import PasswordSingleSignOnField + writer.write_collection_of_object_values("fields", self.fields) writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/password_validation_information.py b/msgraph_beta/generated/models/password_validation_information.py index 2ed9000d93b..eb42c8d37f9 100644 --- a/msgraph_beta/generated/models/password_validation_information.py +++ b/msgraph_beta/generated/models/password_validation_information.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .validation_result import ValidationResult + writer.write_bool_value("isValid", self.is_valid) writer.write_str_value("@odata.type", self.odata_type) writer.write_collection_of_object_values("validationResults", self.validation_results) diff --git a/msgraph_beta/generated/models/passwordless_microsoft_authenticator_authentication_method.py b/msgraph_beta/generated/models/passwordless_microsoft_authenticator_authentication_method.py index eedf720cf8f..2ea99f4ced1 100644 --- a/msgraph_beta/generated/models/passwordless_microsoft_authenticator_authentication_method.py +++ b/msgraph_beta/generated/models/passwordless_microsoft_authenticator_authentication_method.py @@ -61,6 +61,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .authentication_method import AuthenticationMethod + from .device import Device + writer.write_datetime_value("creationDateTime", self.creation_date_time) writer.write_object_value("device", self.device) writer.write_str_value("displayName", self.display_name) diff --git a/msgraph_beta/generated/models/passwordless_microsoft_authenticator_authentication_method_collection_response.py b/msgraph_beta/generated/models/passwordless_microsoft_authenticator_authentication_method_collection_response.py index fcf5d47c3f0..a723ace6921 100644 --- a/msgraph_beta/generated/models/passwordless_microsoft_authenticator_authentication_method_collection_response.py +++ b/msgraph_beta/generated/models/passwordless_microsoft_authenticator_authentication_method_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .passwordless_microsoft_authenticator_authentication_method import PasswordlessMicrosoftAuthenticatorAuthenticationMethod + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/patterned_recurrence.py b/msgraph_beta/generated/models/patterned_recurrence.py index 7c8b7540ae6..812181a3d7c 100644 --- a/msgraph_beta/generated/models/patterned_recurrence.py +++ b/msgraph_beta/generated/models/patterned_recurrence.py @@ -59,6 +59,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .recurrence_pattern import RecurrencePattern + from .recurrence_range import RecurrenceRange + writer.write_str_value("@odata.type", self.odata_type) writer.write_object_value("pattern", self.pattern) writer.write_object_value("range", self.range) diff --git a/msgraph_beta/generated/models/payload.py b/msgraph_beta/generated/models/payload.py index 890aaf1a78e..ab9893d488a 100644 --- a/msgraph_beta/generated/models/payload.py +++ b/msgraph_beta/generated/models/payload.py @@ -148,6 +148,19 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .email_identity import EmailIdentity + from .entity import Entity + from .payload_brand import PayloadBrand + from .payload_complexity import PayloadComplexity + from .payload_delivery_platform import PayloadDeliveryPlatform + from .payload_detail import PayloadDetail + from .payload_industry import PayloadIndustry + from .payload_theme import PayloadTheme + from .simulation_attack_technique import SimulationAttackTechnique + from .simulation_attack_type import SimulationAttackType + from .simulation_content_source import SimulationContentSource + from .simulation_content_status import SimulationContentStatus + writer.write_enum_value("brand", self.brand) writer.write_enum_value("complexity", self.complexity) writer.write_object_value("createdBy", self.created_by) diff --git a/msgraph_beta/generated/models/payload_by_filter.py b/msgraph_beta/generated/models/payload_by_filter.py index 7adf2a9aee4..f48f0a97ccc 100644 --- a/msgraph_beta/generated/models/payload_by_filter.py +++ b/msgraph_beta/generated/models/payload_by_filter.py @@ -68,6 +68,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .associated_assignment_payload_type import AssociatedAssignmentPayloadType + from .device_and_app_management_assignment_filter_type import DeviceAndAppManagementAssignmentFilterType + writer.write_enum_value("assignmentFilterType", self.assignment_filter_type) writer.write_str_value("groupId", self.group_id) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/payload_coachmark.py b/msgraph_beta/generated/models/payload_coachmark.py index d3c26878b28..123bfa10d2c 100644 --- a/msgraph_beta/generated/models/payload_coachmark.py +++ b/msgraph_beta/generated/models/payload_coachmark.py @@ -68,6 +68,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .coachmark_location import CoachmarkLocation + writer.write_object_value("coachmarkLocation", self.coachmark_location) writer.write_str_value("description", self.description) writer.write_str_value("indicator", self.indicator) diff --git a/msgraph_beta/generated/models/payload_collection_response.py b/msgraph_beta/generated/models/payload_collection_response.py index 5754cd32dc6..57f9c6b5fed 100644 --- a/msgraph_beta/generated/models/payload_collection_response.py +++ b/msgraph_beta/generated/models/payload_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .payload import Payload + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/payload_compatible_assignment_filter.py b/msgraph_beta/generated/models/payload_compatible_assignment_filter.py index 38fcd6668d1..3d2920645c0 100644 --- a/msgraph_beta/generated/models/payload_compatible_assignment_filter.py +++ b/msgraph_beta/generated/models/payload_compatible_assignment_filter.py @@ -57,6 +57,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .assignment_filter_payload_type import AssignmentFilterPayloadType + from .device_and_app_management_assignment_filter import DeviceAndAppManagementAssignmentFilter + writer.write_enum_value("payloadType", self.payload_type) diff --git a/msgraph_beta/generated/models/payload_detail.py b/msgraph_beta/generated/models/payload_detail.py index 728ea4eab0a..d632f7a818e 100644 --- a/msgraph_beta/generated/models/payload_detail.py +++ b/msgraph_beta/generated/models/payload_detail.py @@ -34,7 +34,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> PayloadDetail: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.emailPayloadDetail".casefold(): @@ -70,6 +71,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .email_payload_detail import EmailPayloadDetail + from .payload_coachmark import PayloadCoachmark + writer.write_collection_of_object_values("coachmarks", self.coachmarks) writer.write_str_value("content", self.content) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/payload_response.py b/msgraph_beta/generated/models/payload_response.py index 598fca1bff9..1af5c955b7b 100644 --- a/msgraph_beta/generated/models/payload_response.py +++ b/msgraph_beta/generated/models/payload_response.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + diff --git a/msgraph_beta/generated/models/payload_response_collection_response.py b/msgraph_beta/generated/models/payload_response_collection_response.py index 55c48087fcc..a85cae1c568 100644 --- a/msgraph_beta/generated/models/payload_response_collection_response.py +++ b/msgraph_beta/generated/models/payload_response_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .payload_response import PayloadResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/payload_types.py b/msgraph_beta/generated/models/payload_types.py index 183b69d0673..3b725fc506d 100644 --- a/msgraph_beta/generated/models/payload_types.py +++ b/msgraph_beta/generated/models/payload_types.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .visual_properties import VisualProperties + writer.write_str_value("@odata.type", self.odata_type) writer.write_str_value("rawContent", self.raw_content) writer.write_object_value("visualContent", self.visual_content) diff --git a/msgraph_beta/generated/models/payment_method_collection_response.py b/msgraph_beta/generated/models/payment_method_collection_response.py index 8d236f3cce7..23b25f31958 100644 --- a/msgraph_beta/generated/models/payment_method_collection_response.py +++ b/msgraph_beta/generated/models/payment_method_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .payment_method import PaymentMethod + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/payment_term_collection_response.py b/msgraph_beta/generated/models/payment_term_collection_response.py index 4e245e80b10..09387884e86 100644 --- a/msgraph_beta/generated/models/payment_term_collection_response.py +++ b/msgraph_beta/generated/models/payment_term_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .payment_term import PaymentTerm + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/pending_external_user_profile.py b/msgraph_beta/generated/models/pending_external_user_profile.py index 4284e546a44..4790f95e676 100644 --- a/msgraph_beta/generated/models/pending_external_user_profile.py +++ b/msgraph_beta/generated/models/pending_external_user_profile.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .external_profile import ExternalProfile + diff --git a/msgraph_beta/generated/models/pending_external_user_profile_collection_response.py b/msgraph_beta/generated/models/pending_external_user_profile_collection_response.py index 9b577ae115d..37625442ed2 100644 --- a/msgraph_beta/generated/models/pending_external_user_profile_collection_response.py +++ b/msgraph_beta/generated/models/pending_external_user_profile_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .pending_external_user_profile import PendingExternalUserProfile + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/pending_operations.py b/msgraph_beta/generated/models/pending_operations.py index fd49c22fc97..ff250326416 100644 --- a/msgraph_beta/generated/models/pending_operations.py +++ b/msgraph_beta/generated/models/pending_operations.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .pending_content_update import PendingContentUpdate + writer.write_str_value("@odata.type", self.odata_type) writer.write_object_value("pendingContentUpdate", self.pending_content_update) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/people_admin_settings.py b/msgraph_beta/generated/models/people_admin_settings.py index 710a74a8c2b..0fe91f171fc 100644 --- a/msgraph_beta/generated/models/people_admin_settings.py +++ b/msgraph_beta/generated/models/people_admin_settings.py @@ -66,6 +66,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .insights_settings import InsightsSettings + from .profile_card_property import ProfileCardProperty + from .pronouns_settings import PronounsSettings + writer.write_object_value("itemInsights", self.item_insights) writer.write_collection_of_object_values("profileCardProperties", self.profile_card_properties) writer.write_object_value("pronouns", self.pronouns) diff --git a/msgraph_beta/generated/models/permission.py b/msgraph_beta/generated/models/permission.py index 56825062108..77eb7469371 100644 --- a/msgraph_beta/generated/models/permission.py +++ b/msgraph_beta/generated/models/permission.py @@ -97,6 +97,13 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .identity_set import IdentitySet + from .item_reference import ItemReference + from .share_point_identity_set import SharePointIdentitySet + from .sharing_invitation import SharingInvitation + from .sharing_link import SharingLink + writer.write_datetime_value("expirationDateTime", self.expiration_date_time) writer.write_object_value("grantedTo", self.granted_to) writer.write_collection_of_object_values("grantedToIdentities", self.granted_to_identities) diff --git a/msgraph_beta/generated/models/permission_collection_response.py b/msgraph_beta/generated/models/permission_collection_response.py index c14bca77d46..db97dec02ee 100644 --- a/msgraph_beta/generated/models/permission_collection_response.py +++ b/msgraph_beta/generated/models/permission_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .permission import Permission + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/permission_grant_condition_set.py b/msgraph_beta/generated/models/permission_grant_condition_set.py index ef38a6df139..f5520dba2f8 100644 --- a/msgraph_beta/generated/models/permission_grant_condition_set.py +++ b/msgraph_beta/generated/models/permission_grant_condition_set.py @@ -84,6 +84,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .permission_type import PermissionType + from .scope_sensitivity_labels import ScopeSensitivityLabels + writer.write_bool_value("certifiedClientApplicationsOnly", self.certified_client_applications_only) writer.write_collection_of_primitive_values("clientApplicationIds", self.client_application_ids) writer.write_collection_of_primitive_values("clientApplicationPublisherIds", self.client_application_publisher_ids) diff --git a/msgraph_beta/generated/models/permission_grant_condition_set_collection_response.py b/msgraph_beta/generated/models/permission_grant_condition_set_collection_response.py index 747c45362df..044e35b730b 100644 --- a/msgraph_beta/generated/models/permission_grant_condition_set_collection_response.py +++ b/msgraph_beta/generated/models/permission_grant_condition_set_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .permission_grant_condition_set import PermissionGrantConditionSet + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/permission_grant_policy.py b/msgraph_beta/generated/models/permission_grant_policy.py index 40d6ef61f93..c502597e1c2 100644 --- a/msgraph_beta/generated/models/permission_grant_policy.py +++ b/msgraph_beta/generated/models/permission_grant_policy.py @@ -66,6 +66,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .permission_grant_condition_set import PermissionGrantConditionSet + from .policy_base import PolicyBase + from .resource_scope_type import ResourceScopeType + writer.write_collection_of_object_values("excludes", self.excludes) writer.write_bool_value("includeAllPreApprovedApplications", self.include_all_pre_approved_applications) writer.write_collection_of_object_values("includes", self.includes) diff --git a/msgraph_beta/generated/models/permission_grant_policy_collection_response.py b/msgraph_beta/generated/models/permission_grant_policy_collection_response.py index 1d40707f587..1e064b464b2 100644 --- a/msgraph_beta/generated/models/permission_grant_policy_collection_response.py +++ b/msgraph_beta/generated/models/permission_grant_policy_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .permission_grant_policy import PermissionGrantPolicy + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/permission_grant_pre_approval_policy.py b/msgraph_beta/generated/models/permission_grant_pre_approval_policy.py index 79cbad4c12f..6f85c370657 100644 --- a/msgraph_beta/generated/models/permission_grant_pre_approval_policy.py +++ b/msgraph_beta/generated/models/permission_grant_pre_approval_policy.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .directory_object import DirectoryObject + from .pre_approval_detail import PreApprovalDetail + writer.write_collection_of_object_values("conditions", self.conditions) diff --git a/msgraph_beta/generated/models/permission_grant_pre_approval_policy_collection_response.py b/msgraph_beta/generated/models/permission_grant_pre_approval_policy_collection_response.py index ff74a15aef0..b24c3e8095f 100644 --- a/msgraph_beta/generated/models/permission_grant_pre_approval_policy_collection_response.py +++ b/msgraph_beta/generated/models/permission_grant_pre_approval_policy_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .permission_grant_pre_approval_policy import PermissionGrantPreApprovalPolicy + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/permissions_analytics.py b/msgraph_beta/generated/models/permissions_analytics.py index a7b653efdda..b7f3e9ffcea 100644 --- a/msgraph_beta/generated/models/permissions_analytics.py +++ b/msgraph_beta/generated/models/permissions_analytics.py @@ -60,6 +60,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .finding import Finding + from .permissions_creep_index_distribution import PermissionsCreepIndexDistribution + writer.write_collection_of_object_values("findings", self.findings) writer.write_collection_of_object_values("permissionsCreepIndexDistributions", self.permissions_creep_index_distributions) diff --git a/msgraph_beta/generated/models/permissions_analytics_aggregation.py b/msgraph_beta/generated/models/permissions_analytics_aggregation.py index abccf7f544b..5674efa2861 100644 --- a/msgraph_beta/generated/models/permissions_analytics_aggregation.py +++ b/msgraph_beta/generated/models/permissions_analytics_aggregation.py @@ -60,6 +60,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .permissions_analytics import PermissionsAnalytics + writer.write_object_value("aws", self.aws) writer.write_object_value("azure", self.azure) writer.write_object_value("gcp", self.gcp) diff --git a/msgraph_beta/generated/models/permissions_creep_index_distribution.py b/msgraph_beta/generated/models/permissions_creep_index_distribution.py index 7f96e3b575e..d311883e7fc 100644 --- a/msgraph_beta/generated/models/permissions_creep_index_distribution.py +++ b/msgraph_beta/generated/models/permissions_creep_index_distribution.py @@ -70,6 +70,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .authorization_system import AuthorizationSystem + from .entity import Entity + from .risk_profile import RiskProfile + writer.write_object_value("authorizationSystem", self.authorization_system) writer.write_datetime_value("createdDateTime", self.created_date_time) writer.write_object_value("highRiskProfile", self.high_risk_profile) diff --git a/msgraph_beta/generated/models/permissions_creep_index_distribution_collection_response.py b/msgraph_beta/generated/models/permissions_creep_index_distribution_collection_response.py index a3cc69da886..d0b0df8f5fc 100644 --- a/msgraph_beta/generated/models/permissions_creep_index_distribution_collection_response.py +++ b/msgraph_beta/generated/models/permissions_creep_index_distribution_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .permissions_creep_index_distribution import PermissionsCreepIndexDistribution + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/permissions_definition.py b/msgraph_beta/generated/models/permissions_definition.py index c7a77f1e710..c0c3cf9f8f2 100644 --- a/msgraph_beta/generated/models/permissions_definition.py +++ b/msgraph_beta/generated/models/permissions_definition.py @@ -35,7 +35,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> PermissionsDefinit if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.awsPermissionsDefinition".casefold(): @@ -84,6 +85,12 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .aws_permissions_definition import AwsPermissionsDefinition + from .permissions_definition_authorization_system import PermissionsDefinitionAuthorizationSystem + from .permissions_definition_authorization_system_identity import PermissionsDefinitionAuthorizationSystemIdentity + from .single_resource_azure_permissions_definition import SingleResourceAzurePermissionsDefinition + from .single_resource_gcp_permissions_definition import SingleResourceGcpPermissionsDefinition + writer.write_object_value("authorizationSystemInfo", self.authorization_system_info) writer.write_object_value("identityInfo", self.identity_info) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/permissions_definition_action.py b/msgraph_beta/generated/models/permissions_definition_action.py index 0da1ece3282..5968cb069a9 100644 --- a/msgraph_beta/generated/models/permissions_definition_action.py +++ b/msgraph_beta/generated/models/permissions_definition_action.py @@ -35,7 +35,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> PermissionsDefinit if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.awsActionsPermissionsDefinitionAction".casefold(): @@ -114,6 +115,16 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .aws_actions_permissions_definition_action import AwsActionsPermissionsDefinitionAction + from .aws_permissions_definition_action import AwsPermissionsDefinitionAction + from .aws_policy_permissions_definition_action import AwsPolicyPermissionsDefinitionAction + from .azure_action_permissions_definition_action import AzureActionPermissionsDefinitionAction + from .azure_permissions_definition_action import AzurePermissionsDefinitionAction + from .azure_role_permissions_definition_action import AzureRolePermissionsDefinitionAction + from .gcp_action_permissions_definition_action import GcpActionPermissionsDefinitionAction + from .gcp_permissions_definition_action import GcpPermissionsDefinitionAction + from .gcp_role_permissions_definition_action import GcpRolePermissionsDefinitionAction + writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/permissions_definition_authorization_system_identity.py b/msgraph_beta/generated/models/permissions_definition_authorization_system_identity.py index d1fd52737d6..1337744f877 100644 --- a/msgraph_beta/generated/models/permissions_definition_authorization_system_identity.py +++ b/msgraph_beta/generated/models/permissions_definition_authorization_system_identity.py @@ -62,6 +62,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .permissions_definition_identity_source import PermissionsDefinitionIdentitySource + from .permissions_definition_identity_type import PermissionsDefinitionIdentityType + writer.write_str_value("externalId", self.external_id) writer.write_enum_value("identityType", self.identity_type) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/permissions_definition_aws_policy.py b/msgraph_beta/generated/models/permissions_definition_aws_policy.py index 0c99b681b8b..18ae733e65a 100644 --- a/msgraph_beta/generated/models/permissions_definition_aws_policy.py +++ b/msgraph_beta/generated/models/permissions_definition_aws_policy.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + diff --git a/msgraph_beta/generated/models/permissions_definition_azure_role.py b/msgraph_beta/generated/models/permissions_definition_azure_role.py index 0597b1c202d..4117bcd773f 100644 --- a/msgraph_beta/generated/models/permissions_definition_azure_role.py +++ b/msgraph_beta/generated/models/permissions_definition_azure_role.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + diff --git a/msgraph_beta/generated/models/permissions_definition_gcp_role.py b/msgraph_beta/generated/models/permissions_definition_gcp_role.py index 32ff2b93e30..39630cabf8f 100644 --- a/msgraph_beta/generated/models/permissions_definition_gcp_role.py +++ b/msgraph_beta/generated/models/permissions_definition_gcp_role.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + diff --git a/msgraph_beta/generated/models/permissions_definition_identity_source.py b/msgraph_beta/generated/models/permissions_definition_identity_source.py index 32ae80caed1..2d1c1a049fa 100644 --- a/msgraph_beta/generated/models/permissions_definition_identity_source.py +++ b/msgraph_beta/generated/models/permissions_definition_identity_source.py @@ -30,7 +30,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> PermissionsDefinit if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.awsIdentitySource".casefold(): @@ -79,6 +80,11 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .aws_identity_source import AwsIdentitySource + from .ed_identity_source import EdIdentitySource + from .local_identity_source import LocalIdentitySource + from .saml_identity_source import SamlIdentitySource + writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/permissions_management.py b/msgraph_beta/generated/models/permissions_management.py index 32d1247db2e..43822487249 100644 --- a/msgraph_beta/generated/models/permissions_management.py +++ b/msgraph_beta/generated/models/permissions_management.py @@ -66,6 +66,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .approval import Approval + from .entity import Entity + from .permissions_request_change import PermissionsRequestChange + from .scheduled_permissions_request import ScheduledPermissionsRequest + writer.write_collection_of_object_values("permissionsRequestChanges", self.permissions_request_changes) writer.write_collection_of_object_values("scheduledPermissionsApprovals", self.scheduled_permissions_approvals) writer.write_collection_of_object_values("scheduledPermissionsRequests", self.scheduled_permissions_requests) diff --git a/msgraph_beta/generated/models/permissions_request_change.py b/msgraph_beta/generated/models/permissions_request_change.py index 4f0c9c69b8c..9b1f457fb2b 100644 --- a/msgraph_beta/generated/models/permissions_request_change.py +++ b/msgraph_beta/generated/models/permissions_request_change.py @@ -70,6 +70,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .permissions_request_occurrence_status import PermissionsRequestOccurrenceStatus + from .status_detail import StatusDetail + writer.write_enum_value("activeOccurrenceStatus", self.active_occurrence_status) writer.write_datetime_value("modificationDateTime", self.modification_date_time) writer.write_str_value("permissionsRequestId", self.permissions_request_id) diff --git a/msgraph_beta/generated/models/permissions_request_change_collection_response.py b/msgraph_beta/generated/models/permissions_request_change_collection_response.py index be24a3457b7..5c9454ab49e 100644 --- a/msgraph_beta/generated/models/permissions_request_change_collection_response.py +++ b/msgraph_beta/generated/models/permissions_request_change_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .permissions_request_change import PermissionsRequestChange + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/persistent_browser_session_control.py b/msgraph_beta/generated/models/persistent_browser_session_control.py index a5413813699..e62e1ebd595 100644 --- a/msgraph_beta/generated/models/persistent_browser_session_control.py +++ b/msgraph_beta/generated/models/persistent_browser_session_control.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .conditional_access_session_control import ConditionalAccessSessionControl + from .persistent_browser_session_mode import PersistentBrowserSessionMode + writer.write_enum_value("mode", self.mode) diff --git a/msgraph_beta/generated/models/person.py b/msgraph_beta/generated/models/person.py index 201ac0f31d1..3b4760da789 100644 --- a/msgraph_beta/generated/models/person.py +++ b/msgraph_beta/generated/models/person.py @@ -123,6 +123,13 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .location import Location + from .person_data_source import PersonDataSource + from .phone import Phone + from .ranked_email_address import RankedEmailAddress + from .website import Website + writer.write_str_value("birthday", self.birthday) writer.write_str_value("companyName", self.company_name) writer.write_str_value("department", self.department) diff --git a/msgraph_beta/generated/models/person_annotation.py b/msgraph_beta/generated/models/person_annotation.py index 3fbd7b30ffa..6ce2add1bae 100644 --- a/msgraph_beta/generated/models/person_annotation.py +++ b/msgraph_beta/generated/models/person_annotation.py @@ -60,6 +60,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .item_body import ItemBody + from .item_facet import ItemFacet + writer.write_object_value("detail", self.detail) writer.write_str_value("displayName", self.display_name) writer.write_str_value("thumbnailUrl", self.thumbnail_url) diff --git a/msgraph_beta/generated/models/person_annotation_collection_response.py b/msgraph_beta/generated/models/person_annotation_collection_response.py index fd745412746..142a5001c00 100644 --- a/msgraph_beta/generated/models/person_annotation_collection_response.py +++ b/msgraph_beta/generated/models/person_annotation_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .person_annotation import PersonAnnotation + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/person_annual_event.py b/msgraph_beta/generated/models/person_annual_event.py index 83275b9ba87..988cc826108 100644 --- a/msgraph_beta/generated/models/person_annual_event.py +++ b/msgraph_beta/generated/models/person_annual_event.py @@ -61,6 +61,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .item_facet import ItemFacet + from .person_annual_event_type import PersonAnnualEventType + writer.write_date_value("date", self.date) writer.write_str_value("displayName", self.display_name) writer.write_enum_value("type", self.type) diff --git a/msgraph_beta/generated/models/person_annual_event_collection_response.py b/msgraph_beta/generated/models/person_annual_event_collection_response.py index 80549a97f39..90919121330 100644 --- a/msgraph_beta/generated/models/person_annual_event_collection_response.py +++ b/msgraph_beta/generated/models/person_annual_event_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .person_annual_event import PersonAnnualEvent + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/person_award.py b/msgraph_beta/generated/models/person_award.py index 47f5f7278f4..6cca9bce1e9 100644 --- a/msgraph_beta/generated/models/person_award.py +++ b/msgraph_beta/generated/models/person_award.py @@ -67,6 +67,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .item_facet import ItemFacet + writer.write_str_value("description", self.description) writer.write_str_value("displayName", self.display_name) writer.write_date_value("issuedDate", self.issued_date) diff --git a/msgraph_beta/generated/models/person_award_collection_response.py b/msgraph_beta/generated/models/person_award_collection_response.py index fe1ceb94fbb..b12b81746e3 100644 --- a/msgraph_beta/generated/models/person_award_collection_response.py +++ b/msgraph_beta/generated/models/person_award_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .person_award import PersonAward + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/person_certification.py b/msgraph_beta/generated/models/person_certification.py index 1bbeb570d07..8ce4d138615 100644 --- a/msgraph_beta/generated/models/person_certification.py +++ b/msgraph_beta/generated/models/person_certification.py @@ -79,6 +79,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .item_facet import ItemFacet + writer.write_str_value("certificationId", self.certification_id) writer.write_str_value("description", self.description) writer.write_str_value("displayName", self.display_name) diff --git a/msgraph_beta/generated/models/person_certification_collection_response.py b/msgraph_beta/generated/models/person_certification_collection_response.py index d42dca8eac7..201d20f3b92 100644 --- a/msgraph_beta/generated/models/person_certification_collection_response.py +++ b/msgraph_beta/generated/models/person_certification_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .person_certification import PersonCertification + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/person_collection_response.py b/msgraph_beta/generated/models/person_collection_response.py index 9cc0733ac4e..d2dfefaba7f 100644 --- a/msgraph_beta/generated/models/person_collection_response.py +++ b/msgraph_beta/generated/models/person_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .person import Person + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/person_extension.py b/msgraph_beta/generated/models/person_extension.py index fb0b789c218..c10bdfd1386 100644 --- a/msgraph_beta/generated/models/person_extension.py +++ b/msgraph_beta/generated/models/person_extension.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .extension import Extension + diff --git a/msgraph_beta/generated/models/person_interest.py b/msgraph_beta/generated/models/person_interest.py index ebd27325197..4b310fb7e53 100644 --- a/msgraph_beta/generated/models/person_interest.py +++ b/msgraph_beta/generated/models/person_interest.py @@ -66,6 +66,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .item_facet import ItemFacet + writer.write_collection_of_primitive_values("categories", self.categories) writer.write_collection_of_primitive_values("collaborationTags", self.collaboration_tags) writer.write_str_value("description", self.description) diff --git a/msgraph_beta/generated/models/person_interest_collection_response.py b/msgraph_beta/generated/models/person_interest_collection_response.py index 1e9165eb4a2..1bb2a9dfb7f 100644 --- a/msgraph_beta/generated/models/person_interest_collection_response.py +++ b/msgraph_beta/generated/models/person_interest_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .person_interest import PersonInterest + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/person_name.py b/msgraph_beta/generated/models/person_name.py index 661786f92a6..6e396e41b8b 100644 --- a/msgraph_beta/generated/models/person_name.py +++ b/msgraph_beta/generated/models/person_name.py @@ -84,6 +84,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .item_facet import ItemFacet + from .person_name_pronounciation import PersonNamePronounciation + writer.write_str_value("displayName", self.display_name) writer.write_str_value("first", self.first) writer.write_str_value("initials", self.initials) diff --git a/msgraph_beta/generated/models/person_name_collection_response.py b/msgraph_beta/generated/models/person_name_collection_response.py index ca79fe24662..57a61c11b0f 100644 --- a/msgraph_beta/generated/models/person_name_collection_response.py +++ b/msgraph_beta/generated/models/person_name_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .person_name import PersonName + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/person_responsibility.py b/msgraph_beta/generated/models/person_responsibility.py index 639a55e13ec..f5715f74724 100644 --- a/msgraph_beta/generated/models/person_responsibility.py +++ b/msgraph_beta/generated/models/person_responsibility.py @@ -63,6 +63,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .item_facet import ItemFacet + writer.write_collection_of_primitive_values("collaborationTags", self.collaboration_tags) writer.write_str_value("description", self.description) writer.write_str_value("displayName", self.display_name) diff --git a/msgraph_beta/generated/models/person_website.py b/msgraph_beta/generated/models/person_website.py index 02e957836a8..c678924e563 100644 --- a/msgraph_beta/generated/models/person_website.py +++ b/msgraph_beta/generated/models/person_website.py @@ -63,6 +63,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .item_facet import ItemFacet + writer.write_collection_of_primitive_values("categories", self.categories) writer.write_str_value("description", self.description) writer.write_str_value("displayName", self.display_name) diff --git a/msgraph_beta/generated/models/person_website_collection_response.py b/msgraph_beta/generated/models/person_website_collection_response.py index 2099ac19ca9..dbfe4774d2d 100644 --- a/msgraph_beta/generated/models/person_website_collection_response.py +++ b/msgraph_beta/generated/models/person_website_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .person_website import PersonWebsite + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/personal_teams_app_installation_scope_info.py b/msgraph_beta/generated/models/personal_teams_app_installation_scope_info.py index c83955d8881..800b3df05fb 100644 --- a/msgraph_beta/generated/models/personal_teams_app_installation_scope_info.py +++ b/msgraph_beta/generated/models/personal_teams_app_installation_scope_info.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .teams_app_installation_scope_info import TeamsAppInstallationScopeInfo + writer.write_str_value("userId", self.user_id) diff --git a/msgraph_beta/generated/models/phone.py b/msgraph_beta/generated/models/phone.py index 47badcf5424..de5cce97872 100644 --- a/msgraph_beta/generated/models/phone.py +++ b/msgraph_beta/generated/models/phone.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .phone_type import PhoneType + writer.write_str_value("number", self.number) writer.write_str_value("@odata.type", self.odata_type) writer.write_enum_value("type", self.type) diff --git a/msgraph_beta/generated/models/phone_authentication_method.py b/msgraph_beta/generated/models/phone_authentication_method.py index b4982f103b0..7e0e0828792 100644 --- a/msgraph_beta/generated/models/phone_authentication_method.py +++ b/msgraph_beta/generated/models/phone_authentication_method.py @@ -63,6 +63,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .authentication_method import AuthenticationMethod + from .authentication_method_sign_in_state import AuthenticationMethodSignInState + from .authentication_phone_type import AuthenticationPhoneType + writer.write_str_value("phoneNumber", self.phone_number) writer.write_enum_value("phoneType", self.phone_type) writer.write_enum_value("smsSignInState", self.sms_sign_in_state) diff --git a/msgraph_beta/generated/models/phone_authentication_method_collection_response.py b/msgraph_beta/generated/models/phone_authentication_method_collection_response.py index e9d5f545f57..3f86d236e72 100644 --- a/msgraph_beta/generated/models/phone_authentication_method_collection_response.py +++ b/msgraph_beta/generated/models/phone_authentication_method_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .phone_authentication_method import PhoneAuthenticationMethod + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/physical_address.py b/msgraph_beta/generated/models/physical_address.py index cdda76ba26c..9f59050e2de 100644 --- a/msgraph_beta/generated/models/physical_address.py +++ b/msgraph_beta/generated/models/physical_address.py @@ -71,6 +71,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .physical_address_type import PhysicalAddressType + writer.write_str_value("city", self.city) writer.write_str_value("countryOrRegion", self.country_or_region) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/picture_collection_response.py b/msgraph_beta/generated/models/picture_collection_response.py index 014cb18bdcf..03b484f1d1a 100644 --- a/msgraph_beta/generated/models/picture_collection_response.py +++ b/msgraph_beta/generated/models/picture_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .picture import Picture + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/pinned_chat_message_info.py b/msgraph_beta/generated/models/pinned_chat_message_info.py index 361ceb25101..df0e61ee008 100644 --- a/msgraph_beta/generated/models/pinned_chat_message_info.py +++ b/msgraph_beta/generated/models/pinned_chat_message_info.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .chat_message import ChatMessage + from .entity import Entity + writer.write_object_value("message", self.message) diff --git a/msgraph_beta/generated/models/pinned_chat_message_info_collection_response.py b/msgraph_beta/generated/models/pinned_chat_message_info_collection_response.py index ab209dd3bae..84ae2e28a9b 100644 --- a/msgraph_beta/generated/models/pinned_chat_message_info_collection_response.py +++ b/msgraph_beta/generated/models/pinned_chat_message_info_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .pinned_chat_message_info import PinnedChatMessageInfo + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/pkcs12_certificate.py b/msgraph_beta/generated/models/pkcs12_certificate.py index 8ff2b20212d..51c48c6f7e3 100644 --- a/msgraph_beta/generated/models/pkcs12_certificate.py +++ b/msgraph_beta/generated/models/pkcs12_certificate.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .api_authentication_configuration_base import ApiAuthenticationConfigurationBase + writer.write_str_value("password", self.password) writer.write_str_value("pkcs12Value", self.pkcs12_value) diff --git a/msgraph_beta/generated/models/place.py b/msgraph_beta/generated/models/place.py index 3d3c192a330..86640e86b05 100644 --- a/msgraph_beta/generated/models/place.py +++ b/msgraph_beta/generated/models/place.py @@ -38,7 +38,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> Place: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.room".casefold(): @@ -94,6 +95,13 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .outlook_geo_coordinates import OutlookGeoCoordinates + from .physical_address import PhysicalAddress + from .room import Room + from .room_list import RoomList + from .workspace import Workspace + writer.write_object_value("address", self.address) writer.write_str_value("displayName", self.display_name) writer.write_object_value("geoCoordinates", self.geo_coordinates) diff --git a/msgraph_beta/generated/models/planner.py b/msgraph_beta/generated/models/planner.py index 98541567074..1f56eec9c7b 100644 --- a/msgraph_beta/generated/models/planner.py +++ b/msgraph_beta/generated/models/planner.py @@ -72,6 +72,12 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .planner_bucket import PlannerBucket + from .planner_plan import PlannerPlan + from .planner_roster import PlannerRoster + from .planner_task import PlannerTask + writer.write_collection_of_object_values("buckets", self.buckets) writer.write_collection_of_object_values("plans", self.plans) writer.write_collection_of_object_values("rosters", self.rosters) diff --git a/msgraph_beta/generated/models/planner_archival_info.py b/msgraph_beta/generated/models/planner_archival_info.py index 6411ecb64fd..858d92680a6 100644 --- a/msgraph_beta/generated/models/planner_archival_info.py +++ b/msgraph_beta/generated/models/planner_archival_info.py @@ -60,6 +60,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .identity_set import IdentitySet + writer.write_str_value("justification", self.justification) writer.write_str_value("@odata.type", self.odata_type) writer.write_object_value("statusChangedBy", self.status_changed_by) diff --git a/msgraph_beta/generated/models/planner_assigned_to_task_board_task_format.py b/msgraph_beta/generated/models/planner_assigned_to_task_board_task_format.py index 4d569c3e744..a908604ddb0 100644 --- a/msgraph_beta/generated/models/planner_assigned_to_task_board_task_format.py +++ b/msgraph_beta/generated/models/planner_assigned_to_task_board_task_format.py @@ -57,6 +57,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .planner_delta import PlannerDelta + from .planner_order_hints_by_assignee import PlannerOrderHintsByAssignee + writer.write_object_value("orderHintsByAssignee", self.order_hints_by_assignee) writer.write_str_value("unassignedOrderHint", self.unassigned_order_hint) diff --git a/msgraph_beta/generated/models/planner_base_approval_attachment.py b/msgraph_beta/generated/models/planner_base_approval_attachment.py index 3498fb3e761..825e8f56093 100644 --- a/msgraph_beta/generated/models/planner_base_approval_attachment.py +++ b/msgraph_beta/generated/models/planner_base_approval_attachment.py @@ -30,7 +30,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> PlannerBaseApprova if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.plannerBasicApprovalAttachment".casefold(): @@ -64,6 +65,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .planner_approval_status import PlannerApprovalStatus + from .planner_basic_approval_attachment import PlannerBasicApprovalAttachment + writer.write_str_value("@odata.type", self.odata_type) writer.write_enum_value("status", self.status) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/planner_basic_approval_attachment.py b/msgraph_beta/generated/models/planner_basic_approval_attachment.py index 6345b46c61d..10e44a0ba83 100644 --- a/msgraph_beta/generated/models/planner_basic_approval_attachment.py +++ b/msgraph_beta/generated/models/planner_basic_approval_attachment.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .planner_base_approval_attachment import PlannerBaseApprovalAttachment + writer.write_str_value("approvalId", self.approval_id) diff --git a/msgraph_beta/generated/models/planner_bucket.py b/msgraph_beta/generated/models/planner_bucket.py index f7f9c3a8d3b..561583f4023 100644 --- a/msgraph_beta/generated/models/planner_bucket.py +++ b/msgraph_beta/generated/models/planner_bucket.py @@ -78,6 +78,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .planner_archival_info import PlannerArchivalInfo + from .planner_bucket_creation import PlannerBucketCreation + from .planner_delta import PlannerDelta + from .planner_task import PlannerTask + writer.write_object_value("archivalInfo", self.archival_info) writer.write_object_value("creationSource", self.creation_source) writer.write_bool_value("isArchived", self.is_archived) diff --git a/msgraph_beta/generated/models/planner_bucket_collection_response.py b/msgraph_beta/generated/models/planner_bucket_collection_response.py index ef074849c19..ff3970961c9 100644 --- a/msgraph_beta/generated/models/planner_bucket_collection_response.py +++ b/msgraph_beta/generated/models/planner_bucket_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .planner_bucket import PlannerBucket + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/planner_bucket_creation.py b/msgraph_beta/generated/models/planner_bucket_creation.py index 7999e91750d..a717c558f13 100644 --- a/msgraph_beta/generated/models/planner_bucket_creation.py +++ b/msgraph_beta/generated/models/planner_bucket_creation.py @@ -30,7 +30,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> PlannerBucketCreat if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.plannerExternalBucketSource".casefold(): @@ -64,6 +65,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .planner_creation_source_kind import PlannerCreationSourceKind + from .planner_external_bucket_source import PlannerExternalBucketSource + writer.write_enum_value("creationSourceKind", self.creation_source_kind) writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/planner_bucket_task_board_task_format.py b/msgraph_beta/generated/models/planner_bucket_task_board_task_format.py index 38777239e9d..acadadb48ca 100644 --- a/msgraph_beta/generated/models/planner_bucket_task_board_task_format.py +++ b/msgraph_beta/generated/models/planner_bucket_task_board_task_format.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .planner_delta import PlannerDelta + writer.write_str_value("orderHint", self.order_hint) diff --git a/msgraph_beta/generated/models/planner_delta.py b/msgraph_beta/generated/models/planner_delta.py index 330774c697e..13c7e070c94 100644 --- a/msgraph_beta/generated/models/planner_delta.py +++ b/msgraph_beta/generated/models/planner_delta.py @@ -33,7 +33,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> PlannerDelta: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.businessScenarioTask".casefold(): @@ -122,5 +123,17 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .business_scenario_task import BusinessScenarioTask + from .entity import Entity + from .planner_assigned_to_task_board_task_format import PlannerAssignedToTaskBoardTaskFormat + from .planner_bucket import PlannerBucket + from .planner_bucket_task_board_task_format import PlannerBucketTaskBoardTaskFormat + from .planner_plan import PlannerPlan + from .planner_plan_details import PlannerPlanDetails + from .planner_progress_task_board_task_format import PlannerProgressTaskBoardTaskFormat + from .planner_task import PlannerTask + from .planner_task_details import PlannerTaskDetails + from .planner_user import PlannerUser + diff --git a/msgraph_beta/generated/models/planner_delta_collection_response.py b/msgraph_beta/generated/models/planner_delta_collection_response.py index eed16333fc1..8234e7e42e1 100644 --- a/msgraph_beta/generated/models/planner_delta_collection_response.py +++ b/msgraph_beta/generated/models/planner_delta_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .planner_delta import PlannerDelta + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/planner_external_bucket_source.py b/msgraph_beta/generated/models/planner_external_bucket_source.py index 6bec8727144..d841adcd1c1 100644 --- a/msgraph_beta/generated/models/planner_external_bucket_source.py +++ b/msgraph_beta/generated/models/planner_external_bucket_source.py @@ -57,6 +57,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .planner_bucket_creation import PlannerBucketCreation + writer.write_str_value("contextScenarioId", self.context_scenario_id) writer.write_str_value("externalContextId", self.external_context_id) writer.write_str_value("externalObjectId", self.external_object_id) diff --git a/msgraph_beta/generated/models/planner_external_plan_source.py b/msgraph_beta/generated/models/planner_external_plan_source.py index 3a64fec3210..404c6b2d06d 100644 --- a/msgraph_beta/generated/models/planner_external_plan_source.py +++ b/msgraph_beta/generated/models/planner_external_plan_source.py @@ -57,6 +57,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .planner_plan_creation import PlannerPlanCreation + writer.write_str_value("contextScenarioId", self.context_scenario_id) writer.write_str_value("externalContextId", self.external_context_id) writer.write_str_value("externalObjectId", self.external_object_id) diff --git a/msgraph_beta/generated/models/planner_external_task_source.py b/msgraph_beta/generated/models/planner_external_task_source.py index a39021a0052..e086bb12f05 100644 --- a/msgraph_beta/generated/models/planner_external_task_source.py +++ b/msgraph_beta/generated/models/planner_external_task_source.py @@ -72,6 +72,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .planner_external_task_source_display_type import PlannerExternalTaskSourceDisplayType + from .planner_task_creation import PlannerTaskCreation + writer.write_str_value("contextScenarioId", self.context_scenario_id) writer.write_enum_value("displayLinkType", self.display_link_type) writer.write_collection_of_primitive_values("displayNameSegments", self.display_name_segments) diff --git a/msgraph_beta/generated/models/planner_field_rules.py b/msgraph_beta/generated/models/planner_field_rules.py index 1b44b277562..c979e1c3d20 100644 --- a/msgraph_beta/generated/models/planner_field_rules.py +++ b/msgraph_beta/generated/models/planner_field_rules.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .planner_rule_override import PlannerRuleOverride + writer.write_collection_of_primitive_values("defaultRules", self.default_rules) writer.write_str_value("@odata.type", self.odata_type) writer.write_collection_of_object_values("overrides", self.overrides) diff --git a/msgraph_beta/generated/models/planner_forms_dictionary.py b/msgraph_beta/generated/models/planner_forms_dictionary.py index a17f62b7e8c..0a3545a048d 100644 --- a/msgraph_beta/generated/models/planner_forms_dictionary.py +++ b/msgraph_beta/generated/models/planner_forms_dictionary.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .dictionary import Dictionary + diff --git a/msgraph_beta/generated/models/planner_group.py b/msgraph_beta/generated/models/planner_group.py index fa4f95ac31d..4a59885ef9c 100644 --- a/msgraph_beta/generated/models/planner_group.py +++ b/msgraph_beta/generated/models/planner_group.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .planner_plan import PlannerPlan + writer.write_collection_of_object_values("plans", self.plans) diff --git a/msgraph_beta/generated/models/planner_plan.py b/msgraph_beta/generated/models/planner_plan.py index 9350692f590..d16da57b58a 100644 --- a/msgraph_beta/generated/models/planner_plan.py +++ b/msgraph_beta/generated/models/planner_plan.py @@ -115,6 +115,17 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .identity_set import IdentitySet + from .planner_archival_info import PlannerArchivalInfo + from .planner_bucket import PlannerBucket + from .planner_delta import PlannerDelta + from .planner_plan_container import PlannerPlanContainer + from .planner_plan_context_collection import PlannerPlanContextCollection + from .planner_plan_creation import PlannerPlanCreation + from .planner_plan_details import PlannerPlanDetails + from .planner_shared_with_container import PlannerSharedWithContainer + from .planner_task import PlannerTask + writer.write_object_value("archivalInfo", self.archival_info) writer.write_collection_of_object_values("buckets", self.buckets) writer.write_object_value("container", self.container) diff --git a/msgraph_beta/generated/models/planner_plan_collection_response.py b/msgraph_beta/generated/models/planner_plan_collection_response.py index f7e0c452f86..9fe88555041 100644 --- a/msgraph_beta/generated/models/planner_plan_collection_response.py +++ b/msgraph_beta/generated/models/planner_plan_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .planner_plan import PlannerPlan + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/planner_plan_configuration.py b/msgraph_beta/generated/models/planner_plan_configuration.py index 1c7631c4616..06154f3a36d 100644 --- a/msgraph_beta/generated/models/planner_plan_configuration.py +++ b/msgraph_beta/generated/models/planner_plan_configuration.py @@ -79,6 +79,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .identity_set import IdentitySet + from .planner_plan_configuration_bucket_definition import PlannerPlanConfigurationBucketDefinition + from .planner_plan_configuration_localization import PlannerPlanConfigurationLocalization + writer.write_collection_of_object_values("buckets", self.buckets) writer.write_object_value("createdBy", self.created_by) writer.write_datetime_value("createdDateTime", self.created_date_time) diff --git a/msgraph_beta/generated/models/planner_plan_configuration_localization.py b/msgraph_beta/generated/models/planner_plan_configuration_localization.py index 4e2a1049f91..1d88691d378 100644 --- a/msgraph_beta/generated/models/planner_plan_configuration_localization.py +++ b/msgraph_beta/generated/models/planner_plan_configuration_localization.py @@ -60,6 +60,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .planner_plan_configuration_bucket_localization import PlannerPlanConfigurationBucketLocalization + writer.write_collection_of_object_values("buckets", self.buckets) writer.write_str_value("languageTag", self.language_tag) writer.write_str_value("planTitle", self.plan_title) diff --git a/msgraph_beta/generated/models/planner_plan_configuration_localization_collection_response.py b/msgraph_beta/generated/models/planner_plan_configuration_localization_collection_response.py index 03b714c9f2e..512167a02d0 100644 --- a/msgraph_beta/generated/models/planner_plan_configuration_localization_collection_response.py +++ b/msgraph_beta/generated/models/planner_plan_configuration_localization_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .planner_plan_configuration_localization import PlannerPlanConfigurationLocalization + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/planner_plan_container.py b/msgraph_beta/generated/models/planner_plan_container.py index 9b03e7e1105..9ad2b9ce51f 100644 --- a/msgraph_beta/generated/models/planner_plan_container.py +++ b/msgraph_beta/generated/models/planner_plan_container.py @@ -34,7 +34,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> PlannerPlanContain if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.plannerSharedWithContainer".casefold(): @@ -70,6 +71,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .planner_container_type import PlannerContainerType + from .planner_shared_with_container import PlannerSharedWithContainer + writer.write_str_value("containerId", self.container_id) writer.write_str_value("@odata.type", self.odata_type) writer.write_enum_value("type", self.type) diff --git a/msgraph_beta/generated/models/planner_plan_creation.py b/msgraph_beta/generated/models/planner_plan_creation.py index 0f83977910a..cf013eadc48 100644 --- a/msgraph_beta/generated/models/planner_plan_creation.py +++ b/msgraph_beta/generated/models/planner_plan_creation.py @@ -30,7 +30,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> PlannerPlanCreatio if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.plannerExternalPlanSource".casefold(): @@ -64,6 +65,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .planner_creation_source_kind import PlannerCreationSourceKind + from .planner_external_plan_source import PlannerExternalPlanSource + writer.write_enum_value("creationSourceKind", self.creation_source_kind) writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/planner_plan_details.py b/msgraph_beta/generated/models/planner_plan_details.py index d194f603f7c..f6b68f1386e 100644 --- a/msgraph_beta/generated/models/planner_plan_details.py +++ b/msgraph_beta/generated/models/planner_plan_details.py @@ -66,6 +66,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .planner_category_descriptions import PlannerCategoryDescriptions + from .planner_delta import PlannerDelta + from .planner_plan_context_details_collection import PlannerPlanContextDetailsCollection + from .planner_user_ids import PlannerUserIds + writer.write_object_value("categoryDescriptions", self.category_descriptions) writer.write_object_value("contextDetails", self.context_details) writer.write_object_value("sharedWith", self.shared_with) diff --git a/msgraph_beta/generated/models/planner_progress_task_board_task_format.py b/msgraph_beta/generated/models/planner_progress_task_board_task_format.py index 81942af1a96..61fa13b57b5 100644 --- a/msgraph_beta/generated/models/planner_progress_task_board_task_format.py +++ b/msgraph_beta/generated/models/planner_progress_task_board_task_format.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .planner_delta import PlannerDelta + writer.write_str_value("orderHint", self.order_hint) diff --git a/msgraph_beta/generated/models/planner_property_rule.py b/msgraph_beta/generated/models/planner_property_rule.py index 0f167924fd4..536cf3dd21d 100644 --- a/msgraph_beta/generated/models/planner_property_rule.py +++ b/msgraph_beta/generated/models/planner_property_rule.py @@ -30,7 +30,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> PlannerPropertyRul if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.plannerTaskPropertyRule".casefold(): @@ -64,6 +65,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .planner_rule_kind import PlannerRuleKind + from .planner_task_property_rule import PlannerTaskPropertyRule + writer.write_str_value("@odata.type", self.odata_type) writer.write_enum_value("ruleKind", self.rule_kind) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/planner_recurrence_schedule.py b/msgraph_beta/generated/models/planner_recurrence_schedule.py index ec2e94ed34a..93f48f1313f 100644 --- a/msgraph_beta/generated/models/planner_recurrence_schedule.py +++ b/msgraph_beta/generated/models/planner_recurrence_schedule.py @@ -60,6 +60,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .recurrence_pattern import RecurrencePattern + writer.write_datetime_value("nextOccurrenceDateTime", self.next_occurrence_date_time) writer.write_str_value("@odata.type", self.odata_type) writer.write_object_value("pattern", self.pattern) diff --git a/msgraph_beta/generated/models/planner_relationship_based_user_type.py b/msgraph_beta/generated/models/planner_relationship_based_user_type.py index c04e9b19780..3a0f9ebc035 100644 --- a/msgraph_beta/generated/models/planner_relationship_based_user_type.py +++ b/msgraph_beta/generated/models/planner_relationship_based_user_type.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .planner_relationship_user_roles import PlannerRelationshipUserRoles + from .planner_task_configuration_role_base import PlannerTaskConfigurationRoleBase + writer.write_enum_value("role", self.role) diff --git a/msgraph_beta/generated/models/planner_roster.py b/msgraph_beta/generated/models/planner_roster.py index 46bd46eb886..6dcbe808d8c 100644 --- a/msgraph_beta/generated/models/planner_roster.py +++ b/msgraph_beta/generated/models/planner_roster.py @@ -66,6 +66,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .planner_plan import PlannerPlan + from .planner_roster_member import PlannerRosterMember + from .sensitivity_label_assignment import SensitivityLabelAssignment + writer.write_object_value("assignedSensitivityLabel", self.assigned_sensitivity_label) writer.write_collection_of_object_values("members", self.members) writer.write_collection_of_object_values("plans", self.plans) diff --git a/msgraph_beta/generated/models/planner_roster_collection_response.py b/msgraph_beta/generated/models/planner_roster_collection_response.py index 7a4914b080d..17481d402c8 100644 --- a/msgraph_beta/generated/models/planner_roster_collection_response.py +++ b/msgraph_beta/generated/models/planner_roster_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .planner_roster import PlannerRoster + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/planner_roster_member.py b/msgraph_beta/generated/models/planner_roster_member.py index dc7d3482b49..7aae97825ef 100644 --- a/msgraph_beta/generated/models/planner_roster_member.py +++ b/msgraph_beta/generated/models/planner_roster_member.py @@ -57,6 +57,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_collection_of_primitive_values("roles", self.roles) writer.write_str_value("tenantId", self.tenant_id) writer.write_str_value("userId", self.user_id) diff --git a/msgraph_beta/generated/models/planner_roster_member_collection_response.py b/msgraph_beta/generated/models/planner_roster_member_collection_response.py index ec0c879a562..2f80c55648c 100644 --- a/msgraph_beta/generated/models/planner_roster_member_collection_response.py +++ b/msgraph_beta/generated/models/planner_roster_member_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .planner_roster_member import PlannerRosterMember + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/planner_shared_with_container.py b/msgraph_beta/generated/models/planner_shared_with_container.py index 934a1da0ec1..f14fbb35d60 100644 --- a/msgraph_beta/generated/models/planner_shared_with_container.py +++ b/msgraph_beta/generated/models/planner_shared_with_container.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .planner_plan_access_level import PlannerPlanAccessLevel + from .planner_plan_container import PlannerPlanContainer + writer.write_enum_value("accessLevel", self.access_level) diff --git a/msgraph_beta/generated/models/planner_task.py b/msgraph_beta/generated/models/planner_task.py index a7509a3234c..a52321831ba 100644 --- a/msgraph_beta/generated/models/planner_task.py +++ b/msgraph_beta/generated/models/planner_task.py @@ -105,7 +105,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> PlannerTask: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.businessScenarioTask".casefold(): @@ -198,6 +199,21 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .business_scenario_task import BusinessScenarioTask + from .identity_set import IdentitySet + from .planner_applied_categories import PlannerAppliedCategories + from .planner_archival_info import PlannerArchivalInfo + from .planner_assigned_to_task_board_task_format import PlannerAssignedToTaskBoardTaskFormat + from .planner_assignments import PlannerAssignments + from .planner_bucket_task_board_task_format import PlannerBucketTaskBoardTaskFormat + from .planner_delta import PlannerDelta + from .planner_preview_type import PlannerPreviewType + from .planner_progress_task_board_task_format import PlannerProgressTaskBoardTaskFormat + from .planner_task_completion_requirements import PlannerTaskCompletionRequirements + from .planner_task_creation import PlannerTaskCreation + from .planner_task_details import PlannerTaskDetails + from .planner_task_recurrence import PlannerTaskRecurrence + writer.write_int_value("activeChecklistItemCount", self.active_checklist_item_count) writer.write_object_value("appliedCategories", self.applied_categories) writer.write_object_value("archivalInfo", self.archival_info) diff --git a/msgraph_beta/generated/models/planner_task_collection_response.py b/msgraph_beta/generated/models/planner_task_collection_response.py index b2909fa5fe9..e3b8cfad95f 100644 --- a/msgraph_beta/generated/models/planner_task_collection_response.py +++ b/msgraph_beta/generated/models/planner_task_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .planner_task import PlannerTask + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/planner_task_completion_requirement_details.py b/msgraph_beta/generated/models/planner_task_completion_requirement_details.py index d0986c17f42..64aa4820954 100644 --- a/msgraph_beta/generated/models/planner_task_completion_requirement_details.py +++ b/msgraph_beta/generated/models/planner_task_completion_requirement_details.py @@ -65,6 +65,10 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .planner_approval_requirement import PlannerApprovalRequirement + from .planner_checklist_requirement import PlannerChecklistRequirement + from .planner_forms_requirement import PlannerFormsRequirement + writer.write_object_value("approvalRequirement", self.approval_requirement) writer.write_object_value("checklistRequirement", self.checklist_requirement) writer.write_object_value("formsRequirement", self.forms_requirement) diff --git a/msgraph_beta/generated/models/planner_task_configuration.py b/msgraph_beta/generated/models/planner_task_configuration.py index 360a276436f..ee505a8e017 100644 --- a/msgraph_beta/generated/models/planner_task_configuration.py +++ b/msgraph_beta/generated/models/planner_task_configuration.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .planner_task_policy import PlannerTaskPolicy + writer.write_object_value("editPolicy", self.edit_policy) diff --git a/msgraph_beta/generated/models/planner_task_configuration_role_base.py b/msgraph_beta/generated/models/planner_task_configuration_role_base.py index 057ae3e49cc..a086d9db3ac 100644 --- a/msgraph_beta/generated/models/planner_task_configuration_role_base.py +++ b/msgraph_beta/generated/models/planner_task_configuration_role_base.py @@ -30,7 +30,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> PlannerTaskConfigu if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.plannerRelationshipBasedUserType".casefold(): @@ -64,6 +65,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .planner_relationship_based_user_type import PlannerRelationshipBasedUserType + from .planner_user_role_kind import PlannerUserRoleKind + writer.write_str_value("@odata.type", self.odata_type) writer.write_enum_value("roleKind", self.role_kind) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/planner_task_creation.py b/msgraph_beta/generated/models/planner_task_creation.py index e71bba6e0e2..616ed809164 100644 --- a/msgraph_beta/generated/models/planner_task_creation.py +++ b/msgraph_beta/generated/models/planner_task_creation.py @@ -33,7 +33,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> PlannerTaskCreatio if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.plannerExternalTaskSource".casefold(): @@ -74,6 +75,10 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .planner_creation_source_kind import PlannerCreationSourceKind + from .planner_external_task_source import PlannerExternalTaskSource + from .planner_teams_publication_info import PlannerTeamsPublicationInfo + writer.write_enum_value("creationSourceKind", self.creation_source_kind) writer.write_str_value("@odata.type", self.odata_type) writer.write_object_value("teamsPublicationInfo", self.teams_publication_info) diff --git a/msgraph_beta/generated/models/planner_task_details.py b/msgraph_beta/generated/models/planner_task_details.py index 778112e642c..a03522fa939 100644 --- a/msgraph_beta/generated/models/planner_task_details.py +++ b/msgraph_beta/generated/models/planner_task_details.py @@ -93,6 +93,15 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .item_body import ItemBody + from .planner_base_approval_attachment import PlannerBaseApprovalAttachment + from .planner_checklist_items import PlannerChecklistItems + from .planner_delta import PlannerDelta + from .planner_external_references import PlannerExternalReferences + from .planner_forms_dictionary import PlannerFormsDictionary + from .planner_preview_type import PlannerPreviewType + from .planner_task_completion_requirement_details import PlannerTaskCompletionRequirementDetails + writer.write_object_value("approvalAttachment", self.approval_attachment) writer.write_object_value("checklist", self.checklist) writer.write_object_value("completionRequirements", self.completion_requirements) diff --git a/msgraph_beta/generated/models/planner_task_policy.py b/msgraph_beta/generated/models/planner_task_policy.py index 78bdf4ab11d..109679b4f96 100644 --- a/msgraph_beta/generated/models/planner_task_policy.py +++ b/msgraph_beta/generated/models/planner_task_policy.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .planner_task_role_based_rule import PlannerTaskRoleBasedRule + writer.write_str_value("@odata.type", self.odata_type) writer.write_collection_of_object_values("rules", self.rules) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/planner_task_property_rule.py b/msgraph_beta/generated/models/planner_task_property_rule.py index 9dede284e56..c9434658b2d 100644 --- a/msgraph_beta/generated/models/planner_task_property_rule.py +++ b/msgraph_beta/generated/models/planner_task_property_rule.py @@ -102,6 +102,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .planner_field_rules import PlannerFieldRules + from .planner_property_rule import PlannerPropertyRule + writer.write_object_value("appliedCategories", self.applied_categories) writer.write_object_value("approvalAttachment", self.approval_attachment) writer.write_object_value("assignments", self.assignments) diff --git a/msgraph_beta/generated/models/planner_task_recurrence.py b/msgraph_beta/generated/models/planner_task_recurrence.py index ba389dbca44..dbcf38af622 100644 --- a/msgraph_beta/generated/models/planner_task_recurrence.py +++ b/msgraph_beta/generated/models/planner_task_recurrence.py @@ -69,6 +69,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .planner_recurrence_schedule import PlannerRecurrenceSchedule + writer.write_str_value("nextInSeriesTaskId", self.next_in_series_task_id) writer.write_int_value("occurrenceId", self.occurrence_id) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/planner_task_role_based_rule.py b/msgraph_beta/generated/models/planner_task_role_based_rule.py index 83f3df95bfb..daa1c33c924 100644 --- a/msgraph_beta/generated/models/planner_task_role_based_rule.py +++ b/msgraph_beta/generated/models/planner_task_role_based_rule.py @@ -62,6 +62,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .planner_task_configuration_role_base import PlannerTaskConfigurationRoleBase + from .planner_task_property_rule import PlannerTaskPropertyRule + writer.write_str_value("defaultRule", self.default_rule) writer.write_str_value("@odata.type", self.odata_type) writer.write_object_value("propertyRule", self.property_rule) diff --git a/msgraph_beta/generated/models/planner_teams_publication_info.py b/msgraph_beta/generated/models/planner_teams_publication_info.py index df1b4d94e37..b1b58ae0e3b 100644 --- a/msgraph_beta/generated/models/planner_teams_publication_info.py +++ b/msgraph_beta/generated/models/planner_teams_publication_info.py @@ -65,6 +65,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .planner_task_creation import PlannerTaskCreation + writer.write_datetime_value("lastModifiedDateTime", self.last_modified_date_time) writer.write_str_value("@odata.type", self.odata_type) writer.write_str_value("publicationId", self.publication_id) diff --git a/msgraph_beta/generated/models/planner_user.py b/msgraph_beta/generated/models/planner_user.py index 7a5b917306f..b83b810cfb1 100644 --- a/msgraph_beta/generated/models/planner_user.py +++ b/msgraph_beta/generated/models/planner_user.py @@ -87,6 +87,12 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .planner_delta import PlannerDelta + from .planner_favorite_plan_reference_collection import PlannerFavoritePlanReferenceCollection + from .planner_plan import PlannerPlan + from .planner_recent_plan_reference_collection import PlannerRecentPlanReferenceCollection + from .planner_task import PlannerTask + writer.write_collection_of_object_values("all", self.all) writer.write_object_value("favoritePlanReferences", self.favorite_plan_references) writer.write_collection_of_object_values("favoritePlans", self.favorite_plans) diff --git a/msgraph_beta/generated/models/platform_credential_authentication_method.py b/msgraph_beta/generated/models/platform_credential_authentication_method.py index 0d97bfa373b..64f521895f2 100644 --- a/msgraph_beta/generated/models/platform_credential_authentication_method.py +++ b/msgraph_beta/generated/models/platform_credential_authentication_method.py @@ -69,6 +69,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .authentication_method import AuthenticationMethod + from .authentication_method_key_strength import AuthenticationMethodKeyStrength + from .authentication_method_platform import AuthenticationMethodPlatform + from .device import Device + writer.write_object_value("device", self.device) writer.write_str_value("displayName", self.display_name) writer.write_enum_value("keyStrength", self.key_strength) diff --git a/msgraph_beta/generated/models/platform_credential_authentication_method_collection_response.py b/msgraph_beta/generated/models/platform_credential_authentication_method_collection_response.py index c98b83fd4ba..2b8e5b0c602 100644 --- a/msgraph_beta/generated/models/platform_credential_authentication_method_collection_response.py +++ b/msgraph_beta/generated/models/platform_credential_authentication_method_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .platform_credential_authentication_method import PlatformCredentialAuthenticationMethod + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/play_prompt_operation.py b/msgraph_beta/generated/models/play_prompt_operation.py index 9ae135e5615..b6eb942d133 100644 --- a/msgraph_beta/generated/models/play_prompt_operation.py +++ b/msgraph_beta/generated/models/play_prompt_operation.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .comms_operation import CommsOperation + from .play_prompt_completion_reason import PlayPromptCompletionReason + writer.write_enum_value("completionReason", self.completion_reason) diff --git a/msgraph_beta/generated/models/policy_base.py b/msgraph_beta/generated/models/policy_base.py index 3a18961ab76..3672601a231 100644 --- a/msgraph_beta/generated/models/policy_base.py +++ b/msgraph_beta/generated/models/policy_base.py @@ -42,7 +42,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> PolicyBase: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.activityBasedTimeoutPolicy".casefold(): @@ -163,6 +164,23 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .activity_based_timeout_policy import ActivityBasedTimeoutPolicy + from .app_management_policy import AppManagementPolicy + from .authorization_policy import AuthorizationPolicy + from .claims_mapping_policy import ClaimsMappingPolicy + from .cross_tenant_access_policy import CrossTenantAccessPolicy + from .directory_object import DirectoryObject + from .external_identities_policy import ExternalIdentitiesPolicy + from .home_realm_discovery_policy import HomeRealmDiscoveryPolicy + from .identity_security_defaults_enforcement_policy import IdentitySecurityDefaultsEnforcementPolicy + from .permission_grant_policy import PermissionGrantPolicy + from .service_principal_creation_policy import ServicePrincipalCreationPolicy + from .sts_policy import StsPolicy + from .tenant_app_management_policy import TenantAppManagementPolicy + from .tenant_relationship_access_policy_base import TenantRelationshipAccessPolicyBase + from .token_issuance_policy import TokenIssuancePolicy + from .token_lifetime_policy import TokenLifetimePolicy + writer.write_str_value("description", self.description) writer.write_str_value("displayName", self.display_name) diff --git a/msgraph_beta/generated/models/policy_root.py b/msgraph_beta/generated/models/policy_root.py index 168e38879f4..28ef3118394 100644 --- a/msgraph_beta/generated/models/policy_root.py +++ b/msgraph_beta/generated/models/policy_root.py @@ -64,7 +64,7 @@ class PolicyRoot(Entity): cross_tenant_access_policy: Optional[CrossTenantAccessPolicy] = None # The tenant-wide policy that enforces app management restrictions for all applications and service principals. default_app_management_policy: Optional[TenantAppManagementPolicy] = None - # The deviceRegistrationPolicy property + # Represents the policy scope that controls quota restrictions, additional authentication, and authorization policies to register device identities to your organization. device_registration_policy: Optional[DeviceRegistrationPolicy] = None # The directoryRoleAccessReviewPolicy property directory_role_access_review_policy: Optional[DirectoryRoleAccessReviewPolicy] = None @@ -219,6 +219,36 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .access_review_policy import AccessReviewPolicy + from .activity_based_timeout_policy import ActivityBasedTimeoutPolicy + from .admin_consent_request_policy import AdminConsentRequestPolicy + from .app_management_policy import AppManagementPolicy + from .authentication_flows_policy import AuthenticationFlowsPolicy + from .authentication_methods_policy import AuthenticationMethodsPolicy + from .authentication_strength_policy import AuthenticationStrengthPolicy + from .authorization_policy import AuthorizationPolicy + from .b2c_authentication_methods_policy import B2cAuthenticationMethodsPolicy + from .claims_mapping_policy import ClaimsMappingPolicy + from .conditional_access_policy import ConditionalAccessPolicy + from .cross_tenant_access_policy import CrossTenantAccessPolicy + from .device_registration_policy import DeviceRegistrationPolicy + from .directory_role_access_review_policy import DirectoryRoleAccessReviewPolicy + from .entity import Entity + from .external_identities_policy import ExternalIdentitiesPolicy + from .feature_rollout_policy import FeatureRolloutPolicy + from .federated_token_validation_policy import FederatedTokenValidationPolicy + from .home_realm_discovery_policy import HomeRealmDiscoveryPolicy + from .identity_security_defaults_enforcement_policy import IdentitySecurityDefaultsEnforcementPolicy + from .mobility_management_policy import MobilityManagementPolicy + from .permission_grant_policy import PermissionGrantPolicy + from .permission_grant_pre_approval_policy import PermissionGrantPreApprovalPolicy + from .service_principal_creation_policy import ServicePrincipalCreationPolicy + from .tenant_app_management_policy import TenantAppManagementPolicy + from .token_issuance_policy import TokenIssuancePolicy + from .token_lifetime_policy import TokenLifetimePolicy + from .unified_role_management_policy import UnifiedRoleManagementPolicy + from .unified_role_management_policy_assignment import UnifiedRoleManagementPolicyAssignment + writer.write_object_value("accessReviewPolicy", self.access_review_policy) writer.write_collection_of_object_values("activityBasedTimeoutPolicies", self.activity_based_timeout_policies) writer.write_object_value("adminConsentRequestPolicy", self.admin_consent_request_policy) diff --git a/msgraph_beta/generated/models/policy_set.py b/msgraph_beta/generated/models/policy_set.py index 366affe0f20..d4311bda6e2 100644 --- a/msgraph_beta/generated/models/policy_set.py +++ b/msgraph_beta/generated/models/policy_set.py @@ -94,6 +94,12 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .error_code import ErrorCode + from .policy_set_assignment import PolicySetAssignment + from .policy_set_item import PolicySetItem + from .policy_set_status import PolicySetStatus + writer.write_collection_of_object_values("assignments", self.assignments) writer.write_datetime_value("createdDateTime", self.created_date_time) writer.write_str_value("description", self.description) diff --git a/msgraph_beta/generated/models/policy_set_assignment.py b/msgraph_beta/generated/models/policy_set_assignment.py index 5c7cb0cec03..968d1106fdb 100644 --- a/msgraph_beta/generated/models/policy_set_assignment.py +++ b/msgraph_beta/generated/models/policy_set_assignment.py @@ -61,6 +61,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_and_app_management_assignment_target import DeviceAndAppManagementAssignmentTarget + from .entity import Entity + writer.write_datetime_value("lastModifiedDateTime", self.last_modified_date_time) writer.write_object_value("target", self.target) diff --git a/msgraph_beta/generated/models/policy_set_assignment_collection_response.py b/msgraph_beta/generated/models/policy_set_assignment_collection_response.py index 666e1454791..830a372562e 100644 --- a/msgraph_beta/generated/models/policy_set_assignment_collection_response.py +++ b/msgraph_beta/generated/models/policy_set_assignment_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .policy_set_assignment import PolicySetAssignment + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/policy_set_collection_response.py b/msgraph_beta/generated/models/policy_set_collection_response.py index 71bf2ed1c9e..562d7d02f85 100644 --- a/msgraph_beta/generated/models/policy_set_collection_response.py +++ b/msgraph_beta/generated/models/policy_set_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .policy_set import PolicySet + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/policy_set_item.py b/msgraph_beta/generated/models/policy_set_item.py index e6e00758172..23c773d98d1 100644 --- a/msgraph_beta/generated/models/policy_set_item.py +++ b/msgraph_beta/generated/models/policy_set_item.py @@ -58,7 +58,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> PolicySetItem: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.deviceCompliancePolicyPolicySetItem".casefold(): @@ -177,6 +178,23 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_compliance_policy_policy_set_item import DeviceCompliancePolicyPolicySetItem + from .device_configuration_policy_set_item import DeviceConfigurationPolicySetItem + from .device_management_configuration_policy_policy_set_item import DeviceManagementConfigurationPolicyPolicySetItem + from .device_management_script_policy_set_item import DeviceManagementScriptPolicySetItem + from .enrollment_restrictions_configuration_policy_set_item import EnrollmentRestrictionsConfigurationPolicySetItem + from .entity import Entity + from .error_code import ErrorCode + from .ios_lob_app_provisioning_configuration_policy_set_item import IosLobAppProvisioningConfigurationPolicySetItem + from .managed_app_protection_policy_set_item import ManagedAppProtectionPolicySetItem + from .managed_device_mobile_app_configuration_policy_set_item import ManagedDeviceMobileAppConfigurationPolicySetItem + from .mdm_windows_information_protection_policy_policy_set_item import MdmWindowsInformationProtectionPolicyPolicySetItem + from .mobile_app_policy_set_item import MobileAppPolicySetItem + from .policy_set_status import PolicySetStatus + from .targeted_managed_app_configuration_policy_set_item import TargetedManagedAppConfigurationPolicySetItem + from .windows10_enrollment_completion_page_configuration_policy_set_item import Windows10EnrollmentCompletionPageConfigurationPolicySetItem + from .windows_autopilot_deployment_profile_policy_set_item import WindowsAutopilotDeploymentProfilePolicySetItem + writer.write_datetime_value("createdDateTime", self.created_date_time) writer.write_str_value("displayName", self.display_name) writer.write_enum_value("errorCode", self.error_code) diff --git a/msgraph_beta/generated/models/policy_set_item_collection_response.py b/msgraph_beta/generated/models/policy_set_item_collection_response.py index 9444b713549..220e6010da2 100644 --- a/msgraph_beta/generated/models/policy_set_item_collection_response.py +++ b/msgraph_beta/generated/models/policy_set_item_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .policy_set_item import PolicySetItem + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/policy_template.py b/msgraph_beta/generated/models/policy_template.py index 23502f0775f..44b9042ab91 100644 --- a/msgraph_beta/generated/models/policy_template.py +++ b/msgraph_beta/generated/models/policy_template.py @@ -60,6 +60,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .multi_tenant_organization_identity_sync_policy_template import MultiTenantOrganizationIdentitySyncPolicyTemplate + from .multi_tenant_organization_partner_configuration_template import MultiTenantOrganizationPartnerConfigurationTemplate + writer.write_object_value("multiTenantOrganizationIdentitySynchronization", self.multi_tenant_organization_identity_synchronization) writer.write_object_value("multiTenantOrganizationPartnerConfiguration", self.multi_tenant_organization_partner_configuration) diff --git a/msgraph_beta/generated/models/position_detail.py b/msgraph_beta/generated/models/position_detail.py index 70863e80ddc..0f749011f84 100644 --- a/msgraph_beta/generated/models/position_detail.py +++ b/msgraph_beta/generated/models/position_detail.py @@ -84,6 +84,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .company_detail import CompanyDetail + writer.write_object_value("company", self.company) writer.write_str_value("description", self.description) writer.write_date_value("endMonthYear", self.end_month_year) diff --git a/msgraph_beta/generated/models/positive_reinforcement_notification.py b/msgraph_beta/generated/models/positive_reinforcement_notification.py index 83a215204da..9ec77393ea8 100644 --- a/msgraph_beta/generated/models/positive_reinforcement_notification.py +++ b/msgraph_beta/generated/models/positive_reinforcement_notification.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_end_user_notification import BaseEndUserNotification + from .notification_delivery_preference import NotificationDeliveryPreference + writer.write_enum_value("deliveryPreference", self.delivery_preference) diff --git a/msgraph_beta/generated/models/post.py b/msgraph_beta/generated/models/post.py index 22b805231b2..cc809b4e539 100644 --- a/msgraph_beta/generated/models/post.py +++ b/msgraph_beta/generated/models/post.py @@ -118,6 +118,16 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .attachment import Attachment + from .extension import Extension + from .importance import Importance + from .item_body import ItemBody + from .mention import Mention + from .multi_value_legacy_extended_property import MultiValueLegacyExtendedProperty + from .outlook_item import OutlookItem + from .recipient import Recipient + from .single_value_legacy_extended_property import SingleValueLegacyExtendedProperty + writer.write_collection_of_object_values("attachments", self.attachments) writer.write_object_value("body", self.body) writer.write_str_value("conversationId", self.conversation_id) diff --git a/msgraph_beta/generated/models/post_collection_response.py b/msgraph_beta/generated/models/post_collection_response.py index 2a2bf515874..2d9ed9f6931 100644 --- a/msgraph_beta/generated/models/post_collection_response.py +++ b/msgraph_beta/generated/models/post_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .post import Post + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/pre_approval_detail.py b/msgraph_beta/generated/models/pre_approval_detail.py index 10da4f3761e..e85d68e6216 100644 --- a/msgraph_beta/generated/models/pre_approval_detail.py +++ b/msgraph_beta/generated/models/pre_approval_detail.py @@ -65,6 +65,10 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .pre_approved_permissions import PreApprovedPermissions + from .resource_scope_type import ResourceScopeType + from .scope_sensitivity_labels import ScopeSensitivityLabels + writer.write_str_value("@odata.type", self.odata_type) writer.write_object_value("permissions", self.permissions) writer.write_enum_value("scopeType", self.scope_type) diff --git a/msgraph_beta/generated/models/pre_approved_permissions.py b/msgraph_beta/generated/models/pre_approved_permissions.py index 3998fcd9906..72066558599 100644 --- a/msgraph_beta/generated/models/pre_approved_permissions.py +++ b/msgraph_beta/generated/models/pre_approved_permissions.py @@ -35,7 +35,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> PreApprovedPermiss if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.allPreApprovedPermissions".casefold(): @@ -84,6 +85,12 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .all_pre_approved_permissions import AllPreApprovedPermissions + from .all_pre_approved_permissions_on_resource_app import AllPreApprovedPermissionsOnResourceApp + from .enumerated_pre_approved_permissions import EnumeratedPreApprovedPermissions + from .permission_kind import PermissionKind + from .permission_type import PermissionType + writer.write_str_value("@odata.type", self.odata_type) writer.write_enum_value("permissionKind", self.permission_kind) writer.write_enum_value("permissionType", self.permission_type) diff --git a/msgraph_beta/generated/models/presence.py b/msgraph_beta/generated/models/presence.py index 59f3df46081..904553fb872 100644 --- a/msgraph_beta/generated/models/presence.py +++ b/msgraph_beta/generated/models/presence.py @@ -66,6 +66,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .out_of_office_settings import OutOfOfficeSettings + from .presence_status_message import PresenceStatusMessage + writer.write_str_value("activity", self.activity) writer.write_str_value("availability", self.availability) writer.write_object_value("outOfOfficeSettings", self.out_of_office_settings) diff --git a/msgraph_beta/generated/models/presence_collection_response.py b/msgraph_beta/generated/models/presence_collection_response.py index ce5c446beaf..66e31499040 100644 --- a/msgraph_beta/generated/models/presence_collection_response.py +++ b/msgraph_beta/generated/models/presence_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .presence import Presence + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/presence_status_message.py b/msgraph_beta/generated/models/presence_status_message.py index f6403e7a2bc..24a3736919d 100644 --- a/msgraph_beta/generated/models/presence_status_message.py +++ b/msgraph_beta/generated/models/presence_status_message.py @@ -63,6 +63,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .date_time_time_zone import DateTimeTimeZone + from .item_body import ItemBody + writer.write_object_value("expiryDateTime", self.expiry_date_time) writer.write_object_value("message", self.message) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/presentation.py b/msgraph_beta/generated/models/presentation.py index 36c38e1e4f7..ccbc98e462f 100644 --- a/msgraph_beta/generated/models/presentation.py +++ b/msgraph_beta/generated/models/presentation.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .document_comment import DocumentComment + from .entity import Entity + writer.write_collection_of_object_values("comments", self.comments) diff --git a/msgraph_beta/generated/models/principal_resource_memberships_scope.py b/msgraph_beta/generated/models/principal_resource_memberships_scope.py index f309b2adce1..c943ce9f85a 100644 --- a/msgraph_beta/generated/models/principal_resource_memberships_scope.py +++ b/msgraph_beta/generated/models/principal_resource_memberships_scope.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .access_review_scope import AccessReviewScope + writer.write_collection_of_object_values("principalScopes", self.principal_scopes) writer.write_collection_of_object_values("resourceScopes", self.resource_scopes) diff --git a/msgraph_beta/generated/models/print.py b/msgraph_beta/generated/models/print.py index 90239ce0aff..5ac890a173a 100644 --- a/msgraph_beta/generated/models/print.py +++ b/msgraph_beta/generated/models/print.py @@ -92,6 +92,14 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .printer import Printer + from .printer_share import PrinterShare + from .print_connector import PrintConnector + from .print_operation import PrintOperation + from .print_service import PrintService + from .print_settings import PrintSettings + from .print_task_definition import PrintTaskDefinition + writer.write_collection_of_object_values("connectors", self.connectors) writer.write_str_value("@odata.type", self.odata_type) writer.write_collection_of_object_values("operations", self.operations) diff --git a/msgraph_beta/generated/models/print_connector.py b/msgraph_beta/generated/models/print_connector.py index 004767d7021..0c24196c0d2 100644 --- a/msgraph_beta/generated/models/print_connector.py +++ b/msgraph_beta/generated/models/print_connector.py @@ -79,6 +79,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_health import DeviceHealth + from .entity import Entity + from .printer_location import PrinterLocation + writer.write_str_value("appVersion", self.app_version) writer.write_object_value("deviceHealth", self.device_health) writer.write_str_value("displayName", self.display_name) diff --git a/msgraph_beta/generated/models/print_connector_collection_response.py b/msgraph_beta/generated/models/print_connector_collection_response.py index ce5918497a0..cfc634f7fcf 100644 --- a/msgraph_beta/generated/models/print_connector_collection_response.py +++ b/msgraph_beta/generated/models/print_connector_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .print_connector import PrintConnector + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/print_document.py b/msgraph_beta/generated/models/print_document.py index 839b0ddfa35..501edd8f2f4 100644 --- a/msgraph_beta/generated/models/print_document.py +++ b/msgraph_beta/generated/models/print_document.py @@ -70,6 +70,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .printer_document_configuration import PrinterDocumentConfiguration + writer.write_object_value("configuration", self.configuration) writer.write_str_value("contentType", self.content_type) writer.write_str_value("displayName", self.display_name) diff --git a/msgraph_beta/generated/models/print_document_collection_response.py b/msgraph_beta/generated/models/print_document_collection_response.py index 3db3cf1c959..ce47da91dce 100644 --- a/msgraph_beta/generated/models/print_document_collection_response.py +++ b/msgraph_beta/generated/models/print_document_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .print_document import PrintDocument + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/print_job.py b/msgraph_beta/generated/models/print_job.py index 2f57b7e6b07..e583b2d4ed9 100644 --- a/msgraph_beta/generated/models/print_job.py +++ b/msgraph_beta/generated/models/print_job.py @@ -103,6 +103,13 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .print_document import PrintDocument + from .print_job_configuration import PrintJobConfiguration + from .print_job_status import PrintJobStatus + from .print_task import PrintTask + from .user_identity import UserIdentity + writer.write_datetime_value("acknowledgedDateTime", self.acknowledged_date_time) writer.write_datetime_value("completedDateTime", self.completed_date_time) writer.write_object_value("configuration", self.configuration) diff --git a/msgraph_beta/generated/models/print_job_collection_response.py b/msgraph_beta/generated/models/print_job_collection_response.py index 30f59d3fa40..ebe7ddac949 100644 --- a/msgraph_beta/generated/models/print_job_collection_response.py +++ b/msgraph_beta/generated/models/print_job_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .print_job import PrintJob + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/print_job_configuration.py b/msgraph_beta/generated/models/print_job_configuration.py index 47f43f49fce..7d032c0ef58 100644 --- a/msgraph_beta/generated/models/print_job_configuration.py +++ b/msgraph_beta/generated/models/print_job_configuration.py @@ -134,6 +134,17 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .integer_range import IntegerRange + from .printer_feed_orientation import PrinterFeedOrientation + from .print_color_mode import PrintColorMode + from .print_duplex_mode import PrintDuplexMode + from .print_finishing import PrintFinishing + from .print_margin import PrintMargin + from .print_multipage_layout import PrintMultipageLayout + from .print_orientation import PrintOrientation + from .print_quality import PrintQuality + from .print_scaling import PrintScaling + writer.write_bool_value("collate", self.collate) writer.write_enum_value("colorMode", self.color_mode) writer.write_int_value("copies", self.copies) diff --git a/msgraph_beta/generated/models/print_job_status.py b/msgraph_beta/generated/models/print_job_status.py index c8461ebbeb9..307fa6baa3e 100644 --- a/msgraph_beta/generated/models/print_job_status.py +++ b/msgraph_beta/generated/models/print_job_status.py @@ -74,6 +74,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .print_job_processing_state import PrintJobProcessingState + from .print_job_state_detail import PrintJobStateDetail + writer.write_bool_value("acquiredByPrinter", self.acquired_by_printer) writer.write_str_value("description", self.description) writer.write_collection_of_enum_values("details", self.details) diff --git a/msgraph_beta/generated/models/print_operation.py b/msgraph_beta/generated/models/print_operation.py index 30207a608bf..8d76df2b79a 100644 --- a/msgraph_beta/generated/models/print_operation.py +++ b/msgraph_beta/generated/models/print_operation.py @@ -30,7 +30,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> PrintOperation: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.printerCreateOperation".casefold(): @@ -69,6 +70,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .printer_create_operation import PrinterCreateOperation + from .print_operation_status import PrintOperationStatus + writer.write_datetime_value("createdDateTime", self.created_date_time) writer.write_object_value("status", self.status) diff --git a/msgraph_beta/generated/models/print_operation_collection_response.py b/msgraph_beta/generated/models/print_operation_collection_response.py index 0df3a2464ed..885d047e9eb 100644 --- a/msgraph_beta/generated/models/print_operation_collection_response.py +++ b/msgraph_beta/generated/models/print_operation_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .print_operation import PrintOperation + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/print_operation_status.py b/msgraph_beta/generated/models/print_operation_status.py index 56e91b34c7c..2ccd19c7a0e 100644 --- a/msgraph_beta/generated/models/print_operation_status.py +++ b/msgraph_beta/generated/models/print_operation_status.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .print_operation_processing_state import PrintOperationProcessingState + writer.write_str_value("description", self.description) writer.write_str_value("@odata.type", self.odata_type) writer.write_enum_value("state", self.state) diff --git a/msgraph_beta/generated/models/print_service.py b/msgraph_beta/generated/models/print_service.py index 1acc346a53b..b00bfa70675 100644 --- a/msgraph_beta/generated/models/print_service.py +++ b/msgraph_beta/generated/models/print_service.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .print_service_endpoint import PrintServiceEndpoint + writer.write_collection_of_object_values("endpoints", self.endpoints) diff --git a/msgraph_beta/generated/models/print_service_collection_response.py b/msgraph_beta/generated/models/print_service_collection_response.py index 69b738f1d11..ac498cff515 100644 --- a/msgraph_beta/generated/models/print_service_collection_response.py +++ b/msgraph_beta/generated/models/print_service_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .print_service import PrintService + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/print_service_endpoint.py b/msgraph_beta/generated/models/print_service_endpoint.py index 17c4f503ecb..7b7fbd5674d 100644 --- a/msgraph_beta/generated/models/print_service_endpoint.py +++ b/msgraph_beta/generated/models/print_service_endpoint.py @@ -57,6 +57,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_str_value("displayName", self.display_name) writer.write_str_value("name", self.name) writer.write_str_value("uri", self.uri) diff --git a/msgraph_beta/generated/models/print_service_endpoint_collection_response.py b/msgraph_beta/generated/models/print_service_endpoint_collection_response.py index 70fa8d01f67..0b589ea4680 100644 --- a/msgraph_beta/generated/models/print_service_endpoint_collection_response.py +++ b/msgraph_beta/generated/models/print_service_endpoint_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .print_service_endpoint import PrintServiceEndpoint + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/print_settings.py b/msgraph_beta/generated/models/print_settings.py index b83e1cab0f6..20a599cbf1d 100644 --- a/msgraph_beta/generated/models/print_settings.py +++ b/msgraph_beta/generated/models/print_settings.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .printer_discovery_settings import PrinterDiscoverySettings + writer.write_bool_value("documentConversionEnabled", self.document_conversion_enabled) writer.write_str_value("@odata.type", self.odata_type) writer.write_object_value("printerDiscoverySettings", self.printer_discovery_settings) diff --git a/msgraph_beta/generated/models/print_task.py b/msgraph_beta/generated/models/print_task.py index 7413c362d68..870604f202d 100644 --- a/msgraph_beta/generated/models/print_task.py +++ b/msgraph_beta/generated/models/print_task.py @@ -69,6 +69,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .print_task_definition import PrintTaskDefinition + from .print_task_status import PrintTaskStatus + from .print_task_trigger import PrintTaskTrigger + writer.write_object_value("definition", self.definition) writer.write_str_value("parentUrl", self.parent_url) writer.write_object_value("status", self.status) diff --git a/msgraph_beta/generated/models/print_task_collection_response.py b/msgraph_beta/generated/models/print_task_collection_response.py index 4a21c44ebc1..eb2912fee08 100644 --- a/msgraph_beta/generated/models/print_task_collection_response.py +++ b/msgraph_beta/generated/models/print_task_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .print_task import PrintTask + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/print_task_definition.py b/msgraph_beta/generated/models/print_task_definition.py index 49c4cef7e40..9e1a96c114e 100644 --- a/msgraph_beta/generated/models/print_task_definition.py +++ b/msgraph_beta/generated/models/print_task_definition.py @@ -63,6 +63,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .app_identity import AppIdentity + from .entity import Entity + from .print_task import PrintTask + writer.write_object_value("createdBy", self.created_by) writer.write_str_value("displayName", self.display_name) writer.write_collection_of_object_values("tasks", self.tasks) diff --git a/msgraph_beta/generated/models/print_task_definition_collection_response.py b/msgraph_beta/generated/models/print_task_definition_collection_response.py index 654ce2defd7..4bc837d12bd 100644 --- a/msgraph_beta/generated/models/print_task_definition_collection_response.py +++ b/msgraph_beta/generated/models/print_task_definition_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .print_task_definition import PrintTaskDefinition + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/print_task_status.py b/msgraph_beta/generated/models/print_task_status.py index a2ba6c976c5..d9e04717c94 100644 --- a/msgraph_beta/generated/models/print_task_status.py +++ b/msgraph_beta/generated/models/print_task_status.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .print_task_processing_state import PrintTaskProcessingState + writer.write_str_value("description", self.description) writer.write_str_value("@odata.type", self.odata_type) writer.write_enum_value("state", self.state) diff --git a/msgraph_beta/generated/models/print_task_trigger.py b/msgraph_beta/generated/models/print_task_trigger.py index d7225bb6d82..899daa2cbae 100644 --- a/msgraph_beta/generated/models/print_task_trigger.py +++ b/msgraph_beta/generated/models/print_task_trigger.py @@ -60,6 +60,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .print_event import PrintEvent + from .print_task_definition import PrintTaskDefinition + writer.write_object_value("definition", self.definition) writer.write_enum_value("event", self.event) diff --git a/msgraph_beta/generated/models/print_task_trigger_collection_response.py b/msgraph_beta/generated/models/print_task_trigger_collection_response.py index 5ba437e51fc..7c569570252 100644 --- a/msgraph_beta/generated/models/print_task_trigger_collection_response.py +++ b/msgraph_beta/generated/models/print_task_trigger_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .print_task_trigger import PrintTaskTrigger + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/print_usage.py b/msgraph_beta/generated/models/print_usage.py index def9e98868a..58d4f3a5b19 100644 --- a/msgraph_beta/generated/models/print_usage.py +++ b/msgraph_beta/generated/models/print_usage.py @@ -48,7 +48,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> PrintUsage: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.printUsageByPrinter".casefold(): @@ -100,6 +101,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .print_usage_by_printer import PrintUsageByPrinter + from .print_usage_by_user import PrintUsageByUser + writer.write_int_value("blackAndWhitePageCount", self.black_and_white_page_count) writer.write_int_value("colorPageCount", self.color_page_count) writer.write_int_value("completedBlackAndWhiteJobCount", self.completed_black_and_white_job_count) diff --git a/msgraph_beta/generated/models/print_usage_by_printer.py b/msgraph_beta/generated/models/print_usage_by_printer.py index 14c56f1244f..713be7f9523 100644 --- a/msgraph_beta/generated/models/print_usage_by_printer.py +++ b/msgraph_beta/generated/models/print_usage_by_printer.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .print_usage import PrintUsage + writer.write_str_value("printerId", self.printer_id) writer.write_str_value("printerName", self.printer_name) diff --git a/msgraph_beta/generated/models/print_usage_by_printer_collection_response.py b/msgraph_beta/generated/models/print_usage_by_printer_collection_response.py index 91214d1e3c9..a81a4c8c945 100644 --- a/msgraph_beta/generated/models/print_usage_by_printer_collection_response.py +++ b/msgraph_beta/generated/models/print_usage_by_printer_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .print_usage_by_printer import PrintUsageByPrinter + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/print_usage_by_user.py b/msgraph_beta/generated/models/print_usage_by_user.py index a23b45eb25a..e7165992795 100644 --- a/msgraph_beta/generated/models/print_usage_by_user.py +++ b/msgraph_beta/generated/models/print_usage_by_user.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .print_usage import PrintUsage + writer.write_str_value("userPrincipalName", self.user_principal_name) diff --git a/msgraph_beta/generated/models/print_usage_by_user_collection_response.py b/msgraph_beta/generated/models/print_usage_by_user_collection_response.py index a5122670852..7d021566676 100644 --- a/msgraph_beta/generated/models/print_usage_by_user_collection_response.py +++ b/msgraph_beta/generated/models/print_usage_by_user_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .print_usage_by_user import PrintUsageByUser + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/print_usage_collection_response.py b/msgraph_beta/generated/models/print_usage_collection_response.py index 5aa0eb33052..49a6ffee39b 100644 --- a/msgraph_beta/generated/models/print_usage_collection_response.py +++ b/msgraph_beta/generated/models/print_usage_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .print_usage import PrintUsage + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/printer.py b/msgraph_beta/generated/models/printer.py index a0af6c8b682..f737e5e4a97 100644 --- a/msgraph_beta/generated/models/printer.py +++ b/msgraph_beta/generated/models/printer.py @@ -85,6 +85,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .printer_base import PrinterBase + from .printer_share import PrinterShare + from .print_connector import PrintConnector + from .print_task_trigger import PrintTaskTrigger + writer.write_bool_value("acceptingJobs", self.accepting_jobs) writer.write_collection_of_object_values("connectors", self.connectors) writer.write_bool_value("hasPhysicalDevice", self.has_physical_device) diff --git a/msgraph_beta/generated/models/printer_base.py b/msgraph_beta/generated/models/printer_base.py index 2a698757499..5704b9e7940 100644 --- a/msgraph_beta/generated/models/printer_base.py +++ b/msgraph_beta/generated/models/printer_base.py @@ -50,7 +50,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> PrinterBase: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.printer".casefold(): @@ -111,6 +112,15 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .printer import Printer + from .printer_capabilities import PrinterCapabilities + from .printer_defaults import PrinterDefaults + from .printer_location import PrinterLocation + from .printer_share import PrinterShare + from .printer_status import PrinterStatus + from .print_job import PrintJob + writer.write_object_value("capabilities", self.capabilities) writer.write_object_value("defaults", self.defaults) writer.write_str_value("displayName", self.display_name) diff --git a/msgraph_beta/generated/models/printer_capabilities.py b/msgraph_beta/generated/models/printer_capabilities.py index aa35c2645ed..ed48f015d6b 100644 --- a/msgraph_beta/generated/models/printer_capabilities.py +++ b/msgraph_beta/generated/models/printer_capabilities.py @@ -206,6 +206,21 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .integer_range import IntegerRange + from .printer_feed_direction import PrinterFeedDirection + from .printer_feed_orientation import PrinterFeedOrientation + from .print_color_configuration import PrintColorConfiguration + from .print_color_mode import PrintColorMode + from .print_duplex_configuration import PrintDuplexConfiguration + from .print_duplex_mode import PrintDuplexMode + from .print_finishing import PrintFinishing + from .print_media_type import PrintMediaType + from .print_multipage_layout import PrintMultipageLayout + from .print_orientation import PrintOrientation + from .print_presentation_direction import PrintPresentationDirection + from .print_quality import PrintQuality + from .print_scaling import PrintScaling + writer.write_collection_of_primitive_values("bottomMargins", self.bottom_margins) writer.write_bool_value("collation", self.collation) writer.write_collection_of_enum_values("colorModes", self.color_modes) diff --git a/msgraph_beta/generated/models/printer_collection_response.py b/msgraph_beta/generated/models/printer_collection_response.py index 58e0e85225c..9a22a35ff4d 100644 --- a/msgraph_beta/generated/models/printer_collection_response.py +++ b/msgraph_beta/generated/models/printer_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .printer import Printer + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/printer_create_operation.py b/msgraph_beta/generated/models/printer_create_operation.py index 7d2d4ee86eb..900199c4f8d 100644 --- a/msgraph_beta/generated/models/printer_create_operation.py +++ b/msgraph_beta/generated/models/printer_create_operation.py @@ -57,6 +57,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .printer import Printer + from .print_operation import PrintOperation + writer.write_str_value("certificate", self.certificate) writer.write_object_value("printer", self.printer) diff --git a/msgraph_beta/generated/models/printer_defaults.py b/msgraph_beta/generated/models/printer_defaults.py index 5612a18b30e..71a6f167ad1 100644 --- a/msgraph_beta/generated/models/printer_defaults.py +++ b/msgraph_beta/generated/models/printer_defaults.py @@ -146,6 +146,17 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .print_color_configuration import PrintColorConfiguration + from .print_color_mode import PrintColorMode + from .print_duplex_configuration import PrintDuplexConfiguration + from .print_duplex_mode import PrintDuplexMode + from .print_finishing import PrintFinishing + from .print_multipage_layout import PrintMultipageLayout + from .print_orientation import PrintOrientation + from .print_presentation_direction import PrintPresentationDirection + from .print_quality import PrintQuality + from .print_scaling import PrintScaling + writer.write_enum_value("colorMode", self.color_mode) writer.write_str_value("contentType", self.content_type) writer.write_int_value("copiesPerJob", self.copies_per_job) diff --git a/msgraph_beta/generated/models/printer_discovery_settings.py b/msgraph_beta/generated/models/printer_discovery_settings.py index 28ab18573f0..56eca95f998 100644 --- a/msgraph_beta/generated/models/printer_discovery_settings.py +++ b/msgraph_beta/generated/models/printer_discovery_settings.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .air_print_settings import AirPrintSettings + writer.write_object_value("airPrint", self.air_print) writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/printer_document_configuration.py b/msgraph_beta/generated/models/printer_document_configuration.py index 6b4642d2386..7cd3e096298 100644 --- a/msgraph_beta/generated/models/printer_document_configuration.py +++ b/msgraph_beta/generated/models/printer_document_configuration.py @@ -140,6 +140,18 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .integer_range import IntegerRange + from .printer_feed_direction import PrinterFeedDirection + from .printer_feed_orientation import PrinterFeedOrientation + from .print_color_mode import PrintColorMode + from .print_duplex_mode import PrintDuplexMode + from .print_finishing import PrintFinishing + from .print_margin import PrintMargin + from .print_multipage_layout import PrintMultipageLayout + from .print_orientation import PrintOrientation + from .print_quality import PrintQuality + from .print_scaling import PrintScaling + writer.write_bool_value("collate", self.collate) writer.write_enum_value("colorMode", self.color_mode) writer.write_int_value("copies", self.copies) diff --git a/msgraph_beta/generated/models/printer_share.py b/msgraph_beta/generated/models/printer_share.py index 78da2f29de8..1630f42b219 100644 --- a/msgraph_beta/generated/models/printer_share.py +++ b/msgraph_beta/generated/models/printer_share.py @@ -79,6 +79,12 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .group import Group + from .printer import Printer + from .printer_base import PrinterBase + from .printer_share_viewpoint import PrinterShareViewpoint + from .user import User + writer.write_bool_value("allowAllUsers", self.allow_all_users) writer.write_collection_of_object_values("allowedGroups", self.allowed_groups) writer.write_collection_of_object_values("allowedUsers", self.allowed_users) diff --git a/msgraph_beta/generated/models/printer_share_collection_response.py b/msgraph_beta/generated/models/printer_share_collection_response.py index df1a78f2174..e41e85936c8 100644 --- a/msgraph_beta/generated/models/printer_share_collection_response.py +++ b/msgraph_beta/generated/models/printer_share_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .printer_share import PrinterShare + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/printer_status.py b/msgraph_beta/generated/models/printer_status.py index 2f4c431b27d..e61291875d3 100644 --- a/msgraph_beta/generated/models/printer_status.py +++ b/msgraph_beta/generated/models/printer_status.py @@ -74,6 +74,10 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .printer_processing_state import PrinterProcessingState + from .printer_processing_state_detail import PrinterProcessingStateDetail + from .printer_processing_state_reason import PrinterProcessingStateReason + writer.write_str_value("description", self.description) writer.write_collection_of_enum_values("details", self.details) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/privacy.py b/msgraph_beta/generated/models/privacy.py index 26ce887cd62..49524ff657c 100644 --- a/msgraph_beta/generated/models/privacy.py +++ b/msgraph_beta/generated/models/privacy.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .subject_rights_request import SubjectRightsRequest + writer.write_str_value("@odata.type", self.odata_type) writer.write_collection_of_object_values("subjectRightsRequests", self.subject_rights_requests) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/privilege_escalation.py b/msgraph_beta/generated/models/privilege_escalation.py index 192071810d4..04754152374 100644 --- a/msgraph_beta/generated/models/privilege_escalation.py +++ b/msgraph_beta/generated/models/privilege_escalation.py @@ -66,6 +66,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .authorization_system_resource import AuthorizationSystemResource + from .authorization_system_type_action import AuthorizationSystemTypeAction + from .entity import Entity + writer.write_collection_of_object_values("actions", self.actions) writer.write_str_value("description", self.description) writer.write_str_value("displayName", self.display_name) diff --git a/msgraph_beta/generated/models/privilege_escalation_aws_resource_finding.py b/msgraph_beta/generated/models/privilege_escalation_aws_resource_finding.py index 5aaf96b06a1..27de0d7c11b 100644 --- a/msgraph_beta/generated/models/privilege_escalation_aws_resource_finding.py +++ b/msgraph_beta/generated/models/privilege_escalation_aws_resource_finding.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .privilege_escalation_finding import PrivilegeEscalationFinding + diff --git a/msgraph_beta/generated/models/privilege_escalation_aws_role_finding.py b/msgraph_beta/generated/models/privilege_escalation_aws_role_finding.py index 64c5a02dd9b..1c95a8e7bf5 100644 --- a/msgraph_beta/generated/models/privilege_escalation_aws_role_finding.py +++ b/msgraph_beta/generated/models/privilege_escalation_aws_role_finding.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .privilege_escalation_finding import PrivilegeEscalationFinding + diff --git a/msgraph_beta/generated/models/privilege_escalation_finding.py b/msgraph_beta/generated/models/privilege_escalation_finding.py index c0387e38f09..b73b2dcc6fa 100644 --- a/msgraph_beta/generated/models/privilege_escalation_finding.py +++ b/msgraph_beta/generated/models/privilege_escalation_finding.py @@ -39,7 +39,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> PrivilegeEscalatio if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.privilegeEscalationAwsResourceFinding".casefold(): @@ -104,6 +105,16 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .authorization_system_identity import AuthorizationSystemIdentity + from .finding import Finding + from .identity_details import IdentityDetails + from .permissions_creep_index import PermissionsCreepIndex + from .privilege_escalation import PrivilegeEscalation + from .privilege_escalation_aws_resource_finding import PrivilegeEscalationAwsResourceFinding + from .privilege_escalation_aws_role_finding import PrivilegeEscalationAwsRoleFinding + from .privilege_escalation_gcp_service_account_finding import PrivilegeEscalationGcpServiceAccountFinding + from .privilege_escalation_user_finding import PrivilegeEscalationUserFinding + writer.write_object_value("identity", self.identity) writer.write_object_value("identityDetails", self.identity_details) writer.write_object_value("permissionsCreepIndex", self.permissions_creep_index) diff --git a/msgraph_beta/generated/models/privilege_escalation_gcp_service_account_finding.py b/msgraph_beta/generated/models/privilege_escalation_gcp_service_account_finding.py index 30577fc07fc..1579be427de 100644 --- a/msgraph_beta/generated/models/privilege_escalation_gcp_service_account_finding.py +++ b/msgraph_beta/generated/models/privilege_escalation_gcp_service_account_finding.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .privilege_escalation_finding import PrivilegeEscalationFinding + diff --git a/msgraph_beta/generated/models/privilege_escalation_user_finding.py b/msgraph_beta/generated/models/privilege_escalation_user_finding.py index 1380c0ae8f1..49781eb5a96 100644 --- a/msgraph_beta/generated/models/privilege_escalation_user_finding.py +++ b/msgraph_beta/generated/models/privilege_escalation_user_finding.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .privilege_escalation_finding import PrivilegeEscalationFinding + diff --git a/msgraph_beta/generated/models/privilege_management_elevation.py b/msgraph_beta/generated/models/privilege_management_elevation.py index 89fb6249243..43d7075d959 100644 --- a/msgraph_beta/generated/models/privilege_management_elevation.py +++ b/msgraph_beta/generated/models/privilege_management_elevation.py @@ -127,6 +127,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .privilege_management_elevation_type import PrivilegeManagementElevationType + from .privilege_management_end_user_type import PrivilegeManagementEndUserType + from .privilege_management_process_type import PrivilegeManagementProcessType + writer.write_str_value("certificatePayload", self.certificate_payload) writer.write_str_value("companyName", self.company_name) writer.write_str_value("deviceId", self.device_id) diff --git a/msgraph_beta/generated/models/privilege_management_elevation_collection_response.py b/msgraph_beta/generated/models/privilege_management_elevation_collection_response.py index d87fa9c1b7d..05d5b55af83 100644 --- a/msgraph_beta/generated/models/privilege_management_elevation_collection_response.py +++ b/msgraph_beta/generated/models/privilege_management_elevation_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .privilege_management_elevation import PrivilegeManagementElevation + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/privilege_management_elevation_request.py b/msgraph_beta/generated/models/privilege_management_elevation_request.py index e5ee6c19f6b..e91382b42ea 100644 --- a/msgraph_beta/generated/models/privilege_management_elevation_request.py +++ b/msgraph_beta/generated/models/privilege_management_elevation_request.py @@ -100,6 +100,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .elevation_request_application_detail import ElevationRequestApplicationDetail + from .elevation_request_state import ElevationRequestState + from .entity import Entity + writer.write_object_value("applicationDetail", self.application_detail) writer.write_str_value("deviceName", self.device_name) writer.write_datetime_value("requestCreatedDateTime", self.request_created_date_time) diff --git a/msgraph_beta/generated/models/privilege_management_elevation_request_collection_response.py b/msgraph_beta/generated/models/privilege_management_elevation_request_collection_response.py index 563261f6d82..8a4962f8df7 100644 --- a/msgraph_beta/generated/models/privilege_management_elevation_request_collection_response.py +++ b/msgraph_beta/generated/models/privilege_management_elevation_request_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .privilege_management_elevation_request import PrivilegeManagementElevationRequest + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/privileged_access.py b/msgraph_beta/generated/models/privileged_access.py index 4262a845cbf..d741cd6a4b4 100644 --- a/msgraph_beta/generated/models/privileged_access.py +++ b/msgraph_beta/generated/models/privileged_access.py @@ -81,6 +81,13 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .governance_resource import GovernanceResource + from .governance_role_assignment import GovernanceRoleAssignment + from .governance_role_assignment_request import GovernanceRoleAssignmentRequest + from .governance_role_definition import GovernanceRoleDefinition + from .governance_role_setting import GovernanceRoleSetting + writer.write_str_value("displayName", self.display_name) writer.write_collection_of_object_values("resources", self.resources) writer.write_collection_of_object_values("roleAssignmentRequests", self.role_assignment_requests) diff --git a/msgraph_beta/generated/models/privileged_access_collection_response.py b/msgraph_beta/generated/models/privileged_access_collection_response.py index 0012f7f1835..8d8208e15a4 100644 --- a/msgraph_beta/generated/models/privileged_access_collection_response.py +++ b/msgraph_beta/generated/models/privileged_access_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .privileged_access import PrivilegedAccess + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/privileged_access_group.py b/msgraph_beta/generated/models/privileged_access_group.py index bb5f925b8f2..72e358c1872 100644 --- a/msgraph_beta/generated/models/privileged_access_group.py +++ b/msgraph_beta/generated/models/privileged_access_group.py @@ -90,6 +90,15 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .approval import Approval + from .entity import Entity + from .privileged_access_group_assignment_schedule import PrivilegedAccessGroupAssignmentSchedule + from .privileged_access_group_assignment_schedule_instance import PrivilegedAccessGroupAssignmentScheduleInstance + from .privileged_access_group_assignment_schedule_request import PrivilegedAccessGroupAssignmentScheduleRequest + from .privileged_access_group_eligibility_schedule import PrivilegedAccessGroupEligibilitySchedule + from .privileged_access_group_eligibility_schedule_instance import PrivilegedAccessGroupEligibilityScheduleInstance + from .privileged_access_group_eligibility_schedule_request import PrivilegedAccessGroupEligibilityScheduleRequest + writer.write_collection_of_object_values("assignmentApprovals", self.assignment_approvals) writer.write_collection_of_object_values("assignmentScheduleInstances", self.assignment_schedule_instances) writer.write_collection_of_object_values("assignmentScheduleRequests", self.assignment_schedule_requests) diff --git a/msgraph_beta/generated/models/privileged_access_group_assignment_schedule.py b/msgraph_beta/generated/models/privileged_access_group_assignment_schedule.py index 710a53db065..8878a15f2ba 100644 --- a/msgraph_beta/generated/models/privileged_access_group_assignment_schedule.py +++ b/msgraph_beta/generated/models/privileged_access_group_assignment_schedule.py @@ -90,6 +90,14 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .directory_object import DirectoryObject + from .group import Group + from .privileged_access_group_assignment_type import PrivilegedAccessGroupAssignmentType + from .privileged_access_group_eligibility_schedule import PrivilegedAccessGroupEligibilitySchedule + from .privileged_access_group_member_type import PrivilegedAccessGroupMemberType + from .privileged_access_group_relationships import PrivilegedAccessGroupRelationships + from .privileged_access_schedule import PrivilegedAccessSchedule + writer.write_enum_value("accessId", self.access_id) writer.write_object_value("activatedUsing", self.activated_using) writer.write_enum_value("assignmentType", self.assignment_type) diff --git a/msgraph_beta/generated/models/privileged_access_group_assignment_schedule_collection_response.py b/msgraph_beta/generated/models/privileged_access_group_assignment_schedule_collection_response.py index e2a0ef6bf97..53167e1bd97 100644 --- a/msgraph_beta/generated/models/privileged_access_group_assignment_schedule_collection_response.py +++ b/msgraph_beta/generated/models/privileged_access_group_assignment_schedule_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .privileged_access_group_assignment_schedule import PrivilegedAccessGroupAssignmentSchedule + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/privileged_access_group_assignment_schedule_instance.py b/msgraph_beta/generated/models/privileged_access_group_assignment_schedule_instance.py index 59415f57cb3..469cd44e9bd 100644 --- a/msgraph_beta/generated/models/privileged_access_group_assignment_schedule_instance.py +++ b/msgraph_beta/generated/models/privileged_access_group_assignment_schedule_instance.py @@ -93,6 +93,14 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .directory_object import DirectoryObject + from .group import Group + from .privileged_access_group_assignment_type import PrivilegedAccessGroupAssignmentType + from .privileged_access_group_eligibility_schedule_instance import PrivilegedAccessGroupEligibilityScheduleInstance + from .privileged_access_group_member_type import PrivilegedAccessGroupMemberType + from .privileged_access_group_relationships import PrivilegedAccessGroupRelationships + from .privileged_access_schedule_instance import PrivilegedAccessScheduleInstance + writer.write_enum_value("accessId", self.access_id) writer.write_object_value("activatedUsing", self.activated_using) writer.write_str_value("assignmentScheduleId", self.assignment_schedule_id) diff --git a/msgraph_beta/generated/models/privileged_access_group_assignment_schedule_instance_collection_response.py b/msgraph_beta/generated/models/privileged_access_group_assignment_schedule_instance_collection_response.py index 5cef9e031db..544ccc21f7a 100644 --- a/msgraph_beta/generated/models/privileged_access_group_assignment_schedule_instance_collection_response.py +++ b/msgraph_beta/generated/models/privileged_access_group_assignment_schedule_instance_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .privileged_access_group_assignment_schedule_instance import PrivilegedAccessGroupAssignmentScheduleInstance + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/privileged_access_group_assignment_schedule_request.py b/msgraph_beta/generated/models/privileged_access_group_assignment_schedule_request.py index 6bc6d9698fb..9359d34be1d 100644 --- a/msgraph_beta/generated/models/privileged_access_group_assignment_schedule_request.py +++ b/msgraph_beta/generated/models/privileged_access_group_assignment_schedule_request.py @@ -84,6 +84,12 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .directory_object import DirectoryObject + from .group import Group + from .privileged_access_group_eligibility_schedule import PrivilegedAccessGroupEligibilitySchedule + from .privileged_access_group_relationships import PrivilegedAccessGroupRelationships + from .privileged_access_schedule_request import PrivilegedAccessScheduleRequest + writer.write_enum_value("accessId", self.access_id) writer.write_object_value("activatedUsing", self.activated_using) writer.write_object_value("group", self.group) diff --git a/msgraph_beta/generated/models/privileged_access_group_assignment_schedule_request_collection_response.py b/msgraph_beta/generated/models/privileged_access_group_assignment_schedule_request_collection_response.py index 41391345192..0e44a4d08d7 100644 --- a/msgraph_beta/generated/models/privileged_access_group_assignment_schedule_request_collection_response.py +++ b/msgraph_beta/generated/models/privileged_access_group_assignment_schedule_request_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .privileged_access_group_assignment_schedule_request import PrivilegedAccessGroupAssignmentScheduleRequest + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/privileged_access_group_eligibility_schedule.py b/msgraph_beta/generated/models/privileged_access_group_eligibility_schedule.py index d4802e7aa94..83f24379bc2 100644 --- a/msgraph_beta/generated/models/privileged_access_group_eligibility_schedule.py +++ b/msgraph_beta/generated/models/privileged_access_group_eligibility_schedule.py @@ -78,6 +78,12 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .directory_object import DirectoryObject + from .group import Group + from .privileged_access_group_member_type import PrivilegedAccessGroupMemberType + from .privileged_access_group_relationships import PrivilegedAccessGroupRelationships + from .privileged_access_schedule import PrivilegedAccessSchedule + writer.write_enum_value("accessId", self.access_id) writer.write_object_value("group", self.group) writer.write_str_value("groupId", self.group_id) diff --git a/msgraph_beta/generated/models/privileged_access_group_eligibility_schedule_collection_response.py b/msgraph_beta/generated/models/privileged_access_group_eligibility_schedule_collection_response.py index ba4eb2f9338..aa8f24b8eb4 100644 --- a/msgraph_beta/generated/models/privileged_access_group_eligibility_schedule_collection_response.py +++ b/msgraph_beta/generated/models/privileged_access_group_eligibility_schedule_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .privileged_access_group_eligibility_schedule import PrivilegedAccessGroupEligibilitySchedule + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/privileged_access_group_eligibility_schedule_instance.py b/msgraph_beta/generated/models/privileged_access_group_eligibility_schedule_instance.py index 244b2f8e163..d9eed3421e5 100644 --- a/msgraph_beta/generated/models/privileged_access_group_eligibility_schedule_instance.py +++ b/msgraph_beta/generated/models/privileged_access_group_eligibility_schedule_instance.py @@ -81,6 +81,12 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .directory_object import DirectoryObject + from .group import Group + from .privileged_access_group_member_type import PrivilegedAccessGroupMemberType + from .privileged_access_group_relationships import PrivilegedAccessGroupRelationships + from .privileged_access_schedule_instance import PrivilegedAccessScheduleInstance + writer.write_enum_value("accessId", self.access_id) writer.write_str_value("eligibilityScheduleId", self.eligibility_schedule_id) writer.write_object_value("group", self.group) diff --git a/msgraph_beta/generated/models/privileged_access_group_eligibility_schedule_instance_collection_response.py b/msgraph_beta/generated/models/privileged_access_group_eligibility_schedule_instance_collection_response.py index 93bc56b4873..33e3cb311a4 100644 --- a/msgraph_beta/generated/models/privileged_access_group_eligibility_schedule_instance_collection_response.py +++ b/msgraph_beta/generated/models/privileged_access_group_eligibility_schedule_instance_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .privileged_access_group_eligibility_schedule_instance import PrivilegedAccessGroupEligibilityScheduleInstance + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/privileged_access_group_eligibility_schedule_request.py b/msgraph_beta/generated/models/privileged_access_group_eligibility_schedule_request.py index 5e901c6a144..c93344dac00 100644 --- a/msgraph_beta/generated/models/privileged_access_group_eligibility_schedule_request.py +++ b/msgraph_beta/generated/models/privileged_access_group_eligibility_schedule_request.py @@ -81,6 +81,12 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .directory_object import DirectoryObject + from .group import Group + from .privileged_access_group_eligibility_schedule import PrivilegedAccessGroupEligibilitySchedule + from .privileged_access_group_relationships import PrivilegedAccessGroupRelationships + from .privileged_access_schedule_request import PrivilegedAccessScheduleRequest + writer.write_enum_value("accessId", self.access_id) writer.write_object_value("group", self.group) writer.write_str_value("groupId", self.group_id) diff --git a/msgraph_beta/generated/models/privileged_access_group_eligibility_schedule_request_collection_response.py b/msgraph_beta/generated/models/privileged_access_group_eligibility_schedule_request_collection_response.py index 4f3dcc05f70..9d1df652652 100644 --- a/msgraph_beta/generated/models/privileged_access_group_eligibility_schedule_request_collection_response.py +++ b/msgraph_beta/generated/models/privileged_access_group_eligibility_schedule_request_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .privileged_access_group_eligibility_schedule_request import PrivilegedAccessGroupEligibilityScheduleRequest + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/privileged_access_root.py b/msgraph_beta/generated/models/privileged_access_root.py index 1c7b5ed0ec8..9f151bd8403 100644 --- a/msgraph_beta/generated/models/privileged_access_root.py +++ b/msgraph_beta/generated/models/privileged_access_root.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .privileged_access_group import PrivilegedAccessGroup + writer.write_object_value("group", self.group) diff --git a/msgraph_beta/generated/models/privileged_access_schedule.py b/msgraph_beta/generated/models/privileged_access_schedule.py index 9757964cf49..14d71a76de1 100644 --- a/msgraph_beta/generated/models/privileged_access_schedule.py +++ b/msgraph_beta/generated/models/privileged_access_schedule.py @@ -37,7 +37,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> PrivilegedAccessSc if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.privilegedAccessGroupAssignmentSchedule".casefold(): @@ -85,6 +86,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .privileged_access_group_assignment_schedule import PrivilegedAccessGroupAssignmentSchedule + from .privileged_access_group_eligibility_schedule import PrivilegedAccessGroupEligibilitySchedule + from .request_schedule import RequestSchedule + writer.write_datetime_value("createdDateTime", self.created_date_time) writer.write_str_value("createdUsing", self.created_using) writer.write_datetime_value("modifiedDateTime", self.modified_date_time) diff --git a/msgraph_beta/generated/models/privileged_access_schedule_instance.py b/msgraph_beta/generated/models/privileged_access_schedule_instance.py index 6aeb46e6c30..8c19c005a7c 100644 --- a/msgraph_beta/generated/models/privileged_access_schedule_instance.py +++ b/msgraph_beta/generated/models/privileged_access_schedule_instance.py @@ -30,7 +30,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> PrivilegedAccessSc if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.privilegedAccessGroupAssignmentScheduleInstance".casefold(): @@ -73,6 +74,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .privileged_access_group_assignment_schedule_instance import PrivilegedAccessGroupAssignmentScheduleInstance + from .privileged_access_group_eligibility_schedule_instance import PrivilegedAccessGroupEligibilityScheduleInstance + writer.write_datetime_value("endDateTime", self.end_date_time) writer.write_datetime_value("startDateTime", self.start_date_time) diff --git a/msgraph_beta/generated/models/privileged_access_schedule_request.py b/msgraph_beta/generated/models/privileged_access_schedule_request.py index 9fc8143ffb7..ff9aec03fb7 100644 --- a/msgraph_beta/generated/models/privileged_access_schedule_request.py +++ b/msgraph_beta/generated/models/privileged_access_schedule_request.py @@ -38,7 +38,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> PrivilegedAccessSc if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.privilegedAccessGroupAssignmentScheduleRequest".casefold(): @@ -90,6 +91,13 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .privileged_access_group_assignment_schedule_request import PrivilegedAccessGroupAssignmentScheduleRequest + from .privileged_access_group_eligibility_schedule_request import PrivilegedAccessGroupEligibilityScheduleRequest + from .request import Request + from .request_schedule import RequestSchedule + from .schedule_request_actions import ScheduleRequestActions + from .ticket_info import TicketInfo + writer.write_enum_value("action", self.action) writer.write_bool_value("isValidationOnly", self.is_validation_only) writer.write_str_value("justification", self.justification) diff --git a/msgraph_beta/generated/models/privileged_approval.py b/msgraph_beta/generated/models/privileged_approval.py index 48dd428acb9..8007784f5d6 100644 --- a/msgraph_beta/generated/models/privileged_approval.py +++ b/msgraph_beta/generated/models/privileged_approval.py @@ -91,6 +91,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .approval_state import ApprovalState + from .entity import Entity + from .privileged_role import PrivilegedRole + from .privileged_role_assignment_request import PrivilegedRoleAssignmentRequest + writer.write_timedelta_value("approvalDuration", self.approval_duration) writer.write_enum_value("approvalState", self.approval_state) writer.write_str_value("approvalType", self.approval_type) diff --git a/msgraph_beta/generated/models/privileged_approval_collection_response.py b/msgraph_beta/generated/models/privileged_approval_collection_response.py index 0829d706cda..aad726758c5 100644 --- a/msgraph_beta/generated/models/privileged_approval_collection_response.py +++ b/msgraph_beta/generated/models/privileged_approval_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .privileged_approval import PrivilegedApproval + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/privileged_operation_event.py b/msgraph_beta/generated/models/privileged_operation_event.py index a3455715b9a..e430a9f1800 100644 --- a/msgraph_beta/generated/models/privileged_operation_event.py +++ b/msgraph_beta/generated/models/privileged_operation_event.py @@ -91,6 +91,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_str_value("additionalInformation", self.additional_information) writer.write_datetime_value("creationDateTime", self.creation_date_time) writer.write_datetime_value("expirationDateTime", self.expiration_date_time) diff --git a/msgraph_beta/generated/models/privileged_operation_event_collection_response.py b/msgraph_beta/generated/models/privileged_operation_event_collection_response.py index aa6ea31c431..8028b88c078 100644 --- a/msgraph_beta/generated/models/privileged_operation_event_collection_response.py +++ b/msgraph_beta/generated/models/privileged_operation_event_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .privileged_operation_event import PrivilegedOperationEvent + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/privileged_role.py b/msgraph_beta/generated/models/privileged_role.py index 95453fe5905..00f55a740aa 100644 --- a/msgraph_beta/generated/models/privileged_role.py +++ b/msgraph_beta/generated/models/privileged_role.py @@ -69,6 +69,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .privileged_role_assignment import PrivilegedRoleAssignment + from .privileged_role_settings import PrivilegedRoleSettings + from .privileged_role_summary import PrivilegedRoleSummary + writer.write_collection_of_object_values("assignments", self.assignments) writer.write_str_value("name", self.name) writer.write_object_value("settings", self.settings) diff --git a/msgraph_beta/generated/models/privileged_role_assignment.py b/msgraph_beta/generated/models/privileged_role_assignment.py index 976d6a3007c..8f8b98036e0 100644 --- a/msgraph_beta/generated/models/privileged_role_assignment.py +++ b/msgraph_beta/generated/models/privileged_role_assignment.py @@ -70,6 +70,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .privileged_role import PrivilegedRole + writer.write_datetime_value("expirationDateTime", self.expiration_date_time) writer.write_bool_value("isElevated", self.is_elevated) writer.write_str_value("resultMessage", self.result_message) diff --git a/msgraph_beta/generated/models/privileged_role_assignment_collection_response.py b/msgraph_beta/generated/models/privileged_role_assignment_collection_response.py index a23da6ba071..61466fc7e5f 100644 --- a/msgraph_beta/generated/models/privileged_role_assignment_collection_response.py +++ b/msgraph_beta/generated/models/privileged_role_assignment_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .privileged_role_assignment import PrivilegedRoleAssignment + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/privileged_role_assignment_request.py b/msgraph_beta/generated/models/privileged_role_assignment_request.py index e3ebc12ebc8..1629108dddb 100644 --- a/msgraph_beta/generated/models/privileged_role_assignment_request.py +++ b/msgraph_beta/generated/models/privileged_role_assignment_request.py @@ -91,6 +91,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .governance_schedule import GovernanceSchedule + from .privileged_role import PrivilegedRole + writer.write_str_value("assignmentState", self.assignment_state) writer.write_str_value("duration", self.duration) writer.write_str_value("reason", self.reason) diff --git a/msgraph_beta/generated/models/privileged_role_assignment_request_collection_response.py b/msgraph_beta/generated/models/privileged_role_assignment_request_collection_response.py index 34ee00a37cb..1f92f680a53 100644 --- a/msgraph_beta/generated/models/privileged_role_assignment_request_collection_response.py +++ b/msgraph_beta/generated/models/privileged_role_assignment_request_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .privileged_role_assignment_request import PrivilegedRoleAssignmentRequest + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/privileged_role_collection_response.py b/msgraph_beta/generated/models/privileged_role_collection_response.py index 36aeca47498..c71f9405a37 100644 --- a/msgraph_beta/generated/models/privileged_role_collection_response.py +++ b/msgraph_beta/generated/models/privileged_role_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .privileged_role import PrivilegedRole + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/privileged_role_settings.py b/msgraph_beta/generated/models/privileged_role_settings.py index 665a486ae60..e16e3cf72e8 100644 --- a/msgraph_beta/generated/models/privileged_role_settings.py +++ b/msgraph_beta/generated/models/privileged_role_settings.py @@ -79,6 +79,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_bool_value("approvalOnElevation", self.approval_on_elevation) writer.write_collection_of_primitive_values("approverIds", self.approver_ids) writer.write_timedelta_value("elevationDuration", self.elevation_duration) diff --git a/msgraph_beta/generated/models/privileged_role_summary.py b/msgraph_beta/generated/models/privileged_role_summary.py index cdc8b9a2b47..6fdf0ab2bf8 100644 --- a/msgraph_beta/generated/models/privileged_role_summary.py +++ b/msgraph_beta/generated/models/privileged_role_summary.py @@ -66,6 +66,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .role_summary_status import RoleSummaryStatus + writer.write_int_value("elevatedCount", self.elevated_count) writer.write_int_value("managedCount", self.managed_count) writer.write_bool_value("mfaEnabled", self.mfa_enabled) diff --git a/msgraph_beta/generated/models/privileged_signup_status.py b/msgraph_beta/generated/models/privileged_signup_status.py index 15986134fbb..a346f97a3e2 100644 --- a/msgraph_beta/generated/models/privileged_signup_status.py +++ b/msgraph_beta/generated/models/privileged_signup_status.py @@ -57,6 +57,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .setup_status import SetupStatus + writer.write_bool_value("isRegistered", self.is_registered) writer.write_enum_value("status", self.status) diff --git a/msgraph_beta/generated/models/privileged_signup_status_collection_response.py b/msgraph_beta/generated/models/privileged_signup_status_collection_response.py index 0c5b76dcd1f..798dc78a3f8 100644 --- a/msgraph_beta/generated/models/privileged_signup_status_collection_response.py +++ b/msgraph_beta/generated/models/privileged_signup_status_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .privileged_signup_status import PrivilegedSignupStatus + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/process.py b/msgraph_beta/generated/models/process.py index 63f98cacfc7..d88099679cc 100644 --- a/msgraph_beta/generated/models/process.py +++ b/msgraph_beta/generated/models/process.py @@ -90,6 +90,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .file_hash import FileHash + from .process_integrity_level import ProcessIntegrityLevel + writer.write_str_value("accountName", self.account_name) writer.write_str_value("commandLine", self.command_line) writer.write_datetime_value("createdDateTime", self.created_date_time) diff --git a/msgraph_beta/generated/models/profile.py b/msgraph_beta/generated/models/profile.py index 9ff5c3779c7..a166db8e8da 100644 --- a/msgraph_beta/generated/models/profile.py +++ b/msgraph_beta/generated/models/profile.py @@ -162,6 +162,27 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .educational_activity import EducationalActivity + from .entity import Entity + from .item_address import ItemAddress + from .item_email import ItemEmail + from .item_patent import ItemPatent + from .item_phone import ItemPhone + from .item_publication import ItemPublication + from .language_proficiency import LanguageProficiency + from .person_annotation import PersonAnnotation + from .person_annual_event import PersonAnnualEvent + from .person_award import PersonAward + from .person_certification import PersonCertification + from .person_interest import PersonInterest + from .person_name import PersonName + from .person_website import PersonWebsite + from .project_participation import ProjectParticipation + from .skill_proficiency import SkillProficiency + from .user_account_information import UserAccountInformation + from .web_account import WebAccount + from .work_position import WorkPosition + writer.write_collection_of_object_values("account", self.account) writer.write_collection_of_object_values("addresses", self.addresses) writer.write_collection_of_object_values("anniversaries", self.anniversaries) diff --git a/msgraph_beta/generated/models/profile_card_annotation.py b/msgraph_beta/generated/models/profile_card_annotation.py index 4def9db3261..e1a60feb7ff 100644 --- a/msgraph_beta/generated/models/profile_card_annotation.py +++ b/msgraph_beta/generated/models/profile_card_annotation.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .display_name_localization import DisplayNameLocalization + writer.write_str_value("displayName", self.display_name) writer.write_collection_of_object_values("localizations", self.localizations) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/profile_card_property.py b/msgraph_beta/generated/models/profile_card_property.py index 972d39d61be..1a80aca1255 100644 --- a/msgraph_beta/generated/models/profile_card_property.py +++ b/msgraph_beta/generated/models/profile_card_property.py @@ -57,6 +57,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .profile_card_annotation import ProfileCardAnnotation + writer.write_collection_of_object_values("annotations", self.annotations) writer.write_str_value("directoryPropertyName", self.directory_property_name) diff --git a/msgraph_beta/generated/models/profile_card_property_collection_response.py b/msgraph_beta/generated/models/profile_card_property_collection_response.py index 722b6a8d614..c3c9b4f5016 100644 --- a/msgraph_beta/generated/models/profile_card_property_collection_response.py +++ b/msgraph_beta/generated/models/profile_card_property_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .profile_card_property import ProfileCardProperty + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/profile_photo.py b/msgraph_beta/generated/models/profile_photo.py index 984b3f833f2..9afed0f4e63 100644 --- a/msgraph_beta/generated/models/profile_photo.py +++ b/msgraph_beta/generated/models/profile_photo.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_int_value("height", self.height) writer.write_int_value("width", self.width) diff --git a/msgraph_beta/generated/models/profile_photo_collection_response.py b/msgraph_beta/generated/models/profile_photo_collection_response.py index fa0c88a196f..8586dc00a17 100644 --- a/msgraph_beta/generated/models/profile_photo_collection_response.py +++ b/msgraph_beta/generated/models/profile_photo_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .profile_photo import ProfilePhoto + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/profile_source.py b/msgraph_beta/generated/models/profile_source.py index 3a289adaf45..8c43d0ec6bf 100644 --- a/msgraph_beta/generated/models/profile_source.py +++ b/msgraph_beta/generated/models/profile_source.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_str_value("displayName", self.display_name) writer.write_str_value("webUrl", self.web_url) diff --git a/msgraph_beta/generated/models/program.py b/msgraph_beta/generated/models/program.py index 6410d024b0d..e84ad30e702 100644 --- a/msgraph_beta/generated/models/program.py +++ b/msgraph_beta/generated/models/program.py @@ -60,6 +60,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .program_control import ProgramControl + writer.write_collection_of_object_values("controls", self.controls) writer.write_str_value("description", self.description) writer.write_str_value("displayName", self.display_name) diff --git a/msgraph_beta/generated/models/program_collection_response.py b/msgraph_beta/generated/models/program_collection_response.py index 9da18060d44..6cf6a8d6b05 100644 --- a/msgraph_beta/generated/models/program_collection_response.py +++ b/msgraph_beta/generated/models/program_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .program import Program + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/program_control.py b/msgraph_beta/generated/models/program_control.py index 777a19ede3c..aefdb9a8580 100644 --- a/msgraph_beta/generated/models/program_control.py +++ b/msgraph_beta/generated/models/program_control.py @@ -85,6 +85,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .program import Program + from .program_resource import ProgramResource + from .user_identity import UserIdentity + writer.write_str_value("controlId", self.control_id) writer.write_str_value("controlTypeId", self.control_type_id) writer.write_datetime_value("createdDateTime", self.created_date_time) diff --git a/msgraph_beta/generated/models/program_control_collection_response.py b/msgraph_beta/generated/models/program_control_collection_response.py index 30e42b4b57c..0fe603592ce 100644 --- a/msgraph_beta/generated/models/program_control_collection_response.py +++ b/msgraph_beta/generated/models/program_control_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .program_control import ProgramControl + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/program_control_type.py b/msgraph_beta/generated/models/program_control_type.py index b851cc522dc..3b7de2e6470 100644 --- a/msgraph_beta/generated/models/program_control_type.py +++ b/msgraph_beta/generated/models/program_control_type.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_str_value("controlTypeGroupId", self.control_type_group_id) writer.write_str_value("displayName", self.display_name) diff --git a/msgraph_beta/generated/models/program_control_type_collection_response.py b/msgraph_beta/generated/models/program_control_type_collection_response.py index fab044f433f..b2975c4b61c 100644 --- a/msgraph_beta/generated/models/program_control_type_collection_response.py +++ b/msgraph_beta/generated/models/program_control_type_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .program_control_type import ProgramControlType + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/program_resource.py b/msgraph_beta/generated/models/program_resource.py index 0a3d87d0010..b6932829675 100644 --- a/msgraph_beta/generated/models/program_resource.py +++ b/msgraph_beta/generated/models/program_resource.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .identity import Identity + writer.write_str_value("type", self.type) diff --git a/msgraph_beta/generated/models/project_participation.py b/msgraph_beta/generated/models/project_participation.py index 8bdb9fdd818..df4ab245f36 100644 --- a/msgraph_beta/generated/models/project_participation.py +++ b/msgraph_beta/generated/models/project_participation.py @@ -81,6 +81,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .company_detail import CompanyDetail + from .item_facet import ItemFacet + from .position_detail import PositionDetail + from .related_person import RelatedPerson + writer.write_collection_of_primitive_values("categories", self.categories) writer.write_object_value("client", self.client) writer.write_collection_of_primitive_values("collaborationTags", self.collaboration_tags) diff --git a/msgraph_beta/generated/models/project_participation_collection_response.py b/msgraph_beta/generated/models/project_participation_collection_response.py index dde4056eeb3..0017eee1904 100644 --- a/msgraph_beta/generated/models/project_participation_collection_response.py +++ b/msgraph_beta/generated/models/project_participation_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .project_participation import ProjectParticipation + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/prompt.py b/msgraph_beta/generated/models/prompt.py index a821a1c3eb2..4bdcead6e41 100644 --- a/msgraph_beta/generated/models/prompt.py +++ b/msgraph_beta/generated/models/prompt.py @@ -27,7 +27,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> Prompt: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.mediaPrompt".casefold(): @@ -58,6 +59,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .media_prompt import MediaPrompt + writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/pronouns_settings.py b/msgraph_beta/generated/models/pronouns_settings.py index 3fb273fcc0a..fda719c1851 100644 --- a/msgraph_beta/generated/models/pronouns_settings.py +++ b/msgraph_beta/generated/models/pronouns_settings.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_bool_value("isEnabledInOrganization", self.is_enabled_in_organization) diff --git a/msgraph_beta/generated/models/property_.py b/msgraph_beta/generated/models/property_.py index 0d7727d61a8..2632c48fa84 100644 --- a/msgraph_beta/generated/models/property_.py +++ b/msgraph_beta/generated/models/property_.py @@ -77,6 +77,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .label import Label + from .property_type import PropertyType + writer.write_collection_of_primitive_values("aliases", self.aliases) writer.write_bool_value("isQueryable", self.is_queryable) writer.write_bool_value("isRefinable", self.is_refinable) diff --git a/msgraph_beta/generated/models/protect_adhoc_action.py b/msgraph_beta/generated/models/protect_adhoc_action.py index ce11221db1d..50242b840e7 100644 --- a/msgraph_beta/generated/models/protect_adhoc_action.py +++ b/msgraph_beta/generated/models/protect_adhoc_action.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .information_protection_action import InformationProtectionAction + diff --git a/msgraph_beta/generated/models/protect_by_template_action.py b/msgraph_beta/generated/models/protect_by_template_action.py index 09719a43bb8..106e9f8dd7c 100644 --- a/msgraph_beta/generated/models/protect_by_template_action.py +++ b/msgraph_beta/generated/models/protect_by_template_action.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .information_protection_action import InformationProtectionAction + writer.write_str_value("templateId", self.template_id) diff --git a/msgraph_beta/generated/models/protect_do_not_forward_action.py b/msgraph_beta/generated/models/protect_do_not_forward_action.py index 9698d16f6bf..1c66dcbb0d1 100644 --- a/msgraph_beta/generated/models/protect_do_not_forward_action.py +++ b/msgraph_beta/generated/models/protect_do_not_forward_action.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .information_protection_action import InformationProtectionAction + diff --git a/msgraph_beta/generated/models/protect_group.py b/msgraph_beta/generated/models/protect_group.py index 758909e207f..f434bbfd94d 100644 --- a/msgraph_beta/generated/models/protect_group.py +++ b/msgraph_beta/generated/models/protect_group.py @@ -60,6 +60,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .group_privacy import GroupPrivacy + from .label_action_base import LabelActionBase + writer.write_bool_value("allowEmailFromGuestUsers", self.allow_email_from_guest_users) writer.write_bool_value("allowGuestUsers", self.allow_guest_users) writer.write_enum_value("privacy", self.privacy) diff --git a/msgraph_beta/generated/models/protect_online_meeting_action.py b/msgraph_beta/generated/models/protect_online_meeting_action.py index 2de9cf3e772..c9d2301b5b7 100644 --- a/msgraph_beta/generated/models/protect_online_meeting_action.py +++ b/msgraph_beta/generated/models/protect_online_meeting_action.py @@ -72,6 +72,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .label_action_base import LabelActionBase + from .lobby_bypass_settings import LobbyBypassSettings + from .online_meeting_forwarders import OnlineMeetingForwarders + from .online_meeting_presenters import OnlineMeetingPresenters + writer.write_enum_value("allowedForwarders", self.allowed_forwarders) writer.write_enum_value("allowedPresenters", self.allowed_presenters) writer.write_bool_value("isCopyToClipboardEnabled", self.is_copy_to_clipboard_enabled) diff --git a/msgraph_beta/generated/models/protect_site.py b/msgraph_beta/generated/models/protect_site.py index e191403229e..6fceaacd0f9 100644 --- a/msgraph_beta/generated/models/protect_site.py +++ b/msgraph_beta/generated/models/protect_site.py @@ -57,6 +57,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .label_action_base import LabelActionBase + from .site_access_type import SiteAccessType + writer.write_enum_value("accessType", self.access_type) writer.write_str_value("conditionalAccessProtectionLevelId", self.conditional_access_protection_level_id) diff --git a/msgraph_beta/generated/models/protection_policy_base.py b/msgraph_beta/generated/models/protection_policy_base.py index b01f3d327ef..696789c078f 100644 --- a/msgraph_beta/generated/models/protection_policy_base.py +++ b/msgraph_beta/generated/models/protection_policy_base.py @@ -44,7 +44,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> ProtectionPolicyBa if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.exchangeProtectionPolicy".casefold(): @@ -104,6 +105,14 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .exchange_protection_policy import ExchangeProtectionPolicy + from .identity_set import IdentitySet + from .one_drive_for_business_protection_policy import OneDriveForBusinessProtectionPolicy + from .protection_policy_status import ProtectionPolicyStatus + from .retention_setting import RetentionSetting + from .share_point_protection_policy import SharePointProtectionPolicy + writer.write_object_value("createdBy", self.created_by) writer.write_datetime_value("createdDateTime", self.created_date_time) writer.write_str_value("displayName", self.display_name) diff --git a/msgraph_beta/generated/models/protection_policy_base_collection_response.py b/msgraph_beta/generated/models/protection_policy_base_collection_response.py index 0266ffe4e05..89f618fceb6 100644 --- a/msgraph_beta/generated/models/protection_policy_base_collection_response.py +++ b/msgraph_beta/generated/models/protection_policy_base_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .protection_policy_base import ProtectionPolicyBase + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/protection_rule_base.py b/msgraph_beta/generated/models/protection_rule_base.py index 65a0eeea977..249500fb992 100644 --- a/msgraph_beta/generated/models/protection_rule_base.py +++ b/msgraph_beta/generated/models/protection_rule_base.py @@ -31,7 +31,7 @@ class ProtectionRuleBase(Entity): last_modified_date_time: Optional[datetime.datetime] = None # The OdataType property odata_type: Optional[str] = None - # The status of the protection rule. The possible values are: draft, active, completed, completedWithErrors, unknownFutureValue. + # The status of the protection rule. The possible values are: draft, active, completed, completedWithErrors, unknownFutureValue. The draft member is currently unsupported. status: Optional[ProtectionRuleStatus] = None @staticmethod @@ -44,7 +44,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> ProtectionRuleBase if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.driveProtectionRule".casefold(): @@ -104,6 +105,14 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .drive_protection_rule import DriveProtectionRule + from .entity import Entity + from .identity_set import IdentitySet + from .mailbox_protection_rule import MailboxProtectionRule + from .protection_rule_status import ProtectionRuleStatus + from .public_error import PublicError + from .site_protection_rule import SiteProtectionRule + writer.write_object_value("createdBy", self.created_by) writer.write_datetime_value("createdDateTime", self.created_date_time) writer.write_object_value("error", self.error) diff --git a/msgraph_beta/generated/models/protection_unit_base.py b/msgraph_beta/generated/models/protection_unit_base.py index 9f5d3e9dffe..74bee8e8c61 100644 --- a/msgraph_beta/generated/models/protection_unit_base.py +++ b/msgraph_beta/generated/models/protection_unit_base.py @@ -44,7 +44,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> ProtectionUnitBase if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.driveProtectionUnit".casefold(): @@ -104,6 +105,14 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .drive_protection_unit import DriveProtectionUnit + from .entity import Entity + from .identity_set import IdentitySet + from .mailbox_protection_unit import MailboxProtectionUnit + from .protection_unit_status import ProtectionUnitStatus + from .public_error import PublicError + from .site_protection_unit import SiteProtectionUnit + writer.write_object_value("createdBy", self.created_by) writer.write_datetime_value("createdDateTime", self.created_date_time) writer.write_object_value("error", self.error) diff --git a/msgraph_beta/generated/models/protection_unit_base_collection_response.py b/msgraph_beta/generated/models/protection_unit_base_collection_response.py index 05f47dc9bfe..72ce0978d2e 100644 --- a/msgraph_beta/generated/models/protection_unit_base_collection_response.py +++ b/msgraph_beta/generated/models/protection_unit_base_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .protection_unit_base import ProtectionUnitBase + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/protection_units_bulk_job_base.py b/msgraph_beta/generated/models/protection_units_bulk_job_base.py index 4d1e01e8265..ad7fd29cbda 100644 --- a/msgraph_beta/generated/models/protection_units_bulk_job_base.py +++ b/msgraph_beta/generated/models/protection_units_bulk_job_base.py @@ -44,7 +44,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> ProtectionUnitsBul if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.driveProtectionUnitsBulkAdditionJob".casefold(): @@ -104,6 +105,14 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .drive_protection_units_bulk_addition_job import DriveProtectionUnitsBulkAdditionJob + from .entity import Entity + from .identity_set import IdentitySet + from .mailbox_protection_units_bulk_addition_job import MailboxProtectionUnitsBulkAdditionJob + from .protection_units_bulk_job_status import ProtectionUnitsBulkJobStatus + from .public_error import PublicError + from .site_protection_units_bulk_addition_job import SiteProtectionUnitsBulkAdditionJob + writer.write_object_value("createdBy", self.created_by) writer.write_datetime_value("createdDateTime", self.created_date_time) writer.write_str_value("displayName", self.display_name) diff --git a/msgraph_beta/generated/models/provider_tenant_setting.py b/msgraph_beta/generated/models/provider_tenant_setting.py index 33e98a2323a..d4df4af314f 100644 --- a/msgraph_beta/generated/models/provider_tenant_setting.py +++ b/msgraph_beta/generated/models/provider_tenant_setting.py @@ -64,6 +64,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_str_value("azureTenantId", self.azure_tenant_id) writer.write_bool_value("enabled", self.enabled) writer.write_datetime_value("lastModifiedDateTime", self.last_modified_date_time) diff --git a/msgraph_beta/generated/models/provider_tenant_setting_collection_response.py b/msgraph_beta/generated/models/provider_tenant_setting_collection_response.py index bcd1b6dffeb..dc9452b8122 100644 --- a/msgraph_beta/generated/models/provider_tenant_setting_collection_response.py +++ b/msgraph_beta/generated/models/provider_tenant_setting_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .provider_tenant_setting import ProviderTenantSetting + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/provisioned_identity.py b/msgraph_beta/generated/models/provisioned_identity.py index 4758362ad5e..1de24863756 100644 --- a/msgraph_beta/generated/models/provisioned_identity.py +++ b/msgraph_beta/generated/models/provisioned_identity.py @@ -57,6 +57,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .details_info import DetailsInfo + from .identity import Identity + writer.write_object_value("details", self.details) writer.write_str_value("identityType", self.identity_type) diff --git a/msgraph_beta/generated/models/provisioned_plan.py b/msgraph_beta/generated/models/provisioned_plan.py index 2b0e147d01b..06b6cd30668 100644 --- a/msgraph_beta/generated/models/provisioned_plan.py +++ b/msgraph_beta/generated/models/provisioned_plan.py @@ -11,11 +11,11 @@ class ProvisionedPlan(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) - # For example, 'Enabled'. + # Condition of the capability assignment. The possible values are Enabled, Warning, Suspended, Deleted, LockedOut. See a detailed description of each value. capability_status: Optional[str] = None # The OdataType property odata_type: Optional[str] = None - # For example, 'Success'. + # The possible values are:Success - Service is fully provisioned.Disabled - Service is disabled.Error - The service plan isn't provisioned and is in an error state.PendingInput - The service isn't provisioned and is awaiting service confirmation.PendingActivation - The service is provisioned but requires explicit activation by an administrator (for example, Intune_O365 service plan)PendingProvisioning - Microsoft has added a new service to the product SKU and it isn't activated in the tenant. provisioning_status: Optional[str] = None # The name of the service; for example, 'AccessControlS2S' service: Optional[str] = None diff --git a/msgraph_beta/generated/models/provisioning_error_info.py b/msgraph_beta/generated/models/provisioning_error_info.py index c36a8dec9ec..6c378934971 100644 --- a/msgraph_beta/generated/models/provisioning_error_info.py +++ b/msgraph_beta/generated/models/provisioning_error_info.py @@ -65,6 +65,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .provisioning_status_error_category import ProvisioningStatusErrorCategory + writer.write_str_value("additionalDetails", self.additional_details) writer.write_enum_value("errorCategory", self.error_category) writer.write_str_value("errorCode", self.error_code) diff --git a/msgraph_beta/generated/models/provisioning_object_summary.py b/msgraph_beta/generated/models/provisioning_object_summary.py index 1a590e7b491..9c334f45dcb 100644 --- a/msgraph_beta/generated/models/provisioning_object_summary.py +++ b/msgraph_beta/generated/models/provisioning_object_summary.py @@ -130,6 +130,17 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .initiator import Initiator + from .modified_property import ModifiedProperty + from .provisioned_identity import ProvisionedIdentity + from .provisioning_action import ProvisioningAction + from .provisioning_service_principal import ProvisioningServicePrincipal + from .provisioning_status_info import ProvisioningStatusInfo + from .provisioning_step import ProvisioningStep + from .provisioning_system import ProvisioningSystem + from .status_base import StatusBase + writer.write_str_value("action", self.action) writer.write_datetime_value("activityDateTime", self.activity_date_time) writer.write_str_value("changeId", self.change_id) diff --git a/msgraph_beta/generated/models/provisioning_object_summary_collection_response.py b/msgraph_beta/generated/models/provisioning_object_summary_collection_response.py index 22ab6b96dfc..d12612c9f79 100644 --- a/msgraph_beta/generated/models/provisioning_object_summary_collection_response.py +++ b/msgraph_beta/generated/models/provisioning_object_summary_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .provisioning_object_summary import ProvisioningObjectSummary + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/provisioning_service_principal.py b/msgraph_beta/generated/models/provisioning_service_principal.py index f591eee521b..407899ed962 100644 --- a/msgraph_beta/generated/models/provisioning_service_principal.py +++ b/msgraph_beta/generated/models/provisioning_service_principal.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .identity import Identity + diff --git a/msgraph_beta/generated/models/provisioning_status_info.py b/msgraph_beta/generated/models/provisioning_status_info.py index f82819735f3..6e362809ec5 100644 --- a/msgraph_beta/generated/models/provisioning_status_info.py +++ b/msgraph_beta/generated/models/provisioning_status_info.py @@ -59,6 +59,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .provisioning_error_info import ProvisioningErrorInfo + from .provisioning_result import ProvisioningResult + writer.write_object_value("errorInformation", self.error_information) writer.write_str_value("@odata.type", self.odata_type) writer.write_enum_value("status", self.status) diff --git a/msgraph_beta/generated/models/provisioning_step.py b/msgraph_beta/generated/models/provisioning_step.py index bdd8dccc6fe..d493c803776 100644 --- a/msgraph_beta/generated/models/provisioning_step.py +++ b/msgraph_beta/generated/models/provisioning_step.py @@ -71,6 +71,10 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .details_info import DetailsInfo + from .provisioning_result import ProvisioningResult + from .provisioning_step_type import ProvisioningStepType + writer.write_str_value("description", self.description) writer.write_object_value("details", self.details) writer.write_str_value("name", self.name) diff --git a/msgraph_beta/generated/models/provisioning_system.py b/msgraph_beta/generated/models/provisioning_system.py index 54bae2adeec..920f7deffd2 100644 --- a/msgraph_beta/generated/models/provisioning_system.py +++ b/msgraph_beta/generated/models/provisioning_system.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .details_info import DetailsInfo + from .identity import Identity + writer.write_object_value("details", self.details) diff --git a/msgraph_beta/generated/models/public_error.py b/msgraph_beta/generated/models/public_error.py index 2e2f3e99ff7..ea98efbac7b 100644 --- a/msgraph_beta/generated/models/public_error.py +++ b/msgraph_beta/generated/models/public_error.py @@ -68,6 +68,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .public_error_detail import PublicErrorDetail + from .public_inner_error import PublicInnerError + writer.write_str_value("code", self.code) writer.write_collection_of_object_values("details", self.details) writer.write_object_value("innerError", self.inner_error) diff --git a/msgraph_beta/generated/models/public_inner_error.py b/msgraph_beta/generated/models/public_inner_error.py index 7f97043c443..4ef61d2ac1c 100644 --- a/msgraph_beta/generated/models/public_inner_error.py +++ b/msgraph_beta/generated/models/public_inner_error.py @@ -62,6 +62,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .public_error_detail import PublicErrorDetail + writer.write_str_value("code", self.code) writer.write_collection_of_object_values("details", self.details) writer.write_str_value("message", self.message) diff --git a/msgraph_beta/generated/models/public_key_infrastructure_root.py b/msgraph_beta/generated/models/public_key_infrastructure_root.py index 54074e013ef..b204f8de5ab 100644 --- a/msgraph_beta/generated/models/public_key_infrastructure_root.py +++ b/msgraph_beta/generated/models/public_key_infrastructure_root.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .certificate_based_auth_pki import CertificateBasedAuthPki + from .entity import Entity + writer.write_collection_of_object_values("certificateBasedAuthConfigurations", self.certificate_based_auth_configurations) diff --git a/msgraph_beta/generated/models/publication_facet.py b/msgraph_beta/generated/models/publication_facet.py index d4d90c34b9c..03e670359bc 100644 --- a/msgraph_beta/generated/models/publication_facet.py +++ b/msgraph_beta/generated/models/publication_facet.py @@ -59,6 +59,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .identity_set import IdentitySet + writer.write_object_value("checkedOutBy", self.checked_out_by) writer.write_str_value("level", self.level) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/published_resource.py b/msgraph_beta/generated/models/published_resource.py index 96f5c8bd9e6..b7e6153b560 100644 --- a/msgraph_beta/generated/models/published_resource.py +++ b/msgraph_beta/generated/models/published_resource.py @@ -66,6 +66,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .on_premises_agent_group import OnPremisesAgentGroup + from .on_premises_publishing_type import OnPremisesPublishingType + writer.write_collection_of_object_values("agentGroups", self.agent_groups) writer.write_str_value("displayName", self.display_name) writer.write_enum_value("publishingType", self.publishing_type) diff --git a/msgraph_beta/generated/models/published_resource_collection_response.py b/msgraph_beta/generated/models/published_resource_collection_response.py index 8d420ba7eda..175e503a4d2 100644 --- a/msgraph_beta/generated/models/published_resource_collection_response.py +++ b/msgraph_beta/generated/models/published_resource_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .published_resource import PublishedResource + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/purchase_invoice.py b/msgraph_beta/generated/models/purchase_invoice.py index e4c6045fa99..62560f9d0be 100644 --- a/msgraph_beta/generated/models/purchase_invoice.py +++ b/msgraph_beta/generated/models/purchase_invoice.py @@ -151,6 +151,11 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .currency import Currency + from .postal_address_type import PostalAddressType + from .purchase_invoice_line import PurchaseInvoiceLine + from .vendor import Vendor + writer.write_object_value("buyFromAddress", self.buy_from_address) writer.write_object_value("currency", self.currency) writer.write_str_value("currencyCode", self.currency_code) diff --git a/msgraph_beta/generated/models/purchase_invoice_collection_response.py b/msgraph_beta/generated/models/purchase_invoice_collection_response.py index fdfcfcc01a5..1f9cb1faa82 100644 --- a/msgraph_beta/generated/models/purchase_invoice_collection_response.py +++ b/msgraph_beta/generated/models/purchase_invoice_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .purchase_invoice import PurchaseInvoice + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/purchase_invoice_line.py b/msgraph_beta/generated/models/purchase_invoice_line.py index feb3621299b..335e9ab3e5c 100644 --- a/msgraph_beta/generated/models/purchase_invoice_line.py +++ b/msgraph_beta/generated/models/purchase_invoice_line.py @@ -125,6 +125,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .account import Account + from .entity import Entity + from .item import Item + writer.write_object_value("account", self.account) writer.write_uuid_value("accountId", self.account_id) writer.write_float_value("amountExcludingTax", self.amount_excluding_tax) diff --git a/msgraph_beta/generated/models/purchase_invoice_line_collection_response.py b/msgraph_beta/generated/models/purchase_invoice_line_collection_response.py index e54843da66c..796d5b187ba 100644 --- a/msgraph_beta/generated/models/purchase_invoice_line_collection_response.py +++ b/msgraph_beta/generated/models/purchase_invoice_line_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .purchase_invoice_line import PurchaseInvoiceLine + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/quota.py b/msgraph_beta/generated/models/quota.py index 3ab8e474746..6a0af83b596 100644 --- a/msgraph_beta/generated/models/quota.py +++ b/msgraph_beta/generated/models/quota.py @@ -68,6 +68,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .storage_plan_information import StoragePlanInformation + writer.write_int_value("deleted", self.deleted) writer.write_str_value("@odata.type", self.odata_type) writer.write_int_value("remaining", self.remaining) diff --git a/msgraph_beta/generated/models/rbac_application.py b/msgraph_beta/generated/models/rbac_application.py index a51ebc9b1fe..753d352e7e9 100644 --- a/msgraph_beta/generated/models/rbac_application.py +++ b/msgraph_beta/generated/models/rbac_application.py @@ -111,6 +111,18 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .approval import Approval + from .entity import Entity + from .unified_rbac_resource_namespace import UnifiedRbacResourceNamespace + from .unified_role_assignment import UnifiedRoleAssignment + from .unified_role_assignment_schedule import UnifiedRoleAssignmentSchedule + from .unified_role_assignment_schedule_instance import UnifiedRoleAssignmentScheduleInstance + from .unified_role_assignment_schedule_request import UnifiedRoleAssignmentScheduleRequest + from .unified_role_definition import UnifiedRoleDefinition + from .unified_role_eligibility_schedule import UnifiedRoleEligibilitySchedule + from .unified_role_eligibility_schedule_instance import UnifiedRoleEligibilityScheduleInstance + from .unified_role_eligibility_schedule_request import UnifiedRoleEligibilityScheduleRequest + writer.write_collection_of_object_values("resourceNamespaces", self.resource_namespaces) writer.write_collection_of_object_values("roleAssignmentApprovals", self.role_assignment_approvals) writer.write_collection_of_object_values("roleAssignmentScheduleInstances", self.role_assignment_schedule_instances) diff --git a/msgraph_beta/generated/models/rbac_application_collection_response.py b/msgraph_beta/generated/models/rbac_application_collection_response.py index 5827f7cb62c..5e50874b9cf 100644 --- a/msgraph_beta/generated/models/rbac_application_collection_response.py +++ b/msgraph_beta/generated/models/rbac_application_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .rbac_application import RbacApplication + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/rbac_application_multiple.py b/msgraph_beta/generated/models/rbac_application_multiple.py index f0b91024cae..75cef257c63 100644 --- a/msgraph_beta/generated/models/rbac_application_multiple.py +++ b/msgraph_beta/generated/models/rbac_application_multiple.py @@ -66,6 +66,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .unified_rbac_resource_namespace import UnifiedRbacResourceNamespace + from .unified_role_assignment_multiple import UnifiedRoleAssignmentMultiple + from .unified_role_definition import UnifiedRoleDefinition + writer.write_collection_of_object_values("resourceNamespaces", self.resource_namespaces) writer.write_collection_of_object_values("roleAssignments", self.role_assignments) writer.write_collection_of_object_values("roleDefinitions", self.role_definitions) diff --git a/msgraph_beta/generated/models/reading_assignment_submission.py b/msgraph_beta/generated/models/reading_assignment_submission.py new file mode 100644 index 00000000000..f7f78d82648 --- /dev/null +++ b/msgraph_beta/generated/models/reading_assignment_submission.py @@ -0,0 +1,143 @@ +from __future__ import annotations +import datetime +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .challenging_word import ChallengingWord + from .entity import Entity + +from .entity import Entity + +@dataclass +class ReadingAssignmentSubmission(Entity): + # Accuracy score of the reading progress. + accuracy_score: Optional[float] = None + # Indicates whether the submission is an attempt by the student or a miscue edit done by the educator. The possible values are Attempt and EditMiscue. + action: Optional[str] = None + # ID of the assignment with which this submission is associated. + assignment_id: Optional[str] = None + # List of words that the student found challenging during the reading session. + challenging_words: Optional[List[ChallengingWord]] = None + # ID of the class this reading progress is associated with. + class_id: Optional[str] = None + # Insertions of the reading progress. + insertions: Optional[int] = None + # Mispronunciations of the reading progress. + mispronunciations: Optional[int] = None + # Number of exclamation marks missed in the reading passage. + missed_exclamation_marks: Optional[int] = None + # Number of periods missed in the reading passage. + missed_periods: Optional[int] = None + # Number of question marks missed in the reading passage. + missed_question_marks: Optional[int] = None + # Number of short words missed during the reading session. + missed_shorts: Optional[int] = None + # Score that reflects the student's use of intonation and expression. Lower scores indicate more monotone reading. + monotone_score: Optional[float] = None + # The OdataType property + odata_type: Optional[str] = None + # Omissions of the reading progress. + omissions: Optional[int] = None + # Number of times the student repeated words or phrases during the reading session. + repetitions: Optional[int] = None + # Number of times the student self-corrected their reading errors. + self_corrections: Optional[int] = None + # ID of the user this reading progress is associated with. + student_id: Optional[str] = None + # Date and time of the submission this reading progress is associated with. 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. + submission_date_time: Optional[datetime.datetime] = None + # ID of the submission this reading progress is associated with. + submission_id: Optional[str] = None + # Number of unexpected pauses made during the reading session. + unexpected_pauses: Optional[int] = None + # Words count of the reading progress. + word_count: Optional[int] = None + # Words per minute of the reading progress. + words_per_minute: Optional[float] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> ReadingAssignmentSubmission: + """ + 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: ReadingAssignmentSubmission + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return ReadingAssignmentSubmission() + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .challenging_word import ChallengingWord + from .entity import Entity + + from .challenging_word import ChallengingWord + from .entity import Entity + + fields: Dict[str, Callable[[Any], None]] = { + "accuracyScore": lambda n : setattr(self, 'accuracy_score', n.get_float_value()), + "action": lambda n : setattr(self, 'action', n.get_str_value()), + "assignmentId": lambda n : setattr(self, 'assignment_id', n.get_str_value()), + "challengingWords": lambda n : setattr(self, 'challenging_words', n.get_collection_of_object_values(ChallengingWord)), + "classId": lambda n : setattr(self, 'class_id', n.get_str_value()), + "insertions": lambda n : setattr(self, 'insertions', n.get_int_value()), + "mispronunciations": lambda n : setattr(self, 'mispronunciations', n.get_int_value()), + "missedExclamationMarks": lambda n : setattr(self, 'missed_exclamation_marks', n.get_int_value()), + "missedPeriods": lambda n : setattr(self, 'missed_periods', n.get_int_value()), + "missedQuestionMarks": lambda n : setattr(self, 'missed_question_marks', n.get_int_value()), + "missedShorts": lambda n : setattr(self, 'missed_shorts', n.get_int_value()), + "monotoneScore": lambda n : setattr(self, 'monotone_score', n.get_float_value()), + "omissions": lambda n : setattr(self, 'omissions', n.get_int_value()), + "repetitions": lambda n : setattr(self, 'repetitions', n.get_int_value()), + "selfCorrections": lambda n : setattr(self, 'self_corrections', n.get_int_value()), + "studentId": lambda n : setattr(self, 'student_id', n.get_str_value()), + "submissionDateTime": lambda n : setattr(self, 'submission_date_time', n.get_datetime_value()), + "submissionId": lambda n : setattr(self, 'submission_id', n.get_str_value()), + "unexpectedPauses": lambda n : setattr(self, 'unexpected_pauses', n.get_int_value()), + "wordCount": lambda n : setattr(self, 'word_count', n.get_int_value()), + "wordsPerMinute": lambda n : setattr(self, 'words_per_minute', n.get_float_value()), + } + 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) + from .challenging_word import ChallengingWord + from .entity import Entity + + writer.write_float_value("accuracyScore", self.accuracy_score) + writer.write_str_value("action", self.action) + writer.write_str_value("assignmentId", self.assignment_id) + writer.write_collection_of_object_values("challengingWords", self.challenging_words) + writer.write_str_value("classId", self.class_id) + writer.write_int_value("insertions", self.insertions) + writer.write_int_value("mispronunciations", self.mispronunciations) + writer.write_int_value("missedExclamationMarks", self.missed_exclamation_marks) + writer.write_int_value("missedPeriods", self.missed_periods) + writer.write_int_value("missedQuestionMarks", self.missed_question_marks) + writer.write_int_value("missedShorts", self.missed_shorts) + writer.write_float_value("monotoneScore", self.monotone_score) + writer.write_int_value("omissions", self.omissions) + writer.write_int_value("repetitions", self.repetitions) + writer.write_int_value("selfCorrections", self.self_corrections) + writer.write_str_value("studentId", self.student_id) + writer.write_datetime_value("submissionDateTime", self.submission_date_time) + writer.write_str_value("submissionId", self.submission_id) + writer.write_int_value("unexpectedPauses", self.unexpected_pauses) + writer.write_int_value("wordCount", self.word_count) + writer.write_float_value("wordsPerMinute", self.words_per_minute) + + diff --git a/msgraph_beta/generated/models/reading_assignment_submission_collection_response.py b/msgraph_beta/generated/models/reading_assignment_submission_collection_response.py new file mode 100644 index 00000000000..c36ca710738 --- /dev/null +++ b/msgraph_beta/generated/models/reading_assignment_submission_collection_response.py @@ -0,0 +1,60 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .reading_assignment_submission import ReadingAssignmentSubmission + +from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + +@dataclass +class ReadingAssignmentSubmissionCollectionResponse(BaseCollectionPaginationCountResponse): + # The value property + value: Optional[List[ReadingAssignmentSubmission]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> ReadingAssignmentSubmissionCollectionResponse: + """ + 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: ReadingAssignmentSubmissionCollectionResponse + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return ReadingAssignmentSubmissionCollectionResponse() + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .reading_assignment_submission import ReadingAssignmentSubmission + + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .reading_assignment_submission import ReadingAssignmentSubmission + + fields: Dict[str, Callable[[Any], None]] = { + "value": lambda n : setattr(self, 'value', n.get_collection_of_object_values(ReadingAssignmentSubmission)), + } + 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) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .reading_assignment_submission import ReadingAssignmentSubmission + + writer.write_collection_of_object_values("value", self.value) + + diff --git a/msgraph_beta/generated/models/recent_notebook.py b/msgraph_beta/generated/models/recent_notebook.py index f3c4337f445..a1f512ac9b2 100644 --- a/msgraph_beta/generated/models/recent_notebook.py +++ b/msgraph_beta/generated/models/recent_notebook.py @@ -66,6 +66,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .onenote_source_service import OnenoteSourceService + from .recent_notebook_links import RecentNotebookLinks + writer.write_str_value("displayName", self.display_name) writer.write_datetime_value("lastAccessedTime", self.last_accessed_time) writer.write_object_value("links", self.links) diff --git a/msgraph_beta/generated/models/recent_notebook_links.py b/msgraph_beta/generated/models/recent_notebook_links.py index 6b6ebfc9bae..c002bf3be1a 100644 --- a/msgraph_beta/generated/models/recent_notebook_links.py +++ b/msgraph_beta/generated/models/recent_notebook_links.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .external_link import ExternalLink + writer.write_str_value("@odata.type", self.odata_type) writer.write_object_value("oneNoteClientUrl", self.one_note_client_url) writer.write_object_value("oneNoteWebUrl", self.one_note_web_url) diff --git a/msgraph_beta/generated/models/recipient.py b/msgraph_beta/generated/models/recipient.py index aca03dc6536..5aa091fe323 100644 --- a/msgraph_beta/generated/models/recipient.py +++ b/msgraph_beta/generated/models/recipient.py @@ -31,7 +31,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> Recipient: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.attendee".casefold(): @@ -71,6 +72,10 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .attendee import Attendee + from .attendee_base import AttendeeBase + from .email_address import EmailAddress + writer.write_object_value("emailAddress", self.email_address) writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/recommend_label_action.py b/msgraph_beta/generated/models/recommend_label_action.py index dccd97a4b84..1edbef8d5e0 100644 --- a/msgraph_beta/generated/models/recommend_label_action.py +++ b/msgraph_beta/generated/models/recommend_label_action.py @@ -67,6 +67,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .action_source import ActionSource + from .information_protection_action import InformationProtectionAction + from .label_details import LabelDetails + writer.write_enum_value("actionSource", self.action_source) writer.write_collection_of_object_values("actions", self.actions) writer.write_object_value("label", self.label) diff --git a/msgraph_beta/generated/models/recommendation.py b/msgraph_beta/generated/models/recommendation.py index 5401db28f19..5d396085418 100644 --- a/msgraph_beta/generated/models/recommendation.py +++ b/msgraph_beta/generated/models/recommendation.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .recommendation_base import RecommendationBase + diff --git a/msgraph_beta/generated/models/recommendation_base.py b/msgraph_beta/generated/models/recommendation_base.py index c6855e3bdd6..26de2140c10 100644 --- a/msgraph_beta/generated/models/recommendation_base.py +++ b/msgraph_beta/generated/models/recommendation_base.py @@ -77,7 +77,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> RecommendationBase if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.recommendation".casefold(): @@ -150,6 +151,17 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .action_step import ActionStep + from .entity import Entity + from .impacted_resource import ImpactedResource + from .recommendation import Recommendation + from .recommendation_category import RecommendationCategory + from .recommendation_feature_areas import RecommendationFeatureAreas + from .recommendation_priority import RecommendationPriority + from .recommendation_status import RecommendationStatus + from .recommendation_type import RecommendationType + from .required_licenses import RequiredLicenses + writer.write_collection_of_object_values("actionSteps", self.action_steps) writer.write_str_value("benefits", self.benefits) writer.write_enum_value("category", self.category) diff --git a/msgraph_beta/generated/models/recommendation_collection_response.py b/msgraph_beta/generated/models/recommendation_collection_response.py index d45cd59ba25..9051b9a31b4 100644 --- a/msgraph_beta/generated/models/recommendation_collection_response.py +++ b/msgraph_beta/generated/models/recommendation_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .recommendation import Recommendation + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/record_operation.py b/msgraph_beta/generated/models/record_operation.py index b24b7723813..dfbb09b2020 100644 --- a/msgraph_beta/generated/models/record_operation.py +++ b/msgraph_beta/generated/models/record_operation.py @@ -60,6 +60,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .comms_operation import CommsOperation + from .record_completion_reason import RecordCompletionReason + writer.write_enum_value("completionReason", self.completion_reason) writer.write_str_value("recordingAccessToken", self.recording_access_token) writer.write_str_value("recordingLocation", self.recording_location) diff --git a/msgraph_beta/generated/models/recording_info.py b/msgraph_beta/generated/models/recording_info.py index fb9c06c2e3a..a50260cb230 100644 --- a/msgraph_beta/generated/models/recording_info.py +++ b/msgraph_beta/generated/models/recording_info.py @@ -65,6 +65,10 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .identity_set import IdentitySet + from .participant_info import ParticipantInfo + from .recording_status import RecordingStatus + writer.write_object_value("initiatedBy", self.initiated_by) writer.write_object_value("initiator", self.initiator) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/recurrence_pattern.py b/msgraph_beta/generated/models/recurrence_pattern.py index 9ba2cc0033c..4a222aa1783 100644 --- a/msgraph_beta/generated/models/recurrence_pattern.py +++ b/msgraph_beta/generated/models/recurrence_pattern.py @@ -77,6 +77,10 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .day_of_week import DayOfWeek + from .recurrence_pattern_type import RecurrencePatternType + from .week_index import WeekIndex + writer.write_int_value("dayOfMonth", self.day_of_month) writer.write_collection_of_enum_values("daysOfWeek", self.days_of_week) writer.write_enum_value("firstDayOfWeek", self.first_day_of_week) diff --git a/msgraph_beta/generated/models/recurrence_range.py b/msgraph_beta/generated/models/recurrence_range.py index 99c2a308956..e53992e7564 100644 --- a/msgraph_beta/generated/models/recurrence_range.py +++ b/msgraph_beta/generated/models/recurrence_range.py @@ -66,6 +66,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .recurrence_range_type import RecurrenceRangeType + writer.write_date_value("endDate", self.end_date) writer.write_int_value("numberOfOccurrences", self.number_of_occurrences) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/recycle_bin.py b/msgraph_beta/generated/models/recycle_bin.py index 7ac393af45e..2d3f1feb3c8 100644 --- a/msgraph_beta/generated/models/recycle_bin.py +++ b/msgraph_beta/generated/models/recycle_bin.py @@ -60,6 +60,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_item import BaseItem + from .recycle_bin_item import RecycleBinItem + from .recycle_bin_settings import RecycleBinSettings + writer.write_collection_of_object_values("items", self.items) writer.write_object_value("settings", self.settings) diff --git a/msgraph_beta/generated/models/recycle_bin_item.py b/msgraph_beta/generated/models/recycle_bin_item.py index 1e6cc49f0f1..e7a55e2a5e2 100644 --- a/msgraph_beta/generated/models/recycle_bin_item.py +++ b/msgraph_beta/generated/models/recycle_bin_item.py @@ -58,6 +58,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_item import BaseItem + writer.write_datetime_value("deletedDateTime", self.deleted_date_time) writer.write_str_value("deletedFromLocation", self.deleted_from_location) writer.write_int_value("size", self.size) diff --git a/msgraph_beta/generated/models/recycle_bin_item_collection_response.py b/msgraph_beta/generated/models/recycle_bin_item_collection_response.py index 87b9b09e30d..ffd1a8f1be7 100644 --- a/msgraph_beta/generated/models/recycle_bin_item_collection_response.py +++ b/msgraph_beta/generated/models/recycle_bin_item_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .recycle_bin_item import RecycleBinItem + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/redirect_single_sign_on_extension.py b/msgraph_beta/generated/models/redirect_single_sign_on_extension.py index 1614edfcc25..cdcf012c3c6 100644 --- a/msgraph_beta/generated/models/redirect_single_sign_on_extension.py +++ b/msgraph_beta/generated/models/redirect_single_sign_on_extension.py @@ -66,6 +66,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .key_typed_value_pair import KeyTypedValuePair + from .single_sign_on_extension import SingleSignOnExtension + writer.write_collection_of_object_values("configurations", self.configurations) writer.write_str_value("extensionIdentifier", self.extension_identifier) writer.write_str_value("teamIdentifier", self.team_identifier) diff --git a/msgraph_beta/generated/models/redundant_assignment_alert_configuration.py b/msgraph_beta/generated/models/redundant_assignment_alert_configuration.py index 524965fe074..3233583b157 100644 --- a/msgraph_beta/generated/models/redundant_assignment_alert_configuration.py +++ b/msgraph_beta/generated/models/redundant_assignment_alert_configuration.py @@ -52,6 +52,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .unified_role_management_alert_configuration import UnifiedRoleManagementAlertConfiguration + writer.write_timedelta_value("duration", self.duration) diff --git a/msgraph_beta/generated/models/redundant_assignment_alert_incident.py b/msgraph_beta/generated/models/redundant_assignment_alert_incident.py index 1602ef1654b..ed853a96efc 100644 --- a/msgraph_beta/generated/models/redundant_assignment_alert_incident.py +++ b/msgraph_beta/generated/models/redundant_assignment_alert_incident.py @@ -70,6 +70,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .unified_role_management_alert_incident import UnifiedRoleManagementAlertIncident + writer.write_str_value("assigneeDisplayName", self.assignee_display_name) writer.write_str_value("assigneeId", self.assignee_id) writer.write_str_value("assigneeUserPrincipalName", self.assignee_user_principal_name) diff --git a/msgraph_beta/generated/models/reference_attachment.py b/msgraph_beta/generated/models/reference_attachment.py index b79cdec21b1..92d651ae463 100644 --- a/msgraph_beta/generated/models/reference_attachment.py +++ b/msgraph_beta/generated/models/reference_attachment.py @@ -72,6 +72,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .attachment import Attachment + from .reference_attachment_permission import ReferenceAttachmentPermission + from .reference_attachment_provider import ReferenceAttachmentProvider + writer.write_bool_value("isFolder", self.is_folder) writer.write_enum_value("permission", self.permission) writer.write_str_value("previewUrl", self.preview_url) diff --git a/msgraph_beta/generated/models/reflect_check_in_response.py b/msgraph_beta/generated/models/reflect_check_in_response.py new file mode 100644 index 00000000000..8d4d8d89a34 --- /dev/null +++ b/msgraph_beta/generated/models/reflect_check_in_response.py @@ -0,0 +1,103 @@ +from __future__ import annotations +import datetime +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .entity import Entity + from .response_emotion_type import ResponseEmotionType + from .response_feedback_type import ResponseFeedbackType + +from .entity import Entity + +@dataclass +class ReflectCheckInResponse(Entity): + # Identifier for the Reflect check-in. + check_in_id: Optional[str] = None + # The question or prompt of the Reflect check-in that this response addresses. + check_in_title: Optional[str] = None + # ID of the class associated with the Reflect check-in. + class_id: Optional[str] = None + # Date and time when the Reflect check-in was created. 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. + created_date_time: Optional[datetime.datetime] = None + # ID of the user who created the Reflect check-in. + creator_id: Optional[str] = None + # Indicates whether the Reflect check-in is closed (true) or open (false). + is_closed: Optional[bool] = None + # The OdataType property + odata_type: Optional[str] = None + # ID of the user who responded to the Reflect check-in. + responder_id: Optional[str] = None + # The responseEmotion property + response_emotion: Optional[ResponseEmotionType] = None + # The responseFeedback property + response_feedback: Optional[ResponseFeedbackType] = None + # Date and time when the response to the Reflect check-in was submitted. 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. + submit_date_time: Optional[datetime.datetime] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> ReflectCheckInResponse: + """ + 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: ReflectCheckInResponse + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return ReflectCheckInResponse() + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .entity import Entity + from .response_emotion_type import ResponseEmotionType + from .response_feedback_type import ResponseFeedbackType + + from .entity import Entity + from .response_emotion_type import ResponseEmotionType + from .response_feedback_type import ResponseFeedbackType + + fields: Dict[str, Callable[[Any], None]] = { + "checkInId": lambda n : setattr(self, 'check_in_id', n.get_str_value()), + "checkInTitle": lambda n : setattr(self, 'check_in_title', n.get_str_value()), + "classId": lambda n : setattr(self, 'class_id', n.get_str_value()), + "createdDateTime": lambda n : setattr(self, 'created_date_time', n.get_datetime_value()), + "creatorId": lambda n : setattr(self, 'creator_id', n.get_str_value()), + "isClosed": lambda n : setattr(self, 'is_closed', n.get_bool_value()), + "responderId": lambda n : setattr(self, 'responder_id', n.get_str_value()), + "responseEmotion": lambda n : setattr(self, 'response_emotion', n.get_enum_value(ResponseEmotionType)), + "responseFeedback": lambda n : setattr(self, 'response_feedback', n.get_enum_value(ResponseFeedbackType)), + "submitDateTime": lambda n : setattr(self, 'submit_date_time', n.get_datetime_value()), + } + 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) + from .entity import Entity + from .response_emotion_type import ResponseEmotionType + from .response_feedback_type import ResponseFeedbackType + + writer.write_str_value("checkInId", self.check_in_id) + writer.write_str_value("checkInTitle", self.check_in_title) + writer.write_str_value("classId", self.class_id) + writer.write_datetime_value("createdDateTime", self.created_date_time) + writer.write_str_value("creatorId", self.creator_id) + writer.write_bool_value("isClosed", self.is_closed) + writer.write_str_value("responderId", self.responder_id) + writer.write_enum_value("responseEmotion", self.response_emotion) + writer.write_enum_value("responseFeedback", self.response_feedback) + writer.write_datetime_value("submitDateTime", self.submit_date_time) + + diff --git a/msgraph_beta/generated/models/reflect_check_in_response_collection_response.py b/msgraph_beta/generated/models/reflect_check_in_response_collection_response.py new file mode 100644 index 00000000000..821ff05a1a9 --- /dev/null +++ b/msgraph_beta/generated/models/reflect_check_in_response_collection_response.py @@ -0,0 +1,60 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .reflect_check_in_response import ReflectCheckInResponse + +from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + +@dataclass +class ReflectCheckInResponseCollectionResponse(BaseCollectionPaginationCountResponse): + # The value property + value: Optional[List[ReflectCheckInResponse]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> ReflectCheckInResponseCollectionResponse: + """ + 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: ReflectCheckInResponseCollectionResponse + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return ReflectCheckInResponseCollectionResponse() + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .reflect_check_in_response import ReflectCheckInResponse + + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .reflect_check_in_response import ReflectCheckInResponse + + fields: Dict[str, Callable[[Any], None]] = { + "value": lambda n : setattr(self, 'value', n.get_collection_of_object_values(ReflectCheckInResponse)), + } + 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) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .reflect_check_in_response import ReflectCheckInResponse + + writer.write_collection_of_object_values("value", self.value) + + diff --git a/msgraph_beta/generated/models/regex_replace_transformation.py b/msgraph_beta/generated/models/regex_replace_transformation.py index 6a535d3dc76..39991cd23cc 100644 --- a/msgraph_beta/generated/models/regex_replace_transformation.py +++ b/msgraph_beta/generated/models/regex_replace_transformation.py @@ -60,6 +60,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .custom_claim_transformation import CustomClaimTransformation + from .sourced_attribute import SourcedAttribute + writer.write_collection_of_object_values("additionalAttributes", self.additional_attributes) writer.write_str_value("regex", self.regex) writer.write_str_value("replacement", self.replacement) diff --git a/msgraph_beta/generated/models/regional_and_language_settings.py b/msgraph_beta/generated/models/regional_and_language_settings.py index 83073435531..ad1d5399492 100644 --- a/msgraph_beta/generated/models/regional_and_language_settings.py +++ b/msgraph_beta/generated/models/regional_and_language_settings.py @@ -78,6 +78,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .locale_info import LocaleInfo + from .regional_format_overrides import RegionalFormatOverrides + from .translation_preferences import TranslationPreferences + writer.write_collection_of_object_values("authoringLanguages", self.authoring_languages) writer.write_object_value("defaultDisplayLanguage", self.default_display_language) writer.write_object_value("defaultRegionalFormat", self.default_regional_format) diff --git a/msgraph_beta/generated/models/registration_enforcement.py b/msgraph_beta/generated/models/registration_enforcement.py index 42ac8a9d496..66e9b1a96cd 100644 --- a/msgraph_beta/generated/models/registration_enforcement.py +++ b/msgraph_beta/generated/models/registration_enforcement.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .authentication_methods_registration_campaign import AuthenticationMethodsRegistrationCampaign + writer.write_object_value("authenticationMethodsRegistrationCampaign", self.authentication_methods_registration_campaign) writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/registry_key_state.py b/msgraph_beta/generated/models/registry_key_state.py index 331b64f4793..3a44494da20 100644 --- a/msgraph_beta/generated/models/registry_key_state.py +++ b/msgraph_beta/generated/models/registry_key_state.py @@ -86,6 +86,10 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .registry_hive import RegistryHive + from .registry_operation import RegistryOperation + from .registry_value_type import RegistryValueType + writer.write_enum_value("hive", self.hive) writer.write_str_value("key", self.key) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/related_contact.py b/msgraph_beta/generated/models/related_contact.py index 307f34d6a8a..13451782457 100644 --- a/msgraph_beta/generated/models/related_contact.py +++ b/msgraph_beta/generated/models/related_contact.py @@ -68,6 +68,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .contact_relationship import ContactRelationship + writer.write_bool_value("accessConsent", self.access_consent) writer.write_str_value("displayName", self.display_name) writer.write_str_value("emailAddress", self.email_address) diff --git a/msgraph_beta/generated/models/related_person.py b/msgraph_beta/generated/models/related_person.py index 428f0b9c841..156c8b75f01 100644 --- a/msgraph_beta/generated/models/related_person.py +++ b/msgraph_beta/generated/models/related_person.py @@ -62,6 +62,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .person_relationship import PersonRelationship + writer.write_str_value("displayName", self.display_name) writer.write_str_value("@odata.type", self.odata_type) writer.write_enum_value("relationship", self.relationship) diff --git a/msgraph_beta/generated/models/relying_party_detailed_summary.py b/msgraph_beta/generated/models/relying_party_detailed_summary.py index cf6bf6e35ee..90d944aea5c 100644 --- a/msgraph_beta/generated/models/relying_party_detailed_summary.py +++ b/msgraph_beta/generated/models/relying_party_detailed_summary.py @@ -87,6 +87,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .key_value_pair import KeyValuePair + from .migration_status import MigrationStatus + writer.write_int_value("failedSignInCount", self.failed_sign_in_count) writer.write_enum_value("migrationStatus", self.migration_status) writer.write_collection_of_object_values("migrationValidationDetails", self.migration_validation_details) diff --git a/msgraph_beta/generated/models/reminder.py b/msgraph_beta/generated/models/reminder.py index f11499db337..9732de499d0 100644 --- a/msgraph_beta/generated/models/reminder.py +++ b/msgraph_beta/generated/models/reminder.py @@ -77,6 +77,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .date_time_time_zone import DateTimeTimeZone + from .location import Location + writer.write_str_value("changeKey", self.change_key) writer.write_object_value("eventEndTime", self.event_end_time) writer.write_str_value("eventId", self.event_id) diff --git a/msgraph_beta/generated/models/remote_action_audit.py b/msgraph_beta/generated/models/remote_action_audit.py index d1b190d591d..cc1927c4fcf 100644 --- a/msgraph_beta/generated/models/remote_action_audit.py +++ b/msgraph_beta/generated/models/remote_action_audit.py @@ -94,6 +94,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .action_state import ActionState + from .device_action_category import DeviceActionCategory + from .entity import Entity + from .remote_action import RemoteAction + writer.write_enum_value("action", self.action) writer.write_enum_value("actionState", self.action_state) writer.write_str_value("bulkDeviceActionId", self.bulk_device_action_id) diff --git a/msgraph_beta/generated/models/remote_action_audit_collection_response.py b/msgraph_beta/generated/models/remote_action_audit_collection_response.py index d74a90d66df..dd55a874b5c 100644 --- a/msgraph_beta/generated/models/remote_action_audit_collection_response.py +++ b/msgraph_beta/generated/models/remote_action_audit_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .remote_action_audit import RemoteActionAudit + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/remote_assistance_partner.py b/msgraph_beta/generated/models/remote_assistance_partner.py index 39683201634..7ebf4d50893 100644 --- a/msgraph_beta/generated/models/remote_assistance_partner.py +++ b/msgraph_beta/generated/models/remote_assistance_partner.py @@ -70,6 +70,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .remote_assistance_onboarding_status import RemoteAssistanceOnboardingStatus + writer.write_str_value("displayName", self.display_name) writer.write_datetime_value("lastConnectionDateTime", self.last_connection_date_time) writer.write_datetime_value("onboardingRequestExpiryDateTime", self.onboarding_request_expiry_date_time) diff --git a/msgraph_beta/generated/models/remote_assistance_partner_collection_response.py b/msgraph_beta/generated/models/remote_assistance_partner_collection_response.py index a4435621da8..b748576b9fa 100644 --- a/msgraph_beta/generated/models/remote_assistance_partner_collection_response.py +++ b/msgraph_beta/generated/models/remote_assistance_partner_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .remote_assistance_partner import RemoteAssistancePartner + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/remote_assistance_settings.py b/msgraph_beta/generated/models/remote_assistance_settings.py index 99fb728b230..1434f4a0ef5 100644 --- a/msgraph_beta/generated/models/remote_assistance_settings.py +++ b/msgraph_beta/generated/models/remote_assistance_settings.py @@ -63,6 +63,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .remote_assistance_state import RemoteAssistanceState + writer.write_bool_value("allowSessionsToUnenrolledDevices", self.allow_sessions_to_unenrolled_devices) writer.write_bool_value("blockChat", self.block_chat) writer.write_enum_value("remoteAssistanceState", self.remote_assistance_state) diff --git a/msgraph_beta/generated/models/remote_desktop_security_configuration.py b/msgraph_beta/generated/models/remote_desktop_security_configuration.py index 87f33e84067..66be2d2c629 100644 --- a/msgraph_beta/generated/models/remote_desktop_security_configuration.py +++ b/msgraph_beta/generated/models/remote_desktop_security_configuration.py @@ -57,6 +57,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .target_device_group import TargetDeviceGroup + writer.write_bool_value("isRemoteDesktopProtocolEnabled", self.is_remote_desktop_protocol_enabled) writer.write_collection_of_object_values("targetDeviceGroups", self.target_device_groups) diff --git a/msgraph_beta/generated/models/remote_item.py b/msgraph_beta/generated/models/remote_item.py index 82b20c171bc..c70f71159bc 100644 --- a/msgraph_beta/generated/models/remote_item.py +++ b/msgraph_beta/generated/models/remote_item.py @@ -138,6 +138,18 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .file import File + from .file_system_info import FileSystemInfo + from .folder import Folder + from .identity_set import IdentitySet + from .image import Image + from .item_reference import ItemReference + from .package import Package + from .shared import Shared + from .sharepoint_ids import SharepointIds + from .special_folder import SpecialFolder + from .video import Video + writer.write_object_value("createdBy", self.created_by) writer.write_datetime_value("createdDateTime", self.created_date_time) writer.write_object_value("file", self.file) diff --git a/msgraph_beta/generated/models/remote_lock_action_result.py b/msgraph_beta/generated/models/remote_lock_action_result.py index d355569b6df..5af9b1181a0 100644 --- a/msgraph_beta/generated/models/remote_lock_action_result.py +++ b/msgraph_beta/generated/models/remote_lock_action_result.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_action_result import DeviceActionResult + writer.write_str_value("unlockPin", self.unlock_pin) diff --git a/msgraph_beta/generated/models/remove_access_apply_action.py b/msgraph_beta/generated/models/remove_access_apply_action.py index fc10046dbe9..79c00dbe0a1 100644 --- a/msgraph_beta/generated/models/remove_access_apply_action.py +++ b/msgraph_beta/generated/models/remove_access_apply_action.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .access_review_apply_action import AccessReviewApplyAction + diff --git a/msgraph_beta/generated/models/remove_content_footer_action.py b/msgraph_beta/generated/models/remove_content_footer_action.py index 4e3ac1c90ff..5a2ef4f823f 100644 --- a/msgraph_beta/generated/models/remove_content_footer_action.py +++ b/msgraph_beta/generated/models/remove_content_footer_action.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .information_protection_action import InformationProtectionAction + writer.write_collection_of_primitive_values("uiElementNames", self.ui_element_names) diff --git a/msgraph_beta/generated/models/remove_content_header_action.py b/msgraph_beta/generated/models/remove_content_header_action.py index a14a511986c..eb4d1afe341 100644 --- a/msgraph_beta/generated/models/remove_content_header_action.py +++ b/msgraph_beta/generated/models/remove_content_header_action.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .information_protection_action import InformationProtectionAction + writer.write_collection_of_primitive_values("uiElementNames", self.ui_element_names) diff --git a/msgraph_beta/generated/models/remove_protection_action.py b/msgraph_beta/generated/models/remove_protection_action.py index 53e08b80570..7663b63c294 100644 --- a/msgraph_beta/generated/models/remove_protection_action.py +++ b/msgraph_beta/generated/models/remove_protection_action.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .information_protection_action import InformationProtectionAction + diff --git a/msgraph_beta/generated/models/remove_watermark_action.py b/msgraph_beta/generated/models/remove_watermark_action.py index ccbfb297bbe..afe0b91a91e 100644 --- a/msgraph_beta/generated/models/remove_watermark_action.py +++ b/msgraph_beta/generated/models/remove_watermark_action.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .information_protection_action import InformationProtectionAction + writer.write_collection_of_primitive_values("uiElementNames", self.ui_element_names) diff --git a/msgraph_beta/generated/models/report.py b/msgraph_beta/generated/models/report.py index c2532e8c588..8fc30e99007 100644 --- a/msgraph_beta/generated/models/report.py +++ b/msgraph_beta/generated/models/report.py @@ -14,7 +14,7 @@ class Report(AdditionalDataHolder, BackedModel, Parsable): # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. additional_data: Dict[str, Any] = field(default_factory=dict) - # The http content that has the data + # Report content; details vary by report type. content: Optional[bytes] = None # The OdataType property odata_type: Optional[str] = None diff --git a/msgraph_beta/generated/models/report_root.py b/msgraph_beta/generated/models/report_root.py index 49e70bb1651..df697d71d76 100644 --- a/msgraph_beta/generated/models/report_root.py +++ b/msgraph_beta/generated/models/report_root.py @@ -25,9 +25,6 @@ @dataclass class ReportRoot(Entity): - """ - The resource that represents an instance of Enrollment Failure Reports. - """ # Represents a collection of sign-in activities of application credentials. app_credential_sign_in_activities: Optional[List[AppCredentialSignInActivity]] = None # Represents a detailed summary of an application sign-in. @@ -159,6 +156,23 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .application_sign_in_detailed_summary import ApplicationSignInDetailedSummary + from .app_credential_sign_in_activity import AppCredentialSignInActivity + from .authentication_methods_root import AuthenticationMethodsRoot + from .credential_user_registration_details import CredentialUserRegistrationDetails + from .entity import Entity + from .health_monitoring.health_monitoring_root import HealthMonitoringRoot + from .partners.partners import Partners + from .print_usage import PrintUsage + from .print_usage_by_printer import PrintUsageByPrinter + from .print_usage_by_user import PrintUsageByUser + from .security_reports_root import SecurityReportsRoot + from .service_activity import ServiceActivity + from .service_level_agreement_root import ServiceLevelAgreementRoot + from .service_principal_sign_in_activity import ServicePrincipalSignInActivity + from .user_credential_usage_details import UserCredentialUsageDetails + from .user_insights_root import UserInsightsRoot + writer.write_collection_of_object_values("appCredentialSignInActivities", self.app_credential_sign_in_activities) writer.write_collection_of_object_values("applicationSignInDetailedSummary", self.application_sign_in_detailed_summary) writer.write_object_value("authenticationMethods", self.authentication_methods) diff --git a/msgraph_beta/generated/models/report_suspicious_activity_settings.py b/msgraph_beta/generated/models/report_suspicious_activity_settings.py index e775e566ef4..74d61df3de0 100644 --- a/msgraph_beta/generated/models/report_suspicious_activity_settings.py +++ b/msgraph_beta/generated/models/report_suspicious_activity_settings.py @@ -62,6 +62,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .advanced_config_state import AdvancedConfigState + from .include_target import IncludeTarget + writer.write_object_value("includeTarget", self.include_target) writer.write_str_value("@odata.type", self.odata_type) writer.write_enum_value("state", self.state) diff --git a/msgraph_beta/generated/models/reports_root.py b/msgraph_beta/generated/models/reports_root.py new file mode 100644 index 00000000000..ec72320d31c --- /dev/null +++ b/msgraph_beta/generated/models/reports_root.py @@ -0,0 +1,70 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .entity import Entity + from .reading_assignment_submission import ReadingAssignmentSubmission + from .reflect_check_in_response import ReflectCheckInResponse + +from .entity import Entity + +@dataclass +class ReportsRoot(Entity): + # The OdataType property + odata_type: Optional[str] = None + # The readingAssignmentSubmissions property + reading_assignment_submissions: Optional[List[ReadingAssignmentSubmission]] = None + # The reflectCheckInResponses property + reflect_check_in_responses: Optional[List[ReflectCheckInResponse]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> ReportsRoot: + """ + 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: ReportsRoot + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return ReportsRoot() + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .entity import Entity + from .reading_assignment_submission import ReadingAssignmentSubmission + from .reflect_check_in_response import ReflectCheckInResponse + + from .entity import Entity + from .reading_assignment_submission import ReadingAssignmentSubmission + from .reflect_check_in_response import ReflectCheckInResponse + + fields: Dict[str, Callable[[Any], None]] = { + "readingAssignmentSubmissions": lambda n : setattr(self, 'reading_assignment_submissions', n.get_collection_of_object_values(ReadingAssignmentSubmission)), + "reflectCheckInResponses": lambda n : setattr(self, 'reflect_check_in_responses', n.get_collection_of_object_values(ReflectCheckInResponse)), + } + 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) + from .entity import Entity + from .reading_assignment_submission import ReadingAssignmentSubmission + from .reflect_check_in_response import ReflectCheckInResponse + + writer.write_collection_of_object_values("readingAssignmentSubmissions", self.reading_assignment_submissions) + writer.write_collection_of_object_values("reflectCheckInResponses", self.reflect_check_in_responses) + + diff --git a/msgraph_beta/generated/models/request.py b/msgraph_beta/generated/models/request.py index b3453a1e24d..63f07851e75 100644 --- a/msgraph_beta/generated/models/request.py +++ b/msgraph_beta/generated/models/request.py @@ -43,7 +43,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> Request: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.privilegedAccessGroupAssignmentScheduleRequest".casefold(): @@ -116,6 +117,15 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .identity_set import IdentitySet + from .privileged_access_group_assignment_schedule_request import PrivilegedAccessGroupAssignmentScheduleRequest + from .privileged_access_group_eligibility_schedule_request import PrivilegedAccessGroupEligibilityScheduleRequest + from .privileged_access_schedule_request import PrivilegedAccessScheduleRequest + from .unified_role_assignment_schedule_request import UnifiedRoleAssignmentScheduleRequest + from .unified_role_eligibility_schedule_request import UnifiedRoleEligibilityScheduleRequest + from .user_consent_request import UserConsentRequest + writer.write_str_value("approvalId", self.approval_id) writer.write_datetime_value("completedDateTime", self.completed_date_time) writer.write_object_value("createdBy", self.created_by) diff --git a/msgraph_beta/generated/models/request_schedule.py b/msgraph_beta/generated/models/request_schedule.py index a75ac4b24fa..75add35906f 100644 --- a/msgraph_beta/generated/models/request_schedule.py +++ b/msgraph_beta/generated/models/request_schedule.py @@ -63,6 +63,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .expiration_pattern import ExpirationPattern + from .patterned_recurrence import PatternedRecurrence + writer.write_object_value("expiration", self.expiration) writer.write_str_value("@odata.type", self.odata_type) writer.write_object_value("recurrence", self.recurrence) diff --git a/msgraph_beta/generated/models/request_signature_verification.py b/msgraph_beta/generated/models/request_signature_verification.py index 7224237c60f..5ab2e8b3bf5 100644 --- a/msgraph_beta/generated/models/request_signature_verification.py +++ b/msgraph_beta/generated/models/request_signature_verification.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .weak_algorithms import WeakAlgorithms + writer.write_enum_value("allowedWeakAlgorithms", self.allowed_weak_algorithms) writer.write_bool_value("isSignedRequestRequired", self.is_signed_request_required) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/requestor_manager.py b/msgraph_beta/generated/models/requestor_manager.py index 1475f26bc59..3f994f579bd 100644 --- a/msgraph_beta/generated/models/requestor_manager.py +++ b/msgraph_beta/generated/models/requestor_manager.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .user_set import UserSet + writer.write_int_value("managerLevel", self.manager_level) diff --git a/msgraph_beta/generated/models/requestor_settings.py b/msgraph_beta/generated/models/requestor_settings.py index 87992029f35..7f915a7774b 100644 --- a/msgraph_beta/generated/models/requestor_settings.py +++ b/msgraph_beta/generated/models/requestor_settings.py @@ -59,6 +59,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .user_set import UserSet + writer.write_bool_value("acceptRequests", self.accept_requests) writer.write_collection_of_object_values("allowedRequestors", self.allowed_requestors) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/required_resource_access.py b/msgraph_beta/generated/models/required_resource_access.py index 06042fcad54..c0076cf197f 100644 --- a/msgraph_beta/generated/models/required_resource_access.py +++ b/msgraph_beta/generated/models/required_resource_access.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .resource_access import ResourceAccess + writer.write_str_value("@odata.type", self.odata_type) writer.write_collection_of_object_values("resourceAccess", self.resource_access) writer.write_str_value("resourceAppId", self.resource_app_id) diff --git a/msgraph_beta/generated/models/reseller_delegated_admin_relationship.py b/msgraph_beta/generated/models/reseller_delegated_admin_relationship.py index b10423f4f63..f094bd15fb1 100644 --- a/msgraph_beta/generated/models/reseller_delegated_admin_relationship.py +++ b/msgraph_beta/generated/models/reseller_delegated_admin_relationship.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .delegated_admin_relationship import DelegatedAdminRelationship + writer.write_str_value("indirectProviderTenantId", self.indirect_provider_tenant_id) writer.write_bool_value("isPartnerConsentPending", self.is_partner_consent_pending) diff --git a/msgraph_beta/generated/models/reset_passcode_action_result.py b/msgraph_beta/generated/models/reset_passcode_action_result.py index f3d13e1ea20..d159ec77951 100644 --- a/msgraph_beta/generated/models/reset_passcode_action_result.py +++ b/msgraph_beta/generated/models/reset_passcode_action_result.py @@ -57,6 +57,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_action_result import DeviceActionResult + writer.write_int_value("errorCode", self.error_code) writer.write_str_value("passcode", self.passcode) diff --git a/msgraph_beta/generated/models/resource_operation.py b/msgraph_beta/generated/models/resource_operation.py index 06829282baa..21a9d7a1348 100644 --- a/msgraph_beta/generated/models/resource_operation.py +++ b/msgraph_beta/generated/models/resource_operation.py @@ -66,6 +66,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_str_value("actionName", self.action_name) writer.write_str_value("description", self.description) writer.write_str_value("resourceName", self.resource_name) diff --git a/msgraph_beta/generated/models/resource_operation_collection_response.py b/msgraph_beta/generated/models/resource_operation_collection_response.py index 76a7360dc16..3be51334ad0 100644 --- a/msgraph_beta/generated/models/resource_operation_collection_response.py +++ b/msgraph_beta/generated/models/resource_operation_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .resource_operation import ResourceOperation + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/resource_specific_permission_grant.py b/msgraph_beta/generated/models/resource_specific_permission_grant.py index 3714f683965..32aee1e7650 100644 --- a/msgraph_beta/generated/models/resource_specific_permission_grant.py +++ b/msgraph_beta/generated/models/resource_specific_permission_grant.py @@ -63,6 +63,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .directory_object import DirectoryObject + writer.write_str_value("clientAppId", self.client_app_id) writer.write_str_value("clientId", self.client_id) writer.write_str_value("permission", self.permission) diff --git a/msgraph_beta/generated/models/resource_specific_permission_grant_collection_response.py b/msgraph_beta/generated/models/resource_specific_permission_grant_collection_response.py index 06a62c9d488..20e36e709ca 100644 --- a/msgraph_beta/generated/models/resource_specific_permission_grant_collection_response.py +++ b/msgraph_beta/generated/models/resource_specific_permission_grant_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .resource_specific_permission_grant import ResourceSpecificPermissionGrant + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/response_emotion_type.py b/msgraph_beta/generated/models/response_emotion_type.py new file mode 100644 index 00000000000..bbf4b0b0a17 --- /dev/null +++ b/msgraph_beta/generated/models/response_emotion_type.py @@ -0,0 +1,62 @@ +from enum import Enum + +class ResponseEmotionType(str, Enum): + None_ = "none", + Confident = "confident", + Excited = "excited", + Happy = "happy", + Motivated = "motivated", + Peaceful = "peaceful", + Ambitious = "ambitious", + Cheerful = "cheerful", + Comfortable = "comfortable", + Creative = "creative", + Determined = "determined", + Energized = "energized", + Focused = "focused", + Fulfilled = "fulfilled", + Grateful = "grateful", + Included = "included", + Inspired = "inspired", + Optimistic = "optimistic", + Proud = "proud", + Successful = "successful", + Valuable = "valuable", + Annoyed = "annoyed", + Bored = "bored", + Calm = "calm", + Confused = "confused", + Glad = "glad", + Content = "content", + Pensive = "pensive", + Reserved = "reserved", + Restless = "restless", + Shocked = "shocked", + Tired = "tired", + Angry = "angry", + Depressed = "depressed", + Exhausted = "exhausted", + Lonely = "lonely", + Nervous = "nervous", + Anxious = "anxious", + Apathetic = "apathetic", + Concerned = "concerned", + Disappointed = "disappointed", + Frightened = "frightened", + Frustrated = "frustrated", + Hopeless = "hopeless", + Hurt = "hurt", + Jealous = "jealous", + Miserable = "miserable", + Overwhelmed = "overwhelmed", + Skeptical = "skeptical", + Stressed = "stressed", + Stuck = "stuck", + Worthless = "worthless", + Awed = "awed", + Ashamed = "ashamed", + Curious = "curious", + Sensitive = "sensitive", + Sad = "sad", + UnknownFutureValue = "unknownFutureValue", + diff --git a/msgraph_beta/generated/models/response_feedback_type.py b/msgraph_beta/generated/models/response_feedback_type.py new file mode 100644 index 00000000000..2ea430f7954 --- /dev/null +++ b/msgraph_beta/generated/models/response_feedback_type.py @@ -0,0 +1,12 @@ +from enum import Enum + +class ResponseFeedbackType(str, Enum): + None_ = "none", + NotDetected = "notDetected", + VeryUnpleasant = "veryUnpleasant", + Unpleasant = "unpleasant", + Neutral = "neutral", + Pleasant = "pleasant", + VeryPleasant = "veryPleasant", + UnknownFutureValue = "unknownFutureValue", + diff --git a/msgraph_beta/generated/models/response_status.py b/msgraph_beta/generated/models/response_status.py index 3c143c215c0..bbc756d3655 100644 --- a/msgraph_beta/generated/models/response_status.py +++ b/msgraph_beta/generated/models/response_status.py @@ -57,6 +57,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .response_type import ResponseType + writer.write_str_value("@odata.type", self.odata_type) writer.write_enum_value("response", self.response) writer.write_datetime_value("time", self.time) diff --git a/msgraph_beta/generated/models/restore_artifact_base.py b/msgraph_beta/generated/models/restore_artifact_base.py index 31b6a335542..e619bb01c5a 100644 --- a/msgraph_beta/generated/models/restore_artifact_base.py +++ b/msgraph_beta/generated/models/restore_artifact_base.py @@ -44,7 +44,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> RestoreArtifactBas if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.driveRestoreArtifact".casefold(): @@ -111,6 +112,16 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .artifact_restore_status import ArtifactRestoreStatus + from .destination_type import DestinationType + from .drive_restore_artifact import DriveRestoreArtifact + from .entity import Entity + from .granular_mailbox_restore_artifact import GranularMailboxRestoreArtifact + from .mailbox_restore_artifact import MailboxRestoreArtifact + from .public_error import PublicError + from .restore_point import RestorePoint + from .site_restore_artifact import SiteRestoreArtifact + writer.write_datetime_value("completionDateTime", self.completion_date_time) writer.write_enum_value("destinationType", self.destination_type) writer.write_object_value("error", self.error) diff --git a/msgraph_beta/generated/models/restore_artifacts_bulk_request_base.py b/msgraph_beta/generated/models/restore_artifacts_bulk_request_base.py new file mode 100644 index 00000000000..8a2881b4b2a --- /dev/null +++ b/msgraph_beta/generated/models/restore_artifacts_bulk_request_base.py @@ -0,0 +1,160 @@ +from __future__ import annotations +import datetime +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .destination_type import DestinationType + from .drive_restore_artifacts_bulk_addition_request import DriveRestoreArtifactsBulkAdditionRequest + from .entity import Entity + from .identity_set import IdentitySet + from .mailbox_restore_artifacts_bulk_addition_request import MailboxRestoreArtifactsBulkAdditionRequest + from .public_error import PublicError + from .restore_artifacts_bulk_request_status import RestoreArtifactsBulkRequestStatus + from .restore_point_preference import RestorePointPreference + from .restore_point_tags import RestorePointTags + from .site_restore_artifacts_bulk_addition_request import SiteRestoreArtifactsBulkAdditionRequest + from .time_period import TimePeriod + +from .entity import Entity + +@dataclass +class RestoreArtifactsBulkRequestBase(Entity): + # The createdBy property + created_by: Optional[IdentitySet] = None + # The createdDateTime property + created_date_time: Optional[datetime.datetime] = None + # The destinationType property + destination_type: Optional[DestinationType] = None + # The displayName property + display_name: Optional[str] = None + # The error property + error: Optional[PublicError] = None + # The lastModifiedBy property + last_modified_by: Optional[IdentitySet] = None + # The lastModifiedDateTime property + last_modified_date_time: Optional[datetime.datetime] = None + # The OdataType property + odata_type: Optional[str] = None + # The protectionTimePeriod property + protection_time_period: Optional[TimePeriod] = None + # The protectionUnitIds property + protection_unit_ids: Optional[List[str]] = None + # The restorePointPreference property + restore_point_preference: Optional[RestorePointPreference] = None + # The status property + status: Optional[RestoreArtifactsBulkRequestStatus] = None + # The tags property + tags: Optional[RestorePointTags] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> RestoreArtifactsBulkRequestBase: + """ + 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: RestoreArtifactsBulkRequestBase + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + try: + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None + except AttributeError: + mapping_value = None + if mapping_value and mapping_value.casefold() == "#microsoft.graph.driveRestoreArtifactsBulkAdditionRequest".casefold(): + from .drive_restore_artifacts_bulk_addition_request import DriveRestoreArtifactsBulkAdditionRequest + + return DriveRestoreArtifactsBulkAdditionRequest() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.mailboxRestoreArtifactsBulkAdditionRequest".casefold(): + from .mailbox_restore_artifacts_bulk_addition_request import MailboxRestoreArtifactsBulkAdditionRequest + + return MailboxRestoreArtifactsBulkAdditionRequest() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.siteRestoreArtifactsBulkAdditionRequest".casefold(): + from .site_restore_artifacts_bulk_addition_request import SiteRestoreArtifactsBulkAdditionRequest + + return SiteRestoreArtifactsBulkAdditionRequest() + return RestoreArtifactsBulkRequestBase() + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .destination_type import DestinationType + from .drive_restore_artifacts_bulk_addition_request import DriveRestoreArtifactsBulkAdditionRequest + from .entity import Entity + from .identity_set import IdentitySet + from .mailbox_restore_artifacts_bulk_addition_request import MailboxRestoreArtifactsBulkAdditionRequest + from .public_error import PublicError + from .restore_artifacts_bulk_request_status import RestoreArtifactsBulkRequestStatus + from .restore_point_preference import RestorePointPreference + from .restore_point_tags import RestorePointTags + from .site_restore_artifacts_bulk_addition_request import SiteRestoreArtifactsBulkAdditionRequest + from .time_period import TimePeriod + + from .destination_type import DestinationType + from .drive_restore_artifacts_bulk_addition_request import DriveRestoreArtifactsBulkAdditionRequest + from .entity import Entity + from .identity_set import IdentitySet + from .mailbox_restore_artifacts_bulk_addition_request import MailboxRestoreArtifactsBulkAdditionRequest + from .public_error import PublicError + from .restore_artifacts_bulk_request_status import RestoreArtifactsBulkRequestStatus + from .restore_point_preference import RestorePointPreference + from .restore_point_tags import RestorePointTags + from .site_restore_artifacts_bulk_addition_request import SiteRestoreArtifactsBulkAdditionRequest + from .time_period import TimePeriod + + fields: Dict[str, Callable[[Any], None]] = { + "createdBy": lambda n : setattr(self, 'created_by', n.get_object_value(IdentitySet)), + "createdDateTime": lambda n : setattr(self, 'created_date_time', n.get_datetime_value()), + "destinationType": lambda n : setattr(self, 'destination_type', n.get_enum_value(DestinationType)), + "displayName": lambda n : setattr(self, 'display_name', n.get_str_value()), + "error": lambda n : setattr(self, 'error', n.get_object_value(PublicError)), + "lastModifiedBy": lambda n : setattr(self, 'last_modified_by', n.get_object_value(IdentitySet)), + "lastModifiedDateTime": lambda n : setattr(self, 'last_modified_date_time', n.get_datetime_value()), + "protectionTimePeriod": lambda n : setattr(self, 'protection_time_period', n.get_object_value(TimePeriod)), + "protectionUnitIds": lambda n : setattr(self, 'protection_unit_ids', n.get_collection_of_primitive_values(str)), + "restorePointPreference": lambda n : setattr(self, 'restore_point_preference', n.get_enum_value(RestorePointPreference)), + "status": lambda n : setattr(self, 'status', n.get_enum_value(RestoreArtifactsBulkRequestStatus)), + "tags": lambda n : setattr(self, 'tags', n.get_collection_of_enum_values(RestorePointTags)), + } + 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) + from .destination_type import DestinationType + from .drive_restore_artifacts_bulk_addition_request import DriveRestoreArtifactsBulkAdditionRequest + from .entity import Entity + from .identity_set import IdentitySet + from .mailbox_restore_artifacts_bulk_addition_request import MailboxRestoreArtifactsBulkAdditionRequest + from .public_error import PublicError + from .restore_artifacts_bulk_request_status import RestoreArtifactsBulkRequestStatus + from .restore_point_preference import RestorePointPreference + from .restore_point_tags import RestorePointTags + from .site_restore_artifacts_bulk_addition_request import SiteRestoreArtifactsBulkAdditionRequest + from .time_period import TimePeriod + + writer.write_object_value("createdBy", self.created_by) + writer.write_datetime_value("createdDateTime", self.created_date_time) + writer.write_enum_value("destinationType", self.destination_type) + writer.write_str_value("displayName", self.display_name) + writer.write_object_value("error", self.error) + writer.write_object_value("lastModifiedBy", self.last_modified_by) + writer.write_datetime_value("lastModifiedDateTime", self.last_modified_date_time) + writer.write_object_value("protectionTimePeriod", self.protection_time_period) + writer.write_collection_of_primitive_values("protectionUnitIds", self.protection_unit_ids) + writer.write_enum_value("restorePointPreference", self.restore_point_preference) + writer.write_enum_value("status", self.status) + writer.write_enum_value("tags", self.tags) + + diff --git a/msgraph_beta/generated/models/restore_artifacts_bulk_request_status.py b/msgraph_beta/generated/models/restore_artifacts_bulk_request_status.py new file mode 100644 index 00000000000..32c302923be --- /dev/null +++ b/msgraph_beta/generated/models/restore_artifacts_bulk_request_status.py @@ -0,0 +1,9 @@ +from enum import Enum + +class RestoreArtifactsBulkRequestStatus(str, Enum): + Unknown = "unknown", + Active = "active", + Completed = "completed", + CompletedWithErrors = "completedWithErrors", + UnknownFutureValue = "unknownFutureValue", + diff --git a/msgraph_beta/generated/models/restore_point.py b/msgraph_beta/generated/models/restore_point.py index b3cb61833de..999dceaeaa1 100644 --- a/msgraph_beta/generated/models/restore_point.py +++ b/msgraph_beta/generated/models/restore_point.py @@ -67,6 +67,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .protection_unit_base import ProtectionUnitBase + from .restore_point_tags import RestorePointTags + writer.write_datetime_value("expirationDateTime", self.expiration_date_time) writer.write_datetime_value("protectionDateTime", self.protection_date_time) writer.write_object_value("protectionUnit", self.protection_unit) diff --git a/msgraph_beta/generated/models/restore_point_collection_response.py b/msgraph_beta/generated/models/restore_point_collection_response.py index 6d50e348e18..e91660b16b6 100644 --- a/msgraph_beta/generated/models/restore_point_collection_response.py +++ b/msgraph_beta/generated/models/restore_point_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .restore_point import RestorePoint + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/restore_point_search_response.py b/msgraph_beta/generated/models/restore_point_search_response.py index 0682817516a..fdd2b14b6ba 100644 --- a/msgraph_beta/generated/models/restore_point_search_response.py +++ b/msgraph_beta/generated/models/restore_point_search_response.py @@ -59,6 +59,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .restore_point_search_result import RestorePointSearchResult + writer.write_collection_of_primitive_values("noResultProtectionUnitIds", self.no_result_protection_unit_ids) writer.write_str_value("@odata.type", self.odata_type) writer.write_str_value("searchResponseId", self.search_response_id) diff --git a/msgraph_beta/generated/models/restore_point_search_result.py b/msgraph_beta/generated/models/restore_point_search_result.py index dff3e36c1e8..1995a617c64 100644 --- a/msgraph_beta/generated/models/restore_point_search_result.py +++ b/msgraph_beta/generated/models/restore_point_search_result.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .restore_point import RestorePoint + writer.write_int_value("artifactHitCount", self.artifact_hit_count) writer.write_str_value("@odata.type", self.odata_type) writer.write_object_value("restorePoint", self.restore_point) diff --git a/msgraph_beta/generated/models/restore_session_base.py b/msgraph_beta/generated/models/restore_session_base.py index 017b2d56dc7..5db114bf705 100644 --- a/msgraph_beta/generated/models/restore_session_base.py +++ b/msgraph_beta/generated/models/restore_session_base.py @@ -44,7 +44,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> RestoreSessionBase if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.exchangeRestoreSession".casefold(): @@ -104,6 +105,14 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .exchange_restore_session import ExchangeRestoreSession + from .identity_set import IdentitySet + from .one_drive_for_business_restore_session import OneDriveForBusinessRestoreSession + from .public_error import PublicError + from .restore_session_status import RestoreSessionStatus + from .share_point_restore_session import SharePointRestoreSession + writer.write_datetime_value("completedDateTime", self.completed_date_time) writer.write_object_value("createdBy", self.created_by) writer.write_datetime_value("createdDateTime", self.created_date_time) diff --git a/msgraph_beta/generated/models/restore_session_base_collection_response.py b/msgraph_beta/generated/models/restore_session_base_collection_response.py index 70313c90696..138ed47fb9e 100644 --- a/msgraph_beta/generated/models/restore_session_base_collection_response.py +++ b/msgraph_beta/generated/models/restore_session_base_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .restore_session_base import RestoreSessionBase + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/restricted_apps_violation.py b/msgraph_beta/generated/models/restricted_apps_violation.py index f880aee041b..846c388fcf0 100644 --- a/msgraph_beta/generated/models/restricted_apps_violation.py +++ b/msgraph_beta/generated/models/restricted_apps_violation.py @@ -87,6 +87,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .managed_device_reported_app import ManagedDeviceReportedApp + from .policy_platform_type import PolicyPlatformType + from .restricted_apps_state import RestrictedAppsState + writer.write_str_value("deviceConfigurationId", self.device_configuration_id) writer.write_str_value("deviceConfigurationName", self.device_configuration_name) writer.write_str_value("deviceName", self.device_name) diff --git a/msgraph_beta/generated/models/restricted_apps_violation_collection_response.py b/msgraph_beta/generated/models/restricted_apps_violation_collection_response.py index b9bea57787d..122d41e3ace 100644 --- a/msgraph_beta/generated/models/restricted_apps_violation_collection_response.py +++ b/msgraph_beta/generated/models/restricted_apps_violation_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .restricted_apps_violation import RestrictedAppsViolation + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/result_template_dictionary.py b/msgraph_beta/generated/models/result_template_dictionary.py index b9c84a35acf..227d891cbcf 100644 --- a/msgraph_beta/generated/models/result_template_dictionary.py +++ b/msgraph_beta/generated/models/result_template_dictionary.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .dictionary import Dictionary + diff --git a/msgraph_beta/generated/models/retention_label_settings.py b/msgraph_beta/generated/models/retention_label_settings.py index 05cd08cb759..192c2e537fc 100644 --- a/msgraph_beta/generated/models/retention_label_settings.py +++ b/msgraph_beta/generated/models/retention_label_settings.py @@ -68,6 +68,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .security.behavior_during_retention_period import BehaviorDuringRetentionPeriod + writer.write_enum_value("behaviorDuringRetentionPeriod", self.behavior_during_retention_period) writer.write_bool_value("isContentUpdateAllowed", self.is_content_update_allowed) writer.write_bool_value("isDeleteAllowed", self.is_delete_allowed) diff --git a/msgraph_beta/generated/models/retire_scheduled_managed_device.py b/msgraph_beta/generated/models/retire_scheduled_managed_device.py index 30fe4e3e9b5..db61c0686f2 100644 --- a/msgraph_beta/generated/models/retire_scheduled_managed_device.py +++ b/msgraph_beta/generated/models/retire_scheduled_managed_device.py @@ -96,6 +96,11 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .compliance_status import ComplianceStatus + from .device_type import DeviceType + from .managed_device_owner_type import ManagedDeviceOwnerType + from .management_agent_type import ManagementAgentType + writer.write_enum_value("complianceState", self.compliance_state) writer.write_str_value("deviceCompliancePolicyId", self.device_compliance_policy_id) writer.write_str_value("deviceCompliancePolicyName", self.device_compliance_policy_name) diff --git a/msgraph_beta/generated/models/revoke_apple_vpp_licenses_action_result.py b/msgraph_beta/generated/models/revoke_apple_vpp_licenses_action_result.py index 45a0f7ca8e3..1cdda5ac2e2 100644 --- a/msgraph_beta/generated/models/revoke_apple_vpp_licenses_action_result.py +++ b/msgraph_beta/generated/models/revoke_apple_vpp_licenses_action_result.py @@ -57,6 +57,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_action_result import DeviceActionResult + writer.write_int_value("failedLicensesCount", self.failed_licenses_count) writer.write_int_value("totalLicensesCount", self.total_licenses_count) diff --git a/msgraph_beta/generated/models/rich_long_running_operation.py b/msgraph_beta/generated/models/rich_long_running_operation.py index aba09806720..49ae9493af7 100644 --- a/msgraph_beta/generated/models/rich_long_running_operation.py +++ b/msgraph_beta/generated/models/rich_long_running_operation.py @@ -66,6 +66,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .long_running_operation import LongRunningOperation + from .public_error import PublicError + writer.write_object_value("error", self.error) writer.write_int_value("percentageComplete", self.percentage_complete) writer.write_str_value("resourceId", self.resource_id) diff --git a/msgraph_beta/generated/models/rich_long_running_operation_collection_response.py b/msgraph_beta/generated/models/rich_long_running_operation_collection_response.py index f2eb10e0ff1..8dd89800b65 100644 --- a/msgraph_beta/generated/models/rich_long_running_operation_collection_response.py +++ b/msgraph_beta/generated/models/rich_long_running_operation_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .rich_long_running_operation import RichLongRunningOperation + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/risk_detection.py b/msgraph_beta/generated/models/risk_detection.py index 8b006464b7f..001ced65a68 100644 --- a/msgraph_beta/generated/models/risk_detection.py +++ b/msgraph_beta/generated/models/risk_detection.py @@ -136,6 +136,16 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .activity_type import ActivityType + from .entity import Entity + from .risk_detail import RiskDetail + from .risk_detection_timing_type import RiskDetectionTimingType + from .risk_event_type import RiskEventType + from .risk_level import RiskLevel + from .risk_state import RiskState + from .sign_in_location import SignInLocation + from .token_issuer_type import TokenIssuerType + writer.write_enum_value("activity", self.activity) writer.write_datetime_value("activityDateTime", self.activity_date_time) writer.write_str_value("additionalInfo", self.additional_info) diff --git a/msgraph_beta/generated/models/risk_detection_collection_response.py b/msgraph_beta/generated/models/risk_detection_collection_response.py index 290f1cefc4c..023f6d6614c 100644 --- a/msgraph_beta/generated/models/risk_detection_collection_response.py +++ b/msgraph_beta/generated/models/risk_detection_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .risk_detection import RiskDetection + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/risk_service_principal_activity.py b/msgraph_beta/generated/models/risk_service_principal_activity.py index 42a4a237893..1a13c6b7eec 100644 --- a/msgraph_beta/generated/models/risk_service_principal_activity.py +++ b/msgraph_beta/generated/models/risk_service_principal_activity.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .risk_detail import RiskDetail + writer.write_enum_value("detail", self.detail) writer.write_str_value("@odata.type", self.odata_type) writer.write_collection_of_primitive_values("riskEventTypes", self.risk_event_types) diff --git a/msgraph_beta/generated/models/risk_user_activity.py b/msgraph_beta/generated/models/risk_user_activity.py index ca649a76ef4..aef5e9eb402 100644 --- a/msgraph_beta/generated/models/risk_user_activity.py +++ b/msgraph_beta/generated/models/risk_user_activity.py @@ -62,6 +62,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .risk_detail import RiskDetail + from .risk_event_type import RiskEventType + writer.write_enum_value("detail", self.detail) writer.write_collection_of_enum_values("eventTypes", self.event_types) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/risky_service_principal.py b/msgraph_beta/generated/models/risky_service_principal.py index 1b12e381788..089fc709e8a 100644 --- a/msgraph_beta/generated/models/risky_service_principal.py +++ b/msgraph_beta/generated/models/risky_service_principal.py @@ -50,7 +50,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> RiskyServicePrinci if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.riskyServicePrincipalHistoryItem".casefold(): @@ -102,6 +103,12 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .risky_service_principal_history_item import RiskyServicePrincipalHistoryItem + from .risk_detail import RiskDetail + from .risk_level import RiskLevel + from .risk_state import RiskState + writer.write_bool_value("accountEnabled", self.account_enabled) writer.write_str_value("appId", self.app_id) writer.write_str_value("displayName", self.display_name) diff --git a/msgraph_beta/generated/models/risky_service_principal_collection_response.py b/msgraph_beta/generated/models/risky_service_principal_collection_response.py index 18e10e4c026..bf981374df6 100644 --- a/msgraph_beta/generated/models/risky_service_principal_collection_response.py +++ b/msgraph_beta/generated/models/risky_service_principal_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .risky_service_principal import RiskyServicePrincipal + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/risky_service_principal_history_item.py b/msgraph_beta/generated/models/risky_service_principal_history_item.py index fac8ce7680b..2f5d7b03f77 100644 --- a/msgraph_beta/generated/models/risky_service_principal_history_item.py +++ b/msgraph_beta/generated/models/risky_service_principal_history_item.py @@ -60,6 +60,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .risky_service_principal import RiskyServicePrincipal + from .risk_service_principal_activity import RiskServicePrincipalActivity + writer.write_object_value("activity", self.activity) writer.write_str_value("initiatedBy", self.initiated_by) writer.write_str_value("servicePrincipalId", self.service_principal_id) diff --git a/msgraph_beta/generated/models/risky_service_principal_history_item_collection_response.py b/msgraph_beta/generated/models/risky_service_principal_history_item_collection_response.py index 19d4464abef..e5e7b2a06b2 100644 --- a/msgraph_beta/generated/models/risky_service_principal_history_item_collection_response.py +++ b/msgraph_beta/generated/models/risky_service_principal_history_item_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .risky_service_principal_history_item import RiskyServicePrincipalHistoryItem + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/risky_user.py b/msgraph_beta/generated/models/risky_user.py index a707a451953..1bc57b76a3e 100644 --- a/msgraph_beta/generated/models/risky_user.py +++ b/msgraph_beta/generated/models/risky_user.py @@ -46,7 +46,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> RiskyUser: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.riskyUserHistoryItem".casefold(): @@ -96,6 +97,12 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .risky_user_history_item import RiskyUserHistoryItem + from .risk_detail import RiskDetail + from .risk_level import RiskLevel + from .risk_state import RiskState + writer.write_collection_of_object_values("history", self.history) writer.write_bool_value("isDeleted", self.is_deleted) writer.write_bool_value("isProcessing", self.is_processing) diff --git a/msgraph_beta/generated/models/risky_user_collection_response.py b/msgraph_beta/generated/models/risky_user_collection_response.py index 015a41c4279..eadd08d5d96 100644 --- a/msgraph_beta/generated/models/risky_user_collection_response.py +++ b/msgraph_beta/generated/models/risky_user_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .risky_user import RiskyUser + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/risky_user_history_item.py b/msgraph_beta/generated/models/risky_user_history_item.py index 467bc8ba1ab..53a80c8b79e 100644 --- a/msgraph_beta/generated/models/risky_user_history_item.py +++ b/msgraph_beta/generated/models/risky_user_history_item.py @@ -60,6 +60,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .risky_user import RiskyUser + from .risk_user_activity import RiskUserActivity + writer.write_object_value("activity", self.activity) writer.write_str_value("initiatedBy", self.initiated_by) writer.write_str_value("userId", self.user_id) diff --git a/msgraph_beta/generated/models/risky_user_history_item_collection_response.py b/msgraph_beta/generated/models/risky_user_history_item_collection_response.py index 1eea2458869..4aebfe08eae 100644 --- a/msgraph_beta/generated/models/risky_user_history_item_collection_response.py +++ b/msgraph_beta/generated/models/risky_user_history_item_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .risky_user_history_item import RiskyUserHistoryItem + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/role_assignment.py b/msgraph_beta/generated/models/role_assignment.py index 4c09f3e3747..987a2cce8cd 100644 --- a/msgraph_beta/generated/models/role_assignment.py +++ b/msgraph_beta/generated/models/role_assignment.py @@ -41,7 +41,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> RoleAssignment: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.deviceAndAppManagementRoleAssignment".casefold(): @@ -86,6 +87,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_and_app_management_role_assignment import DeviceAndAppManagementRoleAssignment + from .entity import Entity + from .role_assignment_scope_type import RoleAssignmentScopeType + from .role_definition import RoleDefinition + writer.write_str_value("description", self.description) writer.write_str_value("displayName", self.display_name) writer.write_collection_of_primitive_values("resourceScopes", self.resource_scopes) diff --git a/msgraph_beta/generated/models/role_assignment_collection_response.py b/msgraph_beta/generated/models/role_assignment_collection_response.py index 032f5d1cfd4..cac565472f6 100644 --- a/msgraph_beta/generated/models/role_assignment_collection_response.py +++ b/msgraph_beta/generated/models/role_assignment_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .role_assignment import RoleAssignment + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/role_definition.py b/msgraph_beta/generated/models/role_definition.py index 64e0f7bd5e4..10510476780 100644 --- a/msgraph_beta/generated/models/role_definition.py +++ b/msgraph_beta/generated/models/role_definition.py @@ -45,7 +45,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> RoleDefinition: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.deviceAndAppManagementRoleDefinition".casefold(): @@ -92,6 +93,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_and_app_management_role_definition import DeviceAndAppManagementRoleDefinition + from .entity import Entity + from .role_assignment import RoleAssignment + from .role_permission import RolePermission + writer.write_str_value("description", self.description) writer.write_str_value("displayName", self.display_name) writer.write_bool_value("isBuiltIn", self.is_built_in) diff --git a/msgraph_beta/generated/models/role_definition_collection_response.py b/msgraph_beta/generated/models/role_definition_collection_response.py index 0d819d3becd..6488c86ec04 100644 --- a/msgraph_beta/generated/models/role_definition_collection_response.py +++ b/msgraph_beta/generated/models/role_definition_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .role_definition import RoleDefinition + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/role_management.py b/msgraph_beta/generated/models/role_management.py index 3a3914f6f91..c80c50881e0 100644 --- a/msgraph_beta/generated/models/role_management.py +++ b/msgraph_beta/generated/models/role_management.py @@ -77,6 +77,10 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .rbac_application import RbacApplication + from .rbac_application_multiple import RbacApplicationMultiple + from .unified_rbac_application import UnifiedRbacApplication + writer.write_object_value("cloudPC", self.cloud_p_c) writer.write_object_value("defender", self.defender) writer.write_object_value("deviceManagement", self.device_management) diff --git a/msgraph_beta/generated/models/role_management_alert.py b/msgraph_beta/generated/models/role_management_alert.py index a55e7f3ccce..01766ed9984 100644 --- a/msgraph_beta/generated/models/role_management_alert.py +++ b/msgraph_beta/generated/models/role_management_alert.py @@ -72,6 +72,12 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .long_running_operation import LongRunningOperation + from .unified_role_management_alert import UnifiedRoleManagementAlert + from .unified_role_management_alert_configuration import UnifiedRoleManagementAlertConfiguration + from .unified_role_management_alert_definition import UnifiedRoleManagementAlertDefinition + writer.write_collection_of_object_values("alertConfigurations", self.alert_configurations) writer.write_collection_of_object_values("alertDefinitions", self.alert_definitions) writer.write_collection_of_object_values("alerts", self.alerts) diff --git a/msgraph_beta/generated/models/role_membership_governance_criteria.py b/msgraph_beta/generated/models/role_membership_governance_criteria.py index 3d89cb2136f..b2d210214e5 100644 --- a/msgraph_beta/generated/models/role_membership_governance_criteria.py +++ b/msgraph_beta/generated/models/role_membership_governance_criteria.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .governance_criteria import GovernanceCriteria + writer.write_str_value("roleId", self.role_id) writer.write_str_value("roleTemplateId", self.role_template_id) diff --git a/msgraph_beta/generated/models/role_permission.py b/msgraph_beta/generated/models/role_permission.py index bf6a8cf88de..942668b2cd2 100644 --- a/msgraph_beta/generated/models/role_permission.py +++ b/msgraph_beta/generated/models/role_permission.py @@ -59,6 +59,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .resource_action import ResourceAction + writer.write_collection_of_primitive_values("actions", self.actions) writer.write_str_value("@odata.type", self.odata_type) writer.write_collection_of_object_values("resourceActions", self.resource_actions) diff --git a/msgraph_beta/generated/models/role_scope_tag.py b/msgraph_beta/generated/models/role_scope_tag.py index a3f42ebda4b..c965f6538a8 100644 --- a/msgraph_beta/generated/models/role_scope_tag.py +++ b/msgraph_beta/generated/models/role_scope_tag.py @@ -66,6 +66,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .role_scope_tag_auto_assignment import RoleScopeTagAutoAssignment + writer.write_collection_of_object_values("assignments", self.assignments) writer.write_str_value("description", self.description) writer.write_str_value("displayName", self.display_name) diff --git a/msgraph_beta/generated/models/role_scope_tag_auto_assignment.py b/msgraph_beta/generated/models/role_scope_tag_auto_assignment.py index 0386cbf4bc5..2f54698fabb 100644 --- a/msgraph_beta/generated/models/role_scope_tag_auto_assignment.py +++ b/msgraph_beta/generated/models/role_scope_tag_auto_assignment.py @@ -57,6 +57,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_and_app_management_assignment_target import DeviceAndAppManagementAssignmentTarget + from .entity import Entity + writer.write_object_value("target", self.target) diff --git a/msgraph_beta/generated/models/role_scope_tag_auto_assignment_collection_response.py b/msgraph_beta/generated/models/role_scope_tag_auto_assignment_collection_response.py index d5ef5d217eb..e93dde210b9 100644 --- a/msgraph_beta/generated/models/role_scope_tag_auto_assignment_collection_response.py +++ b/msgraph_beta/generated/models/role_scope_tag_auto_assignment_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .role_scope_tag_auto_assignment import RoleScopeTagAutoAssignment + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/role_scope_tag_collection_response.py b/msgraph_beta/generated/models/role_scope_tag_collection_response.py index 872a2c48db2..4c1f3be9664 100644 --- a/msgraph_beta/generated/models/role_scope_tag_collection_response.py +++ b/msgraph_beta/generated/models/role_scope_tag_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .role_scope_tag import RoleScopeTag + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/roles_assigned_outside_privileged_identity_management_alert_configuration.py b/msgraph_beta/generated/models/roles_assigned_outside_privileged_identity_management_alert_configuration.py index c2a401a7ee2..b0e493ccd59 100644 --- a/msgraph_beta/generated/models/roles_assigned_outside_privileged_identity_management_alert_configuration.py +++ b/msgraph_beta/generated/models/roles_assigned_outside_privileged_identity_management_alert_configuration.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .unified_role_management_alert_configuration import UnifiedRoleManagementAlertConfiguration + diff --git a/msgraph_beta/generated/models/roles_assigned_outside_privileged_identity_management_alert_incident.py b/msgraph_beta/generated/models/roles_assigned_outside_privileged_identity_management_alert_incident.py index 5c214a83f98..196851dda2d 100644 --- a/msgraph_beta/generated/models/roles_assigned_outside_privileged_identity_management_alert_incident.py +++ b/msgraph_beta/generated/models/roles_assigned_outside_privileged_identity_management_alert_incident.py @@ -70,6 +70,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .unified_role_management_alert_incident import UnifiedRoleManagementAlertIncident + writer.write_str_value("assigneeDisplayName", self.assignee_display_name) writer.write_str_value("assigneeId", self.assignee_id) writer.write_str_value("assigneeUserPrincipalName", self.assignee_user_principal_name) diff --git a/msgraph_beta/generated/models/room.py b/msgraph_beta/generated/models/room.py index 39e4aa16961..bcd8afedbf9 100644 --- a/msgraph_beta/generated/models/room.py +++ b/msgraph_beta/generated/models/room.py @@ -90,6 +90,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .booking_type import BookingType + from .place import Place + writer.write_str_value("audioDeviceName", self.audio_device_name) writer.write_enum_value("bookingType", self.booking_type) writer.write_str_value("building", self.building) diff --git a/msgraph_beta/generated/models/room_collection_response.py b/msgraph_beta/generated/models/room_collection_response.py index 9f533adfc7f..3f75c28ad55 100644 --- a/msgraph_beta/generated/models/room_collection_response.py +++ b/msgraph_beta/generated/models/room_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .room import Room + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/room_list.py b/msgraph_beta/generated/models/room_list.py index 1aa4daea315..d71fd273f5e 100644 --- a/msgraph_beta/generated/models/room_list.py +++ b/msgraph_beta/generated/models/room_list.py @@ -63,6 +63,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .place import Place + from .room import Room + from .workspace import Workspace + writer.write_str_value("emailAddress", self.email_address) writer.write_collection_of_object_values("rooms", self.rooms) writer.write_collection_of_object_values("workspaces", self.workspaces) diff --git a/msgraph_beta/generated/models/room_list_collection_response.py b/msgraph_beta/generated/models/room_list_collection_response.py index 7c480b17844..13af65f2ef0 100644 --- a/msgraph_beta/generated/models/room_list_collection_response.py +++ b/msgraph_beta/generated/models/room_list_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .room_list import RoomList + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/rotate_bit_locker_keys_device_action_result.py b/msgraph_beta/generated/models/rotate_bit_locker_keys_device_action_result.py index 53eacf1b071..93ea58453df 100644 --- a/msgraph_beta/generated/models/rotate_bit_locker_keys_device_action_result.py +++ b/msgraph_beta/generated/models/rotate_bit_locker_keys_device_action_result.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_action_result import DeviceActionResult + writer.write_int_value("errorCode", self.error_code) diff --git a/msgraph_beta/generated/models/rubric_criterion.py b/msgraph_beta/generated/models/rubric_criterion.py index a1388864105..ee23aba2fe6 100644 --- a/msgraph_beta/generated/models/rubric_criterion.py +++ b/msgraph_beta/generated/models/rubric_criterion.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .education_item_body import EducationItemBody + writer.write_object_value("description", self.description) writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/rubric_level.py b/msgraph_beta/generated/models/rubric_level.py index 4ea72ec832d..3fa9078a2ce 100644 --- a/msgraph_beta/generated/models/rubric_level.py +++ b/msgraph_beta/generated/models/rubric_level.py @@ -65,6 +65,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .education_assignment_grade_type import EducationAssignmentGradeType + from .education_item_body import EducationItemBody + writer.write_object_value("description", self.description) writer.write_str_value("displayName", self.display_name) writer.write_object_value("grading", self.grading) diff --git a/msgraph_beta/generated/models/rubric_quality.py b/msgraph_beta/generated/models/rubric_quality.py index d73b50f54be..40a955bf8c9 100644 --- a/msgraph_beta/generated/models/rubric_quality.py +++ b/msgraph_beta/generated/models/rubric_quality.py @@ -68,6 +68,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .education_item_body import EducationItemBody + from .rubric_criterion import RubricCriterion + writer.write_collection_of_object_values("criteria", self.criteria) writer.write_object_value("description", self.description) writer.write_str_value("displayName", self.display_name) diff --git a/msgraph_beta/generated/models/rubric_quality_feedback_model.py b/msgraph_beta/generated/models/rubric_quality_feedback_model.py index 74c499a2614..c89a31affba 100644 --- a/msgraph_beta/generated/models/rubric_quality_feedback_model.py +++ b/msgraph_beta/generated/models/rubric_quality_feedback_model.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .education_item_body import EducationItemBody + writer.write_object_value("feedback", self.feedback) writer.write_str_value("@odata.type", self.odata_type) writer.write_str_value("qualityId", self.quality_id) diff --git a/msgraph_beta/generated/models/sales_credit_memo.py b/msgraph_beta/generated/models/sales_credit_memo.py index 378c1392d47..86d4c3c68cd 100644 --- a/msgraph_beta/generated/models/sales_credit_memo.py +++ b/msgraph_beta/generated/models/sales_credit_memo.py @@ -163,6 +163,12 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .currency import Currency + from .customer import Customer + from .payment_term import PaymentTerm + from .postal_address_type import PostalAddressType + from .sales_credit_memo_line import SalesCreditMemoLine + writer.write_uuid_value("billToCustomerId", self.bill_to_customer_id) writer.write_str_value("billToCustomerNumber", self.bill_to_customer_number) writer.write_str_value("billToName", self.bill_to_name) diff --git a/msgraph_beta/generated/models/sales_credit_memo_collection_response.py b/msgraph_beta/generated/models/sales_credit_memo_collection_response.py index 452ea2bed88..3dc137314a6 100644 --- a/msgraph_beta/generated/models/sales_credit_memo_collection_response.py +++ b/msgraph_beta/generated/models/sales_credit_memo_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .sales_credit_memo import SalesCreditMemo + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/sales_credit_memo_line.py b/msgraph_beta/generated/models/sales_credit_memo_line.py index 779804578a4..01fd72c6e63 100644 --- a/msgraph_beta/generated/models/sales_credit_memo_line.py +++ b/msgraph_beta/generated/models/sales_credit_memo_line.py @@ -128,6 +128,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .account import Account + from .entity import Entity + from .item import Item + writer.write_object_value("account", self.account) writer.write_uuid_value("accountId", self.account_id) writer.write_float_value("amountExcludingTax", self.amount_excluding_tax) diff --git a/msgraph_beta/generated/models/sales_credit_memo_line_collection_response.py b/msgraph_beta/generated/models/sales_credit_memo_line_collection_response.py index 978f61cc49f..3924ea4bb9b 100644 --- a/msgraph_beta/generated/models/sales_credit_memo_line_collection_response.py +++ b/msgraph_beta/generated/models/sales_credit_memo_line_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .sales_credit_memo_line import SalesCreditMemoLine + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/sales_invoice.py b/msgraph_beta/generated/models/sales_invoice.py index fa40dd0d73b..e8f03abba6c 100644 --- a/msgraph_beta/generated/models/sales_invoice.py +++ b/msgraph_beta/generated/models/sales_invoice.py @@ -184,6 +184,13 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .currency import Currency + from .customer import Customer + from .payment_term import PaymentTerm + from .postal_address_type import PostalAddressType + from .sales_invoice_line import SalesInvoiceLine + from .shipment_method import ShipmentMethod + writer.write_uuid_value("billToCustomerId", self.bill_to_customer_id) writer.write_str_value("billToCustomerNumber", self.bill_to_customer_number) writer.write_str_value("billToName", self.bill_to_name) diff --git a/msgraph_beta/generated/models/sales_invoice_collection_response.py b/msgraph_beta/generated/models/sales_invoice_collection_response.py index 639ccd34504..7350886fda2 100644 --- a/msgraph_beta/generated/models/sales_invoice_collection_response.py +++ b/msgraph_beta/generated/models/sales_invoice_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .sales_invoice import SalesInvoice + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/sales_invoice_line.py b/msgraph_beta/generated/models/sales_invoice_line.py index 3b03ede50bb..8b049f4451e 100644 --- a/msgraph_beta/generated/models/sales_invoice_line.py +++ b/msgraph_beta/generated/models/sales_invoice_line.py @@ -128,6 +128,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .account import Account + from .entity import Entity + from .item import Item + writer.write_object_value("account", self.account) writer.write_uuid_value("accountId", self.account_id) writer.write_float_value("amountExcludingTax", self.amount_excluding_tax) diff --git a/msgraph_beta/generated/models/sales_invoice_line_collection_response.py b/msgraph_beta/generated/models/sales_invoice_line_collection_response.py index 9a76ea3458d..83d5d02debb 100644 --- a/msgraph_beta/generated/models/sales_invoice_line_collection_response.py +++ b/msgraph_beta/generated/models/sales_invoice_line_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .sales_invoice_line import SalesInvoiceLine + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/sales_order.py b/msgraph_beta/generated/models/sales_order.py index a7ba60f516d..df414a14212 100644 --- a/msgraph_beta/generated/models/sales_order.py +++ b/msgraph_beta/generated/models/sales_order.py @@ -172,6 +172,12 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .currency import Currency + from .customer import Customer + from .payment_term import PaymentTerm + from .postal_address_type import PostalAddressType + from .sales_order_line import SalesOrderLine + writer.write_uuid_value("billToCustomerId", self.bill_to_customer_id) writer.write_str_value("billToCustomerNumber", self.bill_to_customer_number) writer.write_str_value("billToName", self.bill_to_name) diff --git a/msgraph_beta/generated/models/sales_order_collection_response.py b/msgraph_beta/generated/models/sales_order_collection_response.py index 0d0a4d1265b..d3edd7e2f59 100644 --- a/msgraph_beta/generated/models/sales_order_collection_response.py +++ b/msgraph_beta/generated/models/sales_order_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .sales_order import SalesOrder + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/sales_order_line.py b/msgraph_beta/generated/models/sales_order_line.py index a95b628fbd6..d524bf1b00d 100644 --- a/msgraph_beta/generated/models/sales_order_line.py +++ b/msgraph_beta/generated/models/sales_order_line.py @@ -140,6 +140,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .account import Account + from .entity import Entity + from .item import Item + writer.write_object_value("account", self.account) writer.write_uuid_value("accountId", self.account_id) writer.write_float_value("amountExcludingTax", self.amount_excluding_tax) diff --git a/msgraph_beta/generated/models/sales_order_line_collection_response.py b/msgraph_beta/generated/models/sales_order_line_collection_response.py index bfbabe8d118..b6566389951 100644 --- a/msgraph_beta/generated/models/sales_order_line_collection_response.py +++ b/msgraph_beta/generated/models/sales_order_line_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .sales_order_line import SalesOrderLine + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/sales_quote.py b/msgraph_beta/generated/models/sales_quote.py index 72929eedcce..a3c4dd56e84 100644 --- a/msgraph_beta/generated/models/sales_quote.py +++ b/msgraph_beta/generated/models/sales_quote.py @@ -178,6 +178,13 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .currency import Currency + from .customer import Customer + from .payment_term import PaymentTerm + from .postal_address_type import PostalAddressType + from .sales_quote_line import SalesQuoteLine + from .shipment_method import ShipmentMethod + writer.write_date_value("acceptedDate", self.accepted_date) writer.write_uuid_value("billToCustomerId", self.bill_to_customer_id) writer.write_str_value("billToCustomerNumber", self.bill_to_customer_number) diff --git a/msgraph_beta/generated/models/sales_quote_collection_response.py b/msgraph_beta/generated/models/sales_quote_collection_response.py index 7117178e8fb..1e035c17a1d 100644 --- a/msgraph_beta/generated/models/sales_quote_collection_response.py +++ b/msgraph_beta/generated/models/sales_quote_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .sales_quote import SalesQuote + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/sales_quote_line.py b/msgraph_beta/generated/models/sales_quote_line.py index a87cc897793..7722351f65b 100644 --- a/msgraph_beta/generated/models/sales_quote_line.py +++ b/msgraph_beta/generated/models/sales_quote_line.py @@ -121,6 +121,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .account import Account + from .entity import Entity + from .item import Item + writer.write_object_value("account", self.account) writer.write_uuid_value("accountId", self.account_id) writer.write_float_value("amountExcludingTax", self.amount_excluding_tax) diff --git a/msgraph_beta/generated/models/sales_quote_line_collection_response.py b/msgraph_beta/generated/models/sales_quote_line_collection_response.py index 05ae4a8b828..b94a507a742 100644 --- a/msgraph_beta/generated/models/sales_quote_line_collection_response.py +++ b/msgraph_beta/generated/models/sales_quote_line_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .sales_quote_line import SalesQuoteLine + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/saml_identity_source.py b/msgraph_beta/generated/models/saml_identity_source.py index f17c9311d88..0e141e1bf75 100644 --- a/msgraph_beta/generated/models/saml_identity_source.py +++ b/msgraph_beta/generated/models/saml_identity_source.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .permissions_definition_identity_source import PermissionsDefinitionIdentitySource + diff --git a/msgraph_beta/generated/models/saml_name_id_claim.py b/msgraph_beta/generated/models/saml_name_id_claim.py index 099c16bdb7d..b14b608c3f4 100644 --- a/msgraph_beta/generated/models/saml_name_id_claim.py +++ b/msgraph_beta/generated/models/saml_name_id_claim.py @@ -57,6 +57,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .custom_claim_base import CustomClaimBase + from .saml_name_i_d_format import SamlNameIDFormat + writer.write_enum_value("nameIdFormat", self.name_id_format) writer.write_str_value("serviceProviderNameQualifier", self.service_provider_name_qualifier) diff --git a/msgraph_beta/generated/models/saml_or_ws_fed_external_domain_federation.py b/msgraph_beta/generated/models/saml_or_ws_fed_external_domain_federation.py index deaa201da48..d50fdea6a1b 100644 --- a/msgraph_beta/generated/models/saml_or_ws_fed_external_domain_federation.py +++ b/msgraph_beta/generated/models/saml_or_ws_fed_external_domain_federation.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .external_domain_name import ExternalDomainName + from .saml_or_ws_fed_provider import SamlOrWsFedProvider + writer.write_collection_of_object_values("domains", self.domains) diff --git a/msgraph_beta/generated/models/saml_or_ws_fed_provider.py b/msgraph_beta/generated/models/saml_or_ws_fed_provider.py index ae39ba4b8b3..689d4f711cf 100644 --- a/msgraph_beta/generated/models/saml_or_ws_fed_provider.py +++ b/msgraph_beta/generated/models/saml_or_ws_fed_provider.py @@ -36,7 +36,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> SamlOrWsFedProvide if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.internalDomainFederation".casefold(): @@ -84,6 +85,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .authentication_protocol import AuthenticationProtocol + from .identity_provider_base import IdentityProviderBase + from .internal_domain_federation import InternalDomainFederation + from .saml_or_ws_fed_external_domain_federation import SamlOrWsFedExternalDomainFederation + writer.write_str_value("issuerUri", self.issuer_uri) writer.write_str_value("metadataExchangeUri", self.metadata_exchange_uri) writer.write_str_value("passiveSignInUri", self.passive_sign_in_uri) diff --git a/msgraph_beta/generated/models/schedule.py b/msgraph_beta/generated/models/schedule.py index 1173fd79ea0..7a4e51ab489 100644 --- a/msgraph_beta/generated/models/schedule.py +++ b/msgraph_beta/generated/models/schedule.py @@ -174,6 +174,23 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .day_note import DayNote + from .day_of_week import DayOfWeek + from .entity import Entity + from .offer_shift_request import OfferShiftRequest + from .open_shift import OpenShift + from .open_shift_change_request import OpenShiftChangeRequest + from .operation_status import OperationStatus + from .scheduling_group import SchedulingGroup + from .shift import Shift + from .shifts_role_definition import ShiftsRoleDefinition + from .swap_shifts_change_request import SwapShiftsChangeRequest + from .time_card import TimeCard + from .time_clock_settings import TimeClockSettings + from .time_off import TimeOff + from .time_off_reason import TimeOffReason + from .time_off_request import TimeOffRequest + writer.write_bool_value("activitiesIncludedWhenCopyingShiftsEnabled", self.activities_included_when_copying_shifts_enabled) writer.write_collection_of_object_values("dayNotes", self.day_notes) writer.write_bool_value("enabled", self.enabled) diff --git a/msgraph_beta/generated/models/schedule_change_request.py b/msgraph_beta/generated/models/schedule_change_request.py index 37c8cea1f3c..104e59dd564 100644 --- a/msgraph_beta/generated/models/schedule_change_request.py +++ b/msgraph_beta/generated/models/schedule_change_request.py @@ -46,7 +46,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> ScheduleChangeRequ if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.offerShiftRequest".casefold(): @@ -111,6 +112,14 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .change_tracked_entity import ChangeTrackedEntity + from .offer_shift_request import OfferShiftRequest + from .open_shift_change_request import OpenShiftChangeRequest + from .schedule_change_request_actor import ScheduleChangeRequestActor + from .schedule_change_state import ScheduleChangeState + from .swap_shifts_change_request import SwapShiftsChangeRequest + from .time_off_request import TimeOffRequest + writer.write_enum_value("assignedTo", self.assigned_to) writer.write_str_value("managerActionMessage", self.manager_action_message) writer.write_str_value("senderMessage", self.sender_message) diff --git a/msgraph_beta/generated/models/schedule_entity.py b/msgraph_beta/generated/models/schedule_entity.py index 07e9df029b1..e8698c8ddeb 100644 --- a/msgraph_beta/generated/models/schedule_entity.py +++ b/msgraph_beta/generated/models/schedule_entity.py @@ -37,7 +37,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> ScheduleEntity: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.openShiftItem".casefold(): @@ -85,6 +86,11 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .open_shift_item import OpenShiftItem + from .schedule_entity_theme import ScheduleEntityTheme + from .shift_item import ShiftItem + from .time_off_item import TimeOffItem + writer.write_datetime_value("endDateTime", self.end_date_time) writer.write_str_value("@odata.type", self.odata_type) writer.write_datetime_value("startDateTime", self.start_date_time) diff --git a/msgraph_beta/generated/models/schedule_information.py b/msgraph_beta/generated/models/schedule_information.py index 8d58f477b2d..9bddb50618a 100644 --- a/msgraph_beta/generated/models/schedule_information.py +++ b/msgraph_beta/generated/models/schedule_information.py @@ -71,6 +71,10 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .free_busy_error import FreeBusyError + from .schedule_item import ScheduleItem + from .working_hours import WorkingHours + writer.write_str_value("availabilityView", self.availability_view) writer.write_object_value("error", self.error) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/schedule_item.py b/msgraph_beta/generated/models/schedule_item.py index 175ac091d08..f6eb50afc04 100644 --- a/msgraph_beta/generated/models/schedule_item.py +++ b/msgraph_beta/generated/models/schedule_item.py @@ -71,6 +71,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .date_time_time_zone import DateTimeTimeZone + from .free_busy_status import FreeBusyStatus + writer.write_object_value("end", self.end) writer.write_bool_value("isPrivate", self.is_private) writer.write_str_value("location", self.location) diff --git a/msgraph_beta/generated/models/scheduled_permissions_request.py b/msgraph_beta/generated/models/scheduled_permissions_request.py index 720a0296b45..762b19b4445 100644 --- a/msgraph_beta/generated/models/scheduled_permissions_request.py +++ b/msgraph_beta/generated/models/scheduled_permissions_request.py @@ -88,6 +88,13 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .permissions_definition import PermissionsDefinition + from .request_schedule import RequestSchedule + from .status_detail import StatusDetail + from .ticket_info import TicketInfo + from .unified_role_schedule_request_actions import UnifiedRoleScheduleRequestActions + writer.write_enum_value("action", self.action) writer.write_datetime_value("createdDateTime", self.created_date_time) writer.write_str_value("justification", self.justification) diff --git a/msgraph_beta/generated/models/scheduled_permissions_request_collection_response.py b/msgraph_beta/generated/models/scheduled_permissions_request_collection_response.py index 3ce108853ce..869ab5e46ec 100644 --- a/msgraph_beta/generated/models/scheduled_permissions_request_collection_response.py +++ b/msgraph_beta/generated/models/scheduled_permissions_request_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .scheduled_permissions_request import ScheduledPermissionsRequest + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/scheduling_group.py b/msgraph_beta/generated/models/scheduling_group.py index 4307dac96ed..cb6c19acba5 100644 --- a/msgraph_beta/generated/models/scheduling_group.py +++ b/msgraph_beta/generated/models/scheduling_group.py @@ -60,6 +60,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .change_tracked_entity import ChangeTrackedEntity + writer.write_str_value("code", self.code) writer.write_str_value("displayName", self.display_name) writer.write_collection_of_primitive_values("userIds", self.user_ids) diff --git a/msgraph_beta/generated/models/scheduling_group_collection_response.py b/msgraph_beta/generated/models/scheduling_group_collection_response.py index b3bdf00fa57..29267c63cbb 100644 --- a/msgraph_beta/generated/models/scheduling_group_collection_response.py +++ b/msgraph_beta/generated/models/scheduling_group_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .scheduling_group import SchedulingGroup + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/schema.py b/msgraph_beta/generated/models/schema.py index 3bf0ed01505..fba0fe69899 100644 --- a/msgraph_beta/generated/models/schema.py +++ b/msgraph_beta/generated/models/schema.py @@ -57,6 +57,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .property_ import Property_ + writer.write_str_value("baseType", self.base_type) writer.write_collection_of_object_values("properties", self.properties) diff --git a/msgraph_beta/generated/models/schema_extension.py b/msgraph_beta/generated/models/schema_extension.py index 58baed91fa9..9b81cfa0884 100644 --- a/msgraph_beta/generated/models/schema_extension.py +++ b/msgraph_beta/generated/models/schema_extension.py @@ -66,6 +66,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .extension_schema_property import ExtensionSchemaProperty + writer.write_str_value("description", self.description) writer.write_str_value("owner", self.owner) writer.write_collection_of_object_values("properties", self.properties) diff --git a/msgraph_beta/generated/models/schema_extension_collection_response.py b/msgraph_beta/generated/models/schema_extension_collection_response.py index 20c22fa81ad..a49f7c51689 100644 --- a/msgraph_beta/generated/models/schema_extension_collection_response.py +++ b/msgraph_beta/generated/models/schema_extension_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .schema_extension import SchemaExtension + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/scope_sensitivity_labels.py b/msgraph_beta/generated/models/scope_sensitivity_labels.py index 7d4aee144ad..793e42547a0 100644 --- a/msgraph_beta/generated/models/scope_sensitivity_labels.py +++ b/msgraph_beta/generated/models/scope_sensitivity_labels.py @@ -31,7 +31,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> ScopeSensitivityLa if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.allScopeSensitivityLabels".casefold(): @@ -71,6 +72,10 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .all_scope_sensitivity_labels import AllScopeSensitivityLabels + from .enumerated_scope_sensitivity_labels import EnumeratedScopeSensitivityLabels + from .label_kind import LabelKind + writer.write_enum_value("labelKind", self.label_kind) writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/scoped_role_membership.py b/msgraph_beta/generated/models/scoped_role_membership.py index f89020625ae..b6803966d25 100644 --- a/msgraph_beta/generated/models/scoped_role_membership.py +++ b/msgraph_beta/generated/models/scoped_role_membership.py @@ -60,6 +60,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .identity import Identity + writer.write_str_value("administrativeUnitId", self.administrative_unit_id) writer.write_str_value("roleId", self.role_id) writer.write_object_value("roleMemberInfo", self.role_member_info) diff --git a/msgraph_beta/generated/models/scoped_role_membership_collection_response.py b/msgraph_beta/generated/models/scoped_role_membership_collection_response.py index 166f2d5d9e1..ca2d394f6a6 100644 --- a/msgraph_beta/generated/models/scoped_role_membership_collection_response.py +++ b/msgraph_beta/generated/models/scoped_role_membership_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .scoped_role_membership import ScopedRoleMembership + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/search/acronym.py b/msgraph_beta/generated/models/search/acronym.py index 5467fc24579..76b5a94d0f2 100644 --- a/msgraph_beta/generated/models/search/acronym.py +++ b/msgraph_beta/generated/models/search/acronym.py @@ -57,6 +57,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .answer_state import AnswerState + from .search_answer import SearchAnswer + writer.write_str_value("standsFor", self.stands_for) writer.write_enum_value("state", self.state) diff --git a/msgraph_beta/generated/models/search/acronym_collection_response.py b/msgraph_beta/generated/models/search/acronym_collection_response.py index 20796863af2..e0576c14a09 100644 --- a/msgraph_beta/generated/models/search/acronym_collection_response.py +++ b/msgraph_beta/generated/models/search/acronym_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .acronym import Acronym + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/search/answer_variant.py b/msgraph_beta/generated/models/search/answer_variant.py index d0dbfbbc95b..8ee99d4eb5a 100644 --- a/msgraph_beta/generated/models/search/answer_variant.py +++ b/msgraph_beta/generated/models/search/answer_variant.py @@ -65,6 +65,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ..device_platform_type import DevicePlatformType + writer.write_str_value("description", self.description) writer.write_str_value("displayName", self.display_name) writer.write_str_value("languageTag", self.language_tag) diff --git a/msgraph_beta/generated/models/search/bookmark.py b/msgraph_beta/generated/models/search/bookmark.py index 09227cc4c34..c541f9b663b 100644 --- a/msgraph_beta/generated/models/search/bookmark.py +++ b/msgraph_beta/generated/models/search/bookmark.py @@ -94,6 +94,12 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..device_platform_type import DevicePlatformType + from .answer_keyword import AnswerKeyword + from .answer_state import AnswerState + from .answer_variant import AnswerVariant + from .search_answer import SearchAnswer + writer.write_datetime_value("availabilityEndDateTime", self.availability_end_date_time) writer.write_datetime_value("availabilityStartDateTime", self.availability_start_date_time) writer.write_collection_of_primitive_values("categories", self.categories) diff --git a/msgraph_beta/generated/models/search/bookmark_collection_response.py b/msgraph_beta/generated/models/search/bookmark_collection_response.py index 57a9f4820e9..7484f35b14f 100644 --- a/msgraph_beta/generated/models/search/bookmark_collection_response.py +++ b/msgraph_beta/generated/models/search/bookmark_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .bookmark import Bookmark + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/search/identity_set.py b/msgraph_beta/generated/models/search/identity_set.py index 7687cdcb4e6..c295a078ca9 100644 --- a/msgraph_beta/generated/models/search/identity_set.py +++ b/msgraph_beta/generated/models/search/identity_set.py @@ -59,6 +59,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .identity import Identity + writer.write_object_value("application", self.application) writer.write_object_value("device", self.device) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/search/qna.py b/msgraph_beta/generated/models/search/qna.py index 5862b9be9f8..6211d3f1554 100644 --- a/msgraph_beta/generated/models/search/qna.py +++ b/msgraph_beta/generated/models/search/qna.py @@ -88,6 +88,12 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..device_platform_type import DevicePlatformType + from .answer_keyword import AnswerKeyword + from .answer_state import AnswerState + from .answer_variant import AnswerVariant + from .search_answer import SearchAnswer + writer.write_datetime_value("availabilityEndDateTime", self.availability_end_date_time) writer.write_datetime_value("availabilityStartDateTime", self.availability_start_date_time) writer.write_collection_of_primitive_values("groupIds", self.group_ids) diff --git a/msgraph_beta/generated/models/search/qna_collection_response.py b/msgraph_beta/generated/models/search/qna_collection_response.py index 4aae677c6c8..da769f7e086 100644 --- a/msgraph_beta/generated/models/search/qna_collection_response.py +++ b/msgraph_beta/generated/models/search/qna_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .qna import Qna + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/search/search_answer.py b/msgraph_beta/generated/models/search/search_answer.py index 3945d7772b6..6a275b6efaa 100644 --- a/msgraph_beta/generated/models/search/search_answer.py +++ b/msgraph_beta/generated/models/search/search_answer.py @@ -38,7 +38,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> SearchAnswer: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.search.acronym".casefold(): @@ -92,6 +93,12 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + from .acronym import Acronym + from .bookmark import Bookmark + from .identity_set import IdentitySet + from .qna import Qna + writer.write_str_value("description", self.description) writer.write_str_value("displayName", self.display_name) writer.write_object_value("lastModifiedBy", self.last_modified_by) diff --git a/msgraph_beta/generated/models/search_aggregation.py b/msgraph_beta/generated/models/search_aggregation.py index 0d524bbf43c..4b6e0cd6973 100644 --- a/msgraph_beta/generated/models/search_aggregation.py +++ b/msgraph_beta/generated/models/search_aggregation.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .search_bucket import SearchBucket + writer.write_collection_of_object_values("buckets", self.buckets) writer.write_str_value("field", self.field) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/search_alteration.py b/msgraph_beta/generated/models/search_alteration.py index e0d941c69e1..f1763c8bc6a 100644 --- a/msgraph_beta/generated/models/search_alteration.py +++ b/msgraph_beta/generated/models/search_alteration.py @@ -59,6 +59,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .altered_query_token import AlteredQueryToken + writer.write_str_value("alteredHighlightedQueryString", self.altered_highlighted_query_string) writer.write_str_value("alteredQueryString", self.altered_query_string) writer.write_collection_of_object_values("alteredQueryTokens", self.altered_query_tokens) diff --git a/msgraph_beta/generated/models/search_entity.py b/msgraph_beta/generated/models/search_entity.py index 7a6411a7d6a..78b143dd2fd 100644 --- a/msgraph_beta/generated/models/search_entity.py +++ b/msgraph_beta/generated/models/search_entity.py @@ -66,6 +66,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .search.acronym import Acronym + from .search.bookmark import Bookmark + from .search.qna import Qna + writer.write_collection_of_object_values("acronyms", self.acronyms) writer.write_collection_of_object_values("bookmarks", self.bookmarks) writer.write_collection_of_object_values("qnas", self.qnas) diff --git a/msgraph_beta/generated/models/search_hit.py b/msgraph_beta/generated/models/search_hit.py index 13814e88540..cbe241e69b9 100644 --- a/msgraph_beta/generated/models/search_hit.py +++ b/msgraph_beta/generated/models/search_hit.py @@ -83,6 +83,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .entity import Entity + writer.write_str_value("_id", self._id) writer.write_int_value("_score", self._score) writer.write_object_value("_source", self._source) diff --git a/msgraph_beta/generated/models/search_hits_container.py b/msgraph_beta/generated/models/search_hits_container.py index c172685b517..ef9b78f08bd 100644 --- a/msgraph_beta/generated/models/search_hits_container.py +++ b/msgraph_beta/generated/models/search_hits_container.py @@ -65,6 +65,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .search_aggregation import SearchAggregation + from .search_hit import SearchHit + writer.write_collection_of_object_values("aggregations", self.aggregations) writer.write_collection_of_object_values("hits", self.hits) writer.write_bool_value("moreResultsAvailable", self.more_results_available) diff --git a/msgraph_beta/generated/models/search_request.py b/msgraph_beta/generated/models/search_request.py index b185ec900dd..e77e8c5384a 100644 --- a/msgraph_beta/generated/models/search_request.py +++ b/msgraph_beta/generated/models/search_request.py @@ -122,6 +122,15 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .aggregation_option import AggregationOption + from .collapse_property import CollapseProperty + from .entity_type import EntityType + from .result_template_option import ResultTemplateOption + from .search_alteration_options import SearchAlterationOptions + from .search_query import SearchQuery + from .share_point_one_drive_options import SharePointOneDriveOptions + from .sort_property import SortProperty + writer.write_collection_of_primitive_values("aggregationFilters", self.aggregation_filters) writer.write_collection_of_object_values("aggregations", self.aggregations) writer.write_collection_of_object_values("collapseProperties", self.collapse_properties) diff --git a/msgraph_beta/generated/models/search_response.py b/msgraph_beta/generated/models/search_response.py index 3edc3701075..7ffaf813a29 100644 --- a/msgraph_beta/generated/models/search_response.py +++ b/msgraph_beta/generated/models/search_response.py @@ -68,6 +68,10 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .alteration_response import AlterationResponse + from .result_template_dictionary import ResultTemplateDictionary + from .search_hits_container import SearchHitsContainer + writer.write_collection_of_object_values("hitsContainers", self.hits_containers) writer.write_str_value("@odata.type", self.odata_type) writer.write_object_value("queryAlterationResponse", self.query_alteration_response) diff --git a/msgraph_beta/generated/models/secret_information_access_aws_resource_finding.py b/msgraph_beta/generated/models/secret_information_access_aws_resource_finding.py index fd7a2fcd6e5..33246069364 100644 --- a/msgraph_beta/generated/models/secret_information_access_aws_resource_finding.py +++ b/msgraph_beta/generated/models/secret_information_access_aws_resource_finding.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .aws_secret_information_access_finding import AwsSecretInformationAccessFinding + diff --git a/msgraph_beta/generated/models/secret_information_access_aws_role_finding.py b/msgraph_beta/generated/models/secret_information_access_aws_role_finding.py index 09ffa1ed8e1..e51d31bd3f1 100644 --- a/msgraph_beta/generated/models/secret_information_access_aws_role_finding.py +++ b/msgraph_beta/generated/models/secret_information_access_aws_role_finding.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .aws_secret_information_access_finding import AwsSecretInformationAccessFinding + diff --git a/msgraph_beta/generated/models/secret_information_access_aws_serverless_function_finding.py b/msgraph_beta/generated/models/secret_information_access_aws_serverless_function_finding.py index 069aa95195c..a796f5a9388 100644 --- a/msgraph_beta/generated/models/secret_information_access_aws_serverless_function_finding.py +++ b/msgraph_beta/generated/models/secret_information_access_aws_serverless_function_finding.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .aws_secret_information_access_finding import AwsSecretInformationAccessFinding + diff --git a/msgraph_beta/generated/models/secret_information_access_aws_user_finding.py b/msgraph_beta/generated/models/secret_information_access_aws_user_finding.py index 8b3e277cb39..017f364d0ac 100644 --- a/msgraph_beta/generated/models/secret_information_access_aws_user_finding.py +++ b/msgraph_beta/generated/models/secret_information_access_aws_user_finding.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .aws_secret_information_access_finding import AwsSecretInformationAccessFinding + diff --git a/msgraph_beta/generated/models/section_group.py b/msgraph_beta/generated/models/section_group.py index e28015efe30..680bd6cc1e6 100644 --- a/msgraph_beta/generated/models/section_group.py +++ b/msgraph_beta/generated/models/section_group.py @@ -72,6 +72,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .notebook import Notebook + from .onenote_entity_hierarchy_model import OnenoteEntityHierarchyModel + from .onenote_section import OnenoteSection + writer.write_object_value("parentNotebook", self.parent_notebook) writer.write_object_value("parentSectionGroup", self.parent_section_group) writer.write_collection_of_object_values("sectionGroups", self.section_groups) diff --git a/msgraph_beta/generated/models/section_group_collection_response.py b/msgraph_beta/generated/models/section_group_collection_response.py index 73fd2464fe2..fd8a3845417 100644 --- a/msgraph_beta/generated/models/section_group_collection_response.py +++ b/msgraph_beta/generated/models/section_group_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .section_group import SectionGroup + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/section_links.py b/msgraph_beta/generated/models/section_links.py index 9e46d4471c0..0e940d835eb 100644 --- a/msgraph_beta/generated/models/section_links.py +++ b/msgraph_beta/generated/models/section_links.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .external_link import ExternalLink + writer.write_str_value("@odata.type", self.odata_type) writer.write_object_value("oneNoteClientUrl", self.one_note_client_url) writer.write_object_value("oneNoteWebUrl", self.one_note_web_url) diff --git a/msgraph_beta/generated/models/secure_score.py b/msgraph_beta/generated/models/secure_score.py index c4a8b8293c7..72cc0b9f27b 100644 --- a/msgraph_beta/generated/models/secure_score.py +++ b/msgraph_beta/generated/models/secure_score.py @@ -88,6 +88,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .average_comparative_score import AverageComparativeScore + from .control_score import ControlScore + from .entity import Entity + from .security_vendor_information import SecurityVendorInformation + writer.write_int_value("activeUserCount", self.active_user_count) writer.write_collection_of_object_values("averageComparativeScores", self.average_comparative_scores) writer.write_str_value("azureTenantId", self.azure_tenant_id) diff --git a/msgraph_beta/generated/models/secure_score_collection_response.py b/msgraph_beta/generated/models/secure_score_collection_response.py index 4efb3be25c2..da497701c3b 100644 --- a/msgraph_beta/generated/models/secure_score_collection_response.py +++ b/msgraph_beta/generated/models/secure_score_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .secure_score import SecureScore + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/secure_score_control_profile.py b/msgraph_beta/generated/models/secure_score_control_profile.py index 0f6df4a53c3..7e2bf2eeeb7 100644 --- a/msgraph_beta/generated/models/secure_score_control_profile.py +++ b/msgraph_beta/generated/models/secure_score_control_profile.py @@ -115,6 +115,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .compliance_information import ComplianceInformation + from .entity import Entity + from .secure_score_control_state_update import SecureScoreControlStateUpdate + from .security_vendor_information import SecurityVendorInformation + writer.write_str_value("actionType", self.action_type) writer.write_str_value("actionUrl", self.action_url) writer.write_str_value("azureTenantId", self.azure_tenant_id) diff --git a/msgraph_beta/generated/models/secure_score_control_profile_collection_response.py b/msgraph_beta/generated/models/secure_score_control_profile_collection_response.py index 68bcb3ffacb..70ca7a67388 100644 --- a/msgraph_beta/generated/models/secure_score_control_profile_collection_response.py +++ b/msgraph_beta/generated/models/secure_score_control_profile_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .secure_score_control_profile import SecureScoreControlProfile + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/secure_sign_in_session_control.py b/msgraph_beta/generated/models/secure_sign_in_session_control.py index 7238ea9daf8..3724b4364f9 100644 --- a/msgraph_beta/generated/models/secure_sign_in_session_control.py +++ b/msgraph_beta/generated/models/secure_sign_in_session_control.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .conditional_access_session_control import ConditionalAccessSessionControl + diff --git a/msgraph_beta/generated/models/security/aad_risk_detection_audit_record.py b/msgraph_beta/generated/models/security/aad_risk_detection_audit_record.py index 4dfeee1e839..f29b5eda550 100644 --- a/msgraph_beta/generated/models/security/aad_risk_detection_audit_record.py +++ b/msgraph_beta/generated/models/security/aad_risk_detection_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/add_content_footer_action.py b/msgraph_beta/generated/models/security/add_content_footer_action.py index 862642dd969..49936f79246 100644 --- a/msgraph_beta/generated/models/security/add_content_footer_action.py +++ b/msgraph_beta/generated/models/security/add_content_footer_action.py @@ -72,6 +72,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .content_alignment import ContentAlignment + from .information_protection_action import InformationProtectionAction + writer.write_enum_value("alignment", self.alignment) writer.write_str_value("fontColor", self.font_color) writer.write_str_value("fontName", self.font_name) diff --git a/msgraph_beta/generated/models/security/add_content_header_action.py b/msgraph_beta/generated/models/security/add_content_header_action.py index 0ef1d5b4f36..4255dcb8f8e 100644 --- a/msgraph_beta/generated/models/security/add_content_header_action.py +++ b/msgraph_beta/generated/models/security/add_content_header_action.py @@ -72,6 +72,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .content_alignment import ContentAlignment + from .information_protection_action import InformationProtectionAction + writer.write_enum_value("alignment", self.alignment) writer.write_str_value("fontColor", self.font_color) writer.write_str_value("fontName", self.font_name) diff --git a/msgraph_beta/generated/models/security/add_watermark_action.py b/msgraph_beta/generated/models/security/add_watermark_action.py index f91ea28bbf8..32877926a5f 100644 --- a/msgraph_beta/generated/models/security/add_watermark_action.py +++ b/msgraph_beta/generated/models/security/add_watermark_action.py @@ -69,6 +69,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .information_protection_action import InformationProtectionAction + from .watermark_layout import WatermarkLayout + writer.write_str_value("fontColor", self.font_color) writer.write_str_value("fontName", self.font_name) writer.write_int_value("fontSize", self.font_size) diff --git a/msgraph_beta/generated/models/security/aed_audit_record.py b/msgraph_beta/generated/models/security/aed_audit_record.py index b1097c4228c..f54b048c282 100644 --- a/msgraph_beta/generated/models/security/aed_audit_record.py +++ b/msgraph_beta/generated/models/security/aed_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/ai_app_interaction_audit_record.py b/msgraph_beta/generated/models/security/ai_app_interaction_audit_record.py index cc7818fff58..e7dd4fb4aae 100644 --- a/msgraph_beta/generated/models/security/ai_app_interaction_audit_record.py +++ b/msgraph_beta/generated/models/security/ai_app_interaction_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/aip_file_deleted.py b/msgraph_beta/generated/models/security/aip_file_deleted.py index 27cf145948f..ab158d1484e 100644 --- a/msgraph_beta/generated/models/security/aip_file_deleted.py +++ b/msgraph_beta/generated/models/security/aip_file_deleted.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/aip_heart_beat.py b/msgraph_beta/generated/models/security/aip_heart_beat.py index 42782ad6ecc..bb695f4fa61 100644 --- a/msgraph_beta/generated/models/security/aip_heart_beat.py +++ b/msgraph_beta/generated/models/security/aip_heart_beat.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/aip_protection_action_log_request.py b/msgraph_beta/generated/models/security/aip_protection_action_log_request.py index fe1c30d8245..124fc0dda9a 100644 --- a/msgraph_beta/generated/models/security/aip_protection_action_log_request.py +++ b/msgraph_beta/generated/models/security/aip_protection_action_log_request.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/aip_scanner_discover_event.py b/msgraph_beta/generated/models/security/aip_scanner_discover_event.py index 2687557872b..ae412e8186a 100644 --- a/msgraph_beta/generated/models/security/aip_scanner_discover_event.py +++ b/msgraph_beta/generated/models/security/aip_scanner_discover_event.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/aip_sensitivity_label_action_log_request.py b/msgraph_beta/generated/models/security/aip_sensitivity_label_action_log_request.py index 5c307892b14..d9f2e65db29 100644 --- a/msgraph_beta/generated/models/security/aip_sensitivity_label_action_log_request.py +++ b/msgraph_beta/generated/models/security/aip_sensitivity_label_action_log_request.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/air_admin_action_investigation_data.py b/msgraph_beta/generated/models/security/air_admin_action_investigation_data.py index ac15cff0cd5..0a7619243ba 100644 --- a/msgraph_beta/generated/models/security/air_admin_action_investigation_data.py +++ b/msgraph_beta/generated/models/security/air_admin_action_investigation_data.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/air_investigation_data.py b/msgraph_beta/generated/models/security/air_investigation_data.py index 9ff0ef90127..0a867816b85 100644 --- a/msgraph_beta/generated/models/security/air_investigation_data.py +++ b/msgraph_beta/generated/models/security/air_investigation_data.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/air_manual_investigation_data.py b/msgraph_beta/generated/models/security/air_manual_investigation_data.py index 3e97ed9fd9f..007c7f93ec8 100644 --- a/msgraph_beta/generated/models/security/air_manual_investigation_data.py +++ b/msgraph_beta/generated/models/security/air_manual_investigation_data.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/alert.py b/msgraph_beta/generated/models/security/alert.py index d4e5a38b41c..70bcfc76893 100644 --- a/msgraph_beta/generated/models/security/alert.py +++ b/msgraph_beta/generated/models/security/alert.py @@ -172,6 +172,17 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + from .alert_classification import AlertClassification + from .alert_comment import AlertComment + from .alert_determination import AlertDetermination + from .alert_evidence import AlertEvidence + from .alert_severity import AlertSeverity + from .alert_status import AlertStatus + from .detection_source import DetectionSource + from .dictionary import Dictionary + from .service_source import ServiceSource + writer.write_str_value("actorDisplayName", self.actor_display_name) writer.write_object_value("additionalData", self.additional_data_property) writer.write_str_value("alertPolicyId", self.alert_policy_id) diff --git a/msgraph_beta/generated/models/security/alert_collection_response.py b/msgraph_beta/generated/models/security/alert_collection_response.py index 3192706a815..d96e60a3b76 100644 --- a/msgraph_beta/generated/models/security/alert_collection_response.py +++ b/msgraph_beta/generated/models/security/alert_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .alert import Alert + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/security/alert_evidence.py b/msgraph_beta/generated/models/security/alert_evidence.py index ee354d9ecce..f204e701601 100644 --- a/msgraph_beta/generated/models/security/alert_evidence.py +++ b/msgraph_beta/generated/models/security/alert_evidence.py @@ -89,7 +89,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> AlertEvidence: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.security.amazonResourceEvidence".casefold(): @@ -397,6 +398,55 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .amazon_resource_evidence import AmazonResourceEvidence + from .analyzed_message_evidence import AnalyzedMessageEvidence + from .azure_resource_evidence import AzureResourceEvidence + from .blob_container_evidence import BlobContainerEvidence + from .blob_evidence import BlobEvidence + from .cloud_application_evidence import CloudApplicationEvidence + from .cloud_logon_request_evidence import CloudLogonRequestEvidence + from .cloud_logon_session_evidence import CloudLogonSessionEvidence + from .container_evidence import ContainerEvidence + from .container_image_evidence import ContainerImageEvidence + from .container_registry_evidence import ContainerRegistryEvidence + from .device_evidence import DeviceEvidence + from .dns_evidence import DnsEvidence + from .evidence_remediation_status import EvidenceRemediationStatus + from .evidence_role import EvidenceRole + from .evidence_verdict import EvidenceVerdict + from .file_evidence import FileEvidence + from .file_hash_evidence import FileHashEvidence + from .git_hub_organization_evidence import GitHubOrganizationEvidence + from .git_hub_repo_evidence import GitHubRepoEvidence + from .git_hub_user_evidence import GitHubUserEvidence + from .google_cloud_resource_evidence import GoogleCloudResourceEvidence + from .host_logon_session_evidence import HostLogonSessionEvidence + from .io_t_device_evidence import IoTDeviceEvidence + from .ip_evidence import IpEvidence + from .kubernetes_cluster_evidence import KubernetesClusterEvidence + from .kubernetes_controller_evidence import KubernetesControllerEvidence + from .kubernetes_namespace_evidence import KubernetesNamespaceEvidence + from .kubernetes_pod_evidence import KubernetesPodEvidence + from .kubernetes_secret_evidence import KubernetesSecretEvidence + from .kubernetes_service_account_evidence import KubernetesServiceAccountEvidence + from .kubernetes_service_evidence import KubernetesServiceEvidence + from .mailbox_configuration_evidence import MailboxConfigurationEvidence + from .mailbox_evidence import MailboxEvidence + from .mail_cluster_evidence import MailClusterEvidence + from .malware_evidence import MalwareEvidence + from .network_connection_evidence import NetworkConnectionEvidence + from .nic_evidence import NicEvidence + from .oauth_application_evidence import OauthApplicationEvidence + from .process_evidence import ProcessEvidence + from .registry_key_evidence import RegistryKeyEvidence + from .registry_value_evidence import RegistryValueEvidence + from .sas_token_evidence import SasTokenEvidence + from .security_group_evidence import SecurityGroupEvidence + from .service_principal_evidence import ServicePrincipalEvidence + from .submission_mail_evidence import SubmissionMailEvidence + from .url_evidence import UrlEvidence + from .user_evidence import UserEvidence + writer.write_datetime_value("createdDateTime", self.created_date_time) writer.write_collection_of_primitive_values("detailedRoles", self.detailed_roles) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/security/alert_template.py b/msgraph_beta/generated/models/security/alert_template.py index af893c966fd..10763737ad0 100644 --- a/msgraph_beta/generated/models/security/alert_template.py +++ b/msgraph_beta/generated/models/security/alert_template.py @@ -74,6 +74,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .alert_severity import AlertSeverity + from .impacted_asset import ImpactedAsset + writer.write_str_value("category", self.category) writer.write_str_value("description", self.description) writer.write_collection_of_object_values("impactedAssets", self.impacted_assets) diff --git a/msgraph_beta/generated/models/security/allow_file_response_action.py b/msgraph_beta/generated/models/security/allow_file_response_action.py index 38bfdaead39..89f2ee7412e 100644 --- a/msgraph_beta/generated/models/security/allow_file_response_action.py +++ b/msgraph_beta/generated/models/security/allow_file_response_action.py @@ -57,6 +57,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .file_entity_identifier import FileEntityIdentifier + from .response_action import ResponseAction + writer.write_collection_of_primitive_values("deviceGroupNames", self.device_group_names) writer.write_enum_value("identifier", self.identifier) diff --git a/msgraph_beta/generated/models/security/amazon_resource_evidence.py b/msgraph_beta/generated/models/security/amazon_resource_evidence.py index 9c36c182ae5..a3cde731287 100644 --- a/msgraph_beta/generated/models/security/amazon_resource_evidence.py +++ b/msgraph_beta/generated/models/security/amazon_resource_evidence.py @@ -60,6 +60,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .alert_evidence import AlertEvidence + writer.write_str_value("amazonAccountId", self.amazon_account_id) writer.write_str_value("amazonResourceId", self.amazon_resource_id) writer.write_str_value("resourceName", self.resource_name) diff --git a/msgraph_beta/generated/models/security/analyzed_email.py b/msgraph_beta/generated/models/security/analyzed_email.py index 2b14c591804..323890f54d4 100644 --- a/msgraph_beta/generated/models/security/analyzed_email.py +++ b/msgraph_beta/generated/models/security/analyzed_email.py @@ -163,6 +163,16 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + from .analyzed_email_attachment import AnalyzedEmailAttachment + from .analyzed_email_authentication_detail import AnalyzedEmailAuthenticationDetail + from .analyzed_email_delivery_detail import AnalyzedEmailDeliveryDetail + from .analyzed_email_exchange_transport_rule_info import AnalyzedEmailExchangeTransportRuleInfo + from .analyzed_email_sender_detail import AnalyzedEmailSenderDetail + from .analyzed_email_url import AnalyzedEmailUrl + from .antispam_directionality import AntispamDirectionality + from .threat_type import ThreatType + writer.write_collection_of_primitive_values("alertIds", self.alert_ids) writer.write_collection_of_object_values("attachments", self.attachments) writer.write_int_value("attachmentsCount", self.attachments_count) diff --git a/msgraph_beta/generated/models/security/analyzed_email_attachment.py b/msgraph_beta/generated/models/security/analyzed_email_attachment.py index b8ee979d19b..76b7695f570 100644 --- a/msgraph_beta/generated/models/security/analyzed_email_attachment.py +++ b/msgraph_beta/generated/models/security/analyzed_email_attachment.py @@ -71,6 +71,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .detonation_details import DetonationDetails + from .threat_type import ThreatType + writer.write_object_value("detonationDetails", self.detonation_details) writer.write_str_value("fileName", self.file_name) writer.write_str_value("fileType", self.file_type) diff --git a/msgraph_beta/generated/models/security/analyzed_email_collection_response.py b/msgraph_beta/generated/models/security/analyzed_email_collection_response.py index e97a7a10267..9b17fe02435 100644 --- a/msgraph_beta/generated/models/security/analyzed_email_collection_response.py +++ b/msgraph_beta/generated/models/security/analyzed_email_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .analyzed_email import AnalyzedEmail + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/security/analyzed_email_delivery_detail.py b/msgraph_beta/generated/models/security/analyzed_email_delivery_detail.py index 73841b92302..4c65324824c 100644 --- a/msgraph_beta/generated/models/security/analyzed_email_delivery_detail.py +++ b/msgraph_beta/generated/models/security/analyzed_email_delivery_detail.py @@ -59,6 +59,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .delivery_action import DeliveryAction + from .delivery_location import DeliveryLocation + writer.write_enum_value("action", self.action) writer.write_enum_value("location", self.location) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/security/analyzed_email_url.py b/msgraph_beta/generated/models/security/analyzed_email_url.py index 2d3dabf6485..c8075c6db94 100644 --- a/msgraph_beta/generated/models/security/analyzed_email_url.py +++ b/msgraph_beta/generated/models/security/analyzed_email_url.py @@ -65,6 +65,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .detonation_details import DetonationDetails + from .threat_type import ThreatType + writer.write_str_value("detectionMethod", self.detection_method) writer.write_object_value("detonationDetails", self.detonation_details) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/security/analyzed_message_evidence.py b/msgraph_beta/generated/models/security/analyzed_message_evidence.py index c836b72c3f0..0c69d3797ee 100644 --- a/msgraph_beta/generated/models/security/analyzed_message_evidence.py +++ b/msgraph_beta/generated/models/security/analyzed_message_evidence.py @@ -106,6 +106,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .alert_evidence import AlertEvidence + from .email_sender import EmailSender + writer.write_str_value("antiSpamDirection", self.anti_spam_direction) writer.write_int_value("attachmentsCount", self.attachments_count) writer.write_str_value("deliveryAction", self.delivery_action) diff --git a/msgraph_beta/generated/models/security/apply_label_action.py b/msgraph_beta/generated/models/security/apply_label_action.py index aa6d1c16f61..44b9b0cae12 100644 --- a/msgraph_beta/generated/models/security/apply_label_action.py +++ b/msgraph_beta/generated/models/security/apply_label_action.py @@ -63,6 +63,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .action_source import ActionSource + from .information_protection_action import InformationProtectionAction + writer.write_enum_value("actionSource", self.action_source) writer.write_collection_of_object_values("actions", self.actions) writer.write_collection_of_primitive_values("responsibleSensitiveTypeIds", self.responsible_sensitive_type_ids) diff --git a/msgraph_beta/generated/models/security/article.py b/msgraph_beta/generated/models/security/article.py index b507ec9ae95..7613c435ea7 100644 --- a/msgraph_beta/generated/models/security/article.py +++ b/msgraph_beta/generated/models/security/article.py @@ -82,6 +82,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + from .article_indicator import ArticleIndicator + from .formatted_content import FormattedContent + writer.write_object_value("body", self.body) writer.write_datetime_value("createdDateTime", self.created_date_time) writer.write_str_value("imageUrl", self.image_url) diff --git a/msgraph_beta/generated/models/security/article_collection_response.py b/msgraph_beta/generated/models/security/article_collection_response.py index 201c9781c47..16f8ddb6bdc 100644 --- a/msgraph_beta/generated/models/security/article_collection_response.py +++ b/msgraph_beta/generated/models/security/article_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .article import Article + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/security/article_indicator.py b/msgraph_beta/generated/models/security/article_indicator.py index cb19f0ba14b..bfc0ef1c616 100644 --- a/msgraph_beta/generated/models/security/article_indicator.py +++ b/msgraph_beta/generated/models/security/article_indicator.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .indicator import Indicator + diff --git a/msgraph_beta/generated/models/security/article_indicator_collection_response.py b/msgraph_beta/generated/models/security/article_indicator_collection_response.py index 7a2be62a43e..1a09d2db991 100644 --- a/msgraph_beta/generated/models/security/article_indicator_collection_response.py +++ b/msgraph_beta/generated/models/security/article_indicator_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .article_indicator import ArticleIndicator + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/security/artifact.py b/msgraph_beta/generated/models/security/artifact.py index 242e3a8bf7b..0b5f479cabc 100644 --- a/msgraph_beta/generated/models/security/artifact.py +++ b/msgraph_beta/generated/models/security/artifact.py @@ -33,7 +33,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> Artifact: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.security.host".casefold(): @@ -122,5 +123,17 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + from .host import Host + from .hostname import Hostname + from .host_component import HostComponent + from .host_cookie import HostCookie + from .host_ssl_certificate import HostSslCertificate + from .host_tracker import HostTracker + from .ip_address import IpAddress + from .passive_dns_record import PassiveDnsRecord + from .ssl_certificate import SslCertificate + from .unclassified_artifact import UnclassifiedArtifact + diff --git a/msgraph_beta/generated/models/security/attack_sim_admin_audit_record.py b/msgraph_beta/generated/models/security/attack_sim_admin_audit_record.py index bd08cd3539c..bc32b02c045 100644 --- a/msgraph_beta/generated/models/security/attack_sim_admin_audit_record.py +++ b/msgraph_beta/generated/models/security/attack_sim_admin_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/audit_core_root.py b/msgraph_beta/generated/models/security/audit_core_root.py index 9b353865ee1..20582136042 100644 --- a/msgraph_beta/generated/models/security/audit_core_root.py +++ b/msgraph_beta/generated/models/security/audit_core_root.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + from .audit_log_query import AuditLogQuery + writer.write_collection_of_object_values("queries", self.queries) diff --git a/msgraph_beta/generated/models/security/audit_data.py b/msgraph_beta/generated/models/security/audit_data.py index 22d61fb4755..7d9a62adfdb 100644 --- a/msgraph_beta/generated/models/security/audit_data.py +++ b/msgraph_beta/generated/models/security/audit_data.py @@ -298,7 +298,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> AuditData: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.security.aadRiskDetectionAuditRecord".casefold(): @@ -1955,6 +1956,279 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .aad_risk_detection_audit_record import AadRiskDetectionAuditRecord + from .aed_audit_record import AedAuditRecord + from .aip_file_deleted import AipFileDeleted + from .aip_heart_beat import AipHeartBeat + from .aip_protection_action_log_request import AipProtectionActionLogRequest + from .aip_scanner_discover_event import AipScannerDiscoverEvent + from .aip_sensitivity_label_action_log_request import AipSensitivityLabelActionLogRequest + from .air_admin_action_investigation_data import AirAdminActionInvestigationData + from .air_investigation_data import AirInvestigationData + from .air_manual_investigation_data import AirManualInvestigationData + from .ai_app_interaction_audit_record import AiAppInteractionAuditRecord + from .attack_sim_admin_audit_record import AttackSimAdminAuditRecord + from .audit_search_audit_record import AuditSearchAuditRecord + from .azure_active_directory_account_logon_audit_record import AzureActiveDirectoryAccountLogonAuditRecord + from .azure_active_directory_audit_record import AzureActiveDirectoryAuditRecord + from .azure_active_directory_base_audit_record import AzureActiveDirectoryBaseAuditRecord + from .azure_active_directory_sts_logon_audit_record import AzureActiveDirectoryStsLogonAuditRecord + from .campaign_audit_record import CampaignAuditRecord + from .case_audit_record import CaseAuditRecord + from .case_investigation import CaseInvestigation + from .cdp_cold_crawl_status_record import CdpColdCrawlStatusRecord + from .cdp_content_explorer_aggregate_record import CdpContentExplorerAggregateRecord + from .cdp_dlp_sensitive_audit_record import CdpDlpSensitiveAuditRecord + from .cdp_dlp_sensitive_endpoint_audit_record import CdpDlpSensitiveEndpointAuditRecord + from .cdp_log_record import CdpLogRecord + from .cdp_ocr_billing_record import CdpOcrBillingRecord + from .cdp_resource_scope_change_event_record import CdpResourceScopeChangeEventRecord + from .cerner_s_m_s_link_record import CernerSMSLinkRecord + from .cerner_s_m_s_settings_update_record import CernerSMSSettingsUpdateRecord + from .cerner_s_m_s_unlink_record import CernerSMSUnlinkRecord + from .compliance_connector_audit_record import ComplianceConnectorAuditRecord + from .compliance_dlp_applications_audit_record import ComplianceDlpApplicationsAuditRecord + from .compliance_dlp_applications_classification_audit_record import ComplianceDlpApplicationsClassificationAuditRecord + from .compliance_dlp_base_audit_record import ComplianceDlpBaseAuditRecord + from .compliance_dlp_classification_base_audit_record import ComplianceDlpClassificationBaseAuditRecord + from .compliance_dlp_classification_base_cdp_record import ComplianceDlpClassificationBaseCdpRecord + from .compliance_dlp_endpoint_audit_record import ComplianceDlpEndpointAuditRecord + from .compliance_dlp_endpoint_discovery_audit_record import ComplianceDlpEndpointDiscoveryAuditRecord + from .compliance_dlp_exchange_audit_record import ComplianceDlpExchangeAuditRecord + from .compliance_dlp_exchange_classification_audit_record import ComplianceDlpExchangeClassificationAuditRecord + from .compliance_dlp_exchange_classification_cdp_record import ComplianceDlpExchangeClassificationCdpRecord + from .compliance_dlp_exchange_discovery_audit_record import ComplianceDlpExchangeDiscoveryAuditRecord + from .compliance_dlp_share_point_audit_record import ComplianceDlpSharePointAuditRecord + from .compliance_dlp_share_point_classification_audit_record import ComplianceDlpSharePointClassificationAuditRecord + from .compliance_dlp_share_point_classification_extended_audit_record import ComplianceDlpSharePointClassificationExtendedAuditRecord + from .compliance_d_l_m_exchange_audit_record import ComplianceDLMExchangeAuditRecord + from .compliance_d_l_m_share_point_audit_record import ComplianceDLMSharePointAuditRecord + from .compliance_manager_action_record import ComplianceManagerActionRecord + from .compliance_supervision_base_audit_record import ComplianceSupervisionBaseAuditRecord + from .compliance_supervision_exchange_audit_record import ComplianceSupervisionExchangeAuditRecord + from .consumption_resource_audit_record import ConsumptionResourceAuditRecord + from .copilot_interaction_audit_record import CopilotInteractionAuditRecord + from .core_reporting_settings_audit_record import CoreReportingSettingsAuditRecord + from .cortana_briefing_audit_record import CortanaBriefingAuditRecord + from .cps_common_policy_audit_record import CpsCommonPolicyAuditRecord + from .cps_policy_config_audit_record import CpsPolicyConfigAuditRecord + from .crm_base_audit_record import CrmBaseAuditRecord + from .crm_entity_operation_audit_record import CrmEntityOperationAuditRecord + from .customer_key_service_encryption_audit_record import CustomerKeyServiceEncryptionAuditRecord + from .data_center_security_base_audit_record import DataCenterSecurityBaseAuditRecord + from .data_center_security_cmdlet_audit_record import DataCenterSecurityCmdletAuditRecord + from .data_governance_audit_record import DataGovernanceAuditRecord + from .data_insights_rest_api_audit_record import DataInsightsRestApiAuditRecord + from .data_lake_export_operation_audit_record import DataLakeExportOperationAuditRecord + from .data_share_operation_audit_record import DataShareOperationAuditRecord + from .default_audit_data import DefaultAuditData + from .defender_security_alert_base_record import DefenderSecurityAlertBaseRecord + from .delete_certificate_record import DeleteCertificateRecord + from .disable_consent_record import DisableConsentRecord + from .discovery_audit_record import DiscoveryAuditRecord + from .dlp_endpoint_audit_record import DlpEndpointAuditRecord + from .dlp_sensitive_information_type_cmdlet_record import DlpSensitiveInformationTypeCmdletRecord + from .dlp_sensitive_information_type_rule_package_cmdlet_record import DlpSensitiveInformationTypeRulePackageCmdletRecord + from .download_certificate_record import DownloadCertificateRecord + from .dynamics365_business_central_audit_record import Dynamics365BusinessCentralAuditRecord + from .enable_consent_record import EnableConsentRecord + from .epic_s_m_s_link_record import EpicSMSLinkRecord + from .epic_s_m_s_settings_update_record import EpicSMSSettingsUpdateRecord + from .epic_s_m_s_unlink_record import EpicSMSUnlinkRecord + from .exchange_admin_audit_record import ExchangeAdminAuditRecord + from .exchange_aggregated_mailbox_audit_record import ExchangeAggregatedMailboxAuditRecord + from .exchange_aggregated_operation_record import ExchangeAggregatedOperationRecord + from .exchange_mailbox_audit_base_record import ExchangeMailboxAuditBaseRecord + from .exchange_mailbox_audit_group_record import ExchangeMailboxAuditGroupRecord + from .exchange_mailbox_audit_record import ExchangeMailboxAuditRecord + from .fhir_base_url_add_record import FhirBaseUrlAddRecord + from .fhir_base_url_approve_record import FhirBaseUrlApproveRecord + from .fhir_base_url_delete_record import FhirBaseUrlDeleteRecord + from .fhir_base_url_update_record import FhirBaseUrlUpdateRecord + from .healthcare_signal_record import HealthcareSignalRecord + from .hosted_rpa_audit_record import HostedRpaAuditRecord + from .hr_signal_audit_record import HrSignalAuditRecord + from .hygiene_event_record import HygieneEventRecord + from .information_barrier_policy_application_audit_record import InformationBarrierPolicyApplicationAuditRecord + from .information_worker_protection_audit_record import InformationWorkerProtectionAuditRecord + from .insider_risk_scoped_users_record import InsiderRiskScopedUsersRecord + from .insider_risk_scoped_user_insights_record import InsiderRiskScopedUserInsightsRecord + from .irm_security_alert_record import IrmSecurityAlertRecord + from .irm_user_defined_detection_record import IrmUserDefinedDetectionRecord + from .kaizala_audit_record import KaizalaAuditRecord + from .label_analytics_aggregate_audit_record import LabelAnalyticsAggregateAuditRecord + from .label_content_explorer_audit_record import LabelContentExplorerAuditRecord + from .large_content_metadata_audit_record import LargeContentMetadataAuditRecord + from .m365_compliance_connector_audit_record import M365ComplianceConnectorAuditRecord + from .m365_d_a_a_d_audit_record import M365DAADAuditRecord + from .mail_submission_data import MailSubmissionData + from .managed_services_audit_record import ManagedServicesAuditRecord + from .managed_tenants_audit_record import ManagedTenantsAuditRecord + from .mapg_alerts_audit_record import MapgAlertsAuditRecord + from .mapg_onboard_audit_record import MapgOnboardAuditRecord + from .mapg_policy_audit_record import MapgPolicyAuditRecord + from .mcas_alerts_audit_record import McasAlertsAuditRecord + from .mdatp_audit_record import MdatpAuditRecord + from .mda_data_security_signal_record import MdaDataSecuritySignalRecord + from .mdc_events_record import MdcEventsRecord + from .mdi_audit_record import MdiAuditRecord + from .mesh_worlds_audit_record import MeshWorldsAuditRecord + from .microsoft365_backup_backup_item_audit_record import Microsoft365BackupBackupItemAuditRecord + from .microsoft365_backup_backup_policy_audit_record import Microsoft365BackupBackupPolicyAuditRecord + from .microsoft365_backup_restore_item_audit_record import Microsoft365BackupRestoreItemAuditRecord + from .microsoft365_backup_restore_task_audit_record import Microsoft365BackupRestoreTaskAuditRecord + from .microsoft_defender_experts_base_audit_record import MicrosoftDefenderExpertsBaseAuditRecord + from .microsoft_defender_experts_x_d_r_audit_record import MicrosoftDefenderExpertsXDRAuditRecord + from .microsoft_flow_audit_record import MicrosoftFlowAuditRecord + from .microsoft_forms_audit_record import MicrosoftFormsAuditRecord + from .microsoft_graph_data_connect_consent import MicrosoftGraphDataConnectConsent + from .microsoft_graph_data_connect_operation import MicrosoftGraphDataConnectOperation + from .microsoft_purview_data_map_operation_record import MicrosoftPurviewDataMapOperationRecord + from .microsoft_purview_metadata_policy_operation_record import MicrosoftPurviewMetadataPolicyOperationRecord + from .microsoft_purview_policy_operation_record import MicrosoftPurviewPolicyOperationRecord + from .microsoft_purview_privacy_audit_event import MicrosoftPurviewPrivacyAuditEvent + from .microsoft_stream_audit_record import MicrosoftStreamAuditRecord + from .microsoft_teams_admin_audit_record import MicrosoftTeamsAdminAuditRecord + from .microsoft_teams_analytics_audit_record import MicrosoftTeamsAnalyticsAuditRecord + from .microsoft_teams_audit_record import MicrosoftTeamsAuditRecord + from .microsoft_teams_device_audit_record import MicrosoftTeamsDeviceAuditRecord + from .microsoft_teams_retention_label_action_audit_record import MicrosoftTeamsRetentionLabelActionAuditRecord + from .microsoft_teams_sensitivity_label_action_audit_record import MicrosoftTeamsSensitivityLabelActionAuditRecord + from .microsoft_teams_shifts_audit_record import MicrosoftTeamsShiftsAuditRecord + from .mip_auto_label_exchange_item_audit_record import MipAutoLabelExchangeItemAuditRecord + from .mip_auto_label_item_audit_record import MipAutoLabelItemAuditRecord + from .mip_auto_label_policy_audit_record import MipAutoLabelPolicyAuditRecord + from .mip_auto_label_progress_feedback_audit_record import MipAutoLabelProgressFeedbackAuditRecord + from .mip_auto_label_share_point_item_audit_record import MipAutoLabelSharePointItemAuditRecord + from .mip_auto_label_share_point_policy_location_audit_record import MipAutoLabelSharePointPolicyLocationAuditRecord + from .mip_auto_label_simulation_share_point_completion_record import MipAutoLabelSimulationSharePointCompletionRecord + from .mip_auto_label_simulation_share_point_progress_record import MipAutoLabelSimulationSharePointProgressRecord + from .mip_auto_label_simulation_statistics_record import MipAutoLabelSimulationStatisticsRecord + from .mip_auto_label_simulation_status_record import MipAutoLabelSimulationStatusRecord + from .mip_exact_data_match_audit_record import MipExactDataMatchAuditRecord + from .mip_label_analytics_audit_record import MipLabelAnalyticsAuditRecord + from .mip_label_audit_record import MipLabelAuditRecord + from .msde_general_settings_audit_record import MsdeGeneralSettingsAuditRecord + from .msde_indicators_settings_audit_record import MsdeIndicatorsSettingsAuditRecord + from .msde_response_actions_audit_record import MsdeResponseActionsAuditRecord + from .msde_roles_settings_audit_record import MsdeRolesSettingsAuditRecord + from .mstic_nation_state_notification_record import MsticNationStateNotificationRecord + from .multi_stage_disposition_audit_record import MultiStageDispositionAuditRecord + from .my_analytics_settings_audit_record import MyAnalyticsSettingsAuditRecord + from .m_s365_d_custom_detection_audit_record import MS365DCustomDetectionAuditRecord + from .m_s365_d_incident_audit_record import MS365DIncidentAuditRecord + from .m_s365_d_suppression_rule_audit_record import MS365DSuppressionRuleAuditRecord + from .office_native_audit_record import OfficeNativeAuditRecord + from .ome_portal_audit_record import OmePortalAuditRecord + from .one_drive_audit_record import OneDriveAuditRecord + from .on_premises_file_share_scanner_dlp_audit_record import OnPremisesFileShareScannerDlpAuditRecord + from .on_premises_scanner_dlp_audit_record import OnPremisesScannerDlpAuditRecord + from .on_premises_share_point_scanner_dlp_audit_record import OnPremisesSharePointScannerDlpAuditRecord + from .owa_get_access_token_for_resource_audit_record import OwaGetAccessTokenForResourceAuditRecord + from .people_admin_settings_audit_record import PeopleAdminSettingsAuditRecord + from .physical_badging_signal_audit_record import PhysicalBadgingSignalAuditRecord + from .planner_copy_plan_audit_record import PlannerCopyPlanAuditRecord + from .planner_plan_audit_record import PlannerPlanAuditRecord + from .planner_plan_list_audit_record import PlannerPlanListAuditRecord + from .planner_roster_audit_record import PlannerRosterAuditRecord + from .planner_roster_sensitivity_label_audit_record import PlannerRosterSensitivityLabelAuditRecord + from .planner_task_audit_record import PlannerTaskAuditRecord + from .planner_task_list_audit_record import PlannerTaskListAuditRecord + from .planner_tenant_settings_audit_record import PlannerTenantSettingsAuditRecord + from .power_apps_audit_app_record import PowerAppsAuditAppRecord + from .power_apps_audit_plan_record import PowerAppsAuditPlanRecord + from .power_apps_audit_resource_record import PowerAppsAuditResourceRecord + from .power_bi_audit_record import PowerBiAuditRecord + from .power_bi_dlp_audit_record import PowerBiDlpAuditRecord + from .power_pages_site_audit_record import PowerPagesSiteAuditRecord + from .power_platform_administrator_activity_record import PowerPlatformAdministratorActivityRecord + from .power_platform_admin_dlp_audit_record import PowerPlatformAdminDlpAuditRecord + from .power_platform_admin_environment_audit_record import PowerPlatformAdminEnvironmentAuditRecord + from .power_platform_lockbox_resource_access_request_audit_record import PowerPlatformLockboxResourceAccessRequestAuditRecord + from .power_platform_lockbox_resource_command_audit_record import PowerPlatformLockboxResourceCommandAuditRecord + from .power_platform_service_activity_audit_record import PowerPlatformServiceActivityAuditRecord + from .privacy_data_match_audit_record import PrivacyDataMatchAuditRecord + from .privacy_data_minimization_record import PrivacyDataMinimizationRecord + from .privacy_digest_email_record import PrivacyDigestEmailRecord + from .privacy_open_access_audit_record import PrivacyOpenAccessAuditRecord + from .privacy_portal_audit_record import PrivacyPortalAuditRecord + from .privacy_remediation_action_record import PrivacyRemediationActionRecord + from .privacy_remediation_record import PrivacyRemediationRecord + from .privacy_tenant_audit_history_record import PrivacyTenantAuditHistoryRecord + from .project_audit_record import ProjectAuditRecord + from .project_for_the_web_assigned_to_me_settings_audit_record import ProjectForTheWebAssignedToMeSettingsAuditRecord + from .project_for_the_web_project_audit_record import ProjectForTheWebProjectAuditRecord + from .project_for_the_web_project_settings_audit_record import ProjectForTheWebProjectSettingsAuditRecord + from .project_for_the_web_roadmap_audit_record import ProjectForTheWebRoadmapAuditRecord + from .project_for_the_web_roadmap_item_audit_record import ProjectForTheWebRoadmapItemAuditRecord + from .project_for_the_web_roadmap_settings_audit_record import ProjectForTheWebRoadmapSettingsAuditRecord + from .project_for_the_web_task_audit_record import ProjectForTheWebTaskAuditRecord + from .public_folder_audit_record import PublicFolderAuditRecord + from .purview_insider_risk_alerts_record import PurviewInsiderRiskAlertsRecord + from .purview_insider_risk_cases_record import PurviewInsiderRiskCasesRecord + from .quarantine_audit_record import QuarantineAuditRecord + from .records_management_audit_record import RecordsManagementAuditRecord + from .retention_policy_audit_record import RetentionPolicyAuditRecord + from .score_evidence import ScoreEvidence + from .score_platform_generic_audit_record import ScorePlatformGenericAuditRecord + from .script_run_audit_record import ScriptRunAuditRecord + from .search_audit_record import SearchAuditRecord + from .security_compliance_alert_record import SecurityComplianceAlertRecord + from .security_compliance_center_e_o_p_cmdlet_audit_record import SecurityComplianceCenterEOPCmdletAuditRecord + from .security_compliance_insights_audit_record import SecurityComplianceInsightsAuditRecord + from .security_compliance_r_b_a_c_audit_record import SecurityComplianceRBACAuditRecord + from .security_compliance_user_change_audit_record import SecurityComplianceUserChangeAuditRecord + from .share_point_app_permission_operation_audit_record import SharePointAppPermissionOperationAuditRecord + from .share_point_audit_record import SharePointAuditRecord + from .share_point_comment_operation_audit_record import SharePointCommentOperationAuditRecord + from .share_point_content_type_operation_audit_record import SharePointContentTypeOperationAuditRecord + from .share_point_e_signature_audit_record import SharePointESignatureAuditRecord + from .share_point_field_operation_audit_record import SharePointFieldOperationAuditRecord + from .share_point_file_operation_audit_record import SharePointFileOperationAuditRecord + from .share_point_list_operation_audit_record import SharePointListOperationAuditRecord + from .share_point_sharing_operation_audit_record import SharePointSharingOperationAuditRecord + from .skype_for_business_base_audit_record import SkypeForBusinessBaseAuditRecord + from .skype_for_business_cmdlets_audit_record import SkypeForBusinessCmdletsAuditRecord + from .skype_for_business_p_s_t_n_usage_audit_record import SkypeForBusinessPSTNUsageAuditRecord + from .skype_for_business_users_blocked_audit_record import SkypeForBusinessUsersBlockedAuditRecord + from .sms_create_phone_number_record import SmsCreatePhoneNumberRecord + from .sms_delete_phone_number_record import SmsDeletePhoneNumberRecord + from .supervisory_review_day_x_insights_audit_record import SupervisoryReviewDayXInsightsAuditRecord + from .synthetic_probe_audit_record import SyntheticProbeAuditRecord + from .teams_easy_approvals_audit_record import TeamsEasyApprovalsAuditRecord + from .teams_healthcare_audit_record import TeamsHealthcareAuditRecord + from .teams_updates_audit_record import TeamsUpdatesAuditRecord + from .tenant_allow_block_list_audit_record import TenantAllowBlockListAuditRecord + from .threat_finder_audit_record import ThreatFinderAuditRecord + from .threat_intelligence_atp_content_data import ThreatIntelligenceAtpContentData + from .threat_intelligence_mail_data import ThreatIntelligenceMailData + from .threat_intelligence_url_click_data import ThreatIntelligenceUrlClickData + from .todo_audit_record import TodoAuditRecord + from .uam_operation_audit_record import UamOperationAuditRecord + from .unified_group_audit_record import UnifiedGroupAuditRecord + from .unified_simulation_matched_item_audit_record import UnifiedSimulationMatchedItemAuditRecord + from .unified_simulation_summary_audit_record import UnifiedSimulationSummaryAuditRecord + from .upload_certificate_record import UploadCertificateRecord + from .urbac_assignment_audit_record import UrbacAssignmentAuditRecord + from .urbac_enable_state_audit_record import UrbacEnableStateAuditRecord + from .urbac_role_audit_record import UrbacRoleAuditRecord + from .user_training_audit_record import UserTrainingAuditRecord + from .vfam_base_policy_audit_record import VfamBasePolicyAuditRecord + from .vfam_create_policy_audit_record import VfamCreatePolicyAuditRecord + from .vfam_delete_policy_audit_record import VfamDeletePolicyAuditRecord + from .vfam_update_policy_audit_record import VfamUpdatePolicyAuditRecord + from .viva_goals_audit_record import VivaGoalsAuditRecord + from .viva_learning_admin_audit_record import VivaLearningAdminAuditRecord + from .viva_learning_audit_record import VivaLearningAuditRecord + from .viva_pulse_admin_audit_record import VivaPulseAdminAuditRecord + from .viva_pulse_organizer_audit_record import VivaPulseOrganizerAuditRecord + from .viva_pulse_report_audit_record import VivaPulseReportAuditRecord + from .viva_pulse_response_audit_record import VivaPulseResponseAuditRecord + from .wdatp_alerts_audit_record import WdatpAlertsAuditRecord + from .windows365_customer_lockbox_audit_record import Windows365CustomerLockboxAuditRecord + from .workplace_analytics_audit_record import WorkplaceAnalyticsAuditRecord + from .yammer_audit_record import YammerAuditRecord + writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/security/audit_log_query.py b/msgraph_beta/generated/models/security/audit_log_query.py index 44a83e8d30c..13a0759e131 100644 --- a/msgraph_beta/generated/models/security/audit_log_query.py +++ b/msgraph_beta/generated/models/security/audit_log_query.py @@ -97,6 +97,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + from .audit_log_query_status import AuditLogQueryStatus + from .audit_log_record import AuditLogRecord + from .audit_log_record_type import AuditLogRecordType + writer.write_collection_of_primitive_values("administrativeUnitIdFilters", self.administrative_unit_id_filters) writer.write_str_value("displayName", self.display_name) writer.write_datetime_value("filterEndDateTime", self.filter_end_date_time) diff --git a/msgraph_beta/generated/models/security/audit_log_query_collection_response.py b/msgraph_beta/generated/models/security/audit_log_query_collection_response.py index 7b922896b0b..6cd57fe252c 100644 --- a/msgraph_beta/generated/models/security/audit_log_query_collection_response.py +++ b/msgraph_beta/generated/models/security/audit_log_query_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .audit_log_query import AuditLogQuery + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/security/audit_log_record.py b/msgraph_beta/generated/models/security/audit_log_record.py index 55b14cd43c3..ea981eb784c 100644 --- a/msgraph_beta/generated/models/security/audit_log_record.py +++ b/msgraph_beta/generated/models/security/audit_log_record.py @@ -94,6 +94,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + from .audit_data import AuditData + from .audit_log_record_type import AuditLogRecordType + from .audit_log_user_type import AuditLogUserType + writer.write_collection_of_primitive_values("administrativeUnits", self.administrative_units) writer.write_object_value("auditData", self.audit_data) writer.write_enum_value("auditLogRecordType", self.audit_log_record_type) diff --git a/msgraph_beta/generated/models/security/audit_log_record_collection_response.py b/msgraph_beta/generated/models/security/audit_log_record_collection_response.py index 5c2d0293ed2..58c395713d0 100644 --- a/msgraph_beta/generated/models/security/audit_log_record_collection_response.py +++ b/msgraph_beta/generated/models/security/audit_log_record_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .audit_log_record import AuditLogRecord + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/security/audit_search_audit_record.py b/msgraph_beta/generated/models/security/audit_search_audit_record.py index 3a7f2f26866..9a9846ff147 100644 --- a/msgraph_beta/generated/models/security/audit_search_audit_record.py +++ b/msgraph_beta/generated/models/security/audit_search_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/authority_template.py b/msgraph_beta/generated/models/security/authority_template.py index dad80b31c54..afead235d9e 100644 --- a/msgraph_beta/generated/models/security/authority_template.py +++ b/msgraph_beta/generated/models/security/authority_template.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .file_plan_descriptor_template import FilePlanDescriptorTemplate + diff --git a/msgraph_beta/generated/models/security/authority_template_collection_response.py b/msgraph_beta/generated/models/security/authority_template_collection_response.py index 407771f6727..cba4888cf1a 100644 --- a/msgraph_beta/generated/models/security/authority_template_collection_response.py +++ b/msgraph_beta/generated/models/security/authority_template_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .authority_template import AuthorityTemplate + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/security/azure_active_directory_account_logon_audit_record.py b/msgraph_beta/generated/models/security/azure_active_directory_account_logon_audit_record.py index dbfbc7cc188..47a10408974 100644 --- a/msgraph_beta/generated/models/security/azure_active_directory_account_logon_audit_record.py +++ b/msgraph_beta/generated/models/security/azure_active_directory_account_logon_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/azure_active_directory_audit_record.py b/msgraph_beta/generated/models/security/azure_active_directory_audit_record.py index 7102a6576a6..3864e2ced98 100644 --- a/msgraph_beta/generated/models/security/azure_active_directory_audit_record.py +++ b/msgraph_beta/generated/models/security/azure_active_directory_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/azure_active_directory_base_audit_record.py b/msgraph_beta/generated/models/security/azure_active_directory_base_audit_record.py index a09f39d3745..5d547e1726e 100644 --- a/msgraph_beta/generated/models/security/azure_active_directory_base_audit_record.py +++ b/msgraph_beta/generated/models/security/azure_active_directory_base_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/azure_active_directory_sts_logon_audit_record.py b/msgraph_beta/generated/models/security/azure_active_directory_sts_logon_audit_record.py index dcdeaac77c1..cc52d0c2f79 100644 --- a/msgraph_beta/generated/models/security/azure_active_directory_sts_logon_audit_record.py +++ b/msgraph_beta/generated/models/security/azure_active_directory_sts_logon_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/azure_resource_evidence.py b/msgraph_beta/generated/models/security/azure_resource_evidence.py index 24a3c7c6be2..9e64231d7f2 100644 --- a/msgraph_beta/generated/models/security/azure_resource_evidence.py +++ b/msgraph_beta/generated/models/security/azure_resource_evidence.py @@ -57,6 +57,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .alert_evidence import AlertEvidence + writer.write_str_value("resourceId", self.resource_id) writer.write_str_value("resourceName", self.resource_name) writer.write_str_value("resourceType", self.resource_type) diff --git a/msgraph_beta/generated/models/security/blob_container_evidence.py b/msgraph_beta/generated/models/security/blob_container_evidence.py index ff6caa3402c..83e6802d08f 100644 --- a/msgraph_beta/generated/models/security/blob_container_evidence.py +++ b/msgraph_beta/generated/models/security/blob_container_evidence.py @@ -60,6 +60,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .alert_evidence import AlertEvidence + from .azure_resource_evidence import AzureResourceEvidence + writer.write_str_value("name", self.name) writer.write_object_value("storageResource", self.storage_resource) writer.write_str_value("url", self.url) diff --git a/msgraph_beta/generated/models/security/blob_evidence.py b/msgraph_beta/generated/models/security/blob_evidence.py index 571699eaa2e..65fa07def89 100644 --- a/msgraph_beta/generated/models/security/blob_evidence.py +++ b/msgraph_beta/generated/models/security/blob_evidence.py @@ -69,6 +69,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .alert_evidence import AlertEvidence + from .blob_container_evidence import BlobContainerEvidence + from .file_hash import FileHash + writer.write_object_value("blobContainer", self.blob_container) writer.write_str_value("etag", self.etag) writer.write_collection_of_object_values("fileHashes", self.file_hashes) diff --git a/msgraph_beta/generated/models/security/block_file_response_action.py b/msgraph_beta/generated/models/security/block_file_response_action.py index 6783271dd37..db4d0940ddb 100644 --- a/msgraph_beta/generated/models/security/block_file_response_action.py +++ b/msgraph_beta/generated/models/security/block_file_response_action.py @@ -57,6 +57,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .file_entity_identifier import FileEntityIdentifier + from .response_action import ResponseAction + writer.write_collection_of_primitive_values("deviceGroupNames", self.device_group_names) writer.write_enum_value("identifier", self.identifier) diff --git a/msgraph_beta/generated/models/security/campaign_audit_record.py b/msgraph_beta/generated/models/security/campaign_audit_record.py index aaaaa782fa1..9298c0b0864 100644 --- a/msgraph_beta/generated/models/security/campaign_audit_record.py +++ b/msgraph_beta/generated/models/security/campaign_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/case.py b/msgraph_beta/generated/models/security/case.py index 43102b4e99f..24a279c6cd9 100644 --- a/msgraph_beta/generated/models/security/case.py +++ b/msgraph_beta/generated/models/security/case.py @@ -39,7 +39,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> Case: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.security.ediscoveryCase".casefold(): @@ -84,6 +85,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + from ..identity_set import IdentitySet + from .case_status import CaseStatus + from .ediscovery_case import EdiscoveryCase + writer.write_datetime_value("createdDateTime", self.created_date_time) writer.write_str_value("description", self.description) writer.write_str_value("displayName", self.display_name) diff --git a/msgraph_beta/generated/models/security/case_audit_record.py b/msgraph_beta/generated/models/security/case_audit_record.py index 6d1241f0c89..69c31a3cb6d 100644 --- a/msgraph_beta/generated/models/security/case_audit_record.py +++ b/msgraph_beta/generated/models/security/case_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/case_investigation.py b/msgraph_beta/generated/models/security/case_investigation.py index a12e7945a34..8bb5abf6185 100644 --- a/msgraph_beta/generated/models/security/case_investigation.py +++ b/msgraph_beta/generated/models/security/case_investigation.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/case_operation.py b/msgraph_beta/generated/models/security/case_operation.py index 4b1d2c1a0ad..386887e9fb0 100644 --- a/msgraph_beta/generated/models/security/case_operation.py +++ b/msgraph_beta/generated/models/security/case_operation.py @@ -23,7 +23,7 @@ @dataclass class CaseOperation(Entity): - # 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. You must 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 @@ -50,7 +50,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> CaseOperation: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.security.ediscoveryAddToReviewSetOperation".casefold(): @@ -142,6 +143,20 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + from ..identity_set import IdentitySet + from ..result_info import ResultInfo + from .case_action import CaseAction + from .case_operation_status import CaseOperationStatus + from .ediscovery_add_to_review_set_operation import EdiscoveryAddToReviewSetOperation + from .ediscovery_estimate_operation import EdiscoveryEstimateOperation + from .ediscovery_export_operation import EdiscoveryExportOperation + from .ediscovery_hold_operation import EdiscoveryHoldOperation + from .ediscovery_index_operation import EdiscoveryIndexOperation + from .ediscovery_purge_data_operation import EdiscoveryPurgeDataOperation + from .ediscovery_search_export_operation import EdiscoverySearchExportOperation + from .ediscovery_tag_operation import EdiscoveryTagOperation + writer.write_enum_value("action", self.action) writer.write_datetime_value("completedDateTime", self.completed_date_time) writer.write_object_value("createdBy", self.created_by) diff --git a/msgraph_beta/generated/models/security/case_operation_collection_response.py b/msgraph_beta/generated/models/security/case_operation_collection_response.py index f2909938350..f77e869eaa0 100644 --- a/msgraph_beta/generated/models/security/case_operation_collection_response.py +++ b/msgraph_beta/generated/models/security/case_operation_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .case_operation import CaseOperation + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/security/cases_root.py b/msgraph_beta/generated/models/security/cases_root.py index d89da13091d..f5cb037dc7d 100644 --- a/msgraph_beta/generated/models/security/cases_root.py +++ b/msgraph_beta/generated/models/security/cases_root.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + from .ediscovery_case import EdiscoveryCase + writer.write_collection_of_object_values("ediscoveryCases", self.ediscovery_cases) diff --git a/msgraph_beta/generated/models/security/category_template.py b/msgraph_beta/generated/models/security/category_template.py index e79e0db2875..411544927b0 100644 --- a/msgraph_beta/generated/models/security/category_template.py +++ b/msgraph_beta/generated/models/security/category_template.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .file_plan_descriptor_template import FilePlanDescriptorTemplate + from .subcategory_template import SubcategoryTemplate + writer.write_collection_of_object_values("subcategories", self.subcategories) diff --git a/msgraph_beta/generated/models/security/category_template_collection_response.py b/msgraph_beta/generated/models/security/category_template_collection_response.py index f1b2e571628..105c9a657f1 100644 --- a/msgraph_beta/generated/models/security/category_template_collection_response.py +++ b/msgraph_beta/generated/models/security/category_template_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .category_template import CategoryTemplate + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/security/cdp_cold_crawl_status_record.py b/msgraph_beta/generated/models/security/cdp_cold_crawl_status_record.py index 08eb37459e4..dd3beebb19b 100644 --- a/msgraph_beta/generated/models/security/cdp_cold_crawl_status_record.py +++ b/msgraph_beta/generated/models/security/cdp_cold_crawl_status_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/cdp_content_explorer_aggregate_record.py b/msgraph_beta/generated/models/security/cdp_content_explorer_aggregate_record.py index 09bbfce9117..f44e4d998cc 100644 --- a/msgraph_beta/generated/models/security/cdp_content_explorer_aggregate_record.py +++ b/msgraph_beta/generated/models/security/cdp_content_explorer_aggregate_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/cdp_dlp_sensitive_audit_record.py b/msgraph_beta/generated/models/security/cdp_dlp_sensitive_audit_record.py index 794c098bf19..b35956a595a 100644 --- a/msgraph_beta/generated/models/security/cdp_dlp_sensitive_audit_record.py +++ b/msgraph_beta/generated/models/security/cdp_dlp_sensitive_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/cdp_dlp_sensitive_endpoint_audit_record.py b/msgraph_beta/generated/models/security/cdp_dlp_sensitive_endpoint_audit_record.py index fda8d70eddd..ed08e535715 100644 --- a/msgraph_beta/generated/models/security/cdp_dlp_sensitive_endpoint_audit_record.py +++ b/msgraph_beta/generated/models/security/cdp_dlp_sensitive_endpoint_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/cdp_log_record.py b/msgraph_beta/generated/models/security/cdp_log_record.py index 9f4115731ca..0b65644ef17 100644 --- a/msgraph_beta/generated/models/security/cdp_log_record.py +++ b/msgraph_beta/generated/models/security/cdp_log_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/cdp_ocr_billing_record.py b/msgraph_beta/generated/models/security/cdp_ocr_billing_record.py index d7da5a6ea6d..8e79048df12 100644 --- a/msgraph_beta/generated/models/security/cdp_ocr_billing_record.py +++ b/msgraph_beta/generated/models/security/cdp_ocr_billing_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/cdp_resource_scope_change_event_record.py b/msgraph_beta/generated/models/security/cdp_resource_scope_change_event_record.py index 719fa6d4499..b35899d0078 100644 --- a/msgraph_beta/generated/models/security/cdp_resource_scope_change_event_record.py +++ b/msgraph_beta/generated/models/security/cdp_resource_scope_change_event_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/cerner_s_m_s_link_record.py b/msgraph_beta/generated/models/security/cerner_s_m_s_link_record.py index 1b2f78a5c6c..4c471d2bc15 100644 --- a/msgraph_beta/generated/models/security/cerner_s_m_s_link_record.py +++ b/msgraph_beta/generated/models/security/cerner_s_m_s_link_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/cerner_s_m_s_settings_update_record.py b/msgraph_beta/generated/models/security/cerner_s_m_s_settings_update_record.py index b11111d338b..dfc258f34df 100644 --- a/msgraph_beta/generated/models/security/cerner_s_m_s_settings_update_record.py +++ b/msgraph_beta/generated/models/security/cerner_s_m_s_settings_update_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/cerner_s_m_s_unlink_record.py b/msgraph_beta/generated/models/security/cerner_s_m_s_unlink_record.py index 0bab9062df2..4d7d322427e 100644 --- a/msgraph_beta/generated/models/security/cerner_s_m_s_unlink_record.py +++ b/msgraph_beta/generated/models/security/cerner_s_m_s_unlink_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/citation_template.py b/msgraph_beta/generated/models/security/citation_template.py index 96124821560..6d7faef752f 100644 --- a/msgraph_beta/generated/models/security/citation_template.py +++ b/msgraph_beta/generated/models/security/citation_template.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .file_plan_descriptor_template import FilePlanDescriptorTemplate + writer.write_str_value("citationJurisdiction", self.citation_jurisdiction) writer.write_str_value("citationUrl", self.citation_url) diff --git a/msgraph_beta/generated/models/security/citation_template_collection_response.py b/msgraph_beta/generated/models/security/citation_template_collection_response.py index 108e1a11093..649fed62d15 100644 --- a/msgraph_beta/generated/models/security/citation_template_collection_response.py +++ b/msgraph_beta/generated/models/security/citation_template_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .citation_template import CitationTemplate + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/security/cloud_application_evidence.py b/msgraph_beta/generated/models/security/cloud_application_evidence.py index 07e18e7a50a..d4b77b820d1 100644 --- a/msgraph_beta/generated/models/security/cloud_application_evidence.py +++ b/msgraph_beta/generated/models/security/cloud_application_evidence.py @@ -69,6 +69,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .alert_evidence import AlertEvidence + from .stream import Stream + writer.write_int_value("appId", self.app_id) writer.write_str_value("displayName", self.display_name) writer.write_int_value("instanceId", self.instance_id) diff --git a/msgraph_beta/generated/models/security/cloud_logon_request_evidence.py b/msgraph_beta/generated/models/security/cloud_logon_request_evidence.py index 8f82f9ec545..b8cea8e3a30 100644 --- a/msgraph_beta/generated/models/security/cloud_logon_request_evidence.py +++ b/msgraph_beta/generated/models/security/cloud_logon_request_evidence.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .alert_evidence import AlertEvidence + writer.write_str_value("requestId", self.request_id) diff --git a/msgraph_beta/generated/models/security/cloud_logon_session_evidence.py b/msgraph_beta/generated/models/security/cloud_logon_session_evidence.py index f5c16bde88c..307f767b01c 100644 --- a/msgraph_beta/generated/models/security/cloud_logon_session_evidence.py +++ b/msgraph_beta/generated/models/security/cloud_logon_session_evidence.py @@ -79,6 +79,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .alert_evidence import AlertEvidence + from .user_evidence import UserEvidence + writer.write_object_value("account", self.account) writer.write_str_value("browser", self.browser) writer.write_str_value("deviceName", self.device_name) diff --git a/msgraph_beta/generated/models/security/collaboration_root.py b/msgraph_beta/generated/models/security/collaboration_root.py index 91c74e0055c..78280fc108b 100644 --- a/msgraph_beta/generated/models/security/collaboration_root.py +++ b/msgraph_beta/generated/models/security/collaboration_root.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + from .analyzed_email import AnalyzedEmail + writer.write_collection_of_object_values("analyzedEmails", self.analyzed_emails) diff --git a/msgraph_beta/generated/models/security/collect_investigation_package_response_action.py b/msgraph_beta/generated/models/security/collect_investigation_package_response_action.py index a9378db3bbc..94e036f50db 100644 --- a/msgraph_beta/generated/models/security/collect_investigation_package_response_action.py +++ b/msgraph_beta/generated/models/security/collect_investigation_package_response_action.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_id_entity_identifier import DeviceIdEntityIdentifier + from .response_action import ResponseAction + writer.write_enum_value("identifier", self.identifier) diff --git a/msgraph_beta/generated/models/security/compliance_connector_audit_record.py b/msgraph_beta/generated/models/security/compliance_connector_audit_record.py index 0d48c9ea9a6..86b53e5246a 100644 --- a/msgraph_beta/generated/models/security/compliance_connector_audit_record.py +++ b/msgraph_beta/generated/models/security/compliance_connector_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/compliance_d_l_m_exchange_audit_record.py b/msgraph_beta/generated/models/security/compliance_d_l_m_exchange_audit_record.py index b0f6d43fe0f..1461e89530a 100644 --- a/msgraph_beta/generated/models/security/compliance_d_l_m_exchange_audit_record.py +++ b/msgraph_beta/generated/models/security/compliance_d_l_m_exchange_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/compliance_d_l_m_share_point_audit_record.py b/msgraph_beta/generated/models/security/compliance_d_l_m_share_point_audit_record.py index 8a3def55681..b8ad3bfb914 100644 --- a/msgraph_beta/generated/models/security/compliance_d_l_m_share_point_audit_record.py +++ b/msgraph_beta/generated/models/security/compliance_d_l_m_share_point_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/compliance_dlp_applications_audit_record.py b/msgraph_beta/generated/models/security/compliance_dlp_applications_audit_record.py index fb6787d38a5..da47b7140d6 100644 --- a/msgraph_beta/generated/models/security/compliance_dlp_applications_audit_record.py +++ b/msgraph_beta/generated/models/security/compliance_dlp_applications_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/compliance_dlp_applications_classification_audit_record.py b/msgraph_beta/generated/models/security/compliance_dlp_applications_classification_audit_record.py index 916d8c1ca76..1a7edf7d0da 100644 --- a/msgraph_beta/generated/models/security/compliance_dlp_applications_classification_audit_record.py +++ b/msgraph_beta/generated/models/security/compliance_dlp_applications_classification_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/compliance_dlp_base_audit_record.py b/msgraph_beta/generated/models/security/compliance_dlp_base_audit_record.py index 8f19c68dbf1..20c4c6a5a17 100644 --- a/msgraph_beta/generated/models/security/compliance_dlp_base_audit_record.py +++ b/msgraph_beta/generated/models/security/compliance_dlp_base_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/compliance_dlp_classification_base_audit_record.py b/msgraph_beta/generated/models/security/compliance_dlp_classification_base_audit_record.py index ff15b96d2ff..5d0d0e19abd 100644 --- a/msgraph_beta/generated/models/security/compliance_dlp_classification_base_audit_record.py +++ b/msgraph_beta/generated/models/security/compliance_dlp_classification_base_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/compliance_dlp_classification_base_cdp_record.py b/msgraph_beta/generated/models/security/compliance_dlp_classification_base_cdp_record.py index 4c7bd58147c..ae6e73878a4 100644 --- a/msgraph_beta/generated/models/security/compliance_dlp_classification_base_cdp_record.py +++ b/msgraph_beta/generated/models/security/compliance_dlp_classification_base_cdp_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/compliance_dlp_endpoint_audit_record.py b/msgraph_beta/generated/models/security/compliance_dlp_endpoint_audit_record.py index 365ee9edfd9..601aef85290 100644 --- a/msgraph_beta/generated/models/security/compliance_dlp_endpoint_audit_record.py +++ b/msgraph_beta/generated/models/security/compliance_dlp_endpoint_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/compliance_dlp_endpoint_discovery_audit_record.py b/msgraph_beta/generated/models/security/compliance_dlp_endpoint_discovery_audit_record.py index 9e549d04059..bdfa0746429 100644 --- a/msgraph_beta/generated/models/security/compliance_dlp_endpoint_discovery_audit_record.py +++ b/msgraph_beta/generated/models/security/compliance_dlp_endpoint_discovery_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/compliance_dlp_exchange_audit_record.py b/msgraph_beta/generated/models/security/compliance_dlp_exchange_audit_record.py index efe6d113610..847b3644a0c 100644 --- a/msgraph_beta/generated/models/security/compliance_dlp_exchange_audit_record.py +++ b/msgraph_beta/generated/models/security/compliance_dlp_exchange_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/compliance_dlp_exchange_classification_audit_record.py b/msgraph_beta/generated/models/security/compliance_dlp_exchange_classification_audit_record.py index e38985b258c..2f83beaa8a9 100644 --- a/msgraph_beta/generated/models/security/compliance_dlp_exchange_classification_audit_record.py +++ b/msgraph_beta/generated/models/security/compliance_dlp_exchange_classification_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/compliance_dlp_exchange_classification_cdp_record.py b/msgraph_beta/generated/models/security/compliance_dlp_exchange_classification_cdp_record.py index b4e5b13c9a3..2796b8127b8 100644 --- a/msgraph_beta/generated/models/security/compliance_dlp_exchange_classification_cdp_record.py +++ b/msgraph_beta/generated/models/security/compliance_dlp_exchange_classification_cdp_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/compliance_dlp_exchange_discovery_audit_record.py b/msgraph_beta/generated/models/security/compliance_dlp_exchange_discovery_audit_record.py index c4bbac44586..8e1de846858 100644 --- a/msgraph_beta/generated/models/security/compliance_dlp_exchange_discovery_audit_record.py +++ b/msgraph_beta/generated/models/security/compliance_dlp_exchange_discovery_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/compliance_dlp_share_point_audit_record.py b/msgraph_beta/generated/models/security/compliance_dlp_share_point_audit_record.py index e7cfd560573..79ea985d5b5 100644 --- a/msgraph_beta/generated/models/security/compliance_dlp_share_point_audit_record.py +++ b/msgraph_beta/generated/models/security/compliance_dlp_share_point_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/compliance_dlp_share_point_classification_audit_record.py b/msgraph_beta/generated/models/security/compliance_dlp_share_point_classification_audit_record.py index b206cb8fc60..4f551c4a376 100644 --- a/msgraph_beta/generated/models/security/compliance_dlp_share_point_classification_audit_record.py +++ b/msgraph_beta/generated/models/security/compliance_dlp_share_point_classification_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/compliance_dlp_share_point_classification_extended_audit_record.py b/msgraph_beta/generated/models/security/compliance_dlp_share_point_classification_extended_audit_record.py index 46c35541a63..aa834feda9f 100644 --- a/msgraph_beta/generated/models/security/compliance_dlp_share_point_classification_extended_audit_record.py +++ b/msgraph_beta/generated/models/security/compliance_dlp_share_point_classification_extended_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/compliance_manager_action_record.py b/msgraph_beta/generated/models/security/compliance_manager_action_record.py index bfd1b45c8cf..3f42b9e9d07 100644 --- a/msgraph_beta/generated/models/security/compliance_manager_action_record.py +++ b/msgraph_beta/generated/models/security/compliance_manager_action_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/compliance_supervision_base_audit_record.py b/msgraph_beta/generated/models/security/compliance_supervision_base_audit_record.py index 6a21c009b01..9e60cee3644 100644 --- a/msgraph_beta/generated/models/security/compliance_supervision_base_audit_record.py +++ b/msgraph_beta/generated/models/security/compliance_supervision_base_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/compliance_supervision_exchange_audit_record.py b/msgraph_beta/generated/models/security/compliance_supervision_exchange_audit_record.py index e229640cc10..f05b54599dd 100644 --- a/msgraph_beta/generated/models/security/compliance_supervision_exchange_audit_record.py +++ b/msgraph_beta/generated/models/security/compliance_supervision_exchange_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/consumption_resource_audit_record.py b/msgraph_beta/generated/models/security/consumption_resource_audit_record.py index ed3e2fe9c01..4c3084d2062 100644 --- a/msgraph_beta/generated/models/security/consumption_resource_audit_record.py +++ b/msgraph_beta/generated/models/security/consumption_resource_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/container_evidence.py b/msgraph_beta/generated/models/security/container_evidence.py index 798bb613316..348f117683e 100644 --- a/msgraph_beta/generated/models/security/container_evidence.py +++ b/msgraph_beta/generated/models/security/container_evidence.py @@ -75,6 +75,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .alert_evidence import AlertEvidence + from .container_image_evidence import ContainerImageEvidence + from .kubernetes_pod_evidence import KubernetesPodEvidence + writer.write_collection_of_primitive_values("args", self.args) writer.write_collection_of_primitive_values("command", self.command) writer.write_str_value("containerId", self.container_id) diff --git a/msgraph_beta/generated/models/security/container_image_evidence.py b/msgraph_beta/generated/models/security/container_image_evidence.py index 4d4c0ae78e5..a41b2745839 100644 --- a/msgraph_beta/generated/models/security/container_image_evidence.py +++ b/msgraph_beta/generated/models/security/container_image_evidence.py @@ -60,6 +60,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .alert_evidence import AlertEvidence + from .container_registry_evidence import ContainerRegistryEvidence + writer.write_object_value("digestImage", self.digest_image) writer.write_str_value("imageId", self.image_id) writer.write_object_value("registry", self.registry) diff --git a/msgraph_beta/generated/models/security/container_registry_evidence.py b/msgraph_beta/generated/models/security/container_registry_evidence.py index f30931b810c..d8ff37a738b 100644 --- a/msgraph_beta/generated/models/security/container_registry_evidence.py +++ b/msgraph_beta/generated/models/security/container_registry_evidence.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .alert_evidence import AlertEvidence + writer.write_str_value("registry", self.registry) diff --git a/msgraph_beta/generated/models/security/content_info.py b/msgraph_beta/generated/models/security/content_info.py index 0c1ad31b761..54a894c5717 100644 --- a/msgraph_beta/generated/models/security/content_info.py +++ b/msgraph_beta/generated/models/security/content_info.py @@ -65,6 +65,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .content_state import ContentState + from .key_value_pair import KeyValuePair + writer.write_str_value("contentFormat", self.content_format) writer.write_str_value("identifier", self.identifier) writer.write_collection_of_object_values("metadata", self.metadata) diff --git a/msgraph_beta/generated/models/security/content_label.py b/msgraph_beta/generated/models/security/content_label.py index b1e2ae53f5b..e4ec635acf3 100644 --- a/msgraph_beta/generated/models/security/content_label.py +++ b/msgraph_beta/generated/models/security/content_label.py @@ -60,6 +60,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .assignment_method import AssignmentMethod + writer.write_enum_value("assignmentMethod", self.assignment_method) writer.write_datetime_value("createdDateTime", self.created_date_time) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/security/copilot_interaction_audit_record.py b/msgraph_beta/generated/models/security/copilot_interaction_audit_record.py index 94c66ae9ae4..5f860af02ff 100644 --- a/msgraph_beta/generated/models/security/copilot_interaction_audit_record.py +++ b/msgraph_beta/generated/models/security/copilot_interaction_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/core_reporting_settings_audit_record.py b/msgraph_beta/generated/models/security/core_reporting_settings_audit_record.py index 9d54fc2c493..a164e2d8374 100644 --- a/msgraph_beta/generated/models/security/core_reporting_settings_audit_record.py +++ b/msgraph_beta/generated/models/security/core_reporting_settings_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/cortana_briefing_audit_record.py b/msgraph_beta/generated/models/security/cortana_briefing_audit_record.py index fda0f30c15e..e744a68c9e4 100644 --- a/msgraph_beta/generated/models/security/cortana_briefing_audit_record.py +++ b/msgraph_beta/generated/models/security/cortana_briefing_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/cps_common_policy_audit_record.py b/msgraph_beta/generated/models/security/cps_common_policy_audit_record.py index 00c302eea50..df44aede00d 100644 --- a/msgraph_beta/generated/models/security/cps_common_policy_audit_record.py +++ b/msgraph_beta/generated/models/security/cps_common_policy_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/cps_policy_config_audit_record.py b/msgraph_beta/generated/models/security/cps_policy_config_audit_record.py index 817d0637a9f..6fff9d05fb6 100644 --- a/msgraph_beta/generated/models/security/cps_policy_config_audit_record.py +++ b/msgraph_beta/generated/models/security/cps_policy_config_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/crm_base_audit_record.py b/msgraph_beta/generated/models/security/crm_base_audit_record.py index 31848734675..668b4bbe2bd 100644 --- a/msgraph_beta/generated/models/security/crm_base_audit_record.py +++ b/msgraph_beta/generated/models/security/crm_base_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/crm_entity_operation_audit_record.py b/msgraph_beta/generated/models/security/crm_entity_operation_audit_record.py index 9872c55f0fb..5c09a5e33d4 100644 --- a/msgraph_beta/generated/models/security/crm_entity_operation_audit_record.py +++ b/msgraph_beta/generated/models/security/crm_entity_operation_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/custom_action.py b/msgraph_beta/generated/models/security/custom_action.py index f24c5471e9e..b654ccf6ae3 100644 --- a/msgraph_beta/generated/models/security/custom_action.py +++ b/msgraph_beta/generated/models/security/custom_action.py @@ -57,6 +57,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .information_protection_action import InformationProtectionAction + from .key_value_pair import KeyValuePair + writer.write_str_value("name", self.name) writer.write_collection_of_object_values("properties", self.properties) diff --git a/msgraph_beta/generated/models/security/customer_key_service_encryption_audit_record.py b/msgraph_beta/generated/models/security/customer_key_service_encryption_audit_record.py index de09f7d58a4..c92ace50798 100644 --- a/msgraph_beta/generated/models/security/customer_key_service_encryption_audit_record.py +++ b/msgraph_beta/generated/models/security/customer_key_service_encryption_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/cvss_summary.py b/msgraph_beta/generated/models/security/cvss_summary.py index 94b87a15729..3fd863f5290 100644 --- a/msgraph_beta/generated/models/security/cvss_summary.py +++ b/msgraph_beta/generated/models/security/cvss_summary.py @@ -59,6 +59,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .vulnerability_severity import VulnerabilitySeverity + writer.write_str_value("@odata.type", self.odata_type) writer.write_float_value("score", self.score) writer.write_enum_value("severity", self.severity) diff --git a/msgraph_beta/generated/models/security/data_center_security_base_audit_record.py b/msgraph_beta/generated/models/security/data_center_security_base_audit_record.py index 6d6209cb7cd..224aa8bea8f 100644 --- a/msgraph_beta/generated/models/security/data_center_security_base_audit_record.py +++ b/msgraph_beta/generated/models/security/data_center_security_base_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/data_center_security_cmdlet_audit_record.py b/msgraph_beta/generated/models/security/data_center_security_cmdlet_audit_record.py index 681a0db2bf5..1946329f08a 100644 --- a/msgraph_beta/generated/models/security/data_center_security_cmdlet_audit_record.py +++ b/msgraph_beta/generated/models/security/data_center_security_cmdlet_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/data_governance_audit_record.py b/msgraph_beta/generated/models/security/data_governance_audit_record.py index a1f46151abc..86ac0707c4b 100644 --- a/msgraph_beta/generated/models/security/data_governance_audit_record.py +++ b/msgraph_beta/generated/models/security/data_governance_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/data_insights_rest_api_audit_record.py b/msgraph_beta/generated/models/security/data_insights_rest_api_audit_record.py index b3f8d91255b..e42afb2dfd9 100644 --- a/msgraph_beta/generated/models/security/data_insights_rest_api_audit_record.py +++ b/msgraph_beta/generated/models/security/data_insights_rest_api_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/data_lake_export_operation_audit_record.py b/msgraph_beta/generated/models/security/data_lake_export_operation_audit_record.py index d1cb46fbffb..600cb77e7e7 100644 --- a/msgraph_beta/generated/models/security/data_lake_export_operation_audit_record.py +++ b/msgraph_beta/generated/models/security/data_lake_export_operation_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/data_set.py b/msgraph_beta/generated/models/security/data_set.py index ea3d3be7524..58388478da2 100644 --- a/msgraph_beta/generated/models/security/data_set.py +++ b/msgraph_beta/generated/models/security/data_set.py @@ -32,7 +32,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> DataSet: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.security.ediscoveryReviewSet".casefold(): @@ -72,6 +73,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + from ..identity_set import IdentitySet + from .ediscovery_review_set import EdiscoveryReviewSet + writer.write_object_value("createdBy", self.created_by) writer.write_datetime_value("createdDateTime", self.created_date_time) writer.write_str_value("displayName", self.display_name) diff --git a/msgraph_beta/generated/models/security/data_share_operation_audit_record.py b/msgraph_beta/generated/models/security/data_share_operation_audit_record.py index 76cab853b94..e1d651a4661 100644 --- a/msgraph_beta/generated/models/security/data_share_operation_audit_record.py +++ b/msgraph_beta/generated/models/security/data_share_operation_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/data_source.py b/msgraph_beta/generated/models/security/data_source.py index 41ec836eb73..1f53e879edf 100644 --- a/msgraph_beta/generated/models/security/data_source.py +++ b/msgraph_beta/generated/models/security/data_source.py @@ -37,7 +37,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> DataSource: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.security.siteSource".casefold(): @@ -92,6 +93,13 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + from ..identity_set import IdentitySet + from .data_source_hold_status import DataSourceHoldStatus + from .site_source import SiteSource + from .unified_group_source import UnifiedGroupSource + from .user_source import UserSource + writer.write_object_value("createdBy", self.created_by) writer.write_datetime_value("createdDateTime", self.created_date_time) writer.write_str_value("displayName", self.display_name) diff --git a/msgraph_beta/generated/models/security/data_source_collection_response.py b/msgraph_beta/generated/models/security/data_source_collection_response.py index efe12a587a7..71a4b630cc7 100644 --- a/msgraph_beta/generated/models/security/data_source_collection_response.py +++ b/msgraph_beta/generated/models/security/data_source_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .data_source import DataSource + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/security/data_source_container.py b/msgraph_beta/generated/models/security/data_source_container.py index ddf80843a6c..0102ef8db2e 100644 --- a/msgraph_beta/generated/models/security/data_source_container.py +++ b/msgraph_beta/generated/models/security/data_source_container.py @@ -40,7 +40,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> DataSourceContaine if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.security.ediscoveryCustodian".casefold(): @@ -91,6 +92,12 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + from .data_source_container_status import DataSourceContainerStatus + from .data_source_hold_status import DataSourceHoldStatus + from .ediscovery_custodian import EdiscoveryCustodian + from .ediscovery_noncustodial_data_source import EdiscoveryNoncustodialDataSource + writer.write_datetime_value("createdDateTime", self.created_date_time) writer.write_str_value("displayName", self.display_name) writer.write_enum_value("holdStatus", self.hold_status) diff --git a/msgraph_beta/generated/models/security/default_audit_data.py b/msgraph_beta/generated/models/security/default_audit_data.py index 2927387a1c2..e280915f238 100644 --- a/msgraph_beta/generated/models/security/default_audit_data.py +++ b/msgraph_beta/generated/models/security/default_audit_data.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/defender_security_alert_base_record.py b/msgraph_beta/generated/models/security/defender_security_alert_base_record.py index 8e01be00d46..668b2e4492b 100644 --- a/msgraph_beta/generated/models/security/defender_security_alert_base_record.py +++ b/msgraph_beta/generated/models/security/defender_security_alert_base_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/delete_certificate_record.py b/msgraph_beta/generated/models/security/delete_certificate_record.py index 5a86406f058..c3d3e1ecfe1 100644 --- a/msgraph_beta/generated/models/security/delete_certificate_record.py +++ b/msgraph_beta/generated/models/security/delete_certificate_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/department_template.py b/msgraph_beta/generated/models/security/department_template.py index 3766d60fa31..9c23baecece 100644 --- a/msgraph_beta/generated/models/security/department_template.py +++ b/msgraph_beta/generated/models/security/department_template.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .file_plan_descriptor_template import FilePlanDescriptorTemplate + diff --git a/msgraph_beta/generated/models/security/department_template_collection_response.py b/msgraph_beta/generated/models/security/department_template_collection_response.py index 34f53ab37ae..f05d021f462 100644 --- a/msgraph_beta/generated/models/security/department_template_collection_response.py +++ b/msgraph_beta/generated/models/security/department_template_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .department_template import DepartmentTemplate + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/security/detection_action.py b/msgraph_beta/generated/models/security/detection_action.py index 86f17ca2952..91ff0e285b5 100644 --- a/msgraph_beta/generated/models/security/detection_action.py +++ b/msgraph_beta/generated/models/security/detection_action.py @@ -65,6 +65,10 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .alert_template import AlertTemplate + from .organizational_scope import OrganizationalScope + from .response_action import ResponseAction + writer.write_object_value("alertTemplate", self.alert_template) writer.write_str_value("@odata.type", self.odata_type) writer.write_object_value("organizationalScope", self.organizational_scope) diff --git a/msgraph_beta/generated/models/security/detection_rule.py b/msgraph_beta/generated/models/security/detection_rule.py index fc068d6e19c..19583f8e858 100644 --- a/msgraph_beta/generated/models/security/detection_rule.py +++ b/msgraph_beta/generated/models/security/detection_rule.py @@ -75,6 +75,12 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .detection_action import DetectionAction + from .protection_rule import ProtectionRule + from .query_condition import QueryCondition + from .rule_schedule import RuleSchedule + from .run_details import RunDetails + writer.write_object_value("detectionAction", self.detection_action) writer.write_str_value("detectorId", self.detector_id) writer.write_object_value("lastRunDetails", self.last_run_details) diff --git a/msgraph_beta/generated/models/security/detection_rule_collection_response.py b/msgraph_beta/generated/models/security/detection_rule_collection_response.py index 103b174858c..191931785c1 100644 --- a/msgraph_beta/generated/models/security/detection_rule_collection_response.py +++ b/msgraph_beta/generated/models/security/detection_rule_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .detection_rule import DetectionRule + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/security/detonation_details.py b/msgraph_beta/generated/models/security/detonation_details.py index c24c7c8969e..d438d4c8c74 100644 --- a/msgraph_beta/generated/models/security/detonation_details.py +++ b/msgraph_beta/generated/models/security/detonation_details.py @@ -69,6 +69,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .detonation_chain import DetonationChain + from .detonation_observables import DetonationObservables + writer.write_datetime_value("analysisDateTime", self.analysis_date_time) writer.write_object_value("detonationChain", self.detonation_chain) writer.write_object_value("detonationObservables", self.detonation_observables) diff --git a/msgraph_beta/generated/models/security/device_evidence.py b/msgraph_beta/generated/models/security/device_evidence.py index 4c95edee2cb..5f5e7034679 100644 --- a/msgraph_beta/generated/models/security/device_evidence.py +++ b/msgraph_beta/generated/models/security/device_evidence.py @@ -130,6 +130,14 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .alert_evidence import AlertEvidence + from .defender_av_status import DefenderAvStatus + from .device_health_status import DeviceHealthStatus + from .device_risk_score import DeviceRiskScore + from .logged_on_user import LoggedOnUser + from .onboarding_status import OnboardingStatus + from .vm_metadata import VmMetadata + writer.write_str_value("azureAdDeviceId", self.azure_ad_device_id) writer.write_enum_value("defenderAvStatus", self.defender_av_status) writer.write_str_value("deviceDnsName", self.device_dns_name) diff --git a/msgraph_beta/generated/models/security/disable_consent_record.py b/msgraph_beta/generated/models/security/disable_consent_record.py index cf701e3f4e7..efac8c561de 100644 --- a/msgraph_beta/generated/models/security/disable_consent_record.py +++ b/msgraph_beta/generated/models/security/disable_consent_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/disable_user_response_action.py b/msgraph_beta/generated/models/security/disable_user_response_action.py index 54ad75aa12c..374ab7f6b1a 100644 --- a/msgraph_beta/generated/models/security/disable_user_response_action.py +++ b/msgraph_beta/generated/models/security/disable_user_response_action.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .disable_user_entity_identifier import DisableUserEntityIdentifier + from .response_action import ResponseAction + writer.write_enum_value("identifier", self.identifier) diff --git a/msgraph_beta/generated/models/security/discovery_audit_record.py b/msgraph_beta/generated/models/security/discovery_audit_record.py index 775e75ba60d..be5041d3d70 100644 --- a/msgraph_beta/generated/models/security/discovery_audit_record.py +++ b/msgraph_beta/generated/models/security/discovery_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/disposition_review_stage.py b/msgraph_beta/generated/models/security/disposition_review_stage.py index 143804fb7e8..5e3f3a6ff55 100644 --- a/msgraph_beta/generated/models/security/disposition_review_stage.py +++ b/msgraph_beta/generated/models/security/disposition_review_stage.py @@ -57,6 +57,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + writer.write_str_value("name", self.name) writer.write_collection_of_primitive_values("reviewersEmailAddresses", self.reviewers_email_addresses) writer.write_str_value("stageNumber", self.stage_number) diff --git a/msgraph_beta/generated/models/security/disposition_review_stage_collection_response.py b/msgraph_beta/generated/models/security/disposition_review_stage_collection_response.py index 6a48b486f89..a470200bcc1 100644 --- a/msgraph_beta/generated/models/security/disposition_review_stage_collection_response.py +++ b/msgraph_beta/generated/models/security/disposition_review_stage_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .disposition_review_stage import DispositionReviewStage + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/security/dlp_endpoint_audit_record.py b/msgraph_beta/generated/models/security/dlp_endpoint_audit_record.py index 564096d28c9..3907ba0c97c 100644 --- a/msgraph_beta/generated/models/security/dlp_endpoint_audit_record.py +++ b/msgraph_beta/generated/models/security/dlp_endpoint_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/dlp_sensitive_information_type_cmdlet_record.py b/msgraph_beta/generated/models/security/dlp_sensitive_information_type_cmdlet_record.py index 944eb380436..2561c119907 100644 --- a/msgraph_beta/generated/models/security/dlp_sensitive_information_type_cmdlet_record.py +++ b/msgraph_beta/generated/models/security/dlp_sensitive_information_type_cmdlet_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/dlp_sensitive_information_type_rule_package_cmdlet_record.py b/msgraph_beta/generated/models/security/dlp_sensitive_information_type_rule_package_cmdlet_record.py index 877b403f7ab..9f5e478ece8 100644 --- a/msgraph_beta/generated/models/security/dlp_sensitive_information_type_rule_package_cmdlet_record.py +++ b/msgraph_beta/generated/models/security/dlp_sensitive_information_type_rule_package_cmdlet_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/dns_evidence.py b/msgraph_beta/generated/models/security/dns_evidence.py index 1413987f728..805ddd20da1 100644 --- a/msgraph_beta/generated/models/security/dns_evidence.py +++ b/msgraph_beta/generated/models/security/dns_evidence.py @@ -63,6 +63,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .alert_evidence import AlertEvidence + from .ip_evidence import IpEvidence + writer.write_object_value("dnsServerIp", self.dns_server_ip) writer.write_str_value("domainName", self.domain_name) writer.write_object_value("hostIpAddress", self.host_ip_address) diff --git a/msgraph_beta/generated/models/security/download_certificate_record.py b/msgraph_beta/generated/models/security/download_certificate_record.py index 44c2e0a478b..3997ba890ea 100644 --- a/msgraph_beta/generated/models/security/download_certificate_record.py +++ b/msgraph_beta/generated/models/security/download_certificate_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/dynamics365_business_central_audit_record.py b/msgraph_beta/generated/models/security/dynamics365_business_central_audit_record.py index 00e9e8d7c52..2c256747098 100644 --- a/msgraph_beta/generated/models/security/dynamics365_business_central_audit_record.py +++ b/msgraph_beta/generated/models/security/dynamics365_business_central_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/ediscovery_add_to_review_set_operation.py b/msgraph_beta/generated/models/security/ediscovery_add_to_review_set_operation.py index 8687e5d5ece..2e0bafc7bbf 100644 --- a/msgraph_beta/generated/models/security/ediscovery_add_to_review_set_operation.py +++ b/msgraph_beta/generated/models/security/ediscovery_add_to_review_set_operation.py @@ -60,6 +60,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .case_operation import CaseOperation + from .ediscovery_review_set import EdiscoveryReviewSet + from .ediscovery_search import EdiscoverySearch + writer.write_object_value("reviewSet", self.review_set) writer.write_object_value("search", self.search) diff --git a/msgraph_beta/generated/models/security/ediscovery_case.py b/msgraph_beta/generated/models/security/ediscovery_case.py index e3444c5179e..cccafe95d4c 100644 --- a/msgraph_beta/generated/models/security/ediscovery_case.py +++ b/msgraph_beta/generated/models/security/ediscovery_case.py @@ -109,6 +109,17 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..identity_set import IdentitySet + from .case import Case + from .case_operation import CaseOperation + from .ediscovery_case_settings import EdiscoveryCaseSettings + from .ediscovery_custodian import EdiscoveryCustodian + from .ediscovery_hold_policy import EdiscoveryHoldPolicy + from .ediscovery_noncustodial_data_source import EdiscoveryNoncustodialDataSource + from .ediscovery_review_set import EdiscoveryReviewSet + from .ediscovery_review_tag import EdiscoveryReviewTag + from .ediscovery_search import EdiscoverySearch + writer.write_object_value("closedBy", self.closed_by) writer.write_datetime_value("closedDateTime", self.closed_date_time) writer.write_collection_of_object_values("custodians", self.custodians) diff --git a/msgraph_beta/generated/models/security/ediscovery_case_collection_response.py b/msgraph_beta/generated/models/security/ediscovery_case_collection_response.py index 66df0174e3c..928647ca990 100644 --- a/msgraph_beta/generated/models/security/ediscovery_case_collection_response.py +++ b/msgraph_beta/generated/models/security/ediscovery_case_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .ediscovery_case import EdiscoveryCase + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/security/ediscovery_case_settings.py b/msgraph_beta/generated/models/security/ediscovery_case_settings.py index b8e770d16a6..bc10bc8f725 100644 --- a/msgraph_beta/generated/models/security/ediscovery_case_settings.py +++ b/msgraph_beta/generated/models/security/ediscovery_case_settings.py @@ -66,6 +66,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + from .ocr_settings import OcrSettings + from .redundancy_detection_settings import RedundancyDetectionSettings + from .topic_modeling_settings import TopicModelingSettings + writer.write_object_value("ocr", self.ocr) writer.write_object_value("redundancyDetection", self.redundancy_detection) writer.write_object_value("topicModeling", self.topic_modeling) diff --git a/msgraph_beta/generated/models/security/ediscovery_custodian.py b/msgraph_beta/generated/models/security/ediscovery_custodian.py index 7d4931345e8..b49a844f9e5 100644 --- a/msgraph_beta/generated/models/security/ediscovery_custodian.py +++ b/msgraph_beta/generated/models/security/ediscovery_custodian.py @@ -79,6 +79,12 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .data_source_container import DataSourceContainer + from .ediscovery_index_operation import EdiscoveryIndexOperation + from .site_source import SiteSource + from .unified_group_source import UnifiedGroupSource + from .user_source import UserSource + writer.write_datetime_value("acknowledgedDateTime", self.acknowledged_date_time) writer.write_str_value("email", self.email) writer.write_object_value("lastIndexOperation", self.last_index_operation) diff --git a/msgraph_beta/generated/models/security/ediscovery_custodian_collection_response.py b/msgraph_beta/generated/models/security/ediscovery_custodian_collection_response.py index 3d4d5642aaf..c71491b7203 100644 --- a/msgraph_beta/generated/models/security/ediscovery_custodian_collection_response.py +++ b/msgraph_beta/generated/models/security/ediscovery_custodian_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .ediscovery_custodian import EdiscoveryCustodian + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/security/ediscovery_estimate_operation.py b/msgraph_beta/generated/models/security/ediscovery_estimate_operation.py index 8a326c722aa..58d3dd04e89 100644 --- a/msgraph_beta/generated/models/security/ediscovery_estimate_operation.py +++ b/msgraph_beta/generated/models/security/ediscovery_estimate_operation.py @@ -72,6 +72,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .case_operation import CaseOperation + from .ediscovery_search import EdiscoverySearch + writer.write_int_value("indexedItemCount", self.indexed_item_count) writer.write_int_value("indexedItemsSize", self.indexed_items_size) writer.write_int_value("mailboxCount", self.mailbox_count) diff --git a/msgraph_beta/generated/models/security/ediscovery_export_operation.py b/msgraph_beta/generated/models/security/ediscovery_export_operation.py index 69b0b768644..15c0a7964f9 100644 --- a/msgraph_beta/generated/models/security/ediscovery_export_operation.py +++ b/msgraph_beta/generated/models/security/ediscovery_export_operation.py @@ -93,6 +93,13 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .case_operation import CaseOperation + from .ediscovery_review_set import EdiscoveryReviewSet + from .ediscovery_review_set_query import EdiscoveryReviewSetQuery + from .export_file_metadata import ExportFileMetadata + from .export_file_structure import ExportFileStructure + from .export_options import ExportOptions + writer.write_str_value("azureBlobContainer", self.azure_blob_container) writer.write_str_value("azureBlobToken", self.azure_blob_token) writer.write_str_value("description", self.description) diff --git a/msgraph_beta/generated/models/security/ediscovery_file.py b/msgraph_beta/generated/models/security/ediscovery_file.py index 3846576e4f3..b955129279d 100644 --- a/msgraph_beta/generated/models/security/ediscovery_file.py +++ b/msgraph_beta/generated/models/security/ediscovery_file.py @@ -60,6 +60,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .ediscovery_custodian import EdiscoveryCustodian + from .ediscovery_review_tag import EdiscoveryReviewTag + from .file import File + writer.write_object_value("custodian", self.custodian) writer.write_collection_of_object_values("tags", self.tags) diff --git a/msgraph_beta/generated/models/security/ediscovery_file_collection_response.py b/msgraph_beta/generated/models/security/ediscovery_file_collection_response.py index 3ecf660f80d..674245d69be 100644 --- a/msgraph_beta/generated/models/security/ediscovery_file_collection_response.py +++ b/msgraph_beta/generated/models/security/ediscovery_file_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .ediscovery_file import EdiscoveryFile + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/security/ediscovery_hold_operation.py b/msgraph_beta/generated/models/security/ediscovery_hold_operation.py index 027ea6236cb..c65ed2f1de1 100644 --- a/msgraph_beta/generated/models/security/ediscovery_hold_operation.py +++ b/msgraph_beta/generated/models/security/ediscovery_hold_operation.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .case_operation import CaseOperation + diff --git a/msgraph_beta/generated/models/security/ediscovery_hold_policy.py b/msgraph_beta/generated/models/security/ediscovery_hold_policy.py index 0a950c874fb..3924654785a 100644 --- a/msgraph_beta/generated/models/security/ediscovery_hold_policy.py +++ b/msgraph_beta/generated/models/security/ediscovery_hold_policy.py @@ -69,6 +69,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .policy_base import PolicyBase + from .site_source import SiteSource + from .user_source import UserSource + writer.write_str_value("contentQuery", self.content_query) writer.write_collection_of_primitive_values("errors", self.errors) writer.write_bool_value("isEnabled", self.is_enabled) diff --git a/msgraph_beta/generated/models/security/ediscovery_hold_policy_collection_response.py b/msgraph_beta/generated/models/security/ediscovery_hold_policy_collection_response.py index f3fe0a5603e..cc4e0e708cd 100644 --- a/msgraph_beta/generated/models/security/ediscovery_hold_policy_collection_response.py +++ b/msgraph_beta/generated/models/security/ediscovery_hold_policy_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .ediscovery_hold_policy import EdiscoveryHoldPolicy + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/security/ediscovery_index_operation.py b/msgraph_beta/generated/models/security/ediscovery_index_operation.py index dd04a949173..1e3a9b22e8d 100644 --- a/msgraph_beta/generated/models/security/ediscovery_index_operation.py +++ b/msgraph_beta/generated/models/security/ediscovery_index_operation.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .case_operation import CaseOperation + diff --git a/msgraph_beta/generated/models/security/ediscovery_noncustodial_data_source.py b/msgraph_beta/generated/models/security/ediscovery_noncustodial_data_source.py index 6c3017668b4..51855f15ce6 100644 --- a/msgraph_beta/generated/models/security/ediscovery_noncustodial_data_source.py +++ b/msgraph_beta/generated/models/security/ediscovery_noncustodial_data_source.py @@ -60,6 +60,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .data_source import DataSource + from .data_source_container import DataSourceContainer + from .ediscovery_index_operation import EdiscoveryIndexOperation + writer.write_object_value("dataSource", self.data_source) writer.write_object_value("lastIndexOperation", self.last_index_operation) diff --git a/msgraph_beta/generated/models/security/ediscovery_noncustodial_data_source_collection_response.py b/msgraph_beta/generated/models/security/ediscovery_noncustodial_data_source_collection_response.py index ac4173cf98e..39a8a57b9cd 100644 --- a/msgraph_beta/generated/models/security/ediscovery_noncustodial_data_source_collection_response.py +++ b/msgraph_beta/generated/models/security/ediscovery_noncustodial_data_source_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .ediscovery_noncustodial_data_source import EdiscoveryNoncustodialDataSource + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/security/ediscovery_purge_data_operation.py b/msgraph_beta/generated/models/security/ediscovery_purge_data_operation.py index 8226e630bfe..07fe9852d0f 100644 --- a/msgraph_beta/generated/models/security/ediscovery_purge_data_operation.py +++ b/msgraph_beta/generated/models/security/ediscovery_purge_data_operation.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .case_operation import CaseOperation + diff --git a/msgraph_beta/generated/models/security/ediscovery_review_set.py b/msgraph_beta/generated/models/security/ediscovery_review_set.py index 8d731012c73..7eaf750e65c 100644 --- a/msgraph_beta/generated/models/security/ediscovery_review_set.py +++ b/msgraph_beta/generated/models/security/ediscovery_review_set.py @@ -60,6 +60,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .data_set import DataSet + from .ediscovery_file import EdiscoveryFile + from .ediscovery_review_set_query import EdiscoveryReviewSetQuery + writer.write_collection_of_object_values("files", self.files) writer.write_collection_of_object_values("queries", self.queries) diff --git a/msgraph_beta/generated/models/security/ediscovery_review_set_collection_response.py b/msgraph_beta/generated/models/security/ediscovery_review_set_collection_response.py index 3339ed66264..2984c0235b8 100644 --- a/msgraph_beta/generated/models/security/ediscovery_review_set_collection_response.py +++ b/msgraph_beta/generated/models/security/ediscovery_review_set_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .ediscovery_review_set import EdiscoveryReviewSet + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/security/ediscovery_review_set_query.py b/msgraph_beta/generated/models/security/ediscovery_review_set_query.py index ec1bc761c40..32e5f21d868 100644 --- a/msgraph_beta/generated/models/security/ediscovery_review_set_query.py +++ b/msgraph_beta/generated/models/security/ediscovery_review_set_query.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .search import Search + diff --git a/msgraph_beta/generated/models/security/ediscovery_review_set_query_collection_response.py b/msgraph_beta/generated/models/security/ediscovery_review_set_query_collection_response.py index 848c3cf248f..71ff75036cb 100644 --- a/msgraph_beta/generated/models/security/ediscovery_review_set_query_collection_response.py +++ b/msgraph_beta/generated/models/security/ediscovery_review_set_query_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .ediscovery_review_set_query import EdiscoveryReviewSetQuery + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/security/ediscovery_review_tag.py b/msgraph_beta/generated/models/security/ediscovery_review_tag.py index 5b3740ba76a..1597c35b6e4 100644 --- a/msgraph_beta/generated/models/security/ediscovery_review_tag.py +++ b/msgraph_beta/generated/models/security/ediscovery_review_tag.py @@ -60,6 +60,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .child_selectability import ChildSelectability + from .tag import Tag + writer.write_enum_value("childSelectability", self.child_selectability) writer.write_collection_of_object_values("childTags", self.child_tags) writer.write_object_value("parent", self.parent) diff --git a/msgraph_beta/generated/models/security/ediscovery_review_tag_collection_response.py b/msgraph_beta/generated/models/security/ediscovery_review_tag_collection_response.py index 2dff9560e95..0287fc89609 100644 --- a/msgraph_beta/generated/models/security/ediscovery_review_tag_collection_response.py +++ b/msgraph_beta/generated/models/security/ediscovery_review_tag_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .ediscovery_review_tag import EdiscoveryReviewTag + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/security/ediscovery_search.py b/msgraph_beta/generated/models/security/ediscovery_search.py index 58b814af51c..122e53a06bc 100644 --- a/msgraph_beta/generated/models/security/ediscovery_search.py +++ b/msgraph_beta/generated/models/security/ediscovery_search.py @@ -81,6 +81,13 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .data_source import DataSource + from .data_source_scopes import DataSourceScopes + from .ediscovery_add_to_review_set_operation import EdiscoveryAddToReviewSetOperation + from .ediscovery_estimate_operation import EdiscoveryEstimateOperation + from .ediscovery_noncustodial_data_source import EdiscoveryNoncustodialDataSource + from .search import Search + writer.write_object_value("addToReviewSetOperation", self.add_to_review_set_operation) writer.write_collection_of_object_values("additionalSources", self.additional_sources) writer.write_collection_of_object_values("custodianSources", self.custodian_sources) diff --git a/msgraph_beta/generated/models/security/ediscovery_search_collection_response.py b/msgraph_beta/generated/models/security/ediscovery_search_collection_response.py index 7ec63ca44ce..4e5c99478ff 100644 --- a/msgraph_beta/generated/models/security/ediscovery_search_collection_response.py +++ b/msgraph_beta/generated/models/security/ediscovery_search_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .ediscovery_search import EdiscoverySearch + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/security/ediscovery_search_export_operation.py b/msgraph_beta/generated/models/security/ediscovery_search_export_operation.py index c2e828d0fad..1ffaf03b8d5 100644 --- a/msgraph_beta/generated/models/security/ediscovery_search_export_operation.py +++ b/msgraph_beta/generated/models/security/ediscovery_search_export_operation.py @@ -18,9 +18,9 @@ class EdiscoverySearchExportOperation(CaseOperation): # The additional items to include in the export. The possible values are: none, teamsAndYammerConversations, cloudAttachments, allDocumentVersions, subfolderContents, listAttachments, unknownFutureValue. additional_options: Optional[AdditionalOptions] = None - # The name of export provided by the user. - description: Optional[str] = None # The description of the export by the user. + description: Optional[str] = None + # The name of export provided by the user. display_name: Optional[str] = None # Items to be included in the export. The possible values are: searchHits, partiallyIndexed, unknownFutureValue. export_criteria: Optional[ExportCriteria] = None @@ -93,6 +93,14 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .additional_options import AdditionalOptions + from .case_operation import CaseOperation + from .ediscovery_search import EdiscoverySearch + from .export_criteria import ExportCriteria + from .export_file_metadata import ExportFileMetadata + from .export_format import ExportFormat + from .export_location import ExportLocation + writer.write_enum_value("additionalOptions", self.additional_options) writer.write_str_value("description", self.description) writer.write_str_value("displayName", self.display_name) diff --git a/msgraph_beta/generated/models/security/ediscovery_tag_operation.py b/msgraph_beta/generated/models/security/ediscovery_tag_operation.py index 323ae1d97b4..f283753863d 100644 --- a/msgraph_beta/generated/models/security/ediscovery_tag_operation.py +++ b/msgraph_beta/generated/models/security/ediscovery_tag_operation.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .case_operation import CaseOperation + diff --git a/msgraph_beta/generated/models/security/email_content_threat_submission.py b/msgraph_beta/generated/models/security/email_content_threat_submission.py index 1f4e4739871..d689da001c5 100644 --- a/msgraph_beta/generated/models/security/email_content_threat_submission.py +++ b/msgraph_beta/generated/models/security/email_content_threat_submission.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .email_threat_submission import EmailThreatSubmission + writer.write_str_value("fileContent", self.file_content) diff --git a/msgraph_beta/generated/models/security/email_threat_submission.py b/msgraph_beta/generated/models/security/email_threat_submission.py index da50b884de4..8879eb28ad5 100644 --- a/msgraph_beta/generated/models/security/email_threat_submission.py +++ b/msgraph_beta/generated/models/security/email_threat_submission.py @@ -47,7 +47,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> EmailThreatSubmiss if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.security.emailContentThreatSubmission".casefold(): @@ -103,6 +104,13 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .attack_simulation_info import AttackSimulationInfo + from .email_content_threat_submission import EmailContentThreatSubmission + from .email_url_threat_submission import EmailUrlThreatSubmission + from .submission_category import SubmissionCategory + from .tenant_allow_or_block_list_action import TenantAllowOrBlockListAction + from .threat_submission import ThreatSubmission + writer.write_object_value("attackSimulationInfo", self.attack_simulation_info) writer.write_str_value("internetMessageId", self.internet_message_id) writer.write_enum_value("originalCategory", self.original_category) diff --git a/msgraph_beta/generated/models/security/email_threat_submission_collection_response.py b/msgraph_beta/generated/models/security/email_threat_submission_collection_response.py index 69ce34920a2..82c55fdcc81 100644 --- a/msgraph_beta/generated/models/security/email_threat_submission_collection_response.py +++ b/msgraph_beta/generated/models/security/email_threat_submission_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .email_threat_submission import EmailThreatSubmission + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/security/email_threat_submission_policy.py b/msgraph_beta/generated/models/security/email_threat_submission_policy.py index 794383c9d70..cea4d1e1365 100644 --- a/msgraph_beta/generated/models/security/email_threat_submission_policy.py +++ b/msgraph_beta/generated/models/security/email_threat_submission_policy.py @@ -87,6 +87,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + writer.write_str_value("customizedNotificationSenderEmailAddress", self.customized_notification_sender_email_address) writer.write_str_value("customizedReportRecipientEmailAddress", self.customized_report_recipient_email_address) writer.write_bool_value("isAlwaysReportEnabledForUsers", self.is_always_report_enabled_for_users) diff --git a/msgraph_beta/generated/models/security/email_threat_submission_policy_collection_response.py b/msgraph_beta/generated/models/security/email_threat_submission_policy_collection_response.py index 09022a1a8d5..13146974e09 100644 --- a/msgraph_beta/generated/models/security/email_threat_submission_policy_collection_response.py +++ b/msgraph_beta/generated/models/security/email_threat_submission_policy_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .email_threat_submission_policy import EmailThreatSubmissionPolicy + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/security/email_url_threat_submission.py b/msgraph_beta/generated/models/security/email_url_threat_submission.py index 952cc13d5be..33ae52e0833 100644 --- a/msgraph_beta/generated/models/security/email_url_threat_submission.py +++ b/msgraph_beta/generated/models/security/email_url_threat_submission.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .email_threat_submission import EmailThreatSubmission + writer.write_str_value("messageUrl", self.message_url) diff --git a/msgraph_beta/generated/models/security/enable_consent_record.py b/msgraph_beta/generated/models/security/enable_consent_record.py index c9d02b3d0cb..c2aa06c8c8a 100644 --- a/msgraph_beta/generated/models/security/enable_consent_record.py +++ b/msgraph_beta/generated/models/security/enable_consent_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/epic_s_m_s_link_record.py b/msgraph_beta/generated/models/security/epic_s_m_s_link_record.py index 1c6ba7db72e..2d8fe1a536c 100644 --- a/msgraph_beta/generated/models/security/epic_s_m_s_link_record.py +++ b/msgraph_beta/generated/models/security/epic_s_m_s_link_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/epic_s_m_s_settings_update_record.py b/msgraph_beta/generated/models/security/epic_s_m_s_settings_update_record.py index d25d61c9324..ce9f3ca001e 100644 --- a/msgraph_beta/generated/models/security/epic_s_m_s_settings_update_record.py +++ b/msgraph_beta/generated/models/security/epic_s_m_s_settings_update_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/epic_s_m_s_unlink_record.py b/msgraph_beta/generated/models/security/epic_s_m_s_unlink_record.py index fc3b7f92f6f..67e0acc91dd 100644 --- a/msgraph_beta/generated/models/security/epic_s_m_s_unlink_record.py +++ b/msgraph_beta/generated/models/security/epic_s_m_s_unlink_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/event_propagation_result.py b/msgraph_beta/generated/models/security/event_propagation_result.py index f2a1b090e5d..85405c8ca0a 100644 --- a/msgraph_beta/generated/models/security/event_propagation_result.py +++ b/msgraph_beta/generated/models/security/event_propagation_result.py @@ -62,6 +62,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .event_propagation_status import EventPropagationStatus + writer.write_str_value("location", self.location) writer.write_str_value("@odata.type", self.odata_type) writer.write_str_value("serviceName", self.service_name) diff --git a/msgraph_beta/generated/models/security/event_query.py b/msgraph_beta/generated/models/security/event_query.py index 6b35628692f..0634b8560ac 100644 --- a/msgraph_beta/generated/models/security/event_query.py +++ b/msgraph_beta/generated/models/security/event_query.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .query_type import QueryType + writer.write_str_value("@odata.type", self.odata_type) writer.write_str_value("query", self.query) writer.write_enum_value("queryType", self.query_type) diff --git a/msgraph_beta/generated/models/security/exchange_admin_audit_record.py b/msgraph_beta/generated/models/security/exchange_admin_audit_record.py index c76b92e3715..c8c618a7cba 100644 --- a/msgraph_beta/generated/models/security/exchange_admin_audit_record.py +++ b/msgraph_beta/generated/models/security/exchange_admin_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/exchange_aggregated_mailbox_audit_record.py b/msgraph_beta/generated/models/security/exchange_aggregated_mailbox_audit_record.py index 871d5e7af96..6671349a0bd 100644 --- a/msgraph_beta/generated/models/security/exchange_aggregated_mailbox_audit_record.py +++ b/msgraph_beta/generated/models/security/exchange_aggregated_mailbox_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/exchange_aggregated_operation_record.py b/msgraph_beta/generated/models/security/exchange_aggregated_operation_record.py index 90f968011e9..9eaa65930d0 100644 --- a/msgraph_beta/generated/models/security/exchange_aggregated_operation_record.py +++ b/msgraph_beta/generated/models/security/exchange_aggregated_operation_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/exchange_mailbox_audit_base_record.py b/msgraph_beta/generated/models/security/exchange_mailbox_audit_base_record.py index 0621c0ca504..d098ddb4846 100644 --- a/msgraph_beta/generated/models/security/exchange_mailbox_audit_base_record.py +++ b/msgraph_beta/generated/models/security/exchange_mailbox_audit_base_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/exchange_mailbox_audit_group_record.py b/msgraph_beta/generated/models/security/exchange_mailbox_audit_group_record.py index 5c547733bcc..d6cb0540d2b 100644 --- a/msgraph_beta/generated/models/security/exchange_mailbox_audit_group_record.py +++ b/msgraph_beta/generated/models/security/exchange_mailbox_audit_group_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/exchange_mailbox_audit_record.py b/msgraph_beta/generated/models/security/exchange_mailbox_audit_record.py index b6585b77d87..8b81706b67c 100644 --- a/msgraph_beta/generated/models/security/exchange_mailbox_audit_record.py +++ b/msgraph_beta/generated/models/security/exchange_mailbox_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/fhir_base_url_add_record.py b/msgraph_beta/generated/models/security/fhir_base_url_add_record.py index cb78e43f145..426d26e97a2 100644 --- a/msgraph_beta/generated/models/security/fhir_base_url_add_record.py +++ b/msgraph_beta/generated/models/security/fhir_base_url_add_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/fhir_base_url_approve_record.py b/msgraph_beta/generated/models/security/fhir_base_url_approve_record.py index 897c04763b3..eabbe07112b 100644 --- a/msgraph_beta/generated/models/security/fhir_base_url_approve_record.py +++ b/msgraph_beta/generated/models/security/fhir_base_url_approve_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/fhir_base_url_delete_record.py b/msgraph_beta/generated/models/security/fhir_base_url_delete_record.py index 395321aeb49..c69dfa52399 100644 --- a/msgraph_beta/generated/models/security/fhir_base_url_delete_record.py +++ b/msgraph_beta/generated/models/security/fhir_base_url_delete_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/fhir_base_url_update_record.py b/msgraph_beta/generated/models/security/fhir_base_url_update_record.py index 36a23b4ade9..a98a9700bc0 100644 --- a/msgraph_beta/generated/models/security/fhir_base_url_update_record.py +++ b/msgraph_beta/generated/models/security/fhir_base_url_update_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/file.py b/msgraph_beta/generated/models/security/file.py index e5ea49461ec..92b2611ac6b 100644 --- a/msgraph_beta/generated/models/security/file.py +++ b/msgraph_beta/generated/models/security/file.py @@ -52,7 +52,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> File: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.security.ediscoveryFile".casefold(): @@ -105,6 +106,12 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + from .ediscovery_file import EdiscoveryFile + from .file_processing_status import FileProcessingStatus + from .source_type import SourceType + from .string_value_dictionary import StringValueDictionary + writer.write_bytes_value("content", self.content) writer.write_datetime_value("dateTime", self.date_time) writer.write_str_value("extension", self.extension) diff --git a/msgraph_beta/generated/models/security/file_content_threat_submission.py b/msgraph_beta/generated/models/security/file_content_threat_submission.py index deb10b218b1..29a187bcf46 100644 --- a/msgraph_beta/generated/models/security/file_content_threat_submission.py +++ b/msgraph_beta/generated/models/security/file_content_threat_submission.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .file_threat_submission import FileThreatSubmission + writer.write_str_value("fileContent", self.file_content) diff --git a/msgraph_beta/generated/models/security/file_evidence.py b/msgraph_beta/generated/models/security/file_evidence.py index 3e4be88f9a6..3468031729c 100644 --- a/msgraph_beta/generated/models/security/file_evidence.py +++ b/msgraph_beta/generated/models/security/file_evidence.py @@ -63,6 +63,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .alert_evidence import AlertEvidence + from .detection_status import DetectionStatus + from .file_details import FileDetails + writer.write_enum_value("detectionStatus", self.detection_status) writer.write_object_value("fileDetails", self.file_details) writer.write_str_value("mdeDeviceId", self.mde_device_id) diff --git a/msgraph_beta/generated/models/security/file_hash.py b/msgraph_beta/generated/models/security/file_hash.py index 9e56c95d3eb..9fb345fddb4 100644 --- a/msgraph_beta/generated/models/security/file_hash.py +++ b/msgraph_beta/generated/models/security/file_hash.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .file_hash_algorithm import FileHashAlgorithm + writer.write_enum_value("algorithm", self.algorithm) writer.write_str_value("@odata.type", self.odata_type) writer.write_str_value("value", self.value) diff --git a/msgraph_beta/generated/models/security/file_hash_evidence.py b/msgraph_beta/generated/models/security/file_hash_evidence.py index 1b8f765869b..2c88a7b6f96 100644 --- a/msgraph_beta/generated/models/security/file_hash_evidence.py +++ b/msgraph_beta/generated/models/security/file_hash_evidence.py @@ -57,6 +57,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .alert_evidence import AlertEvidence + from .file_hash_algorithm import FileHashAlgorithm + writer.write_enum_value("algorithm", self.algorithm) writer.write_str_value("value", self.value) diff --git a/msgraph_beta/generated/models/security/file_plan_applied_category.py b/msgraph_beta/generated/models/security/file_plan_applied_category.py index e0e8f061a09..4ca93e80770 100644 --- a/msgraph_beta/generated/models/security/file_plan_applied_category.py +++ b/msgraph_beta/generated/models/security/file_plan_applied_category.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .file_plan_descriptor_base import FilePlanDescriptorBase + from .file_plan_subcategory import FilePlanSubcategory + writer.write_object_value("subcategory", self.subcategory) diff --git a/msgraph_beta/generated/models/security/file_plan_authority.py b/msgraph_beta/generated/models/security/file_plan_authority.py index 1e91cba268d..0142436f646 100644 --- a/msgraph_beta/generated/models/security/file_plan_authority.py +++ b/msgraph_beta/generated/models/security/file_plan_authority.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .file_plan_descriptor_base import FilePlanDescriptorBase + diff --git a/msgraph_beta/generated/models/security/file_plan_citation.py b/msgraph_beta/generated/models/security/file_plan_citation.py index 1ae071e673b..3fbe19c5e95 100644 --- a/msgraph_beta/generated/models/security/file_plan_citation.py +++ b/msgraph_beta/generated/models/security/file_plan_citation.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .file_plan_descriptor_base import FilePlanDescriptorBase + writer.write_str_value("citationJurisdiction", self.citation_jurisdiction) writer.write_str_value("citationUrl", self.citation_url) diff --git a/msgraph_beta/generated/models/security/file_plan_department.py b/msgraph_beta/generated/models/security/file_plan_department.py index 3a7bd712d14..a697ee74c97 100644 --- a/msgraph_beta/generated/models/security/file_plan_department.py +++ b/msgraph_beta/generated/models/security/file_plan_department.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .file_plan_descriptor_base import FilePlanDescriptorBase + diff --git a/msgraph_beta/generated/models/security/file_plan_descriptor.py b/msgraph_beta/generated/models/security/file_plan_descriptor.py index 6305b5435c4..32253ae767c 100644 --- a/msgraph_beta/generated/models/security/file_plan_descriptor.py +++ b/msgraph_beta/generated/models/security/file_plan_descriptor.py @@ -108,6 +108,18 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + from .authority_template import AuthorityTemplate + from .category_template import CategoryTemplate + from .citation_template import CitationTemplate + from .department_template import DepartmentTemplate + from .file_plan_applied_category import FilePlanAppliedCategory + from .file_plan_authority import FilePlanAuthority + from .file_plan_citation import FilePlanCitation + from .file_plan_department import FilePlanDepartment + from .file_plan_reference import FilePlanReference + from .file_plan_reference_template import FilePlanReferenceTemplate + writer.write_object_value("authority", self.authority) writer.write_object_value("authorityTemplate", self.authority_template) writer.write_object_value("category", self.category) diff --git a/msgraph_beta/generated/models/security/file_plan_descriptor_base.py b/msgraph_beta/generated/models/security/file_plan_descriptor_base.py index dcdf3a06f8c..c3f512cf1f0 100644 --- a/msgraph_beta/generated/models/security/file_plan_descriptor_base.py +++ b/msgraph_beta/generated/models/security/file_plan_descriptor_base.py @@ -34,7 +34,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> FilePlanDescriptor if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.security.filePlanAppliedCategory".casefold(): @@ -96,6 +97,13 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .file_plan_applied_category import FilePlanAppliedCategory + from .file_plan_authority import FilePlanAuthority + from .file_plan_citation import FilePlanCitation + from .file_plan_department import FilePlanDepartment + from .file_plan_reference import FilePlanReference + from .file_plan_subcategory import FilePlanSubcategory + writer.write_str_value("displayName", self.display_name) writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/security/file_plan_descriptor_template.py b/msgraph_beta/generated/models/security/file_plan_descriptor_template.py index 0a974bf6ec3..465f2fdc77d 100644 --- a/msgraph_beta/generated/models/security/file_plan_descriptor_template.py +++ b/msgraph_beta/generated/models/security/file_plan_descriptor_template.py @@ -37,7 +37,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> FilePlanDescriptor if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.security.authorityTemplate".casefold(): @@ -107,6 +108,15 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + from ..identity_set import IdentitySet + from .authority_template import AuthorityTemplate + from .category_template import CategoryTemplate + from .citation_template import CitationTemplate + from .department_template import DepartmentTemplate + from .file_plan_reference_template import FilePlanReferenceTemplate + from .subcategory_template import SubcategoryTemplate + writer.write_object_value("createdBy", self.created_by) writer.write_datetime_value("createdDateTime", self.created_date_time) writer.write_str_value("displayName", self.display_name) diff --git a/msgraph_beta/generated/models/security/file_plan_reference.py b/msgraph_beta/generated/models/security/file_plan_reference.py index 6e2342868ec..3c47fdffcb6 100644 --- a/msgraph_beta/generated/models/security/file_plan_reference.py +++ b/msgraph_beta/generated/models/security/file_plan_reference.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .file_plan_descriptor_base import FilePlanDescriptorBase + diff --git a/msgraph_beta/generated/models/security/file_plan_reference_template.py b/msgraph_beta/generated/models/security/file_plan_reference_template.py index c7ed4703d86..d3d9d9d37d0 100644 --- a/msgraph_beta/generated/models/security/file_plan_reference_template.py +++ b/msgraph_beta/generated/models/security/file_plan_reference_template.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .file_plan_descriptor_template import FilePlanDescriptorTemplate + diff --git a/msgraph_beta/generated/models/security/file_plan_reference_template_collection_response.py b/msgraph_beta/generated/models/security/file_plan_reference_template_collection_response.py index 598369b428e..cc547d821d3 100644 --- a/msgraph_beta/generated/models/security/file_plan_reference_template_collection_response.py +++ b/msgraph_beta/generated/models/security/file_plan_reference_template_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .file_plan_reference_template import FilePlanReferenceTemplate + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/security/file_plan_subcategory.py b/msgraph_beta/generated/models/security/file_plan_subcategory.py index 44dc32643c3..4122aed2017 100644 --- a/msgraph_beta/generated/models/security/file_plan_subcategory.py +++ b/msgraph_beta/generated/models/security/file_plan_subcategory.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .file_plan_descriptor_base import FilePlanDescriptorBase + diff --git a/msgraph_beta/generated/models/security/file_threat_submission.py b/msgraph_beta/generated/models/security/file_threat_submission.py index 53ed93b8342..be26360fb3f 100644 --- a/msgraph_beta/generated/models/security/file_threat_submission.py +++ b/msgraph_beta/generated/models/security/file_threat_submission.py @@ -27,7 +27,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> FileThreatSubmissi if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.security.fileContentThreatSubmission".casefold(): @@ -69,6 +70,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .file_content_threat_submission import FileContentThreatSubmission + from .file_url_threat_submission import FileUrlThreatSubmission + from .threat_submission import ThreatSubmission + writer.write_str_value("fileName", self.file_name) diff --git a/msgraph_beta/generated/models/security/file_threat_submission_collection_response.py b/msgraph_beta/generated/models/security/file_threat_submission_collection_response.py index 0488d1aea56..9553eb9dca6 100644 --- a/msgraph_beta/generated/models/security/file_threat_submission_collection_response.py +++ b/msgraph_beta/generated/models/security/file_threat_submission_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .file_threat_submission import FileThreatSubmission + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/security/file_url_threat_submission.py b/msgraph_beta/generated/models/security/file_url_threat_submission.py index 65a438b9e99..258f9651d10 100644 --- a/msgraph_beta/generated/models/security/file_url_threat_submission.py +++ b/msgraph_beta/generated/models/security/file_url_threat_submission.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .file_threat_submission import FileThreatSubmission + writer.write_str_value("fileUrl", self.file_url) diff --git a/msgraph_beta/generated/models/security/force_user_password_reset_response_action.py b/msgraph_beta/generated/models/security/force_user_password_reset_response_action.py index 8c2a71fcd04..e470801b5c7 100644 --- a/msgraph_beta/generated/models/security/force_user_password_reset_response_action.py +++ b/msgraph_beta/generated/models/security/force_user_password_reset_response_action.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .force_user_password_reset_entity_identifier import ForceUserPasswordResetEntityIdentifier + from .response_action import ResponseAction + writer.write_enum_value("identifier", self.identifier) diff --git a/msgraph_beta/generated/models/security/formatted_content.py b/msgraph_beta/generated/models/security/formatted_content.py index 8df781bee78..1533fe6701c 100644 --- a/msgraph_beta/generated/models/security/formatted_content.py +++ b/msgraph_beta/generated/models/security/formatted_content.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .content_format import ContentFormat + writer.write_str_value("content", self.content) writer.write_enum_value("format", self.format) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/security/git_hub_organization_evidence.py b/msgraph_beta/generated/models/security/git_hub_organization_evidence.py index bcb6d39f8df..2a617363abd 100644 --- a/msgraph_beta/generated/models/security/git_hub_organization_evidence.py +++ b/msgraph_beta/generated/models/security/git_hub_organization_evidence.py @@ -66,6 +66,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .alert_evidence import AlertEvidence + writer.write_str_value("company", self.company) writer.write_str_value("displayName", self.display_name) writer.write_str_value("email", self.email) diff --git a/msgraph_beta/generated/models/security/git_hub_repo_evidence.py b/msgraph_beta/generated/models/security/git_hub_repo_evidence.py index a4486d8fb65..f3ecef23de3 100644 --- a/msgraph_beta/generated/models/security/git_hub_repo_evidence.py +++ b/msgraph_beta/generated/models/security/git_hub_repo_evidence.py @@ -63,6 +63,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .alert_evidence import AlertEvidence + writer.write_str_value("baseUrl", self.base_url) writer.write_str_value("login", self.login) writer.write_str_value("owner", self.owner) diff --git a/msgraph_beta/generated/models/security/git_hub_user_evidence.py b/msgraph_beta/generated/models/security/git_hub_user_evidence.py index f8fb0e0e2ed..b3006ad4f2a 100644 --- a/msgraph_beta/generated/models/security/git_hub_user_evidence.py +++ b/msgraph_beta/generated/models/security/git_hub_user_evidence.py @@ -63,6 +63,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .alert_evidence import AlertEvidence + writer.write_str_value("email", self.email) writer.write_str_value("login", self.login) writer.write_str_value("name", self.name) diff --git a/msgraph_beta/generated/models/security/google_cloud_resource_evidence.py b/msgraph_beta/generated/models/security/google_cloud_resource_evidence.py index 406b799471f..2d48a706a74 100644 --- a/msgraph_beta/generated/models/security/google_cloud_resource_evidence.py +++ b/msgraph_beta/generated/models/security/google_cloud_resource_evidence.py @@ -72,6 +72,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .alert_evidence import AlertEvidence + from .google_cloud_location_type import GoogleCloudLocationType + writer.write_str_value("fullResourceName", self.full_resource_name) writer.write_str_value("location", self.location) writer.write_enum_value("locationType", self.location_type) diff --git a/msgraph_beta/generated/models/security/hard_delete_response_action.py b/msgraph_beta/generated/models/security/hard_delete_response_action.py index 9b71ae27fdd..b082cca52a0 100644 --- a/msgraph_beta/generated/models/security/hard_delete_response_action.py +++ b/msgraph_beta/generated/models/security/hard_delete_response_action.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .email_entity_identifier import EmailEntityIdentifier + from .response_action import ResponseAction + writer.write_enum_value("identifier", self.identifier) diff --git a/msgraph_beta/generated/models/security/health_issue.py b/msgraph_beta/generated/models/security/health_issue.py index e4d078d2eff..2e77bd8daf5 100644 --- a/msgraph_beta/generated/models/security/health_issue.py +++ b/msgraph_beta/generated/models/security/health_issue.py @@ -97,6 +97,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + from .health_issue_severity import HealthIssueSeverity + from .health_issue_status import HealthIssueStatus + from .health_issue_type import HealthIssueType + writer.write_collection_of_primitive_values("additionalInformation", self.additional_information) writer.write_datetime_value("createdDateTime", self.created_date_time) writer.write_str_value("description", self.description) diff --git a/msgraph_beta/generated/models/security/health_issue_collection_response.py b/msgraph_beta/generated/models/security/health_issue_collection_response.py index 7b9a3eaff86..8eaf255870e 100644 --- a/msgraph_beta/generated/models/security/health_issue_collection_response.py +++ b/msgraph_beta/generated/models/security/health_issue_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .health_issue import HealthIssue + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/security/healthcare_signal_record.py b/msgraph_beta/generated/models/security/healthcare_signal_record.py index e0a4c6ef1e6..1a2e82c3e7d 100644 --- a/msgraph_beta/generated/models/security/healthcare_signal_record.py +++ b/msgraph_beta/generated/models/security/healthcare_signal_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/host.py b/msgraph_beta/generated/models/security/host.py index c0bfc687e20..e27d24de285 100644 --- a/msgraph_beta/generated/models/security/host.py +++ b/msgraph_beta/generated/models/security/host.py @@ -66,7 +66,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> Host: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.security.hostname".casefold(): @@ -142,6 +143,20 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .artifact import Artifact + from .hostname import Hostname + from .host_component import HostComponent + from .host_cookie import HostCookie + from .host_pair import HostPair + from .host_port import HostPort + from .host_reputation import HostReputation + from .host_ssl_certificate import HostSslCertificate + from .host_tracker import HostTracker + from .ip_address import IpAddress + from .passive_dns_record import PassiveDnsRecord + from .subdomain import Subdomain + from .whois_record import WhoisRecord + writer.write_collection_of_object_values("childHostPairs", self.child_host_pairs) writer.write_collection_of_object_values("components", self.components) writer.write_collection_of_object_values("cookies", self.cookies) diff --git a/msgraph_beta/generated/models/security/host_collection_response.py b/msgraph_beta/generated/models/security/host_collection_response.py index a9e1c692b6d..e6e83316827 100644 --- a/msgraph_beta/generated/models/security/host_collection_response.py +++ b/msgraph_beta/generated/models/security/host_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .host import Host + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/security/host_component.py b/msgraph_beta/generated/models/security/host_component.py index ea9d589bca2..39f3378ccd2 100644 --- a/msgraph_beta/generated/models/security/host_component.py +++ b/msgraph_beta/generated/models/security/host_component.py @@ -70,6 +70,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .artifact import Artifact + from .host import Host + writer.write_str_value("category", self.category) writer.write_datetime_value("firstSeenDateTime", self.first_seen_date_time) writer.write_object_value("host", self.host) diff --git a/msgraph_beta/generated/models/security/host_component_collection_response.py b/msgraph_beta/generated/models/security/host_component_collection_response.py index 7dfb02b7784..8c4c59081f2 100644 --- a/msgraph_beta/generated/models/security/host_component_collection_response.py +++ b/msgraph_beta/generated/models/security/host_component_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .host_component import HostComponent + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/security/host_cookie.py b/msgraph_beta/generated/models/security/host_cookie.py index 1ac7390734e..44a348b0ab5 100644 --- a/msgraph_beta/generated/models/security/host_cookie.py +++ b/msgraph_beta/generated/models/security/host_cookie.py @@ -67,6 +67,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .artifact import Artifact + from .host import Host + writer.write_str_value("domain", self.domain) writer.write_datetime_value("firstSeenDateTime", self.first_seen_date_time) writer.write_object_value("host", self.host) diff --git a/msgraph_beta/generated/models/security/host_cookie_collection_response.py b/msgraph_beta/generated/models/security/host_cookie_collection_response.py index 34ac31acc56..df3c2ffc761 100644 --- a/msgraph_beta/generated/models/security/host_cookie_collection_response.py +++ b/msgraph_beta/generated/models/security/host_cookie_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .host_cookie import HostCookie + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/security/host_logon_session_evidence.py b/msgraph_beta/generated/models/security/host_logon_session_evidence.py index b6d8d0928fa..cb1365e0b8e 100644 --- a/msgraph_beta/generated/models/security/host_logon_session_evidence.py +++ b/msgraph_beta/generated/models/security/host_logon_session_evidence.py @@ -70,6 +70,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .alert_evidence import AlertEvidence + from .device_evidence import DeviceEvidence + from .user_evidence import UserEvidence + writer.write_object_value("account", self.account) writer.write_datetime_value("endUtcDateTime", self.end_utc_date_time) writer.write_object_value("host", self.host) diff --git a/msgraph_beta/generated/models/security/host_pair.py b/msgraph_beta/generated/models/security/host_pair.py index 2fc9b6f4da0..a00ae4b6d4e 100644 --- a/msgraph_beta/generated/models/security/host_pair.py +++ b/msgraph_beta/generated/models/security/host_pair.py @@ -67,6 +67,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + from .host import Host + writer.write_object_value("childHost", self.child_host) writer.write_datetime_value("firstSeenDateTime", self.first_seen_date_time) writer.write_datetime_value("lastSeenDateTime", self.last_seen_date_time) diff --git a/msgraph_beta/generated/models/security/host_pair_collection_response.py b/msgraph_beta/generated/models/security/host_pair_collection_response.py index c1cbf3f52bb..b6ee9587524 100644 --- a/msgraph_beta/generated/models/security/host_pair_collection_response.py +++ b/msgraph_beta/generated/models/security/host_pair_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .host_pair import HostPair + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/security/host_port.py b/msgraph_beta/generated/models/security/host_port.py index dbec98064c9..e5141a04a63 100644 --- a/msgraph_beta/generated/models/security/host_port.py +++ b/msgraph_beta/generated/models/security/host_port.py @@ -100,6 +100,14 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + from .host import Host + from .host_port_banner import HostPortBanner + from .host_port_component import HostPortComponent + from .host_port_protocol import HostPortProtocol + from .host_port_status import HostPortStatus + from .ssl_certificate import SslCertificate + writer.write_collection_of_object_values("banners", self.banners) writer.write_datetime_value("firstSeenDateTime", self.first_seen_date_time) writer.write_object_value("host", self.host) diff --git a/msgraph_beta/generated/models/security/host_port_collection_response.py b/msgraph_beta/generated/models/security/host_port_collection_response.py index 96c27aae16c..f34b86ec918 100644 --- a/msgraph_beta/generated/models/security/host_port_collection_response.py +++ b/msgraph_beta/generated/models/security/host_port_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .host_port import HostPort + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/security/host_port_component.py b/msgraph_beta/generated/models/security/host_port_component.py index 2f212ad8dfa..99cf64b35ba 100644 --- a/msgraph_beta/generated/models/security/host_port_component.py +++ b/msgraph_beta/generated/models/security/host_port_component.py @@ -63,6 +63,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .host_component import HostComponent + writer.write_object_value("component", self.component) writer.write_datetime_value("firstSeenDateTime", self.first_seen_date_time) writer.write_bool_value("isRecent", self.is_recent) diff --git a/msgraph_beta/generated/models/security/host_reputation.py b/msgraph_beta/generated/models/security/host_reputation.py index a8fb199e072..c87117bb78c 100644 --- a/msgraph_beta/generated/models/security/host_reputation.py +++ b/msgraph_beta/generated/models/security/host_reputation.py @@ -63,6 +63,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + from .host_reputation_classification import HostReputationClassification + from .host_reputation_rule import HostReputationRule + writer.write_enum_value("classification", self.classification) writer.write_collection_of_object_values("rules", self.rules) writer.write_int_value("score", self.score) diff --git a/msgraph_beta/generated/models/security/host_reputation_rule.py b/msgraph_beta/generated/models/security/host_reputation_rule.py index 16b7cbde54d..e5b18f36af7 100644 --- a/msgraph_beta/generated/models/security/host_reputation_rule.py +++ b/msgraph_beta/generated/models/security/host_reputation_rule.py @@ -62,6 +62,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .host_reputation_rule_severity import HostReputationRuleSeverity + writer.write_str_value("description", self.description) writer.write_str_value("name", self.name) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/security/host_ssl_certificate.py b/msgraph_beta/generated/models/security/host_ssl_certificate.py index 1ecb2c258a0..c768a44262e 100644 --- a/msgraph_beta/generated/models/security/host_ssl_certificate.py +++ b/msgraph_beta/generated/models/security/host_ssl_certificate.py @@ -73,6 +73,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .artifact import Artifact + from .host import Host + from .host_ssl_certificate_port import HostSslCertificatePort + from .ssl_certificate import SslCertificate + writer.write_datetime_value("firstSeenDateTime", self.first_seen_date_time) writer.write_object_value("host", self.host) writer.write_datetime_value("lastSeenDateTime", self.last_seen_date_time) diff --git a/msgraph_beta/generated/models/security/host_ssl_certificate_collection_response.py b/msgraph_beta/generated/models/security/host_ssl_certificate_collection_response.py index 6fe02e64b4f..eb3046fe073 100644 --- a/msgraph_beta/generated/models/security/host_ssl_certificate_collection_response.py +++ b/msgraph_beta/generated/models/security/host_ssl_certificate_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .host_ssl_certificate import HostSslCertificate + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/security/host_tracker.py b/msgraph_beta/generated/models/security/host_tracker.py index 66fd46e42e6..77649d4e157 100644 --- a/msgraph_beta/generated/models/security/host_tracker.py +++ b/msgraph_beta/generated/models/security/host_tracker.py @@ -67,6 +67,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .artifact import Artifact + from .host import Host + writer.write_datetime_value("firstSeenDateTime", self.first_seen_date_time) writer.write_object_value("host", self.host) writer.write_str_value("kind", self.kind) diff --git a/msgraph_beta/generated/models/security/host_tracker_collection_response.py b/msgraph_beta/generated/models/security/host_tracker_collection_response.py index 4994f4c6c09..cb397a10dc6 100644 --- a/msgraph_beta/generated/models/security/host_tracker_collection_response.py +++ b/msgraph_beta/generated/models/security/host_tracker_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .host_tracker import HostTracker + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/security/hosted_rpa_audit_record.py b/msgraph_beta/generated/models/security/hosted_rpa_audit_record.py index 80fe9900d27..fdf4f07c70a 100644 --- a/msgraph_beta/generated/models/security/hosted_rpa_audit_record.py +++ b/msgraph_beta/generated/models/security/hosted_rpa_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/hostname.py b/msgraph_beta/generated/models/security/hostname.py index 165f50a0398..8cb30cdd7d5 100644 --- a/msgraph_beta/generated/models/security/hostname.py +++ b/msgraph_beta/generated/models/security/hostname.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .host import Host + writer.write_str_value("registrant", self.registrant) writer.write_str_value("registrar", self.registrar) diff --git a/msgraph_beta/generated/models/security/hr_signal_audit_record.py b/msgraph_beta/generated/models/security/hr_signal_audit_record.py index f4cd5bcdb05..fcb26e9b60e 100644 --- a/msgraph_beta/generated/models/security/hr_signal_audit_record.py +++ b/msgraph_beta/generated/models/security/hr_signal_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/hunting_query_results.py b/msgraph_beta/generated/models/security/hunting_query_results.py index fd45dcb3079..dcbfb2e2a1e 100644 --- a/msgraph_beta/generated/models/security/hunting_query_results.py +++ b/msgraph_beta/generated/models/security/hunting_query_results.py @@ -59,6 +59,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .hunting_row_result import HuntingRowResult + from .single_property_schema import SinglePropertySchema + writer.write_str_value("@odata.type", self.odata_type) writer.write_collection_of_object_values("results", self.results) writer.write_collection_of_object_values("schema", self.schema) diff --git a/msgraph_beta/generated/models/security/hygiene_event_record.py b/msgraph_beta/generated/models/security/hygiene_event_record.py index 062603ffd31..add2d057639 100644 --- a/msgraph_beta/generated/models/security/hygiene_event_record.py +++ b/msgraph_beta/generated/models/security/hygiene_event_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/identity_container.py b/msgraph_beta/generated/models/security/identity_container.py index d4dccc2a91c..599773c2187 100644 --- a/msgraph_beta/generated/models/security/identity_container.py +++ b/msgraph_beta/generated/models/security/identity_container.py @@ -60,6 +60,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + from .health_issue import HealthIssue + from .sensor import Sensor + writer.write_collection_of_object_values("healthIssues", self.health_issues) writer.write_collection_of_object_values("sensors", self.sensors) diff --git a/msgraph_beta/generated/models/security/impacted_asset.py b/msgraph_beta/generated/models/security/impacted_asset.py index d18a8c2ad77..e0d3a734f13 100644 --- a/msgraph_beta/generated/models/security/impacted_asset.py +++ b/msgraph_beta/generated/models/security/impacted_asset.py @@ -29,7 +29,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> ImpactedAsset: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.security.impactedDeviceAsset".casefold(): @@ -72,6 +73,10 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .impacted_device_asset import ImpactedDeviceAsset + from .impacted_mailbox_asset import ImpactedMailboxAsset + from .impacted_user_asset import ImpactedUserAsset + writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/security/impacted_device_asset.py b/msgraph_beta/generated/models/security/impacted_device_asset.py index e46531aa593..6ced2b7f392 100644 --- a/msgraph_beta/generated/models/security/impacted_device_asset.py +++ b/msgraph_beta/generated/models/security/impacted_device_asset.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_asset_identifier import DeviceAssetIdentifier + from .impacted_asset import ImpactedAsset + writer.write_enum_value("identifier", self.identifier) diff --git a/msgraph_beta/generated/models/security/impacted_mailbox_asset.py b/msgraph_beta/generated/models/security/impacted_mailbox_asset.py index 22f50f65fe9..a1f530e3ac7 100644 --- a/msgraph_beta/generated/models/security/impacted_mailbox_asset.py +++ b/msgraph_beta/generated/models/security/impacted_mailbox_asset.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .impacted_asset import ImpactedAsset + from .mailbox_asset_identifier import MailboxAssetIdentifier + writer.write_enum_value("identifier", self.identifier) diff --git a/msgraph_beta/generated/models/security/impacted_user_asset.py b/msgraph_beta/generated/models/security/impacted_user_asset.py index 272aeb9bbfb..9ad52d0b4e2 100644 --- a/msgraph_beta/generated/models/security/impacted_user_asset.py +++ b/msgraph_beta/generated/models/security/impacted_user_asset.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .impacted_asset import ImpactedAsset + from .user_asset_identifier import UserAssetIdentifier + writer.write_enum_value("identifier", self.identifier) diff --git a/msgraph_beta/generated/models/security/incident.py b/msgraph_beta/generated/models/security/incident.py index 49449bd8ee7..44355f9e178 100644 --- a/msgraph_beta/generated/models/security/incident.py +++ b/msgraph_beta/generated/models/security/incident.py @@ -133,6 +133,15 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + from .alert import Alert + from .alert_classification import AlertClassification + from .alert_comment import AlertComment + from .alert_determination import AlertDetermination + from .alert_severity import AlertSeverity + from .incident_status import IncidentStatus + from .recommended_hunting_query import RecommendedHuntingQuery + writer.write_collection_of_object_values("alerts", self.alerts) writer.write_str_value("assignedTo", self.assigned_to) writer.write_enum_value("classification", self.classification) diff --git a/msgraph_beta/generated/models/security/incident_collection_response.py b/msgraph_beta/generated/models/security/incident_collection_response.py index 39b62de7c4d..56f1878db71 100644 --- a/msgraph_beta/generated/models/security/incident_collection_response.py +++ b/msgraph_beta/generated/models/security/incident_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .incident import Incident + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/security/indicator.py b/msgraph_beta/generated/models/security/indicator.py index 18f1870bce5..e17950475eb 100644 --- a/msgraph_beta/generated/models/security/indicator.py +++ b/msgraph_beta/generated/models/security/indicator.py @@ -31,7 +31,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> Indicator: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.security.articleIndicator".casefold(): @@ -78,6 +79,12 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + from .article_indicator import ArticleIndicator + from .artifact import Artifact + from .indicator_source import IndicatorSource + from .intelligence_profile_indicator import IntelligenceProfileIndicator + writer.write_object_value("artifact", self.artifact) writer.write_enum_value("source", self.source) diff --git a/msgraph_beta/generated/models/security/information_barrier_policy_application_audit_record.py b/msgraph_beta/generated/models/security/information_barrier_policy_application_audit_record.py index 3bfc9707654..bcc2c86b871 100644 --- a/msgraph_beta/generated/models/security/information_barrier_policy_application_audit_record.py +++ b/msgraph_beta/generated/models/security/information_barrier_policy_application_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/information_protection.py b/msgraph_beta/generated/models/security/information_protection.py index c30d3c7f2a2..7cb785c60ae 100644 --- a/msgraph_beta/generated/models/security/information_protection.py +++ b/msgraph_beta/generated/models/security/information_protection.py @@ -60,6 +60,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + from .information_protection_policy_setting import InformationProtectionPolicySetting + from .sensitivity_label import SensitivityLabel + writer.write_object_value("labelPolicySettings", self.label_policy_settings) writer.write_collection_of_object_values("sensitivityLabels", self.sensitivity_labels) diff --git a/msgraph_beta/generated/models/security/information_protection_action.py b/msgraph_beta/generated/models/security/information_protection_action.py index 3dbb18391da..383ff0ac576 100644 --- a/msgraph_beta/generated/models/security/information_protection_action.py +++ b/msgraph_beta/generated/models/security/information_protection_action.py @@ -41,7 +41,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> InformationProtect if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.security.addContentFooterAction".casefold(): @@ -156,6 +157,22 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .add_content_footer_action import AddContentFooterAction + from .add_content_header_action import AddContentHeaderAction + from .add_watermark_action import AddWatermarkAction + from .apply_label_action import ApplyLabelAction + from .custom_action import CustomAction + from .justify_action import JustifyAction + from .metadata_action import MetadataAction + from .protect_adhoc_action import ProtectAdhocAction + from .protect_by_template_action import ProtectByTemplateAction + from .protect_do_not_forward_action import ProtectDoNotForwardAction + from .recommend_label_action import RecommendLabelAction + from .remove_content_footer_action import RemoveContentFooterAction + from .remove_content_header_action import RemoveContentHeaderAction + from .remove_protection_action import RemoveProtectionAction + from .remove_watermark_action import RemoveWatermarkAction + writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/security/information_protection_policy_setting.py b/msgraph_beta/generated/models/security/information_protection_policy_setting.py index 3341b318f16..b5515c461e3 100644 --- a/msgraph_beta/generated/models/security/information_protection_policy_setting.py +++ b/msgraph_beta/generated/models/security/information_protection_policy_setting.py @@ -60,6 +60,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + writer.write_str_value("defaultLabelId", self.default_label_id) writer.write_bool_value("isDowngradeJustificationRequired", self.is_downgrade_justification_required) writer.write_bool_value("isMandatory", self.is_mandatory) diff --git a/msgraph_beta/generated/models/security/information_worker_protection_audit_record.py b/msgraph_beta/generated/models/security/information_worker_protection_audit_record.py index a511e746446..c99cafad2d0 100644 --- a/msgraph_beta/generated/models/security/information_worker_protection_audit_record.py +++ b/msgraph_beta/generated/models/security/information_worker_protection_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/initiate_investigation_response_action.py b/msgraph_beta/generated/models/security/initiate_investigation_response_action.py index ea522618d35..60cf03f2f46 100644 --- a/msgraph_beta/generated/models/security/initiate_investigation_response_action.py +++ b/msgraph_beta/generated/models/security/initiate_investigation_response_action.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_id_entity_identifier import DeviceIdEntityIdentifier + from .response_action import ResponseAction + writer.write_enum_value("identifier", self.identifier) diff --git a/msgraph_beta/generated/models/security/insider_risk_scoped_user_insights_record.py b/msgraph_beta/generated/models/security/insider_risk_scoped_user_insights_record.py index 56fc9789e6f..434ae2aff97 100644 --- a/msgraph_beta/generated/models/security/insider_risk_scoped_user_insights_record.py +++ b/msgraph_beta/generated/models/security/insider_risk_scoped_user_insights_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/insider_risk_scoped_users_record.py b/msgraph_beta/generated/models/security/insider_risk_scoped_users_record.py index 49fa4d5b892..18eaf88eb92 100644 --- a/msgraph_beta/generated/models/security/insider_risk_scoped_users_record.py +++ b/msgraph_beta/generated/models/security/insider_risk_scoped_users_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/intelligence_profile.py b/msgraph_beta/generated/models/security/intelligence_profile.py index 8283e6ba204..0d832bf79ae 100644 --- a/msgraph_beta/generated/models/security/intelligence_profile.py +++ b/msgraph_beta/generated/models/security/intelligence_profile.py @@ -91,6 +91,12 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + from .formatted_content import FormattedContent + from .intelligence_profile_country_or_region_of_origin import IntelligenceProfileCountryOrRegionOfOrigin + from .intelligence_profile_indicator import IntelligenceProfileIndicator + from .intelligence_profile_kind import IntelligenceProfileKind + writer.write_collection_of_primitive_values("aliases", self.aliases) writer.write_collection_of_object_values("countriesOrRegionsOfOrigin", self.countries_or_regions_of_origin) writer.write_object_value("description", self.description) diff --git a/msgraph_beta/generated/models/security/intelligence_profile_collection_response.py b/msgraph_beta/generated/models/security/intelligence_profile_collection_response.py index 67ffa8f65d7..be655805e31 100644 --- a/msgraph_beta/generated/models/security/intelligence_profile_collection_response.py +++ b/msgraph_beta/generated/models/security/intelligence_profile_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .intelligence_profile import IntelligenceProfile + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/security/intelligence_profile_indicator.py b/msgraph_beta/generated/models/security/intelligence_profile_indicator.py index bc18a3c622f..640285280c1 100644 --- a/msgraph_beta/generated/models/security/intelligence_profile_indicator.py +++ b/msgraph_beta/generated/models/security/intelligence_profile_indicator.py @@ -55,6 +55,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .indicator import Indicator + writer.write_datetime_value("firstSeenDateTime", self.first_seen_date_time) writer.write_datetime_value("lastSeenDateTime", self.last_seen_date_time) diff --git a/msgraph_beta/generated/models/security/intelligence_profile_indicator_collection_response.py b/msgraph_beta/generated/models/security/intelligence_profile_indicator_collection_response.py index ac05354037e..2b44f5f62f2 100644 --- a/msgraph_beta/generated/models/security/intelligence_profile_indicator_collection_response.py +++ b/msgraph_beta/generated/models/security/intelligence_profile_indicator_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .intelligence_profile_indicator import IntelligenceProfileIndicator + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/security/io_t_device_evidence.py b/msgraph_beta/generated/models/security/io_t_device_evidence.py index 4cfbb49a650..525cf8008b6 100644 --- a/msgraph_beta/generated/models/security/io_t_device_evidence.py +++ b/msgraph_beta/generated/models/security/io_t_device_evidence.py @@ -141,6 +141,13 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .alert_evidence import AlertEvidence + from .azure_resource_evidence import AzureResourceEvidence + from .io_t_device_importance_type import IoTDeviceImportanceType + from .ip_evidence import IpEvidence + from .nic_evidence import NicEvidence + from .url_evidence import UrlEvidence + writer.write_str_value("deviceId", self.device_id) writer.write_str_value("deviceName", self.device_name) writer.write_str_value("devicePageLink", self.device_page_link) diff --git a/msgraph_beta/generated/models/security/ip_address.py b/msgraph_beta/generated/models/security/ip_address.py index cf514ffe820..1e2c253e465 100644 --- a/msgraph_beta/generated/models/security/ip_address.py +++ b/msgraph_beta/generated/models/security/ip_address.py @@ -63,6 +63,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .autonomous_system import AutonomousSystem + from .host import Host + writer.write_object_value("autonomousSystem", self.autonomous_system) writer.write_str_value("countryOrRegion", self.country_or_region) writer.write_str_value("hostingProvider", self.hosting_provider) diff --git a/msgraph_beta/generated/models/security/ip_evidence.py b/msgraph_beta/generated/models/security/ip_evidence.py index 7438a9d9633..dba6981837f 100644 --- a/msgraph_beta/generated/models/security/ip_evidence.py +++ b/msgraph_beta/generated/models/security/ip_evidence.py @@ -66,6 +66,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .alert_evidence import AlertEvidence + from .geo_location import GeoLocation + from .stream import Stream + writer.write_str_value("countryLetterCode", self.country_letter_code) writer.write_str_value("ipAddress", self.ip_address) writer.write_object_value("location", self.location) diff --git a/msgraph_beta/generated/models/security/irm_security_alert_record.py b/msgraph_beta/generated/models/security/irm_security_alert_record.py index 30499060c6c..088e6b922e4 100644 --- a/msgraph_beta/generated/models/security/irm_security_alert_record.py +++ b/msgraph_beta/generated/models/security/irm_security_alert_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/irm_user_defined_detection_record.py b/msgraph_beta/generated/models/security/irm_user_defined_detection_record.py index 49fc6380b54..a3734b59961 100644 --- a/msgraph_beta/generated/models/security/irm_user_defined_detection_record.py +++ b/msgraph_beta/generated/models/security/irm_user_defined_detection_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/isolate_device_response_action.py b/msgraph_beta/generated/models/security/isolate_device_response_action.py index f157884d3e6..72a9ed67612 100644 --- a/msgraph_beta/generated/models/security/isolate_device_response_action.py +++ b/msgraph_beta/generated/models/security/isolate_device_response_action.py @@ -60,6 +60,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_id_entity_identifier import DeviceIdEntityIdentifier + from .isolation_type import IsolationType + from .response_action import ResponseAction + writer.write_enum_value("identifier", self.identifier) writer.write_enum_value("isolationType", self.isolation_type) diff --git a/msgraph_beta/generated/models/security/justify_action.py b/msgraph_beta/generated/models/security/justify_action.py index 013926d2452..420b1b78489 100644 --- a/msgraph_beta/generated/models/security/justify_action.py +++ b/msgraph_beta/generated/models/security/justify_action.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .information_protection_action import InformationProtectionAction + diff --git a/msgraph_beta/generated/models/security/kaizala_audit_record.py b/msgraph_beta/generated/models/security/kaizala_audit_record.py index 9bee582b90f..ba0b90b4e00 100644 --- a/msgraph_beta/generated/models/security/kaizala_audit_record.py +++ b/msgraph_beta/generated/models/security/kaizala_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/kubernetes_cluster_evidence.py b/msgraph_beta/generated/models/security/kubernetes_cluster_evidence.py index 53025ed0025..f045ea0a070 100644 --- a/msgraph_beta/generated/models/security/kubernetes_cluster_evidence.py +++ b/msgraph_beta/generated/models/security/kubernetes_cluster_evidence.py @@ -66,6 +66,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .alert_evidence import AlertEvidence + from .kubernetes_platform import KubernetesPlatform + writer.write_object_value("cloudResource", self.cloud_resource) writer.write_str_value("distribution", self.distribution) writer.write_str_value("name", self.name) diff --git a/msgraph_beta/generated/models/security/kubernetes_controller_evidence.py b/msgraph_beta/generated/models/security/kubernetes_controller_evidence.py index 06ef10cdd55..b64f951a612 100644 --- a/msgraph_beta/generated/models/security/kubernetes_controller_evidence.py +++ b/msgraph_beta/generated/models/security/kubernetes_controller_evidence.py @@ -66,6 +66,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .alert_evidence import AlertEvidence + from .dictionary import Dictionary + from .kubernetes_namespace_evidence import KubernetesNamespaceEvidence + writer.write_object_value("labels", self.labels) writer.write_str_value("name", self.name) writer.write_object_value("namespace", self.namespace) diff --git a/msgraph_beta/generated/models/security/kubernetes_namespace_evidence.py b/msgraph_beta/generated/models/security/kubernetes_namespace_evidence.py index 2eadda7fc5f..cf66657ca29 100644 --- a/msgraph_beta/generated/models/security/kubernetes_namespace_evidence.py +++ b/msgraph_beta/generated/models/security/kubernetes_namespace_evidence.py @@ -63,6 +63,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .alert_evidence import AlertEvidence + from .dictionary import Dictionary + from .kubernetes_cluster_evidence import KubernetesClusterEvidence + writer.write_object_value("cluster", self.cluster) writer.write_object_value("labels", self.labels) writer.write_str_value("name", self.name) diff --git a/msgraph_beta/generated/models/security/kubernetes_pod_evidence.py b/msgraph_beta/generated/models/security/kubernetes_pod_evidence.py index aeed74cc08b..d99e5d71507 100644 --- a/msgraph_beta/generated/models/security/kubernetes_pod_evidence.py +++ b/msgraph_beta/generated/models/security/kubernetes_pod_evidence.py @@ -93,6 +93,14 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .alert_evidence import AlertEvidence + from .container_evidence import ContainerEvidence + from .dictionary import Dictionary + from .ip_evidence import IpEvidence + from .kubernetes_controller_evidence import KubernetesControllerEvidence + from .kubernetes_namespace_evidence import KubernetesNamespaceEvidence + from .kubernetes_service_account_evidence import KubernetesServiceAccountEvidence + writer.write_collection_of_object_values("containers", self.containers) writer.write_object_value("controller", self.controller) writer.write_collection_of_object_values("ephemeralContainers", self.ephemeral_containers) diff --git a/msgraph_beta/generated/models/security/kubernetes_secret_evidence.py b/msgraph_beta/generated/models/security/kubernetes_secret_evidence.py index 42023ab1822..20d46305d26 100644 --- a/msgraph_beta/generated/models/security/kubernetes_secret_evidence.py +++ b/msgraph_beta/generated/models/security/kubernetes_secret_evidence.py @@ -60,6 +60,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .alert_evidence import AlertEvidence + from .kubernetes_namespace_evidence import KubernetesNamespaceEvidence + writer.write_str_value("name", self.name) writer.write_object_value("namespace", self.namespace) writer.write_str_value("secretType", self.secret_type) diff --git a/msgraph_beta/generated/models/security/kubernetes_service_account_evidence.py b/msgraph_beta/generated/models/security/kubernetes_service_account_evidence.py index 0e8ce7fd1af..7c305fddb86 100644 --- a/msgraph_beta/generated/models/security/kubernetes_service_account_evidence.py +++ b/msgraph_beta/generated/models/security/kubernetes_service_account_evidence.py @@ -57,6 +57,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .alert_evidence import AlertEvidence + from .kubernetes_namespace_evidence import KubernetesNamespaceEvidence + writer.write_str_value("name", self.name) writer.write_object_value("namespace", self.namespace) diff --git a/msgraph_beta/generated/models/security/kubernetes_service_evidence.py b/msgraph_beta/generated/models/security/kubernetes_service_evidence.py index b9d7716d79d..d51555d8302 100644 --- a/msgraph_beta/generated/models/security/kubernetes_service_evidence.py +++ b/msgraph_beta/generated/models/security/kubernetes_service_evidence.py @@ -87,6 +87,13 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .alert_evidence import AlertEvidence + from .dictionary import Dictionary + from .ip_evidence import IpEvidence + from .kubernetes_namespace_evidence import KubernetesNamespaceEvidence + from .kubernetes_service_port import KubernetesServicePort + from .kubernetes_service_type import KubernetesServiceType + writer.write_object_value("clusterIP", self.cluster_i_p) writer.write_collection_of_object_values("externalIPs", self.external_i_ps) writer.write_object_value("labels", self.labels) diff --git a/msgraph_beta/generated/models/security/kubernetes_service_port.py b/msgraph_beta/generated/models/security/kubernetes_service_port.py index e9e7d754de2..10d69291b7d 100644 --- a/msgraph_beta/generated/models/security/kubernetes_service_port.py +++ b/msgraph_beta/generated/models/security/kubernetes_service_port.py @@ -68,6 +68,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .container_port_protocol import ContainerPortProtocol + writer.write_str_value("appProtocol", self.app_protocol) writer.write_str_value("name", self.name) writer.write_int_value("nodePort", self.node_port) diff --git a/msgraph_beta/generated/models/security/label_analytics_aggregate_audit_record.py b/msgraph_beta/generated/models/security/label_analytics_aggregate_audit_record.py index aa85623e15d..be7ac4653f2 100644 --- a/msgraph_beta/generated/models/security/label_analytics_aggregate_audit_record.py +++ b/msgraph_beta/generated/models/security/label_analytics_aggregate_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/label_content_explorer_audit_record.py b/msgraph_beta/generated/models/security/label_content_explorer_audit_record.py index 41fe58e1f71..4d673b53cc6 100644 --- a/msgraph_beta/generated/models/security/label_content_explorer_audit_record.py +++ b/msgraph_beta/generated/models/security/label_content_explorer_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/labeling_options.py b/msgraph_beta/generated/models/security/labeling_options.py index 0137d39f418..75c1ccb4e8b 100644 --- a/msgraph_beta/generated/models/security/labeling_options.py +++ b/msgraph_beta/generated/models/security/labeling_options.py @@ -68,6 +68,10 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .assignment_method import AssignmentMethod + from .downgrade_justification import DowngradeJustification + from .key_value_pair import KeyValuePair + writer.write_enum_value("assignmentMethod", self.assignment_method) writer.write_object_value("downgradeJustification", self.downgrade_justification) writer.write_collection_of_object_values("extendedProperties", self.extended_properties) diff --git a/msgraph_beta/generated/models/security/labels_root.py b/msgraph_beta/generated/models/security/labels_root.py index 345cb6316bc..623f4c454a9 100644 --- a/msgraph_beta/generated/models/security/labels_root.py +++ b/msgraph_beta/generated/models/security/labels_root.py @@ -84,6 +84,14 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + from .authority_template import AuthorityTemplate + from .category_template import CategoryTemplate + from .citation_template import CitationTemplate + from .department_template import DepartmentTemplate + from .file_plan_reference_template import FilePlanReferenceTemplate + from .retention_label import RetentionLabel + writer.write_collection_of_object_values("authorities", self.authorities) writer.write_collection_of_object_values("categories", self.categories) writer.write_collection_of_object_values("citations", self.citations) diff --git a/msgraph_beta/generated/models/security/large_content_metadata_audit_record.py b/msgraph_beta/generated/models/security/large_content_metadata_audit_record.py index 9d31573f36f..4473a92cbb7 100644 --- a/msgraph_beta/generated/models/security/large_content_metadata_audit_record.py +++ b/msgraph_beta/generated/models/security/large_content_metadata_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/m365_compliance_connector_audit_record.py b/msgraph_beta/generated/models/security/m365_compliance_connector_audit_record.py index 5547877bd71..222ec8ade23 100644 --- a/msgraph_beta/generated/models/security/m365_compliance_connector_audit_record.py +++ b/msgraph_beta/generated/models/security/m365_compliance_connector_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/m365_d_a_a_d_audit_record.py b/msgraph_beta/generated/models/security/m365_d_a_a_d_audit_record.py index 269d6a42c07..d76f3c7331f 100644 --- a/msgraph_beta/generated/models/security/m365_d_a_a_d_audit_record.py +++ b/msgraph_beta/generated/models/security/m365_d_a_a_d_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/m_s365_d_custom_detection_audit_record.py b/msgraph_beta/generated/models/security/m_s365_d_custom_detection_audit_record.py index ef3cdcd396a..38fc02973fe 100644 --- a/msgraph_beta/generated/models/security/m_s365_d_custom_detection_audit_record.py +++ b/msgraph_beta/generated/models/security/m_s365_d_custom_detection_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/m_s365_d_incident_audit_record.py b/msgraph_beta/generated/models/security/m_s365_d_incident_audit_record.py index ebbb36c0e8b..60968081151 100644 --- a/msgraph_beta/generated/models/security/m_s365_d_incident_audit_record.py +++ b/msgraph_beta/generated/models/security/m_s365_d_incident_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/m_s365_d_suppression_rule_audit_record.py b/msgraph_beta/generated/models/security/m_s365_d_suppression_rule_audit_record.py index c05c6d03a6d..c5a3d3a915f 100644 --- a/msgraph_beta/generated/models/security/m_s365_d_suppression_rule_audit_record.py +++ b/msgraph_beta/generated/models/security/m_s365_d_suppression_rule_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/mail_cluster_evidence.py b/msgraph_beta/generated/models/security/mail_cluster_evidence.py index 46c1cf31209..01bd3ba373f 100644 --- a/msgraph_beta/generated/models/security/mail_cluster_evidence.py +++ b/msgraph_beta/generated/models/security/mail_cluster_evidence.py @@ -66,6 +66,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .alert_evidence import AlertEvidence + writer.write_str_value("clusterBy", self.cluster_by) writer.write_str_value("clusterByValue", self.cluster_by_value) writer.write_int_value("emailCount", self.email_count) diff --git a/msgraph_beta/generated/models/security/mail_submission_data.py b/msgraph_beta/generated/models/security/mail_submission_data.py index 1c51f6781b5..06ccdb2366f 100644 --- a/msgraph_beta/generated/models/security/mail_submission_data.py +++ b/msgraph_beta/generated/models/security/mail_submission_data.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/mailbox_configuration_evidence.py b/msgraph_beta/generated/models/security/mailbox_configuration_evidence.py index 8cd49f9998b..70d468ff4e1 100644 --- a/msgraph_beta/generated/models/security/mailbox_configuration_evidence.py +++ b/msgraph_beta/generated/models/security/mailbox_configuration_evidence.py @@ -70,6 +70,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .alert_evidence import AlertEvidence + from .mailbox_configuration_type import MailboxConfigurationType + writer.write_str_value("configurationId", self.configuration_id) writer.write_enum_value("configurationType", self.configuration_type) writer.write_str_value("displayName", self.display_name) diff --git a/msgraph_beta/generated/models/security/mailbox_evidence.py b/msgraph_beta/generated/models/security/mailbox_evidence.py index 14f51032391..60a5327fb86 100644 --- a/msgraph_beta/generated/models/security/mailbox_evidence.py +++ b/msgraph_beta/generated/models/security/mailbox_evidence.py @@ -60,6 +60,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .alert_evidence import AlertEvidence + from .user_account import UserAccount + writer.write_str_value("displayName", self.display_name) writer.write_str_value("primaryAddress", self.primary_address) writer.write_object_value("userAccount", self.user_account) diff --git a/msgraph_beta/generated/models/security/malware_evidence.py b/msgraph_beta/generated/models/security/malware_evidence.py index 3535ff2434b..314523cf3b6 100644 --- a/msgraph_beta/generated/models/security/malware_evidence.py +++ b/msgraph_beta/generated/models/security/malware_evidence.py @@ -66,6 +66,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .alert_evidence import AlertEvidence + from .file_evidence import FileEvidence + from .process_evidence import ProcessEvidence + writer.write_str_value("category", self.category) writer.write_collection_of_object_values("files", self.files) writer.write_str_value("name", self.name) diff --git a/msgraph_beta/generated/models/security/managed_services_audit_record.py b/msgraph_beta/generated/models/security/managed_services_audit_record.py index 1a0b2619540..452e20f6f66 100644 --- a/msgraph_beta/generated/models/security/managed_services_audit_record.py +++ b/msgraph_beta/generated/models/security/managed_services_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/managed_tenants_audit_record.py b/msgraph_beta/generated/models/security/managed_tenants_audit_record.py index 149bd7e7398..2c00c08b872 100644 --- a/msgraph_beta/generated/models/security/managed_tenants_audit_record.py +++ b/msgraph_beta/generated/models/security/managed_tenants_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/mapg_alerts_audit_record.py b/msgraph_beta/generated/models/security/mapg_alerts_audit_record.py index bdc87706cda..592a92bb4f5 100644 --- a/msgraph_beta/generated/models/security/mapg_alerts_audit_record.py +++ b/msgraph_beta/generated/models/security/mapg_alerts_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/mapg_onboard_audit_record.py b/msgraph_beta/generated/models/security/mapg_onboard_audit_record.py index 103263ebdb0..809a9568e4b 100644 --- a/msgraph_beta/generated/models/security/mapg_onboard_audit_record.py +++ b/msgraph_beta/generated/models/security/mapg_onboard_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/mapg_policy_audit_record.py b/msgraph_beta/generated/models/security/mapg_policy_audit_record.py index 2aa0d7e42bd..ee69496b463 100644 --- a/msgraph_beta/generated/models/security/mapg_policy_audit_record.py +++ b/msgraph_beta/generated/models/security/mapg_policy_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/mark_user_as_compromised_response_action.py b/msgraph_beta/generated/models/security/mark_user_as_compromised_response_action.py index 7ae70710a99..58cf9338902 100644 --- a/msgraph_beta/generated/models/security/mark_user_as_compromised_response_action.py +++ b/msgraph_beta/generated/models/security/mark_user_as_compromised_response_action.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .mark_user_as_compromised_entity_identifier import MarkUserAsCompromisedEntityIdentifier + from .response_action import ResponseAction + writer.write_enum_value("identifier", self.identifier) diff --git a/msgraph_beta/generated/models/security/mcas_alerts_audit_record.py b/msgraph_beta/generated/models/security/mcas_alerts_audit_record.py index c785efc1a57..b7ade0882c0 100644 --- a/msgraph_beta/generated/models/security/mcas_alerts_audit_record.py +++ b/msgraph_beta/generated/models/security/mcas_alerts_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/mda_data_security_signal_record.py b/msgraph_beta/generated/models/security/mda_data_security_signal_record.py index 15cf16340a3..7c8fcf04bc8 100644 --- a/msgraph_beta/generated/models/security/mda_data_security_signal_record.py +++ b/msgraph_beta/generated/models/security/mda_data_security_signal_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/mdatp_audit_record.py b/msgraph_beta/generated/models/security/mdatp_audit_record.py index 7ce4978ebb3..a039a580124 100644 --- a/msgraph_beta/generated/models/security/mdatp_audit_record.py +++ b/msgraph_beta/generated/models/security/mdatp_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/mdc_events_record.py b/msgraph_beta/generated/models/security/mdc_events_record.py index 8c36bc0c3ad..39d4e3954fe 100644 --- a/msgraph_beta/generated/models/security/mdc_events_record.py +++ b/msgraph_beta/generated/models/security/mdc_events_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/mdi_audit_record.py b/msgraph_beta/generated/models/security/mdi_audit_record.py index b2a02411430..d3db02beea7 100644 --- a/msgraph_beta/generated/models/security/mdi_audit_record.py +++ b/msgraph_beta/generated/models/security/mdi_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/mesh_worlds_audit_record.py b/msgraph_beta/generated/models/security/mesh_worlds_audit_record.py index 5dd8c526174..d692504637e 100644 --- a/msgraph_beta/generated/models/security/mesh_worlds_audit_record.py +++ b/msgraph_beta/generated/models/security/mesh_worlds_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/metadata_action.py b/msgraph_beta/generated/models/security/metadata_action.py index b08ce2902e0..42a050e24f1 100644 --- a/msgraph_beta/generated/models/security/metadata_action.py +++ b/msgraph_beta/generated/models/security/metadata_action.py @@ -57,6 +57,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .information_protection_action import InformationProtectionAction + from .key_value_pair import KeyValuePair + writer.write_collection_of_object_values("metadataToAdd", self.metadata_to_add) writer.write_collection_of_primitive_values("metadataToRemove", self.metadata_to_remove) diff --git a/msgraph_beta/generated/models/security/microsoft365_backup_backup_item_audit_record.py b/msgraph_beta/generated/models/security/microsoft365_backup_backup_item_audit_record.py index dc5ff2f79ff..2b5f5de6ee6 100644 --- a/msgraph_beta/generated/models/security/microsoft365_backup_backup_item_audit_record.py +++ b/msgraph_beta/generated/models/security/microsoft365_backup_backup_item_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/microsoft365_backup_backup_policy_audit_record.py b/msgraph_beta/generated/models/security/microsoft365_backup_backup_policy_audit_record.py index 983d49f2ab3..34696c1e041 100644 --- a/msgraph_beta/generated/models/security/microsoft365_backup_backup_policy_audit_record.py +++ b/msgraph_beta/generated/models/security/microsoft365_backup_backup_policy_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/microsoft365_backup_restore_item_audit_record.py b/msgraph_beta/generated/models/security/microsoft365_backup_restore_item_audit_record.py index e17f877775a..d2512ec0748 100644 --- a/msgraph_beta/generated/models/security/microsoft365_backup_restore_item_audit_record.py +++ b/msgraph_beta/generated/models/security/microsoft365_backup_restore_item_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/microsoft365_backup_restore_task_audit_record.py b/msgraph_beta/generated/models/security/microsoft365_backup_restore_task_audit_record.py index e88b46da317..aa9379f818e 100644 --- a/msgraph_beta/generated/models/security/microsoft365_backup_restore_task_audit_record.py +++ b/msgraph_beta/generated/models/security/microsoft365_backup_restore_task_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/microsoft_defender_experts_base_audit_record.py b/msgraph_beta/generated/models/security/microsoft_defender_experts_base_audit_record.py index 4cb94f0ff67..3a2892bf4d1 100644 --- a/msgraph_beta/generated/models/security/microsoft_defender_experts_base_audit_record.py +++ b/msgraph_beta/generated/models/security/microsoft_defender_experts_base_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/microsoft_defender_experts_x_d_r_audit_record.py b/msgraph_beta/generated/models/security/microsoft_defender_experts_x_d_r_audit_record.py index 73ca50596bb..2d6b02a5d25 100644 --- a/msgraph_beta/generated/models/security/microsoft_defender_experts_x_d_r_audit_record.py +++ b/msgraph_beta/generated/models/security/microsoft_defender_experts_x_d_r_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/microsoft_flow_audit_record.py b/msgraph_beta/generated/models/security/microsoft_flow_audit_record.py index 7301ea624c1..4d4c6fb4165 100644 --- a/msgraph_beta/generated/models/security/microsoft_flow_audit_record.py +++ b/msgraph_beta/generated/models/security/microsoft_flow_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/microsoft_forms_audit_record.py b/msgraph_beta/generated/models/security/microsoft_forms_audit_record.py index 716cc1fd0c4..0cb9bf6b24e 100644 --- a/msgraph_beta/generated/models/security/microsoft_forms_audit_record.py +++ b/msgraph_beta/generated/models/security/microsoft_forms_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/microsoft_graph_data_connect_consent.py b/msgraph_beta/generated/models/security/microsoft_graph_data_connect_consent.py index 7c568a17088..2b43a16e1f2 100644 --- a/msgraph_beta/generated/models/security/microsoft_graph_data_connect_consent.py +++ b/msgraph_beta/generated/models/security/microsoft_graph_data_connect_consent.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/microsoft_graph_data_connect_operation.py b/msgraph_beta/generated/models/security/microsoft_graph_data_connect_operation.py index 43b69d89fa9..581ec51a99c 100644 --- a/msgraph_beta/generated/models/security/microsoft_graph_data_connect_operation.py +++ b/msgraph_beta/generated/models/security/microsoft_graph_data_connect_operation.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/microsoft_purview_data_map_operation_record.py b/msgraph_beta/generated/models/security/microsoft_purview_data_map_operation_record.py index 6f71c876403..d935ed2bc64 100644 --- a/msgraph_beta/generated/models/security/microsoft_purview_data_map_operation_record.py +++ b/msgraph_beta/generated/models/security/microsoft_purview_data_map_operation_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/microsoft_purview_metadata_policy_operation_record.py b/msgraph_beta/generated/models/security/microsoft_purview_metadata_policy_operation_record.py index 512f8c576d7..918df449d5e 100644 --- a/msgraph_beta/generated/models/security/microsoft_purview_metadata_policy_operation_record.py +++ b/msgraph_beta/generated/models/security/microsoft_purview_metadata_policy_operation_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/microsoft_purview_policy_operation_record.py b/msgraph_beta/generated/models/security/microsoft_purview_policy_operation_record.py index bc53bec4dd4..7d74f72c2cd 100644 --- a/msgraph_beta/generated/models/security/microsoft_purview_policy_operation_record.py +++ b/msgraph_beta/generated/models/security/microsoft_purview_policy_operation_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/microsoft_purview_privacy_audit_event.py b/msgraph_beta/generated/models/security/microsoft_purview_privacy_audit_event.py index 3e0d10ea2b3..a58222836f6 100644 --- a/msgraph_beta/generated/models/security/microsoft_purview_privacy_audit_event.py +++ b/msgraph_beta/generated/models/security/microsoft_purview_privacy_audit_event.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/microsoft_stream_audit_record.py b/msgraph_beta/generated/models/security/microsoft_stream_audit_record.py index e56876c941a..4cee6731b2e 100644 --- a/msgraph_beta/generated/models/security/microsoft_stream_audit_record.py +++ b/msgraph_beta/generated/models/security/microsoft_stream_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/microsoft_teams_admin_audit_record.py b/msgraph_beta/generated/models/security/microsoft_teams_admin_audit_record.py index 84db13d6955..a56504122e9 100644 --- a/msgraph_beta/generated/models/security/microsoft_teams_admin_audit_record.py +++ b/msgraph_beta/generated/models/security/microsoft_teams_admin_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/microsoft_teams_analytics_audit_record.py b/msgraph_beta/generated/models/security/microsoft_teams_analytics_audit_record.py index 15abb5ebbd8..e2fe3c63da5 100644 --- a/msgraph_beta/generated/models/security/microsoft_teams_analytics_audit_record.py +++ b/msgraph_beta/generated/models/security/microsoft_teams_analytics_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/microsoft_teams_audit_record.py b/msgraph_beta/generated/models/security/microsoft_teams_audit_record.py index 06fe8211143..dfcfa2f2979 100644 --- a/msgraph_beta/generated/models/security/microsoft_teams_audit_record.py +++ b/msgraph_beta/generated/models/security/microsoft_teams_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/microsoft_teams_device_audit_record.py b/msgraph_beta/generated/models/security/microsoft_teams_device_audit_record.py index cb0d8c8787f..52efe6c4105 100644 --- a/msgraph_beta/generated/models/security/microsoft_teams_device_audit_record.py +++ b/msgraph_beta/generated/models/security/microsoft_teams_device_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/microsoft_teams_retention_label_action_audit_record.py b/msgraph_beta/generated/models/security/microsoft_teams_retention_label_action_audit_record.py index d445e4f09c3..d976ffde0eb 100644 --- a/msgraph_beta/generated/models/security/microsoft_teams_retention_label_action_audit_record.py +++ b/msgraph_beta/generated/models/security/microsoft_teams_retention_label_action_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/microsoft_teams_sensitivity_label_action_audit_record.py b/msgraph_beta/generated/models/security/microsoft_teams_sensitivity_label_action_audit_record.py index 95d3f8ed8f3..741a62f8c91 100644 --- a/msgraph_beta/generated/models/security/microsoft_teams_sensitivity_label_action_audit_record.py +++ b/msgraph_beta/generated/models/security/microsoft_teams_sensitivity_label_action_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/microsoft_teams_shifts_audit_record.py b/msgraph_beta/generated/models/security/microsoft_teams_shifts_audit_record.py index c9ecae7771c..84d48ef5ea9 100644 --- a/msgraph_beta/generated/models/security/microsoft_teams_shifts_audit_record.py +++ b/msgraph_beta/generated/models/security/microsoft_teams_shifts_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/mip_auto_label_exchange_item_audit_record.py b/msgraph_beta/generated/models/security/mip_auto_label_exchange_item_audit_record.py index 8e941fb575a..70c3cea6c79 100644 --- a/msgraph_beta/generated/models/security/mip_auto_label_exchange_item_audit_record.py +++ b/msgraph_beta/generated/models/security/mip_auto_label_exchange_item_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/mip_auto_label_item_audit_record.py b/msgraph_beta/generated/models/security/mip_auto_label_item_audit_record.py index a780299a658..aeca1796bb6 100644 --- a/msgraph_beta/generated/models/security/mip_auto_label_item_audit_record.py +++ b/msgraph_beta/generated/models/security/mip_auto_label_item_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/mip_auto_label_policy_audit_record.py b/msgraph_beta/generated/models/security/mip_auto_label_policy_audit_record.py index 1011ded2898..dd50f3ba191 100644 --- a/msgraph_beta/generated/models/security/mip_auto_label_policy_audit_record.py +++ b/msgraph_beta/generated/models/security/mip_auto_label_policy_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/mip_auto_label_progress_feedback_audit_record.py b/msgraph_beta/generated/models/security/mip_auto_label_progress_feedback_audit_record.py index 53432e10deb..676e0deeb71 100644 --- a/msgraph_beta/generated/models/security/mip_auto_label_progress_feedback_audit_record.py +++ b/msgraph_beta/generated/models/security/mip_auto_label_progress_feedback_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/mip_auto_label_share_point_item_audit_record.py b/msgraph_beta/generated/models/security/mip_auto_label_share_point_item_audit_record.py index 18fb4ec33af..9aa1c0fc458 100644 --- a/msgraph_beta/generated/models/security/mip_auto_label_share_point_item_audit_record.py +++ b/msgraph_beta/generated/models/security/mip_auto_label_share_point_item_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/mip_auto_label_share_point_policy_location_audit_record.py b/msgraph_beta/generated/models/security/mip_auto_label_share_point_policy_location_audit_record.py index d795bb0f087..d2e8278146f 100644 --- a/msgraph_beta/generated/models/security/mip_auto_label_share_point_policy_location_audit_record.py +++ b/msgraph_beta/generated/models/security/mip_auto_label_share_point_policy_location_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/mip_auto_label_simulation_share_point_completion_record.py b/msgraph_beta/generated/models/security/mip_auto_label_simulation_share_point_completion_record.py index 26eba639c8d..a4b5cc5138b 100644 --- a/msgraph_beta/generated/models/security/mip_auto_label_simulation_share_point_completion_record.py +++ b/msgraph_beta/generated/models/security/mip_auto_label_simulation_share_point_completion_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/mip_auto_label_simulation_share_point_progress_record.py b/msgraph_beta/generated/models/security/mip_auto_label_simulation_share_point_progress_record.py index 242760e2993..3383f5e4501 100644 --- a/msgraph_beta/generated/models/security/mip_auto_label_simulation_share_point_progress_record.py +++ b/msgraph_beta/generated/models/security/mip_auto_label_simulation_share_point_progress_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/mip_auto_label_simulation_statistics_record.py b/msgraph_beta/generated/models/security/mip_auto_label_simulation_statistics_record.py index 8f37ee98be5..834e67cfd41 100644 --- a/msgraph_beta/generated/models/security/mip_auto_label_simulation_statistics_record.py +++ b/msgraph_beta/generated/models/security/mip_auto_label_simulation_statistics_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/mip_auto_label_simulation_status_record.py b/msgraph_beta/generated/models/security/mip_auto_label_simulation_status_record.py index 959f1df0eff..819d905e823 100644 --- a/msgraph_beta/generated/models/security/mip_auto_label_simulation_status_record.py +++ b/msgraph_beta/generated/models/security/mip_auto_label_simulation_status_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/mip_exact_data_match_audit_record.py b/msgraph_beta/generated/models/security/mip_exact_data_match_audit_record.py index 47ce481498c..09fc536adb4 100644 --- a/msgraph_beta/generated/models/security/mip_exact_data_match_audit_record.py +++ b/msgraph_beta/generated/models/security/mip_exact_data_match_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/mip_label_analytics_audit_record.py b/msgraph_beta/generated/models/security/mip_label_analytics_audit_record.py index c3cb8a8b356..da187090b2b 100644 --- a/msgraph_beta/generated/models/security/mip_label_analytics_audit_record.py +++ b/msgraph_beta/generated/models/security/mip_label_analytics_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/mip_label_audit_record.py b/msgraph_beta/generated/models/security/mip_label_audit_record.py index 98e5b9f38c9..12f4b0f977b 100644 --- a/msgraph_beta/generated/models/security/mip_label_audit_record.py +++ b/msgraph_beta/generated/models/security/mip_label_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/move_to_deleted_items_response_action.py b/msgraph_beta/generated/models/security/move_to_deleted_items_response_action.py index 07dd479140a..9dd13ad3b9e 100644 --- a/msgraph_beta/generated/models/security/move_to_deleted_items_response_action.py +++ b/msgraph_beta/generated/models/security/move_to_deleted_items_response_action.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .email_entity_identifier import EmailEntityIdentifier + from .response_action import ResponseAction + writer.write_enum_value("identifier", self.identifier) diff --git a/msgraph_beta/generated/models/security/move_to_inbox_response_action.py b/msgraph_beta/generated/models/security/move_to_inbox_response_action.py index 3adf6e435a7..e85ead7dcfe 100644 --- a/msgraph_beta/generated/models/security/move_to_inbox_response_action.py +++ b/msgraph_beta/generated/models/security/move_to_inbox_response_action.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .email_entity_identifier import EmailEntityIdentifier + from .response_action import ResponseAction + writer.write_enum_value("identifier", self.identifier) diff --git a/msgraph_beta/generated/models/security/move_to_junk_response_action.py b/msgraph_beta/generated/models/security/move_to_junk_response_action.py index d935cfe6a12..2c36eacb3c8 100644 --- a/msgraph_beta/generated/models/security/move_to_junk_response_action.py +++ b/msgraph_beta/generated/models/security/move_to_junk_response_action.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .email_entity_identifier import EmailEntityIdentifier + from .response_action import ResponseAction + writer.write_enum_value("identifier", self.identifier) diff --git a/msgraph_beta/generated/models/security/msde_general_settings_audit_record.py b/msgraph_beta/generated/models/security/msde_general_settings_audit_record.py index cc0910ff972..df59fc7cea8 100644 --- a/msgraph_beta/generated/models/security/msde_general_settings_audit_record.py +++ b/msgraph_beta/generated/models/security/msde_general_settings_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/msde_indicators_settings_audit_record.py b/msgraph_beta/generated/models/security/msde_indicators_settings_audit_record.py index ad20d09bc4b..8344497af83 100644 --- a/msgraph_beta/generated/models/security/msde_indicators_settings_audit_record.py +++ b/msgraph_beta/generated/models/security/msde_indicators_settings_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/msde_response_actions_audit_record.py b/msgraph_beta/generated/models/security/msde_response_actions_audit_record.py index a04f3e1e6bf..ff2be37a33a 100644 --- a/msgraph_beta/generated/models/security/msde_response_actions_audit_record.py +++ b/msgraph_beta/generated/models/security/msde_response_actions_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/msde_roles_settings_audit_record.py b/msgraph_beta/generated/models/security/msde_roles_settings_audit_record.py index d32cb828c22..13d9bbb3003 100644 --- a/msgraph_beta/generated/models/security/msde_roles_settings_audit_record.py +++ b/msgraph_beta/generated/models/security/msde_roles_settings_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/mstic_nation_state_notification_record.py b/msgraph_beta/generated/models/security/mstic_nation_state_notification_record.py index 41fb908c3d5..d19a0c05a0b 100644 --- a/msgraph_beta/generated/models/security/mstic_nation_state_notification_record.py +++ b/msgraph_beta/generated/models/security/mstic_nation_state_notification_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/multi_stage_disposition_audit_record.py b/msgraph_beta/generated/models/security/multi_stage_disposition_audit_record.py index 8c19f732941..5e73029c544 100644 --- a/msgraph_beta/generated/models/security/multi_stage_disposition_audit_record.py +++ b/msgraph_beta/generated/models/security/multi_stage_disposition_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/my_analytics_settings_audit_record.py b/msgraph_beta/generated/models/security/my_analytics_settings_audit_record.py index 2dac2fc882c..2b0a5f1b87c 100644 --- a/msgraph_beta/generated/models/security/my_analytics_settings_audit_record.py +++ b/msgraph_beta/generated/models/security/my_analytics_settings_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/network_adapter.py b/msgraph_beta/generated/models/security/network_adapter.py index 3c5c77213a6..4c107f9df8e 100644 --- a/msgraph_beta/generated/models/security/network_adapter.py +++ b/msgraph_beta/generated/models/security/network_adapter.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + writer.write_bool_value("isEnabled", self.is_enabled) writer.write_str_value("name", self.name) diff --git a/msgraph_beta/generated/models/security/network_connection_evidence.py b/msgraph_beta/generated/models/security/network_connection_evidence.py index 2b2f39fed91..11d6dca74cc 100644 --- a/msgraph_beta/generated/models/security/network_connection_evidence.py +++ b/msgraph_beta/generated/models/security/network_connection_evidence.py @@ -69,6 +69,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .alert_evidence import AlertEvidence + from .ip_evidence import IpEvidence + from .protocol_type import ProtocolType + writer.write_object_value("destinationAddress", self.destination_address) writer.write_int_value("destinationPort", self.destination_port) writer.write_enum_value("protocol", self.protocol) diff --git a/msgraph_beta/generated/models/security/nic_evidence.py b/msgraph_beta/generated/models/security/nic_evidence.py index 21a71a91873..1bfa396f56b 100644 --- a/msgraph_beta/generated/models/security/nic_evidence.py +++ b/msgraph_beta/generated/models/security/nic_evidence.py @@ -60,6 +60,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .alert_evidence import AlertEvidence + from .ip_evidence import IpEvidence + writer.write_object_value("ipAddress", self.ip_address) writer.write_str_value("macAddress", self.mac_address) writer.write_collection_of_primitive_values("vlans", self.vlans) diff --git a/msgraph_beta/generated/models/security/oauth_application_evidence.py b/msgraph_beta/generated/models/security/oauth_application_evidence.py index 3fb473534fd..751a8130d2a 100644 --- a/msgraph_beta/generated/models/security/oauth_application_evidence.py +++ b/msgraph_beta/generated/models/security/oauth_application_evidence.py @@ -60,6 +60,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .alert_evidence import AlertEvidence + writer.write_str_value("appId", self.app_id) writer.write_str_value("displayName", self.display_name) writer.write_str_value("objectId", self.object_id) diff --git a/msgraph_beta/generated/models/security/office_native_audit_record.py b/msgraph_beta/generated/models/security/office_native_audit_record.py index 20f5d933d10..482c50aebcd 100644 --- a/msgraph_beta/generated/models/security/office_native_audit_record.py +++ b/msgraph_beta/generated/models/security/office_native_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/ome_portal_audit_record.py b/msgraph_beta/generated/models/security/ome_portal_audit_record.py index 5049d511db8..38921399255 100644 --- a/msgraph_beta/generated/models/security/ome_portal_audit_record.py +++ b/msgraph_beta/generated/models/security/ome_portal_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/on_premises_file_share_scanner_dlp_audit_record.py b/msgraph_beta/generated/models/security/on_premises_file_share_scanner_dlp_audit_record.py index 99bdadf33dc..db89f10d140 100644 --- a/msgraph_beta/generated/models/security/on_premises_file_share_scanner_dlp_audit_record.py +++ b/msgraph_beta/generated/models/security/on_premises_file_share_scanner_dlp_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/on_premises_scanner_dlp_audit_record.py b/msgraph_beta/generated/models/security/on_premises_scanner_dlp_audit_record.py index 405d6690231..0b215961115 100644 --- a/msgraph_beta/generated/models/security/on_premises_scanner_dlp_audit_record.py +++ b/msgraph_beta/generated/models/security/on_premises_scanner_dlp_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/on_premises_share_point_scanner_dlp_audit_record.py b/msgraph_beta/generated/models/security/on_premises_share_point_scanner_dlp_audit_record.py index 89aa15f3a72..1673165c788 100644 --- a/msgraph_beta/generated/models/security/on_premises_share_point_scanner_dlp_audit_record.py +++ b/msgraph_beta/generated/models/security/on_premises_share_point_scanner_dlp_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/one_drive_audit_record.py b/msgraph_beta/generated/models/security/one_drive_audit_record.py index 688aa37f86b..324ae3c4ef8 100644 --- a/msgraph_beta/generated/models/security/one_drive_audit_record.py +++ b/msgraph_beta/generated/models/security/one_drive_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/organizational_scope.py b/msgraph_beta/generated/models/security/organizational_scope.py index 41912e93c84..53a437bafe0 100644 --- a/msgraph_beta/generated/models/security/organizational_scope.py +++ b/msgraph_beta/generated/models/security/organizational_scope.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .scope_type import ScopeType + writer.write_str_value("@odata.type", self.odata_type) writer.write_collection_of_primitive_values("scopeNames", self.scope_names) writer.write_enum_value("scopeType", self.scope_type) diff --git a/msgraph_beta/generated/models/security/owa_get_access_token_for_resource_audit_record.py b/msgraph_beta/generated/models/security/owa_get_access_token_for_resource_audit_record.py index d3e741a81ed..1e128fbfc1f 100644 --- a/msgraph_beta/generated/models/security/owa_get_access_token_for_resource_audit_record.py +++ b/msgraph_beta/generated/models/security/owa_get_access_token_for_resource_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/passive_dns_record.py b/msgraph_beta/generated/models/security/passive_dns_record.py index a700014574f..23d022f905c 100644 --- a/msgraph_beta/generated/models/security/passive_dns_record.py +++ b/msgraph_beta/generated/models/security/passive_dns_record.py @@ -70,6 +70,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .artifact import Artifact + from .host import Host + writer.write_object_value("artifact", self.artifact) writer.write_datetime_value("collectedDateTime", self.collected_date_time) writer.write_datetime_value("firstSeenDateTime", self.first_seen_date_time) diff --git a/msgraph_beta/generated/models/security/passive_dns_record_collection_response.py b/msgraph_beta/generated/models/security/passive_dns_record_collection_response.py index 74246016dd8..7003d537b4b 100644 --- a/msgraph_beta/generated/models/security/passive_dns_record_collection_response.py +++ b/msgraph_beta/generated/models/security/passive_dns_record_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .passive_dns_record import PassiveDnsRecord + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/security/people_admin_settings_audit_record.py b/msgraph_beta/generated/models/security/people_admin_settings_audit_record.py index a8edcb8a70b..3c728db20fe 100644 --- a/msgraph_beta/generated/models/security/people_admin_settings_audit_record.py +++ b/msgraph_beta/generated/models/security/people_admin_settings_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/physical_badging_signal_audit_record.py b/msgraph_beta/generated/models/security/physical_badging_signal_audit_record.py index b176a56be8e..a9bf36fc9dd 100644 --- a/msgraph_beta/generated/models/security/physical_badging_signal_audit_record.py +++ b/msgraph_beta/generated/models/security/physical_badging_signal_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/planner_copy_plan_audit_record.py b/msgraph_beta/generated/models/security/planner_copy_plan_audit_record.py index 68b1833e869..f8870ec016f 100644 --- a/msgraph_beta/generated/models/security/planner_copy_plan_audit_record.py +++ b/msgraph_beta/generated/models/security/planner_copy_plan_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/planner_plan_audit_record.py b/msgraph_beta/generated/models/security/planner_plan_audit_record.py index 9be1e5dd7f2..a597e79de62 100644 --- a/msgraph_beta/generated/models/security/planner_plan_audit_record.py +++ b/msgraph_beta/generated/models/security/planner_plan_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/planner_plan_list_audit_record.py b/msgraph_beta/generated/models/security/planner_plan_list_audit_record.py index 53b001f7285..6ed5e3df283 100644 --- a/msgraph_beta/generated/models/security/planner_plan_list_audit_record.py +++ b/msgraph_beta/generated/models/security/planner_plan_list_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/planner_roster_audit_record.py b/msgraph_beta/generated/models/security/planner_roster_audit_record.py index 8ef06738803..5116a7832fc 100644 --- a/msgraph_beta/generated/models/security/planner_roster_audit_record.py +++ b/msgraph_beta/generated/models/security/planner_roster_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/planner_roster_sensitivity_label_audit_record.py b/msgraph_beta/generated/models/security/planner_roster_sensitivity_label_audit_record.py index 05d36758a78..c938685eb4c 100644 --- a/msgraph_beta/generated/models/security/planner_roster_sensitivity_label_audit_record.py +++ b/msgraph_beta/generated/models/security/planner_roster_sensitivity_label_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/planner_task_audit_record.py b/msgraph_beta/generated/models/security/planner_task_audit_record.py index f4b0573e4f7..42e8a93145d 100644 --- a/msgraph_beta/generated/models/security/planner_task_audit_record.py +++ b/msgraph_beta/generated/models/security/planner_task_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/planner_task_list_audit_record.py b/msgraph_beta/generated/models/security/planner_task_list_audit_record.py index f7f55222531..336547988fb 100644 --- a/msgraph_beta/generated/models/security/planner_task_list_audit_record.py +++ b/msgraph_beta/generated/models/security/planner_task_list_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/planner_tenant_settings_audit_record.py b/msgraph_beta/generated/models/security/planner_tenant_settings_audit_record.py index 78357528f79..358151c36e6 100644 --- a/msgraph_beta/generated/models/security/planner_tenant_settings_audit_record.py +++ b/msgraph_beta/generated/models/security/planner_tenant_settings_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/policy_base.py b/msgraph_beta/generated/models/security/policy_base.py index 8534b35d9cc..6f66a1fcae6 100644 --- a/msgraph_beta/generated/models/security/policy_base.py +++ b/msgraph_beta/generated/models/security/policy_base.py @@ -41,7 +41,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> PolicyBase: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.security.ediscoveryHoldPolicy".casefold(): @@ -87,6 +88,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + from ..identity_set import IdentitySet + from .ediscovery_hold_policy import EdiscoveryHoldPolicy + from .policy_status import PolicyStatus + writer.write_object_value("createdBy", self.created_by) writer.write_datetime_value("createdDateTime", self.created_date_time) writer.write_str_value("description", self.description) diff --git a/msgraph_beta/generated/models/security/power_apps_audit_app_record.py b/msgraph_beta/generated/models/security/power_apps_audit_app_record.py index 3dad34e4a98..b80ff673ed1 100644 --- a/msgraph_beta/generated/models/security/power_apps_audit_app_record.py +++ b/msgraph_beta/generated/models/security/power_apps_audit_app_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/power_apps_audit_plan_record.py b/msgraph_beta/generated/models/security/power_apps_audit_plan_record.py index 1332aaacaed..4030527f1c3 100644 --- a/msgraph_beta/generated/models/security/power_apps_audit_plan_record.py +++ b/msgraph_beta/generated/models/security/power_apps_audit_plan_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/power_apps_audit_resource_record.py b/msgraph_beta/generated/models/security/power_apps_audit_resource_record.py index 39476e2e068..e9a1214a5ab 100644 --- a/msgraph_beta/generated/models/security/power_apps_audit_resource_record.py +++ b/msgraph_beta/generated/models/security/power_apps_audit_resource_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/power_bi_audit_record.py b/msgraph_beta/generated/models/security/power_bi_audit_record.py index 98a1994592d..ab5ae4c9933 100644 --- a/msgraph_beta/generated/models/security/power_bi_audit_record.py +++ b/msgraph_beta/generated/models/security/power_bi_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/power_bi_dlp_audit_record.py b/msgraph_beta/generated/models/security/power_bi_dlp_audit_record.py index 16c882e2137..e840e4c0587 100644 --- a/msgraph_beta/generated/models/security/power_bi_dlp_audit_record.py +++ b/msgraph_beta/generated/models/security/power_bi_dlp_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/power_pages_site_audit_record.py b/msgraph_beta/generated/models/security/power_pages_site_audit_record.py index 19414538037..3b9b52e6a73 100644 --- a/msgraph_beta/generated/models/security/power_pages_site_audit_record.py +++ b/msgraph_beta/generated/models/security/power_pages_site_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/power_platform_admin_dlp_audit_record.py b/msgraph_beta/generated/models/security/power_platform_admin_dlp_audit_record.py index 6ffc94ed391..5f74588405f 100644 --- a/msgraph_beta/generated/models/security/power_platform_admin_dlp_audit_record.py +++ b/msgraph_beta/generated/models/security/power_platform_admin_dlp_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/power_platform_admin_environment_audit_record.py b/msgraph_beta/generated/models/security/power_platform_admin_environment_audit_record.py index 2eb119f8143..be70cb9fda5 100644 --- a/msgraph_beta/generated/models/security/power_platform_admin_environment_audit_record.py +++ b/msgraph_beta/generated/models/security/power_platform_admin_environment_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/power_platform_administrator_activity_record.py b/msgraph_beta/generated/models/security/power_platform_administrator_activity_record.py index e11e49fba91..38b3fce2de0 100644 --- a/msgraph_beta/generated/models/security/power_platform_administrator_activity_record.py +++ b/msgraph_beta/generated/models/security/power_platform_administrator_activity_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/power_platform_lockbox_resource_access_request_audit_record.py b/msgraph_beta/generated/models/security/power_platform_lockbox_resource_access_request_audit_record.py index 09854e716a1..6cb47cff48b 100644 --- a/msgraph_beta/generated/models/security/power_platform_lockbox_resource_access_request_audit_record.py +++ b/msgraph_beta/generated/models/security/power_platform_lockbox_resource_access_request_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/power_platform_lockbox_resource_command_audit_record.py b/msgraph_beta/generated/models/security/power_platform_lockbox_resource_command_audit_record.py index 6d1c934167f..a7925358638 100644 --- a/msgraph_beta/generated/models/security/power_platform_lockbox_resource_command_audit_record.py +++ b/msgraph_beta/generated/models/security/power_platform_lockbox_resource_command_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/power_platform_service_activity_audit_record.py b/msgraph_beta/generated/models/security/power_platform_service_activity_audit_record.py index 31860a13e56..a1649159429 100644 --- a/msgraph_beta/generated/models/security/power_platform_service_activity_audit_record.py +++ b/msgraph_beta/generated/models/security/power_platform_service_activity_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/privacy_data_match_audit_record.py b/msgraph_beta/generated/models/security/privacy_data_match_audit_record.py index 60b8b1e8a77..722a5bca3c9 100644 --- a/msgraph_beta/generated/models/security/privacy_data_match_audit_record.py +++ b/msgraph_beta/generated/models/security/privacy_data_match_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/privacy_data_minimization_record.py b/msgraph_beta/generated/models/security/privacy_data_minimization_record.py index ce8443d93d6..fd035cb6321 100644 --- a/msgraph_beta/generated/models/security/privacy_data_minimization_record.py +++ b/msgraph_beta/generated/models/security/privacy_data_minimization_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/privacy_digest_email_record.py b/msgraph_beta/generated/models/security/privacy_digest_email_record.py index 326a1f5bb33..05f9e39d6fc 100644 --- a/msgraph_beta/generated/models/security/privacy_digest_email_record.py +++ b/msgraph_beta/generated/models/security/privacy_digest_email_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/privacy_open_access_audit_record.py b/msgraph_beta/generated/models/security/privacy_open_access_audit_record.py index fbfabb431a0..ca1eb90ddcc 100644 --- a/msgraph_beta/generated/models/security/privacy_open_access_audit_record.py +++ b/msgraph_beta/generated/models/security/privacy_open_access_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/privacy_portal_audit_record.py b/msgraph_beta/generated/models/security/privacy_portal_audit_record.py index 9e3e319e36a..220218c8c0e 100644 --- a/msgraph_beta/generated/models/security/privacy_portal_audit_record.py +++ b/msgraph_beta/generated/models/security/privacy_portal_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/privacy_remediation_action_record.py b/msgraph_beta/generated/models/security/privacy_remediation_action_record.py index acdff4a1dfc..1ceaba3301a 100644 --- a/msgraph_beta/generated/models/security/privacy_remediation_action_record.py +++ b/msgraph_beta/generated/models/security/privacy_remediation_action_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/privacy_remediation_record.py b/msgraph_beta/generated/models/security/privacy_remediation_record.py index 04986ff38a5..8dc014566fb 100644 --- a/msgraph_beta/generated/models/security/privacy_remediation_record.py +++ b/msgraph_beta/generated/models/security/privacy_remediation_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/privacy_tenant_audit_history_record.py b/msgraph_beta/generated/models/security/privacy_tenant_audit_history_record.py index b3af3fa5bbd..a58dfbff2a4 100644 --- a/msgraph_beta/generated/models/security/privacy_tenant_audit_history_record.py +++ b/msgraph_beta/generated/models/security/privacy_tenant_audit_history_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/process_evidence.py b/msgraph_beta/generated/models/security/process_evidence.py index 53cc42e58a7..81fb054f347 100644 --- a/msgraph_beta/generated/models/security/process_evidence.py +++ b/msgraph_beta/generated/models/security/process_evidence.py @@ -88,6 +88,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .alert_evidence import AlertEvidence + from .detection_status import DetectionStatus + from .file_details import FileDetails + from .user_account import UserAccount + writer.write_enum_value("detectionStatus", self.detection_status) writer.write_object_value("imageFile", self.image_file) writer.write_str_value("mdeDeviceId", self.mde_device_id) diff --git a/msgraph_beta/generated/models/security/project_audit_record.py b/msgraph_beta/generated/models/security/project_audit_record.py index b56931b6a3d..a7b3178a931 100644 --- a/msgraph_beta/generated/models/security/project_audit_record.py +++ b/msgraph_beta/generated/models/security/project_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/project_for_the_web_assigned_to_me_settings_audit_record.py b/msgraph_beta/generated/models/security/project_for_the_web_assigned_to_me_settings_audit_record.py index e3dba79c885..113bd65686e 100644 --- a/msgraph_beta/generated/models/security/project_for_the_web_assigned_to_me_settings_audit_record.py +++ b/msgraph_beta/generated/models/security/project_for_the_web_assigned_to_me_settings_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/project_for_the_web_project_audit_record.py b/msgraph_beta/generated/models/security/project_for_the_web_project_audit_record.py index ada2d2d598c..778574f49ea 100644 --- a/msgraph_beta/generated/models/security/project_for_the_web_project_audit_record.py +++ b/msgraph_beta/generated/models/security/project_for_the_web_project_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/project_for_the_web_project_settings_audit_record.py b/msgraph_beta/generated/models/security/project_for_the_web_project_settings_audit_record.py index 6cefb492a17..866b18d001f 100644 --- a/msgraph_beta/generated/models/security/project_for_the_web_project_settings_audit_record.py +++ b/msgraph_beta/generated/models/security/project_for_the_web_project_settings_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/project_for_the_web_roadmap_audit_record.py b/msgraph_beta/generated/models/security/project_for_the_web_roadmap_audit_record.py index 65f643ed9be..061a2a40f09 100644 --- a/msgraph_beta/generated/models/security/project_for_the_web_roadmap_audit_record.py +++ b/msgraph_beta/generated/models/security/project_for_the_web_roadmap_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/project_for_the_web_roadmap_item_audit_record.py b/msgraph_beta/generated/models/security/project_for_the_web_roadmap_item_audit_record.py index 6677f58d8c7..f2bc9924620 100644 --- a/msgraph_beta/generated/models/security/project_for_the_web_roadmap_item_audit_record.py +++ b/msgraph_beta/generated/models/security/project_for_the_web_roadmap_item_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/project_for_the_web_roadmap_settings_audit_record.py b/msgraph_beta/generated/models/security/project_for_the_web_roadmap_settings_audit_record.py index 2d399344e09..c264052e3c7 100644 --- a/msgraph_beta/generated/models/security/project_for_the_web_roadmap_settings_audit_record.py +++ b/msgraph_beta/generated/models/security/project_for_the_web_roadmap_settings_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/project_for_the_web_task_audit_record.py b/msgraph_beta/generated/models/security/project_for_the_web_task_audit_record.py index 7fc2311bf17..839f63607b4 100644 --- a/msgraph_beta/generated/models/security/project_for_the_web_task_audit_record.py +++ b/msgraph_beta/generated/models/security/project_for_the_web_task_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/protect_adhoc_action.py b/msgraph_beta/generated/models/security/protect_adhoc_action.py index 2739197a31f..cb3d6e2a5c9 100644 --- a/msgraph_beta/generated/models/security/protect_adhoc_action.py +++ b/msgraph_beta/generated/models/security/protect_adhoc_action.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .information_protection_action import InformationProtectionAction + diff --git a/msgraph_beta/generated/models/security/protect_by_template_action.py b/msgraph_beta/generated/models/security/protect_by_template_action.py index 3f3c1d3ef4d..67caa42fa09 100644 --- a/msgraph_beta/generated/models/security/protect_by_template_action.py +++ b/msgraph_beta/generated/models/security/protect_by_template_action.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .information_protection_action import InformationProtectionAction + writer.write_str_value("templateId", self.template_id) diff --git a/msgraph_beta/generated/models/security/protect_do_not_forward_action.py b/msgraph_beta/generated/models/security/protect_do_not_forward_action.py index ff20b17f1ae..0900b40d9a1 100644 --- a/msgraph_beta/generated/models/security/protect_do_not_forward_action.py +++ b/msgraph_beta/generated/models/security/protect_do_not_forward_action.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .information_protection_action import InformationProtectionAction + diff --git a/msgraph_beta/generated/models/security/protection_rule.py b/msgraph_beta/generated/models/security/protection_rule.py index 941554ca84d..ea8b6ca5c3e 100644 --- a/msgraph_beta/generated/models/security/protection_rule.py +++ b/msgraph_beta/generated/models/security/protection_rule.py @@ -37,7 +37,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> ProtectionRule: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.security.detectionRule".casefold(): @@ -78,6 +79,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + from .detection_rule import DetectionRule + writer.write_str_value("createdBy", self.created_by) writer.write_datetime_value("createdDateTime", self.created_date_time) writer.write_str_value("displayName", self.display_name) diff --git a/msgraph_beta/generated/models/security/public_folder_audit_record.py b/msgraph_beta/generated/models/security/public_folder_audit_record.py index 0c6410fa31c..0b598b04f4e 100644 --- a/msgraph_beta/generated/models/security/public_folder_audit_record.py +++ b/msgraph_beta/generated/models/security/public_folder_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/purge_type.py b/msgraph_beta/generated/models/security/purge_type.py index 4721482a982..8a230e5b882 100644 --- a/msgraph_beta/generated/models/security/purge_type.py +++ b/msgraph_beta/generated/models/security/purge_type.py @@ -2,6 +2,6 @@ class PurgeType(str, Enum): Recoverable = "recoverable", - PermanentlyDeleted = "permanentlyDeleted", UnknownFutureValue = "unknownFutureValue", + PermanentlyDelete = "permanentlyDelete", diff --git a/msgraph_beta/generated/models/security/purview_insider_risk_alerts_record.py b/msgraph_beta/generated/models/security/purview_insider_risk_alerts_record.py index f540398f61d..cbfa1411874 100644 --- a/msgraph_beta/generated/models/security/purview_insider_risk_alerts_record.py +++ b/msgraph_beta/generated/models/security/purview_insider_risk_alerts_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/purview_insider_risk_cases_record.py b/msgraph_beta/generated/models/security/purview_insider_risk_cases_record.py index 3a83d6e4bd5..7efdf64ad32 100644 --- a/msgraph_beta/generated/models/security/purview_insider_risk_cases_record.py +++ b/msgraph_beta/generated/models/security/purview_insider_risk_cases_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/quarantine_audit_record.py b/msgraph_beta/generated/models/security/quarantine_audit_record.py index de24317defe..b3382146373 100644 --- a/msgraph_beta/generated/models/security/quarantine_audit_record.py +++ b/msgraph_beta/generated/models/security/quarantine_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/recommend_label_action.py b/msgraph_beta/generated/models/security/recommend_label_action.py index 25726229b67..151abc483b7 100644 --- a/msgraph_beta/generated/models/security/recommend_label_action.py +++ b/msgraph_beta/generated/models/security/recommend_label_action.py @@ -63,6 +63,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .action_source import ActionSource + from .information_protection_action import InformationProtectionAction + writer.write_enum_value("actionSource", self.action_source) writer.write_collection_of_object_values("actions", self.actions) writer.write_collection_of_primitive_values("responsibleSensitiveTypeIds", self.responsible_sensitive_type_ids) diff --git a/msgraph_beta/generated/models/security/records_management_audit_record.py b/msgraph_beta/generated/models/security/records_management_audit_record.py index 62ffcce6698..68616756664 100644 --- a/msgraph_beta/generated/models/security/records_management_audit_record.py +++ b/msgraph_beta/generated/models/security/records_management_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/registry_key_evidence.py b/msgraph_beta/generated/models/security/registry_key_evidence.py index 5c75d1b6cfe..ad7955a3563 100644 --- a/msgraph_beta/generated/models/security/registry_key_evidence.py +++ b/msgraph_beta/generated/models/security/registry_key_evidence.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .alert_evidence import AlertEvidence + writer.write_str_value("registryHive", self.registry_hive) writer.write_str_value("registryKey", self.registry_key) diff --git a/msgraph_beta/generated/models/security/registry_value_evidence.py b/msgraph_beta/generated/models/security/registry_value_evidence.py index 79fb7e2daf4..cc52ca39b2a 100644 --- a/msgraph_beta/generated/models/security/registry_value_evidence.py +++ b/msgraph_beta/generated/models/security/registry_value_evidence.py @@ -66,6 +66,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .alert_evidence import AlertEvidence + writer.write_str_value("mdeDeviceId", self.mde_device_id) writer.write_str_value("registryHive", self.registry_hive) writer.write_str_value("registryKey", self.registry_key) diff --git a/msgraph_beta/generated/models/security/remove_content_footer_action.py b/msgraph_beta/generated/models/security/remove_content_footer_action.py index 544e56b6138..90f799e21be 100644 --- a/msgraph_beta/generated/models/security/remove_content_footer_action.py +++ b/msgraph_beta/generated/models/security/remove_content_footer_action.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .information_protection_action import InformationProtectionAction + writer.write_collection_of_primitive_values("uiElementNames", self.ui_element_names) diff --git a/msgraph_beta/generated/models/security/remove_content_header_action.py b/msgraph_beta/generated/models/security/remove_content_header_action.py index 8395fb2214f..d885ceb9bb1 100644 --- a/msgraph_beta/generated/models/security/remove_content_header_action.py +++ b/msgraph_beta/generated/models/security/remove_content_header_action.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .information_protection_action import InformationProtectionAction + writer.write_collection_of_primitive_values("uiElementNames", self.ui_element_names) diff --git a/msgraph_beta/generated/models/security/remove_protection_action.py b/msgraph_beta/generated/models/security/remove_protection_action.py index 4295c91be13..a16706f74ac 100644 --- a/msgraph_beta/generated/models/security/remove_protection_action.py +++ b/msgraph_beta/generated/models/security/remove_protection_action.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .information_protection_action import InformationProtectionAction + diff --git a/msgraph_beta/generated/models/security/remove_watermark_action.py b/msgraph_beta/generated/models/security/remove_watermark_action.py index 1535d060b94..e2ede0c66dc 100644 --- a/msgraph_beta/generated/models/security/remove_watermark_action.py +++ b/msgraph_beta/generated/models/security/remove_watermark_action.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .information_protection_action import InformationProtectionAction + writer.write_collection_of_primitive_values("uiElementNames", self.ui_element_names) diff --git a/msgraph_beta/generated/models/security/response_action.py b/msgraph_beta/generated/models/security/response_action.py index e135ab14209..0134d5809fa 100644 --- a/msgraph_beta/generated/models/security/response_action.py +++ b/msgraph_beta/generated/models/security/response_action.py @@ -42,7 +42,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> ResponseAction: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.security.allowFileResponseAction".casefold(): @@ -163,6 +164,23 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .allow_file_response_action import AllowFileResponseAction + from .block_file_response_action import BlockFileResponseAction + from .collect_investigation_package_response_action import CollectInvestigationPackageResponseAction + from .disable_user_response_action import DisableUserResponseAction + from .force_user_password_reset_response_action import ForceUserPasswordResetResponseAction + from .hard_delete_response_action import HardDeleteResponseAction + from .initiate_investigation_response_action import InitiateInvestigationResponseAction + from .isolate_device_response_action import IsolateDeviceResponseAction + from .mark_user_as_compromised_response_action import MarkUserAsCompromisedResponseAction + from .move_to_deleted_items_response_action import MoveToDeletedItemsResponseAction + from .move_to_inbox_response_action import MoveToInboxResponseAction + from .move_to_junk_response_action import MoveToJunkResponseAction + from .restrict_app_execution_response_action import RestrictAppExecutionResponseAction + from .run_antivirus_scan_response_action import RunAntivirusScanResponseAction + from .soft_delete_response_action import SoftDeleteResponseAction + from .stop_and_quarantine_file_response_action import StopAndQuarantineFileResponseAction + writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/security/restrict_app_execution_response_action.py b/msgraph_beta/generated/models/security/restrict_app_execution_response_action.py index 207c758cdc4..afde8ed2514 100644 --- a/msgraph_beta/generated/models/security/restrict_app_execution_response_action.py +++ b/msgraph_beta/generated/models/security/restrict_app_execution_response_action.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_id_entity_identifier import DeviceIdEntityIdentifier + from .response_action import ResponseAction + writer.write_enum_value("identifier", self.identifier) diff --git a/msgraph_beta/generated/models/security/retention_duration.py b/msgraph_beta/generated/models/security/retention_duration.py index 01964da70fd..628925f6917 100644 --- a/msgraph_beta/generated/models/security/retention_duration.py +++ b/msgraph_beta/generated/models/security/retention_duration.py @@ -28,7 +28,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> RetentionDuration: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.security.retentionDurationForever".casefold(): @@ -65,6 +66,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .retention_duration_forever import RetentionDurationForever + from .retention_duration_in_days import RetentionDurationInDays + writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/security/retention_duration_forever.py b/msgraph_beta/generated/models/security/retention_duration_forever.py index 622b3c05bbe..6a3e30f94bb 100644 --- a/msgraph_beta/generated/models/security/retention_duration_forever.py +++ b/msgraph_beta/generated/models/security/retention_duration_forever.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .retention_duration import RetentionDuration + diff --git a/msgraph_beta/generated/models/security/retention_duration_in_days.py b/msgraph_beta/generated/models/security/retention_duration_in_days.py index 223648ed2d5..7c4d71d4ca0 100644 --- a/msgraph_beta/generated/models/security/retention_duration_in_days.py +++ b/msgraph_beta/generated/models/security/retention_duration_in_days.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .retention_duration import RetentionDuration + writer.write_int_value("days", self.days) diff --git a/msgraph_beta/generated/models/security/retention_event.py b/msgraph_beta/generated/models/security/retention_event.py index 4effdd38695..1bdc96d524f 100644 --- a/msgraph_beta/generated/models/security/retention_event.py +++ b/msgraph_beta/generated/models/security/retention_event.py @@ -100,6 +100,13 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + from ..identity_set import IdentitySet + from .event_propagation_result import EventPropagationResult + from .event_query import EventQuery + from .retention_event_status import RetentionEventStatus + from .retention_event_type import RetentionEventType + writer.write_object_value("createdBy", self.created_by) writer.write_datetime_value("createdDateTime", self.created_date_time) writer.write_str_value("description", self.description) diff --git a/msgraph_beta/generated/models/security/retention_event_collection_response.py b/msgraph_beta/generated/models/security/retention_event_collection_response.py index c30183022bc..0e01739c1c3 100644 --- a/msgraph_beta/generated/models/security/retention_event_collection_response.py +++ b/msgraph_beta/generated/models/security/retention_event_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .retention_event import RetentionEvent + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/security/retention_event_status.py b/msgraph_beta/generated/models/security/retention_event_status.py index 57c05bc8277..6daf26c0677 100644 --- a/msgraph_beta/generated/models/security/retention_event_status.py +++ b/msgraph_beta/generated/models/security/retention_event_status.py @@ -59,6 +59,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ..public_error import PublicError + from .event_status_type import EventStatusType + writer.write_object_value("error", self.error) writer.write_str_value("@odata.type", self.odata_type) writer.write_enum_value("status", self.status) diff --git a/msgraph_beta/generated/models/security/retention_event_type.py b/msgraph_beta/generated/models/security/retention_event_type.py index 4c76b0a160a..20af8e6afc8 100644 --- a/msgraph_beta/generated/models/security/retention_event_type.py +++ b/msgraph_beta/generated/models/security/retention_event_type.py @@ -70,6 +70,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + from ..identity_set import IdentitySet + writer.write_object_value("createdBy", self.created_by) writer.write_datetime_value("createdDateTime", self.created_date_time) writer.write_str_value("description", self.description) diff --git a/msgraph_beta/generated/models/security/retention_event_type_collection_response.py b/msgraph_beta/generated/models/security/retention_event_type_collection_response.py index b0b270834cf..9727f68f428 100644 --- a/msgraph_beta/generated/models/security/retention_event_type_collection_response.py +++ b/msgraph_beta/generated/models/security/retention_event_type_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .retention_event_type import RetentionEventType + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/security/retention_label.py b/msgraph_beta/generated/models/security/retention_label.py index 147ac4418d6..e79012bec97 100644 --- a/msgraph_beta/generated/models/security/retention_label.py +++ b/msgraph_beta/generated/models/security/retention_label.py @@ -127,6 +127,17 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + from ..identity_set import IdentitySet + from .action_after_retention_period import ActionAfterRetentionPeriod + from .behavior_during_retention_period import BehaviorDuringRetentionPeriod + from .default_record_behavior import DefaultRecordBehavior + from .disposition_review_stage import DispositionReviewStage + from .file_plan_descriptor import FilePlanDescriptor + from .retention_duration import RetentionDuration + from .retention_event_type import RetentionEventType + from .retention_trigger import RetentionTrigger + writer.write_enum_value("actionAfterRetentionPeriod", self.action_after_retention_period) writer.write_enum_value("behaviorDuringRetentionPeriod", self.behavior_during_retention_period) writer.write_object_value("createdBy", self.created_by) diff --git a/msgraph_beta/generated/models/security/retention_label_collection_response.py b/msgraph_beta/generated/models/security/retention_label_collection_response.py index 8c7508443bc..bf9fc02a851 100644 --- a/msgraph_beta/generated/models/security/retention_label_collection_response.py +++ b/msgraph_beta/generated/models/security/retention_label_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .retention_label import RetentionLabel + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/security/retention_policy_audit_record.py b/msgraph_beta/generated/models/security/retention_policy_audit_record.py index 44818042108..c63772fd2cf 100644 --- a/msgraph_beta/generated/models/security/retention_policy_audit_record.py +++ b/msgraph_beta/generated/models/security/retention_policy_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/rules_root.py b/msgraph_beta/generated/models/security/rules_root.py index 51514de5e9a..d8c5e2c8e19 100644 --- a/msgraph_beta/generated/models/security/rules_root.py +++ b/msgraph_beta/generated/models/security/rules_root.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + from .detection_rule import DetectionRule + writer.write_collection_of_object_values("detectionRules", self.detection_rules) diff --git a/msgraph_beta/generated/models/security/run_antivirus_scan_response_action.py b/msgraph_beta/generated/models/security/run_antivirus_scan_response_action.py index df905fd8e61..c51e0b16dbc 100644 --- a/msgraph_beta/generated/models/security/run_antivirus_scan_response_action.py +++ b/msgraph_beta/generated/models/security/run_antivirus_scan_response_action.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_id_entity_identifier import DeviceIdEntityIdentifier + from .response_action import ResponseAction + writer.write_enum_value("identifier", self.identifier) diff --git a/msgraph_beta/generated/models/security/run_details.py b/msgraph_beta/generated/models/security/run_details.py index 6115e50a002..81f4687957a 100644 --- a/msgraph_beta/generated/models/security/run_details.py +++ b/msgraph_beta/generated/models/security/run_details.py @@ -66,6 +66,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .hunting_rule_error_code import HuntingRuleErrorCode + from .hunting_rule_run_status import HuntingRuleRunStatus + writer.write_enum_value("errorCode", self.error_code) writer.write_str_value("failureReason", self.failure_reason) writer.write_datetime_value("lastRunDateTime", self.last_run_date_time) diff --git a/msgraph_beta/generated/models/security/sas_token_evidence.py b/msgraph_beta/generated/models/security/sas_token_evidence.py index 262c6882bbf..882d4377e48 100644 --- a/msgraph_beta/generated/models/security/sas_token_evidence.py +++ b/msgraph_beta/generated/models/security/sas_token_evidence.py @@ -82,6 +82,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .alert_evidence import AlertEvidence + from .azure_resource_evidence import AzureResourceEvidence + writer.write_str_value("allowedIpAddresses", self.allowed_ip_addresses) writer.write_collection_of_primitive_values("allowedResourceTypes", self.allowed_resource_types) writer.write_collection_of_primitive_values("allowedServices", self.allowed_services) diff --git a/msgraph_beta/generated/models/security/score_evidence.py b/msgraph_beta/generated/models/security/score_evidence.py index e80aa919057..b4ca747326d 100644 --- a/msgraph_beta/generated/models/security/score_evidence.py +++ b/msgraph_beta/generated/models/security/score_evidence.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/score_platform_generic_audit_record.py b/msgraph_beta/generated/models/security/score_platform_generic_audit_record.py index 041d75320fb..92a5d1713e9 100644 --- a/msgraph_beta/generated/models/security/score_platform_generic_audit_record.py +++ b/msgraph_beta/generated/models/security/score_platform_generic_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/script_run_audit_record.py b/msgraph_beta/generated/models/security/script_run_audit_record.py index 0bb4669846e..a31a1d274cb 100644 --- a/msgraph_beta/generated/models/security/script_run_audit_record.py +++ b/msgraph_beta/generated/models/security/script_run_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/search.py b/msgraph_beta/generated/models/security/search.py index 4b690cffe85..06bbf17ed88 100644 --- a/msgraph_beta/generated/models/security/search.py +++ b/msgraph_beta/generated/models/security/search.py @@ -41,7 +41,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> Search: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.security.ediscoveryReviewSetQuery".casefold(): @@ -91,6 +92,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + from ..identity_set import IdentitySet + from .ediscovery_review_set_query import EdiscoveryReviewSetQuery + from .ediscovery_search import EdiscoverySearch + writer.write_str_value("contentQuery", self.content_query) writer.write_object_value("createdBy", self.created_by) writer.write_datetime_value("createdDateTime", self.created_date_time) diff --git a/msgraph_beta/generated/models/security/search_audit_record.py b/msgraph_beta/generated/models/security/search_audit_record.py index b93ac0d6b85..a343b327b75 100644 --- a/msgraph_beta/generated/models/security/search_audit_record.py +++ b/msgraph_beta/generated/models/security/search_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/security.py b/msgraph_beta/generated/models/security/security.py index 50e6b33e232..a85e8770a22 100644 --- a/msgraph_beta/generated/models/security/security.py +++ b/msgraph_beta/generated/models/security/security.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + from .information_protection import InformationProtection + writer.write_object_value("informationProtection", self.information_protection) diff --git a/msgraph_beta/generated/models/security/security_compliance_alert_record.py b/msgraph_beta/generated/models/security/security_compliance_alert_record.py index 51e5984d5b5..64245dbe10a 100644 --- a/msgraph_beta/generated/models/security/security_compliance_alert_record.py +++ b/msgraph_beta/generated/models/security/security_compliance_alert_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/security_compliance_center_e_o_p_cmdlet_audit_record.py b/msgraph_beta/generated/models/security/security_compliance_center_e_o_p_cmdlet_audit_record.py index b98b94ee94b..27dcd27209c 100644 --- a/msgraph_beta/generated/models/security/security_compliance_center_e_o_p_cmdlet_audit_record.py +++ b/msgraph_beta/generated/models/security/security_compliance_center_e_o_p_cmdlet_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/security_compliance_insights_audit_record.py b/msgraph_beta/generated/models/security/security_compliance_insights_audit_record.py index 64a17db8e2e..e29bec745d8 100644 --- a/msgraph_beta/generated/models/security/security_compliance_insights_audit_record.py +++ b/msgraph_beta/generated/models/security/security_compliance_insights_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/security_compliance_r_b_a_c_audit_record.py b/msgraph_beta/generated/models/security/security_compliance_r_b_a_c_audit_record.py index bd2d0dfb6bf..98c429c842d 100644 --- a/msgraph_beta/generated/models/security/security_compliance_r_b_a_c_audit_record.py +++ b/msgraph_beta/generated/models/security/security_compliance_r_b_a_c_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/security_compliance_user_change_audit_record.py b/msgraph_beta/generated/models/security/security_compliance_user_change_audit_record.py index 660a3b322bb..ec59a7c816c 100644 --- a/msgraph_beta/generated/models/security/security_compliance_user_change_audit_record.py +++ b/msgraph_beta/generated/models/security/security_compliance_user_change_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/security_group_evidence.py b/msgraph_beta/generated/models/security/security_group_evidence.py index e68ff71aa37..fe82541dcc4 100644 --- a/msgraph_beta/generated/models/security/security_group_evidence.py +++ b/msgraph_beta/generated/models/security/security_group_evidence.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .alert_evidence import AlertEvidence + writer.write_str_value("displayName", self.display_name) writer.write_str_value("securityGroupId", self.security_group_id) diff --git a/msgraph_beta/generated/models/security/sensitivity_label.py b/msgraph_beta/generated/models/security/sensitivity_label.py index d2738739906..bf6bf0ab5fc 100644 --- a/msgraph_beta/generated/models/security/sensitivity_label.py +++ b/msgraph_beta/generated/models/security/sensitivity_label.py @@ -78,6 +78,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + writer.write_str_value("color", self.color) writer.write_collection_of_primitive_values("contentFormats", self.content_formats) writer.write_str_value("description", self.description) diff --git a/msgraph_beta/generated/models/security/sensitivity_label_collection_response.py b/msgraph_beta/generated/models/security/sensitivity_label_collection_response.py index 943e5d43929..77994d630cf 100644 --- a/msgraph_beta/generated/models/security/sensitivity_label_collection_response.py +++ b/msgraph_beta/generated/models/security/sensitivity_label_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .sensitivity_label import SensitivityLabel + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/security/sensor.py b/msgraph_beta/generated/models/security/sensor.py index 816ac829824..e4970a4eddd 100644 --- a/msgraph_beta/generated/models/security/sensor.py +++ b/msgraph_beta/generated/models/security/sensor.py @@ -16,7 +16,7 @@ @dataclass class Sensor(Entity): - # The date and time when the sensor was generated. + # The date and time when the sensor was generated. The Timestamp 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. created_date_time: Optional[datetime.datetime] = None # The deploymentStatus property deployment_status: Optional[DeploymentStatus] = None @@ -94,6 +94,13 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + from .deployment_status import DeploymentStatus + from .health_issue import HealthIssue + from .sensor_health_status import SensorHealthStatus + from .sensor_settings import SensorSettings + from .sensor_type import SensorType + writer.write_datetime_value("createdDateTime", self.created_date_time) writer.write_enum_value("deploymentStatus", self.deployment_status) writer.write_str_value("displayName", self.display_name) diff --git a/msgraph_beta/generated/models/security/sensor_collection_response.py b/msgraph_beta/generated/models/security/sensor_collection_response.py index aecf203cf78..39ee4253a27 100644 --- a/msgraph_beta/generated/models/security/sensor_collection_response.py +++ b/msgraph_beta/generated/models/security/sensor_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .sensor import Sensor + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/security/sensor_settings.py b/msgraph_beta/generated/models/security/sensor_settings.py index ddba5483a16..b0617700906 100644 --- a/msgraph_beta/generated/models/security/sensor_settings.py +++ b/msgraph_beta/generated/models/security/sensor_settings.py @@ -62,6 +62,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .network_adapter import NetworkAdapter + writer.write_str_value("description", self.description) writer.write_collection_of_primitive_values("domainControllerDnsNames", self.domain_controller_dns_names) writer.write_bool_value("isDelayedDeploymentEnabled", self.is_delayed_deployment_enabled) diff --git a/msgraph_beta/generated/models/security/service_principal_evidence.py b/msgraph_beta/generated/models/security/service_principal_evidence.py index b38d351c222..37aec351f21 100644 --- a/msgraph_beta/generated/models/security/service_principal_evidence.py +++ b/msgraph_beta/generated/models/security/service_principal_evidence.py @@ -69,6 +69,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .alert_evidence import AlertEvidence + from .service_principal_type import ServicePrincipalType + writer.write_str_value("appId", self.app_id) writer.write_str_value("appOwnerTenantId", self.app_owner_tenant_id) writer.write_str_value("servicePrincipalName", self.service_principal_name) diff --git a/msgraph_beta/generated/models/security/share_point_app_permission_operation_audit_record.py b/msgraph_beta/generated/models/security/share_point_app_permission_operation_audit_record.py index 7cca31f9bae..846ca6624e3 100644 --- a/msgraph_beta/generated/models/security/share_point_app_permission_operation_audit_record.py +++ b/msgraph_beta/generated/models/security/share_point_app_permission_operation_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/share_point_audit_record.py b/msgraph_beta/generated/models/security/share_point_audit_record.py index 556ad0e52a8..1f4af5423c9 100644 --- a/msgraph_beta/generated/models/security/share_point_audit_record.py +++ b/msgraph_beta/generated/models/security/share_point_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/share_point_comment_operation_audit_record.py b/msgraph_beta/generated/models/security/share_point_comment_operation_audit_record.py index f197a426c46..6ac224ce1b7 100644 --- a/msgraph_beta/generated/models/security/share_point_comment_operation_audit_record.py +++ b/msgraph_beta/generated/models/security/share_point_comment_operation_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/share_point_content_type_operation_audit_record.py b/msgraph_beta/generated/models/security/share_point_content_type_operation_audit_record.py index 45e281ff068..78eaeee9a7b 100644 --- a/msgraph_beta/generated/models/security/share_point_content_type_operation_audit_record.py +++ b/msgraph_beta/generated/models/security/share_point_content_type_operation_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/share_point_e_signature_audit_record.py b/msgraph_beta/generated/models/security/share_point_e_signature_audit_record.py index 83fb32a5612..3754b453d6e 100644 --- a/msgraph_beta/generated/models/security/share_point_e_signature_audit_record.py +++ b/msgraph_beta/generated/models/security/share_point_e_signature_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/share_point_field_operation_audit_record.py b/msgraph_beta/generated/models/security/share_point_field_operation_audit_record.py index 3f862b3d64d..61a790d738f 100644 --- a/msgraph_beta/generated/models/security/share_point_field_operation_audit_record.py +++ b/msgraph_beta/generated/models/security/share_point_field_operation_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/share_point_file_operation_audit_record.py b/msgraph_beta/generated/models/security/share_point_file_operation_audit_record.py index 671514425cd..55c1c816f0a 100644 --- a/msgraph_beta/generated/models/security/share_point_file_operation_audit_record.py +++ b/msgraph_beta/generated/models/security/share_point_file_operation_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/share_point_list_operation_audit_record.py b/msgraph_beta/generated/models/security/share_point_list_operation_audit_record.py index 7981abae73e..313d0fb7d71 100644 --- a/msgraph_beta/generated/models/security/share_point_list_operation_audit_record.py +++ b/msgraph_beta/generated/models/security/share_point_list_operation_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/share_point_sharing_operation_audit_record.py b/msgraph_beta/generated/models/security/share_point_sharing_operation_audit_record.py index 14d44888d7a..00ef399d490 100644 --- a/msgraph_beta/generated/models/security/share_point_sharing_operation_audit_record.py +++ b/msgraph_beta/generated/models/security/share_point_sharing_operation_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/site_source.py b/msgraph_beta/generated/models/security/site_source.py index 8f41a90def8..f362b64ec5f 100644 --- a/msgraph_beta/generated/models/security/site_source.py +++ b/msgraph_beta/generated/models/security/site_source.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..site import Site + from .data_source import DataSource + writer.write_object_value("site", self.site) diff --git a/msgraph_beta/generated/models/security/site_source_collection_response.py b/msgraph_beta/generated/models/security/site_source_collection_response.py index 5fb45d096c3..c79577a5bc6 100644 --- a/msgraph_beta/generated/models/security/site_source_collection_response.py +++ b/msgraph_beta/generated/models/security/site_source_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .site_source import SiteSource + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/security/skype_for_business_base_audit_record.py b/msgraph_beta/generated/models/security/skype_for_business_base_audit_record.py index 4751ba1756b..872505c4ae3 100644 --- a/msgraph_beta/generated/models/security/skype_for_business_base_audit_record.py +++ b/msgraph_beta/generated/models/security/skype_for_business_base_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/skype_for_business_cmdlets_audit_record.py b/msgraph_beta/generated/models/security/skype_for_business_cmdlets_audit_record.py index 1a7175872bd..f5074675a7d 100644 --- a/msgraph_beta/generated/models/security/skype_for_business_cmdlets_audit_record.py +++ b/msgraph_beta/generated/models/security/skype_for_business_cmdlets_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/skype_for_business_p_s_t_n_usage_audit_record.py b/msgraph_beta/generated/models/security/skype_for_business_p_s_t_n_usage_audit_record.py index 304c1daa87f..1ae21560d90 100644 --- a/msgraph_beta/generated/models/security/skype_for_business_p_s_t_n_usage_audit_record.py +++ b/msgraph_beta/generated/models/security/skype_for_business_p_s_t_n_usage_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/skype_for_business_users_blocked_audit_record.py b/msgraph_beta/generated/models/security/skype_for_business_users_blocked_audit_record.py index c378c3af08b..7af4dbe5d51 100644 --- a/msgraph_beta/generated/models/security/skype_for_business_users_blocked_audit_record.py +++ b/msgraph_beta/generated/models/security/skype_for_business_users_blocked_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/sms_create_phone_number_record.py b/msgraph_beta/generated/models/security/sms_create_phone_number_record.py index 758cf80f979..ce61d651c5c 100644 --- a/msgraph_beta/generated/models/security/sms_create_phone_number_record.py +++ b/msgraph_beta/generated/models/security/sms_create_phone_number_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/sms_delete_phone_number_record.py b/msgraph_beta/generated/models/security/sms_delete_phone_number_record.py index 9983c8382ed..6d8f591db46 100644 --- a/msgraph_beta/generated/models/security/sms_delete_phone_number_record.py +++ b/msgraph_beta/generated/models/security/sms_delete_phone_number_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/soft_delete_response_action.py b/msgraph_beta/generated/models/security/soft_delete_response_action.py index 4c864a4a839..47bbc9440c0 100644 --- a/msgraph_beta/generated/models/security/soft_delete_response_action.py +++ b/msgraph_beta/generated/models/security/soft_delete_response_action.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .email_entity_identifier import EmailEntityIdentifier + from .response_action import ResponseAction + writer.write_enum_value("identifier", self.identifier) diff --git a/msgraph_beta/generated/models/security/ssl_certificate.py b/msgraph_beta/generated/models/security/ssl_certificate.py index 20a6b9b2529..81364d3ad04 100644 --- a/msgraph_beta/generated/models/security/ssl_certificate.py +++ b/msgraph_beta/generated/models/security/ssl_certificate.py @@ -85,6 +85,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .artifact import Artifact + from .host import Host + from .ssl_certificate_entity import SslCertificateEntity + writer.write_datetime_value("expirationDateTime", self.expiration_date_time) writer.write_str_value("fingerprint", self.fingerprint) writer.write_datetime_value("firstSeenDateTime", self.first_seen_date_time) diff --git a/msgraph_beta/generated/models/security/ssl_certificate_collection_response.py b/msgraph_beta/generated/models/security/ssl_certificate_collection_response.py index dac8b180919..2de12971562 100644 --- a/msgraph_beta/generated/models/security/ssl_certificate_collection_response.py +++ b/msgraph_beta/generated/models/security/ssl_certificate_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .ssl_certificate import SslCertificate + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/security/ssl_certificate_entity.py b/msgraph_beta/generated/models/security/ssl_certificate_entity.py index af01e0b5b65..721259a3c4b 100644 --- a/msgraph_beta/generated/models/security/ssl_certificate_entity.py +++ b/msgraph_beta/generated/models/security/ssl_certificate_entity.py @@ -77,6 +77,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ..physical_address import PhysicalAddress + writer.write_object_value("address", self.address) writer.write_collection_of_primitive_values("alternateNames", self.alternate_names) writer.write_str_value("commonName", self.common_name) diff --git a/msgraph_beta/generated/models/security/stop_and_quarantine_file_response_action.py b/msgraph_beta/generated/models/security/stop_and_quarantine_file_response_action.py index 210a5baae8a..3d6202d5066 100644 --- a/msgraph_beta/generated/models/security/stop_and_quarantine_file_response_action.py +++ b/msgraph_beta/generated/models/security/stop_and_quarantine_file_response_action.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .response_action import ResponseAction + from .stop_and_quarantine_file_entity_identifier import StopAndQuarantineFileEntityIdentifier + writer.write_enum_value("identifier", self.identifier) diff --git a/msgraph_beta/generated/models/security/subcategory_template.py b/msgraph_beta/generated/models/security/subcategory_template.py index 75a55aaa89a..4a2ed0f4fc2 100644 --- a/msgraph_beta/generated/models/security/subcategory_template.py +++ b/msgraph_beta/generated/models/security/subcategory_template.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .file_plan_descriptor_template import FilePlanDescriptorTemplate + diff --git a/msgraph_beta/generated/models/security/subcategory_template_collection_response.py b/msgraph_beta/generated/models/security/subcategory_template_collection_response.py index b95aaa95d40..e4b47388cce 100644 --- a/msgraph_beta/generated/models/security/subcategory_template_collection_response.py +++ b/msgraph_beta/generated/models/security/subcategory_template_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .subcategory_template import SubcategoryTemplate + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/security/subdomain.py b/msgraph_beta/generated/models/security/subdomain.py index 7909a00fc16..5c671397137 100644 --- a/msgraph_beta/generated/models/security/subdomain.py +++ b/msgraph_beta/generated/models/security/subdomain.py @@ -58,6 +58,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + from .host import Host + writer.write_datetime_value("firstSeenDateTime", self.first_seen_date_time) writer.write_object_value("host", self.host) diff --git a/msgraph_beta/generated/models/security/subdomain_collection_response.py b/msgraph_beta/generated/models/security/subdomain_collection_response.py index 08b60b1ccab..19974fb790b 100644 --- a/msgraph_beta/generated/models/security/subdomain_collection_response.py +++ b/msgraph_beta/generated/models/security/subdomain_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .subdomain import Subdomain + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/security/submission_admin_review.py b/msgraph_beta/generated/models/security/submission_admin_review.py index 10fb297ebc8..f2d8efe3559 100644 --- a/msgraph_beta/generated/models/security/submission_admin_review.py +++ b/msgraph_beta/generated/models/security/submission_admin_review.py @@ -60,6 +60,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .submission_result_category import SubmissionResultCategory + writer.write_str_value("@odata.type", self.odata_type) writer.write_str_value("reviewBy", self.review_by) writer.write_datetime_value("reviewDateTime", self.review_date_time) diff --git a/msgraph_beta/generated/models/security/submission_mail_evidence.py b/msgraph_beta/generated/models/security/submission_mail_evidence.py index b430301f87b..d72e3f9f24e 100644 --- a/msgraph_beta/generated/models/security/submission_mail_evidence.py +++ b/msgraph_beta/generated/models/security/submission_mail_evidence.py @@ -76,6 +76,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .alert_evidence import AlertEvidence + writer.write_str_value("networkMessageId", self.network_message_id) writer.write_str_value("recipient", self.recipient) writer.write_str_value("reportType", self.report_type) diff --git a/msgraph_beta/generated/models/security/submission_result.py b/msgraph_beta/generated/models/security/submission_result.py index d81987c78a3..09e93dffc12 100644 --- a/msgraph_beta/generated/models/security/submission_result.py +++ b/msgraph_beta/generated/models/security/submission_result.py @@ -74,6 +74,11 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .submission_detected_file import SubmissionDetectedFile + from .submission_result_category import SubmissionResultCategory + from .submission_result_detail import SubmissionResultDetail + from .user_mailbox_setting import UserMailboxSetting + writer.write_enum_value("category", self.category) writer.write_enum_value("detail", self.detail) writer.write_collection_of_object_values("detectedFiles", self.detected_files) diff --git a/msgraph_beta/generated/models/security/submission_user_identity.py b/msgraph_beta/generated/models/security/submission_user_identity.py index ce347ad8281..20c6c41c43f 100644 --- a/msgraph_beta/generated/models/security/submission_user_identity.py +++ b/msgraph_beta/generated/models/security/submission_user_identity.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..identity import Identity + writer.write_str_value("email", self.email) diff --git a/msgraph_beta/generated/models/security/supervisory_review_day_x_insights_audit_record.py b/msgraph_beta/generated/models/security/supervisory_review_day_x_insights_audit_record.py index 0f09ecd681d..e71d12b0e91 100644 --- a/msgraph_beta/generated/models/security/supervisory_review_day_x_insights_audit_record.py +++ b/msgraph_beta/generated/models/security/supervisory_review_day_x_insights_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/synthetic_probe_audit_record.py b/msgraph_beta/generated/models/security/synthetic_probe_audit_record.py index 1a5eaad6f0f..a95478c3f78 100644 --- a/msgraph_beta/generated/models/security/synthetic_probe_audit_record.py +++ b/msgraph_beta/generated/models/security/synthetic_probe_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/tag.py b/msgraph_beta/generated/models/security/tag.py index 4e6d0db629f..b2315e078d2 100644 --- a/msgraph_beta/generated/models/security/tag.py +++ b/msgraph_beta/generated/models/security/tag.py @@ -34,7 +34,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> Tag: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.security.ediscoveryReviewTag".casefold(): @@ -75,6 +76,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + from ..identity_set import IdentitySet + from .ediscovery_review_tag import EdiscoveryReviewTag + writer.write_object_value("createdBy", self.created_by) writer.write_str_value("description", self.description) writer.write_str_value("displayName", self.display_name) diff --git a/msgraph_beta/generated/models/security/teams_easy_approvals_audit_record.py b/msgraph_beta/generated/models/security/teams_easy_approvals_audit_record.py index 1a3f6421b16..15ef331f8ae 100644 --- a/msgraph_beta/generated/models/security/teams_easy_approvals_audit_record.py +++ b/msgraph_beta/generated/models/security/teams_easy_approvals_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/teams_healthcare_audit_record.py b/msgraph_beta/generated/models/security/teams_healthcare_audit_record.py index ae614bb21e5..ba0fb0478db 100644 --- a/msgraph_beta/generated/models/security/teams_healthcare_audit_record.py +++ b/msgraph_beta/generated/models/security/teams_healthcare_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/teams_updates_audit_record.py b/msgraph_beta/generated/models/security/teams_updates_audit_record.py index de42023d77f..1d1f7b0a098 100644 --- a/msgraph_beta/generated/models/security/teams_updates_audit_record.py +++ b/msgraph_beta/generated/models/security/teams_updates_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/tenant_allow_block_list_audit_record.py b/msgraph_beta/generated/models/security/tenant_allow_block_list_audit_record.py index 9154feb054d..da2917a490a 100644 --- a/msgraph_beta/generated/models/security/tenant_allow_block_list_audit_record.py +++ b/msgraph_beta/generated/models/security/tenant_allow_block_list_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/tenant_allow_block_list_entry_result.py b/msgraph_beta/generated/models/security/tenant_allow_block_list_entry_result.py index 1f1e97ca750..b4927c14dee 100644 --- a/msgraph_beta/generated/models/security/tenant_allow_block_list_entry_result.py +++ b/msgraph_beta/generated/models/security/tenant_allow_block_list_entry_result.py @@ -69,6 +69,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .long_running_operation_status import LongRunningOperationStatus + from .tenant_allow_block_list_entry_type import TenantAllowBlockListEntryType + writer.write_enum_value("entryType", self.entry_type) writer.write_datetime_value("expirationDateTime", self.expiration_date_time) writer.write_str_value("identity", self.identity) diff --git a/msgraph_beta/generated/models/security/tenant_allow_or_block_list_action.py b/msgraph_beta/generated/models/security/tenant_allow_or_block_list_action.py index b913d3e3422..48c046eb733 100644 --- a/msgraph_beta/generated/models/security/tenant_allow_or_block_list_action.py +++ b/msgraph_beta/generated/models/security/tenant_allow_or_block_list_action.py @@ -66,6 +66,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .tenant_allow_block_list_action import TenantAllowBlockListAction + from .tenant_allow_block_list_entry_result import TenantAllowBlockListEntryResult + writer.write_enum_value("action", self.action) writer.write_datetime_value("expirationDateTime", self.expiration_date_time) writer.write_str_value("note", self.note) diff --git a/msgraph_beta/generated/models/security/threat_finder_audit_record.py b/msgraph_beta/generated/models/security/threat_finder_audit_record.py index 88178420cb6..9eb46958679 100644 --- a/msgraph_beta/generated/models/security/threat_finder_audit_record.py +++ b/msgraph_beta/generated/models/security/threat_finder_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/threat_intelligence.py b/msgraph_beta/generated/models/security/threat_intelligence.py index 09b3eacc5de..d9504eac828 100644 --- a/msgraph_beta/generated/models/security/threat_intelligence.py +++ b/msgraph_beta/generated/models/security/threat_intelligence.py @@ -150,6 +150,25 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + from .article import Article + from .article_indicator import ArticleIndicator + from .host import Host + from .host_component import HostComponent + from .host_cookie import HostCookie + from .host_pair import HostPair + from .host_port import HostPort + from .host_ssl_certificate import HostSslCertificate + from .host_tracker import HostTracker + from .intelligence_profile import IntelligenceProfile + from .intelligence_profile_indicator import IntelligenceProfileIndicator + from .passive_dns_record import PassiveDnsRecord + from .ssl_certificate import SslCertificate + from .subdomain import Subdomain + from .vulnerability import Vulnerability + from .whois_history_record import WhoisHistoryRecord + from .whois_record import WhoisRecord + writer.write_collection_of_object_values("articleIndicators", self.article_indicators) writer.write_collection_of_object_values("articles", self.articles) writer.write_collection_of_object_values("hostComponents", self.host_components) diff --git a/msgraph_beta/generated/models/security/threat_intelligence_atp_content_data.py b/msgraph_beta/generated/models/security/threat_intelligence_atp_content_data.py index a9e3a09cb58..1fad4ae1f8f 100644 --- a/msgraph_beta/generated/models/security/threat_intelligence_atp_content_data.py +++ b/msgraph_beta/generated/models/security/threat_intelligence_atp_content_data.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/threat_intelligence_mail_data.py b/msgraph_beta/generated/models/security/threat_intelligence_mail_data.py index a6d08ec7fa5..06f99e1b5c7 100644 --- a/msgraph_beta/generated/models/security/threat_intelligence_mail_data.py +++ b/msgraph_beta/generated/models/security/threat_intelligence_mail_data.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/threat_intelligence_url_click_data.py b/msgraph_beta/generated/models/security/threat_intelligence_url_click_data.py index 894d3d979f6..fa1d68a3077 100644 --- a/msgraph_beta/generated/models/security/threat_intelligence_url_click_data.py +++ b/msgraph_beta/generated/models/security/threat_intelligence_url_click_data.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/threat_submission.py b/msgraph_beta/generated/models/security/threat_submission.py index d0e5cce3bfa..2754dba11c1 100644 --- a/msgraph_beta/generated/models/security/threat_submission.py +++ b/msgraph_beta/generated/models/security/threat_submission.py @@ -59,7 +59,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> ThreatSubmission: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.security.emailContentThreatSubmission".casefold(): @@ -156,6 +157,23 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + from .email_content_threat_submission import EmailContentThreatSubmission + from .email_threat_submission import EmailThreatSubmission + from .email_url_threat_submission import EmailUrlThreatSubmission + from .file_content_threat_submission import FileContentThreatSubmission + from .file_threat_submission import FileThreatSubmission + from .file_url_threat_submission import FileUrlThreatSubmission + from .long_running_operation_status import LongRunningOperationStatus + from .submission_admin_review import SubmissionAdminReview + from .submission_category import SubmissionCategory + from .submission_client_source import SubmissionClientSource + from .submission_content_type import SubmissionContentType + from .submission_result import SubmissionResult + from .submission_source import SubmissionSource + from .submission_user_identity import SubmissionUserIdentity + from .url_threat_submission import UrlThreatSubmission + writer.write_object_value("adminReview", self.admin_review) writer.write_enum_value("category", self.category) writer.write_enum_value("clientSource", self.client_source) diff --git a/msgraph_beta/generated/models/security/threat_submission_root.py b/msgraph_beta/generated/models/security/threat_submission_root.py index cbd383fcd9c..ba4b54e9ba6 100644 --- a/msgraph_beta/generated/models/security/threat_submission_root.py +++ b/msgraph_beta/generated/models/security/threat_submission_root.py @@ -72,6 +72,12 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + from .email_threat_submission import EmailThreatSubmission + from .email_threat_submission_policy import EmailThreatSubmissionPolicy + from .file_threat_submission import FileThreatSubmission + from .url_threat_submission import UrlThreatSubmission + writer.write_collection_of_object_values("emailThreatSubmissionPolicies", self.email_threat_submission_policies) writer.write_collection_of_object_values("emailThreats", self.email_threats) writer.write_collection_of_object_values("fileThreats", self.file_threats) diff --git a/msgraph_beta/generated/models/security/todo_audit_record.py b/msgraph_beta/generated/models/security/todo_audit_record.py index 445ad4c4509..62617cdd044 100644 --- a/msgraph_beta/generated/models/security/todo_audit_record.py +++ b/msgraph_beta/generated/models/security/todo_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/trigger_types_root.py b/msgraph_beta/generated/models/security/trigger_types_root.py index 5b1395f4976..afb02d378fd 100644 --- a/msgraph_beta/generated/models/security/trigger_types_root.py +++ b/msgraph_beta/generated/models/security/trigger_types_root.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + from .retention_event_type import RetentionEventType + writer.write_collection_of_object_values("retentionEventTypes", self.retention_event_types) diff --git a/msgraph_beta/generated/models/security/triggers_root.py b/msgraph_beta/generated/models/security/triggers_root.py index a31e4d3d846..0c05b04e7f3 100644 --- a/msgraph_beta/generated/models/security/triggers_root.py +++ b/msgraph_beta/generated/models/security/triggers_root.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + from .retention_event import RetentionEvent + writer.write_collection_of_object_values("retentionEvents", self.retention_events) diff --git a/msgraph_beta/generated/models/security/uam_operation_audit_record.py b/msgraph_beta/generated/models/security/uam_operation_audit_record.py index 9259f7dc25e..ce582122334 100644 --- a/msgraph_beta/generated/models/security/uam_operation_audit_record.py +++ b/msgraph_beta/generated/models/security/uam_operation_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/unclassified_artifact.py b/msgraph_beta/generated/models/security/unclassified_artifact.py index d058597097f..bf661ce03c4 100644 --- a/msgraph_beta/generated/models/security/unclassified_artifact.py +++ b/msgraph_beta/generated/models/security/unclassified_artifact.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .artifact import Artifact + writer.write_str_value("kind", self.kind) writer.write_str_value("value", self.value) diff --git a/msgraph_beta/generated/models/security/unified_group_audit_record.py b/msgraph_beta/generated/models/security/unified_group_audit_record.py index 8e8b345fc8c..00a4725d063 100644 --- a/msgraph_beta/generated/models/security/unified_group_audit_record.py +++ b/msgraph_beta/generated/models/security/unified_group_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/unified_group_source.py b/msgraph_beta/generated/models/security/unified_group_source.py index c196c2b84a5..67a9b04161a 100644 --- a/msgraph_beta/generated/models/security/unified_group_source.py +++ b/msgraph_beta/generated/models/security/unified_group_source.py @@ -60,6 +60,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..group import Group + from .data_source import DataSource + from .source_type import SourceType + writer.write_object_value("group", self.group) writer.write_enum_value("includedSources", self.included_sources) diff --git a/msgraph_beta/generated/models/security/unified_group_source_collection_response.py b/msgraph_beta/generated/models/security/unified_group_source_collection_response.py index a9338635463..eafd3a40657 100644 --- a/msgraph_beta/generated/models/security/unified_group_source_collection_response.py +++ b/msgraph_beta/generated/models/security/unified_group_source_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .unified_group_source import UnifiedGroupSource + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/security/unified_simulation_matched_item_audit_record.py b/msgraph_beta/generated/models/security/unified_simulation_matched_item_audit_record.py index 288519e3004..da139b229b6 100644 --- a/msgraph_beta/generated/models/security/unified_simulation_matched_item_audit_record.py +++ b/msgraph_beta/generated/models/security/unified_simulation_matched_item_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/unified_simulation_summary_audit_record.py b/msgraph_beta/generated/models/security/unified_simulation_summary_audit_record.py index be7342c08ec..97a80c484d1 100644 --- a/msgraph_beta/generated/models/security/unified_simulation_summary_audit_record.py +++ b/msgraph_beta/generated/models/security/unified_simulation_summary_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/upload_certificate_record.py b/msgraph_beta/generated/models/security/upload_certificate_record.py index 3bd1d020da6..f236b787cdf 100644 --- a/msgraph_beta/generated/models/security/upload_certificate_record.py +++ b/msgraph_beta/generated/models/security/upload_certificate_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/urbac_assignment_audit_record.py b/msgraph_beta/generated/models/security/urbac_assignment_audit_record.py index 086f3040b5a..fdd76d822fe 100644 --- a/msgraph_beta/generated/models/security/urbac_assignment_audit_record.py +++ b/msgraph_beta/generated/models/security/urbac_assignment_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/urbac_enable_state_audit_record.py b/msgraph_beta/generated/models/security/urbac_enable_state_audit_record.py index 2a78d1e0894..b4112d26bc8 100644 --- a/msgraph_beta/generated/models/security/urbac_enable_state_audit_record.py +++ b/msgraph_beta/generated/models/security/urbac_enable_state_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/urbac_role_audit_record.py b/msgraph_beta/generated/models/security/urbac_role_audit_record.py index d55b6397efb..50db543bbb2 100644 --- a/msgraph_beta/generated/models/security/urbac_role_audit_record.py +++ b/msgraph_beta/generated/models/security/urbac_role_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/url_evidence.py b/msgraph_beta/generated/models/security/url_evidence.py index 87c1ae8409c..60fabb60351 100644 --- a/msgraph_beta/generated/models/security/url_evidence.py +++ b/msgraph_beta/generated/models/security/url_evidence.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .alert_evidence import AlertEvidence + writer.write_str_value("url", self.url) diff --git a/msgraph_beta/generated/models/security/url_threat_submission.py b/msgraph_beta/generated/models/security/url_threat_submission.py index f7fb035d75f..4e38c9e16b6 100644 --- a/msgraph_beta/generated/models/security/url_threat_submission.py +++ b/msgraph_beta/generated/models/security/url_threat_submission.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .threat_submission import ThreatSubmission + writer.write_str_value("webUrl", self.web_url) diff --git a/msgraph_beta/generated/models/security/url_threat_submission_collection_response.py b/msgraph_beta/generated/models/security/url_threat_submission_collection_response.py index 33cf11d7426..9e5e8bdaf05 100644 --- a/msgraph_beta/generated/models/security/url_threat_submission_collection_response.py +++ b/msgraph_beta/generated/models/security/url_threat_submission_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .url_threat_submission import UrlThreatSubmission + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/security/user_evidence.py b/msgraph_beta/generated/models/security/user_evidence.py index fa76295ec75..b8b13fb5ea6 100644 --- a/msgraph_beta/generated/models/security/user_evidence.py +++ b/msgraph_beta/generated/models/security/user_evidence.py @@ -60,6 +60,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .alert_evidence import AlertEvidence + from .stream import Stream + from .user_account import UserAccount + writer.write_object_value("stream", self.stream) writer.write_object_value("userAccount", self.user_account) diff --git a/msgraph_beta/generated/models/security/user_source.py b/msgraph_beta/generated/models/security/user_source.py index dbd12493c36..38abfe953c5 100644 --- a/msgraph_beta/generated/models/security/user_source.py +++ b/msgraph_beta/generated/models/security/user_source.py @@ -60,6 +60,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .data_source import DataSource + from .source_type import SourceType + writer.write_str_value("email", self.email) writer.write_enum_value("includedSources", self.included_sources) writer.write_str_value("siteWebUrl", self.site_web_url) diff --git a/msgraph_beta/generated/models/security/user_source_collection_response.py b/msgraph_beta/generated/models/security/user_source_collection_response.py index ce93ca6c6a0..7bce07e3d73 100644 --- a/msgraph_beta/generated/models/security/user_source_collection_response.py +++ b/msgraph_beta/generated/models/security/user_source_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .user_source import UserSource + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/security/user_training_audit_record.py b/msgraph_beta/generated/models/security/user_training_audit_record.py index e8e50ef84c7..e615987f2c1 100644 --- a/msgraph_beta/generated/models/security/user_training_audit_record.py +++ b/msgraph_beta/generated/models/security/user_training_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/vfam_base_policy_audit_record.py b/msgraph_beta/generated/models/security/vfam_base_policy_audit_record.py index c36824f27df..26f6077f911 100644 --- a/msgraph_beta/generated/models/security/vfam_base_policy_audit_record.py +++ b/msgraph_beta/generated/models/security/vfam_base_policy_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/vfam_create_policy_audit_record.py b/msgraph_beta/generated/models/security/vfam_create_policy_audit_record.py index 204d01f519f..7099561a3a4 100644 --- a/msgraph_beta/generated/models/security/vfam_create_policy_audit_record.py +++ b/msgraph_beta/generated/models/security/vfam_create_policy_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/vfam_delete_policy_audit_record.py b/msgraph_beta/generated/models/security/vfam_delete_policy_audit_record.py index 33623225964..04a30e4d557 100644 --- a/msgraph_beta/generated/models/security/vfam_delete_policy_audit_record.py +++ b/msgraph_beta/generated/models/security/vfam_delete_policy_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/vfam_update_policy_audit_record.py b/msgraph_beta/generated/models/security/vfam_update_policy_audit_record.py index cf312c46252..76bcf21e567 100644 --- a/msgraph_beta/generated/models/security/vfam_update_policy_audit_record.py +++ b/msgraph_beta/generated/models/security/vfam_update_policy_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/viva_goals_audit_record.py b/msgraph_beta/generated/models/security/viva_goals_audit_record.py index e56a3ab9a40..82e9280ab96 100644 --- a/msgraph_beta/generated/models/security/viva_goals_audit_record.py +++ b/msgraph_beta/generated/models/security/viva_goals_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/viva_learning_admin_audit_record.py b/msgraph_beta/generated/models/security/viva_learning_admin_audit_record.py index 4724cb99c33..ca0eca80e9e 100644 --- a/msgraph_beta/generated/models/security/viva_learning_admin_audit_record.py +++ b/msgraph_beta/generated/models/security/viva_learning_admin_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/viva_learning_audit_record.py b/msgraph_beta/generated/models/security/viva_learning_audit_record.py index 18cd7a905f2..15ca6311829 100644 --- a/msgraph_beta/generated/models/security/viva_learning_audit_record.py +++ b/msgraph_beta/generated/models/security/viva_learning_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/viva_pulse_admin_audit_record.py b/msgraph_beta/generated/models/security/viva_pulse_admin_audit_record.py index ff661ad6d3a..38510e91a9c 100644 --- a/msgraph_beta/generated/models/security/viva_pulse_admin_audit_record.py +++ b/msgraph_beta/generated/models/security/viva_pulse_admin_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/viva_pulse_organizer_audit_record.py b/msgraph_beta/generated/models/security/viva_pulse_organizer_audit_record.py index 8c0c88de471..47fc7e7fdbc 100644 --- a/msgraph_beta/generated/models/security/viva_pulse_organizer_audit_record.py +++ b/msgraph_beta/generated/models/security/viva_pulse_organizer_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/viva_pulse_report_audit_record.py b/msgraph_beta/generated/models/security/viva_pulse_report_audit_record.py index 5147e888426..6b405fadbc4 100644 --- a/msgraph_beta/generated/models/security/viva_pulse_report_audit_record.py +++ b/msgraph_beta/generated/models/security/viva_pulse_report_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/viva_pulse_response_audit_record.py b/msgraph_beta/generated/models/security/viva_pulse_response_audit_record.py index 159e56f40b2..c2b5d34c199 100644 --- a/msgraph_beta/generated/models/security/viva_pulse_response_audit_record.py +++ b/msgraph_beta/generated/models/security/viva_pulse_response_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/vm_metadata.py b/msgraph_beta/generated/models/security/vm_metadata.py index d427afb0c7b..20958f2f1e5 100644 --- a/msgraph_beta/generated/models/security/vm_metadata.py +++ b/msgraph_beta/generated/models/security/vm_metadata.py @@ -62,6 +62,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .vm_cloud_provider import VmCloudProvider + writer.write_enum_value("cloudProvider", self.cloud_provider) writer.write_str_value("@odata.type", self.odata_type) writer.write_str_value("resourceId", self.resource_id) diff --git a/msgraph_beta/generated/models/security/vulnerability.py b/msgraph_beta/generated/models/security/vulnerability.py index adcd8e8acb0..f1cfcbb6f86 100644 --- a/msgraph_beta/generated/models/security/vulnerability.py +++ b/msgraph_beta/generated/models/security/vulnerability.py @@ -118,6 +118,14 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + from .article import Article + from .cvss_summary import CvssSummary + from .formatted_content import FormattedContent + from .hyperlink import Hyperlink + from .vulnerability_component import VulnerabilityComponent + from .vulnerability_severity import VulnerabilitySeverity + writer.write_bool_value("activeExploitsObserved", self.active_exploits_observed) writer.write_collection_of_object_values("articles", self.articles) writer.write_collection_of_primitive_values("commonWeaknessEnumerationIds", self.common_weakness_enumeration_ids) diff --git a/msgraph_beta/generated/models/security/vulnerability_collection_response.py b/msgraph_beta/generated/models/security/vulnerability_collection_response.py index 79310e2912d..a849cdc6b4a 100644 --- a/msgraph_beta/generated/models/security/vulnerability_collection_response.py +++ b/msgraph_beta/generated/models/security/vulnerability_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .vulnerability import Vulnerability + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/security/vulnerability_component.py b/msgraph_beta/generated/models/security/vulnerability_component.py index aaf2761dd9c..969a786882a 100644 --- a/msgraph_beta/generated/models/security/vulnerability_component.py +++ b/msgraph_beta/generated/models/security/vulnerability_component.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + writer.write_str_value("name", self.name) diff --git a/msgraph_beta/generated/models/security/vulnerability_component_collection_response.py b/msgraph_beta/generated/models/security/vulnerability_component_collection_response.py index 370a21706f1..984388244ce 100644 --- a/msgraph_beta/generated/models/security/vulnerability_component_collection_response.py +++ b/msgraph_beta/generated/models/security/vulnerability_component_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .vulnerability_component import VulnerabilityComponent + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/security/wdatp_alerts_audit_record.py b/msgraph_beta/generated/models/security/wdatp_alerts_audit_record.py index df3e2aef66a..64df8cf263d 100644 --- a/msgraph_beta/generated/models/security/wdatp_alerts_audit_record.py +++ b/msgraph_beta/generated/models/security/wdatp_alerts_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/whois_base_record.py b/msgraph_beta/generated/models/security/whois_base_record.py index ad06dc6fc00..17ecb283478 100644 --- a/msgraph_beta/generated/models/security/whois_base_record.py +++ b/msgraph_beta/generated/models/security/whois_base_record.py @@ -65,7 +65,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> WhoisBaseRecord: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.security.whoisHistoryRecord".casefold(): @@ -130,6 +131,13 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + from .host import Host + from .whois_contact import WhoisContact + from .whois_history_record import WhoisHistoryRecord + from .whois_nameserver import WhoisNameserver + from .whois_record import WhoisRecord + writer.write_object_value("abuse", self.abuse) writer.write_object_value("admin", self.admin) writer.write_object_value("billing", self.billing) diff --git a/msgraph_beta/generated/models/security/whois_contact.py b/msgraph_beta/generated/models/security/whois_contact.py index c9afc638daa..52a65a2b8e9 100644 --- a/msgraph_beta/generated/models/security/whois_contact.py +++ b/msgraph_beta/generated/models/security/whois_contact.py @@ -68,6 +68,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ..physical_address import PhysicalAddress + writer.write_object_value("address", self.address) writer.write_str_value("email", self.email) writer.write_str_value("fax", self.fax) diff --git a/msgraph_beta/generated/models/security/whois_history_record.py b/msgraph_beta/generated/models/security/whois_history_record.py index 6b30db171b1..b80471108f8 100644 --- a/msgraph_beta/generated/models/security/whois_history_record.py +++ b/msgraph_beta/generated/models/security/whois_history_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .whois_base_record import WhoisBaseRecord + diff --git a/msgraph_beta/generated/models/security/whois_history_record_collection_response.py b/msgraph_beta/generated/models/security/whois_history_record_collection_response.py index 8fa0f386c3d..54b22cb8d7c 100644 --- a/msgraph_beta/generated/models/security/whois_history_record_collection_response.py +++ b/msgraph_beta/generated/models/security/whois_history_record_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .whois_history_record import WhoisHistoryRecord + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/security/whois_nameserver.py b/msgraph_beta/generated/models/security/whois_nameserver.py index 37cbf9f6d69..f7964b55e4b 100644 --- a/msgraph_beta/generated/models/security/whois_nameserver.py +++ b/msgraph_beta/generated/models/security/whois_nameserver.py @@ -60,6 +60,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .host import Host + writer.write_datetime_value("firstSeenDateTime", self.first_seen_date_time) writer.write_object_value("host", self.host) writer.write_datetime_value("lastSeenDateTime", self.last_seen_date_time) diff --git a/msgraph_beta/generated/models/security/whois_record.py b/msgraph_beta/generated/models/security/whois_record.py index 2deaf44eb9d..859f6baec78 100644 --- a/msgraph_beta/generated/models/security/whois_record.py +++ b/msgraph_beta/generated/models/security/whois_record.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .whois_base_record import WhoisBaseRecord + from .whois_history_record import WhoisHistoryRecord + writer.write_collection_of_object_values("history", self.history) diff --git a/msgraph_beta/generated/models/security/whois_record_collection_response.py b/msgraph_beta/generated/models/security/whois_record_collection_response.py index 833cf578289..aac9b5f9c59 100644 --- a/msgraph_beta/generated/models/security/whois_record_collection_response.py +++ b/msgraph_beta/generated/models/security/whois_record_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .whois_record import WhoisRecord + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/security/windows365_customer_lockbox_audit_record.py b/msgraph_beta/generated/models/security/windows365_customer_lockbox_audit_record.py index fb95564b84d..e16bb3a41da 100644 --- a/msgraph_beta/generated/models/security/windows365_customer_lockbox_audit_record.py +++ b/msgraph_beta/generated/models/security/windows365_customer_lockbox_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/workplace_analytics_audit_record.py b/msgraph_beta/generated/models/security/workplace_analytics_audit_record.py index d8080b25c90..559aacfe915 100644 --- a/msgraph_beta/generated/models/security/workplace_analytics_audit_record.py +++ b/msgraph_beta/generated/models/security/workplace_analytics_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security/yammer_audit_record.py b/msgraph_beta/generated/models/security/yammer_audit_record.py index 69e70eb9c1d..fda6fe8d325 100644 --- a/msgraph_beta/generated/models/security/yammer_audit_record.py +++ b/msgraph_beta/generated/models/security/yammer_audit_record.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_data import AuditData + diff --git a/msgraph_beta/generated/models/security_action.py b/msgraph_beta/generated/models/security_action.py index 4d73d0240f4..9267eff7195 100644 --- a/msgraph_beta/generated/models/security_action.py +++ b/msgraph_beta/generated/models/security_action.py @@ -106,6 +106,13 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .key_value_pair import KeyValuePair + from .operation_status import OperationStatus + from .result_info import ResultInfo + from .security_action_state import SecurityActionState + from .security_vendor_information import SecurityVendorInformation + writer.write_str_value("actionReason", self.action_reason) writer.write_str_value("appId", self.app_id) writer.write_str_value("azureTenantId", self.azure_tenant_id) diff --git a/msgraph_beta/generated/models/security_action_collection_response.py b/msgraph_beta/generated/models/security_action_collection_response.py index b6c8db59984..954dddb617d 100644 --- a/msgraph_beta/generated/models/security_action_collection_response.py +++ b/msgraph_beta/generated/models/security_action_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .security_action import SecurityAction + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/security_action_state.py b/msgraph_beta/generated/models/security_action_state.py index 3d54f577c59..6093ece732e 100644 --- a/msgraph_beta/generated/models/security_action_state.py +++ b/msgraph_beta/generated/models/security_action_state.py @@ -63,6 +63,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .operation_status import OperationStatus + writer.write_str_value("appId", self.app_id) writer.write_str_value("@odata.type", self.odata_type) writer.write_enum_value("status", self.status) diff --git a/msgraph_beta/generated/models/security_baseline_category_state_summary.py b/msgraph_beta/generated/models/security_baseline_category_state_summary.py index ff7da6cf15e..395dd280384 100644 --- a/msgraph_beta/generated/models/security_baseline_category_state_summary.py +++ b/msgraph_beta/generated/models/security_baseline_category_state_summary.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .security_baseline_state_summary import SecurityBaselineStateSummary + writer.write_str_value("displayName", self.display_name) diff --git a/msgraph_beta/generated/models/security_baseline_contributing_policy.py b/msgraph_beta/generated/models/security_baseline_contributing_policy.py index 778eead76c8..d14d8256b12 100644 --- a/msgraph_beta/generated/models/security_baseline_contributing_policy.py +++ b/msgraph_beta/generated/models/security_baseline_contributing_policy.py @@ -62,6 +62,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .security_baseline_policy_source_type import SecurityBaselinePolicySourceType + writer.write_str_value("displayName", self.display_name) writer.write_str_value("@odata.type", self.odata_type) writer.write_str_value("sourceId", self.source_id) diff --git a/msgraph_beta/generated/models/security_baseline_device_state.py b/msgraph_beta/generated/models/security_baseline_device_state.py index 195ede9cb6a..9d2e8e2a23c 100644 --- a/msgraph_beta/generated/models/security_baseline_device_state.py +++ b/msgraph_beta/generated/models/security_baseline_device_state.py @@ -70,6 +70,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .security_baseline_compliance_state import SecurityBaselineComplianceState + writer.write_str_value("deviceDisplayName", self.device_display_name) writer.write_datetime_value("lastReportedDateTime", self.last_reported_date_time) writer.write_str_value("managedDeviceId", self.managed_device_id) diff --git a/msgraph_beta/generated/models/security_baseline_setting_state.py b/msgraph_beta/generated/models/security_baseline_setting_state.py index cde59d2b59d..318593ce48e 100644 --- a/msgraph_beta/generated/models/security_baseline_setting_state.py +++ b/msgraph_beta/generated/models/security_baseline_setting_state.py @@ -84,6 +84,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .security_baseline_compliance_state import SecurityBaselineComplianceState + from .security_baseline_contributing_policy import SecurityBaselineContributingPolicy + from .setting_source import SettingSource + writer.write_collection_of_object_values("contributingPolicies", self.contributing_policies) writer.write_str_value("errorCode", self.error_code) writer.write_str_value("settingCategoryId", self.setting_category_id) diff --git a/msgraph_beta/generated/models/security_baseline_setting_state_collection_response.py b/msgraph_beta/generated/models/security_baseline_setting_state_collection_response.py index 83b7f47d053..855fc2ece7f 100644 --- a/msgraph_beta/generated/models/security_baseline_setting_state_collection_response.py +++ b/msgraph_beta/generated/models/security_baseline_setting_state_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .security_baseline_setting_state import SecurityBaselineSettingState + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/security_baseline_state.py b/msgraph_beta/generated/models/security_baseline_state.py index ed7622fa475..e6d8a8b3ef3 100644 --- a/msgraph_beta/generated/models/security_baseline_state.py +++ b/msgraph_beta/generated/models/security_baseline_state.py @@ -72,6 +72,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .security_baseline_compliance_state import SecurityBaselineComplianceState + from .security_baseline_setting_state import SecurityBaselineSettingState + writer.write_str_value("displayName", self.display_name) writer.write_str_value("securityBaselineTemplateId", self.security_baseline_template_id) writer.write_collection_of_object_values("settingStates", self.setting_states) diff --git a/msgraph_beta/generated/models/security_baseline_state_collection_response.py b/msgraph_beta/generated/models/security_baseline_state_collection_response.py index 50495023f3f..e72815f8de0 100644 --- a/msgraph_beta/generated/models/security_baseline_state_collection_response.py +++ b/msgraph_beta/generated/models/security_baseline_state_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .security_baseline_state import SecurityBaselineState + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/security_baseline_state_summary.py b/msgraph_beta/generated/models/security_baseline_state_summary.py index 174e318162b..13623b1daef 100644 --- a/msgraph_beta/generated/models/security_baseline_state_summary.py +++ b/msgraph_beta/generated/models/security_baseline_state_summary.py @@ -39,7 +39,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> SecurityBaselineSt if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.securityBaselineCategoryStateSummary".casefold(): @@ -80,6 +81,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .security_baseline_category_state_summary import SecurityBaselineCategoryStateSummary + writer.write_int_value("conflictCount", self.conflict_count) writer.write_int_value("errorCount", self.error_count) writer.write_int_value("notApplicableCount", self.not_applicable_count) diff --git a/msgraph_beta/generated/models/security_baseline_template.py b/msgraph_beta/generated/models/security_baseline_template.py index c91cd22c212..4dab81edcb8 100644 --- a/msgraph_beta/generated/models/security_baseline_template.py +++ b/msgraph_beta/generated/models/security_baseline_template.py @@ -69,6 +69,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_management_template import DeviceManagementTemplate + from .security_baseline_category_state_summary import SecurityBaselineCategoryStateSummary + from .security_baseline_device_state import SecurityBaselineDeviceState + from .security_baseline_state_summary import SecurityBaselineStateSummary + writer.write_collection_of_object_values("categoryDeviceStateSummaries", self.category_device_state_summaries) writer.write_object_value("deviceStateSummary", self.device_state_summary) writer.write_collection_of_object_values("deviceStates", self.device_states) diff --git a/msgraph_beta/generated/models/security_configuration_task.py b/msgraph_beta/generated/models/security_configuration_task.py index 8122a5b7951..8fb10dcf4e4 100644 --- a/msgraph_beta/generated/models/security_configuration_task.py +++ b/msgraph_beta/generated/models/security_configuration_task.py @@ -87,6 +87,13 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_app_management_task import DeviceAppManagementTask + from .endpoint_security_configuration_applicable_platform import EndpointSecurityConfigurationApplicablePlatform + from .endpoint_security_configuration_profile_type import EndpointSecurityConfigurationProfileType + from .endpoint_security_configuration_type import EndpointSecurityConfigurationType + from .key_value_pair import KeyValuePair + from .vulnerable_managed_device import VulnerableManagedDevice + writer.write_enum_value("applicablePlatform", self.applicable_platform) writer.write_enum_value("endpointSecurityPolicy", self.endpoint_security_policy) writer.write_enum_value("endpointSecurityPolicyProfile", self.endpoint_security_policy_profile) diff --git a/msgraph_beta/generated/models/security_reports_root.py b/msgraph_beta/generated/models/security_reports_root.py index 351c070278b..169eaaf84f4 100644 --- a/msgraph_beta/generated/models/security_reports_root.py +++ b/msgraph_beta/generated/models/security_reports_root.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + diff --git a/msgraph_beta/generated/models/security_resource.py b/msgraph_beta/generated/models/security_resource.py index 8acda15890f..f6cf5b0934f 100644 --- a/msgraph_beta/generated/models/security_resource.py +++ b/msgraph_beta/generated/models/security_resource.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .security_resource_type import SecurityResourceType + writer.write_str_value("@odata.type", self.odata_type) writer.write_str_value("resource", self.resource) writer.write_enum_value("resourceType", self.resource_type) diff --git a/msgraph_beta/generated/models/security_tool_aws_resource_administrator_finding.py b/msgraph_beta/generated/models/security_tool_aws_resource_administrator_finding.py index 01951ec5e3b..43d90f0f06d 100644 --- a/msgraph_beta/generated/models/security_tool_aws_resource_administrator_finding.py +++ b/msgraph_beta/generated/models/security_tool_aws_resource_administrator_finding.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .aws_security_tool_administration_finding import AwsSecurityToolAdministrationFinding + diff --git a/msgraph_beta/generated/models/security_tool_aws_role_administrator_finding.py b/msgraph_beta/generated/models/security_tool_aws_role_administrator_finding.py index cb3ff642ba0..f53dd98cc4d 100644 --- a/msgraph_beta/generated/models/security_tool_aws_role_administrator_finding.py +++ b/msgraph_beta/generated/models/security_tool_aws_role_administrator_finding.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .aws_security_tool_administration_finding import AwsSecurityToolAdministrationFinding + diff --git a/msgraph_beta/generated/models/security_tool_aws_serverless_function_administrator_finding.py b/msgraph_beta/generated/models/security_tool_aws_serverless_function_administrator_finding.py index 72073db9729..47b150ad089 100644 --- a/msgraph_beta/generated/models/security_tool_aws_serverless_function_administrator_finding.py +++ b/msgraph_beta/generated/models/security_tool_aws_serverless_function_administrator_finding.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .aws_security_tool_administration_finding import AwsSecurityToolAdministrationFinding + diff --git a/msgraph_beta/generated/models/security_tool_aws_user_administrator_finding.py b/msgraph_beta/generated/models/security_tool_aws_user_administrator_finding.py index e436b038e73..1e785811fcf 100644 --- a/msgraph_beta/generated/models/security_tool_aws_user_administrator_finding.py +++ b/msgraph_beta/generated/models/security_tool_aws_user_administrator_finding.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .aws_security_tool_administration_finding import AwsSecurityToolAdministrationFinding + diff --git a/msgraph_beta/generated/models/segment_configuration.py b/msgraph_beta/generated/models/segment_configuration.py index a699791c2c2..e5feffbe927 100644 --- a/msgraph_beta/generated/models/segment_configuration.py +++ b/msgraph_beta/generated/models/segment_configuration.py @@ -28,7 +28,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> SegmentConfigurati if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.ipSegmentConfiguration".casefold(): @@ -65,6 +66,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .ip_segment_configuration import IpSegmentConfiguration + from .web_segment_configuration import WebSegmentConfiguration + writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/send_dtmf_tones_operation.py b/msgraph_beta/generated/models/send_dtmf_tones_operation.py index 24f4b3ef56b..4e611ba0b67 100644 --- a/msgraph_beta/generated/models/send_dtmf_tones_operation.py +++ b/msgraph_beta/generated/models/send_dtmf_tones_operation.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .comms_operation import CommsOperation + from .send_dtmf_completion_reason import SendDtmfCompletionReason + writer.write_enum_value("completionReason", self.completion_reason) diff --git a/msgraph_beta/generated/models/sensitive_content_location.py b/msgraph_beta/generated/models/sensitive_content_location.py index f39021bc1bd..2d212c9e6bb 100644 --- a/msgraph_beta/generated/models/sensitive_content_location.py +++ b/msgraph_beta/generated/models/sensitive_content_location.py @@ -65,6 +65,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .sensitive_content_evidence import SensitiveContentEvidence + writer.write_int_value("confidence", self.confidence) writer.write_collection_of_object_values("evidences", self.evidences) writer.write_str_value("idMatch", self.id_match) diff --git a/msgraph_beta/generated/models/sensitive_type.py b/msgraph_beta/generated/models/sensitive_type.py index ee0b0eb8b39..2037d801ed9 100644 --- a/msgraph_beta/generated/models/sensitive_type.py +++ b/msgraph_beta/generated/models/sensitive_type.py @@ -84,6 +84,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .classification_method import ClassificationMethod + from .entity import Entity + from .sensitive_type_scope import SensitiveTypeScope + from .sensitive_type_source import SensitiveTypeSource + writer.write_enum_value("classificationMethod", self.classification_method) writer.write_str_value("description", self.description) writer.write_str_value("name", self.name) diff --git a/msgraph_beta/generated/models/sensitive_type_collection_response.py b/msgraph_beta/generated/models/sensitive_type_collection_response.py index b3bc158a6cf..3135d606519 100644 --- a/msgraph_beta/generated/models/sensitive_type_collection_response.py +++ b/msgraph_beta/generated/models/sensitive_type_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .sensitive_type import SensitiveType + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/sensitivity_label.py b/msgraph_beta/generated/models/sensitivity_label.py index d4ef056150c..d32a64ee0d2 100644 --- a/msgraph_beta/generated/models/sensitivity_label.py +++ b/msgraph_beta/generated/models/sensitivity_label.py @@ -102,6 +102,13 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .application_mode import ApplicationMode + from .auto_labeling import AutoLabeling + from .entity import Entity + from .label_action_base import LabelActionBase + from .label_policy import LabelPolicy + from .sensitivity_label_target import SensitivityLabelTarget + writer.write_enum_value("applicableTo", self.applicable_to) writer.write_enum_value("applicationMode", self.application_mode) writer.write_collection_of_object_values("assignedPolicies", self.assigned_policies) diff --git a/msgraph_beta/generated/models/sensitivity_label_assignment.py b/msgraph_beta/generated/models/sensitivity_label_assignment.py index 4b7082c27de..f506ce89d98 100644 --- a/msgraph_beta/generated/models/sensitivity_label_assignment.py +++ b/msgraph_beta/generated/models/sensitivity_label_assignment.py @@ -59,6 +59,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .sensitivity_label_assignment_method import SensitivityLabelAssignmentMethod + writer.write_enum_value("assignmentMethod", self.assignment_method) writer.write_str_value("@odata.type", self.odata_type) writer.write_str_value("sensitivityLabelId", self.sensitivity_label_id) diff --git a/msgraph_beta/generated/models/sensitivity_label_collection_response.py b/msgraph_beta/generated/models/sensitivity_label_collection_response.py index 9f2d092f3ee..f918c74af87 100644 --- a/msgraph_beta/generated/models/sensitivity_label_collection_response.py +++ b/msgraph_beta/generated/models/sensitivity_label_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .sensitivity_label import SensitivityLabel + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/sensitivity_policy_settings.py b/msgraph_beta/generated/models/sensitivity_policy_settings.py index 801b9b0e9cf..518f1ce2427 100644 --- a/msgraph_beta/generated/models/sensitivity_policy_settings.py +++ b/msgraph_beta/generated/models/sensitivity_policy_settings.py @@ -63,6 +63,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .sensitivity_label_target import SensitivityLabelTarget + writer.write_enum_value("applicableTo", self.applicable_to) writer.write_bool_value("downgradeSensitivityRequiresJustification", self.downgrade_sensitivity_requires_justification) writer.write_str_value("helpWebUrl", self.help_web_url) diff --git a/msgraph_beta/generated/models/sequential_activation_renewals_alert_configuration.py b/msgraph_beta/generated/models/sequential_activation_renewals_alert_configuration.py index a36dab8f2e7..fb05db8ec48 100644 --- a/msgraph_beta/generated/models/sequential_activation_renewals_alert_configuration.py +++ b/msgraph_beta/generated/models/sequential_activation_renewals_alert_configuration.py @@ -55,6 +55,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .unified_role_management_alert_configuration import UnifiedRoleManagementAlertConfiguration + writer.write_int_value("sequentialActivationCounterThreshold", self.sequential_activation_counter_threshold) writer.write_timedelta_value("timeIntervalBetweenActivations", self.time_interval_between_activations) diff --git a/msgraph_beta/generated/models/sequential_activation_renewals_alert_incident.py b/msgraph_beta/generated/models/sequential_activation_renewals_alert_incident.py index e0f09df57a0..09a140f905a 100644 --- a/msgraph_beta/generated/models/sequential_activation_renewals_alert_incident.py +++ b/msgraph_beta/generated/models/sequential_activation_renewals_alert_incident.py @@ -76,6 +76,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .unified_role_management_alert_incident import UnifiedRoleManagementAlertIncident + writer.write_int_value("activationCount", self.activation_count) writer.write_str_value("assigneeDisplayName", self.assignee_display_name) writer.write_str_value("assigneeId", self.assignee_id) diff --git a/msgraph_beta/generated/models/server_processed_content.py b/msgraph_beta/generated/models/server_processed_content.py index 8b0042e9c7d..39beef00419 100644 --- a/msgraph_beta/generated/models/server_processed_content.py +++ b/msgraph_beta/generated/models/server_processed_content.py @@ -71,6 +71,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .meta_data_key_string_pair import MetaDataKeyStringPair + from .meta_data_key_value_pair import MetaDataKeyValuePair + writer.write_collection_of_object_values("componentDependencies", self.component_dependencies) writer.write_collection_of_object_values("customMetadata", self.custom_metadata) writer.write_collection_of_object_values("htmlStrings", self.html_strings) diff --git a/msgraph_beta/generated/models/service_activity.py b/msgraph_beta/generated/models/service_activity.py index 61cd85a4c00..483c75b56dc 100644 --- a/msgraph_beta/generated/models/service_activity.py +++ b/msgraph_beta/generated/models/service_activity.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + diff --git a/msgraph_beta/generated/models/service_announcement.py b/msgraph_beta/generated/models/service_announcement.py index fd756749e6c..0c2da576e4b 100644 --- a/msgraph_beta/generated/models/service_announcement.py +++ b/msgraph_beta/generated/models/service_announcement.py @@ -66,6 +66,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .service_health import ServiceHealth + from .service_health_issue import ServiceHealthIssue + from .service_update_message import ServiceUpdateMessage + writer.write_collection_of_object_values("healthOverviews", self.health_overviews) writer.write_collection_of_object_values("issues", self.issues) writer.write_collection_of_object_values("messages", self.messages) diff --git a/msgraph_beta/generated/models/service_announcement_attachment.py b/msgraph_beta/generated/models/service_announcement_attachment.py index bae43875b9a..01d3db3b944 100644 --- a/msgraph_beta/generated/models/service_announcement_attachment.py +++ b/msgraph_beta/generated/models/service_announcement_attachment.py @@ -64,6 +64,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_bytes_value("content", self.content) writer.write_str_value("contentType", self.content_type) writer.write_datetime_value("lastModifiedDateTime", self.last_modified_date_time) diff --git a/msgraph_beta/generated/models/service_announcement_attachment_collection_response.py b/msgraph_beta/generated/models/service_announcement_attachment_collection_response.py index fe1450370da..753d95a3240 100644 --- a/msgraph_beta/generated/models/service_announcement_attachment_collection_response.py +++ b/msgraph_beta/generated/models/service_announcement_attachment_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .service_announcement_attachment import ServiceAnnouncementAttachment + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/service_announcement_base.py b/msgraph_beta/generated/models/service_announcement_base.py index 1c802513c6f..dee6bef37d3 100644 --- a/msgraph_beta/generated/models/service_announcement_base.py +++ b/msgraph_beta/generated/models/service_announcement_base.py @@ -37,7 +37,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> ServiceAnnouncemen if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.serviceHealthIssue".casefold(): @@ -85,6 +86,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .key_value_pair import KeyValuePair + from .service_health_issue import ServiceHealthIssue + from .service_update_message import ServiceUpdateMessage + writer.write_collection_of_object_values("details", self.details) writer.write_datetime_value("endDateTime", self.end_date_time) writer.write_datetime_value("lastModifiedDateTime", self.last_modified_date_time) diff --git a/msgraph_beta/generated/models/service_app.py b/msgraph_beta/generated/models/service_app.py index e791a33c4f8..f02043c5199 100644 --- a/msgraph_beta/generated/models/service_app.py +++ b/msgraph_beta/generated/models/service_app.py @@ -76,6 +76,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .identity import Identity + from .identity_set import IdentitySet + from .service_app_status import ServiceAppStatus + writer.write_object_value("application", self.application) writer.write_datetime_value("effectiveDateTime", self.effective_date_time) writer.write_object_value("lastModifiedBy", self.last_modified_by) diff --git a/msgraph_beta/generated/models/service_app_collection_response.py b/msgraph_beta/generated/models/service_app_collection_response.py index e46833f5361..1f09dd25f7c 100644 --- a/msgraph_beta/generated/models/service_app_collection_response.py +++ b/msgraph_beta/generated/models/service_app_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .service_app import ServiceApp + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/service_health.py b/msgraph_beta/generated/models/service_health.py index 8c30e4689f9..b2a43f60d6e 100644 --- a/msgraph_beta/generated/models/service_health.py +++ b/msgraph_beta/generated/models/service_health.py @@ -63,6 +63,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .service_health_issue import ServiceHealthIssue + from .service_health_status import ServiceHealthStatus + writer.write_collection_of_object_values("issues", self.issues) writer.write_str_value("service", self.service) writer.write_enum_value("status", self.status) diff --git a/msgraph_beta/generated/models/service_health_collection_response.py b/msgraph_beta/generated/models/service_health_collection_response.py index 6a4bb26448d..64749222abb 100644 --- a/msgraph_beta/generated/models/service_health_collection_response.py +++ b/msgraph_beta/generated/models/service_health_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .service_health import ServiceHealth + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/service_health_issue.py b/msgraph_beta/generated/models/service_health_issue.py index a6d09da8e7e..deae1a0b6b1 100644 --- a/msgraph_beta/generated/models/service_health_issue.py +++ b/msgraph_beta/generated/models/service_health_issue.py @@ -87,6 +87,12 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .service_announcement_base import ServiceAnnouncementBase + from .service_health_classification_type import ServiceHealthClassificationType + from .service_health_issue_post import ServiceHealthIssuePost + from .service_health_origin import ServiceHealthOrigin + from .service_health_status import ServiceHealthStatus + writer.write_enum_value("classification", self.classification) writer.write_str_value("feature", self.feature) writer.write_str_value("featureGroup", self.feature_group) diff --git a/msgraph_beta/generated/models/service_health_issue_collection_response.py b/msgraph_beta/generated/models/service_health_issue_collection_response.py index 5a2cd1d66a3..b25d8a559bf 100644 --- a/msgraph_beta/generated/models/service_health_issue_collection_response.py +++ b/msgraph_beta/generated/models/service_health_issue_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .service_health_issue import ServiceHealthIssue + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/service_health_issue_post.py b/msgraph_beta/generated/models/service_health_issue_post.py index bc7f8f0a899..287ab442862 100644 --- a/msgraph_beta/generated/models/service_health_issue_post.py +++ b/msgraph_beta/generated/models/service_health_issue_post.py @@ -63,6 +63,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .item_body import ItemBody + from .post_type import PostType + writer.write_datetime_value("createdDateTime", self.created_date_time) writer.write_object_value("description", self.description) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/service_hosted_media_config.py b/msgraph_beta/generated/models/service_hosted_media_config.py index b9b86d3672b..feb645375ff 100644 --- a/msgraph_beta/generated/models/service_hosted_media_config.py +++ b/msgraph_beta/generated/models/service_hosted_media_config.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .media_config import MediaConfig + from .media_info import MediaInfo + writer.write_collection_of_object_values("preFetchMedia", self.pre_fetch_media) diff --git a/msgraph_beta/generated/models/service_level_agreement_root.py b/msgraph_beta/generated/models/service_level_agreement_root.py index 52cb93c5923..f086eca6cc3 100644 --- a/msgraph_beta/generated/models/service_level_agreement_root.py +++ b/msgraph_beta/generated/models/service_level_agreement_root.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .azure_a_d_authentication import AzureADAuthentication + from .entity import Entity + writer.write_object_value("azureADAuthentication", self.azure_a_d_authentication) diff --git a/msgraph_beta/generated/models/service_now_authentication_method.py b/msgraph_beta/generated/models/service_now_authentication_method.py index a597a4fb85a..bdd98297305 100644 --- a/msgraph_beta/generated/models/service_now_authentication_method.py +++ b/msgraph_beta/generated/models/service_now_authentication_method.py @@ -30,7 +30,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> ServiceNowAuthenti if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.serviceNowOauthSecretAuthentication".casefold(): @@ -61,6 +62,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .service_now_oauth_secret_authentication import ServiceNowOauthSecretAuthentication + writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/service_now_connection.py b/msgraph_beta/generated/models/service_now_connection.py index 2e98393be64..507d85235ca 100644 --- a/msgraph_beta/generated/models/service_now_connection.py +++ b/msgraph_beta/generated/models/service_now_connection.py @@ -79,6 +79,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .service_now_authentication_method import ServiceNowAuthenticationMethod + from .service_now_connection_status import ServiceNowConnectionStatus + writer.write_object_value("authenticationMethod", self.authentication_method) writer.write_datetime_value("createdDateTime", self.created_date_time) writer.write_str_value("incidentApiUrl", self.incident_api_url) diff --git a/msgraph_beta/generated/models/service_now_connection_collection_response.py b/msgraph_beta/generated/models/service_now_connection_collection_response.py index 8f9d5c8f023..07f3d0ad8ff 100644 --- a/msgraph_beta/generated/models/service_now_connection_collection_response.py +++ b/msgraph_beta/generated/models/service_now_connection_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .service_now_connection import ServiceNowConnection + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/service_now_oauth_secret_authentication.py b/msgraph_beta/generated/models/service_now_oauth_secret_authentication.py index 3e7826afbaa..fbfc8f9d0c3 100644 --- a/msgraph_beta/generated/models/service_now_oauth_secret_authentication.py +++ b/msgraph_beta/generated/models/service_now_oauth_secret_authentication.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .service_now_authentication_method import ServiceNowAuthenticationMethod + writer.write_str_value("appId", self.app_id) diff --git a/msgraph_beta/generated/models/service_principal.py b/msgraph_beta/generated/models/service_principal.py index 68f62c2f472..931d3823a0f 100644 --- a/msgraph_beta/generated/models/service_principal.py +++ b/msgraph_beta/generated/models/service_principal.py @@ -302,6 +302,33 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .add_in import AddIn + from .app_management_policy import AppManagementPolicy + from .app_role import AppRole + from .app_role_assignment import AppRoleAssignment + from .claims_mapping_policy import ClaimsMappingPolicy + from .custom_claims_policy import CustomClaimsPolicy + from .custom_security_attribute_value import CustomSecurityAttributeValue + from .delegated_permission_classification import DelegatedPermissionClassification + from .directory_object import DirectoryObject + from .endpoint import Endpoint + from .federated_identity_credential import FederatedIdentityCredential + from .home_realm_discovery_policy import HomeRealmDiscoveryPolicy + from .informational_url import InformationalUrl + from .key_credential import KeyCredential + from .license_details import LicenseDetails + from .o_auth2_permission_grant import OAuth2PermissionGrant + from .password_credential import PasswordCredential + from .password_single_sign_on_settings import PasswordSingleSignOnSettings + from .permission_grant_pre_approval_policy import PermissionGrantPreApprovalPolicy + from .permission_scope import PermissionScope + from .remote_desktop_security_configuration import RemoteDesktopSecurityConfiguration + from .saml_single_sign_on_settings import SamlSingleSignOnSettings + from .synchronization import Synchronization + from .token_issuance_policy import TokenIssuancePolicy + from .token_lifetime_policy import TokenLifetimePolicy + from .verified_publisher import VerifiedPublisher + writer.write_bool_value("accountEnabled", self.account_enabled) writer.write_collection_of_object_values("addIns", self.add_ins) writer.write_collection_of_primitive_values("alternativeNames", self.alternative_names) diff --git a/msgraph_beta/generated/models/service_principal_collection_response.py b/msgraph_beta/generated/models/service_principal_collection_response.py index 13a89896b2c..a72c4ba5805 100644 --- a/msgraph_beta/generated/models/service_principal_collection_response.py +++ b/msgraph_beta/generated/models/service_principal_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .service_principal import ServicePrincipal + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/service_principal_creation_condition_set.py b/msgraph_beta/generated/models/service_principal_creation_condition_set.py index aa5d56dbc13..cdfbb3e0822 100644 --- a/msgraph_beta/generated/models/service_principal_creation_condition_set.py +++ b/msgraph_beta/generated/models/service_principal_creation_condition_set.py @@ -63,6 +63,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_collection_of_primitive_values("applicationIds", self.application_ids) writer.write_collection_of_primitive_values("applicationPublisherIds", self.application_publisher_ids) writer.write_collection_of_primitive_values("applicationTenantIds", self.application_tenant_ids) diff --git a/msgraph_beta/generated/models/service_principal_creation_condition_set_collection_response.py b/msgraph_beta/generated/models/service_principal_creation_condition_set_collection_response.py index b7d88a3f315..56a88afb817 100644 --- a/msgraph_beta/generated/models/service_principal_creation_condition_set_collection_response.py +++ b/msgraph_beta/generated/models/service_principal_creation_condition_set_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .service_principal_creation_condition_set import ServicePrincipalCreationConditionSet + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/service_principal_creation_policy.py b/msgraph_beta/generated/models/service_principal_creation_policy.py index 1147dec7e08..5c7a1b1df74 100644 --- a/msgraph_beta/generated/models/service_principal_creation_policy.py +++ b/msgraph_beta/generated/models/service_principal_creation_policy.py @@ -60,6 +60,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .policy_base import PolicyBase + from .service_principal_creation_condition_set import ServicePrincipalCreationConditionSet + writer.write_collection_of_object_values("excludes", self.excludes) writer.write_collection_of_object_values("includes", self.includes) writer.write_bool_value("isBuiltIn", self.is_built_in) diff --git a/msgraph_beta/generated/models/service_principal_creation_policy_collection_response.py b/msgraph_beta/generated/models/service_principal_creation_policy_collection_response.py index 24026505b52..fbdc1945f7f 100644 --- a/msgraph_beta/generated/models/service_principal_creation_policy_collection_response.py +++ b/msgraph_beta/generated/models/service_principal_creation_policy_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .service_principal_creation_policy import ServicePrincipalCreationPolicy + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/service_principal_identity.py b/msgraph_beta/generated/models/service_principal_identity.py index f54cb3d5f8d..01abdc341b6 100644 --- a/msgraph_beta/generated/models/service_principal_identity.py +++ b/msgraph_beta/generated/models/service_principal_identity.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .identity import Identity + writer.write_str_value("appId", self.app_id) diff --git a/msgraph_beta/generated/models/service_principal_risk_detection.py b/msgraph_beta/generated/models/service_principal_risk_detection.py index 8bb3270575e..8ab20c201d4 100644 --- a/msgraph_beta/generated/models/service_principal_risk_detection.py +++ b/msgraph_beta/generated/models/service_principal_risk_detection.py @@ -18,7 +18,7 @@ @dataclass class ServicePrincipalRiskDetection(Entity): - # 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. You must use the Prefer: include-unknown-enum-members request header to get the following values 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 @@ -26,11 +26,11 @@ class ServicePrincipalRiskDetection(Entity): additional_info: Optional[str] = None # The unique identifier for the associated application. app_id: Optional[str] = None - # Correlation ID 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. + # Correlation ID of the sign-in activity associated with the risk detection. This property is null if the risk detection isn't associated with a sign-in activity. correlation_id: Optional[str] = None # Date and time when the risk was detected. 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. detected_date_time: Optional[datetime.datetime] = None - # Timing of the detected risk , whether real-time or offline). The possible values are: notDefined, realtime, nearRealtime, offline, unknownFutureValue. + # Timing of the detected risk, whether real-time or offline). The possible values are: notDefined, realtime, nearRealtime, offline, unknownFutureValue. detection_timing_type: Optional[RiskDetectionTimingType] = None # Provides the IP address of the client from where the risk occurred. ip_address: Optional[str] = None @@ -44,13 +44,13 @@ class ServicePrincipalRiskDetection(Entity): mitre_technique_id: Optional[str] = None # The OdataType property 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 identifier of the sign-in activity associated with the risk detection. This property is null if the risk detection isn't 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 are returned hidden. The possible values are: none, hidden, adminConfirmedServicePrincipalCompromised, adminDismissedAllRiskForServicePrincipal. You must use the Prefer: include-unknown-enum-members request header to get the following values 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. + # The type of risk event detected. The possible values are: investigationsThreatIntelligence, generic, adminConfirmedServicePrincipalCompromised, suspiciousSignins, leakedCredentials, anomalousServicePrincipalActivity, maliciousApplication, suspiciousApplication, suspiciousAPITraffic. risk_event_type: Optional[str] = None - # Level 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: low, medium, high, hidden, none. + # Level of the detected risk. Note: Details for this property are only available for Workload Identities Premium customers. Events in tenants without this license are returned hidden. The possible values are: low, medium, high, hidden, none. risk_level: Optional[RiskLevel] = None # The state of a detected risky service principal or sign-in activity. The possible values are: none, dismissed, atRisk, confirmedCompromised. risk_state: Optional[RiskState] = None @@ -133,6 +133,15 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .activity_type import ActivityType + from .entity import Entity + from .risk_detail import RiskDetail + from .risk_detection_timing_type import RiskDetectionTimingType + from .risk_level import RiskLevel + from .risk_state import RiskState + from .sign_in_location import SignInLocation + from .token_issuer_type import TokenIssuerType + writer.write_enum_value("activity", self.activity) writer.write_datetime_value("activityDateTime", self.activity_date_time) writer.write_str_value("additionalInfo", self.additional_info) diff --git a/msgraph_beta/generated/models/service_principal_risk_detection_collection_response.py b/msgraph_beta/generated/models/service_principal_risk_detection_collection_response.py index 3a2486edf99..fd624d342f0 100644 --- a/msgraph_beta/generated/models/service_principal_risk_detection_collection_response.py +++ b/msgraph_beta/generated/models/service_principal_risk_detection_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .service_principal_risk_detection import ServicePrincipalRiskDetection + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/service_principal_sign_in_activity.py b/msgraph_beta/generated/models/service_principal_sign_in_activity.py index 5208c673e3c..764d7ac7259 100644 --- a/msgraph_beta/generated/models/service_principal_sign_in_activity.py +++ b/msgraph_beta/generated/models/service_principal_sign_in_activity.py @@ -69,6 +69,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .sign_in_activity import SignInActivity + writer.write_str_value("appId", self.app_id) writer.write_object_value("applicationAuthenticationClientSignInActivity", self.application_authentication_client_sign_in_activity) writer.write_object_value("applicationAuthenticationResourceSignInActivity", self.application_authentication_resource_sign_in_activity) diff --git a/msgraph_beta/generated/models/service_principal_sign_in_activity_collection_response.py b/msgraph_beta/generated/models/service_principal_sign_in_activity_collection_response.py index deb07eb9b3b..b7c367f44bc 100644 --- a/msgraph_beta/generated/models/service_principal_sign_in_activity_collection_response.py +++ b/msgraph_beta/generated/models/service_principal_sign_in_activity_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .service_principal_sign_in_activity import ServicePrincipalSignInActivity + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/service_principal_subject.py b/msgraph_beta/generated/models/service_principal_subject.py index cd4aa2851b0..bf6041a6ec0 100644 --- a/msgraph_beta/generated/models/service_principal_subject.py +++ b/msgraph_beta/generated/models/service_principal_subject.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .conditional_access_what_if_subject import ConditionalAccessWhatIfSubject + writer.write_str_value("servicePrincipalId", self.service_principal_id) diff --git a/msgraph_beta/generated/models/service_provisioning_error.py b/msgraph_beta/generated/models/service_provisioning_error.py index b058791c66d..57c0809c6f5 100644 --- a/msgraph_beta/generated/models/service_provisioning_error.py +++ b/msgraph_beta/generated/models/service_provisioning_error.py @@ -35,7 +35,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> ServiceProvisionin if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.serviceProvisioningResourceError".casefold(): @@ -75,6 +76,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .service_provisioning_resource_error import ServiceProvisioningResourceError + from .service_provisioning_xml_error import ServiceProvisioningXmlError + writer.write_datetime_value("createdDateTime", self.created_date_time) writer.write_bool_value("isResolved", self.is_resolved) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/service_provisioning_error_collection_response.py b/msgraph_beta/generated/models/service_provisioning_error_collection_response.py index e6a022c2fd5..e8b12a85dba 100644 --- a/msgraph_beta/generated/models/service_provisioning_error_collection_response.py +++ b/msgraph_beta/generated/models/service_provisioning_error_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .service_provisioning_error import ServiceProvisioningError + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/service_provisioning_linked_resource_error_detail.py b/msgraph_beta/generated/models/service_provisioning_linked_resource_error_detail.py index 386cb58c99a..97735aca255 100644 --- a/msgraph_beta/generated/models/service_provisioning_linked_resource_error_detail.py +++ b/msgraph_beta/generated/models/service_provisioning_linked_resource_error_detail.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .service_provisioning_resource_error_detail import ServiceProvisioningResourceErrorDetail + writer.write_str_value("propertyName", self.property_name) writer.write_str_value("target", self.target) diff --git a/msgraph_beta/generated/models/service_provisioning_resource_error.py b/msgraph_beta/generated/models/service_provisioning_resource_error.py index 817e47f812b..9c473f6c81a 100644 --- a/msgraph_beta/generated/models/service_provisioning_resource_error.py +++ b/msgraph_beta/generated/models/service_provisioning_resource_error.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .service_provisioning_error import ServiceProvisioningError + from .service_provisioning_resource_error_detail import ServiceProvisioningResourceErrorDetail + writer.write_collection_of_object_values("errors", self.errors) diff --git a/msgraph_beta/generated/models/service_provisioning_resource_error_detail.py b/msgraph_beta/generated/models/service_provisioning_resource_error_detail.py index 9429f333823..77bb921dd1d 100644 --- a/msgraph_beta/generated/models/service_provisioning_resource_error_detail.py +++ b/msgraph_beta/generated/models/service_provisioning_resource_error_detail.py @@ -33,7 +33,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> ServiceProvisionin if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.serviceProvisioningLinkedResourceErrorDetail".casefold(): @@ -67,6 +68,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .service_provisioning_linked_resource_error_detail import ServiceProvisioningLinkedResourceErrorDetail + writer.write_str_value("code", self.code) writer.write_str_value("details", self.details) writer.write_str_value("message", self.message) diff --git a/msgraph_beta/generated/models/service_provisioning_xml_error.py b/msgraph_beta/generated/models/service_provisioning_xml_error.py index 4ef5c7e826d..535012e9c25 100644 --- a/msgraph_beta/generated/models/service_provisioning_xml_error.py +++ b/msgraph_beta/generated/models/service_provisioning_xml_error.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .service_provisioning_error import ServiceProvisioningError + writer.write_str_value("errorDetail", self.error_detail) diff --git a/msgraph_beta/generated/models/service_status.py b/msgraph_beta/generated/models/service_status.py index bf777814b45..f0710b1bb86 100644 --- a/msgraph_beta/generated/models/service_status.py +++ b/msgraph_beta/generated/models/service_status.py @@ -81,6 +81,11 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .backup_service_consumer import BackupServiceConsumer + from .backup_service_status import BackupServiceStatus + from .disable_reason import DisableReason + from .identity_set import IdentitySet + writer.write_enum_value("backupServiceConsumer", self.backup_service_consumer) writer.write_enum_value("disableReason", self.disable_reason) writer.write_datetime_value("gracePeriodDateTime", self.grace_period_date_time) diff --git a/msgraph_beta/generated/models/service_storage_quota_breakdown.py b/msgraph_beta/generated/models/service_storage_quota_breakdown.py index e79ee3fceb7..bf3e6b3c64a 100644 --- a/msgraph_beta/generated/models/service_storage_quota_breakdown.py +++ b/msgraph_beta/generated/models/service_storage_quota_breakdown.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .storage_quota_breakdown import StorageQuotaBreakdown + diff --git a/msgraph_beta/generated/models/service_storage_quota_breakdown_collection_response.py b/msgraph_beta/generated/models/service_storage_quota_breakdown_collection_response.py index a37e11b1b6a..1228728c87b 100644 --- a/msgraph_beta/generated/models/service_storage_quota_breakdown_collection_response.py +++ b/msgraph_beta/generated/models/service_storage_quota_breakdown_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .service_storage_quota_breakdown import ServiceStorageQuotaBreakdown + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/service_update_message.py b/msgraph_beta/generated/models/service_update_message.py index 1dca2b126ef..08be7edb796 100644 --- a/msgraph_beta/generated/models/service_update_message.py +++ b/msgraph_beta/generated/models/service_update_message.py @@ -97,6 +97,13 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .item_body import ItemBody + from .service_announcement_attachment import ServiceAnnouncementAttachment + from .service_announcement_base import ServiceAnnouncementBase + from .service_update_category import ServiceUpdateCategory + from .service_update_message_viewpoint import ServiceUpdateMessageViewpoint + from .service_update_severity import ServiceUpdateSeverity + writer.write_datetime_value("actionRequiredByDateTime", self.action_required_by_date_time) writer.write_collection_of_object_values("attachments", self.attachments) writer.write_bytes_value("attachmentsArchive", self.attachments_archive) diff --git a/msgraph_beta/generated/models/service_update_message_collection_response.py b/msgraph_beta/generated/models/service_update_message_collection_response.py index 9b0139bf06e..a6a8c02b2c5 100644 --- a/msgraph_beta/generated/models/service_update_message_collection_response.py +++ b/msgraph_beta/generated/models/service_update_message_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .service_update_message import ServiceUpdateMessage + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/session_lifetime_policy.py b/msgraph_beta/generated/models/session_lifetime_policy.py index c60ad64c2b6..33fecd56933 100644 --- a/msgraph_beta/generated/models/session_lifetime_policy.py +++ b/msgraph_beta/generated/models/session_lifetime_policy.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .expiration_requirement import ExpirationRequirement + writer.write_str_value("detail", self.detail) writer.write_enum_value("expirationRequirement", self.expiration_requirement) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/setting_source.py b/msgraph_beta/generated/models/setting_source.py index e7c4926036e..50fe24c35be 100644 --- a/msgraph_beta/generated/models/setting_source.py +++ b/msgraph_beta/generated/models/setting_source.py @@ -59,6 +59,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .setting_source_type import SettingSourceType + writer.write_str_value("displayName", self.display_name) writer.write_str_value("id", self.id) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/setting_state_device_summary.py b/msgraph_beta/generated/models/setting_state_device_summary.py index e6bd080090d..a4014bfb3e0 100644 --- a/msgraph_beta/generated/models/setting_state_device_summary.py +++ b/msgraph_beta/generated/models/setting_state_device_summary.py @@ -78,6 +78,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_int_value("compliantDeviceCount", self.compliant_device_count) writer.write_int_value("conflictDeviceCount", self.conflict_device_count) writer.write_int_value("errorDeviceCount", self.error_device_count) diff --git a/msgraph_beta/generated/models/setting_state_device_summary_collection_response.py b/msgraph_beta/generated/models/setting_state_device_summary_collection_response.py index 1529b63219b..52f6a3f80ae 100644 --- a/msgraph_beta/generated/models/setting_state_device_summary_collection_response.py +++ b/msgraph_beta/generated/models/setting_state_device_summary_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .setting_state_device_summary import SettingStateDeviceSummary + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/share_action.py b/msgraph_beta/generated/models/share_action.py index e71f8b23999..b81d23c27fd 100644 --- a/msgraph_beta/generated/models/share_action.py +++ b/msgraph_beta/generated/models/share_action.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .identity_set import IdentitySet + writer.write_str_value("@odata.type", self.odata_type) writer.write_collection_of_object_values("recipients", self.recipients) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/share_point_identity.py b/msgraph_beta/generated/models/share_point_identity.py index 5334e2685be..a832e35c38d 100644 --- a/msgraph_beta/generated/models/share_point_identity.py +++ b/msgraph_beta/generated/models/share_point_identity.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .identity import Identity + writer.write_str_value("loginName", self.login_name) diff --git a/msgraph_beta/generated/models/share_point_identity_set.py b/msgraph_beta/generated/models/share_point_identity_set.py index 3bc0291b73a..cd4df7b4a93 100644 --- a/msgraph_beta/generated/models/share_point_identity_set.py +++ b/msgraph_beta/generated/models/share_point_identity_set.py @@ -63,6 +63,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .identity import Identity + from .identity_set import IdentitySet + from .share_point_identity import SharePointIdentity + writer.write_object_value("group", self.group) writer.write_object_value("siteGroup", self.site_group) writer.write_object_value("siteUser", self.site_user) diff --git a/msgraph_beta/generated/models/share_point_one_drive_options.py b/msgraph_beta/generated/models/share_point_one_drive_options.py index 091086fdcc5..70ba105e6d1 100644 --- a/msgraph_beta/generated/models/share_point_one_drive_options.py +++ b/msgraph_beta/generated/models/share_point_one_drive_options.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .search_content import SearchContent + writer.write_enum_value("includeContent", self.include_content) writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/share_point_protection_policy.py b/msgraph_beta/generated/models/share_point_protection_policy.py index 8dfcba21f54..574a5811659 100644 --- a/msgraph_beta/generated/models/share_point_protection_policy.py +++ b/msgraph_beta/generated/models/share_point_protection_policy.py @@ -66,6 +66,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .protection_policy_base import ProtectionPolicyBase + from .site_protection_rule import SiteProtectionRule + from .site_protection_unit import SiteProtectionUnit + from .site_protection_units_bulk_addition_job import SiteProtectionUnitsBulkAdditionJob + writer.write_collection_of_object_values("siteInclusionRules", self.site_inclusion_rules) writer.write_collection_of_object_values("siteProtectionUnits", self.site_protection_units) writer.write_collection_of_object_values("siteProtectionUnitsBulkAdditionJobs", self.site_protection_units_bulk_addition_jobs) diff --git a/msgraph_beta/generated/models/share_point_protection_policy_collection_response.py b/msgraph_beta/generated/models/share_point_protection_policy_collection_response.py index 94b535b98bc..6f0b986fa49 100644 --- a/msgraph_beta/generated/models/share_point_protection_policy_collection_response.py +++ b/msgraph_beta/generated/models/share_point_protection_policy_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .share_point_protection_policy import SharePointProtectionPolicy + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/share_point_restore_session.py b/msgraph_beta/generated/models/share_point_restore_session.py index 43cb8baebbc..f1ee47d9859 100644 --- a/msgraph_beta/generated/models/share_point_restore_session.py +++ b/msgraph_beta/generated/models/share_point_restore_session.py @@ -6,6 +6,7 @@ if TYPE_CHECKING: from .restore_session_base import RestoreSessionBase from .site_restore_artifact import SiteRestoreArtifact + from .site_restore_artifacts_bulk_addition_request import SiteRestoreArtifactsBulkAdditionRequest from .restore_session_base import RestoreSessionBase @@ -15,6 +16,8 @@ class SharePointRestoreSession(RestoreSessionBase): odata_type: Optional[str] = "#microsoft.graph.sharePointRestoreSession" # A collection of restore points and destination details that can be used to restore SharePoint sites. site_restore_artifacts: Optional[List[SiteRestoreArtifact]] = None + # The siteRestoreArtifactsBulkAdditionRequests property + site_restore_artifacts_bulk_addition_requests: Optional[List[SiteRestoreArtifactsBulkAdditionRequest]] = None @staticmethod def create_from_discriminator_value(parse_node: ParseNode) -> SharePointRestoreSession: @@ -34,12 +37,15 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: """ from .restore_session_base import RestoreSessionBase from .site_restore_artifact import SiteRestoreArtifact + from .site_restore_artifacts_bulk_addition_request import SiteRestoreArtifactsBulkAdditionRequest from .restore_session_base import RestoreSessionBase from .site_restore_artifact import SiteRestoreArtifact + from .site_restore_artifacts_bulk_addition_request import SiteRestoreArtifactsBulkAdditionRequest fields: Dict[str, Callable[[Any], None]] = { "siteRestoreArtifacts": lambda n : setattr(self, 'site_restore_artifacts', n.get_collection_of_object_values(SiteRestoreArtifact)), + "siteRestoreArtifactsBulkAdditionRequests": lambda n : setattr(self, 'site_restore_artifacts_bulk_addition_requests', n.get_collection_of_object_values(SiteRestoreArtifactsBulkAdditionRequest)), } super_fields = super().get_field_deserializers() fields.update(super_fields) @@ -54,6 +60,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .restore_session_base import RestoreSessionBase + from .site_restore_artifact import SiteRestoreArtifact + from .site_restore_artifacts_bulk_addition_request import SiteRestoreArtifactsBulkAdditionRequest + writer.write_collection_of_object_values("siteRestoreArtifacts", self.site_restore_artifacts) + writer.write_collection_of_object_values("siteRestoreArtifactsBulkAdditionRequests", self.site_restore_artifacts_bulk_addition_requests) diff --git a/msgraph_beta/generated/models/share_point_restore_session_collection_response.py b/msgraph_beta/generated/models/share_point_restore_session_collection_response.py index 7a6aa646272..6d73194fcc4 100644 --- a/msgraph_beta/generated/models/share_point_restore_session_collection_response.py +++ b/msgraph_beta/generated/models/share_point_restore_session_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .share_point_restore_session import SharePointRestoreSession + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/share_point_sharing_abilities.py b/msgraph_beta/generated/models/share_point_sharing_abilities.py index f2366b190bf..2ea484b5b8e 100644 --- a/msgraph_beta/generated/models/share_point_sharing_abilities.py +++ b/msgraph_beta/generated/models/share_point_sharing_abilities.py @@ -65,6 +65,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .direct_sharing_abilities import DirectSharingAbilities + from .link_scope_abilities import LinkScopeAbilities + writer.write_object_value("anyoneLinkAbilities", self.anyone_link_abilities) writer.write_object_value("directSharingAbilities", self.direct_sharing_abilities) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/shared.py b/msgraph_beta/generated/models/shared.py index f1c9de58fa7..90485fd001f 100644 --- a/msgraph_beta/generated/models/shared.py +++ b/msgraph_beta/generated/models/shared.py @@ -63,6 +63,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .identity_set import IdentitySet + writer.write_str_value("@odata.type", self.odata_type) writer.write_object_value("owner", self.owner) writer.write_str_value("scope", self.scope) diff --git a/msgraph_beta/generated/models/shared_drive_item.py b/msgraph_beta/generated/models/shared_drive_item.py index 24ec980ea29..1a64141a204 100644 --- a/msgraph_beta/generated/models/shared_drive_item.py +++ b/msgraph_beta/generated/models/shared_drive_item.py @@ -90,6 +90,14 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_item import BaseItem + from .drive_item import DriveItem + from .identity_set import IdentitySet + from .list_ import List_ + from .list_item import ListItem + from .permission import Permission + from .site import Site + writer.write_object_value("driveItem", self.drive_item) writer.write_collection_of_object_values("items", self.items) writer.write_object_value("list", self.list_) diff --git a/msgraph_beta/generated/models/shared_drive_item_collection_response.py b/msgraph_beta/generated/models/shared_drive_item_collection_response.py index 4d1e13532f5..57b0440cfc0 100644 --- a/msgraph_beta/generated/models/shared_drive_item_collection_response.py +++ b/msgraph_beta/generated/models/shared_drive_item_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .shared_drive_item import SharedDriveItem + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/shared_email_domain.py b/msgraph_beta/generated/models/shared_email_domain.py index 113cff6a0f6..ba20045f375 100644 --- a/msgraph_beta/generated/models/shared_email_domain.py +++ b/msgraph_beta/generated/models/shared_email_domain.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_str_value("provisioningStatus", self.provisioning_status) diff --git a/msgraph_beta/generated/models/shared_email_domain_collection_response.py b/msgraph_beta/generated/models/shared_email_domain_collection_response.py index e14b3ebaf00..f56311f6874 100644 --- a/msgraph_beta/generated/models/shared_email_domain_collection_response.py +++ b/msgraph_beta/generated/models/shared_email_domain_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .shared_email_domain import SharedEmailDomain + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/shared_email_domain_invitation.py b/msgraph_beta/generated/models/shared_email_domain_invitation.py index 330f4483985..3de3e30b47d 100644 --- a/msgraph_beta/generated/models/shared_email_domain_invitation.py +++ b/msgraph_beta/generated/models/shared_email_domain_invitation.py @@ -58,6 +58,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_datetime_value("expiryTime", self.expiry_time) writer.write_str_value("invitationDomain", self.invitation_domain) writer.write_str_value("invitationStatus", self.invitation_status) diff --git a/msgraph_beta/generated/models/shared_email_domain_invitation_collection_response.py b/msgraph_beta/generated/models/shared_email_domain_invitation_collection_response.py index 6b7dacaf284..14a1dee2b45 100644 --- a/msgraph_beta/generated/models/shared_email_domain_invitation_collection_response.py +++ b/msgraph_beta/generated/models/shared_email_domain_invitation_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .shared_email_domain_invitation import SharedEmailDomainInvitation + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/shared_insight.py b/msgraph_beta/generated/models/shared_insight.py index 9ad93a85283..075765c9a00 100644 --- a/msgraph_beta/generated/models/shared_insight.py +++ b/msgraph_beta/generated/models/shared_insight.py @@ -75,6 +75,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .resource_reference import ResourceReference + from .resource_visualization import ResourceVisualization + from .sharing_detail import SharingDetail + writer.write_object_value("lastShared", self.last_shared) writer.write_object_value("lastSharedMethod", self.last_shared_method) writer.write_object_value("resource", self.resource) diff --git a/msgraph_beta/generated/models/shared_insight_collection_response.py b/msgraph_beta/generated/models/shared_insight_collection_response.py index 5530cab7aab..fbbda477a66 100644 --- a/msgraph_beta/generated/models/shared_insight_collection_response.py +++ b/msgraph_beta/generated/models/shared_insight_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .shared_insight import SharedInsight + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/shared_p_c_account_manager_policy.py b/msgraph_beta/generated/models/shared_p_c_account_manager_policy.py index da72d290c5f..f82d703f60c 100644 --- a/msgraph_beta/generated/models/shared_p_c_account_manager_policy.py +++ b/msgraph_beta/generated/models/shared_p_c_account_manager_policy.py @@ -65,6 +65,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .shared_p_c_account_deletion_policy_type import SharedPCAccountDeletionPolicyType + writer.write_enum_value("accountDeletionPolicy", self.account_deletion_policy) writer.write_int_value("cacheAccountsAboveDiskFreePercentage", self.cache_accounts_above_disk_free_percentage) writer.write_int_value("inactiveThresholdDays", self.inactive_threshold_days) diff --git a/msgraph_beta/generated/models/shared_p_c_configuration.py b/msgraph_beta/generated/models/shared_p_c_configuration.py index 4b61ac9ccaa..1c246f61953 100644 --- a/msgraph_beta/generated/models/shared_p_c_configuration.py +++ b/msgraph_beta/generated/models/shared_p_c_configuration.py @@ -115,6 +115,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_configuration import DeviceConfiguration + from .enablement import Enablement + from .shared_p_c_account_manager_policy import SharedPCAccountManagerPolicy + from .shared_p_c_allowed_account_type import SharedPCAllowedAccountType + writer.write_object_value("accountManagerPolicy", self.account_manager_policy) writer.write_bool_value("allowLocalStorage", self.allow_local_storage) writer.write_enum_value("allowedAccounts", self.allowed_accounts) diff --git a/msgraph_beta/generated/models/shared_with_channel_team_info.py b/msgraph_beta/generated/models/shared_with_channel_team_info.py index c404fe98547..6dcea2a3f18 100644 --- a/msgraph_beta/generated/models/shared_with_channel_team_info.py +++ b/msgraph_beta/generated/models/shared_with_channel_team_info.py @@ -57,6 +57,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .conversation_member import ConversationMember + from .team_info import TeamInfo + writer.write_collection_of_object_values("allowedMembers", self.allowed_members) writer.write_bool_value("isHostTeam", self.is_host_team) diff --git a/msgraph_beta/generated/models/shared_with_channel_team_info_collection_response.py b/msgraph_beta/generated/models/shared_with_channel_team_info_collection_response.py index c69d2a5bef9..fc1f9c4f023 100644 --- a/msgraph_beta/generated/models/shared_with_channel_team_info_collection_response.py +++ b/msgraph_beta/generated/models/shared_with_channel_team_info_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .shared_with_channel_team_info import SharedWithChannelTeamInfo + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/sharepoint.py b/msgraph_beta/generated/models/sharepoint.py index c7c9ed7b042..f45ae03085d 100644 --- a/msgraph_beta/generated/models/sharepoint.py +++ b/msgraph_beta/generated/models/sharepoint.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .sharepoint_settings import SharepointSettings + writer.write_object_value("settings", self.settings) diff --git a/msgraph_beta/generated/models/sharepoint_settings.py b/msgraph_beta/generated/models/sharepoint_settings.py index fa366260d1b..14c7b481b15 100644 --- a/msgraph_beta/generated/models/sharepoint_settings.py +++ b/msgraph_beta/generated/models/sharepoint_settings.py @@ -148,6 +148,12 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .idle_session_sign_out import IdleSessionSignOut + from .image_tagging_choice import ImageTaggingChoice + from .sharing_capabilities import SharingCapabilities + from .sharing_domain_restriction_mode import SharingDomainRestrictionMode + writer.write_collection_of_primitive_values("allowedDomainGuidsForSyncApp", self.allowed_domain_guids_for_sync_app) writer.write_collection_of_primitive_values("availableManagedPathsForSiteCreation", self.available_managed_paths_for_site_creation) writer.write_int_value("deletedUserPersonalSiteRetentionPeriodInDays", self.deleted_user_personal_site_retention_period_in_days) diff --git a/msgraph_beta/generated/models/sharing_detail.py b/msgraph_beta/generated/models/sharing_detail.py index d895c38411f..84c6a1269b2 100644 --- a/msgraph_beta/generated/models/sharing_detail.py +++ b/msgraph_beta/generated/models/sharing_detail.py @@ -69,6 +69,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .insight_identity import InsightIdentity + from .resource_reference import ResourceReference + writer.write_str_value("@odata.type", self.odata_type) writer.write_object_value("sharedBy", self.shared_by) writer.write_datetime_value("sharedDateTime", self.shared_date_time) diff --git a/msgraph_beta/generated/models/sharing_invitation.py b/msgraph_beta/generated/models/sharing_invitation.py index ac7049c6c14..f27ce4943cd 100644 --- a/msgraph_beta/generated/models/sharing_invitation.py +++ b/msgraph_beta/generated/models/sharing_invitation.py @@ -62,6 +62,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .identity_set import IdentitySet + writer.write_str_value("email", self.email) writer.write_object_value("invitedBy", self.invited_by) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/sharing_link.py b/msgraph_beta/generated/models/sharing_link.py index 26fa248eef8..49003b8a4f9 100644 --- a/msgraph_beta/generated/models/sharing_link.py +++ b/msgraph_beta/generated/models/sharing_link.py @@ -71,6 +71,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .identity import Identity + writer.write_object_value("application", self.application) writer.write_str_value("configuratorUrl", self.configurator_url) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/sharing_link_variants.py b/msgraph_beta/generated/models/sharing_link_variants.py index 3024f9a1514..87ca31f55b9 100644 --- a/msgraph_beta/generated/models/sharing_link_variants.py +++ b/msgraph_beta/generated/models/sharing_link_variants.py @@ -65,6 +65,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .sharing_operation_status import SharingOperationStatus + from .sharing_role import SharingRole + writer.write_enum_value("addressBarLinkPermission", self.address_bar_link_permission) writer.write_object_value("allowEmbed", self.allow_embed) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/sharing_viewpoint.py b/msgraph_beta/generated/models/sharing_viewpoint.py index db5c795eb2b..043e3e1b327 100644 --- a/msgraph_beta/generated/models/sharing_viewpoint.py +++ b/msgraph_beta/generated/models/sharing_viewpoint.py @@ -59,6 +59,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .default_sharing_link import DefaultSharingLink + from .share_point_sharing_abilities import SharePointSharingAbilities + writer.write_object_value("defaultSharingLink", self.default_sharing_link) writer.write_str_value("@odata.type", self.odata_type) writer.write_object_value("sharingAbilities", self.sharing_abilities) diff --git a/msgraph_beta/generated/models/shift.py b/msgraph_beta/generated/models/shift.py index 974d1b7f344..7064662e28d 100644 --- a/msgraph_beta/generated/models/shift.py +++ b/msgraph_beta/generated/models/shift.py @@ -84,6 +84,12 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .change_tracked_entity import ChangeTrackedEntity + from .scheduling_group_info import SchedulingGroupInfo + from .shifts_team_info import ShiftsTeamInfo + from .shifts_user_info import ShiftsUserInfo + from .shift_item import ShiftItem + writer.write_object_value("draftShift", self.draft_shift) writer.write_bool_value("isStagedForDeletion", self.is_staged_for_deletion) writer.write_str_value("schedulingGroupId", self.scheduling_group_id) diff --git a/msgraph_beta/generated/models/shift_activity.py b/msgraph_beta/generated/models/shift_activity.py index 64885051864..7cc33f49527 100644 --- a/msgraph_beta/generated/models/shift_activity.py +++ b/msgraph_beta/generated/models/shift_activity.py @@ -69,6 +69,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .schedule_entity_theme import ScheduleEntityTheme + writer.write_str_value("code", self.code) writer.write_str_value("displayName", self.display_name) writer.write_datetime_value("endDateTime", self.end_date_time) diff --git a/msgraph_beta/generated/models/shift_availability.py b/msgraph_beta/generated/models/shift_availability.py index 58ab6d21f2c..7c90a025201 100644 --- a/msgraph_beta/generated/models/shift_availability.py +++ b/msgraph_beta/generated/models/shift_availability.py @@ -62,6 +62,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .patterned_recurrence import PatternedRecurrence + from .time_range import TimeRange + writer.write_str_value("@odata.type", self.odata_type) writer.write_object_value("recurrence", self.recurrence) writer.write_collection_of_object_values("timeSlots", self.time_slots) diff --git a/msgraph_beta/generated/models/shift_collection_response.py b/msgraph_beta/generated/models/shift_collection_response.py index 17dfc117a0b..15855b675f5 100644 --- a/msgraph_beta/generated/models/shift_collection_response.py +++ b/msgraph_beta/generated/models/shift_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .shift import Shift + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/shift_item.py b/msgraph_beta/generated/models/shift_item.py index 0c6fef1f74a..ea01a79a298 100644 --- a/msgraph_beta/generated/models/shift_item.py +++ b/msgraph_beta/generated/models/shift_item.py @@ -31,7 +31,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> ShiftItem: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.openShiftItem".casefold(): @@ -71,6 +72,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .open_shift_item import OpenShiftItem + from .schedule_entity import ScheduleEntity + from .shift_activity import ShiftActivity + writer.write_collection_of_object_values("activities", self.activities) writer.write_str_value("displayName", self.display_name) writer.write_str_value("notes", self.notes) diff --git a/msgraph_beta/generated/models/shift_preferences.py b/msgraph_beta/generated/models/shift_preferences.py index 7db9532add7..9f80f8f8f31 100644 --- a/msgraph_beta/generated/models/shift_preferences.py +++ b/msgraph_beta/generated/models/shift_preferences.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .change_tracked_entity import ChangeTrackedEntity + from .shift_availability import ShiftAvailability + writer.write_collection_of_object_values("availability", self.availability) diff --git a/msgraph_beta/generated/models/shifts_role_definition.py b/msgraph_beta/generated/models/shifts_role_definition.py index d57274f3f14..1fb549211ab 100644 --- a/msgraph_beta/generated/models/shifts_role_definition.py +++ b/msgraph_beta/generated/models/shifts_role_definition.py @@ -60,6 +60,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .shifts_role_permission import ShiftsRolePermission + writer.write_str_value("description", self.description) writer.write_str_value("displayName", self.display_name) writer.write_collection_of_object_values("shiftsRolePermissions", self.shifts_role_permissions) diff --git a/msgraph_beta/generated/models/shifts_role_definition_collection_response.py b/msgraph_beta/generated/models/shifts_role_definition_collection_response.py index dc141dfbab0..bd433d15d26 100644 --- a/msgraph_beta/generated/models/shifts_role_definition_collection_response.py +++ b/msgraph_beta/generated/models/shifts_role_definition_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .shifts_role_definition import ShiftsRoleDefinition + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/shipment_method_collection_response.py b/msgraph_beta/generated/models/shipment_method_collection_response.py index 9bbda05f8ed..7e286cc179c 100644 --- a/msgraph_beta/generated/models/shipment_method_collection_response.py +++ b/msgraph_beta/generated/models/shipment_method_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .shipment_method import ShipmentMethod + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/sign_in.py b/msgraph_beta/generated/models/sign_in.py index 422f2962a71..4a231949b61 100644 --- a/msgraph_beta/generated/models/sign_in.py +++ b/msgraph_beta/generated/models/sign_in.py @@ -156,6 +156,8 @@ class SignIn(Entity): service_principal_id: Optional[str] = None # The application name used for sign-in. This field is populated when you're signing in using an application. Supports $filter (eq, startsWith). service_principal_name: Optional[str] = None + # The sessionId property + session_id: Optional[str] = None # Any conditional access session management policies that were applied during the sign-in event. session_lifetime_policies: Optional[List[SessionLifetimePolicy]] = None # Indicates the category of sign in that the event represents. For user sign ins, the category can be interactiveUser or nonInteractiveUser and corresponds to the value for the isInteractive property on the signin resource. For managed identity sign ins, the category is managedIdentity. For service principal sign-ins, the category is servicePrincipal. Possible values are: interactiveUser, nonInteractiveUser, servicePrincipal, managedIdentity, unknownFutureValue. Supports $filter (eq, ne). @@ -326,6 +328,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: "servicePrincipalCredentialThumbprint": lambda n : setattr(self, 'service_principal_credential_thumbprint', n.get_str_value()), "servicePrincipalId": lambda n : setattr(self, 'service_principal_id', n.get_str_value()), "servicePrincipalName": lambda n : setattr(self, 'service_principal_name', n.get_str_value()), + "sessionId": lambda n : setattr(self, 'session_id', n.get_str_value()), "sessionLifetimePolicies": lambda n : setattr(self, 'session_lifetime_policies', n.get_collection_of_object_values(SessionLifetimePolicy)), "signInEventTypes": lambda n : setattr(self, 'sign_in_event_types', n.get_collection_of_primitive_values(str)), "signInIdentifier": lambda n : setattr(self, 'sign_in_identifier', n.get_str_value()), @@ -355,6 +358,39 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .applied_authentication_event_listener import AppliedAuthenticationEventListener + from .applied_conditional_access_policy import AppliedConditionalAccessPolicy + from .authentication_app_device_details import AuthenticationAppDeviceDetails + from .authentication_app_policy_details import AuthenticationAppPolicyDetails + from .authentication_context import AuthenticationContext + from .authentication_detail import AuthenticationDetail + from .authentication_requirement_policy import AuthenticationRequirementPolicy + from .client_credential_type import ClientCredentialType + from .conditional_access_audience import ConditionalAccessAudience + from .conditional_access_status import ConditionalAccessStatus + from .device_detail import DeviceDetail + from .entity import Entity + from .incoming_token_type import IncomingTokenType + from .key_value import KeyValue + from .managed_identity import ManagedIdentity + from .mfa_detail import MfaDetail + from .network_location_detail import NetworkLocationDetail + from .original_transfer_methods import OriginalTransferMethods + from .private_link_details import PrivateLinkDetails + from .protocol_type import ProtocolType + from .risk_detail import RiskDetail + from .risk_level import RiskLevel + from .risk_state import RiskState + from .session_lifetime_policy import SessionLifetimePolicy + from .sign_in_access_type import SignInAccessType + from .sign_in_identifier_type import SignInIdentifierType + from .sign_in_location import SignInLocation + from .sign_in_status import SignInStatus + from .sign_in_user_type import SignInUserType + from .token_issuer_type import TokenIssuerType + from .token_protection_status import TokenProtectionStatus + from .token_protection_status_details import TokenProtectionStatusDetails + writer.write_str_value("appDisplayName", self.app_display_name) writer.write_str_value("appId", self.app_id) writer.write_enum_value("appTokenProtectionStatus", self.app_token_protection_status) @@ -411,6 +447,7 @@ def serialize(self,writer: SerializationWriter) -> None: writer.write_str_value("servicePrincipalCredentialThumbprint", self.service_principal_credential_thumbprint) writer.write_str_value("servicePrincipalId", self.service_principal_id) writer.write_str_value("servicePrincipalName", self.service_principal_name) + writer.write_str_value("sessionId", self.session_id) writer.write_collection_of_object_values("sessionLifetimePolicies", self.session_lifetime_policies) writer.write_collection_of_primitive_values("signInEventTypes", self.sign_in_event_types) writer.write_str_value("signInIdentifier", self.sign_in_identifier) diff --git a/msgraph_beta/generated/models/sign_in_collection_response.py b/msgraph_beta/generated/models/sign_in_collection_response.py index d05ddf33aec..a38126a3a8e 100644 --- a/msgraph_beta/generated/models/sign_in_collection_response.py +++ b/msgraph_beta/generated/models/sign_in_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .sign_in import SignIn + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/sign_in_frequency_session_control.py b/msgraph_beta/generated/models/sign_in_frequency_session_control.py index 5c1b163b9ae..7cffff270bf 100644 --- a/msgraph_beta/generated/models/sign_in_frequency_session_control.py +++ b/msgraph_beta/generated/models/sign_in_frequency_session_control.py @@ -69,6 +69,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .conditional_access_session_control import ConditionalAccessSessionControl + from .signin_frequency_type import SigninFrequencyType + from .sign_in_frequency_authentication_type import SignInFrequencyAuthenticationType + from .sign_in_frequency_interval import SignInFrequencyInterval + writer.write_enum_value("authenticationType", self.authentication_type) writer.write_enum_value("frequencyInterval", self.frequency_interval) writer.write_enum_value("type", self.type) diff --git a/msgraph_beta/generated/models/sign_in_location.py b/msgraph_beta/generated/models/sign_in_location.py index 93eb38134e3..207d14ddda5 100644 --- a/msgraph_beta/generated/models/sign_in_location.py +++ b/msgraph_beta/generated/models/sign_in_location.py @@ -62,6 +62,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .geo_coordinates import GeoCoordinates + writer.write_str_value("city", self.city) writer.write_str_value("countryOrRegion", self.country_or_region) writer.write_object_value("geoCoordinates", self.geo_coordinates) diff --git a/msgraph_beta/generated/models/sign_in_preferences.py b/msgraph_beta/generated/models/sign_in_preferences.py index 0ff88b88d75..b411afa6ba8 100644 --- a/msgraph_beta/generated/models/sign_in_preferences.py +++ b/msgraph_beta/generated/models/sign_in_preferences.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .user_default_authentication_method_type import UserDefaultAuthenticationMethodType + writer.write_bool_value("isSystemPreferredAuthenticationMethodEnabled", self.is_system_preferred_authentication_method_enabled) writer.write_str_value("@odata.type", self.odata_type) writer.write_enum_value("userPreferredMethodForSecondaryAuthentication", self.user_preferred_method_for_secondary_authentication) diff --git a/msgraph_beta/generated/models/simulation.py b/msgraph_beta/generated/models/simulation.py index 92a1526c027..aa7b1a97603 100644 --- a/msgraph_beta/generated/models/simulation.py +++ b/msgraph_beta/generated/models/simulation.py @@ -160,6 +160,21 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .account_target_content import AccountTargetContent + from .email_identity import EmailIdentity + from .end_user_notification_setting import EndUserNotificationSetting + from .entity import Entity + from .landing_page import LandingPage + from .login_page import LoginPage + from .o_auth_consent_app_detail import OAuthConsentAppDetail + from .payload import Payload + from .payload_delivery_platform import PayloadDeliveryPlatform + from .simulation_attack_technique import SimulationAttackTechnique + from .simulation_attack_type import SimulationAttackType + from .simulation_report import SimulationReport + from .simulation_status import SimulationStatus + from .training_setting import TrainingSetting + writer.write_enum_value("attackTechnique", self.attack_technique) writer.write_enum_value("attackType", self.attack_type) writer.write_str_value("automationId", self.automation_id) diff --git a/msgraph_beta/generated/models/simulation_automation.py b/msgraph_beta/generated/models/simulation_automation.py index 866f4c5dc78..e8412013ae6 100644 --- a/msgraph_beta/generated/models/simulation_automation.py +++ b/msgraph_beta/generated/models/simulation_automation.py @@ -88,6 +88,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .email_identity import EmailIdentity + from .entity import Entity + from .simulation_automation_run import SimulationAutomationRun + from .simulation_automation_status import SimulationAutomationStatus + writer.write_object_value("createdBy", self.created_by) writer.write_datetime_value("createdDateTime", self.created_date_time) writer.write_str_value("description", self.description) diff --git a/msgraph_beta/generated/models/simulation_automation_collection_response.py b/msgraph_beta/generated/models/simulation_automation_collection_response.py index 27ee7eb2210..7c91adda9b0 100644 --- a/msgraph_beta/generated/models/simulation_automation_collection_response.py +++ b/msgraph_beta/generated/models/simulation_automation_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .simulation_automation import SimulationAutomation + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/simulation_automation_run.py b/msgraph_beta/generated/models/simulation_automation_run.py index d3d6b6dd981..1fb3ffcba72 100644 --- a/msgraph_beta/generated/models/simulation_automation_run.py +++ b/msgraph_beta/generated/models/simulation_automation_run.py @@ -64,6 +64,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .simulation_automation_run_status import SimulationAutomationRunStatus + writer.write_datetime_value("endDateTime", self.end_date_time) writer.write_str_value("simulationId", self.simulation_id) writer.write_datetime_value("startDateTime", self.start_date_time) diff --git a/msgraph_beta/generated/models/simulation_automation_run_collection_response.py b/msgraph_beta/generated/models/simulation_automation_run_collection_response.py index 61f4fdfa1f7..3a04f8bd8e5 100644 --- a/msgraph_beta/generated/models/simulation_automation_run_collection_response.py +++ b/msgraph_beta/generated/models/simulation_automation_run_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .simulation_automation_run import SimulationAutomationRun + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/simulation_collection_response.py b/msgraph_beta/generated/models/simulation_collection_response.py index 829cb02d13b..148981a2b13 100644 --- a/msgraph_beta/generated/models/simulation_collection_response.py +++ b/msgraph_beta/generated/models/simulation_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .simulation import Simulation + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/simulation_events_content.py b/msgraph_beta/generated/models/simulation_events_content.py index 2b8cf1fb856..a324f093412 100644 --- a/msgraph_beta/generated/models/simulation_events_content.py +++ b/msgraph_beta/generated/models/simulation_events_content.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .simulation_event import SimulationEvent + writer.write_float_value("compromisedRate", self.compromised_rate) writer.write_collection_of_object_values("events", self.events) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/simulation_notification.py b/msgraph_beta/generated/models/simulation_notification.py index fde344906df..05841038c6e 100644 --- a/msgraph_beta/generated/models/simulation_notification.py +++ b/msgraph_beta/generated/models/simulation_notification.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_end_user_notification import BaseEndUserNotification + from .targetted_user_type import TargettedUserType + writer.write_enum_value("targettedUserType", self.targetted_user_type) diff --git a/msgraph_beta/generated/models/simulation_report.py b/msgraph_beta/generated/models/simulation_report.py index f0d1ca1ce48..adbdc49a6cb 100644 --- a/msgraph_beta/generated/models/simulation_report.py +++ b/msgraph_beta/generated/models/simulation_report.py @@ -59,6 +59,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .simulation_report_overview import SimulationReportOverview + from .user_simulation_details import UserSimulationDetails + writer.write_str_value("@odata.type", self.odata_type) writer.write_object_value("overview", self.overview) writer.write_collection_of_object_values("simulationUsers", self.simulation_users) diff --git a/msgraph_beta/generated/models/simulation_report_overview.py b/msgraph_beta/generated/models/simulation_report_overview.py index 492182c6865..6fc093a4105 100644 --- a/msgraph_beta/generated/models/simulation_report_overview.py +++ b/msgraph_beta/generated/models/simulation_report_overview.py @@ -68,6 +68,10 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .recommended_action import RecommendedAction + from .simulation_events_content import SimulationEventsContent + from .training_events_content import TrainingEventsContent + writer.write_str_value("@odata.type", self.odata_type) writer.write_collection_of_object_values("recommendedActions", self.recommended_actions) writer.write_int_value("resolvedTargetsCount", self.resolved_targets_count) diff --git a/msgraph_beta/generated/models/single_resource_azure_permissions_definition.py b/msgraph_beta/generated/models/single_resource_azure_permissions_definition.py index 85720376556..81603715d49 100644 --- a/msgraph_beta/generated/models/single_resource_azure_permissions_definition.py +++ b/msgraph_beta/generated/models/single_resource_azure_permissions_definition.py @@ -57,6 +57,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .azure_permissions_definition_action import AzurePermissionsDefinitionAction + from .permissions_definition import PermissionsDefinition + writer.write_object_value("actionInfo", self.action_info) writer.write_str_value("resourceId", self.resource_id) diff --git a/msgraph_beta/generated/models/single_resource_gcp_permissions_definition.py b/msgraph_beta/generated/models/single_resource_gcp_permissions_definition.py index 5f76eb266c4..f8a91ed5a28 100644 --- a/msgraph_beta/generated/models/single_resource_gcp_permissions_definition.py +++ b/msgraph_beta/generated/models/single_resource_gcp_permissions_definition.py @@ -57,6 +57,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .gcp_permissions_definition_action import GcpPermissionsDefinitionAction + from .permissions_definition import PermissionsDefinition + writer.write_object_value("actionInfo", self.action_info) writer.write_str_value("resourceId", self.resource_id) diff --git a/msgraph_beta/generated/models/single_sign_on_extension.py b/msgraph_beta/generated/models/single_sign_on_extension.py index acdd0fa0b77..145a66be917 100644 --- a/msgraph_beta/generated/models/single_sign_on_extension.py +++ b/msgraph_beta/generated/models/single_sign_on_extension.py @@ -42,7 +42,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> SingleSignOnExtens if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.credentialSingleSignOnExtension".casefold(): @@ -145,6 +146,20 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .credential_single_sign_on_extension import CredentialSingleSignOnExtension + from .ios_azure_ad_single_sign_on_extension import IosAzureAdSingleSignOnExtension + from .ios_credential_single_sign_on_extension import IosCredentialSingleSignOnExtension + from .ios_kerberos_single_sign_on_extension import IosKerberosSingleSignOnExtension + from .ios_redirect_single_sign_on_extension import IosRedirectSingleSignOnExtension + from .ios_single_sign_on_extension import IosSingleSignOnExtension + from .kerberos_single_sign_on_extension import KerberosSingleSignOnExtension + from .mac_o_s_azure_ad_single_sign_on_extension import MacOSAzureAdSingleSignOnExtension + from .mac_o_s_credential_single_sign_on_extension import MacOSCredentialSingleSignOnExtension + from .mac_o_s_kerberos_single_sign_on_extension import MacOSKerberosSingleSignOnExtension + from .mac_o_s_redirect_single_sign_on_extension import MacOSRedirectSingleSignOnExtension + from .mac_o_s_single_sign_on_extension import MacOSSingleSignOnExtension + from .redirect_single_sign_on_extension import RedirectSingleSignOnExtension + writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/single_user.py b/msgraph_beta/generated/models/single_user.py index 28ee57cadfa..63ca4262270 100644 --- a/msgraph_beta/generated/models/single_user.py +++ b/msgraph_beta/generated/models/single_user.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .user_set import UserSet + writer.write_str_value("description", self.description) writer.write_str_value("id", self.id) diff --git a/msgraph_beta/generated/models/single_value_legacy_extended_property.py b/msgraph_beta/generated/models/single_value_legacy_extended_property.py index 923c847b799..d690f80df64 100644 --- a/msgraph_beta/generated/models/single_value_legacy_extended_property.py +++ b/msgraph_beta/generated/models/single_value_legacy_extended_property.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_str_value("value", self.value) diff --git a/msgraph_beta/generated/models/site.py b/msgraph_beta/generated/models/site.py index 6e92102be4b..27372e4b087 100644 --- a/msgraph_beta/generated/models/site.py +++ b/msgraph_beta/generated/models/site.py @@ -186,6 +186,28 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_item import BaseItem + from .base_site_page import BaseSitePage + from .column_definition import ColumnDefinition + from .content_model import ContentModel + from .content_type import ContentType + from .deleted import Deleted + from .document_processing_job import DocumentProcessingJob + from .drive import Drive + from .information_protection import InformationProtection + from .item_analytics import ItemAnalytics + from .list_ import List_ + from .onenote import Onenote + from .page_template import PageTemplate + from .permission import Permission + from .recycle_bin import RecycleBin + from .rich_long_running_operation import RichLongRunningOperation + from .root import Root + from .sharepoint_ids import SharepointIds + from .site_collection import SiteCollection + from .site_settings import SiteSettings + from .term_store.store import Store + writer.write_object_value("analytics", self.analytics) writer.write_collection_of_object_values("columns", self.columns) writer.write_collection_of_object_values("contentModels", self.content_models) diff --git a/msgraph_beta/generated/models/site_archival_details.py b/msgraph_beta/generated/models/site_archival_details.py index e173befdd97..319d8af2533 100644 --- a/msgraph_beta/generated/models/site_archival_details.py +++ b/msgraph_beta/generated/models/site_archival_details.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .site_archive_status import SiteArchiveStatus + writer.write_enum_value("archiveStatus", self.archive_status) writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/site_collection.py b/msgraph_beta/generated/models/site_collection.py index 8a41da4ed46..620a24280c4 100644 --- a/msgraph_beta/generated/models/site_collection.py +++ b/msgraph_beta/generated/models/site_collection.py @@ -65,6 +65,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .root import Root + from .site_archival_details import SiteArchivalDetails + writer.write_object_value("archivalDetails", self.archival_details) writer.write_str_value("dataLocationCode", self.data_location_code) writer.write_str_value("hostname", self.hostname) diff --git a/msgraph_beta/generated/models/site_collection_response.py b/msgraph_beta/generated/models/site_collection_response.py index e48d0db4009..d5d4fbde8c6 100644 --- a/msgraph_beta/generated/models/site_collection_response.py +++ b/msgraph_beta/generated/models/site_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .site import Site + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/site_page.py b/msgraph_beta/generated/models/site_page.py index 3a5032eaabb..1c7de1a54d9 100644 --- a/msgraph_beta/generated/models/site_page.py +++ b/msgraph_beta/generated/models/site_page.py @@ -87,6 +87,13 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_site_page import BaseSitePage + from .canvas_layout import CanvasLayout + from .page_promotion_type import PagePromotionType + from .reactions_facet import ReactionsFacet + from .title_area import TitleArea + from .web_part import WebPart + writer.write_object_value("canvasLayout", self.canvas_layout) writer.write_enum_value("promotionKind", self.promotion_kind) writer.write_object_value("reactions", self.reactions) diff --git a/msgraph_beta/generated/models/site_page_collection_response.py b/msgraph_beta/generated/models/site_page_collection_response.py index 88621a71138..c2eebbc699f 100644 --- a/msgraph_beta/generated/models/site_page_collection_response.py +++ b/msgraph_beta/generated/models/site_page_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .site_page import SitePage + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/site_protection_rule.py b/msgraph_beta/generated/models/site_protection_rule.py index 7b00bf9008a..88138df4859 100644 --- a/msgraph_beta/generated/models/site_protection_rule.py +++ b/msgraph_beta/generated/models/site_protection_rule.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .protection_rule_base import ProtectionRuleBase + writer.write_str_value("siteExpression", self.site_expression) diff --git a/msgraph_beta/generated/models/site_protection_rule_collection_response.py b/msgraph_beta/generated/models/site_protection_rule_collection_response.py index c1f00513d6a..4e33a35d296 100644 --- a/msgraph_beta/generated/models/site_protection_rule_collection_response.py +++ b/msgraph_beta/generated/models/site_protection_rule_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .site_protection_rule import SiteProtectionRule + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/site_protection_unit.py b/msgraph_beta/generated/models/site_protection_unit.py index 3e1cc13bc84..dbc6ad97946 100644 --- a/msgraph_beta/generated/models/site_protection_unit.py +++ b/msgraph_beta/generated/models/site_protection_unit.py @@ -57,6 +57,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .protection_unit_base import ProtectionUnitBase + writer.write_str_value("siteId", self.site_id) diff --git a/msgraph_beta/generated/models/site_protection_unit_collection_response.py b/msgraph_beta/generated/models/site_protection_unit_collection_response.py index 853c9ca6538..8d051af1e01 100644 --- a/msgraph_beta/generated/models/site_protection_unit_collection_response.py +++ b/msgraph_beta/generated/models/site_protection_unit_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .site_protection_unit import SiteProtectionUnit + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/site_protection_units_bulk_addition_job.py b/msgraph_beta/generated/models/site_protection_units_bulk_addition_job.py index 57e882df9cd..c38da7b689f 100644 --- a/msgraph_beta/generated/models/site_protection_units_bulk_addition_job.py +++ b/msgraph_beta/generated/models/site_protection_units_bulk_addition_job.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .protection_units_bulk_job_base import ProtectionUnitsBulkJobBase + writer.write_collection_of_primitive_values("siteIds", self.site_ids) writer.write_collection_of_primitive_values("siteWebUrls", self.site_web_urls) diff --git a/msgraph_beta/generated/models/site_protection_units_bulk_addition_job_collection_response.py b/msgraph_beta/generated/models/site_protection_units_bulk_addition_job_collection_response.py index d35477e42c8..dc191e58d88 100644 --- a/msgraph_beta/generated/models/site_protection_units_bulk_addition_job_collection_response.py +++ b/msgraph_beta/generated/models/site_protection_units_bulk_addition_job_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .site_protection_units_bulk_addition_job import SiteProtectionUnitsBulkAdditionJob + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/site_restore_artifact.py b/msgraph_beta/generated/models/site_restore_artifact.py index d28dac99974..1e0aab31dc9 100644 --- a/msgraph_beta/generated/models/site_restore_artifact.py +++ b/msgraph_beta/generated/models/site_restore_artifact.py @@ -57,6 +57,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .restore_artifact_base import RestoreArtifactBase + writer.write_str_value("restoredSiteId", self.restored_site_id) diff --git a/msgraph_beta/generated/models/site_restore_artifact_collection_response.py b/msgraph_beta/generated/models/site_restore_artifact_collection_response.py index d0e57ecb908..ca9e21b469d 100644 --- a/msgraph_beta/generated/models/site_restore_artifact_collection_response.py +++ b/msgraph_beta/generated/models/site_restore_artifact_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .site_restore_artifact import SiteRestoreArtifact + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/site_restore_artifacts_bulk_addition_request.py b/msgraph_beta/generated/models/site_restore_artifacts_bulk_addition_request.py new file mode 100644 index 00000000000..04237e0b871 --- /dev/null +++ b/msgraph_beta/generated/models/site_restore_artifacts_bulk_addition_request.py @@ -0,0 +1,62 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .restore_artifacts_bulk_request_base import RestoreArtifactsBulkRequestBase + +from .restore_artifacts_bulk_request_base import RestoreArtifactsBulkRequestBase + +@dataclass +class SiteRestoreArtifactsBulkAdditionRequest(RestoreArtifactsBulkRequestBase): + # The OdataType property + odata_type: Optional[str] = None + # The siteIds property + site_ids: Optional[List[str]] = None + # The siteWebUrls property + site_web_urls: Optional[List[str]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> SiteRestoreArtifactsBulkAdditionRequest: + """ + 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: SiteRestoreArtifactsBulkAdditionRequest + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return SiteRestoreArtifactsBulkAdditionRequest() + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .restore_artifacts_bulk_request_base import RestoreArtifactsBulkRequestBase + + from .restore_artifacts_bulk_request_base import RestoreArtifactsBulkRequestBase + + fields: Dict[str, Callable[[Any], None]] = { + "siteIds": lambda n : setattr(self, 'site_ids', n.get_collection_of_primitive_values(str)), + "siteWebUrls": lambda n : setattr(self, 'site_web_urls', n.get_collection_of_primitive_values(str)), + } + 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) + from .restore_artifacts_bulk_request_base import RestoreArtifactsBulkRequestBase + + writer.write_collection_of_primitive_values("siteIds", self.site_ids) + writer.write_collection_of_primitive_values("siteWebUrls", self.site_web_urls) + + diff --git a/msgraph_beta/generated/models/site_restore_artifacts_bulk_addition_request_collection_response.py b/msgraph_beta/generated/models/site_restore_artifacts_bulk_addition_request_collection_response.py new file mode 100644 index 00000000000..01349842b08 --- /dev/null +++ b/msgraph_beta/generated/models/site_restore_artifacts_bulk_addition_request_collection_response.py @@ -0,0 +1,60 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .site_restore_artifacts_bulk_addition_request import SiteRestoreArtifactsBulkAdditionRequest + +from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + +@dataclass +class SiteRestoreArtifactsBulkAdditionRequestCollectionResponse(BaseCollectionPaginationCountResponse): + # The value property + value: Optional[List[SiteRestoreArtifactsBulkAdditionRequest]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> SiteRestoreArtifactsBulkAdditionRequestCollectionResponse: + """ + 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: SiteRestoreArtifactsBulkAdditionRequestCollectionResponse + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return SiteRestoreArtifactsBulkAdditionRequestCollectionResponse() + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .site_restore_artifacts_bulk_addition_request import SiteRestoreArtifactsBulkAdditionRequest + + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .site_restore_artifacts_bulk_addition_request import SiteRestoreArtifactsBulkAdditionRequest + + fields: Dict[str, Callable[[Any], None]] = { + "value": lambda n : setattr(self, 'value', n.get_collection_of_object_values(SiteRestoreArtifactsBulkAdditionRequest)), + } + 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) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .site_restore_artifacts_bulk_addition_request import SiteRestoreArtifactsBulkAdditionRequest + + writer.write_collection_of_object_values("value", self.value) + + diff --git a/msgraph_beta/generated/models/skill_proficiency.py b/msgraph_beta/generated/models/skill_proficiency.py index 3e3c909fd4b..1ab89e11f53 100644 --- a/msgraph_beta/generated/models/skill_proficiency.py +++ b/msgraph_beta/generated/models/skill_proficiency.py @@ -69,6 +69,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .item_facet import ItemFacet + from .skill_proficiency_level import SkillProficiencyLevel + writer.write_collection_of_primitive_values("categories", self.categories) writer.write_collection_of_primitive_values("collaborationTags", self.collaboration_tags) writer.write_str_value("displayName", self.display_name) diff --git a/msgraph_beta/generated/models/skill_proficiency_collection_response.py b/msgraph_beta/generated/models/skill_proficiency_collection_response.py index 8d85a813062..ebcdb30afef 100644 --- a/msgraph_beta/generated/models/skill_proficiency_collection_response.py +++ b/msgraph_beta/generated/models/skill_proficiency_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .skill_proficiency import SkillProficiency + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/skype_for_business_user_conversation_member.py b/msgraph_beta/generated/models/skype_for_business_user_conversation_member.py index 3ab4ba48717..49161683107 100644 --- a/msgraph_beta/generated/models/skype_for_business_user_conversation_member.py +++ b/msgraph_beta/generated/models/skype_for_business_user_conversation_member.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .conversation_member import ConversationMember + writer.write_str_value("tenantId", self.tenant_id) writer.write_str_value("userId", self.user_id) diff --git a/msgraph_beta/generated/models/skype_user_conversation_member.py b/msgraph_beta/generated/models/skype_user_conversation_member.py index 862ace8708f..b2d8187a607 100644 --- a/msgraph_beta/generated/models/skype_user_conversation_member.py +++ b/msgraph_beta/generated/models/skype_user_conversation_member.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .conversation_member import ConversationMember + writer.write_str_value("skypeId", self.skype_id) diff --git a/msgraph_beta/generated/models/sms_authentication_method_configuration.py b/msgraph_beta/generated/models/sms_authentication_method_configuration.py index 3474029fa85..65313145a79 100644 --- a/msgraph_beta/generated/models/sms_authentication_method_configuration.py +++ b/msgraph_beta/generated/models/sms_authentication_method_configuration.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .authentication_method_configuration import AuthenticationMethodConfiguration + from .sms_authentication_method_target import SmsAuthenticationMethodTarget + writer.write_collection_of_object_values("includeTargets", self.include_targets) diff --git a/msgraph_beta/generated/models/sms_authentication_method_target.py b/msgraph_beta/generated/models/sms_authentication_method_target.py index 77e9121efcf..76fdd6ccc53 100644 --- a/msgraph_beta/generated/models/sms_authentication_method_target.py +++ b/msgraph_beta/generated/models/sms_authentication_method_target.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .authentication_method_target import AuthenticationMethodTarget + writer.write_bool_value("isUsableForSignIn", self.is_usable_for_sign_in) diff --git a/msgraph_beta/generated/models/social_identity_provider.py b/msgraph_beta/generated/models/social_identity_provider.py index 8c4192f77bd..34776d50591 100644 --- a/msgraph_beta/generated/models/social_identity_provider.py +++ b/msgraph_beta/generated/models/social_identity_provider.py @@ -57,6 +57,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .identity_provider_base import IdentityProviderBase + writer.write_str_value("clientId", self.client_id) writer.write_str_value("clientSecret", self.client_secret) writer.write_str_value("identityProviderType", self.identity_provider_type) diff --git a/msgraph_beta/generated/models/social_identity_source.py b/msgraph_beta/generated/models/social_identity_source.py index 1b86fc7fb6a..8f1dc7f1090 100644 --- a/msgraph_beta/generated/models/social_identity_source.py +++ b/msgraph_beta/generated/models/social_identity_source.py @@ -57,6 +57,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .identity_source import IdentitySource + from .social_identity_source_type import SocialIdentitySourceType + writer.write_str_value("displayName", self.display_name) writer.write_enum_value("socialIdentitySourceType", self.social_identity_source_type) diff --git a/msgraph_beta/generated/models/software_oath_authentication_method.py b/msgraph_beta/generated/models/software_oath_authentication_method.py index ee1972541bd..4b485c76c10 100644 --- a/msgraph_beta/generated/models/software_oath_authentication_method.py +++ b/msgraph_beta/generated/models/software_oath_authentication_method.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .authentication_method import AuthenticationMethod + writer.write_str_value("secretKey", self.secret_key) diff --git a/msgraph_beta/generated/models/software_oath_authentication_method_collection_response.py b/msgraph_beta/generated/models/software_oath_authentication_method_collection_response.py index ef8c5563fc6..6c45c428d3e 100644 --- a/msgraph_beta/generated/models/software_oath_authentication_method_collection_response.py +++ b/msgraph_beta/generated/models/software_oath_authentication_method_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .software_oath_authentication_method import SoftwareOathAuthenticationMethod + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/software_oath_authentication_method_configuration.py b/msgraph_beta/generated/models/software_oath_authentication_method_configuration.py index a3c6afad480..7a010ce66a6 100644 --- a/msgraph_beta/generated/models/software_oath_authentication_method_configuration.py +++ b/msgraph_beta/generated/models/software_oath_authentication_method_configuration.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .authentication_method_configuration import AuthenticationMethodConfiguration + from .authentication_method_target import AuthenticationMethodTarget + writer.write_collection_of_object_values("includeTargets", self.include_targets) diff --git a/msgraph_beta/generated/models/software_update_status_summary.py b/msgraph_beta/generated/models/software_update_status_summary.py index 41fc1559fbe..809adb67adc 100644 --- a/msgraph_beta/generated/models/software_update_status_summary.py +++ b/msgraph_beta/generated/models/software_update_status_summary.py @@ -93,6 +93,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_int_value("compliantDeviceCount", self.compliant_device_count) writer.write_int_value("compliantUserCount", self.compliant_user_count) writer.write_int_value("conflictDeviceCount", self.conflict_device_count) diff --git a/msgraph_beta/generated/models/solutions_root.py b/msgraph_beta/generated/models/solutions_root.py index 86e353496cf..bed1ab8edd5 100644 --- a/msgraph_beta/generated/models/solutions_root.py +++ b/msgraph_beta/generated/models/solutions_root.py @@ -83,6 +83,13 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .approval_solution import ApprovalSolution + from .backup_restore_root import BackupRestoreRoot + from .booking_business import BookingBusiness + from .booking_currency import BookingCurrency + from .business_scenario import BusinessScenario + from .virtual_events_root import VirtualEventsRoot + writer.write_object_value("approval", self.approval) writer.write_object_value("backupRestore", self.backup_restore) writer.write_collection_of_object_values("bookingBusinesses", self.booking_businesses) diff --git a/msgraph_beta/generated/models/source_provisioned_identity.py b/msgraph_beta/generated/models/source_provisioned_identity.py index cbf8984d8b1..82730726f28 100644 --- a/msgraph_beta/generated/models/source_provisioned_identity.py +++ b/msgraph_beta/generated/models/source_provisioned_identity.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .identity import Identity + diff --git a/msgraph_beta/generated/models/sourced_attribute.py b/msgraph_beta/generated/models/sourced_attribute.py index 763115a7acb..3813b1a0b9c 100644 --- a/msgraph_beta/generated/models/sourced_attribute.py +++ b/msgraph_beta/generated/models/sourced_attribute.py @@ -57,6 +57,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .custom_claim_attribute_base import CustomClaimAttributeBase + writer.write_str_value("id", self.id) writer.write_bool_value("isExtensionAttribute", self.is_extension_attribute) writer.write_str_value("source", self.source) diff --git a/msgraph_beta/generated/models/staff_availability_item.py b/msgraph_beta/generated/models/staff_availability_item.py index edaa41870e6..e1da7018b4a 100644 --- a/msgraph_beta/generated/models/staff_availability_item.py +++ b/msgraph_beta/generated/models/staff_availability_item.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .availability_item import AvailabilityItem + writer.write_collection_of_object_values("availabilityItems", self.availability_items) writer.write_str_value("@odata.type", self.odata_type) writer.write_str_value("staffId", self.staff_id) diff --git a/msgraph_beta/generated/models/stale_sign_in_alert_configuration.py b/msgraph_beta/generated/models/stale_sign_in_alert_configuration.py index dc8c9bf105e..6afda812196 100644 --- a/msgraph_beta/generated/models/stale_sign_in_alert_configuration.py +++ b/msgraph_beta/generated/models/stale_sign_in_alert_configuration.py @@ -52,6 +52,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .unified_role_management_alert_configuration import UnifiedRoleManagementAlertConfiguration + writer.write_timedelta_value("duration", self.duration) diff --git a/msgraph_beta/generated/models/stale_sign_in_alert_incident.py b/msgraph_beta/generated/models/stale_sign_in_alert_incident.py index bdea88a8539..93679861c4a 100644 --- a/msgraph_beta/generated/models/stale_sign_in_alert_incident.py +++ b/msgraph_beta/generated/models/stale_sign_in_alert_incident.py @@ -73,6 +73,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .unified_role_management_alert_incident import UnifiedRoleManagementAlertIncident + writer.write_str_value("assigneeDisplayName", self.assignee_display_name) writer.write_str_value("assigneeId", self.assignee_id) writer.write_str_value("assigneeUserPrincipalName", self.assignee_user_principal_name) diff --git a/msgraph_beta/generated/models/standard_time_zone_offset.py b/msgraph_beta/generated/models/standard_time_zone_offset.py index 71699605348..e91d89d52bf 100644 --- a/msgraph_beta/generated/models/standard_time_zone_offset.py +++ b/msgraph_beta/generated/models/standard_time_zone_offset.py @@ -39,7 +39,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> StandardTimeZoneOf if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.daylightTimeZoneOffset".casefold(): @@ -77,6 +78,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .daylight_time_zone_offset import DaylightTimeZoneOffset + from .day_of_week import DayOfWeek + writer.write_int_value("dayOccurrence", self.day_occurrence) writer.write_enum_value("dayOfWeek", self.day_of_week) writer.write_int_value("month", self.month) diff --git a/msgraph_beta/generated/models/standard_web_part.py b/msgraph_beta/generated/models/standard_web_part.py index 45954079a06..654bfd1ce4b 100644 --- a/msgraph_beta/generated/models/standard_web_part.py +++ b/msgraph_beta/generated/models/standard_web_part.py @@ -60,6 +60,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .web_part import WebPart + from .web_part_data import WebPartData + writer.write_str_value("containerTextWebPartId", self.container_text_web_part_id) writer.write_object_value("data", self.data) writer.write_str_value("webPartType", self.web_part_type) diff --git a/msgraph_beta/generated/models/start_hold_music_operation.py b/msgraph_beta/generated/models/start_hold_music_operation.py index 844a68d851f..4bbafd768f5 100644 --- a/msgraph_beta/generated/models/start_hold_music_operation.py +++ b/msgraph_beta/generated/models/start_hold_music_operation.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .comms_operation import CommsOperation + diff --git a/msgraph_beta/generated/models/starts_with_transformation.py b/msgraph_beta/generated/models/starts_with_transformation.py index 8c7e55173c2..fed1b212362 100644 --- a/msgraph_beta/generated/models/starts_with_transformation.py +++ b/msgraph_beta/generated/models/starts_with_transformation.py @@ -57,6 +57,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .custom_claim_transformation import CustomClaimTransformation + from .transformation_attribute import TransformationAttribute + writer.write_object_value("output", self.output) writer.write_str_value("value", self.value) diff --git a/msgraph_beta/generated/models/status_base.py b/msgraph_beta/generated/models/status_base.py index 7bb182aed2a..4b63fb72cbe 100644 --- a/msgraph_beta/generated/models/status_base.py +++ b/msgraph_beta/generated/models/status_base.py @@ -30,7 +30,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> StatusBase: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.statusDetails".casefold(): @@ -64,6 +65,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .provisioning_result import ProvisioningResult + from .status_details import StatusDetails + writer.write_str_value("@odata.type", self.odata_type) writer.write_enum_value("status", self.status) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/status_details.py b/msgraph_beta/generated/models/status_details.py index bded50997b9..60b660cfb6f 100644 --- a/msgraph_beta/generated/models/status_details.py +++ b/msgraph_beta/generated/models/status_details.py @@ -66,6 +66,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .provisioning_status_error_category import ProvisioningStatusErrorCategory + from .status_base import StatusBase + writer.write_str_value("additionalDetails", self.additional_details) writer.write_enum_value("errorCategory", self.error_category) writer.write_str_value("errorCode", self.error_code) diff --git a/msgraph_beta/generated/models/stop_hold_music_operation.py b/msgraph_beta/generated/models/stop_hold_music_operation.py index d6615a2ea79..392ad0dcba2 100644 --- a/msgraph_beta/generated/models/stop_hold_music_operation.py +++ b/msgraph_beta/generated/models/stop_hold_music_operation.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .comms_operation import CommsOperation + diff --git a/msgraph_beta/generated/models/storage.py b/msgraph_beta/generated/models/storage.py index 2d2c61f6deb..dc7fbbaf01d 100644 --- a/msgraph_beta/generated/models/storage.py +++ b/msgraph_beta/generated/models/storage.py @@ -59,6 +59,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .file_storage import FileStorage + from .storage_settings import StorageSettings + writer.write_object_value("fileStorage", self.file_storage) writer.write_str_value("@odata.type", self.odata_type) writer.write_object_value("settings", self.settings) diff --git a/msgraph_beta/generated/models/storage_quota_breakdown.py b/msgraph_beta/generated/models/storage_quota_breakdown.py index f6e4b8b972c..f638294b8a6 100644 --- a/msgraph_beta/generated/models/storage_quota_breakdown.py +++ b/msgraph_beta/generated/models/storage_quota_breakdown.py @@ -30,7 +30,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> StorageQuotaBreakd if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.serviceStorageQuotaBreakdown".casefold(): @@ -68,6 +69,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .service_storage_quota_breakdown import ServiceStorageQuotaBreakdown + writer.write_str_value("displayName", self.display_name) writer.write_str_value("manageWebUrl", self.manage_web_url) writer.write_int_value("used", self.used) diff --git a/msgraph_beta/generated/models/storage_settings.py b/msgraph_beta/generated/models/storage_settings.py index 4df6dcc42f6..9e9b9800bca 100644 --- a/msgraph_beta/generated/models/storage_settings.py +++ b/msgraph_beta/generated/models/storage_settings.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .unified_storage_quota import UnifiedStorageQuota + writer.write_object_value("quota", self.quota) diff --git a/msgraph_beta/generated/models/string_collection_response.py b/msgraph_beta/generated/models/string_collection_response.py index 9b6eae29c74..27503666dd0 100644 --- a/msgraph_beta/generated/models/string_collection_response.py +++ b/msgraph_beta/generated/models/string_collection_response.py @@ -49,6 +49,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_primitive_values("value", self.value) diff --git a/msgraph_beta/generated/models/string_key_attribute_mapping_source_value_pair.py b/msgraph_beta/generated/models/string_key_attribute_mapping_source_value_pair.py index a6bcf381631..5f44661250e 100644 --- a/msgraph_beta/generated/models/string_key_attribute_mapping_source_value_pair.py +++ b/msgraph_beta/generated/models/string_key_attribute_mapping_source_value_pair.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .attribute_mapping_source import AttributeMappingSource + writer.write_str_value("key", self.key) writer.write_str_value("@odata.type", self.odata_type) writer.write_object_value("value", self.value) diff --git a/msgraph_beta/generated/models/strong_authentication_detail.py b/msgraph_beta/generated/models/strong_authentication_detail.py index b0e6f429d6c..115ae3fe07b 100644 --- a/msgraph_beta/generated/models/strong_authentication_detail.py +++ b/msgraph_beta/generated/models/strong_authentication_detail.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_bytes_value("encryptedPinHashHistory", self.encrypted_pin_hash_history) writer.write_int_value("proofupTime", self.proofup_time) diff --git a/msgraph_beta/generated/models/strong_authentication_phone_app_detail.py b/msgraph_beta/generated/models/strong_authentication_phone_app_detail.py index 819fe1c3a6c..f9c5a98bdfc 100644 --- a/msgraph_beta/generated/models/strong_authentication_phone_app_detail.py +++ b/msgraph_beta/generated/models/strong_authentication_phone_app_detail.py @@ -98,6 +98,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .oath_token_metadata import OathTokenMetadata + writer.write_str_value("authenticationType", self.authentication_type) writer.write_str_value("authenticatorFlavor", self.authenticator_flavor) writer.write_uuid_value("deviceId", self.device_id) diff --git a/msgraph_beta/generated/models/strong_authentication_requirements.py b/msgraph_beta/generated/models/strong_authentication_requirements.py index 03169b7649f..ce60e138020 100644 --- a/msgraph_beta/generated/models/strong_authentication_requirements.py +++ b/msgraph_beta/generated/models/strong_authentication_requirements.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .per_user_mfa_state import PerUserMfaState + writer.write_str_value("@odata.type", self.odata_type) writer.write_enum_value("perUserMfaState", self.per_user_mfa_state) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/sts_policy.py b/msgraph_beta/generated/models/sts_policy.py index 61adbef96ed..e2b73190d29 100644 --- a/msgraph_beta/generated/models/sts_policy.py +++ b/msgraph_beta/generated/models/sts_policy.py @@ -35,7 +35,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> StsPolicy: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.activityBasedTimeoutPolicy".casefold(): @@ -99,6 +100,14 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .activity_based_timeout_policy import ActivityBasedTimeoutPolicy + from .claims_mapping_policy import ClaimsMappingPolicy + from .directory_object import DirectoryObject + from .home_realm_discovery_policy import HomeRealmDiscoveryPolicy + from .policy_base import PolicyBase + from .token_issuance_policy import TokenIssuancePolicy + from .token_lifetime_policy import TokenLifetimePolicy + writer.write_collection_of_object_values("appliesTo", self.applies_to) writer.write_collection_of_primitive_values("definition", self.definition) writer.write_bool_value("isOrganizationDefault", self.is_organization_default) diff --git a/msgraph_beta/generated/models/subject_rights_request.py b/msgraph_beta/generated/models/subject_rights_request.py index b5856ad05f4..528a8cbbc8e 100644 --- a/msgraph_beta/generated/models/subject_rights_request.py +++ b/msgraph_beta/generated/models/subject_rights_request.py @@ -175,6 +175,22 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .authored_note import AuthoredNote + from .data_subject import DataSubject + from .data_subject_type import DataSubjectType + from .entity import Entity + from .identity import Identity + from .identity_set import IdentitySet + from .subject_rights_request_detail import SubjectRightsRequestDetail + from .subject_rights_request_history import SubjectRightsRequestHistory + from .subject_rights_request_mailbox_location import SubjectRightsRequestMailboxLocation + from .subject_rights_request_site_location import SubjectRightsRequestSiteLocation + from .subject_rights_request_stage_detail import SubjectRightsRequestStageDetail + from .subject_rights_request_status import SubjectRightsRequestStatus + from .subject_rights_request_type import SubjectRightsRequestType + from .team import Team + from .user import User + writer.write_collection_of_object_values("approvers", self.approvers) writer.write_object_value("assignedTo", self.assigned_to) writer.write_datetime_value("closedDateTime", self.closed_date_time) diff --git a/msgraph_beta/generated/models/subject_rights_request_all_mailbox_location.py b/msgraph_beta/generated/models/subject_rights_request_all_mailbox_location.py index 51f31a865ec..dc160a502e3 100644 --- a/msgraph_beta/generated/models/subject_rights_request_all_mailbox_location.py +++ b/msgraph_beta/generated/models/subject_rights_request_all_mailbox_location.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .subject_rights_request_mailbox_location import SubjectRightsRequestMailboxLocation + diff --git a/msgraph_beta/generated/models/subject_rights_request_all_site_location.py b/msgraph_beta/generated/models/subject_rights_request_all_site_location.py index 40cf271d8e1..2ba69113629 100644 --- a/msgraph_beta/generated/models/subject_rights_request_all_site_location.py +++ b/msgraph_beta/generated/models/subject_rights_request_all_site_location.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .subject_rights_request_site_location import SubjectRightsRequestSiteLocation + diff --git a/msgraph_beta/generated/models/subject_rights_request_collection_response.py b/msgraph_beta/generated/models/subject_rights_request_collection_response.py index 9fdf5ecd2e0..35b96ef38b4 100644 --- a/msgraph_beta/generated/models/subject_rights_request_collection_response.py +++ b/msgraph_beta/generated/models/subject_rights_request_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .subject_rights_request import SubjectRightsRequest + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/subject_rights_request_detail.py b/msgraph_beta/generated/models/subject_rights_request_detail.py index de20763d1f9..b1649cdb6f1 100644 --- a/msgraph_beta/generated/models/subject_rights_request_detail.py +++ b/msgraph_beta/generated/models/subject_rights_request_detail.py @@ -71,6 +71,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .key_value_pair import KeyValuePair + writer.write_int_value("excludedItemCount", self.excluded_item_count) writer.write_collection_of_object_values("insightCounts", self.insight_counts) writer.write_int_value("itemCount", self.item_count) diff --git a/msgraph_beta/generated/models/subject_rights_request_enumerated_mailbox_location.py b/msgraph_beta/generated/models/subject_rights_request_enumerated_mailbox_location.py index c5d31d24f45..37ba592152c 100644 --- a/msgraph_beta/generated/models/subject_rights_request_enumerated_mailbox_location.py +++ b/msgraph_beta/generated/models/subject_rights_request_enumerated_mailbox_location.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .subject_rights_request_mailbox_location import SubjectRightsRequestMailboxLocation + writer.write_collection_of_primitive_values("upns", self.upns) writer.write_collection_of_primitive_values("userPrincipalNames", self.user_principal_names) diff --git a/msgraph_beta/generated/models/subject_rights_request_enumerated_site_location.py b/msgraph_beta/generated/models/subject_rights_request_enumerated_site_location.py index 267c5a08719..97b88e0f462 100644 --- a/msgraph_beta/generated/models/subject_rights_request_enumerated_site_location.py +++ b/msgraph_beta/generated/models/subject_rights_request_enumerated_site_location.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .subject_rights_request_site_location import SubjectRightsRequestSiteLocation + writer.write_collection_of_primitive_values("urls", self.urls) diff --git a/msgraph_beta/generated/models/subject_rights_request_history.py b/msgraph_beta/generated/models/subject_rights_request_history.py index 3db6125eeaf..27695aca0ac 100644 --- a/msgraph_beta/generated/models/subject_rights_request_history.py +++ b/msgraph_beta/generated/models/subject_rights_request_history.py @@ -72,6 +72,10 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .identity_set import IdentitySet + from .subject_rights_request_stage import SubjectRightsRequestStage + from .subject_rights_request_stage_status import SubjectRightsRequestStageStatus + writer.write_object_value("changedBy", self.changed_by) writer.write_datetime_value("eventDateTime", self.event_date_time) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/subject_rights_request_mailbox_location.py b/msgraph_beta/generated/models/subject_rights_request_mailbox_location.py index 3688ffea44e..2a3711d8646 100644 --- a/msgraph_beta/generated/models/subject_rights_request_mailbox_location.py +++ b/msgraph_beta/generated/models/subject_rights_request_mailbox_location.py @@ -28,7 +28,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> SubjectRightsReque if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.subjectRightsRequestAllMailboxLocation".casefold(): @@ -65,6 +66,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .subject_rights_request_all_mailbox_location import SubjectRightsRequestAllMailboxLocation + from .subject_rights_request_enumerated_mailbox_location import SubjectRightsRequestEnumeratedMailboxLocation + writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/subject_rights_request_site_location.py b/msgraph_beta/generated/models/subject_rights_request_site_location.py index c2a0008e84e..691f5e3579b 100644 --- a/msgraph_beta/generated/models/subject_rights_request_site_location.py +++ b/msgraph_beta/generated/models/subject_rights_request_site_location.py @@ -28,7 +28,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> SubjectRightsReque if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.subjectRightsRequestAllSiteLocation".casefold(): @@ -65,6 +66,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .subject_rights_request_all_site_location import SubjectRightsRequestAllSiteLocation + from .subject_rights_request_enumerated_site_location import SubjectRightsRequestEnumeratedSiteLocation + writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/subject_rights_request_stage_detail.py b/msgraph_beta/generated/models/subject_rights_request_stage_detail.py index 780134314dc..d3e8e379501 100644 --- a/msgraph_beta/generated/models/subject_rights_request_stage_detail.py +++ b/msgraph_beta/generated/models/subject_rights_request_stage_detail.py @@ -65,6 +65,10 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .public_error import PublicError + from .subject_rights_request_stage import SubjectRightsRequestStage + from .subject_rights_request_stage_status import SubjectRightsRequestStageStatus + writer.write_object_value("error", self.error) writer.write_str_value("@odata.type", self.odata_type) writer.write_enum_value("stage", self.stage) diff --git a/msgraph_beta/generated/models/subject_set.py b/msgraph_beta/generated/models/subject_set.py index 04ddcfeb9a6..ff1b0c0e10f 100644 --- a/msgraph_beta/generated/models/subject_set.py +++ b/msgraph_beta/generated/models/subject_set.py @@ -28,7 +28,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> SubjectSet: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.identityGovernance.groupBasedSubjectSet".casefold(): @@ -65,6 +66,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .identity_governance.group_based_subject_set import GroupBasedSubjectSet + from .identity_governance.rule_based_subject_set import RuleBasedSubjectSet + writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/subscribe_to_tone_operation.py b/msgraph_beta/generated/models/subscribe_to_tone_operation.py index 07a153b12c5..24575a3b606 100644 --- a/msgraph_beta/generated/models/subscribe_to_tone_operation.py +++ b/msgraph_beta/generated/models/subscribe_to_tone_operation.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .comms_operation import CommsOperation + diff --git a/msgraph_beta/generated/models/subscribed_sku.py b/msgraph_beta/generated/models/subscribed_sku.py index 9631bb72d41..ca24e32fe9d 100644 --- a/msgraph_beta/generated/models/subscribed_sku.py +++ b/msgraph_beta/generated/models/subscribed_sku.py @@ -85,6 +85,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .license_units_detail import LicenseUnitsDetail + from .service_plan_info import ServicePlanInfo + writer.write_str_value("accountId", self.account_id) writer.write_str_value("accountName", self.account_name) writer.write_str_value("appliesTo", self.applies_to) diff --git a/msgraph_beta/generated/models/subscribed_sku_collection_response.py b/msgraph_beta/generated/models/subscribed_sku_collection_response.py index 440c03cc5b4..33c89c32455 100644 --- a/msgraph_beta/generated/models/subscribed_sku_collection_response.py +++ b/msgraph_beta/generated/models/subscribed_sku_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .subscribed_sku import SubscribedSku + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/subscription.py b/msgraph_beta/generated/models/subscription.py index 3b39f6b065f..19524213cc1 100644 --- a/msgraph_beta/generated/models/subscription.py +++ b/msgraph_beta/generated/models/subscription.py @@ -94,6 +94,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_str_value("applicationId", self.application_id) writer.write_str_value("changeType", self.change_type) writer.write_str_value("clientState", self.client_state) diff --git a/msgraph_beta/generated/models/subscription_collection_response.py b/msgraph_beta/generated/models/subscription_collection_response.py index 428c0be3ad2..dc5d94162a8 100644 --- a/msgraph_beta/generated/models/subscription_collection_response.py +++ b/msgraph_beta/generated/models/subscription_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .subscription import Subscription + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/substring_transformation.py b/msgraph_beta/generated/models/substring_transformation.py index 1177a93f963..b2717f2bd19 100644 --- a/msgraph_beta/generated/models/substring_transformation.py +++ b/msgraph_beta/generated/models/substring_transformation.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .custom_claim_transformation import CustomClaimTransformation + writer.write_int_value("index", self.index) writer.write_int_value("length", self.length) diff --git a/msgraph_beta/generated/models/super_aws_resource_finding.py b/msgraph_beta/generated/models/super_aws_resource_finding.py index 54a38a9c4cd..aae6da76056 100644 --- a/msgraph_beta/generated/models/super_aws_resource_finding.py +++ b/msgraph_beta/generated/models/super_aws_resource_finding.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .identity_finding import IdentityFinding + diff --git a/msgraph_beta/generated/models/super_aws_role_finding.py b/msgraph_beta/generated/models/super_aws_role_finding.py index 657fb0a98df..b1a7225b318 100644 --- a/msgraph_beta/generated/models/super_aws_role_finding.py +++ b/msgraph_beta/generated/models/super_aws_role_finding.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .identity_finding import IdentityFinding + diff --git a/msgraph_beta/generated/models/super_azure_service_principal_finding.py b/msgraph_beta/generated/models/super_azure_service_principal_finding.py index cc7f293a9cb..23663388cff 100644 --- a/msgraph_beta/generated/models/super_azure_service_principal_finding.py +++ b/msgraph_beta/generated/models/super_azure_service_principal_finding.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .identity_finding import IdentityFinding + diff --git a/msgraph_beta/generated/models/super_gcp_service_account_finding.py b/msgraph_beta/generated/models/super_gcp_service_account_finding.py index 07dc181c431..8a7bf344494 100644 --- a/msgraph_beta/generated/models/super_gcp_service_account_finding.py +++ b/msgraph_beta/generated/models/super_gcp_service_account_finding.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .identity_finding import IdentityFinding + diff --git a/msgraph_beta/generated/models/super_serverless_function_finding.py b/msgraph_beta/generated/models/super_serverless_function_finding.py index 53195c96738..1c6cc956c52 100644 --- a/msgraph_beta/generated/models/super_serverless_function_finding.py +++ b/msgraph_beta/generated/models/super_serverless_function_finding.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .identity_finding import IdentityFinding + diff --git a/msgraph_beta/generated/models/super_user_finding.py b/msgraph_beta/generated/models/super_user_finding.py index 99feb983054..f4ef737709d 100644 --- a/msgraph_beta/generated/models/super_user_finding.py +++ b/msgraph_beta/generated/models/super_user_finding.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .identity_finding import IdentityFinding + diff --git a/msgraph_beta/generated/models/swap_shifts_change_request.py b/msgraph_beta/generated/models/swap_shifts_change_request.py index b692aa15ea1..ac483b54181 100644 --- a/msgraph_beta/generated/models/swap_shifts_change_request.py +++ b/msgraph_beta/generated/models/swap_shifts_change_request.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .offer_shift_request import OfferShiftRequest + writer.write_str_value("recipientShiftId", self.recipient_shift_id) diff --git a/msgraph_beta/generated/models/swap_shifts_change_request_collection_response.py b/msgraph_beta/generated/models/swap_shifts_change_request_collection_response.py index 602f955b0a3..8b7191dd257 100644 --- a/msgraph_beta/generated/models/swap_shifts_change_request_collection_response.py +++ b/msgraph_beta/generated/models/swap_shifts_change_request_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .swap_shifts_change_request import SwapShiftsChangeRequest + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/symantec_code_signing_certificate.py b/msgraph_beta/generated/models/symantec_code_signing_certificate.py index 4ffdc20e984..9713e42431b 100644 --- a/msgraph_beta/generated/models/symantec_code_signing_certificate.py +++ b/msgraph_beta/generated/models/symantec_code_signing_certificate.py @@ -79,6 +79,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .certificate_status import CertificateStatus + from .entity import Entity + writer.write_bytes_value("content", self.content) writer.write_datetime_value("expirationDateTime", self.expiration_date_time) writer.write_str_value("issuer", self.issuer) diff --git a/msgraph_beta/generated/models/synchronization.py b/msgraph_beta/generated/models/synchronization.py index 3bfbc7aad24..92cc73e45a7 100644 --- a/msgraph_beta/generated/models/synchronization.py +++ b/msgraph_beta/generated/models/synchronization.py @@ -66,6 +66,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .synchronization_job import SynchronizationJob + from .synchronization_secret_key_string_value_pair import SynchronizationSecretKeyStringValuePair + from .synchronization_template import SynchronizationTemplate + writer.write_collection_of_object_values("jobs", self.jobs) writer.write_collection_of_object_values("secrets", self.secrets) writer.write_collection_of_object_values("templates", self.templates) diff --git a/msgraph_beta/generated/models/synchronization_job.py b/msgraph_beta/generated/models/synchronization_job.py index 3316249bd68..fc7a539ae6a 100644 --- a/msgraph_beta/generated/models/synchronization_job.py +++ b/msgraph_beta/generated/models/synchronization_job.py @@ -81,6 +81,13 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .bulk_upload import BulkUpload + from .entity import Entity + from .key_value_pair import KeyValuePair + from .synchronization_schedule import SynchronizationSchedule + from .synchronization_schema import SynchronizationSchema + from .synchronization_status import SynchronizationStatus + writer.write_object_value("bulkUpload", self.bulk_upload) writer.write_object_value("schedule", self.schedule) writer.write_object_value("schema", self.schema) diff --git a/msgraph_beta/generated/models/synchronization_job_application_parameters.py b/msgraph_beta/generated/models/synchronization_job_application_parameters.py index bebcc83bef1..484f29a1c85 100644 --- a/msgraph_beta/generated/models/synchronization_job_application_parameters.py +++ b/msgraph_beta/generated/models/synchronization_job_application_parameters.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .synchronization_job_subject import SynchronizationJobSubject + writer.write_str_value("@odata.type", self.odata_type) writer.write_str_value("ruleId", self.rule_id) writer.write_collection_of_object_values("subjects", self.subjects) diff --git a/msgraph_beta/generated/models/synchronization_job_collection_response.py b/msgraph_beta/generated/models/synchronization_job_collection_response.py index f0614bd9c14..fb02273695f 100644 --- a/msgraph_beta/generated/models/synchronization_job_collection_response.py +++ b/msgraph_beta/generated/models/synchronization_job_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .synchronization_job import SynchronizationJob + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/synchronization_job_restart_criteria.py b/msgraph_beta/generated/models/synchronization_job_restart_criteria.py index 2b6ae340a21..0025b37ccb0 100644 --- a/msgraph_beta/generated/models/synchronization_job_restart_criteria.py +++ b/msgraph_beta/generated/models/synchronization_job_restart_criteria.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .synchronization_job_restart_scope import SynchronizationJobRestartScope + writer.write_str_value("@odata.type", self.odata_type) writer.write_enum_value("resetScope", self.reset_scope) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/synchronization_job_subject.py b/msgraph_beta/generated/models/synchronization_job_subject.py index e0b8fb389d6..51a2adc85c9 100644 --- a/msgraph_beta/generated/models/synchronization_job_subject.py +++ b/msgraph_beta/generated/models/synchronization_job_subject.py @@ -59,6 +59,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .synchronization_linked_objects import SynchronizationLinkedObjects + writer.write_object_value("links", self.links) writer.write_str_value("objectId", self.object_id) writer.write_str_value("objectTypeName", self.object_type_name) diff --git a/msgraph_beta/generated/models/synchronization_linked_objects.py b/msgraph_beta/generated/models/synchronization_linked_objects.py index 116c0505c7f..09ca922edf5 100644 --- a/msgraph_beta/generated/models/synchronization_linked_objects.py +++ b/msgraph_beta/generated/models/synchronization_linked_objects.py @@ -59,6 +59,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .synchronization_job_subject import SynchronizationJobSubject + writer.write_object_value("manager", self.manager) writer.write_collection_of_object_values("members", self.members) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/synchronization_metadata_entry.py b/msgraph_beta/generated/models/synchronization_metadata_entry.py index 43bdeebdbfe..6ff52d3aeee 100644 --- a/msgraph_beta/generated/models/synchronization_metadata_entry.py +++ b/msgraph_beta/generated/models/synchronization_metadata_entry.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .synchronization_metadata import SynchronizationMetadata + writer.write_enum_value("key", self.key) writer.write_str_value("@odata.type", self.odata_type) writer.write_str_value("value", self.value) diff --git a/msgraph_beta/generated/models/synchronization_quarantine.py b/msgraph_beta/generated/models/synchronization_quarantine.py index 927f56c5b74..67d08930f41 100644 --- a/msgraph_beta/generated/models/synchronization_quarantine.py +++ b/msgraph_beta/generated/models/synchronization_quarantine.py @@ -72,6 +72,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .quarantine_reason import QuarantineReason + from .synchronization_error import SynchronizationError + writer.write_datetime_value("currentBegan", self.current_began) writer.write_object_value("error", self.error) writer.write_datetime_value("nextAttempt", self.next_attempt) diff --git a/msgraph_beta/generated/models/synchronization_rule.py b/msgraph_beta/generated/models/synchronization_rule.py index 366cf248820..ddc1b477dd4 100644 --- a/msgraph_beta/generated/models/synchronization_rule.py +++ b/msgraph_beta/generated/models/synchronization_rule.py @@ -89,6 +89,11 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .container_filter import ContainerFilter + from .group_filter import GroupFilter + from .object_mapping import ObjectMapping + from .string_key_string_value_pair import StringKeyStringValuePair + writer.write_object_value("containerFilter", self.container_filter) writer.write_bool_value("editable", self.editable) writer.write_object_value("groupFilter", self.group_filter) diff --git a/msgraph_beta/generated/models/synchronization_schedule.py b/msgraph_beta/generated/models/synchronization_schedule.py index 089aa0447e4..3d8fabaaad8 100644 --- a/msgraph_beta/generated/models/synchronization_schedule.py +++ b/msgraph_beta/generated/models/synchronization_schedule.py @@ -60,6 +60,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .synchronization_schedule_state import SynchronizationScheduleState + writer.write_datetime_value("expiration", self.expiration) writer.write_timedelta_value("interval", self.interval) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/synchronization_schema.py b/msgraph_beta/generated/models/synchronization_schema.py index fb61512f5d5..be145ffe40a 100644 --- a/msgraph_beta/generated/models/synchronization_schema.py +++ b/msgraph_beta/generated/models/synchronization_schema.py @@ -63,6 +63,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .directory_definition import DirectoryDefinition + from .entity import Entity + from .synchronization_rule import SynchronizationRule + writer.write_collection_of_object_values("directories", self.directories) writer.write_collection_of_object_values("synchronizationRules", self.synchronization_rules) writer.write_str_value("version", self.version) diff --git a/msgraph_beta/generated/models/synchronization_secret_key_string_value_pair.py b/msgraph_beta/generated/models/synchronization_secret_key_string_value_pair.py index 27523eea044..3102960a5b2 100644 --- a/msgraph_beta/generated/models/synchronization_secret_key_string_value_pair.py +++ b/msgraph_beta/generated/models/synchronization_secret_key_string_value_pair.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .synchronization_secret import SynchronizationSecret + writer.write_enum_value("key", self.key) writer.write_str_value("@odata.type", self.odata_type) writer.write_str_value("value", self.value) diff --git a/msgraph_beta/generated/models/synchronization_status.py b/msgraph_beta/generated/models/synchronization_status.py index 0dc26ddaef1..89db21168a7 100644 --- a/msgraph_beta/generated/models/synchronization_status.py +++ b/msgraph_beta/generated/models/synchronization_status.py @@ -99,6 +99,12 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .string_key_long_value_pair import StringKeyLongValuePair + from .synchronization_progress import SynchronizationProgress + from .synchronization_quarantine import SynchronizationQuarantine + from .synchronization_status_code import SynchronizationStatusCode + from .synchronization_task_execution import SynchronizationTaskExecution + writer.write_enum_value("code", self.code) writer.write_int_value("countSuccessiveCompleteFailures", self.count_successive_complete_failures) writer.write_bool_value("escrowsPruned", self.escrows_pruned) diff --git a/msgraph_beta/generated/models/synchronization_task_execution.py b/msgraph_beta/generated/models/synchronization_task_execution.py index e680b9752c1..c3fe763dad0 100644 --- a/msgraph_beta/generated/models/synchronization_task_execution.py +++ b/msgraph_beta/generated/models/synchronization_task_execution.py @@ -96,6 +96,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .synchronization_error import SynchronizationError + from .synchronization_task_execution_result import SynchronizationTaskExecutionResult + writer.write_str_value("activityIdentifier", self.activity_identifier) writer.write_int_value("countEntitled", self.count_entitled) writer.write_int_value("countEntitledForProvisioning", self.count_entitled_for_provisioning) diff --git a/msgraph_beta/generated/models/synchronization_template.py b/msgraph_beta/generated/models/synchronization_template.py index fc7314326d1..28a5f7f3baa 100644 --- a/msgraph_beta/generated/models/synchronization_template.py +++ b/msgraph_beta/generated/models/synchronization_template.py @@ -76,6 +76,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .synchronization_metadata_entry import SynchronizationMetadataEntry + from .synchronization_schema import SynchronizationSchema + writer.write_uuid_value("applicationId", self.application_id) writer.write_bool_value("default", self.default) writer.write_str_value("description", self.description) diff --git a/msgraph_beta/generated/models/synchronization_template_collection_response.py b/msgraph_beta/generated/models/synchronization_template_collection_response.py index 7d66dc3ead6..4cc11b4320c 100644 --- a/msgraph_beta/generated/models/synchronization_template_collection_response.py +++ b/msgraph_beta/generated/models/synchronization_template_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .synchronization_template import SynchronizationTemplate + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/system_credential_preferences.py b/msgraph_beta/generated/models/system_credential_preferences.py index 3e82099fdfe..039e99ff032 100644 --- a/msgraph_beta/generated/models/system_credential_preferences.py +++ b/msgraph_beta/generated/models/system_credential_preferences.py @@ -65,6 +65,10 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .advanced_config_state import AdvancedConfigState + from .exclude_target import ExcludeTarget + from .include_target import IncludeTarget + writer.write_collection_of_object_values("excludeTargets", self.exclude_targets) writer.write_collection_of_object_values("includeTargets", self.include_targets) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/tab_updated_event_message_detail.py b/msgraph_beta/generated/models/tab_updated_event_message_detail.py index 4bdada7dbf2..118192119fd 100644 --- a/msgraph_beta/generated/models/tab_updated_event_message_detail.py +++ b/msgraph_beta/generated/models/tab_updated_event_message_detail.py @@ -57,6 +57,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .event_message_detail import EventMessageDetail + from .identity_set import IdentitySet + writer.write_object_value("initiator", self.initiator) writer.write_str_value("tabId", self.tab_id) diff --git a/msgraph_beta/generated/models/target_device_group.py b/msgraph_beta/generated/models/target_device_group.py index 878df9cbc67..f7df3fc11a6 100644 --- a/msgraph_beta/generated/models/target_device_group.py +++ b/msgraph_beta/generated/models/target_device_group.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_str_value("displayName", self.display_name) diff --git a/msgraph_beta/generated/models/target_device_group_collection_response.py b/msgraph_beta/generated/models/target_device_group_collection_response.py index 7224d76b3b5..c73f5e90f65 100644 --- a/msgraph_beta/generated/models/target_device_group_collection_response.py +++ b/msgraph_beta/generated/models/target_device_group_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .target_device_group import TargetDeviceGroup + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/target_provisioned_identity.py b/msgraph_beta/generated/models/target_provisioned_identity.py index ca70ae0e048..cbeea0df529 100644 --- a/msgraph_beta/generated/models/target_provisioned_identity.py +++ b/msgraph_beta/generated/models/target_provisioned_identity.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .identity import Identity + diff --git a/msgraph_beta/generated/models/target_resource.py b/msgraph_beta/generated/models/target_resource.py index 681aed5fda9..5b23105de00 100644 --- a/msgraph_beta/generated/models/target_resource.py +++ b/msgraph_beta/generated/models/target_resource.py @@ -71,6 +71,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .group_type import GroupType + from .modified_property import ModifiedProperty + writer.write_str_value("displayName", self.display_name) writer.write_enum_value("groupType", self.group_type) writer.write_str_value("id", self.id) diff --git a/msgraph_beta/generated/models/target_user_sponsors.py b/msgraph_beta/generated/models/target_user_sponsors.py index 01edaa89f28..ada8ac4014b 100644 --- a/msgraph_beta/generated/models/target_user_sponsors.py +++ b/msgraph_beta/generated/models/target_user_sponsors.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .user_set import UserSet + diff --git a/msgraph_beta/generated/models/targeted_managed_app_configuration.py b/msgraph_beta/generated/models/targeted_managed_app_configuration.py index 6c192c3482f..d6423b9338e 100644 --- a/msgraph_beta/generated/models/targeted_managed_app_configuration.py +++ b/msgraph_beta/generated/models/targeted_managed_app_configuration.py @@ -87,6 +87,13 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .app_management_level import AppManagementLevel + from .managed_app_configuration import ManagedAppConfiguration + from .managed_app_policy_deployment_summary import ManagedAppPolicyDeploymentSummary + from .managed_mobile_app import ManagedMobileApp + from .targeted_managed_app_group_type import TargetedManagedAppGroupType + from .targeted_managed_app_policy_assignment import TargetedManagedAppPolicyAssignment + writer.write_enum_value("appGroupType", self.app_group_type) writer.write_collection_of_object_values("apps", self.apps) writer.write_collection_of_object_values("assignments", self.assignments) diff --git a/msgraph_beta/generated/models/targeted_managed_app_configuration_collection_response.py b/msgraph_beta/generated/models/targeted_managed_app_configuration_collection_response.py index 31ec0eab89c..5077ea9bfed 100644 --- a/msgraph_beta/generated/models/targeted_managed_app_configuration_collection_response.py +++ b/msgraph_beta/generated/models/targeted_managed_app_configuration_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .targeted_managed_app_configuration import TargetedManagedAppConfiguration + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/targeted_managed_app_configuration_policy_set_item.py b/msgraph_beta/generated/models/targeted_managed_app_configuration_policy_set_item.py index 010ced36312..b765e9b2b79 100644 --- a/msgraph_beta/generated/models/targeted_managed_app_configuration_policy_set_item.py +++ b/msgraph_beta/generated/models/targeted_managed_app_configuration_policy_set_item.py @@ -51,5 +51,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .policy_set_item import PolicySetItem + diff --git a/msgraph_beta/generated/models/targeted_managed_app_policy_assignment.py b/msgraph_beta/generated/models/targeted_managed_app_policy_assignment.py index 79e08b0bd35..434fa16e1ba 100644 --- a/msgraph_beta/generated/models/targeted_managed_app_policy_assignment.py +++ b/msgraph_beta/generated/models/targeted_managed_app_policy_assignment.py @@ -66,6 +66,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_and_app_management_assignment_source import DeviceAndAppManagementAssignmentSource + from .device_and_app_management_assignment_target import DeviceAndAppManagementAssignmentTarget + from .entity import Entity + writer.write_enum_value("source", self.source) writer.write_str_value("sourceId", self.source_id) writer.write_object_value("target", self.target) diff --git a/msgraph_beta/generated/models/targeted_managed_app_policy_assignment_collection_response.py b/msgraph_beta/generated/models/targeted_managed_app_policy_assignment_collection_response.py index 8df702fc074..f8ddbd66f4b 100644 --- a/msgraph_beta/generated/models/targeted_managed_app_policy_assignment_collection_response.py +++ b/msgraph_beta/generated/models/targeted_managed_app_policy_assignment_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .targeted_managed_app_policy_assignment import TargetedManagedAppPolicyAssignment + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/targeted_managed_app_protection.py b/msgraph_beta/generated/models/targeted_managed_app_protection.py index e999b99cc08..3801f88b892 100644 --- a/msgraph_beta/generated/models/targeted_managed_app_protection.py +++ b/msgraph_beta/generated/models/targeted_managed_app_protection.py @@ -39,7 +39,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> TargetedManagedApp if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.androidManagedAppProtection".casefold(): @@ -90,6 +91,13 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .android_managed_app_protection import AndroidManagedAppProtection + from .app_management_level import AppManagementLevel + from .ios_managed_app_protection import IosManagedAppProtection + from .managed_app_protection import ManagedAppProtection + from .targeted_managed_app_group_type import TargetedManagedAppGroupType + from .targeted_managed_app_policy_assignment import TargetedManagedAppPolicyAssignment + writer.write_enum_value("appGroupType", self.app_group_type) writer.write_collection_of_object_values("assignments", self.assignments) writer.write_bool_value("isAssigned", self.is_assigned) diff --git a/msgraph_beta/generated/models/task_file_attachment.py b/msgraph_beta/generated/models/task_file_attachment.py index f59059c6162..48ff6e0b3c7 100644 --- a/msgraph_beta/generated/models/task_file_attachment.py +++ b/msgraph_beta/generated/models/task_file_attachment.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .attachment_base import AttachmentBase + writer.write_bytes_value("contentBytes", self.content_bytes) diff --git a/msgraph_beta/generated/models/tax_area_collection_response.py b/msgraph_beta/generated/models/tax_area_collection_response.py index 7d520b9c288..9b184dbfe4f 100644 --- a/msgraph_beta/generated/models/tax_area_collection_response.py +++ b/msgraph_beta/generated/models/tax_area_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .tax_area import TaxArea + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/tax_group.py b/msgraph_beta/generated/models/tax_group.py index 54f8b986057..19f8d906c68 100644 --- a/msgraph_beta/generated/models/tax_group.py +++ b/msgraph_beta/generated/models/tax_group.py @@ -61,6 +61,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_str_value("code", self.code) writer.write_str_value("displayName", self.display_name) writer.write_datetime_value("lastModifiedDateTime", self.last_modified_date_time) diff --git a/msgraph_beta/generated/models/tax_group_collection_response.py b/msgraph_beta/generated/models/tax_group_collection_response.py index 077f6b4b04a..e961ff6afd0 100644 --- a/msgraph_beta/generated/models/tax_group_collection_response.py +++ b/msgraph_beta/generated/models/tax_group_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .tax_group import TaxGroup + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/team.py b/msgraph_beta/generated/models/team.py index 3f994438b4f..399d5159170 100644 --- a/msgraph_beta/generated/models/team.py +++ b/msgraph_beta/generated/models/team.py @@ -205,6 +205,28 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .channel import Channel + from .conversation_member import ConversationMember + from .entity import Entity + from .group import Group + from .profile_photo import ProfilePhoto + from .resource_specific_permission_grant import ResourceSpecificPermissionGrant + from .schedule import Schedule + from .teams_app_installation import TeamsAppInstallation + from .teams_async_operation import TeamsAsyncOperation + from .teams_template import TeamsTemplate + from .teamwork_tag import TeamworkTag + from .team_discovery_settings import TeamDiscoverySettings + from .team_fun_settings import TeamFunSettings + from .team_guest_settings import TeamGuestSettings + from .team_member_settings import TeamMemberSettings + from .team_messaging_settings import TeamMessagingSettings + from .team_specialization import TeamSpecialization + from .team_summary import TeamSummary + from .team_template_definition import TeamTemplateDefinition + from .team_visibility_type import TeamVisibilityType + from .user import User + writer.write_collection_of_object_values("allChannels", self.all_channels) writer.write_collection_of_object_values("channels", self.channels) writer.write_str_value("classification", self.classification) diff --git a/msgraph_beta/generated/models/team_archived_event_message_detail.py b/msgraph_beta/generated/models/team_archived_event_message_detail.py index 161d8085b94..f014f336916 100644 --- a/msgraph_beta/generated/models/team_archived_event_message_detail.py +++ b/msgraph_beta/generated/models/team_archived_event_message_detail.py @@ -57,6 +57,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .event_message_detail import EventMessageDetail + from .identity_set import IdentitySet + writer.write_object_value("initiator", self.initiator) writer.write_str_value("teamId", self.team_id) diff --git a/msgraph_beta/generated/models/team_collection_response.py b/msgraph_beta/generated/models/team_collection_response.py index ae892bea794..3497c2e37d4 100644 --- a/msgraph_beta/generated/models/team_collection_response.py +++ b/msgraph_beta/generated/models/team_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .team import Team + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/team_created_event_message_detail.py b/msgraph_beta/generated/models/team_created_event_message_detail.py index 91b750de809..9e469670803 100644 --- a/msgraph_beta/generated/models/team_created_event_message_detail.py +++ b/msgraph_beta/generated/models/team_created_event_message_detail.py @@ -63,6 +63,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .event_message_detail import EventMessageDetail + from .identity_set import IdentitySet + writer.write_object_value("initiator", self.initiator) writer.write_str_value("teamDescription", self.team_description) writer.write_str_value("teamDisplayName", self.team_display_name) diff --git a/msgraph_beta/generated/models/team_description_updated_event_message_detail.py b/msgraph_beta/generated/models/team_description_updated_event_message_detail.py index 4374bc9e121..f0e1a0e4615 100644 --- a/msgraph_beta/generated/models/team_description_updated_event_message_detail.py +++ b/msgraph_beta/generated/models/team_description_updated_event_message_detail.py @@ -60,6 +60,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .event_message_detail import EventMessageDetail + from .identity_set import IdentitySet + writer.write_object_value("initiator", self.initiator) writer.write_str_value("teamDescription", self.team_description) writer.write_str_value("teamId", self.team_id) diff --git a/msgraph_beta/generated/models/team_fun_settings.py b/msgraph_beta/generated/models/team_fun_settings.py index 9e7f807c62e..f15788b141b 100644 --- a/msgraph_beta/generated/models/team_fun_settings.py +++ b/msgraph_beta/generated/models/team_fun_settings.py @@ -62,6 +62,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .giphy_rating_type import GiphyRatingType + writer.write_bool_value("allowCustomMemes", self.allow_custom_memes) writer.write_bool_value("allowGiphy", self.allow_giphy) writer.write_bool_value("allowStickersAndMemes", self.allow_stickers_and_memes) diff --git a/msgraph_beta/generated/models/team_info.py b/msgraph_beta/generated/models/team_info.py index e7e36f47f35..054db9102fb 100644 --- a/msgraph_beta/generated/models/team_info.py +++ b/msgraph_beta/generated/models/team_info.py @@ -32,7 +32,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> TeamInfo: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.associatedTeamInfo".casefold(): @@ -78,6 +79,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .associated_team_info import AssociatedTeamInfo + from .entity import Entity + from .shared_with_channel_team_info import SharedWithChannelTeamInfo + from .team import Team + writer.write_str_value("displayName", self.display_name) writer.write_object_value("team", self.team) writer.write_str_value("tenantId", self.tenant_id) diff --git a/msgraph_beta/generated/models/team_joining_disabled_event_message_detail.py b/msgraph_beta/generated/models/team_joining_disabled_event_message_detail.py index ef63d5e3d52..53264cd782d 100644 --- a/msgraph_beta/generated/models/team_joining_disabled_event_message_detail.py +++ b/msgraph_beta/generated/models/team_joining_disabled_event_message_detail.py @@ -57,6 +57,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .event_message_detail import EventMessageDetail + from .identity_set import IdentitySet + writer.write_object_value("initiator", self.initiator) writer.write_str_value("teamId", self.team_id) diff --git a/msgraph_beta/generated/models/team_joining_enabled_event_message_detail.py b/msgraph_beta/generated/models/team_joining_enabled_event_message_detail.py index f31e4494f51..49671c9037e 100644 --- a/msgraph_beta/generated/models/team_joining_enabled_event_message_detail.py +++ b/msgraph_beta/generated/models/team_joining_enabled_event_message_detail.py @@ -57,6 +57,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .event_message_detail import EventMessageDetail + from .identity_set import IdentitySet + writer.write_object_value("initiator", self.initiator) writer.write_str_value("teamId", self.team_id) diff --git a/msgraph_beta/generated/models/team_members_notification_recipient.py b/msgraph_beta/generated/models/team_members_notification_recipient.py index aa1da494d05..2ee0639f220 100644 --- a/msgraph_beta/generated/models/team_members_notification_recipient.py +++ b/msgraph_beta/generated/models/team_members_notification_recipient.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .teamwork_notification_recipient import TeamworkNotificationRecipient + writer.write_str_value("teamId", self.team_id) diff --git a/msgraph_beta/generated/models/team_renamed_event_message_detail.py b/msgraph_beta/generated/models/team_renamed_event_message_detail.py index af6c13ff606..7d0930fdeee 100644 --- a/msgraph_beta/generated/models/team_renamed_event_message_detail.py +++ b/msgraph_beta/generated/models/team_renamed_event_message_detail.py @@ -60,6 +60,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .event_message_detail import EventMessageDetail + from .identity_set import IdentitySet + writer.write_object_value("initiator", self.initiator) writer.write_str_value("teamDisplayName", self.team_display_name) writer.write_str_value("teamId", self.team_id) diff --git a/msgraph_beta/generated/models/team_teams_app_installation_scope_info.py b/msgraph_beta/generated/models/team_teams_app_installation_scope_info.py index e25113c4a5c..83bf7dd15a3 100644 --- a/msgraph_beta/generated/models/team_teams_app_installation_scope_info.py +++ b/msgraph_beta/generated/models/team_teams_app_installation_scope_info.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .teams_app_installation_scope_info import TeamsAppInstallationScopeInfo + writer.write_str_value("teamId", self.team_id) diff --git a/msgraph_beta/generated/models/team_template.py b/msgraph_beta/generated/models/team_template.py index e69860b7501..af6336c4de7 100644 --- a/msgraph_beta/generated/models/team_template.py +++ b/msgraph_beta/generated/models/team_template.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .team_template_definition import TeamTemplateDefinition + writer.write_collection_of_object_values("definitions", self.definitions) diff --git a/msgraph_beta/generated/models/team_template_collection_response.py b/msgraph_beta/generated/models/team_template_collection_response.py index 2880d8c56d6..0304e0286fa 100644 --- a/msgraph_beta/generated/models/team_template_collection_response.py +++ b/msgraph_beta/generated/models/team_template_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .team_template import TeamTemplate + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/team_template_definition.py b/msgraph_beta/generated/models/team_template_definition.py index e7197a70e8b..78dbc0e9a4a 100644 --- a/msgraph_beta/generated/models/team_template_definition.py +++ b/msgraph_beta/generated/models/team_template_definition.py @@ -94,6 +94,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .identity_set import IdentitySet + from .team import Team + from .team_template_audience import TeamTemplateAudience + writer.write_enum_value("audience", self.audience) writer.write_collection_of_primitive_values("categories", self.categories) writer.write_str_value("description", self.description) diff --git a/msgraph_beta/generated/models/team_template_definition_collection_response.py b/msgraph_beta/generated/models/team_template_definition_collection_response.py index aef48282225..c967c5da612 100644 --- a/msgraph_beta/generated/models/team_template_definition_collection_response.py +++ b/msgraph_beta/generated/models/team_template_definition_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .team_template_definition import TeamTemplateDefinition + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/team_unarchived_event_message_detail.py b/msgraph_beta/generated/models/team_unarchived_event_message_detail.py index 011170b3568..c8c4f364f6b 100644 --- a/msgraph_beta/generated/models/team_unarchived_event_message_detail.py +++ b/msgraph_beta/generated/models/team_unarchived_event_message_detail.py @@ -57,6 +57,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .event_message_detail import EventMessageDetail + from .identity_set import IdentitySet + writer.write_object_value("initiator", self.initiator) writer.write_str_value("teamId", self.team_id) diff --git a/msgraph_beta/generated/models/teams_administration/teams_admin_root.py b/msgraph_beta/generated/models/teams_administration/teams_admin_root.py index 7e2878b99ed..b1030cce5dd 100644 --- a/msgraph_beta/generated/models/teams_administration/teams_admin_root.py +++ b/msgraph_beta/generated/models/teams_administration/teams_admin_root.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + diff --git a/msgraph_beta/generated/models/teams_app.py b/msgraph_beta/generated/models/teams_app.py index 2cebc63fa7c..c13dfce3d85 100644 --- a/msgraph_beta/generated/models/teams_app.py +++ b/msgraph_beta/generated/models/teams_app.py @@ -66,6 +66,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .teams_app_definition import TeamsAppDefinition + from .teams_app_distribution_method import TeamsAppDistributionMethod + writer.write_collection_of_object_values("appDefinitions", self.app_definitions) writer.write_str_value("displayName", self.display_name) writer.write_enum_value("distributionMethod", self.distribution_method) diff --git a/msgraph_beta/generated/models/teams_app_authorization.py b/msgraph_beta/generated/models/teams_app_authorization.py index 7278e7d5244..10ecd609c7c 100644 --- a/msgraph_beta/generated/models/teams_app_authorization.py +++ b/msgraph_beta/generated/models/teams_app_authorization.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .teams_app_permission_set import TeamsAppPermissionSet + writer.write_str_value("clientAppId", self.client_app_id) writer.write_str_value("@odata.type", self.odata_type) writer.write_object_value("requiredPermissionSet", self.required_permission_set) diff --git a/msgraph_beta/generated/models/teams_app_collection_response.py b/msgraph_beta/generated/models/teams_app_collection_response.py index 6f412ee743e..c1bb3c2bf4b 100644 --- a/msgraph_beta/generated/models/teams_app_collection_response.py +++ b/msgraph_beta/generated/models/teams_app_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .teams_app import TeamsApp + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/teams_app_dashboard_card_content_source.py b/msgraph_beta/generated/models/teams_app_dashboard_card_content_source.py index c60482a88ab..081c2cc5960 100644 --- a/msgraph_beta/generated/models/teams_app_dashboard_card_content_source.py +++ b/msgraph_beta/generated/models/teams_app_dashboard_card_content_source.py @@ -59,6 +59,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .teams_app_dashboard_card_bot_configuration import TeamsAppDashboardCardBotConfiguration + from .teams_app_dashboard_card_source_type import TeamsAppDashboardCardSourceType + writer.write_object_value("botConfiguration", self.bot_configuration) writer.write_str_value("@odata.type", self.odata_type) writer.write_enum_value("sourceType", self.source_type) diff --git a/msgraph_beta/generated/models/teams_app_dashboard_card_definition.py b/msgraph_beta/generated/models/teams_app_dashboard_card_definition.py index 7f589e804fa..bc19817e60d 100644 --- a/msgraph_beta/generated/models/teams_app_dashboard_card_definition.py +++ b/msgraph_beta/generated/models/teams_app_dashboard_card_definition.py @@ -75,6 +75,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .teams_app_dashboard_card_content_source import TeamsAppDashboardCardContentSource + from .teams_app_dashboard_card_icon import TeamsAppDashboardCardIcon + from .teams_app_dashboard_card_size import TeamsAppDashboardCardSize + writer.write_object_value("contentSource", self.content_source) writer.write_enum_value("defaultSize", self.default_size) writer.write_str_value("description", self.description) diff --git a/msgraph_beta/generated/models/teams_app_dashboard_card_definition_collection_response.py b/msgraph_beta/generated/models/teams_app_dashboard_card_definition_collection_response.py index c0ff8b0da92..f4065677712 100644 --- a/msgraph_beta/generated/models/teams_app_dashboard_card_definition_collection_response.py +++ b/msgraph_beta/generated/models/teams_app_dashboard_card_definition_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .teams_app_dashboard_card_definition import TeamsAppDashboardCardDefinition + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/teams_app_definition.py b/msgraph_beta/generated/models/teams_app_definition.py index a54055b8d2a..2d06e9e2075 100644 --- a/msgraph_beta/generated/models/teams_app_definition.py +++ b/msgraph_beta/generated/models/teams_app_definition.py @@ -115,6 +115,15 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .identity_set import IdentitySet + from .teams_app_authorization import TeamsAppAuthorization + from .teams_app_dashboard_card_definition import TeamsAppDashboardCardDefinition + from .teams_app_icon import TeamsAppIcon + from .teams_app_installation_scopes import TeamsAppInstallationScopes + from .teams_app_publishing_state import TeamsAppPublishingState + from .teamwork_bot import TeamworkBot + writer.write_enum_value("allowedInstallationScopes", self.allowed_installation_scopes) writer.write_object_value("authorization", self.authorization) writer.write_str_value("azureADAppId", self.azure_a_d_app_id) diff --git a/msgraph_beta/generated/models/teams_app_definition_collection_response.py b/msgraph_beta/generated/models/teams_app_definition_collection_response.py index fce8ca2ab18..7bd8cc00d16 100644 --- a/msgraph_beta/generated/models/teams_app_definition_collection_response.py +++ b/msgraph_beta/generated/models/teams_app_definition_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .teams_app_definition import TeamsAppDefinition + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/teams_app_icon.py b/msgraph_beta/generated/models/teams_app_icon.py index 15bed88da4c..5d5b3ffe278 100644 --- a/msgraph_beta/generated/models/teams_app_icon.py +++ b/msgraph_beta/generated/models/teams_app_icon.py @@ -57,6 +57,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .teamwork_hosted_content import TeamworkHostedContent + writer.write_object_value("hostedContent", self.hosted_content) writer.write_str_value("webUrl", self.web_url) diff --git a/msgraph_beta/generated/models/teams_app_installation.py b/msgraph_beta/generated/models/teams_app_installation.py index 3c706a0db09..ac4207cdab3 100644 --- a/msgraph_beta/generated/models/teams_app_installation.py +++ b/msgraph_beta/generated/models/teams_app_installation.py @@ -36,7 +36,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> TeamsAppInstallati if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.userScopeTeamsAppInstallation".casefold(): @@ -83,6 +84,13 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .teams_app import TeamsApp + from .teams_app_definition import TeamsAppDefinition + from .teams_app_installation_scope_info import TeamsAppInstallationScopeInfo + from .teams_app_permission_set import TeamsAppPermissionSet + from .user_scope_teams_app_installation import UserScopeTeamsAppInstallation + writer.write_object_value("consentedPermissionSet", self.consented_permission_set) writer.write_object_value("scopeInfo", self.scope_info) writer.write_object_value("teamsApp", self.teams_app) diff --git a/msgraph_beta/generated/models/teams_app_installation_collection_response.py b/msgraph_beta/generated/models/teams_app_installation_collection_response.py index 3626149d19b..c6234cbe686 100644 --- a/msgraph_beta/generated/models/teams_app_installation_collection_response.py +++ b/msgraph_beta/generated/models/teams_app_installation_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .teams_app_installation import TeamsAppInstallation + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/teams_app_installation_scope_info.py b/msgraph_beta/generated/models/teams_app_installation_scope_info.py index 4ac17b6f4aa..433161e0a80 100644 --- a/msgraph_beta/generated/models/teams_app_installation_scope_info.py +++ b/msgraph_beta/generated/models/teams_app_installation_scope_info.py @@ -32,7 +32,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> TeamsAppInstallati if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.groupChatTeamsAppInstallationScopeInfo".casefold(): @@ -78,6 +79,11 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .group_chat_teams_app_installation_scope_info import GroupChatTeamsAppInstallationScopeInfo + from .personal_teams_app_installation_scope_info import PersonalTeamsAppInstallationScopeInfo + from .teams_app_installation_scopes import TeamsAppInstallationScopes + from .team_teams_app_installation_scope_info import TeamTeamsAppInstallationScopeInfo + writer.write_str_value("@odata.type", self.odata_type) writer.write_enum_value("scope", self.scope) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/teams_app_installed_event_message_detail.py b/msgraph_beta/generated/models/teams_app_installed_event_message_detail.py index bc6ae6900d4..4e47a84eb59 100644 --- a/msgraph_beta/generated/models/teams_app_installed_event_message_detail.py +++ b/msgraph_beta/generated/models/teams_app_installed_event_message_detail.py @@ -60,6 +60,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .event_message_detail import EventMessageDetail + from .identity_set import IdentitySet + writer.write_object_value("initiator", self.initiator) writer.write_str_value("teamsAppDisplayName", self.teams_app_display_name) writer.write_str_value("teamsAppId", self.teams_app_id) diff --git a/msgraph_beta/generated/models/teams_app_permission_set.py b/msgraph_beta/generated/models/teams_app_permission_set.py index bca2fe564e9..c8dd3ef4cde 100644 --- a/msgraph_beta/generated/models/teams_app_permission_set.py +++ b/msgraph_beta/generated/models/teams_app_permission_set.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .teams_app_resource_specific_permission import TeamsAppResourceSpecificPermission + writer.write_str_value("@odata.type", self.odata_type) writer.write_collection_of_object_values("resourceSpecificPermissions", self.resource_specific_permissions) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/teams_app_removed_event_message_detail.py b/msgraph_beta/generated/models/teams_app_removed_event_message_detail.py index 52fafa79bf6..87aa842f06e 100644 --- a/msgraph_beta/generated/models/teams_app_removed_event_message_detail.py +++ b/msgraph_beta/generated/models/teams_app_removed_event_message_detail.py @@ -60,6 +60,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .event_message_detail import EventMessageDetail + from .identity_set import IdentitySet + writer.write_object_value("initiator", self.initiator) writer.write_str_value("teamsAppDisplayName", self.teams_app_display_name) writer.write_str_value("teamsAppId", self.teams_app_id) diff --git a/msgraph_beta/generated/models/teams_app_resource_specific_permission.py b/msgraph_beta/generated/models/teams_app_resource_specific_permission.py index bdbdb267862..76d95ed97c9 100644 --- a/msgraph_beta/generated/models/teams_app_resource_specific_permission.py +++ b/msgraph_beta/generated/models/teams_app_resource_specific_permission.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .teams_app_resource_specific_permission_type import TeamsAppResourceSpecificPermissionType + writer.write_str_value("@odata.type", self.odata_type) writer.write_enum_value("permissionType", self.permission_type) writer.write_str_value("permissionValue", self.permission_value) diff --git a/msgraph_beta/generated/models/teams_app_settings.py b/msgraph_beta/generated/models/teams_app_settings.py index efc5069e84d..9aa583b765f 100644 --- a/msgraph_beta/generated/models/teams_app_settings.py +++ b/msgraph_beta/generated/models/teams_app_settings.py @@ -57,6 +57,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_bool_value("allowUserRequestsForAppAccess", self.allow_user_requests_for_app_access) writer.write_bool_value("isChatResourceSpecificConsentEnabled", self.is_chat_resource_specific_consent_enabled) writer.write_bool_value("isUserPersonalScopeResourceSpecificConsentEnabled", self.is_user_personal_scope_resource_specific_consent_enabled) diff --git a/msgraph_beta/generated/models/teams_app_upgraded_event_message_detail.py b/msgraph_beta/generated/models/teams_app_upgraded_event_message_detail.py index e4941600429..0e56b2ef7dc 100644 --- a/msgraph_beta/generated/models/teams_app_upgraded_event_message_detail.py +++ b/msgraph_beta/generated/models/teams_app_upgraded_event_message_detail.py @@ -60,6 +60,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .event_message_detail import EventMessageDetail + from .identity_set import IdentitySet + writer.write_object_value("initiator", self.initiator) writer.write_str_value("teamsAppDisplayName", self.teams_app_display_name) writer.write_str_value("teamsAppId", self.teams_app_id) diff --git a/msgraph_beta/generated/models/teams_async_operation.py b/msgraph_beta/generated/models/teams_async_operation.py index bbacdb8d431..62b2a94e696 100644 --- a/msgraph_beta/generated/models/teams_async_operation.py +++ b/msgraph_beta/generated/models/teams_async_operation.py @@ -82,6 +82,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .operation_error import OperationError + from .teams_async_operation_status import TeamsAsyncOperationStatus + from .teams_async_operation_type import TeamsAsyncOperationType + writer.write_int_value("attemptsCount", self.attempts_count) writer.write_datetime_value("createdDateTime", self.created_date_time) writer.write_object_value("error", self.error) diff --git a/msgraph_beta/generated/models/teams_async_operation_collection_response.py b/msgraph_beta/generated/models/teams_async_operation_collection_response.py index 91a0e20e0d5..3b3fec042e8 100644 --- a/msgraph_beta/generated/models/teams_async_operation_collection_response.py +++ b/msgraph_beta/generated/models/teams_async_operation_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .teams_async_operation import TeamsAsyncOperation + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/teams_licensing_details.py b/msgraph_beta/generated/models/teams_licensing_details.py index b15418ed4cf..ac513f553e5 100644 --- a/msgraph_beta/generated/models/teams_licensing_details.py +++ b/msgraph_beta/generated/models/teams_licensing_details.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_bool_value("hasTeamsLicense", self.has_teams_license) diff --git a/msgraph_beta/generated/models/teams_tab.py b/msgraph_beta/generated/models/teams_tab.py index a28d3f412ee..df5586c304c 100644 --- a/msgraph_beta/generated/models/teams_tab.py +++ b/msgraph_beta/generated/models/teams_tab.py @@ -75,6 +75,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .teams_app import TeamsApp + from .teams_tab_configuration import TeamsTabConfiguration + writer.write_object_value("configuration", self.configuration) writer.write_str_value("displayName", self.display_name) writer.write_str_value("messageId", self.message_id) diff --git a/msgraph_beta/generated/models/teams_tab_collection_response.py b/msgraph_beta/generated/models/teams_tab_collection_response.py index 9bcbf8b4b8e..6635fb9ec10 100644 --- a/msgraph_beta/generated/models/teams_tab_collection_response.py +++ b/msgraph_beta/generated/models/teams_tab_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .teams_tab import TeamsTab + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/teams_template.py b/msgraph_beta/generated/models/teams_template.py index 4b6086daab4..44181c8ba6d 100644 --- a/msgraph_beta/generated/models/teams_template.py +++ b/msgraph_beta/generated/models/teams_template.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + diff --git a/msgraph_beta/generated/models/teams_template_collection_response.py b/msgraph_beta/generated/models/teams_template_collection_response.py index 89803c24b84..f726aa61067 100644 --- a/msgraph_beta/generated/models/teams_template_collection_response.py +++ b/msgraph_beta/generated/models/teams_template_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .teams_template import TeamsTemplate + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/teamwork.py b/msgraph_beta/generated/models/teamwork.py index 1cd2d2fd85f..af977b50dd3 100644 --- a/msgraph_beta/generated/models/teamwork.py +++ b/msgraph_beta/generated/models/teamwork.py @@ -90,6 +90,14 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .deleted_chat import DeletedChat + from .deleted_team import DeletedTeam + from .entity import Entity + from .teams_app_settings import TeamsAppSettings + from .teamwork_device import TeamworkDevice + from .team_template import TeamTemplate + from .workforce_integration import WorkforceIntegration + writer.write_collection_of_object_values("deletedChats", self.deleted_chats) writer.write_collection_of_object_values("deletedTeams", self.deleted_teams) writer.write_collection_of_object_values("devices", self.devices) diff --git a/msgraph_beta/generated/models/teamwork_account_configuration.py b/msgraph_beta/generated/models/teamwork_account_configuration.py index 2d81bd07e72..5c4d4ae35a3 100644 --- a/msgraph_beta/generated/models/teamwork_account_configuration.py +++ b/msgraph_beta/generated/models/teamwork_account_configuration.py @@ -59,6 +59,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .teamwork_on_premises_calendar_sync_configuration import TeamworkOnPremisesCalendarSyncConfiguration + from .teamwork_supported_client import TeamworkSupportedClient + writer.write_str_value("@odata.type", self.odata_type) writer.write_object_value("onPremisesCalendarSyncConfiguration", self.on_premises_calendar_sync_configuration) writer.write_enum_value("supportedClient", self.supported_client) diff --git a/msgraph_beta/generated/models/teamwork_active_peripherals.py b/msgraph_beta/generated/models/teamwork_active_peripherals.py index 0ba1b176abf..336a8f86bf1 100644 --- a/msgraph_beta/generated/models/teamwork_active_peripherals.py +++ b/msgraph_beta/generated/models/teamwork_active_peripherals.py @@ -65,6 +65,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .teamwork_peripheral import TeamworkPeripheral + writer.write_object_value("communicationSpeaker", self.communication_speaker) writer.write_object_value("contentCamera", self.content_camera) writer.write_object_value("microphone", self.microphone) diff --git a/msgraph_beta/generated/models/teamwork_activity_topic.py b/msgraph_beta/generated/models/teamwork_activity_topic.py index dd602789c1d..1afab1e9b94 100644 --- a/msgraph_beta/generated/models/teamwork_activity_topic.py +++ b/msgraph_beta/generated/models/teamwork_activity_topic.py @@ -59,6 +59,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .teamwork_activity_topic_source import TeamworkActivityTopicSource + writer.write_str_value("@odata.type", self.odata_type) writer.write_enum_value("source", self.source) writer.write_str_value("value", self.value) diff --git a/msgraph_beta/generated/models/teamwork_application_identity.py b/msgraph_beta/generated/models/teamwork_application_identity.py index 6984d07c79c..a59d7847836 100644 --- a/msgraph_beta/generated/models/teamwork_application_identity.py +++ b/msgraph_beta/generated/models/teamwork_application_identity.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .identity import Identity + from .teamwork_application_identity_type import TeamworkApplicationIdentityType + writer.write_enum_value("applicationIdentityType", self.application_identity_type) diff --git a/msgraph_beta/generated/models/teamwork_bot.py b/msgraph_beta/generated/models/teamwork_bot.py index aecb5d07e75..df7948894e1 100644 --- a/msgraph_beta/generated/models/teamwork_bot.py +++ b/msgraph_beta/generated/models/teamwork_bot.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + diff --git a/msgraph_beta/generated/models/teamwork_camera_configuration.py b/msgraph_beta/generated/models/teamwork_camera_configuration.py index ab5334da680..9878d0ff740 100644 --- a/msgraph_beta/generated/models/teamwork_camera_configuration.py +++ b/msgraph_beta/generated/models/teamwork_camera_configuration.py @@ -62,6 +62,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .teamwork_content_camera_configuration import TeamworkContentCameraConfiguration + from .teamwork_peripheral import TeamworkPeripheral + writer.write_collection_of_object_values("cameras", self.cameras) writer.write_object_value("contentCameraConfiguration", self.content_camera_configuration) writer.write_object_value("defaultContentCamera", self.default_content_camera) diff --git a/msgraph_beta/generated/models/teamwork_configured_peripheral.py b/msgraph_beta/generated/models/teamwork_configured_peripheral.py index 0f57ba16870..106a7677764 100644 --- a/msgraph_beta/generated/models/teamwork_configured_peripheral.py +++ b/msgraph_beta/generated/models/teamwork_configured_peripheral.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .teamwork_peripheral import TeamworkPeripheral + writer.write_bool_value("isOptional", self.is_optional) writer.write_str_value("@odata.type", self.odata_type) writer.write_object_value("peripheral", self.peripheral) diff --git a/msgraph_beta/generated/models/teamwork_connection.py b/msgraph_beta/generated/models/teamwork_connection.py index 48856d10223..7e4fd559b41 100644 --- a/msgraph_beta/generated/models/teamwork_connection.py +++ b/msgraph_beta/generated/models/teamwork_connection.py @@ -57,6 +57,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .teamwork_connection_status import TeamworkConnectionStatus + writer.write_enum_value("connectionStatus", self.connection_status) writer.write_datetime_value("lastModifiedDateTime", self.last_modified_date_time) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/teamwork_conversation_identity.py b/msgraph_beta/generated/models/teamwork_conversation_identity.py index ea1be1f090d..9fa71331ca3 100644 --- a/msgraph_beta/generated/models/teamwork_conversation_identity.py +++ b/msgraph_beta/generated/models/teamwork_conversation_identity.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .identity import Identity + from .teamwork_conversation_identity_type import TeamworkConversationIdentityType + writer.write_enum_value("conversationIdentityType", self.conversation_identity_type) diff --git a/msgraph_beta/generated/models/teamwork_device.py b/msgraph_beta/generated/models/teamwork_device.py index 252395bd6b4..200f8f79901 100644 --- a/msgraph_beta/generated/models/teamwork_device.py +++ b/msgraph_beta/generated/models/teamwork_device.py @@ -124,6 +124,18 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .identity_set import IdentitySet + from .teamwork_device_activity import TeamworkDeviceActivity + from .teamwork_device_activity_state import TeamworkDeviceActivityState + from .teamwork_device_configuration import TeamworkDeviceConfiguration + from .teamwork_device_health import TeamworkDeviceHealth + from .teamwork_device_health_status import TeamworkDeviceHealthStatus + from .teamwork_device_operation import TeamworkDeviceOperation + from .teamwork_device_type import TeamworkDeviceType + from .teamwork_hardware_detail import TeamworkHardwareDetail + from .teamwork_user_identity import TeamworkUserIdentity + writer.write_object_value("activity", self.activity) writer.write_enum_value("activityState", self.activity_state) writer.write_str_value("companyAssetTag", self.company_asset_tag) diff --git a/msgraph_beta/generated/models/teamwork_device_activity.py b/msgraph_beta/generated/models/teamwork_device_activity.py index 9b96f1b63cc..d599d671df6 100644 --- a/msgraph_beta/generated/models/teamwork_device_activity.py +++ b/msgraph_beta/generated/models/teamwork_device_activity.py @@ -70,6 +70,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .identity_set import IdentitySet + from .teamwork_active_peripherals import TeamworkActivePeripherals + writer.write_object_value("activePeripherals", self.active_peripherals) writer.write_object_value("createdBy", self.created_by) writer.write_datetime_value("createdDateTime", self.created_date_time) diff --git a/msgraph_beta/generated/models/teamwork_device_collection_response.py b/msgraph_beta/generated/models/teamwork_device_collection_response.py index b0f94b4a94b..f42123e86e4 100644 --- a/msgraph_beta/generated/models/teamwork_device_collection_response.py +++ b/msgraph_beta/generated/models/teamwork_device_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .teamwork_device import TeamworkDevice + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/teamwork_device_configuration.py b/msgraph_beta/generated/models/teamwork_device_configuration.py index d42363f2757..efb02b166ad 100644 --- a/msgraph_beta/generated/models/teamwork_device_configuration.py +++ b/msgraph_beta/generated/models/teamwork_device_configuration.py @@ -112,6 +112,17 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .identity_set import IdentitySet + from .teamwork_camera_configuration import TeamworkCameraConfiguration + from .teamwork_device_software_versions import TeamworkDeviceSoftwareVersions + from .teamwork_display_configuration import TeamworkDisplayConfiguration + from .teamwork_hardware_configuration import TeamworkHardwareConfiguration + from .teamwork_microphone_configuration import TeamworkMicrophoneConfiguration + from .teamwork_speaker_configuration import TeamworkSpeakerConfiguration + from .teamwork_system_configuration import TeamworkSystemConfiguration + from .teamwork_teams_client_configuration import TeamworkTeamsClientConfiguration + writer.write_object_value("cameraConfiguration", self.camera_configuration) writer.write_object_value("createdBy", self.created_by) writer.write_datetime_value("createdDateTime", self.created_date_time) diff --git a/msgraph_beta/generated/models/teamwork_device_health.py b/msgraph_beta/generated/models/teamwork_device_health.py index a0d321ddd5e..0f79cb199cd 100644 --- a/msgraph_beta/generated/models/teamwork_device_health.py +++ b/msgraph_beta/generated/models/teamwork_device_health.py @@ -94,6 +94,14 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .identity_set import IdentitySet + from .teamwork_connection import TeamworkConnection + from .teamwork_hardware_health import TeamworkHardwareHealth + from .teamwork_login_status import TeamworkLoginStatus + from .teamwork_peripherals_health import TeamworkPeripheralsHealth + from .teamwork_software_update_health import TeamworkSoftwareUpdateHealth + writer.write_object_value("connection", self.connection) writer.write_object_value("createdBy", self.created_by) writer.write_datetime_value("createdDateTime", self.created_date_time) diff --git a/msgraph_beta/generated/models/teamwork_device_operation.py b/msgraph_beta/generated/models/teamwork_device_operation.py index 9b684741767..dd51cd3d660 100644 --- a/msgraph_beta/generated/models/teamwork_device_operation.py +++ b/msgraph_beta/generated/models/teamwork_device_operation.py @@ -85,6 +85,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .identity_set import IdentitySet + from .operation_error import OperationError + from .teamwork_device_operation_type import TeamworkDeviceOperationType + writer.write_datetime_value("completedDateTime", self.completed_date_time) writer.write_object_value("createdBy", self.created_by) writer.write_datetime_value("createdDateTime", self.created_date_time) diff --git a/msgraph_beta/generated/models/teamwork_device_operation_collection_response.py b/msgraph_beta/generated/models/teamwork_device_operation_collection_response.py index 446b86f19b2..1a98422f89d 100644 --- a/msgraph_beta/generated/models/teamwork_device_operation_collection_response.py +++ b/msgraph_beta/generated/models/teamwork_device_operation_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .teamwork_device_operation import TeamworkDeviceOperation + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/teamwork_display_configuration.py b/msgraph_beta/generated/models/teamwork_display_configuration.py index 5c373f9fb74..672f078e0cf 100644 --- a/msgraph_beta/generated/models/teamwork_display_configuration.py +++ b/msgraph_beta/generated/models/teamwork_display_configuration.py @@ -68,6 +68,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .teamwork_configured_peripheral import TeamworkConfiguredPeripheral + from .teamwork_display_screen_configuration import TeamworkDisplayScreenConfiguration + writer.write_collection_of_object_values("configuredDisplays", self.configured_displays) writer.write_int_value("displayCount", self.display_count) writer.write_object_value("inBuiltDisplayScreenConfiguration", self.in_built_display_screen_configuration) diff --git a/msgraph_beta/generated/models/teamwork_hardware_configuration.py b/msgraph_beta/generated/models/teamwork_hardware_configuration.py index 72b345629a8..eae0870cbb8 100644 --- a/msgraph_beta/generated/models/teamwork_hardware_configuration.py +++ b/msgraph_beta/generated/models/teamwork_hardware_configuration.py @@ -59,6 +59,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .teamwork_peripheral import TeamworkPeripheral + writer.write_object_value("compute", self.compute) writer.write_object_value("hdmiIngest", self.hdmi_ingest) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/teamwork_hardware_health.py b/msgraph_beta/generated/models/teamwork_hardware_health.py index b7fccf131fb..94fe0ffd5b7 100644 --- a/msgraph_beta/generated/models/teamwork_hardware_health.py +++ b/msgraph_beta/generated/models/teamwork_hardware_health.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .teamwork_peripheral_health import TeamworkPeripheralHealth + writer.write_object_value("computeHealth", self.compute_health) writer.write_object_value("hdmiIngestHealth", self.hdmi_ingest_health) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/teamwork_hosted_content.py b/msgraph_beta/generated/models/teamwork_hosted_content.py index 722b2ed7c3a..59bf0c05685 100644 --- a/msgraph_beta/generated/models/teamwork_hosted_content.py +++ b/msgraph_beta/generated/models/teamwork_hosted_content.py @@ -28,7 +28,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> TeamworkHostedCont if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.chatMessageHostedContent".casefold(): @@ -65,6 +66,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .chat_message_hosted_content import ChatMessageHostedContent + from .entity import Entity + writer.write_bytes_value("contentBytes", self.content_bytes) writer.write_str_value("contentType", self.content_type) diff --git a/msgraph_beta/generated/models/teamwork_login_status.py b/msgraph_beta/generated/models/teamwork_login_status.py index a9283d0246d..536bc233804 100644 --- a/msgraph_beta/generated/models/teamwork_login_status.py +++ b/msgraph_beta/generated/models/teamwork_login_status.py @@ -59,6 +59,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .teamwork_connection import TeamworkConnection + writer.write_object_value("exchangeConnection", self.exchange_connection) writer.write_str_value("@odata.type", self.odata_type) writer.write_object_value("skypeConnection", self.skype_connection) diff --git a/msgraph_beta/generated/models/teamwork_microphone_configuration.py b/msgraph_beta/generated/models/teamwork_microphone_configuration.py index b5d49329b86..812ff321819 100644 --- a/msgraph_beta/generated/models/teamwork_microphone_configuration.py +++ b/msgraph_beta/generated/models/teamwork_microphone_configuration.py @@ -59,6 +59,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .teamwork_peripheral import TeamworkPeripheral + writer.write_object_value("defaultMicrophone", self.default_microphone) writer.write_bool_value("isMicrophoneOptional", self.is_microphone_optional) writer.write_collection_of_object_values("microphones", self.microphones) diff --git a/msgraph_beta/generated/models/teamwork_notification_recipient.py b/msgraph_beta/generated/models/teamwork_notification_recipient.py index 119885a9065..3f76843d2aa 100644 --- a/msgraph_beta/generated/models/teamwork_notification_recipient.py +++ b/msgraph_beta/generated/models/teamwork_notification_recipient.py @@ -30,7 +30,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> TeamworkNotificati if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.aadUserNotificationRecipient".casefold(): @@ -79,6 +80,11 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .aad_user_notification_recipient import AadUserNotificationRecipient + from .channel_members_notification_recipient import ChannelMembersNotificationRecipient + from .chat_members_notification_recipient import ChatMembersNotificationRecipient + from .team_members_notification_recipient import TeamMembersNotificationRecipient + writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/teamwork_online_meeting_info.py b/msgraph_beta/generated/models/teamwork_online_meeting_info.py index 23efa55092d..53f28e7bf19 100644 --- a/msgraph_beta/generated/models/teamwork_online_meeting_info.py +++ b/msgraph_beta/generated/models/teamwork_online_meeting_info.py @@ -59,6 +59,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .teamwork_user_identity import TeamworkUserIdentity + writer.write_str_value("calendarEventId", self.calendar_event_id) writer.write_str_value("joinWebUrl", self.join_web_url) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/teamwork_peripheral.py b/msgraph_beta/generated/models/teamwork_peripheral.py index e4b955ba51d..2c4e700d58b 100644 --- a/msgraph_beta/generated/models/teamwork_peripheral.py +++ b/msgraph_beta/generated/models/teamwork_peripheral.py @@ -57,6 +57,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_str_value("displayName", self.display_name) writer.write_str_value("productId", self.product_id) writer.write_str_value("vendorId", self.vendor_id) diff --git a/msgraph_beta/generated/models/teamwork_peripheral_health.py b/msgraph_beta/generated/models/teamwork_peripheral_health.py index 25e725f2516..1a4ef78165c 100644 --- a/msgraph_beta/generated/models/teamwork_peripheral_health.py +++ b/msgraph_beta/generated/models/teamwork_peripheral_health.py @@ -62,6 +62,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .teamwork_connection import TeamworkConnection + from .teamwork_peripheral import TeamworkPeripheral + writer.write_object_value("connection", self.connection) writer.write_bool_value("isOptional", self.is_optional) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/teamwork_peripherals_health.py b/msgraph_beta/generated/models/teamwork_peripherals_health.py index e382426ed42..b6b0fcb524d 100644 --- a/msgraph_beta/generated/models/teamwork_peripherals_health.py +++ b/msgraph_beta/generated/models/teamwork_peripherals_health.py @@ -68,6 +68,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .teamwork_peripheral_health import TeamworkPeripheralHealth + writer.write_object_value("communicationSpeakerHealth", self.communication_speaker_health) writer.write_object_value("contentCameraHealth", self.content_camera_health) writer.write_collection_of_object_values("displayHealthCollection", self.display_health_collection) diff --git a/msgraph_beta/generated/models/teamwork_software_update_health.py b/msgraph_beta/generated/models/teamwork_software_update_health.py index 891d2345c74..06e4d36b1a6 100644 --- a/msgraph_beta/generated/models/teamwork_software_update_health.py +++ b/msgraph_beta/generated/models/teamwork_software_update_health.py @@ -68,6 +68,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .teamwork_software_update_status import TeamworkSoftwareUpdateStatus + writer.write_object_value("adminAgentSoftwareUpdateStatus", self.admin_agent_software_update_status) writer.write_object_value("companyPortalSoftwareUpdateStatus", self.company_portal_software_update_status) writer.write_object_value("firmwareSoftwareUpdateStatus", self.firmware_software_update_status) diff --git a/msgraph_beta/generated/models/teamwork_software_update_status.py b/msgraph_beta/generated/models/teamwork_software_update_status.py index 18b2e653021..8dadb69fa29 100644 --- a/msgraph_beta/generated/models/teamwork_software_update_status.py +++ b/msgraph_beta/generated/models/teamwork_software_update_status.py @@ -59,6 +59,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .teamwork_software_freshness import TeamworkSoftwareFreshness + writer.write_str_value("availableVersion", self.available_version) writer.write_str_value("currentVersion", self.current_version) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/teamwork_speaker_configuration.py b/msgraph_beta/generated/models/teamwork_speaker_configuration.py index d0975d4067a..b9611590cb3 100644 --- a/msgraph_beta/generated/models/teamwork_speaker_configuration.py +++ b/msgraph_beta/generated/models/teamwork_speaker_configuration.py @@ -65,6 +65,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .teamwork_peripheral import TeamworkPeripheral + writer.write_object_value("defaultCommunicationSpeaker", self.default_communication_speaker) writer.write_object_value("defaultSpeaker", self.default_speaker) writer.write_bool_value("isCommunicationSpeakerOptional", self.is_communication_speaker_optional) diff --git a/msgraph_beta/generated/models/teamwork_system_configuration.py b/msgraph_beta/generated/models/teamwork_system_configuration.py index 49af9a1856b..4a54d05712d 100644 --- a/msgraph_beta/generated/models/teamwork_system_configuration.py +++ b/msgraph_beta/generated/models/teamwork_system_configuration.py @@ -90,6 +90,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .teamwork_date_time_configuration import TeamworkDateTimeConfiguration + from .teamwork_network_configuration import TeamworkNetworkConfiguration + writer.write_object_value("dateTimeConfiguration", self.date_time_configuration) writer.write_str_value("defaultPassword", self.default_password) writer.write_timedelta_value("deviceLockTimeout", self.device_lock_timeout) diff --git a/msgraph_beta/generated/models/teamwork_tag.py b/msgraph_beta/generated/models/teamwork_tag.py index 320ad3bf8ff..8b99679e6f4 100644 --- a/msgraph_beta/generated/models/teamwork_tag.py +++ b/msgraph_beta/generated/models/teamwork_tag.py @@ -72,6 +72,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .teamwork_tag_member import TeamworkTagMember + from .teamwork_tag_type import TeamworkTagType + writer.write_str_value("description", self.description) writer.write_str_value("displayName", self.display_name) writer.write_int_value("memberCount", self.member_count) diff --git a/msgraph_beta/generated/models/teamwork_tag_collection_response.py b/msgraph_beta/generated/models/teamwork_tag_collection_response.py index bee1d00d625..b85cc5116f4 100644 --- a/msgraph_beta/generated/models/teamwork_tag_collection_response.py +++ b/msgraph_beta/generated/models/teamwork_tag_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .teamwork_tag import TeamworkTag + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/teamwork_tag_identity.py b/msgraph_beta/generated/models/teamwork_tag_identity.py index 2c758dfc6a9..480c6db433b 100644 --- a/msgraph_beta/generated/models/teamwork_tag_identity.py +++ b/msgraph_beta/generated/models/teamwork_tag_identity.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .identity import Identity + diff --git a/msgraph_beta/generated/models/teamwork_tag_member.py b/msgraph_beta/generated/models/teamwork_tag_member.py index 824c3964170..aba8d7e1ee6 100644 --- a/msgraph_beta/generated/models/teamwork_tag_member.py +++ b/msgraph_beta/generated/models/teamwork_tag_member.py @@ -57,6 +57,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_str_value("displayName", self.display_name) writer.write_str_value("tenantId", self.tenant_id) writer.write_str_value("userId", self.user_id) diff --git a/msgraph_beta/generated/models/teamwork_tag_member_collection_response.py b/msgraph_beta/generated/models/teamwork_tag_member_collection_response.py index 960b47f2c69..07d54fef0dd 100644 --- a/msgraph_beta/generated/models/teamwork_tag_member_collection_response.py +++ b/msgraph_beta/generated/models/teamwork_tag_member_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .teamwork_tag_member import TeamworkTagMember + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/teamwork_teams_client_configuration.py b/msgraph_beta/generated/models/teamwork_teams_client_configuration.py index 85ed476b4b2..9228f9531ca 100644 --- a/msgraph_beta/generated/models/teamwork_teams_client_configuration.py +++ b/msgraph_beta/generated/models/teamwork_teams_client_configuration.py @@ -59,6 +59,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .teamwork_account_configuration import TeamworkAccountConfiguration + from .teamwork_features_configuration import TeamworkFeaturesConfiguration + writer.write_object_value("accountConfiguration", self.account_configuration) writer.write_object_value("featuresConfiguration", self.features_configuration) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/teamwork_user_identity.py b/msgraph_beta/generated/models/teamwork_user_identity.py index 3d0cb818f94..75e23751d97 100644 --- a/msgraph_beta/generated/models/teamwork_user_identity.py +++ b/msgraph_beta/generated/models/teamwork_user_identity.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .identity import Identity + from .teamwork_user_identity_type import TeamworkUserIdentityType + writer.write_enum_value("userIdentityType", self.user_identity_type) diff --git a/msgraph_beta/generated/models/telecom_expense_management_partner.py b/msgraph_beta/generated/models/telecom_expense_management_partner.py index 1bbdda2a1e8..41f21a1eb29 100644 --- a/msgraph_beta/generated/models/telecom_expense_management_partner.py +++ b/msgraph_beta/generated/models/telecom_expense_management_partner.py @@ -67,6 +67,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_bool_value("appAuthorized", self.app_authorized) writer.write_str_value("displayName", self.display_name) writer.write_bool_value("enabled", self.enabled) diff --git a/msgraph_beta/generated/models/telecom_expense_management_partner_collection_response.py b/msgraph_beta/generated/models/telecom_expense_management_partner_collection_response.py index 6849e884d32..f98526a141a 100644 --- a/msgraph_beta/generated/models/telecom_expense_management_partner_collection_response.py +++ b/msgraph_beta/generated/models/telecom_expense_management_partner_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .telecom_expense_management_partner import TelecomExpenseManagementPartner + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/teleconference_device_audio_quality.py b/msgraph_beta/generated/models/teleconference_device_audio_quality.py index 064c1b029a5..56925b5ea7e 100644 --- a/msgraph_beta/generated/models/teleconference_device_audio_quality.py +++ b/msgraph_beta/generated/models/teleconference_device_audio_quality.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .teleconference_device_media_quality import TeleconferenceDeviceMediaQuality + diff --git a/msgraph_beta/generated/models/teleconference_device_media_quality.py b/msgraph_beta/generated/models/teleconference_device_media_quality.py index dee134e030d..734f2a3cf5d 100644 --- a/msgraph_beta/generated/models/teleconference_device_media_quality.py +++ b/msgraph_beta/generated/models/teleconference_device_media_quality.py @@ -72,7 +72,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> TeleconferenceDevi if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.teleconferenceDeviceAudioQuality".casefold(): @@ -136,6 +137,10 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .teleconference_device_audio_quality import TeleconferenceDeviceAudioQuality + from .teleconference_device_screen_sharing_quality import TeleconferenceDeviceScreenSharingQuality + from .teleconference_device_video_quality import TeleconferenceDeviceVideoQuality + writer.write_timedelta_value("averageInboundJitter", self.average_inbound_jitter) writer.write_float_value("averageInboundPacketLossRateInPercentage", self.average_inbound_packet_loss_rate_in_percentage) writer.write_timedelta_value("averageInboundRoundTripDelay", self.average_inbound_round_trip_delay) diff --git a/msgraph_beta/generated/models/teleconference_device_quality.py b/msgraph_beta/generated/models/teleconference_device_quality.py index 1eec487266e..9c914d751d5 100644 --- a/msgraph_beta/generated/models/teleconference_device_quality.py +++ b/msgraph_beta/generated/models/teleconference_device_quality.py @@ -81,6 +81,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .teleconference_device_media_quality import TeleconferenceDeviceMediaQuality + writer.write_uuid_value("callChainId", self.call_chain_id) writer.write_str_value("cloudServiceDeploymentEnvironment", self.cloud_service_deployment_environment) writer.write_str_value("cloudServiceDeploymentId", self.cloud_service_deployment_id) diff --git a/msgraph_beta/generated/models/teleconference_device_screen_sharing_quality.py b/msgraph_beta/generated/models/teleconference_device_screen_sharing_quality.py index 30db2cbc0bf..db0c32945bf 100644 --- a/msgraph_beta/generated/models/teleconference_device_screen_sharing_quality.py +++ b/msgraph_beta/generated/models/teleconference_device_screen_sharing_quality.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .teleconference_device_video_quality import TeleconferenceDeviceVideoQuality + diff --git a/msgraph_beta/generated/models/teleconference_device_video_quality.py b/msgraph_beta/generated/models/teleconference_device_video_quality.py index 8924c5f2b9a..0b66a12308b 100644 --- a/msgraph_beta/generated/models/teleconference_device_video_quality.py +++ b/msgraph_beta/generated/models/teleconference_device_video_quality.py @@ -32,7 +32,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> TeleconferenceDevi if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.teleconferenceDeviceScreenSharingQuality".casefold(): @@ -71,6 +72,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .teleconference_device_media_quality import TeleconferenceDeviceMediaQuality + from .teleconference_device_screen_sharing_quality import TeleconferenceDeviceScreenSharingQuality + writer.write_float_value("averageInboundBitRate", self.average_inbound_bit_rate) writer.write_float_value("averageInboundFrameRate", self.average_inbound_frame_rate) writer.write_float_value("averageOutboundBitRate", self.average_outbound_bit_rate) diff --git a/msgraph_beta/generated/models/temporary_access_pass_authentication_method.py b/msgraph_beta/generated/models/temporary_access_pass_authentication_method.py index 7b72a3c7293..b7b2c84a3bb 100644 --- a/msgraph_beta/generated/models/temporary_access_pass_authentication_method.py +++ b/msgraph_beta/generated/models/temporary_access_pass_authentication_method.py @@ -61,6 +61,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .authentication_method import AuthenticationMethod + writer.write_bool_value("isUsableOnce", self.is_usable_once) writer.write_int_value("lifetimeInMinutes", self.lifetime_in_minutes) writer.write_datetime_value("startDateTime", self.start_date_time) diff --git a/msgraph_beta/generated/models/temporary_access_pass_authentication_method_collection_response.py b/msgraph_beta/generated/models/temporary_access_pass_authentication_method_collection_response.py index 5c846bd03a0..68688fa9747 100644 --- a/msgraph_beta/generated/models/temporary_access_pass_authentication_method_collection_response.py +++ b/msgraph_beta/generated/models/temporary_access_pass_authentication_method_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .temporary_access_pass_authentication_method import TemporaryAccessPassAuthenticationMethod + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/temporary_access_pass_authentication_method_configuration.py b/msgraph_beta/generated/models/temporary_access_pass_authentication_method_configuration.py index b3f05fd2ae2..5190ce4f322 100644 --- a/msgraph_beta/generated/models/temporary_access_pass_authentication_method_configuration.py +++ b/msgraph_beta/generated/models/temporary_access_pass_authentication_method_configuration.py @@ -69,6 +69,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .authentication_method_configuration import AuthenticationMethodConfiguration + from .authentication_method_target import AuthenticationMethodTarget + writer.write_int_value("defaultLength", self.default_length) writer.write_int_value("defaultLifetimeInMinutes", self.default_lifetime_in_minutes) writer.write_collection_of_object_values("includeTargets", self.include_targets) diff --git a/msgraph_beta/generated/models/tenant_app_management_policy.py b/msgraph_beta/generated/models/tenant_app_management_policy.py index 2c9d9330efa..7be074ccfe3 100644 --- a/msgraph_beta/generated/models/tenant_app_management_policy.py +++ b/msgraph_beta/generated/models/tenant_app_management_policy.py @@ -63,6 +63,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .app_management_application_configuration import AppManagementApplicationConfiguration + from .app_management_service_principal_configuration import AppManagementServicePrincipalConfiguration + from .policy_base import PolicyBase + writer.write_object_value("applicationRestrictions", self.application_restrictions) writer.write_bool_value("isEnabled", self.is_enabled) writer.write_object_value("servicePrincipalRestrictions", self.service_principal_restrictions) diff --git a/msgraph_beta/generated/models/tenant_attach_r_b_a_c.py b/msgraph_beta/generated/models/tenant_attach_r_b_a_c.py index 56015f19902..59f51c315c6 100644 --- a/msgraph_beta/generated/models/tenant_attach_r_b_a_c.py +++ b/msgraph_beta/generated/models/tenant_attach_r_b_a_c.py @@ -51,5 +51,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + diff --git a/msgraph_beta/generated/models/tenant_reference_collection_response.py b/msgraph_beta/generated/models/tenant_reference_collection_response.py index 7203cfe6560..171d23a8770 100644 --- a/msgraph_beta/generated/models/tenant_reference_collection_response.py +++ b/msgraph_beta/generated/models/tenant_reference_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .tenant_reference import TenantReference + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/tenant_relationship.py b/msgraph_beta/generated/models/tenant_relationship.py index 3682a550c09..988d20b1445 100644 --- a/msgraph_beta/generated/models/tenant_relationship.py +++ b/msgraph_beta/generated/models/tenant_relationship.py @@ -71,6 +71,11 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .delegated_admin_customer import DelegatedAdminCustomer + from .delegated_admin_relationship import DelegatedAdminRelationship + from .managed_tenants.managed_tenant import ManagedTenant + from .multi_tenant_organization import MultiTenantOrganization + writer.write_collection_of_object_values("delegatedAdminCustomers", self.delegated_admin_customers) writer.write_collection_of_object_values("delegatedAdminRelationships", self.delegated_admin_relationships) writer.write_object_value("managedTenants", self.managed_tenants) diff --git a/msgraph_beta/generated/models/tenant_relationship_access_policy_base.py b/msgraph_beta/generated/models/tenant_relationship_access_policy_base.py index 223506110d3..39fadf71581 100644 --- a/msgraph_beta/generated/models/tenant_relationship_access_policy_base.py +++ b/msgraph_beta/generated/models/tenant_relationship_access_policy_base.py @@ -26,7 +26,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> TenantRelationship if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.crossTenantAccessPolicy".casefold(): @@ -62,6 +63,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .cross_tenant_access_policy import CrossTenantAccessPolicy + from .policy_base import PolicyBase + writer.write_collection_of_primitive_values("definition", self.definition) diff --git a/msgraph_beta/generated/models/tenant_setup_info.py b/msgraph_beta/generated/models/tenant_setup_info.py index 89bdfcc6b81..d0a3b57cda1 100644 --- a/msgraph_beta/generated/models/tenant_setup_info.py +++ b/msgraph_beta/generated/models/tenant_setup_info.py @@ -72,6 +72,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .privileged_role_settings import PrivilegedRoleSettings + from .setup_status import SetupStatus + writer.write_object_value("defaultRolesSettings", self.default_roles_settings) writer.write_bool_value("firstTimeSetup", self.first_time_setup) writer.write_collection_of_primitive_values("relevantRolesSettings", self.relevant_roles_settings) diff --git a/msgraph_beta/generated/models/term_column.py b/msgraph_beta/generated/models/term_column.py index b0fa85cf202..0b7cee90ad3 100644 --- a/msgraph_beta/generated/models/term_column.py +++ b/msgraph_beta/generated/models/term_column.py @@ -65,6 +65,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .term_store.set import Set + from .term_store.term import Term + writer.write_bool_value("allowMultipleValues", self.allow_multiple_values) writer.write_str_value("@odata.type", self.odata_type) writer.write_object_value("parentTerm", self.parent_term) diff --git a/msgraph_beta/generated/models/term_store/group.py b/msgraph_beta/generated/models/term_store/group.py index 2ec69608a7c..d08e3ccdd7d 100644 --- a/msgraph_beta/generated/models/term_store/group.py +++ b/msgraph_beta/generated/models/term_store/group.py @@ -73,6 +73,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + from .set import Set + from .term_group_scope import TermGroupScope + writer.write_datetime_value("createdDateTime", self.created_date_time) writer.write_str_value("description", self.description) writer.write_str_value("displayName", self.display_name) diff --git a/msgraph_beta/generated/models/term_store/group_collection_response.py b/msgraph_beta/generated/models/term_store/group_collection_response.py index 3839b3f68e2..de1c97a5507 100644 --- a/msgraph_beta/generated/models/term_store/group_collection_response.py +++ b/msgraph_beta/generated/models/term_store/group_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .group import Group + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/term_store/relation.py b/msgraph_beta/generated/models/term_store/relation.py index 69f90075e6f..9836afcaf56 100644 --- a/msgraph_beta/generated/models/term_store/relation.py +++ b/msgraph_beta/generated/models/term_store/relation.py @@ -69,6 +69,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + from .relation_type import RelationType + from .set import Set + from .term import Term + writer.write_object_value("fromTerm", self.from_term) writer.write_enum_value("relationship", self.relationship) writer.write_object_value("set", self.set) diff --git a/msgraph_beta/generated/models/term_store/relation_collection_response.py b/msgraph_beta/generated/models/term_store/relation_collection_response.py index feb791c6f12..e0cb231f7e3 100644 --- a/msgraph_beta/generated/models/term_store/relation_collection_response.py +++ b/msgraph_beta/generated/models/term_store/relation_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .relation import Relation + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/term_store/set.py b/msgraph_beta/generated/models/term_store/set.py index 50dab5e6bb8..623e5407b40 100644 --- a/msgraph_beta/generated/models/term_store/set.py +++ b/msgraph_beta/generated/models/term_store/set.py @@ -88,6 +88,13 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + from ..key_value import KeyValue + from .group import Group + from .localized_name import LocalizedName + from .relation import Relation + from .term import Term + writer.write_collection_of_object_values("children", self.children) writer.write_datetime_value("createdDateTime", self.created_date_time) writer.write_str_value("description", self.description) diff --git a/msgraph_beta/generated/models/term_store/set_collection_response.py b/msgraph_beta/generated/models/term_store/set_collection_response.py index 8dbfacfe134..e0bd104d01e 100644 --- a/msgraph_beta/generated/models/term_store/set_collection_response.py +++ b/msgraph_beta/generated/models/term_store/set_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .set import Set + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/term_store/store.py b/msgraph_beta/generated/models/term_store/store.py index 2a8ace36550..fc0307400ee 100644 --- a/msgraph_beta/generated/models/term_store/store.py +++ b/msgraph_beta/generated/models/term_store/store.py @@ -66,6 +66,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + from .group import Group + from .set import Set + writer.write_str_value("defaultLanguageTag", self.default_language_tag) writer.write_collection_of_object_values("groups", self.groups) writer.write_collection_of_primitive_values("languageTags", self.language_tags) diff --git a/msgraph_beta/generated/models/term_store/term.py b/msgraph_beta/generated/models/term_store/term.py index bf7a97f901f..b559fe4aecf 100644 --- a/msgraph_beta/generated/models/term_store/term.py +++ b/msgraph_beta/generated/models/term_store/term.py @@ -88,6 +88,13 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + from ..key_value import KeyValue + from .localized_description import LocalizedDescription + from .localized_label import LocalizedLabel + from .relation import Relation + from .set import Set + writer.write_collection_of_object_values("children", self.children) writer.write_datetime_value("createdDateTime", self.created_date_time) writer.write_collection_of_object_values("descriptions", self.descriptions) diff --git a/msgraph_beta/generated/models/term_store/term_collection_response.py b/msgraph_beta/generated/models/term_store/term_collection_response.py index 8fe615b685f..6842e154a58 100644 --- a/msgraph_beta/generated/models/term_store/term_collection_response.py +++ b/msgraph_beta/generated/models/term_store/term_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .term import Term + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/terms_and_conditions.py b/msgraph_beta/generated/models/terms_and_conditions.py index a97ff671a78..3f3d8f98f57 100644 --- a/msgraph_beta/generated/models/terms_and_conditions.py +++ b/msgraph_beta/generated/models/terms_and_conditions.py @@ -100,6 +100,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .terms_and_conditions_acceptance_status import TermsAndConditionsAcceptanceStatus + from .terms_and_conditions_assignment import TermsAndConditionsAssignment + from .terms_and_conditions_group_assignment import TermsAndConditionsGroupAssignment + writer.write_str_value("acceptanceStatement", self.acceptance_statement) writer.write_collection_of_object_values("acceptanceStatuses", self.acceptance_statuses) writer.write_collection_of_object_values("assignments", self.assignments) diff --git a/msgraph_beta/generated/models/terms_and_conditions_acceptance_status.py b/msgraph_beta/generated/models/terms_and_conditions_acceptance_status.py index e34a44a9e96..ca5d1e32c61 100644 --- a/msgraph_beta/generated/models/terms_and_conditions_acceptance_status.py +++ b/msgraph_beta/generated/models/terms_and_conditions_acceptance_status.py @@ -70,6 +70,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .terms_and_conditions import TermsAndConditions + writer.write_datetime_value("acceptedDateTime", self.accepted_date_time) writer.write_int_value("acceptedVersion", self.accepted_version) writer.write_object_value("termsAndConditions", self.terms_and_conditions) diff --git a/msgraph_beta/generated/models/terms_and_conditions_acceptance_status_collection_response.py b/msgraph_beta/generated/models/terms_and_conditions_acceptance_status_collection_response.py index 5fac64f0311..38dc1d235e2 100644 --- a/msgraph_beta/generated/models/terms_and_conditions_acceptance_status_collection_response.py +++ b/msgraph_beta/generated/models/terms_and_conditions_acceptance_status_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .terms_and_conditions_acceptance_status import TermsAndConditionsAcceptanceStatus + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/terms_and_conditions_assignment.py b/msgraph_beta/generated/models/terms_and_conditions_assignment.py index 5d6db32ac9b..7e5cae00899 100644 --- a/msgraph_beta/generated/models/terms_and_conditions_assignment.py +++ b/msgraph_beta/generated/models/terms_and_conditions_assignment.py @@ -57,6 +57,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_and_app_management_assignment_target import DeviceAndAppManagementAssignmentTarget + from .entity import Entity + writer.write_object_value("target", self.target) diff --git a/msgraph_beta/generated/models/terms_and_conditions_assignment_collection_response.py b/msgraph_beta/generated/models/terms_and_conditions_assignment_collection_response.py index 459ffd84ebf..f1467dfd020 100644 --- a/msgraph_beta/generated/models/terms_and_conditions_assignment_collection_response.py +++ b/msgraph_beta/generated/models/terms_and_conditions_assignment_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .terms_and_conditions_assignment import TermsAndConditionsAssignment + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/terms_and_conditions_collection_response.py b/msgraph_beta/generated/models/terms_and_conditions_collection_response.py index 4db67dabde5..befbc1257f5 100644 --- a/msgraph_beta/generated/models/terms_and_conditions_collection_response.py +++ b/msgraph_beta/generated/models/terms_and_conditions_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .terms_and_conditions import TermsAndConditions + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/terms_and_conditions_group_assignment.py b/msgraph_beta/generated/models/terms_and_conditions_group_assignment.py index 4a99b8fe0c7..38e73586478 100644 --- a/msgraph_beta/generated/models/terms_and_conditions_group_assignment.py +++ b/msgraph_beta/generated/models/terms_and_conditions_group_assignment.py @@ -60,6 +60,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .terms_and_conditions import TermsAndConditions + writer.write_str_value("targetGroupId", self.target_group_id) writer.write_object_value("termsAndConditions", self.terms_and_conditions) diff --git a/msgraph_beta/generated/models/terms_and_conditions_group_assignment_collection_response.py b/msgraph_beta/generated/models/terms_and_conditions_group_assignment_collection_response.py index d83c68a8aa4..728897a3ede 100644 --- a/msgraph_beta/generated/models/terms_and_conditions_group_assignment_collection_response.py +++ b/msgraph_beta/generated/models/terms_and_conditions_group_assignment_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .terms_and_conditions_group_assignment import TermsAndConditionsGroupAssignment + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/terms_of_use_container.py b/msgraph_beta/generated/models/terms_of_use_container.py index 2ef01ccc850..5ed7d8460e1 100644 --- a/msgraph_beta/generated/models/terms_of_use_container.py +++ b/msgraph_beta/generated/models/terms_of_use_container.py @@ -60,6 +60,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .agreement import Agreement + from .agreement_acceptance import AgreementAcceptance + from .entity import Entity + writer.write_collection_of_object_values("agreementAcceptances", self.agreement_acceptances) writer.write_collection_of_object_values("agreements", self.agreements) diff --git a/msgraph_beta/generated/models/text_classification_request.py b/msgraph_beta/generated/models/text_classification_request.py index 432390bbff8..1653f9a1ae4 100644 --- a/msgraph_beta/generated/models/text_classification_request.py +++ b/msgraph_beta/generated/models/text_classification_request.py @@ -75,6 +75,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .classification_request_content_meta_data import ClassificationRequestContentMetaData + from .entity import Entity + from .ml_classification_match_tolerance import MlClassificationMatchTolerance + from .sensitive_type_scope import SensitiveTypeScope + writer.write_object_value("contentMetaData", self.content_meta_data) writer.write_str_value("fileExtension", self.file_extension) writer.write_enum_value("matchTolerancesToInclude", self.match_tolerances_to_include) diff --git a/msgraph_beta/generated/models/text_web_part.py b/msgraph_beta/generated/models/text_web_part.py index 4bdc6cca115..3a44d0924f0 100644 --- a/msgraph_beta/generated/models/text_web_part.py +++ b/msgraph_beta/generated/models/text_web_part.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .web_part import WebPart + writer.write_str_value("innerHtml", self.inner_html) diff --git a/msgraph_beta/generated/models/threat_assessment_request.py b/msgraph_beta/generated/models/threat_assessment_request.py index 62ea0340c80..68ebf401a86 100644 --- a/msgraph_beta/generated/models/threat_assessment_request.py +++ b/msgraph_beta/generated/models/threat_assessment_request.py @@ -51,7 +51,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> ThreatAssessmentRe if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.emailFileAssessmentRequest".casefold(): @@ -126,6 +127,19 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .email_file_assessment_request import EmailFileAssessmentRequest + from .entity import Entity + from .file_assessment_request import FileAssessmentRequest + from .identity_set import IdentitySet + from .mail_assessment_request import MailAssessmentRequest + from .threat_assessment_content_type import ThreatAssessmentContentType + from .threat_assessment_request_source import ThreatAssessmentRequestSource + from .threat_assessment_result import ThreatAssessmentResult + from .threat_assessment_status import ThreatAssessmentStatus + from .threat_category import ThreatCategory + from .threat_expected_assessment import ThreatExpectedAssessment + from .url_assessment_request import UrlAssessmentRequest + writer.write_enum_value("category", self.category) writer.write_enum_value("contentType", self.content_type) writer.write_object_value("createdBy", self.created_by) diff --git a/msgraph_beta/generated/models/threat_assessment_request_collection_response.py b/msgraph_beta/generated/models/threat_assessment_request_collection_response.py index 86e7b3b7b27..f24a6c2ed2c 100644 --- a/msgraph_beta/generated/models/threat_assessment_request_collection_response.py +++ b/msgraph_beta/generated/models/threat_assessment_request_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .threat_assessment_request import ThreatAssessmentRequest + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/threat_assessment_result.py b/msgraph_beta/generated/models/threat_assessment_result.py index ff3c4480b29..c8b2e667169 100644 --- a/msgraph_beta/generated/models/threat_assessment_result.py +++ b/msgraph_beta/generated/models/threat_assessment_result.py @@ -61,6 +61,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .threat_assessment_result_type import ThreatAssessmentResultType + writer.write_datetime_value("createdDateTime", self.created_date_time) writer.write_str_value("message", self.message) writer.write_enum_value("resultType", self.result_type) diff --git a/msgraph_beta/generated/models/threat_assessment_result_collection_response.py b/msgraph_beta/generated/models/threat_assessment_result_collection_response.py index 93611a5d9f7..1e751f04f14 100644 --- a/msgraph_beta/generated/models/threat_assessment_result_collection_response.py +++ b/msgraph_beta/generated/models/threat_assessment_result_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .threat_assessment_result import ThreatAssessmentResult + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/thumbnail_set.py b/msgraph_beta/generated/models/thumbnail_set.py index 1023ecaa2d3..82003491d77 100644 --- a/msgraph_beta/generated/models/thumbnail_set.py +++ b/msgraph_beta/generated/models/thumbnail_set.py @@ -63,6 +63,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .thumbnail import Thumbnail + writer.write_object_value("large", self.large) writer.write_object_value("medium", self.medium) writer.write_object_value("small", self.small) diff --git a/msgraph_beta/generated/models/thumbnail_set_collection_response.py b/msgraph_beta/generated/models/thumbnail_set_collection_response.py index 8190a1ecfd8..470ea5b19f2 100644 --- a/msgraph_beta/generated/models/thumbnail_set_collection_response.py +++ b/msgraph_beta/generated/models/thumbnail_set_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .thumbnail_set import ThumbnailSet + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/ti_indicator.py b/msgraph_beta/generated/models/ti_indicator.py index 955ec61b7a2..8bab89bdb34 100644 --- a/msgraph_beta/generated/models/ti_indicator.py +++ b/msgraph_beta/generated/models/ti_indicator.py @@ -235,6 +235,12 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .diamond_model import DiamondModel + from .entity import Entity + from .file_hash_type import FileHashType + from .ti_action import TiAction + from .tlp_level import TlpLevel + writer.write_enum_value("action", self.action) writer.write_collection_of_primitive_values("activityGroupNames", self.activity_group_names) writer.write_str_value("additionalInformation", self.additional_information) diff --git a/msgraph_beta/generated/models/ti_indicator_collection_response.py b/msgraph_beta/generated/models/ti_indicator_collection_response.py index ae4416ee898..7669241f8bd 100644 --- a/msgraph_beta/generated/models/ti_indicator_collection_response.py +++ b/msgraph_beta/generated/models/ti_indicator_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .ti_indicator import TiIndicator + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/time_card.py b/msgraph_beta/generated/models/time_card.py index 68fa0d6ee04..00c004351d8 100644 --- a/msgraph_beta/generated/models/time_card.py +++ b/msgraph_beta/generated/models/time_card.py @@ -90,6 +90,14 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .change_tracked_entity import ChangeTrackedEntity + from .confirmed_by import ConfirmedBy + from .item_body import ItemBody + from .time_card_break import TimeCardBreak + from .time_card_entry import TimeCardEntry + from .time_card_event import TimeCardEvent + from .time_card_state import TimeCardState + writer.write_collection_of_object_values("breaks", self.breaks) writer.write_object_value("clockInEvent", self.clock_in_event) writer.write_object_value("clockOutEvent", self.clock_out_event) diff --git a/msgraph_beta/generated/models/time_card_break.py b/msgraph_beta/generated/models/time_card_break.py index c75f4f89612..2b3b8174899 100644 --- a/msgraph_beta/generated/models/time_card_break.py +++ b/msgraph_beta/generated/models/time_card_break.py @@ -65,6 +65,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .item_body import ItemBody + from .time_card_event import TimeCardEvent + writer.write_str_value("breakId", self.break_id) writer.write_object_value("end", self.end) writer.write_object_value("notes", self.notes) diff --git a/msgraph_beta/generated/models/time_card_collection_response.py b/msgraph_beta/generated/models/time_card_collection_response.py index 3c27b46b8cb..2c5f37fe7f8 100644 --- a/msgraph_beta/generated/models/time_card_collection_response.py +++ b/msgraph_beta/generated/models/time_card_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .time_card import TimeCard + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/time_card_entry.py b/msgraph_beta/generated/models/time_card_entry.py index 6614777f213..ff6e18b74f5 100644 --- a/msgraph_beta/generated/models/time_card_entry.py +++ b/msgraph_beta/generated/models/time_card_entry.py @@ -62,6 +62,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .time_card_break import TimeCardBreak + from .time_card_event import TimeCardEvent + writer.write_collection_of_object_values("breaks", self.breaks) writer.write_object_value("clockInEvent", self.clock_in_event) writer.write_object_value("clockOutEvent", self.clock_out_event) diff --git a/msgraph_beta/generated/models/time_card_event.py b/msgraph_beta/generated/models/time_card_event.py index 9206bf1d4a2..b32b53a885a 100644 --- a/msgraph_beta/generated/models/time_card_event.py +++ b/msgraph_beta/generated/models/time_card_event.py @@ -60,6 +60,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .item_body import ItemBody + writer.write_bool_value("atApprovedLocation", self.at_approved_location) writer.write_datetime_value("dateTime", self.date_time) writer.write_object_value("notes", self.notes) diff --git a/msgraph_beta/generated/models/time_clock_settings.py b/msgraph_beta/generated/models/time_clock_settings.py index dd7631f8b81..9260c7fdac1 100644 --- a/msgraph_beta/generated/models/time_clock_settings.py +++ b/msgraph_beta/generated/models/time_clock_settings.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .geo_coordinates import GeoCoordinates + writer.write_object_value("approvedLocation", self.approved_location) writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/time_constraint.py b/msgraph_beta/generated/models/time_constraint.py index 426c435fc2a..ebe31a002bf 100644 --- a/msgraph_beta/generated/models/time_constraint.py +++ b/msgraph_beta/generated/models/time_constraint.py @@ -59,6 +59,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .activity_domain import ActivityDomain + from .time_slot import TimeSlot + writer.write_enum_value("activityDomain", self.activity_domain) writer.write_str_value("@odata.type", self.odata_type) writer.write_collection_of_object_values("timeSlots", self.time_slots) diff --git a/msgraph_beta/generated/models/time_off.py b/msgraph_beta/generated/models/time_off.py index 5cca889164b..9dd0f0b67b6 100644 --- a/msgraph_beta/generated/models/time_off.py +++ b/msgraph_beta/generated/models/time_off.py @@ -75,6 +75,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .change_tracked_entity import ChangeTrackedEntity + from .shifts_team_info import ShiftsTeamInfo + from .shifts_user_info import ShiftsUserInfo + from .time_off_item import TimeOffItem + writer.write_object_value("draftTimeOff", self.draft_time_off) writer.write_bool_value("isStagedForDeletion", self.is_staged_for_deletion) writer.write_object_value("sharedTimeOff", self.shared_time_off) diff --git a/msgraph_beta/generated/models/time_off_collection_response.py b/msgraph_beta/generated/models/time_off_collection_response.py index c9d9d6be5b4..9e631106beb 100644 --- a/msgraph_beta/generated/models/time_off_collection_response.py +++ b/msgraph_beta/generated/models/time_off_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .time_off import TimeOff + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/time_off_item.py b/msgraph_beta/generated/models/time_off_item.py index 30cae4a97d9..420fa4f9d5a 100644 --- a/msgraph_beta/generated/models/time_off_item.py +++ b/msgraph_beta/generated/models/time_off_item.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .schedule_entity import ScheduleEntity + writer.write_str_value("timeOffReasonId", self.time_off_reason_id) diff --git a/msgraph_beta/generated/models/time_off_reason.py b/msgraph_beta/generated/models/time_off_reason.py index abafc0dfd94..7ce76c710bd 100644 --- a/msgraph_beta/generated/models/time_off_reason.py +++ b/msgraph_beta/generated/models/time_off_reason.py @@ -63,6 +63,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .change_tracked_entity import ChangeTrackedEntity + from .time_off_reason_icon_type import TimeOffReasonIconType + writer.write_str_value("code", self.code) writer.write_str_value("displayName", self.display_name) writer.write_enum_value("iconType", self.icon_type) diff --git a/msgraph_beta/generated/models/time_off_reason_collection_response.py b/msgraph_beta/generated/models/time_off_reason_collection_response.py index ba26e5eb80f..f9fca59ea69 100644 --- a/msgraph_beta/generated/models/time_off_reason_collection_response.py +++ b/msgraph_beta/generated/models/time_off_reason_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .time_off_reason import TimeOffReason + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/time_off_request.py b/msgraph_beta/generated/models/time_off_request.py index f0222e9eb2c..38e49000339 100644 --- a/msgraph_beta/generated/models/time_off_request.py +++ b/msgraph_beta/generated/models/time_off_request.py @@ -58,6 +58,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .schedule_change_request import ScheduleChangeRequest + writer.write_datetime_value("endDateTime", self.end_date_time) writer.write_datetime_value("startDateTime", self.start_date_time) writer.write_str_value("timeOffReasonId", self.time_off_reason_id) diff --git a/msgraph_beta/generated/models/time_off_request_collection_response.py b/msgraph_beta/generated/models/time_off_request_collection_response.py index d25eadc7e86..8683a4733fd 100644 --- a/msgraph_beta/generated/models/time_off_request_collection_response.py +++ b/msgraph_beta/generated/models/time_off_request_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .time_off_request import TimeOffRequest + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/time_slot.py b/msgraph_beta/generated/models/time_slot.py index 4127a6a2395..99002de916e 100644 --- a/msgraph_beta/generated/models/time_slot.py +++ b/msgraph_beta/generated/models/time_slot.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .date_time_time_zone import DateTimeTimeZone + writer.write_object_value("end", self.end) writer.write_str_value("@odata.type", self.odata_type) writer.write_object_value("start", self.start) diff --git a/msgraph_beta/generated/models/time_zone_base.py b/msgraph_beta/generated/models/time_zone_base.py index ca75014a193..52a9a780b5c 100644 --- a/msgraph_beta/generated/models/time_zone_base.py +++ b/msgraph_beta/generated/models/time_zone_base.py @@ -29,7 +29,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> TimeZoneBase: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.customTimeZone".casefold(): @@ -61,6 +62,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .custom_time_zone import CustomTimeZone + writer.write_str_value("name", self.name) writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/title_area.py b/msgraph_beta/generated/models/title_area.py index c7e28d967a8..186e172c559 100644 --- a/msgraph_beta/generated/models/title_area.py +++ b/msgraph_beta/generated/models/title_area.py @@ -86,6 +86,10 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .server_processed_content import ServerProcessedContent + from .title_area_layout_type import TitleAreaLayoutType + from .title_area_text_alignment_type import TitleAreaTextAlignmentType + writer.write_str_value("alternativeText", self.alternative_text) writer.write_bool_value("enableGradientEffect", self.enable_gradient_effect) writer.write_str_value("imageWebUrl", self.image_web_url) diff --git a/msgraph_beta/generated/models/to_lowercase_transformation.py b/msgraph_beta/generated/models/to_lowercase_transformation.py index c4067c82135..4b749c765c9 100644 --- a/msgraph_beta/generated/models/to_lowercase_transformation.py +++ b/msgraph_beta/generated/models/to_lowercase_transformation.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .custom_claim_transformation import CustomClaimTransformation + diff --git a/msgraph_beta/generated/models/to_uppercase_transformation.py b/msgraph_beta/generated/models/to_uppercase_transformation.py index 3e240274043..70d81eb458b 100644 --- a/msgraph_beta/generated/models/to_uppercase_transformation.py +++ b/msgraph_beta/generated/models/to_uppercase_transformation.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .custom_claim_transformation import CustomClaimTransformation + diff --git a/msgraph_beta/generated/models/todo.py b/msgraph_beta/generated/models/todo.py index 99e5f3e5712..0d51ace7a64 100644 --- a/msgraph_beta/generated/models/todo.py +++ b/msgraph_beta/generated/models/todo.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .todo_task_list import TodoTaskList + writer.write_collection_of_object_values("lists", self.lists) diff --git a/msgraph_beta/generated/models/todo_task.py b/msgraph_beta/generated/models/todo_task.py index a85d33c3af7..8f7f2e489e1 100644 --- a/msgraph_beta/generated/models/todo_task.py +++ b/msgraph_beta/generated/models/todo_task.py @@ -139,6 +139,18 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .attachment_base import AttachmentBase + from .attachment_session import AttachmentSession + from .checklist_item import ChecklistItem + from .date_time_time_zone import DateTimeTimeZone + from .entity import Entity + from .extension import Extension + from .importance import Importance + from .item_body import ItemBody + from .linked_resource import LinkedResource + from .patterned_recurrence import PatternedRecurrence + from .task_status import TaskStatus + writer.write_collection_of_object_values("attachmentSessions", self.attachment_sessions) writer.write_collection_of_object_values("attachments", self.attachments) writer.write_object_value("body", self.body) diff --git a/msgraph_beta/generated/models/todo_task_collection_response.py b/msgraph_beta/generated/models/todo_task_collection_response.py index 35dd6c56877..83f62acfe7c 100644 --- a/msgraph_beta/generated/models/todo_task_collection_response.py +++ b/msgraph_beta/generated/models/todo_task_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .todo_task import TodoTask + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/todo_task_list.py b/msgraph_beta/generated/models/todo_task_list.py index d0b05515964..043de7e1ce0 100644 --- a/msgraph_beta/generated/models/todo_task_list.py +++ b/msgraph_beta/generated/models/todo_task_list.py @@ -75,6 +75,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .extension import Extension + from .todo_task import TodoTask + from .wellknown_list_name import WellknownListName + writer.write_str_value("displayName", self.display_name) writer.write_collection_of_object_values("extensions", self.extensions) writer.write_bool_value("isOwner", self.is_owner) diff --git a/msgraph_beta/generated/models/todo_task_list_collection_response.py b/msgraph_beta/generated/models/todo_task_list_collection_response.py index 8e07850066e..7dc6c15e90c 100644 --- a/msgraph_beta/generated/models/todo_task_list_collection_response.py +++ b/msgraph_beta/generated/models/todo_task_list_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .todo_task_list import TodoTaskList + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/token_issuance_policy.py b/msgraph_beta/generated/models/token_issuance_policy.py index 59c1d6c1d8e..0ac2eee0f74 100644 --- a/msgraph_beta/generated/models/token_issuance_policy.py +++ b/msgraph_beta/generated/models/token_issuance_policy.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .sts_policy import StsPolicy + diff --git a/msgraph_beta/generated/models/token_issuance_policy_collection_response.py b/msgraph_beta/generated/models/token_issuance_policy_collection_response.py index 108ad538707..59b826fa0a5 100644 --- a/msgraph_beta/generated/models/token_issuance_policy_collection_response.py +++ b/msgraph_beta/generated/models/token_issuance_policy_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .token_issuance_policy import TokenIssuancePolicy + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/token_lifetime_policy.py b/msgraph_beta/generated/models/token_lifetime_policy.py index 094d46c285a..f6bc5acf44a 100644 --- a/msgraph_beta/generated/models/token_lifetime_policy.py +++ b/msgraph_beta/generated/models/token_lifetime_policy.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .sts_policy import StsPolicy + diff --git a/msgraph_beta/generated/models/token_lifetime_policy_collection_response.py b/msgraph_beta/generated/models/token_lifetime_policy_collection_response.py index 9bf3140e539..f865fd49195 100644 --- a/msgraph_beta/generated/models/token_lifetime_policy_collection_response.py +++ b/msgraph_beta/generated/models/token_lifetime_policy_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .token_lifetime_policy import TokenLifetimePolicy + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/token_meeting_info.py b/msgraph_beta/generated/models/token_meeting_info.py index 1b75ab4353b..4f842699334 100644 --- a/msgraph_beta/generated/models/token_meeting_info.py +++ b/msgraph_beta/generated/models/token_meeting_info.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .meeting_info import MeetingInfo + writer.write_str_value("token", self.token) diff --git a/msgraph_beta/generated/models/token_protection_status_details.py b/msgraph_beta/generated/models/token_protection_status_details.py index e66e4667739..f947064eac1 100644 --- a/msgraph_beta/generated/models/token_protection_status_details.py +++ b/msgraph_beta/generated/models/token_protection_status_details.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .token_protection_status import TokenProtectionStatus + writer.write_str_value("@odata.type", self.odata_type) writer.write_enum_value("signInSessionStatus", self.sign_in_session_status) writer.write_int_value("signInSessionStatusCode", self.sign_in_session_status_code) diff --git a/msgraph_beta/generated/models/tone_info.py b/msgraph_beta/generated/models/tone_info.py index e6469719f17..eb26505eff2 100644 --- a/msgraph_beta/generated/models/tone_info.py +++ b/msgraph_beta/generated/models/tone_info.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .tone import Tone + writer.write_str_value("@odata.type", self.odata_type) writer.write_int_value("sequenceId", self.sequence_id) writer.write_enum_value("tone", self.tone) diff --git a/msgraph_beta/generated/models/too_many_global_admins_assigned_to_tenant_alert_configuration.py b/msgraph_beta/generated/models/too_many_global_admins_assigned_to_tenant_alert_configuration.py index e87c5b26744..0a1750a2af1 100644 --- a/msgraph_beta/generated/models/too_many_global_admins_assigned_to_tenant_alert_configuration.py +++ b/msgraph_beta/generated/models/too_many_global_admins_assigned_to_tenant_alert_configuration.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .unified_role_management_alert_configuration import UnifiedRoleManagementAlertConfiguration + writer.write_int_value("globalAdminCountThreshold", self.global_admin_count_threshold) writer.write_int_value("percentageOfGlobalAdminsOutOfRolesThreshold", self.percentage_of_global_admins_out_of_roles_threshold) diff --git a/msgraph_beta/generated/models/too_many_global_admins_assigned_to_tenant_alert_incident.py b/msgraph_beta/generated/models/too_many_global_admins_assigned_to_tenant_alert_incident.py index d57bd863fd8..124946de78c 100644 --- a/msgraph_beta/generated/models/too_many_global_admins_assigned_to_tenant_alert_incident.py +++ b/msgraph_beta/generated/models/too_many_global_admins_assigned_to_tenant_alert_incident.py @@ -57,6 +57,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .unified_role_management_alert_incident import UnifiedRoleManagementAlertIncident + writer.write_str_value("assigneeDisplayName", self.assignee_display_name) writer.write_str_value("assigneeId", self.assignee_id) writer.write_str_value("assigneeUserPrincipalName", self.assignee_user_principal_name) diff --git a/msgraph_beta/generated/models/training.py b/msgraph_beta/generated/models/training.py index 39286d3fd3b..f528311f71b 100644 --- a/msgraph_beta/generated/models/training.py +++ b/msgraph_beta/generated/models/training.py @@ -109,6 +109,13 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .email_identity import EmailIdentity + from .entity import Entity + from .simulation_content_source import SimulationContentSource + from .training_availability_status import TrainingAvailabilityStatus + from .training_language_detail import TrainingLanguageDetail + from .training_type import TrainingType + writer.write_enum_value("availabilityStatus", self.availability_status) writer.write_object_value("createdBy", self.created_by) writer.write_datetime_value("createdDateTime", self.created_date_time) diff --git a/msgraph_beta/generated/models/training_campaign.py b/msgraph_beta/generated/models/training_campaign.py index 42b76a7ae1c..459e2de88e6 100644 --- a/msgraph_beta/generated/models/training_campaign.py +++ b/msgraph_beta/generated/models/training_campaign.py @@ -103,6 +103,14 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .account_target_content import AccountTargetContent + from .campaign_schedule import CampaignSchedule + from .email_identity import EmailIdentity + from .end_user_notification_setting import EndUserNotificationSetting + from .entity import Entity + from .training_campaign_report import TrainingCampaignReport + from .training_setting import TrainingSetting + writer.write_object_value("campaignSchedule", self.campaign_schedule) writer.write_object_value("createdBy", self.created_by) writer.write_datetime_value("createdDateTime", self.created_date_time) diff --git a/msgraph_beta/generated/models/training_campaign_collection_response.py b/msgraph_beta/generated/models/training_campaign_collection_response.py index 1c4b716217e..79a19a049b6 100644 --- a/msgraph_beta/generated/models/training_campaign_collection_response.py +++ b/msgraph_beta/generated/models/training_campaign_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .training_campaign import TrainingCampaign + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/training_campaign_report.py b/msgraph_beta/generated/models/training_campaign_report.py index 6756402a9d1..9db0a226da2 100644 --- a/msgraph_beta/generated/models/training_campaign_report.py +++ b/msgraph_beta/generated/models/training_campaign_report.py @@ -59,6 +59,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .training_campaign_report_overview import TrainingCampaignReportOverview + from .user_simulation_details import UserSimulationDetails + writer.write_collection_of_object_values("campaignUsers", self.campaign_users) writer.write_str_value("@odata.type", self.odata_type) writer.write_object_value("overview", self.overview) diff --git a/msgraph_beta/generated/models/training_campaign_report_overview.py b/msgraph_beta/generated/models/training_campaign_report_overview.py index 29986013b8b..875b9bfbfab 100644 --- a/msgraph_beta/generated/models/training_campaign_report_overview.py +++ b/msgraph_beta/generated/models/training_campaign_report_overview.py @@ -65,6 +65,10 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .training_events_content import TrainingEventsContent + from .training_notification_delivery import TrainingNotificationDelivery + from .user_training_completion_summary import UserTrainingCompletionSummary + writer.write_str_value("@odata.type", self.odata_type) writer.write_object_value("trainingModuleCompletion", self.training_module_completion) writer.write_object_value("trainingNotificationDeliveryStatus", self.training_notification_delivery_status) diff --git a/msgraph_beta/generated/models/training_collection_response.py b/msgraph_beta/generated/models/training_collection_response.py index be2972a5921..c3b32c310dd 100644 --- a/msgraph_beta/generated/models/training_collection_response.py +++ b/msgraph_beta/generated/models/training_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .training import Training + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/training_events_content.py b/msgraph_beta/generated/models/training_events_content.py index cbb90673477..9a3c545aa5e 100644 --- a/msgraph_beta/generated/models/training_events_content.py +++ b/msgraph_beta/generated/models/training_events_content.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .assigned_training_info import AssignedTrainingInfo + writer.write_collection_of_object_values("assignedTrainingsInfos", self.assigned_trainings_infos) writer.write_str_value("@odata.type", self.odata_type) writer.write_int_value("trainingsAssignedUserCount", self.trainings_assigned_user_count) diff --git a/msgraph_beta/generated/models/training_language_detail.py b/msgraph_beta/generated/models/training_language_detail.py index b30264d9d98..a944abaf23c 100644 --- a/msgraph_beta/generated/models/training_language_detail.py +++ b/msgraph_beta/generated/models/training_language_detail.py @@ -79,6 +79,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .email_identity import EmailIdentity + from .entity import Entity + writer.write_str_value("content", self.content) writer.write_object_value("createdBy", self.created_by) writer.write_datetime_value("createdDateTime", self.created_date_time) diff --git a/msgraph_beta/generated/models/training_language_detail_collection_response.py b/msgraph_beta/generated/models/training_language_detail_collection_response.py index b1d4596cab7..393b4a0f53d 100644 --- a/msgraph_beta/generated/models/training_language_detail_collection_response.py +++ b/msgraph_beta/generated/models/training_language_detail_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .training_language_detail import TrainingLanguageDetail + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/training_notification_setting.py b/msgraph_beta/generated/models/training_notification_setting.py index adac9c7de6a..0caa7cd0b2f 100644 --- a/msgraph_beta/generated/models/training_notification_setting.py +++ b/msgraph_beta/generated/models/training_notification_setting.py @@ -60,6 +60,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_end_user_notification import BaseEndUserNotification + from .end_user_notification_setting import EndUserNotificationSetting + from .training_reminder_notification import TrainingReminderNotification + writer.write_object_value("trainingAssignment", self.training_assignment) writer.write_object_value("trainingReminder", self.training_reminder) diff --git a/msgraph_beta/generated/models/training_reminder_notification.py b/msgraph_beta/generated/models/training_reminder_notification.py index 161efe9dfc6..3500da3002d 100644 --- a/msgraph_beta/generated/models/training_reminder_notification.py +++ b/msgraph_beta/generated/models/training_reminder_notification.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_end_user_notification import BaseEndUserNotification + from .notification_delivery_frequency import NotificationDeliveryFrequency + writer.write_enum_value("deliveryFrequency", self.delivery_frequency) diff --git a/msgraph_beta/generated/models/training_setting.py b/msgraph_beta/generated/models/training_setting.py index d782edddd20..d1564af5a3f 100644 --- a/msgraph_beta/generated/models/training_setting.py +++ b/msgraph_beta/generated/models/training_setting.py @@ -34,7 +34,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> TrainingSetting: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.customTrainingSetting".casefold(): @@ -92,6 +93,13 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .custom_training_setting import CustomTrainingSetting + from .microsoft_custom_training_setting import MicrosoftCustomTrainingSetting + from .microsoft_managed_training_setting import MicrosoftManagedTrainingSetting + from .microsoft_training_assignment_mapping import MicrosoftTrainingAssignmentMapping + from .no_training_setting import NoTrainingSetting + from .training_setting_type import TrainingSettingType + writer.write_str_value("@odata.type", self.odata_type) writer.write_enum_value("settingType", self.setting_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/transformation_attribute.py b/msgraph_beta/generated/models/transformation_attribute.py index 518d2f36d9a..1de746b5e8d 100644 --- a/msgraph_beta/generated/models/transformation_attribute.py +++ b/msgraph_beta/generated/models/transformation_attribute.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .custom_claim_attribute_base import CustomClaimAttributeBase + writer.write_object_value("attribute", self.attribute) writer.write_str_value("@odata.type", self.odata_type) writer.write_bool_value("treatAsMultiValue", self.treat_as_multi_value) diff --git a/msgraph_beta/generated/models/translation_language_override.py b/msgraph_beta/generated/models/translation_language_override.py index 1e9cd17c1e5..d295016db8f 100644 --- a/msgraph_beta/generated/models/translation_language_override.py +++ b/msgraph_beta/generated/models/translation_language_override.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .translation_behavior import TranslationBehavior + writer.write_str_value("languageTag", self.language_tag) writer.write_str_value("@odata.type", self.odata_type) writer.write_enum_value("translationBehavior", self.translation_behavior) diff --git a/msgraph_beta/generated/models/translation_preferences.py b/msgraph_beta/generated/models/translation_preferences.py index c4ef0d1bf15..8016446e6f3 100644 --- a/msgraph_beta/generated/models/translation_preferences.py +++ b/msgraph_beta/generated/models/translation_preferences.py @@ -62,6 +62,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .translation_behavior import TranslationBehavior + from .translation_language_override import TranslationLanguageOverride + writer.write_collection_of_object_values("languageOverrides", self.language_overrides) writer.write_str_value("@odata.type", self.odata_type) writer.write_enum_value("translationBehavior", self.translation_behavior) diff --git a/msgraph_beta/generated/models/trending.py b/msgraph_beta/generated/models/trending.py index d083e8907b2..c9c79a90149 100644 --- a/msgraph_beta/generated/models/trending.py +++ b/msgraph_beta/generated/models/trending.py @@ -70,6 +70,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .resource_reference import ResourceReference + from .resource_visualization import ResourceVisualization + writer.write_datetime_value("lastModifiedDateTime", self.last_modified_date_time) writer.write_object_value("resource", self.resource) writer.write_float_value("weight", self.weight) diff --git a/msgraph_beta/generated/models/trending_collection_response.py b/msgraph_beta/generated/models/trending_collection_response.py index b7c97ed0368..43581081815 100644 --- a/msgraph_beta/generated/models/trending_collection_response.py +++ b/msgraph_beta/generated/models/trending_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .trending import Trending + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/trim_transformation.py b/msgraph_beta/generated/models/trim_transformation.py index 73a1493c4de..3d4135cfc91 100644 --- a/msgraph_beta/generated/models/trim_transformation.py +++ b/msgraph_beta/generated/models/trim_transformation.py @@ -57,6 +57,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .custom_claim_transformation import CustomClaimTransformation + from .transformation_trim_type import TransformationTrimType + writer.write_enum_value("type", self.type) writer.write_str_value("value", self.value) diff --git a/msgraph_beta/generated/models/trust_framework.py b/msgraph_beta/generated/models/trust_framework.py index fa589921acd..b0510afec97 100644 --- a/msgraph_beta/generated/models/trust_framework.py +++ b/msgraph_beta/generated/models/trust_framework.py @@ -59,6 +59,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .trust_framework_key_set import TrustFrameworkKeySet + from .trust_framework_policy import TrustFrameworkPolicy + writer.write_collection_of_object_values("keySets", self.key_sets) writer.write_str_value("@odata.type", self.odata_type) writer.write_collection_of_object_values("policies", self.policies) diff --git a/msgraph_beta/generated/models/trust_framework_key.py b/msgraph_beta/generated/models/trust_framework_key.py index dc15aa6e02c..fdf056e36b3 100644 --- a/msgraph_beta/generated/models/trust_framework_key.py +++ b/msgraph_beta/generated/models/trust_framework_key.py @@ -101,6 +101,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .trust_framework_key_status import TrustFrameworkKeyStatus + writer.write_str_value("d", self.d) writer.write_str_value("dp", self.dp) writer.write_str_value("dq", self.dq) diff --git a/msgraph_beta/generated/models/trust_framework_key_set.py b/msgraph_beta/generated/models/trust_framework_key_set.py index e353eac307d..22f0b95c7d7 100644 --- a/msgraph_beta/generated/models/trust_framework_key_set.py +++ b/msgraph_beta/generated/models/trust_framework_key_set.py @@ -60,6 +60,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .trust_framework_key import TrustFrameworkKey + from .trust_framework_key_v2 import TrustFrameworkKey_v2 + writer.write_collection_of_object_values("keys", self.keys) writer.write_collection_of_object_values("keys_v2", self.keys_v2) diff --git a/msgraph_beta/generated/models/trust_framework_key_set_collection_response.py b/msgraph_beta/generated/models/trust_framework_key_set_collection_response.py index f5d6126f204..96fe126f3c0 100644 --- a/msgraph_beta/generated/models/trust_framework_key_set_collection_response.py +++ b/msgraph_beta/generated/models/trust_framework_key_set_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .trust_framework_key_set import TrustFrameworkKeySet + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/trust_framework_key_v2.py b/msgraph_beta/generated/models/trust_framework_key_v2.py index f327ca30643..dd6b7241358 100644 --- a/msgraph_beta/generated/models/trust_framework_key_v2.py +++ b/msgraph_beta/generated/models/trust_framework_key_v2.py @@ -101,6 +101,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .trust_framework_key_status import TrustFrameworkKeyStatus + writer.write_str_value("d", self.d) writer.write_str_value("dp", self.dp) writer.write_str_value("dq", self.dq) diff --git a/msgraph_beta/generated/models/trust_framework_key_v2_collection_response.py b/msgraph_beta/generated/models/trust_framework_key_v2_collection_response.py index cbaa55cff81..0e3cbdc3d53 100644 --- a/msgraph_beta/generated/models/trust_framework_key_v2_collection_response.py +++ b/msgraph_beta/generated/models/trust_framework_key_v2_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .trust_framework_key_v2 import TrustFrameworkKey_v2 + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/trust_framework_policy.py b/msgraph_beta/generated/models/trust_framework_policy.py index 3df03a11f68..6b882ff41f2 100644 --- a/msgraph_beta/generated/models/trust_framework_policy.py +++ b/msgraph_beta/generated/models/trust_framework_policy.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + diff --git a/msgraph_beta/generated/models/trust_framework_policy_collection_response.py b/msgraph_beta/generated/models/trust_framework_policy_collection_response.py index 4a81fe8abfd..8ba40e04d78 100644 --- a/msgraph_beta/generated/models/trust_framework_policy_collection_response.py +++ b/msgraph_beta/generated/models/trust_framework_policy_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .trust_framework_policy import TrustFrameworkPolicy + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/trusted_certificate_authority_as_entity_base.py b/msgraph_beta/generated/models/trusted_certificate_authority_as_entity_base.py index f0c54fa92d7..aa016cae4e5 100644 --- a/msgraph_beta/generated/models/trusted_certificate_authority_as_entity_base.py +++ b/msgraph_beta/generated/models/trusted_certificate_authority_as_entity_base.py @@ -27,7 +27,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> TrustedCertificate if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.certificateBasedApplicationConfiguration".casefold(): @@ -65,6 +66,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .certificate_authority_as_entity import CertificateAuthorityAsEntity + from .certificate_based_application_configuration import CertificateBasedApplicationConfiguration + from .directory_object import DirectoryObject + writer.write_collection_of_object_values("trustedCertificateAuthorities", self.trusted_certificate_authorities) diff --git a/msgraph_beta/generated/models/typed_email_address.py b/msgraph_beta/generated/models/typed_email_address.py index aa49d284541..f60fb2860d3 100644 --- a/msgraph_beta/generated/models/typed_email_address.py +++ b/msgraph_beta/generated/models/typed_email_address.py @@ -57,6 +57,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .email_address import EmailAddress + from .email_type import EmailType + writer.write_str_value("otherLabel", self.other_label) writer.write_enum_value("type", self.type) diff --git a/msgraph_beta/generated/models/unenforced_mfa_aws_user_finding.py b/msgraph_beta/generated/models/unenforced_mfa_aws_user_finding.py index 137b035c8b6..9fcf66a7a5b 100644 --- a/msgraph_beta/generated/models/unenforced_mfa_aws_user_finding.py +++ b/msgraph_beta/generated/models/unenforced_mfa_aws_user_finding.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .identity_finding import IdentityFinding + diff --git a/msgraph_beta/generated/models/unified_rbac_application.py b/msgraph_beta/generated/models/unified_rbac_application.py index a50a272eae8..1abfeecd5b5 100644 --- a/msgraph_beta/generated/models/unified_rbac_application.py +++ b/msgraph_beta/generated/models/unified_rbac_application.py @@ -75,6 +75,12 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .custom_app_scope import CustomAppScope + from .entity import Entity + from .unified_rbac_resource_namespace import UnifiedRbacResourceNamespace + from .unified_role_assignment import UnifiedRoleAssignment + from .unified_role_definition import UnifiedRoleDefinition + writer.write_collection_of_object_values("customAppScopes", self.custom_app_scopes) writer.write_collection_of_object_values("resourceNamespaces", self.resource_namespaces) writer.write_collection_of_object_values("roleAssignments", self.role_assignments) diff --git a/msgraph_beta/generated/models/unified_rbac_resource_action.py b/msgraph_beta/generated/models/unified_rbac_resource_action.py index 0b5a545a78c..7642355d1b7 100644 --- a/msgraph_beta/generated/models/unified_rbac_resource_action.py +++ b/msgraph_beta/generated/models/unified_rbac_resource_action.py @@ -81,6 +81,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .authentication_context_class_reference import AuthenticationContextClassReference + from .entity import Entity + from .unified_rbac_resource_scope import UnifiedRbacResourceScope + writer.write_str_value("actionVerb", self.action_verb) writer.write_object_value("authenticationContext", self.authentication_context) writer.write_str_value("authenticationContextId", self.authentication_context_id) diff --git a/msgraph_beta/generated/models/unified_rbac_resource_action_collection_response.py b/msgraph_beta/generated/models/unified_rbac_resource_action_collection_response.py index b5502cb3908..c1fef8b5cb8 100644 --- a/msgraph_beta/generated/models/unified_rbac_resource_action_collection_response.py +++ b/msgraph_beta/generated/models/unified_rbac_resource_action_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .unified_rbac_resource_action import UnifiedRbacResourceAction + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/unified_rbac_resource_namespace.py b/msgraph_beta/generated/models/unified_rbac_resource_namespace.py index d00c62b74a6..b62f94e7a24 100644 --- a/msgraph_beta/generated/models/unified_rbac_resource_namespace.py +++ b/msgraph_beta/generated/models/unified_rbac_resource_namespace.py @@ -57,6 +57,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .unified_rbac_resource_action import UnifiedRbacResourceAction + writer.write_str_value("name", self.name) writer.write_collection_of_object_values("resourceActions", self.resource_actions) diff --git a/msgraph_beta/generated/models/unified_rbac_resource_namespace_collection_response.py b/msgraph_beta/generated/models/unified_rbac_resource_namespace_collection_response.py index 3488ffce1ad..47dc31e027d 100644 --- a/msgraph_beta/generated/models/unified_rbac_resource_namespace_collection_response.py +++ b/msgraph_beta/generated/models/unified_rbac_resource_namespace_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .unified_rbac_resource_namespace import UnifiedRbacResourceNamespace + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/unified_rbac_resource_scope.py b/msgraph_beta/generated/models/unified_rbac_resource_scope.py index ab009daa2c3..45aa9e617a3 100644 --- a/msgraph_beta/generated/models/unified_rbac_resource_scope.py +++ b/msgraph_beta/generated/models/unified_rbac_resource_scope.py @@ -57,6 +57,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_str_value("displayName", self.display_name) writer.write_str_value("scope", self.scope) writer.write_str_value("type", self.type) diff --git a/msgraph_beta/generated/models/unified_role_assignment.py b/msgraph_beta/generated/models/unified_role_assignment.py index 920e1458b92..29ccb757917 100644 --- a/msgraph_beta/generated/models/unified_role_assignment.py +++ b/msgraph_beta/generated/models/unified_role_assignment.py @@ -90,6 +90,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .app_scope import AppScope + from .directory_object import DirectoryObject + from .entity import Entity + from .unified_role_definition import UnifiedRoleDefinition + writer.write_object_value("appScope", self.app_scope) writer.write_str_value("appScopeId", self.app_scope_id) writer.write_str_value("condition", self.condition) diff --git a/msgraph_beta/generated/models/unified_role_assignment_collection_response.py b/msgraph_beta/generated/models/unified_role_assignment_collection_response.py index 638ac05fe95..95f1aab6240 100644 --- a/msgraph_beta/generated/models/unified_role_assignment_collection_response.py +++ b/msgraph_beta/generated/models/unified_role_assignment_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .unified_role_assignment import UnifiedRoleAssignment + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/unified_role_assignment_multiple.py b/msgraph_beta/generated/models/unified_role_assignment_multiple.py index 0446af209ae..4bc148930f9 100644 --- a/msgraph_beta/generated/models/unified_role_assignment_multiple.py +++ b/msgraph_beta/generated/models/unified_role_assignment_multiple.py @@ -90,6 +90,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .app_scope import AppScope + from .directory_object import DirectoryObject + from .entity import Entity + from .unified_role_definition import UnifiedRoleDefinition + writer.write_collection_of_primitive_values("appScopeIds", self.app_scope_ids) writer.write_collection_of_object_values("appScopes", self.app_scopes) writer.write_str_value("condition", self.condition) diff --git a/msgraph_beta/generated/models/unified_role_assignment_multiple_collection_response.py b/msgraph_beta/generated/models/unified_role_assignment_multiple_collection_response.py index 5a5a4e90dc6..8c7b3881176 100644 --- a/msgraph_beta/generated/models/unified_role_assignment_multiple_collection_response.py +++ b/msgraph_beta/generated/models/unified_role_assignment_multiple_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .unified_role_assignment_multiple import UnifiedRoleAssignmentMultiple + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/unified_role_assignment_schedule.py b/msgraph_beta/generated/models/unified_role_assignment_schedule.py index 1ffb04c63fb..2b329e0b73b 100644 --- a/msgraph_beta/generated/models/unified_role_assignment_schedule.py +++ b/msgraph_beta/generated/models/unified_role_assignment_schedule.py @@ -66,6 +66,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .request_schedule import RequestSchedule + from .unified_role_eligibility_schedule import UnifiedRoleEligibilitySchedule + from .unified_role_schedule_base import UnifiedRoleScheduleBase + writer.write_object_value("activatedUsing", self.activated_using) writer.write_str_value("assignmentType", self.assignment_type) writer.write_str_value("memberType", self.member_type) diff --git a/msgraph_beta/generated/models/unified_role_assignment_schedule_collection_response.py b/msgraph_beta/generated/models/unified_role_assignment_schedule_collection_response.py index 335f2b1596f..0a34aed7230 100644 --- a/msgraph_beta/generated/models/unified_role_assignment_schedule_collection_response.py +++ b/msgraph_beta/generated/models/unified_role_assignment_schedule_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .unified_role_assignment_schedule import UnifiedRoleAssignmentSchedule + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/unified_role_assignment_schedule_instance.py b/msgraph_beta/generated/models/unified_role_assignment_schedule_instance.py index 7ff56b8b11f..fd186d380b6 100644 --- a/msgraph_beta/generated/models/unified_role_assignment_schedule_instance.py +++ b/msgraph_beta/generated/models/unified_role_assignment_schedule_instance.py @@ -73,6 +73,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .unified_role_eligibility_schedule_instance import UnifiedRoleEligibilityScheduleInstance + from .unified_role_schedule_instance_base import UnifiedRoleScheduleInstanceBase + writer.write_object_value("activatedUsing", self.activated_using) writer.write_str_value("assignmentType", self.assignment_type) writer.write_datetime_value("endDateTime", self.end_date_time) diff --git a/msgraph_beta/generated/models/unified_role_assignment_schedule_instance_collection_response.py b/msgraph_beta/generated/models/unified_role_assignment_schedule_instance_collection_response.py index 47a67c43c61..85eb4feffa2 100644 --- a/msgraph_beta/generated/models/unified_role_assignment_schedule_instance_collection_response.py +++ b/msgraph_beta/generated/models/unified_role_assignment_schedule_instance_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .unified_role_assignment_schedule_instance import UnifiedRoleAssignmentScheduleInstance + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/unified_role_assignment_schedule_request.py b/msgraph_beta/generated/models/unified_role_assignment_schedule_request.py index fa9a7897392..45132f35395 100644 --- a/msgraph_beta/generated/models/unified_role_assignment_schedule_request.py +++ b/msgraph_beta/generated/models/unified_role_assignment_schedule_request.py @@ -117,6 +117,15 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .app_scope import AppScope + from .directory_object import DirectoryObject + from .request import Request + from .request_schedule import RequestSchedule + from .ticket_info import TicketInfo + from .unified_role_assignment_schedule import UnifiedRoleAssignmentSchedule + from .unified_role_definition import UnifiedRoleDefinition + from .unified_role_eligibility_schedule import UnifiedRoleEligibilitySchedule + writer.write_str_value("action", self.action) writer.write_object_value("activatedUsing", self.activated_using) writer.write_object_value("appScope", self.app_scope) diff --git a/msgraph_beta/generated/models/unified_role_assignment_schedule_request_collection_response.py b/msgraph_beta/generated/models/unified_role_assignment_schedule_request_collection_response.py index 3286ab5b959..0eb73649bae 100644 --- a/msgraph_beta/generated/models/unified_role_assignment_schedule_request_collection_response.py +++ b/msgraph_beta/generated/models/unified_role_assignment_schedule_request_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .unified_role_assignment_schedule_request import UnifiedRoleAssignmentScheduleRequest + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/unified_role_definition.py b/msgraph_beta/generated/models/unified_role_definition.py index 44064aae671..71ca3b5f856 100644 --- a/msgraph_beta/generated/models/unified_role_definition.py +++ b/msgraph_beta/generated/models/unified_role_definition.py @@ -87,6 +87,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .allowed_role_principal_types import AllowedRolePrincipalTypes + from .entity import Entity + from .unified_role_permission import UnifiedRolePermission + writer.write_enum_value("allowedPrincipalTypes", self.allowed_principal_types) writer.write_str_value("description", self.description) writer.write_str_value("displayName", self.display_name) diff --git a/msgraph_beta/generated/models/unified_role_definition_collection_response.py b/msgraph_beta/generated/models/unified_role_definition_collection_response.py index 8642395f0f8..9bf0c1a3220 100644 --- a/msgraph_beta/generated/models/unified_role_definition_collection_response.py +++ b/msgraph_beta/generated/models/unified_role_definition_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .unified_role_definition import UnifiedRoleDefinition + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/unified_role_eligibility_schedule.py b/msgraph_beta/generated/models/unified_role_eligibility_schedule.py index f8e45e484bf..61e6cb2da59 100644 --- a/msgraph_beta/generated/models/unified_role_eligibility_schedule.py +++ b/msgraph_beta/generated/models/unified_role_eligibility_schedule.py @@ -57,6 +57,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .request_schedule import RequestSchedule + from .unified_role_schedule_base import UnifiedRoleScheduleBase + writer.write_str_value("memberType", self.member_type) writer.write_object_value("scheduleInfo", self.schedule_info) diff --git a/msgraph_beta/generated/models/unified_role_eligibility_schedule_collection_response.py b/msgraph_beta/generated/models/unified_role_eligibility_schedule_collection_response.py index 5d8aacc23c6..a330fd11d19 100644 --- a/msgraph_beta/generated/models/unified_role_eligibility_schedule_collection_response.py +++ b/msgraph_beta/generated/models/unified_role_eligibility_schedule_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .unified_role_eligibility_schedule import UnifiedRoleEligibilitySchedule + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/unified_role_eligibility_schedule_instance.py b/msgraph_beta/generated/models/unified_role_eligibility_schedule_instance.py index b676f1ff792..351e28c940a 100644 --- a/msgraph_beta/generated/models/unified_role_eligibility_schedule_instance.py +++ b/msgraph_beta/generated/models/unified_role_eligibility_schedule_instance.py @@ -61,6 +61,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .unified_role_schedule_instance_base import UnifiedRoleScheduleInstanceBase + writer.write_datetime_value("endDateTime", self.end_date_time) writer.write_str_value("memberType", self.member_type) writer.write_str_value("roleEligibilityScheduleId", self.role_eligibility_schedule_id) diff --git a/msgraph_beta/generated/models/unified_role_eligibility_schedule_instance_collection_response.py b/msgraph_beta/generated/models/unified_role_eligibility_schedule_instance_collection_response.py index f3baec9dae9..a47a5a1cfde 100644 --- a/msgraph_beta/generated/models/unified_role_eligibility_schedule_instance_collection_response.py +++ b/msgraph_beta/generated/models/unified_role_eligibility_schedule_instance_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .unified_role_eligibility_schedule_instance import UnifiedRoleEligibilityScheduleInstance + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/unified_role_eligibility_schedule_request.py b/msgraph_beta/generated/models/unified_role_eligibility_schedule_request.py index cedec323b59..ad7536bf636 100644 --- a/msgraph_beta/generated/models/unified_role_eligibility_schedule_request.py +++ b/msgraph_beta/generated/models/unified_role_eligibility_schedule_request.py @@ -111,6 +111,14 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .app_scope import AppScope + from .directory_object import DirectoryObject + from .request import Request + from .request_schedule import RequestSchedule + from .ticket_info import TicketInfo + from .unified_role_definition import UnifiedRoleDefinition + from .unified_role_eligibility_schedule import UnifiedRoleEligibilitySchedule + writer.write_str_value("action", self.action) writer.write_object_value("appScope", self.app_scope) writer.write_str_value("appScopeId", self.app_scope_id) diff --git a/msgraph_beta/generated/models/unified_role_eligibility_schedule_request_collection_response.py b/msgraph_beta/generated/models/unified_role_eligibility_schedule_request_collection_response.py index 72f2c97d31b..d5b68e50659 100644 --- a/msgraph_beta/generated/models/unified_role_eligibility_schedule_request_collection_response.py +++ b/msgraph_beta/generated/models/unified_role_eligibility_schedule_request_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .unified_role_eligibility_schedule_request import UnifiedRoleEligibilityScheduleRequest + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/unified_role_management_alert.py b/msgraph_beta/generated/models/unified_role_management_alert.py index 234111cb71f..c003acdf98f 100644 --- a/msgraph_beta/generated/models/unified_role_management_alert.py +++ b/msgraph_beta/generated/models/unified_role_management_alert.py @@ -88,6 +88,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .unified_role_management_alert_configuration import UnifiedRoleManagementAlertConfiguration + from .unified_role_management_alert_definition import UnifiedRoleManagementAlertDefinition + from .unified_role_management_alert_incident import UnifiedRoleManagementAlertIncident + writer.write_object_value("alertConfiguration", self.alert_configuration) writer.write_object_value("alertDefinition", self.alert_definition) writer.write_str_value("alertDefinitionId", self.alert_definition_id) diff --git a/msgraph_beta/generated/models/unified_role_management_alert_collection_response.py b/msgraph_beta/generated/models/unified_role_management_alert_collection_response.py index be19e81ad38..6deb00f0e53 100644 --- a/msgraph_beta/generated/models/unified_role_management_alert_collection_response.py +++ b/msgraph_beta/generated/models/unified_role_management_alert_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .unified_role_management_alert import UnifiedRoleManagementAlert + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/unified_role_management_alert_configuration.py b/msgraph_beta/generated/models/unified_role_management_alert_configuration.py index ba1f6f873ba..0e6637a6b7e 100644 --- a/msgraph_beta/generated/models/unified_role_management_alert_configuration.py +++ b/msgraph_beta/generated/models/unified_role_management_alert_configuration.py @@ -41,7 +41,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> UnifiedRoleManagem if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.invalidLicenseAlertConfiguration".casefold(): @@ -119,6 +120,16 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .invalid_license_alert_configuration import InvalidLicenseAlertConfiguration + from .no_mfa_on_role_activation_alert_configuration import NoMfaOnRoleActivationAlertConfiguration + from .redundant_assignment_alert_configuration import RedundantAssignmentAlertConfiguration + from .roles_assigned_outside_privileged_identity_management_alert_configuration import RolesAssignedOutsidePrivilegedIdentityManagementAlertConfiguration + from .sequential_activation_renewals_alert_configuration import SequentialActivationRenewalsAlertConfiguration + from .stale_sign_in_alert_configuration import StaleSignInAlertConfiguration + from .too_many_global_admins_assigned_to_tenant_alert_configuration import TooManyGlobalAdminsAssignedToTenantAlertConfiguration + from .unified_role_management_alert_definition import UnifiedRoleManagementAlertDefinition + writer.write_object_value("alertDefinition", self.alert_definition) writer.write_str_value("alertDefinitionId", self.alert_definition_id) writer.write_bool_value("isEnabled", self.is_enabled) diff --git a/msgraph_beta/generated/models/unified_role_management_alert_configuration_collection_response.py b/msgraph_beta/generated/models/unified_role_management_alert_configuration_collection_response.py index c765d0ace75..0bc88091f5e 100644 --- a/msgraph_beta/generated/models/unified_role_management_alert_configuration_collection_response.py +++ b/msgraph_beta/generated/models/unified_role_management_alert_configuration_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .unified_role_management_alert_configuration import UnifiedRoleManagementAlertConfiguration + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/unified_role_management_alert_definition.py b/msgraph_beta/generated/models/unified_role_management_alert_definition.py index 7ccdb0db84c..5765a3205f9 100644 --- a/msgraph_beta/generated/models/unified_role_management_alert_definition.py +++ b/msgraph_beta/generated/models/unified_role_management_alert_definition.py @@ -81,6 +81,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .alert_severity import AlertSeverity + from .entity import Entity + writer.write_str_value("description", self.description) writer.write_str_value("displayName", self.display_name) writer.write_str_value("howToPrevent", self.how_to_prevent) diff --git a/msgraph_beta/generated/models/unified_role_management_alert_definition_collection_response.py b/msgraph_beta/generated/models/unified_role_management_alert_definition_collection_response.py index 9cc274268a9..356a434399a 100644 --- a/msgraph_beta/generated/models/unified_role_management_alert_definition_collection_response.py +++ b/msgraph_beta/generated/models/unified_role_management_alert_definition_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .unified_role_management_alert_definition import UnifiedRoleManagementAlertDefinition + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/unified_role_management_alert_incident.py b/msgraph_beta/generated/models/unified_role_management_alert_incident.py index edcd33ebcdd..34e5313cf4c 100644 --- a/msgraph_beta/generated/models/unified_role_management_alert_incident.py +++ b/msgraph_beta/generated/models/unified_role_management_alert_incident.py @@ -30,7 +30,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> UnifiedRoleManagem if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.invalidLicenseAlertIncident".casefold(): @@ -101,5 +102,14 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .invalid_license_alert_incident import InvalidLicenseAlertIncident + from .no_mfa_on_role_activation_alert_incident import NoMfaOnRoleActivationAlertIncident + from .redundant_assignment_alert_incident import RedundantAssignmentAlertIncident + from .roles_assigned_outside_privileged_identity_management_alert_incident import RolesAssignedOutsidePrivilegedIdentityManagementAlertIncident + from .sequential_activation_renewals_alert_incident import SequentialActivationRenewalsAlertIncident + from .stale_sign_in_alert_incident import StaleSignInAlertIncident + from .too_many_global_admins_assigned_to_tenant_alert_incident import TooManyGlobalAdminsAssignedToTenantAlertIncident + diff --git a/msgraph_beta/generated/models/unified_role_management_alert_incident_collection_response.py b/msgraph_beta/generated/models/unified_role_management_alert_incident_collection_response.py index 95b221af33c..1ee78632eb2 100644 --- a/msgraph_beta/generated/models/unified_role_management_alert_incident_collection_response.py +++ b/msgraph_beta/generated/models/unified_role_management_alert_incident_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .unified_role_management_alert_incident import UnifiedRoleManagementAlertIncident + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/unified_role_management_policy.py b/msgraph_beta/generated/models/unified_role_management_policy.py index 21c4068375e..065c24b472d 100644 --- a/msgraph_beta/generated/models/unified_role_management_policy.py +++ b/msgraph_beta/generated/models/unified_role_management_policy.py @@ -82,6 +82,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .identity import Identity + from .unified_role_management_policy_rule import UnifiedRoleManagementPolicyRule + writer.write_str_value("description", self.description) writer.write_str_value("displayName", self.display_name) writer.write_collection_of_object_values("effectiveRules", self.effective_rules) diff --git a/msgraph_beta/generated/models/unified_role_management_policy_approval_rule.py b/msgraph_beta/generated/models/unified_role_management_policy_approval_rule.py index 4a09b863d6c..2c447d1d489 100644 --- a/msgraph_beta/generated/models/unified_role_management_policy_approval_rule.py +++ b/msgraph_beta/generated/models/unified_role_management_policy_approval_rule.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .approval_settings import ApprovalSettings + from .unified_role_management_policy_rule import UnifiedRoleManagementPolicyRule + writer.write_object_value("setting", self.setting) diff --git a/msgraph_beta/generated/models/unified_role_management_policy_assignment.py b/msgraph_beta/generated/models/unified_role_management_policy_assignment.py index 5728bcf0c83..a5b871f6e6e 100644 --- a/msgraph_beta/generated/models/unified_role_management_policy_assignment.py +++ b/msgraph_beta/generated/models/unified_role_management_policy_assignment.py @@ -66,6 +66,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .unified_role_management_policy import UnifiedRoleManagementPolicy + writer.write_object_value("policy", self.policy) writer.write_str_value("policyId", self.policy_id) writer.write_str_value("roleDefinitionId", self.role_definition_id) diff --git a/msgraph_beta/generated/models/unified_role_management_policy_assignment_collection_response.py b/msgraph_beta/generated/models/unified_role_management_policy_assignment_collection_response.py index a4b63c6afca..fac7c393888 100644 --- a/msgraph_beta/generated/models/unified_role_management_policy_assignment_collection_response.py +++ b/msgraph_beta/generated/models/unified_role_management_policy_assignment_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .unified_role_management_policy_assignment import UnifiedRoleManagementPolicyAssignment + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/unified_role_management_policy_authentication_context_rule.py b/msgraph_beta/generated/models/unified_role_management_policy_authentication_context_rule.py index ec5b118e13b..ef50184f55a 100644 --- a/msgraph_beta/generated/models/unified_role_management_policy_authentication_context_rule.py +++ b/msgraph_beta/generated/models/unified_role_management_policy_authentication_context_rule.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .unified_role_management_policy_rule import UnifiedRoleManagementPolicyRule + writer.write_str_value("claimValue", self.claim_value) writer.write_bool_value("isEnabled", self.is_enabled) diff --git a/msgraph_beta/generated/models/unified_role_management_policy_collection_response.py b/msgraph_beta/generated/models/unified_role_management_policy_collection_response.py index 988737f3402..0a9376fd754 100644 --- a/msgraph_beta/generated/models/unified_role_management_policy_collection_response.py +++ b/msgraph_beta/generated/models/unified_role_management_policy_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .unified_role_management_policy import UnifiedRoleManagementPolicy + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/unified_role_management_policy_enablement_rule.py b/msgraph_beta/generated/models/unified_role_management_policy_enablement_rule.py index d54e645328d..bf93d0ce7e1 100644 --- a/msgraph_beta/generated/models/unified_role_management_policy_enablement_rule.py +++ b/msgraph_beta/generated/models/unified_role_management_policy_enablement_rule.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .unified_role_management_policy_rule import UnifiedRoleManagementPolicyRule + writer.write_collection_of_primitive_values("enabledRules", self.enabled_rules) diff --git a/msgraph_beta/generated/models/unified_role_management_policy_expiration_rule.py b/msgraph_beta/generated/models/unified_role_management_policy_expiration_rule.py index e2cce260c6e..7829fea36d9 100644 --- a/msgraph_beta/generated/models/unified_role_management_policy_expiration_rule.py +++ b/msgraph_beta/generated/models/unified_role_management_policy_expiration_rule.py @@ -55,6 +55,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .unified_role_management_policy_rule import UnifiedRoleManagementPolicyRule + writer.write_bool_value("isExpirationRequired", self.is_expiration_required) writer.write_timedelta_value("maximumDuration", self.maximum_duration) diff --git a/msgraph_beta/generated/models/unified_role_management_policy_notification_rule.py b/msgraph_beta/generated/models/unified_role_management_policy_notification_rule.py index 319ffe42dd8..19fd9674f92 100644 --- a/msgraph_beta/generated/models/unified_role_management_policy_notification_rule.py +++ b/msgraph_beta/generated/models/unified_role_management_policy_notification_rule.py @@ -63,6 +63,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .unified_role_management_policy_rule import UnifiedRoleManagementPolicyRule + writer.write_bool_value("isDefaultRecipientsEnabled", self.is_default_recipients_enabled) writer.write_str_value("notificationLevel", self.notification_level) writer.write_collection_of_primitive_values("notificationRecipients", self.notification_recipients) diff --git a/msgraph_beta/generated/models/unified_role_management_policy_rule.py b/msgraph_beta/generated/models/unified_role_management_policy_rule.py index 104084581a9..a293e7586f7 100644 --- a/msgraph_beta/generated/models/unified_role_management_policy_rule.py +++ b/msgraph_beta/generated/models/unified_role_management_policy_rule.py @@ -31,7 +31,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> UnifiedRoleManagem if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.unifiedRoleManagementPolicyApprovalRule".casefold(): @@ -93,6 +94,14 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .unified_role_management_policy_approval_rule import UnifiedRoleManagementPolicyApprovalRule + from .unified_role_management_policy_authentication_context_rule import UnifiedRoleManagementPolicyAuthenticationContextRule + from .unified_role_management_policy_enablement_rule import UnifiedRoleManagementPolicyEnablementRule + from .unified_role_management_policy_expiration_rule import UnifiedRoleManagementPolicyExpirationRule + from .unified_role_management_policy_notification_rule import UnifiedRoleManagementPolicyNotificationRule + from .unified_role_management_policy_rule_target import UnifiedRoleManagementPolicyRuleTarget + writer.write_object_value("target", self.target) diff --git a/msgraph_beta/generated/models/unified_role_management_policy_rule_collection_response.py b/msgraph_beta/generated/models/unified_role_management_policy_rule_collection_response.py index 43bf89a0650..49327940ce7 100644 --- a/msgraph_beta/generated/models/unified_role_management_policy_rule_collection_response.py +++ b/msgraph_beta/generated/models/unified_role_management_policy_rule_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .unified_role_management_policy_rule import UnifiedRoleManagementPolicyRule + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/unified_role_management_policy_rule_target.py b/msgraph_beta/generated/models/unified_role_management_policy_rule_target.py index b61ae3ef6be..efd2a61fd8c 100644 --- a/msgraph_beta/generated/models/unified_role_management_policy_rule_target.py +++ b/msgraph_beta/generated/models/unified_role_management_policy_rule_target.py @@ -68,6 +68,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .directory_object import DirectoryObject + writer.write_str_value("caller", self.caller) writer.write_collection_of_primitive_values("enforcedSettings", self.enforced_settings) writer.write_collection_of_primitive_values("inheritableSettings", self.inheritable_settings) diff --git a/msgraph_beta/generated/models/unified_role_schedule_base.py b/msgraph_beta/generated/models/unified_role_schedule_base.py index dfdbeb20c0a..056ffbf0389 100644 --- a/msgraph_beta/generated/models/unified_role_schedule_base.py +++ b/msgraph_beta/generated/models/unified_role_schedule_base.py @@ -53,7 +53,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> UnifiedRoleSchedul if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.unifiedRoleAssignmentSchedule".casefold(): @@ -112,6 +113,13 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .app_scope import AppScope + from .directory_object import DirectoryObject + from .entity import Entity + from .unified_role_assignment_schedule import UnifiedRoleAssignmentSchedule + from .unified_role_definition import UnifiedRoleDefinition + from .unified_role_eligibility_schedule import UnifiedRoleEligibilitySchedule + writer.write_object_value("appScope", self.app_scope) writer.write_str_value("appScopeId", self.app_scope_id) writer.write_datetime_value("createdDateTime", self.created_date_time) diff --git a/msgraph_beta/generated/models/unified_role_schedule_instance_base.py b/msgraph_beta/generated/models/unified_role_schedule_instance_base.py index b3f6849e07a..30e98cd9c72 100644 --- a/msgraph_beta/generated/models/unified_role_schedule_instance_base.py +++ b/msgraph_beta/generated/models/unified_role_schedule_instance_base.py @@ -44,7 +44,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> UnifiedRoleSchedul if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.unifiedRoleAssignmentScheduleInstance".casefold(): @@ -99,6 +100,13 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .app_scope import AppScope + from .directory_object import DirectoryObject + from .entity import Entity + from .unified_role_assignment_schedule_instance import UnifiedRoleAssignmentScheduleInstance + from .unified_role_definition import UnifiedRoleDefinition + from .unified_role_eligibility_schedule_instance import UnifiedRoleEligibilityScheduleInstance + writer.write_object_value("appScope", self.app_scope) writer.write_str_value("appScopeId", self.app_scope_id) writer.write_object_value("directoryScope", self.directory_scope) diff --git a/msgraph_beta/generated/models/unified_storage_quota.py b/msgraph_beta/generated/models/unified_storage_quota.py index d20f11c484c..454ff9bd6eb 100644 --- a/msgraph_beta/generated/models/unified_storage_quota.py +++ b/msgraph_beta/generated/models/unified_storage_quota.py @@ -72,6 +72,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .service_storage_quota_breakdown import ServiceStorageQuotaBreakdown + writer.write_int_value("deleted", self.deleted) writer.write_str_value("manageWebUrl", self.manage_web_url) writer.write_int_value("remaining", self.remaining) diff --git a/msgraph_beta/generated/models/unit_of_measure_collection_response.py b/msgraph_beta/generated/models/unit_of_measure_collection_response.py index 05b70e62cee..c3853072a49 100644 --- a/msgraph_beta/generated/models/unit_of_measure_collection_response.py +++ b/msgraph_beta/generated/models/unit_of_measure_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .unit_of_measure import UnitOfMeasure + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/unknown_source.py b/msgraph_beta/generated/models/unknown_source.py index a0bb9dc68bc..0950344031b 100644 --- a/msgraph_beta/generated/models/unknown_source.py +++ b/msgraph_beta/generated/models/unknown_source.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .authorization_system_identity_source import AuthorizationSystemIdentitySource + diff --git a/msgraph_beta/generated/models/unmanaged_device_discovery_task.py b/msgraph_beta/generated/models/unmanaged_device_discovery_task.py index 82005c968a1..3fbc1961a7a 100644 --- a/msgraph_beta/generated/models/unmanaged_device_discovery_task.py +++ b/msgraph_beta/generated/models/unmanaged_device_discovery_task.py @@ -57,6 +57,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_app_management_task import DeviceAppManagementTask + from .unmanaged_device import UnmanagedDevice + writer.write_collection_of_object_values("unmanagedDevices", self.unmanaged_devices) diff --git a/msgraph_beta/generated/models/unmute_participant_operation.py b/msgraph_beta/generated/models/unmute_participant_operation.py index d705d224d93..8fa44734c1a 100644 --- a/msgraph_beta/generated/models/unmute_participant_operation.py +++ b/msgraph_beta/generated/models/unmute_participant_operation.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .comms_operation import CommsOperation + diff --git a/msgraph_beta/generated/models/unsupported_device_configuration.py b/msgraph_beta/generated/models/unsupported_device_configuration.py index cb0ec5e483b..7df4d53bda5 100644 --- a/msgraph_beta/generated/models/unsupported_device_configuration.py +++ b/msgraph_beta/generated/models/unsupported_device_configuration.py @@ -60,6 +60,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_configuration import DeviceConfiguration + from .unsupported_device_configuration_detail import UnsupportedDeviceConfigurationDetail + writer.write_collection_of_object_values("details", self.details) writer.write_str_value("originalEntityTypeName", self.original_entity_type_name) diff --git a/msgraph_beta/generated/models/unsupported_group_policy_extension.py b/msgraph_beta/generated/models/unsupported_group_policy_extension.py index 237892d8d87..9168fb6ac49 100644 --- a/msgraph_beta/generated/models/unsupported_group_policy_extension.py +++ b/msgraph_beta/generated/models/unsupported_group_policy_extension.py @@ -66,6 +66,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .group_policy_setting_scope import GroupPolicySettingScope + writer.write_str_value("extensionType", self.extension_type) writer.write_str_value("namespaceUrl", self.namespace_url) writer.write_str_value("nodeName", self.node_name) diff --git a/msgraph_beta/generated/models/unsupported_group_policy_extension_collection_response.py b/msgraph_beta/generated/models/unsupported_group_policy_extension_collection_response.py index 8b10394b1c9..956b3b8d550 100644 --- a/msgraph_beta/generated/models/unsupported_group_policy_extension_collection_response.py +++ b/msgraph_beta/generated/models/unsupported_group_policy_extension_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .unsupported_group_policy_extension import UnsupportedGroupPolicyExtension + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/update_allowed_combinations_result.py b/msgraph_beta/generated/models/update_allowed_combinations_result.py index 7903c571f7f..f5871768e0e 100644 --- a/msgraph_beta/generated/models/update_allowed_combinations_result.py +++ b/msgraph_beta/generated/models/update_allowed_combinations_result.py @@ -62,6 +62,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .authentication_method_modes import AuthenticationMethodModes + writer.write_str_value("additionalInformation", self.additional_information) writer.write_collection_of_primitive_values("conditionalAccessReferences", self.conditional_access_references) writer.write_collection_of_enum_values("currentCombinations", self.current_combinations) diff --git a/msgraph_beta/generated/models/update_recording_status_operation.py b/msgraph_beta/generated/models/update_recording_status_operation.py index cd5fc41ba7b..ec6fb8c13b0 100644 --- a/msgraph_beta/generated/models/update_recording_status_operation.py +++ b/msgraph_beta/generated/models/update_recording_status_operation.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .comms_operation import CommsOperation + diff --git a/msgraph_beta/generated/models/update_windows_device_account_action_parameter.py b/msgraph_beta/generated/models/update_windows_device_account_action_parameter.py index 1b1d78ebc31..43fd3443166 100644 --- a/msgraph_beta/generated/models/update_windows_device_account_action_parameter.py +++ b/msgraph_beta/generated/models/update_windows_device_account_action_parameter.py @@ -68,6 +68,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .windows_device_account import WindowsDeviceAccount + writer.write_bool_value("calendarSyncEnabled", self.calendar_sync_enabled) writer.write_object_value("deviceAccount", self.device_account) writer.write_str_value("deviceAccountEmail", self.device_account_email) diff --git a/msgraph_beta/generated/models/url_assessment_request.py b/msgraph_beta/generated/models/url_assessment_request.py index 4f4285fb257..1b851add016 100644 --- a/msgraph_beta/generated/models/url_assessment_request.py +++ b/msgraph_beta/generated/models/url_assessment_request.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .threat_assessment_request import ThreatAssessmentRequest + writer.write_str_value("url", self.url) diff --git a/msgraph_beta/generated/models/usage_right.py b/msgraph_beta/generated/models/usage_right.py index 4a80f2b9018..4b8a9e61c15 100644 --- a/msgraph_beta/generated/models/usage_right.py +++ b/msgraph_beta/generated/models/usage_right.py @@ -60,6 +60,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .usage_right_state import UsageRightState + writer.write_str_value("catalogId", self.catalog_id) writer.write_str_value("serviceIdentifier", self.service_identifier) writer.write_enum_value("state", self.state) diff --git a/msgraph_beta/generated/models/usage_right_collection_response.py b/msgraph_beta/generated/models/usage_right_collection_response.py index f2c2aec042c..278218f9621 100644 --- a/msgraph_beta/generated/models/usage_right_collection_response.py +++ b/msgraph_beta/generated/models/usage_right_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .usage_right import UsageRight + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/used_insight.py b/msgraph_beta/generated/models/used_insight.py index ef7d04e9621..d6361a4aef4 100644 --- a/msgraph_beta/generated/models/used_insight.py +++ b/msgraph_beta/generated/models/used_insight.py @@ -69,6 +69,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .resource_reference import ResourceReference + from .resource_visualization import ResourceVisualization + from .usage_details import UsageDetails + writer.write_object_value("lastUsed", self.last_used) writer.write_object_value("resource", self.resource) diff --git a/msgraph_beta/generated/models/used_insight_collection_response.py b/msgraph_beta/generated/models/used_insight_collection_response.py index 37fa451bcc3..5634c5ab582 100644 --- a/msgraph_beta/generated/models/used_insight_collection_response.py +++ b/msgraph_beta/generated/models/used_insight_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .used_insight import UsedInsight + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/user.py b/msgraph_beta/generated/models/user.py index fba00fb6915..43a72e03a6b 100644 --- a/msgraph_beta/generated/models/user.py +++ b/msgraph_beta/generated/models/user.py @@ -18,6 +18,7 @@ from .calendar_group import CalendarGroup from .chat import Chat from .cloud_clipboard_root import CloudClipboardRoot + from .cloud_licensing.user_cloud_licensing import UserCloudLicensing from .cloud_p_c import CloudPC from .cloud_realtime_communication_info import CloudRealtimeCommunicationInfo from .contact import Contact @@ -137,6 +138,8 @@ class User(DirectoryObject): city: Optional[str] = None # The cloudClipboard property cloud_clipboard: Optional[CloudClipboardRoot] = None + # The relationships of a user to cloud licensing resources. + cloud_licensing: Optional[UserCloudLicensing] = None # The cloudPCs property cloud_p_cs: Optional[List[CloudPC]] = None # Microsoft realtime communication information related to the user. Supports $filter (eq, ne,not). @@ -433,6 +436,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .calendar_group import CalendarGroup from .chat import Chat from .cloud_clipboard_root import CloudClipboardRoot + from .cloud_licensing.user_cloud_licensing import UserCloudLicensing from .cloud_p_c import CloudPC from .cloud_realtime_communication_info import CloudRealtimeCommunicationInfo from .contact import Contact @@ -510,6 +514,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .calendar_group import CalendarGroup from .chat import Chat from .cloud_clipboard_root import CloudClipboardRoot + from .cloud_licensing.user_cloud_licensing import UserCloudLicensing from .cloud_p_c import CloudPC from .cloud_realtime_communication_info import CloudRealtimeCommunicationInfo from .contact import Contact @@ -598,6 +603,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: "chats": lambda n : setattr(self, 'chats', n.get_collection_of_object_values(Chat)), "city": lambda n : setattr(self, 'city', n.get_str_value()), "cloudClipboard": lambda n : setattr(self, 'cloud_clipboard', n.get_object_value(CloudClipboardRoot)), + "cloudLicensing": lambda n : setattr(self, 'cloud_licensing', n.get_object_value(UserCloudLicensing)), "cloudPCs": lambda n : setattr(self, 'cloud_p_cs', n.get_collection_of_object_values(CloudPC)), "cloudRealtimeCommunicationInfo": lambda n : setattr(self, 'cloud_realtime_communication_info', n.get_object_value(CloudRealtimeCommunicationInfo)), "companyName": lambda n : setattr(self, 'company_name', n.get_str_value()), @@ -745,6 +751,84 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .access_review_instance import AccessReviewInstance + from .agreement_acceptance import AgreementAcceptance + from .approval import Approval + from .app_consent_request import AppConsentRequest + from .app_role_assignment import AppRoleAssignment + from .assigned_license import AssignedLicense + from .assigned_plan import AssignedPlan + from .authentication import Authentication + from .authorization_info import AuthorizationInfo + from .calendar import Calendar + from .calendar_group import CalendarGroup + from .chat import Chat + from .cloud_clipboard_root import CloudClipboardRoot + from .cloud_licensing.user_cloud_licensing import UserCloudLicensing + from .cloud_p_c import CloudPC + from .cloud_realtime_communication_info import CloudRealtimeCommunicationInfo + from .contact import Contact + from .contact_folder import ContactFolder + from .custom_security_attribute_value import CustomSecurityAttributeValue + from .device import Device + from .device_enrollment_configuration import DeviceEnrollmentConfiguration + from .device_key import DeviceKey + from .device_management_troubleshooting_event import DeviceManagementTroubleshootingEvent + from .directory_object import DirectoryObject + from .drive import Drive + from .employee_experience_user import EmployeeExperienceUser + from .employee_org_data import EmployeeOrgData + from .event import Event + from .extension import Extension + from .group import Group + from .inference_classification import InferenceClassification + from .information_protection import InformationProtection + from .item_insights import ItemInsights + from .license_assignment_state import LicenseAssignmentState + from .license_details import LicenseDetails + from .mailbox_settings import MailboxSettings + from .mail_folder import MailFolder + from .managed_app_log_collection_request import ManagedAppLogCollectionRequest + from .managed_app_registration import ManagedAppRegistration + from .managed_device import ManagedDevice + from .message import Message + from .mobile_app_intent_and_state import MobileAppIntentAndState + from .mobile_app_troubleshooting_event import MobileAppTroubleshootingEvent + from .notification import Notification + from .object_identity import ObjectIdentity + from .onenote import Onenote + from .online_meeting import OnlineMeeting + from .on_premises_extension_attributes import OnPremisesExtensionAttributes + from .on_premises_provisioning_error import OnPremisesProvisioningError + from .on_premises_sip_info import OnPremisesSipInfo + from .outlook_user import OutlookUser + from .o_auth2_permission_grant import OAuth2PermissionGrant + from .password_profile import PasswordProfile + from .person import Person + from .planner_user import PlannerUser + from .presence import Presence + from .profile import Profile + from .profile_photo import ProfilePhoto + from .provisioned_plan import ProvisionedPlan + from .resource_specific_permission_grant import ResourceSpecificPermissionGrant + from .scoped_role_membership import ScopedRoleMembership + from .security.security import Security + from .service_principal import ServicePrincipal + from .service_provisioning_error import ServiceProvisioningError + from .sign_in_activity import SignInActivity + from .site import Site + from .team import Team + from .todo import Todo + from .usage_right import UsageRight + from .user_activity import UserActivity + from .user_analytics import UserAnalytics + from .user_print import UserPrint + from .user_settings import UserSettings + from .user_solution_root import UserSolutionRoot + from .user_teamwork import UserTeamwork + from .user_virtual_events_root import UserVirtualEventsRoot + from .windows_information_protection_device_registration import WindowsInformationProtectionDeviceRegistration + writer.write_str_value("aboutMe", self.about_me) writer.write_bool_value("accountEnabled", self.account_enabled) writer.write_collection_of_object_values("activities", self.activities) @@ -768,6 +852,7 @@ def serialize(self,writer: SerializationWriter) -> None: writer.write_collection_of_object_values("chats", self.chats) writer.write_str_value("city", self.city) writer.write_object_value("cloudClipboard", self.cloud_clipboard) + writer.write_object_value("cloudLicensing", self.cloud_licensing) writer.write_collection_of_object_values("cloudPCs", self.cloud_p_cs) writer.write_object_value("cloudRealtimeCommunicationInfo", self.cloud_realtime_communication_info) writer.write_str_value("companyName", self.company_name) diff --git a/msgraph_beta/generated/models/user_account.py b/msgraph_beta/generated/models/user_account.py index 1ef0ce99ff1..47ec5fe3eb0 100644 --- a/msgraph_beta/generated/models/user_account.py +++ b/msgraph_beta/generated/models/user_account.py @@ -69,6 +69,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .account_status import AccountStatus + writer.write_str_value("displayName", self.display_name) writer.write_datetime_value("lastSeenDateTime", self.last_seen_date_time) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/user_account_information.py b/msgraph_beta/generated/models/user_account_information.py index 647f8760abd..614a7b1b95b 100644 --- a/msgraph_beta/generated/models/user_account_information.py +++ b/msgraph_beta/generated/models/user_account_information.py @@ -63,6 +63,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .item_facet import ItemFacet + from .locale_info import LocaleInfo + writer.write_str_value("ageGroup", self.age_group) writer.write_str_value("countryCode", self.country_code) writer.write_object_value("preferredLanguageTag", self.preferred_language_tag) diff --git a/msgraph_beta/generated/models/user_account_information_collection_response.py b/msgraph_beta/generated/models/user_account_information_collection_response.py index fc7a54d356b..c24ae1fdc0f 100644 --- a/msgraph_beta/generated/models/user_account_information_collection_response.py +++ b/msgraph_beta/generated/models/user_account_information_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .user_account_information import UserAccountInformation + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/user_activity.py b/msgraph_beta/generated/models/user_activity.py index 0580dcd6cd2..952cc391e93 100644 --- a/msgraph_beta/generated/models/user_activity.py +++ b/msgraph_beta/generated/models/user_activity.py @@ -97,6 +97,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .activity_history_item import ActivityHistoryItem + from .entity import Entity + from .status import Status + from .visual_info import VisualInfo + writer.write_str_value("activationUrl", self.activation_url) writer.write_str_value("activitySourceHost", self.activity_source_host) writer.write_str_value("appActivityId", self.app_activity_id) diff --git a/msgraph_beta/generated/models/user_activity_collection_response.py b/msgraph_beta/generated/models/user_activity_collection_response.py index afbf54b652d..2b059b14cfb 100644 --- a/msgraph_beta/generated/models/user_activity_collection_response.py +++ b/msgraph_beta/generated/models/user_activity_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .user_activity import UserActivity + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/user_analytics.py b/msgraph_beta/generated/models/user_analytics.py index 0f4a3c3778b..af4c959eee6 100644 --- a/msgraph_beta/generated/models/user_analytics.py +++ b/msgraph_beta/generated/models/user_analytics.py @@ -60,6 +60,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .activity_statistics import ActivityStatistics + from .entity import Entity + from .settings import Settings + writer.write_collection_of_object_values("activityStatistics", self.activity_statistics) writer.write_object_value("settings", self.settings) diff --git a/msgraph_beta/generated/models/user_app_install_status.py b/msgraph_beta/generated/models/user_app_install_status.py index 42d6f6af291..54971a679c0 100644 --- a/msgraph_beta/generated/models/user_app_install_status.py +++ b/msgraph_beta/generated/models/user_app_install_status.py @@ -78,6 +78,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .mobile_app import MobileApp + from .mobile_app_install_status import MobileAppInstallStatus + writer.write_object_value("app", self.app) writer.write_collection_of_object_values("deviceStatuses", self.device_statuses) writer.write_int_value("failedDeviceCount", self.failed_device_count) diff --git a/msgraph_beta/generated/models/user_collection_response.py b/msgraph_beta/generated/models/user_collection_response.py index 2c7ed7b6a6b..3102b80aa0f 100644 --- a/msgraph_beta/generated/models/user_collection_response.py +++ b/msgraph_beta/generated/models/user_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .user import User + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/user_configuration.py b/msgraph_beta/generated/models/user_configuration.py index f8be0ebc743..64823890811 100644 --- a/msgraph_beta/generated/models/user_configuration.py +++ b/msgraph_beta/generated/models/user_configuration.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_bytes_value("binaryData", self.binary_data) diff --git a/msgraph_beta/generated/models/user_configuration_collection_response.py b/msgraph_beta/generated/models/user_configuration_collection_response.py index 57f58f84678..ee90d13664c 100644 --- a/msgraph_beta/generated/models/user_configuration_collection_response.py +++ b/msgraph_beta/generated/models/user_configuration_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .user_configuration import UserConfiguration + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/user_consent_request.py b/msgraph_beta/generated/models/user_consent_request.py index ed589d0eb53..93c34d99eb6 100644 --- a/msgraph_beta/generated/models/user_consent_request.py +++ b/msgraph_beta/generated/models/user_consent_request.py @@ -57,6 +57,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .approval import Approval + from .request import Request + writer.write_object_value("approval", self.approval) writer.write_str_value("reason", self.reason) diff --git a/msgraph_beta/generated/models/user_consent_request_collection_response.py b/msgraph_beta/generated/models/user_consent_request_collection_response.py index b3048ac459a..d108ebd859b 100644 --- a/msgraph_beta/generated/models/user_consent_request_collection_response.py +++ b/msgraph_beta/generated/models/user_consent_request_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .user_consent_request import UserConsentRequest + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/user_count_metric.py b/msgraph_beta/generated/models/user_count_metric.py index 81042a090ff..d4d1438eaa6 100644 --- a/msgraph_beta/generated/models/user_count_metric.py +++ b/msgraph_beta/generated/models/user_count_metric.py @@ -58,6 +58,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_int_value("count", self.count) writer.write_date_value("factDate", self.fact_date) writer.write_str_value("language", self.language) diff --git a/msgraph_beta/generated/models/user_count_metric_collection_response.py b/msgraph_beta/generated/models/user_count_metric_collection_response.py index 19b6b64021e..9f098059fd1 100644 --- a/msgraph_beta/generated/models/user_count_metric_collection_response.py +++ b/msgraph_beta/generated/models/user_count_metric_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .user_count_metric import UserCountMetric + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/user_credential_usage_details.py b/msgraph_beta/generated/models/user_credential_usage_details.py index 74a8ef99028..e993ac7fe25 100644 --- a/msgraph_beta/generated/models/user_credential_usage_details.py +++ b/msgraph_beta/generated/models/user_credential_usage_details.py @@ -76,6 +76,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .feature_type import FeatureType + from .usage_auth_method import UsageAuthMethod + writer.write_enum_value("authMethod", self.auth_method) writer.write_datetime_value("eventDateTime", self.event_date_time) writer.write_str_value("failureReason", self.failure_reason) diff --git a/msgraph_beta/generated/models/user_credential_usage_details_collection_response.py b/msgraph_beta/generated/models/user_credential_usage_details_collection_response.py index eb7fea4baf0..f0545990669 100644 --- a/msgraph_beta/generated/models/user_credential_usage_details_collection_response.py +++ b/msgraph_beta/generated/models/user_credential_usage_details_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .user_credential_usage_details import UserCredentialUsageDetails + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/user_experience_analytics_anomaly.py b/msgraph_beta/generated/models/user_experience_analytics_anomaly.py index 48b4e61d0b5..53c5d3ffea4 100644 --- a/msgraph_beta/generated/models/user_experience_analytics_anomaly.py +++ b/msgraph_beta/generated/models/user_experience_analytics_anomaly.py @@ -100,6 +100,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .user_experience_analytics_anomaly_severity import UserExperienceAnalyticsAnomalySeverity + from .user_experience_analytics_anomaly_state import UserExperienceAnalyticsAnomalyState + from .user_experience_analytics_anomaly_type import UserExperienceAnalyticsAnomalyType + writer.write_datetime_value("anomalyFirstOccurrenceDateTime", self.anomaly_first_occurrence_date_time) writer.write_str_value("anomalyId", self.anomaly_id) writer.write_datetime_value("anomalyLatestOccurrenceDateTime", self.anomaly_latest_occurrence_date_time) diff --git a/msgraph_beta/generated/models/user_experience_analytics_anomaly_collection_response.py b/msgraph_beta/generated/models/user_experience_analytics_anomaly_collection_response.py index 5e9d1b21978..1c1e806fb45 100644 --- a/msgraph_beta/generated/models/user_experience_analytics_anomaly_collection_response.py +++ b/msgraph_beta/generated/models/user_experience_analytics_anomaly_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .user_experience_analytics_anomaly import UserExperienceAnalyticsAnomaly + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/user_experience_analytics_anomaly_correlation_group_feature.py b/msgraph_beta/generated/models/user_experience_analytics_anomaly_correlation_group_feature.py index 25b65a56092..a8bfe887fdb 100644 --- a/msgraph_beta/generated/models/user_experience_analytics_anomaly_correlation_group_feature.py +++ b/msgraph_beta/generated/models/user_experience_analytics_anomaly_correlation_group_feature.py @@ -59,6 +59,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .user_experience_analytics_anomaly_device_feature_type import UserExperienceAnalyticsAnomalyDeviceFeatureType + writer.write_enum_value("deviceFeatureType", self.device_feature_type) writer.write_str_value("@odata.type", self.odata_type) writer.write_collection_of_primitive_values("values", self.values) diff --git a/msgraph_beta/generated/models/user_experience_analytics_anomaly_correlation_group_overview.py b/msgraph_beta/generated/models/user_experience_analytics_anomaly_correlation_group_overview.py index cad0b40ccb0..37d28a0de48 100644 --- a/msgraph_beta/generated/models/user_experience_analytics_anomaly_correlation_group_overview.py +++ b/msgraph_beta/generated/models/user_experience_analytics_anomaly_correlation_group_overview.py @@ -87,6 +87,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .user_experience_analytics_anomaly_correlation_group_feature import UserExperienceAnalyticsAnomalyCorrelationGroupFeature + from .user_experience_analytics_anomaly_correlation_group_prevalence import UserExperienceAnalyticsAnomalyCorrelationGroupPrevalence + writer.write_int_value("anomalyCorrelationGroupCount", self.anomaly_correlation_group_count) writer.write_str_value("anomalyId", self.anomaly_id) writer.write_int_value("correlationGroupAnomalousDeviceCount", self.correlation_group_anomalous_device_count) diff --git a/msgraph_beta/generated/models/user_experience_analytics_anomaly_correlation_group_overview_collection_response.py b/msgraph_beta/generated/models/user_experience_analytics_anomaly_correlation_group_overview_collection_response.py index 18b0c974e0d..698d5c0e554 100644 --- a/msgraph_beta/generated/models/user_experience_analytics_anomaly_correlation_group_overview_collection_response.py +++ b/msgraph_beta/generated/models/user_experience_analytics_anomaly_correlation_group_overview_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .user_experience_analytics_anomaly_correlation_group_overview import UserExperienceAnalyticsAnomalyCorrelationGroupOverview + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/user_experience_analytics_anomaly_device.py b/msgraph_beta/generated/models/user_experience_analytics_anomaly_device.py index e75811d10d8..4962a870730 100644 --- a/msgraph_beta/generated/models/user_experience_analytics_anomaly_device.py +++ b/msgraph_beta/generated/models/user_experience_analytics_anomaly_device.py @@ -88,6 +88,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .user_experience_analytics_device_status import UserExperienceAnalyticsDeviceStatus + writer.write_str_value("anomalyId", self.anomaly_id) writer.write_datetime_value("anomalyOnDeviceFirstOccurrenceDateTime", self.anomaly_on_device_first_occurrence_date_time) writer.write_datetime_value("anomalyOnDeviceLatestOccurrenceDateTime", self.anomaly_on_device_latest_occurrence_date_time) diff --git a/msgraph_beta/generated/models/user_experience_analytics_anomaly_device_collection_response.py b/msgraph_beta/generated/models/user_experience_analytics_anomaly_device_collection_response.py index ada10ef0038..e40a58d4528 100644 --- a/msgraph_beta/generated/models/user_experience_analytics_anomaly_device_collection_response.py +++ b/msgraph_beta/generated/models/user_experience_analytics_anomaly_device_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .user_experience_analytics_anomaly_device import UserExperienceAnalyticsAnomalyDevice + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/user_experience_analytics_app_health_app_performance_by_app_version.py b/msgraph_beta/generated/models/user_experience_analytics_app_health_app_performance_by_app_version.py index 0476d809345..a4f61392472 100644 --- a/msgraph_beta/generated/models/user_experience_analytics_app_health_app_performance_by_app_version.py +++ b/msgraph_beta/generated/models/user_experience_analytics_app_health_app_performance_by_app_version.py @@ -72,6 +72,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_int_value("appCrashCount", self.app_crash_count) writer.write_str_value("appDisplayName", self.app_display_name) writer.write_str_value("appName", self.app_name) diff --git a/msgraph_beta/generated/models/user_experience_analytics_app_health_app_performance_by_app_version_collection_response.py b/msgraph_beta/generated/models/user_experience_analytics_app_health_app_performance_by_app_version_collection_response.py index eb0a620f89e..16e71520d8b 100644 --- a/msgraph_beta/generated/models/user_experience_analytics_app_health_app_performance_by_app_version_collection_response.py +++ b/msgraph_beta/generated/models/user_experience_analytics_app_health_app_performance_by_app_version_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .user_experience_analytics_app_health_app_performance_by_app_version import UserExperienceAnalyticsAppHealthAppPerformanceByAppVersion + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/user_experience_analytics_app_health_app_performance_by_app_version_details.py b/msgraph_beta/generated/models/user_experience_analytics_app_health_app_performance_by_app_version_details.py index 84b9f4d397a..99515808067 100644 --- a/msgraph_beta/generated/models/user_experience_analytics_app_health_app_performance_by_app_version_details.py +++ b/msgraph_beta/generated/models/user_experience_analytics_app_health_app_performance_by_app_version_details.py @@ -75,6 +75,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_int_value("appCrashCount", self.app_crash_count) writer.write_str_value("appDisplayName", self.app_display_name) writer.write_str_value("appName", self.app_name) diff --git a/msgraph_beta/generated/models/user_experience_analytics_app_health_app_performance_by_app_version_details_collection_response.py b/msgraph_beta/generated/models/user_experience_analytics_app_health_app_performance_by_app_version_details_collection_response.py index 3054de80497..2ed5f3178dd 100644 --- a/msgraph_beta/generated/models/user_experience_analytics_app_health_app_performance_by_app_version_details_collection_response.py +++ b/msgraph_beta/generated/models/user_experience_analytics_app_health_app_performance_by_app_version_details_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .user_experience_analytics_app_health_app_performance_by_app_version_details import UserExperienceAnalyticsAppHealthAppPerformanceByAppVersionDetails + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/user_experience_analytics_app_health_app_performance_by_app_version_device_id.py b/msgraph_beta/generated/models/user_experience_analytics_app_health_app_performance_by_app_version_device_id.py index 2fd9fd8b1c4..28fb8912842 100644 --- a/msgraph_beta/generated/models/user_experience_analytics_app_health_app_performance_by_app_version_device_id.py +++ b/msgraph_beta/generated/models/user_experience_analytics_app_health_app_performance_by_app_version_device_id.py @@ -76,6 +76,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_int_value("appCrashCount", self.app_crash_count) writer.write_str_value("appDisplayName", self.app_display_name) writer.write_str_value("appName", self.app_name) diff --git a/msgraph_beta/generated/models/user_experience_analytics_app_health_app_performance_by_app_version_device_id_collection_response.py b/msgraph_beta/generated/models/user_experience_analytics_app_health_app_performance_by_app_version_device_id_collection_response.py index f5aeb660339..04305cd2236 100644 --- a/msgraph_beta/generated/models/user_experience_analytics_app_health_app_performance_by_app_version_device_id_collection_response.py +++ b/msgraph_beta/generated/models/user_experience_analytics_app_health_app_performance_by_app_version_device_id_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .user_experience_analytics_app_health_app_performance_by_app_version_device_id import UserExperienceAnalyticsAppHealthAppPerformanceByAppVersionDeviceId + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/user_experience_analytics_app_health_app_performance_by_o_s_version.py b/msgraph_beta/generated/models/user_experience_analytics_app_health_app_performance_by_o_s_version.py index bb20c66347e..ada94a90ff7 100644 --- a/msgraph_beta/generated/models/user_experience_analytics_app_health_app_performance_by_o_s_version.py +++ b/msgraph_beta/generated/models/user_experience_analytics_app_health_app_performance_by_o_s_version.py @@ -78,6 +78,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_int_value("activeDeviceCount", self.active_device_count) writer.write_int_value("appCrashCount", self.app_crash_count) writer.write_str_value("appDisplayName", self.app_display_name) diff --git a/msgraph_beta/generated/models/user_experience_analytics_app_health_app_performance_by_o_s_version_collection_response.py b/msgraph_beta/generated/models/user_experience_analytics_app_health_app_performance_by_o_s_version_collection_response.py index 6b9e9bb6d56..b68b4b6490c 100644 --- a/msgraph_beta/generated/models/user_experience_analytics_app_health_app_performance_by_o_s_version_collection_response.py +++ b/msgraph_beta/generated/models/user_experience_analytics_app_health_app_performance_by_o_s_version_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .user_experience_analytics_app_health_app_performance_by_o_s_version import UserExperienceAnalyticsAppHealthAppPerformanceByOSVersion + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/user_experience_analytics_app_health_application_performance.py b/msgraph_beta/generated/models/user_experience_analytics_app_health_application_performance.py index 65eb1f08278..6f821f3d950 100644 --- a/msgraph_beta/generated/models/user_experience_analytics_app_health_application_performance.py +++ b/msgraph_beta/generated/models/user_experience_analytics_app_health_application_performance.py @@ -78,6 +78,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_int_value("activeDeviceCount", self.active_device_count) writer.write_int_value("appCrashCount", self.app_crash_count) writer.write_str_value("appDisplayName", self.app_display_name) diff --git a/msgraph_beta/generated/models/user_experience_analytics_app_health_application_performance_collection_response.py b/msgraph_beta/generated/models/user_experience_analytics_app_health_application_performance_collection_response.py index 236a58d4d63..aefff7f5fd8 100644 --- a/msgraph_beta/generated/models/user_experience_analytics_app_health_application_performance_collection_response.py +++ b/msgraph_beta/generated/models/user_experience_analytics_app_health_application_performance_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .user_experience_analytics_app_health_application_performance import UserExperienceAnalyticsAppHealthApplicationPerformance + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/user_experience_analytics_app_health_device_model_performance.py b/msgraph_beta/generated/models/user_experience_analytics_app_health_device_model_performance.py index 95d1edb1fc1..3a651e382c0 100644 --- a/msgraph_beta/generated/models/user_experience_analytics_app_health_device_model_performance.py +++ b/msgraph_beta/generated/models/user_experience_analytics_app_health_device_model_performance.py @@ -72,6 +72,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .user_experience_analytics_health_state import UserExperienceAnalyticsHealthState + writer.write_int_value("activeDeviceCount", self.active_device_count) writer.write_str_value("deviceManufacturer", self.device_manufacturer) writer.write_str_value("deviceModel", self.device_model) diff --git a/msgraph_beta/generated/models/user_experience_analytics_app_health_device_model_performance_collection_response.py b/msgraph_beta/generated/models/user_experience_analytics_app_health_device_model_performance_collection_response.py index 2b3ba393f50..39ebe0143bc 100644 --- a/msgraph_beta/generated/models/user_experience_analytics_app_health_device_model_performance_collection_response.py +++ b/msgraph_beta/generated/models/user_experience_analytics_app_health_device_model_performance_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .user_experience_analytics_app_health_device_model_performance import UserExperienceAnalyticsAppHealthDeviceModelPerformance + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/user_experience_analytics_app_health_device_performance.py b/msgraph_beta/generated/models/user_experience_analytics_app_health_device_performance.py index 4342a88597d..de07d7e0b09 100644 --- a/msgraph_beta/generated/models/user_experience_analytics_app_health_device_performance.py +++ b/msgraph_beta/generated/models/user_experience_analytics_app_health_device_performance.py @@ -88,6 +88,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .user_experience_analytics_health_state import UserExperienceAnalyticsHealthState + writer.write_int_value("appCrashCount", self.app_crash_count) writer.write_int_value("appHangCount", self.app_hang_count) writer.write_int_value("crashedAppCount", self.crashed_app_count) diff --git a/msgraph_beta/generated/models/user_experience_analytics_app_health_device_performance_collection_response.py b/msgraph_beta/generated/models/user_experience_analytics_app_health_device_performance_collection_response.py index 38f5f581ad5..763a65c7bb7 100644 --- a/msgraph_beta/generated/models/user_experience_analytics_app_health_device_performance_collection_response.py +++ b/msgraph_beta/generated/models/user_experience_analytics_app_health_device_performance_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .user_experience_analytics_app_health_device_performance import UserExperienceAnalyticsAppHealthDevicePerformance + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/user_experience_analytics_app_health_device_performance_details.py b/msgraph_beta/generated/models/user_experience_analytics_app_health_device_performance_details.py index 2f0ac5169e6..77e07d9b93c 100644 --- a/msgraph_beta/generated/models/user_experience_analytics_app_health_device_performance_details.py +++ b/msgraph_beta/generated/models/user_experience_analytics_app_health_device_performance_details.py @@ -73,6 +73,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_str_value("appDisplayName", self.app_display_name) writer.write_str_value("appPublisher", self.app_publisher) writer.write_str_value("appVersion", self.app_version) diff --git a/msgraph_beta/generated/models/user_experience_analytics_app_health_device_performance_details_collection_response.py b/msgraph_beta/generated/models/user_experience_analytics_app_health_device_performance_details_collection_response.py index 04eab8da15f..6dd8bdf971f 100644 --- a/msgraph_beta/generated/models/user_experience_analytics_app_health_device_performance_details_collection_response.py +++ b/msgraph_beta/generated/models/user_experience_analytics_app_health_device_performance_details_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .user_experience_analytics_app_health_device_performance_details import UserExperienceAnalyticsAppHealthDevicePerformanceDetails + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/user_experience_analytics_app_health_o_s_version_performance.py b/msgraph_beta/generated/models/user_experience_analytics_app_health_o_s_version_performance.py index 3f159c3e08a..d2d89dacff1 100644 --- a/msgraph_beta/generated/models/user_experience_analytics_app_health_o_s_version_performance.py +++ b/msgraph_beta/generated/models/user_experience_analytics_app_health_o_s_version_performance.py @@ -66,6 +66,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_int_value("activeDeviceCount", self.active_device_count) writer.write_int_value("meanTimeToFailureInMinutes", self.mean_time_to_failure_in_minutes) writer.write_str_value("osBuildNumber", self.os_build_number) diff --git a/msgraph_beta/generated/models/user_experience_analytics_app_health_o_s_version_performance_collection_response.py b/msgraph_beta/generated/models/user_experience_analytics_app_health_o_s_version_performance_collection_response.py index af9d1c88ccb..9d798c64512 100644 --- a/msgraph_beta/generated/models/user_experience_analytics_app_health_o_s_version_performance_collection_response.py +++ b/msgraph_beta/generated/models/user_experience_analytics_app_health_o_s_version_performance_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .user_experience_analytics_app_health_o_s_version_performance import UserExperienceAnalyticsAppHealthOSVersionPerformance + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/user_experience_analytics_baseline.py b/msgraph_beta/generated/models/user_experience_analytics_baseline.py index 2958e7559a9..3580db5023b 100644 --- a/msgraph_beta/generated/models/user_experience_analytics_baseline.py +++ b/msgraph_beta/generated/models/user_experience_analytics_baseline.py @@ -85,6 +85,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .user_experience_analytics_category import UserExperienceAnalyticsCategory + writer.write_object_value("appHealthMetrics", self.app_health_metrics) writer.write_object_value("batteryHealthMetrics", self.battery_health_metrics) writer.write_object_value("bestPracticesMetrics", self.best_practices_metrics) diff --git a/msgraph_beta/generated/models/user_experience_analytics_baseline_collection_response.py b/msgraph_beta/generated/models/user_experience_analytics_baseline_collection_response.py index cca9639ded6..e292eca4c26 100644 --- a/msgraph_beta/generated/models/user_experience_analytics_baseline_collection_response.py +++ b/msgraph_beta/generated/models/user_experience_analytics_baseline_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .user_experience_analytics_baseline import UserExperienceAnalyticsBaseline + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/user_experience_analytics_battery_health_app_impact.py b/msgraph_beta/generated/models/user_experience_analytics_battery_health_app_impact.py index 7f68fd300ee..42974d2378e 100644 --- a/msgraph_beta/generated/models/user_experience_analytics_battery_health_app_impact.py +++ b/msgraph_beta/generated/models/user_experience_analytics_battery_health_app_impact.py @@ -69,6 +69,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_int_value("activeDevices", self.active_devices) writer.write_str_value("appDisplayName", self.app_display_name) writer.write_str_value("appName", self.app_name) diff --git a/msgraph_beta/generated/models/user_experience_analytics_battery_health_app_impact_collection_response.py b/msgraph_beta/generated/models/user_experience_analytics_battery_health_app_impact_collection_response.py index 3ea686b2ed6..d3c03ab1aa8 100644 --- a/msgraph_beta/generated/models/user_experience_analytics_battery_health_app_impact_collection_response.py +++ b/msgraph_beta/generated/models/user_experience_analytics_battery_health_app_impact_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .user_experience_analytics_battery_health_app_impact import UserExperienceAnalyticsBatteryHealthAppImpact + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/user_experience_analytics_battery_health_capacity_details.py b/msgraph_beta/generated/models/user_experience_analytics_battery_health_capacity_details.py index e9f9b5e2c4b..9f3d4934bce 100644 --- a/msgraph_beta/generated/models/user_experience_analytics_battery_health_capacity_details.py +++ b/msgraph_beta/generated/models/user_experience_analytics_battery_health_capacity_details.py @@ -67,6 +67,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_int_value("activeDevices", self.active_devices) writer.write_int_value("batteryCapacityFair", self.battery_capacity_fair) writer.write_int_value("batteryCapacityGood", self.battery_capacity_good) diff --git a/msgraph_beta/generated/models/user_experience_analytics_battery_health_device_app_impact.py b/msgraph_beta/generated/models/user_experience_analytics_battery_health_device_app_impact.py index 90e43223ebb..882c8824e4b 100644 --- a/msgraph_beta/generated/models/user_experience_analytics_battery_health_device_app_impact.py +++ b/msgraph_beta/generated/models/user_experience_analytics_battery_health_device_app_impact.py @@ -69,6 +69,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_str_value("appDisplayName", self.app_display_name) writer.write_str_value("appName", self.app_name) writer.write_str_value("appPublisher", self.app_publisher) diff --git a/msgraph_beta/generated/models/user_experience_analytics_battery_health_device_app_impact_collection_response.py b/msgraph_beta/generated/models/user_experience_analytics_battery_health_device_app_impact_collection_response.py index c7204f8637c..82a2ff1dd7e 100644 --- a/msgraph_beta/generated/models/user_experience_analytics_battery_health_device_app_impact_collection_response.py +++ b/msgraph_beta/generated/models/user_experience_analytics_battery_health_device_app_impact_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .user_experience_analytics_battery_health_device_app_impact import UserExperienceAnalyticsBatteryHealthDeviceAppImpact + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/user_experience_analytics_battery_health_device_performance.py b/msgraph_beta/generated/models/user_experience_analytics_battery_health_device_performance.py index c77024bd5f1..3ab45fe7960 100644 --- a/msgraph_beta/generated/models/user_experience_analytics_battery_health_device_performance.py +++ b/msgraph_beta/generated/models/user_experience_analytics_battery_health_device_performance.py @@ -102,6 +102,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .user_experience_analytics_device_battery_detail import UserExperienceAnalyticsDeviceBatteryDetail + from .user_experience_analytics_health_state import UserExperienceAnalyticsHealthState + writer.write_int_value("batteryAgeInDays", self.battery_age_in_days) writer.write_collection_of_object_values("deviceBatteriesDetails", self.device_batteries_details) writer.write_int_value("deviceBatteryCount", self.device_battery_count) diff --git a/msgraph_beta/generated/models/user_experience_analytics_battery_health_device_performance_collection_response.py b/msgraph_beta/generated/models/user_experience_analytics_battery_health_device_performance_collection_response.py index ff41b69dda6..1ecbc93a4f1 100644 --- a/msgraph_beta/generated/models/user_experience_analytics_battery_health_device_performance_collection_response.py +++ b/msgraph_beta/generated/models/user_experience_analytics_battery_health_device_performance_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .user_experience_analytics_battery_health_device_performance import UserExperienceAnalyticsBatteryHealthDevicePerformance + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/user_experience_analytics_battery_health_device_runtime_history.py b/msgraph_beta/generated/models/user_experience_analytics_battery_health_device_runtime_history.py index 758cbeb652a..fb8e1eb8693 100644 --- a/msgraph_beta/generated/models/user_experience_analytics_battery_health_device_runtime_history.py +++ b/msgraph_beta/generated/models/user_experience_analytics_battery_health_device_runtime_history.py @@ -60,6 +60,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_str_value("deviceId", self.device_id) writer.write_int_value("estimatedRuntimeInMinutes", self.estimated_runtime_in_minutes) writer.write_str_value("runtimeDateTime", self.runtime_date_time) diff --git a/msgraph_beta/generated/models/user_experience_analytics_battery_health_device_runtime_history_collection_response.py b/msgraph_beta/generated/models/user_experience_analytics_battery_health_device_runtime_history_collection_response.py index a903a383379..908f0b510f5 100644 --- a/msgraph_beta/generated/models/user_experience_analytics_battery_health_device_runtime_history_collection_response.py +++ b/msgraph_beta/generated/models/user_experience_analytics_battery_health_device_runtime_history_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .user_experience_analytics_battery_health_device_runtime_history import UserExperienceAnalyticsBatteryHealthDeviceRuntimeHistory + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/user_experience_analytics_battery_health_model_performance.py b/msgraph_beta/generated/models/user_experience_analytics_battery_health_model_performance.py index 5b8e883c75c..67b8d32a5be 100644 --- a/msgraph_beta/generated/models/user_experience_analytics_battery_health_model_performance.py +++ b/msgraph_beta/generated/models/user_experience_analytics_battery_health_model_performance.py @@ -96,6 +96,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .user_experience_analytics_health_state import UserExperienceAnalyticsHealthState + writer.write_int_value("activeDevices", self.active_devices) writer.write_int_value("averageBatteryAgeInDays", self.average_battery_age_in_days) writer.write_int_value("averageEstimatedRuntimeInMinutes", self.average_estimated_runtime_in_minutes) diff --git a/msgraph_beta/generated/models/user_experience_analytics_battery_health_model_performance_collection_response.py b/msgraph_beta/generated/models/user_experience_analytics_battery_health_model_performance_collection_response.py index 31ea3878cce..4a4c0a984b1 100644 --- a/msgraph_beta/generated/models/user_experience_analytics_battery_health_model_performance_collection_response.py +++ b/msgraph_beta/generated/models/user_experience_analytics_battery_health_model_performance_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .user_experience_analytics_battery_health_model_performance import UserExperienceAnalyticsBatteryHealthModelPerformance + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/user_experience_analytics_battery_health_os_performance.py b/msgraph_beta/generated/models/user_experience_analytics_battery_health_os_performance.py index ab6f61d0fb5..c80d79d054d 100644 --- a/msgraph_beta/generated/models/user_experience_analytics_battery_health_os_performance.py +++ b/msgraph_beta/generated/models/user_experience_analytics_battery_health_os_performance.py @@ -90,6 +90,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .user_experience_analytics_health_state import UserExperienceAnalyticsHealthState + writer.write_int_value("activeDevices", self.active_devices) writer.write_int_value("averageBatteryAgeInDays", self.average_battery_age_in_days) writer.write_int_value("averageEstimatedRuntimeInMinutes", self.average_estimated_runtime_in_minutes) diff --git a/msgraph_beta/generated/models/user_experience_analytics_battery_health_os_performance_collection_response.py b/msgraph_beta/generated/models/user_experience_analytics_battery_health_os_performance_collection_response.py index adf7ed5e0dd..5c8de7cd79f 100644 --- a/msgraph_beta/generated/models/user_experience_analytics_battery_health_os_performance_collection_response.py +++ b/msgraph_beta/generated/models/user_experience_analytics_battery_health_os_performance_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .user_experience_analytics_battery_health_os_performance import UserExperienceAnalyticsBatteryHealthOsPerformance + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/user_experience_analytics_battery_health_runtime_details.py b/msgraph_beta/generated/models/user_experience_analytics_battery_health_runtime_details.py index d69a5e8d40c..3a9b753982e 100644 --- a/msgraph_beta/generated/models/user_experience_analytics_battery_health_runtime_details.py +++ b/msgraph_beta/generated/models/user_experience_analytics_battery_health_runtime_details.py @@ -67,6 +67,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_int_value("activeDevices", self.active_devices) writer.write_int_value("batteryRuntimeFair", self.battery_runtime_fair) writer.write_int_value("batteryRuntimeGood", self.battery_runtime_good) diff --git a/msgraph_beta/generated/models/user_experience_analytics_category.py b/msgraph_beta/generated/models/user_experience_analytics_category.py index ed9d47f69f1..3f7f6064588 100644 --- a/msgraph_beta/generated/models/user_experience_analytics_category.py +++ b/msgraph_beta/generated/models/user_experience_analytics_category.py @@ -63,6 +63,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .user_experience_analytics_insight import UserExperienceAnalyticsInsight + from .user_experience_analytics_metric import UserExperienceAnalyticsMetric + writer.write_collection_of_object_values("insights", self.insights) writer.write_collection_of_object_values("metricValues", self.metric_values) diff --git a/msgraph_beta/generated/models/user_experience_analytics_category_collection_response.py b/msgraph_beta/generated/models/user_experience_analytics_category_collection_response.py index 53b24390c15..f5ec1207764 100644 --- a/msgraph_beta/generated/models/user_experience_analytics_category_collection_response.py +++ b/msgraph_beta/generated/models/user_experience_analytics_category_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .user_experience_analytics_category import UserExperienceAnalyticsCategory + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/user_experience_analytics_device_performance.py b/msgraph_beta/generated/models/user_experience_analytics_device_performance.py index 86dd2c979fd..d9a9f7e8ede 100644 --- a/msgraph_beta/generated/models/user_experience_analytics_device_performance.py +++ b/msgraph_beta/generated/models/user_experience_analytics_device_performance.py @@ -117,6 +117,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .disk_type import DiskType + from .entity import Entity + from .user_experience_analytics_health_state import UserExperienceAnalyticsHealthState + writer.write_float_value("averageBlueScreens", self.average_blue_screens) writer.write_float_value("averageRestarts", self.average_restarts) writer.write_int_value("blueScreenCount", self.blue_screen_count) diff --git a/msgraph_beta/generated/models/user_experience_analytics_device_performance_collection_response.py b/msgraph_beta/generated/models/user_experience_analytics_device_performance_collection_response.py index 2b8f3649a37..5887fa5e336 100644 --- a/msgraph_beta/generated/models/user_experience_analytics_device_performance_collection_response.py +++ b/msgraph_beta/generated/models/user_experience_analytics_device_performance_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .user_experience_analytics_device_performance import UserExperienceAnalyticsDevicePerformance + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/user_experience_analytics_device_scope.py b/msgraph_beta/generated/models/user_experience_analytics_device_scope.py index 75bd57c029b..28532a65b57 100644 --- a/msgraph_beta/generated/models/user_experience_analytics_device_scope.py +++ b/msgraph_beta/generated/models/user_experience_analytics_device_scope.py @@ -94,6 +94,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_scope_operator import DeviceScopeOperator + from .device_scope_parameter import DeviceScopeParameter + from .device_scope_status import DeviceScopeStatus + from .entity import Entity + writer.write_datetime_value("createdDateTime", self.created_date_time) writer.write_str_value("deviceScopeName", self.device_scope_name) writer.write_bool_value("enabled", self.enabled) diff --git a/msgraph_beta/generated/models/user_experience_analytics_device_scope_collection_response.py b/msgraph_beta/generated/models/user_experience_analytics_device_scope_collection_response.py index ebb50908ea8..df71ecf366a 100644 --- a/msgraph_beta/generated/models/user_experience_analytics_device_scope_collection_response.py +++ b/msgraph_beta/generated/models/user_experience_analytics_device_scope_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .user_experience_analytics_device_scope import UserExperienceAnalyticsDeviceScope + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/user_experience_analytics_device_scores.py b/msgraph_beta/generated/models/user_experience_analytics_device_scores.py index 34daef4b497..65523ce1aa5 100644 --- a/msgraph_beta/generated/models/user_experience_analytics_device_scores.py +++ b/msgraph_beta/generated/models/user_experience_analytics_device_scores.py @@ -84,6 +84,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .user_experience_analytics_health_state import UserExperienceAnalyticsHealthState + writer.write_float_value("appReliabilityScore", self.app_reliability_score) writer.write_float_value("batteryHealthScore", self.battery_health_score) writer.write_str_value("deviceName", self.device_name) diff --git a/msgraph_beta/generated/models/user_experience_analytics_device_scores_collection_response.py b/msgraph_beta/generated/models/user_experience_analytics_device_scores_collection_response.py index 20246225d04..1280e3711bb 100644 --- a/msgraph_beta/generated/models/user_experience_analytics_device_scores_collection_response.py +++ b/msgraph_beta/generated/models/user_experience_analytics_device_scores_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .user_experience_analytics_device_scores import UserExperienceAnalyticsDeviceScores + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/user_experience_analytics_device_startup_history.py b/msgraph_beta/generated/models/user_experience_analytics_device_startup_history.py index f98852c7a38..b5080c9f0a7 100644 --- a/msgraph_beta/generated/models/user_experience_analytics_device_startup_history.py +++ b/msgraph_beta/generated/models/user_experience_analytics_device_startup_history.py @@ -103,6 +103,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .user_experience_analytics_operating_system_restart_category import UserExperienceAnalyticsOperatingSystemRestartCategory + writer.write_int_value("coreBootTimeInMs", self.core_boot_time_in_ms) writer.write_int_value("coreLoginTimeInMs", self.core_login_time_in_ms) writer.write_str_value("deviceId", self.device_id) diff --git a/msgraph_beta/generated/models/user_experience_analytics_device_startup_history_collection_response.py b/msgraph_beta/generated/models/user_experience_analytics_device_startup_history_collection_response.py index 1bbbef2f1fb..5747f75678f 100644 --- a/msgraph_beta/generated/models/user_experience_analytics_device_startup_history_collection_response.py +++ b/msgraph_beta/generated/models/user_experience_analytics_device_startup_history_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .user_experience_analytics_device_startup_history import UserExperienceAnalyticsDeviceStartupHistory + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/user_experience_analytics_device_startup_process.py b/msgraph_beta/generated/models/user_experience_analytics_device_startup_process.py index 2f82e16650d..9a6c72c03a0 100644 --- a/msgraph_beta/generated/models/user_experience_analytics_device_startup_process.py +++ b/msgraph_beta/generated/models/user_experience_analytics_device_startup_process.py @@ -66,6 +66,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_str_value("managedDeviceId", self.managed_device_id) writer.write_str_value("processName", self.process_name) writer.write_str_value("productName", self.product_name) diff --git a/msgraph_beta/generated/models/user_experience_analytics_device_startup_process_collection_response.py b/msgraph_beta/generated/models/user_experience_analytics_device_startup_process_collection_response.py index 555f6a8cc43..5e3ec91cf9a 100644 --- a/msgraph_beta/generated/models/user_experience_analytics_device_startup_process_collection_response.py +++ b/msgraph_beta/generated/models/user_experience_analytics_device_startup_process_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .user_experience_analytics_device_startup_process import UserExperienceAnalyticsDeviceStartupProcess + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/user_experience_analytics_device_startup_process_performance.py b/msgraph_beta/generated/models/user_experience_analytics_device_startup_process_performance.py index bf38f79d6fa..bd5e990adbc 100644 --- a/msgraph_beta/generated/models/user_experience_analytics_device_startup_process_performance.py +++ b/msgraph_beta/generated/models/user_experience_analytics_device_startup_process_performance.py @@ -69,6 +69,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_int_value("deviceCount", self.device_count) writer.write_int_value("medianImpactInMs", self.median_impact_in_ms) writer.write_str_value("processName", self.process_name) diff --git a/msgraph_beta/generated/models/user_experience_analytics_device_startup_process_performance_collection_response.py b/msgraph_beta/generated/models/user_experience_analytics_device_startup_process_performance_collection_response.py index d57ac0f03a7..b62986d51af 100644 --- a/msgraph_beta/generated/models/user_experience_analytics_device_startup_process_performance_collection_response.py +++ b/msgraph_beta/generated/models/user_experience_analytics_device_startup_process_performance_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .user_experience_analytics_device_startup_process_performance import UserExperienceAnalyticsDeviceStartupProcessPerformance + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/user_experience_analytics_device_timeline_event.py b/msgraph_beta/generated/models/user_experience_analytics_device_timeline_event.py index 205803b0921..cd950ec024a 100644 --- a/msgraph_beta/generated/models/user_experience_analytics_device_timeline_event.py +++ b/msgraph_beta/generated/models/user_experience_analytics_device_timeline_event.py @@ -73,6 +73,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_event_level import DeviceEventLevel + from .entity import Entity + writer.write_str_value("deviceId", self.device_id) writer.write_datetime_value("eventDateTime", self.event_date_time) writer.write_str_value("eventDetails", self.event_details) diff --git a/msgraph_beta/generated/models/user_experience_analytics_device_timeline_event_collection_response.py b/msgraph_beta/generated/models/user_experience_analytics_device_timeline_event_collection_response.py index f4eb5d130df..bc1ae537bfa 100644 --- a/msgraph_beta/generated/models/user_experience_analytics_device_timeline_event_collection_response.py +++ b/msgraph_beta/generated/models/user_experience_analytics_device_timeline_event_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .user_experience_analytics_device_timeline_event import UserExperienceAnalyticsDeviceTimelineEvent + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/user_experience_analytics_device_without_cloud_identity.py b/msgraph_beta/generated/models/user_experience_analytics_device_without_cloud_identity.py index 002ea89caa9..39970f37aae 100644 --- a/msgraph_beta/generated/models/user_experience_analytics_device_without_cloud_identity.py +++ b/msgraph_beta/generated/models/user_experience_analytics_device_without_cloud_identity.py @@ -57,6 +57,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_str_value("azureAdDeviceId", self.azure_ad_device_id) writer.write_str_value("deviceName", self.device_name) diff --git a/msgraph_beta/generated/models/user_experience_analytics_device_without_cloud_identity_collection_response.py b/msgraph_beta/generated/models/user_experience_analytics_device_without_cloud_identity_collection_response.py index 3b042c8fa64..aba03bc0bb1 100644 --- a/msgraph_beta/generated/models/user_experience_analytics_device_without_cloud_identity_collection_response.py +++ b/msgraph_beta/generated/models/user_experience_analytics_device_without_cloud_identity_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .user_experience_analytics_device_without_cloud_identity import UserExperienceAnalyticsDeviceWithoutCloudIdentity + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/user_experience_analytics_impacting_process.py b/msgraph_beta/generated/models/user_experience_analytics_impacting_process.py index c013679cc1f..0383114601d 100644 --- a/msgraph_beta/generated/models/user_experience_analytics_impacting_process.py +++ b/msgraph_beta/generated/models/user_experience_analytics_impacting_process.py @@ -69,6 +69,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_str_value("category", self.category) writer.write_str_value("description", self.description) writer.write_str_value("deviceId", self.device_id) diff --git a/msgraph_beta/generated/models/user_experience_analytics_impacting_process_collection_response.py b/msgraph_beta/generated/models/user_experience_analytics_impacting_process_collection_response.py index 69a2e8f6dc4..0ae95b1b594 100644 --- a/msgraph_beta/generated/models/user_experience_analytics_impacting_process_collection_response.py +++ b/msgraph_beta/generated/models/user_experience_analytics_impacting_process_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .user_experience_analytics_impacting_process import UserExperienceAnalyticsImpactingProcess + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/user_experience_analytics_insight.py b/msgraph_beta/generated/models/user_experience_analytics_insight.py index 52a7e6dd92c..b13a6a50a53 100644 --- a/msgraph_beta/generated/models/user_experience_analytics_insight.py +++ b/msgraph_beta/generated/models/user_experience_analytics_insight.py @@ -68,6 +68,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .user_experience_analytics_insight_severity import UserExperienceAnalyticsInsightSeverity + from .user_experience_analytics_insight_value import UserExperienceAnalyticsInsightValue + writer.write_str_value("insightId", self.insight_id) writer.write_str_value("@odata.type", self.odata_type) writer.write_enum_value("severity", self.severity) diff --git a/msgraph_beta/generated/models/user_experience_analytics_insight_value.py b/msgraph_beta/generated/models/user_experience_analytics_insight_value.py index fd562484fdf..74c6a6b9cbc 100644 --- a/msgraph_beta/generated/models/user_experience_analytics_insight_value.py +++ b/msgraph_beta/generated/models/user_experience_analytics_insight_value.py @@ -31,7 +31,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> UserExperienceAnal if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.insightValueDouble".casefold(): @@ -68,6 +69,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .insight_value_double import InsightValueDouble + from .insight_value_int import InsightValueInt + writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/user_experience_analytics_metric.py b/msgraph_beta/generated/models/user_experience_analytics_metric.py index b9edba4b4cc..373b4567f61 100644 --- a/msgraph_beta/generated/models/user_experience_analytics_metric.py +++ b/msgraph_beta/generated/models/user_experience_analytics_metric.py @@ -57,6 +57,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_str_value("unit", self.unit) writer.write_float_value("value", self.value) diff --git a/msgraph_beta/generated/models/user_experience_analytics_metric_collection_response.py b/msgraph_beta/generated/models/user_experience_analytics_metric_collection_response.py index bd1a51dc335..8ba7c1fd508 100644 --- a/msgraph_beta/generated/models/user_experience_analytics_metric_collection_response.py +++ b/msgraph_beta/generated/models/user_experience_analytics_metric_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .user_experience_analytics_metric import UserExperienceAnalyticsMetric + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/user_experience_analytics_metric_history.py b/msgraph_beta/generated/models/user_experience_analytics_metric_history.py index eaa57265226..82715f53bfe 100644 --- a/msgraph_beta/generated/models/user_experience_analytics_metric_history.py +++ b/msgraph_beta/generated/models/user_experience_analytics_metric_history.py @@ -61,6 +61,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_str_value("deviceId", self.device_id) writer.write_datetime_value("metricDateTime", self.metric_date_time) writer.write_str_value("metricType", self.metric_type) diff --git a/msgraph_beta/generated/models/user_experience_analytics_metric_history_collection_response.py b/msgraph_beta/generated/models/user_experience_analytics_metric_history_collection_response.py index 6e795dde9da..c20d4d5b3d9 100644 --- a/msgraph_beta/generated/models/user_experience_analytics_metric_history_collection_response.py +++ b/msgraph_beta/generated/models/user_experience_analytics_metric_history_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .user_experience_analytics_metric_history import UserExperienceAnalyticsMetricHistory + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/user_experience_analytics_model_scores.py b/msgraph_beta/generated/models/user_experience_analytics_model_scores.py index 5a1c7208dd7..43fff8c45f1 100644 --- a/msgraph_beta/generated/models/user_experience_analytics_model_scores.py +++ b/msgraph_beta/generated/models/user_experience_analytics_model_scores.py @@ -84,6 +84,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .user_experience_analytics_health_state import UserExperienceAnalyticsHealthState + writer.write_float_value("appReliabilityScore", self.app_reliability_score) writer.write_float_value("batteryHealthScore", self.battery_health_score) writer.write_float_value("endpointAnalyticsScore", self.endpoint_analytics_score) diff --git a/msgraph_beta/generated/models/user_experience_analytics_model_scores_collection_response.py b/msgraph_beta/generated/models/user_experience_analytics_model_scores_collection_response.py index a9c8eb0909e..e913dfc7419 100644 --- a/msgraph_beta/generated/models/user_experience_analytics_model_scores_collection_response.py +++ b/msgraph_beta/generated/models/user_experience_analytics_model_scores_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .user_experience_analytics_model_scores import UserExperienceAnalyticsModelScores + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/user_experience_analytics_not_autopilot_ready_device.py b/msgraph_beta/generated/models/user_experience_analytics_not_autopilot_ready_device.py index ea525266d80..fb970dfbce5 100644 --- a/msgraph_beta/generated/models/user_experience_analytics_not_autopilot_ready_device.py +++ b/msgraph_beta/generated/models/user_experience_analytics_not_autopilot_ready_device.py @@ -78,6 +78,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_bool_value("autoPilotProfileAssigned", self.auto_pilot_profile_assigned) writer.write_bool_value("autoPilotRegistered", self.auto_pilot_registered) writer.write_str_value("azureAdJoinType", self.azure_ad_join_type) diff --git a/msgraph_beta/generated/models/user_experience_analytics_not_autopilot_ready_device_collection_response.py b/msgraph_beta/generated/models/user_experience_analytics_not_autopilot_ready_device_collection_response.py index f66f37aa89c..637771e2f9a 100644 --- a/msgraph_beta/generated/models/user_experience_analytics_not_autopilot_ready_device_collection_response.py +++ b/msgraph_beta/generated/models/user_experience_analytics_not_autopilot_ready_device_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .user_experience_analytics_not_autopilot_ready_device import UserExperienceAnalyticsNotAutopilotReadyDevice + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/user_experience_analytics_overview.py b/msgraph_beta/generated/models/user_experience_analytics_overview.py index 15a62afcd2d..b3a68dfa4d8 100644 --- a/msgraph_beta/generated/models/user_experience_analytics_overview.py +++ b/msgraph_beta/generated/models/user_experience_analytics_overview.py @@ -57,6 +57,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .user_experience_analytics_insight import UserExperienceAnalyticsInsight + writer.write_collection_of_object_values("insights", self.insights) diff --git a/msgraph_beta/generated/models/user_experience_analytics_remote_connection.py b/msgraph_beta/generated/models/user_experience_analytics_remote_connection.py index f4b050edebe..b93bb53dd4f 100644 --- a/msgraph_beta/generated/models/user_experience_analytics_remote_connection.py +++ b/msgraph_beta/generated/models/user_experience_analytics_remote_connection.py @@ -11,7 +11,7 @@ @dataclass class UserExperienceAnalyticsRemoteConnection(Entity): """ - The user experience analyte remote connection entity. + The user experience analytics remote connection entity. The report will be retired on December 31, 2024. You can start using the Cloud PC connection quality report now via https://learn.microsoft.com/windows-365/enterprise/report-cloud-pc-connection-quality. """ # The sign in failure percentage of Cloud PC Device. Valid values 0 to 100 cloud_pc_failure_percentage: Optional[float] = None @@ -90,6 +90,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_float_value("cloudPcFailurePercentage", self.cloud_pc_failure_percentage) writer.write_float_value("cloudPcRoundTripTime", self.cloud_pc_round_trip_time) writer.write_float_value("cloudPcSignInTime", self.cloud_pc_sign_in_time) diff --git a/msgraph_beta/generated/models/user_experience_analytics_remote_connection_collection_response.py b/msgraph_beta/generated/models/user_experience_analytics_remote_connection_collection_response.py index 74e0ce2e19f..951529412e9 100644 --- a/msgraph_beta/generated/models/user_experience_analytics_remote_connection_collection_response.py +++ b/msgraph_beta/generated/models/user_experience_analytics_remote_connection_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .user_experience_analytics_remote_connection import UserExperienceAnalyticsRemoteConnection + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/user_experience_analytics_resource_performance.py b/msgraph_beta/generated/models/user_experience_analytics_resource_performance.py index 80636d61038..4a0731bcc94 100644 --- a/msgraph_beta/generated/models/user_experience_analytics_resource_performance.py +++ b/msgraph_beta/generated/models/user_experience_analytics_resource_performance.py @@ -120,6 +120,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .disk_type import DiskType + from .entity import Entity + from .user_experience_analytics_health_state import UserExperienceAnalyticsHealthState + from .user_experience_analytics_machine_type import UserExperienceAnalyticsMachineType + writer.write_int_value("averageSpikeTimeScore", self.average_spike_time_score) writer.write_float_value("cpuClockSpeedInMHz", self.cpu_clock_speed_in_m_hz) writer.write_str_value("cpuDisplayName", self.cpu_display_name) diff --git a/msgraph_beta/generated/models/user_experience_analytics_resource_performance_collection_response.py b/msgraph_beta/generated/models/user_experience_analytics_resource_performance_collection_response.py index 21ffde3df42..fec7f9d43b7 100644 --- a/msgraph_beta/generated/models/user_experience_analytics_resource_performance_collection_response.py +++ b/msgraph_beta/generated/models/user_experience_analytics_resource_performance_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .user_experience_analytics_resource_performance import UserExperienceAnalyticsResourcePerformance + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/user_experience_analytics_score_history.py b/msgraph_beta/generated/models/user_experience_analytics_score_history.py index 682c2fe1622..31cfa750361 100644 --- a/msgraph_beta/generated/models/user_experience_analytics_score_history.py +++ b/msgraph_beta/generated/models/user_experience_analytics_score_history.py @@ -55,6 +55,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_datetime_value("startupDateTime", self.startup_date_time) diff --git a/msgraph_beta/generated/models/user_experience_analytics_score_history_collection_response.py b/msgraph_beta/generated/models/user_experience_analytics_score_history_collection_response.py index 9fde555f14a..59b4fb117ff 100644 --- a/msgraph_beta/generated/models/user_experience_analytics_score_history_collection_response.py +++ b/msgraph_beta/generated/models/user_experience_analytics_score_history_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .user_experience_analytics_score_history import UserExperienceAnalyticsScoreHistory + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/user_experience_analytics_work_from_anywhere_device.py b/msgraph_beta/generated/models/user_experience_analytics_work_from_anywhere_device.py index 4c5532b5d7a..2f27cf29e9c 100644 --- a/msgraph_beta/generated/models/user_experience_analytics_work_from_anywhere_device.py +++ b/msgraph_beta/generated/models/user_experience_analytics_work_from_anywhere_device.py @@ -159,6 +159,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .operating_system_upgrade_eligibility import OperatingSystemUpgradeEligibility + from .user_experience_analytics_health_state import UserExperienceAnalyticsHealthState + writer.write_bool_value("autoPilotProfileAssigned", self.auto_pilot_profile_assigned) writer.write_bool_value("autoPilotRegistered", self.auto_pilot_registered) writer.write_str_value("azureAdDeviceId", self.azure_ad_device_id) diff --git a/msgraph_beta/generated/models/user_experience_analytics_work_from_anywhere_device_collection_response.py b/msgraph_beta/generated/models/user_experience_analytics_work_from_anywhere_device_collection_response.py index 7f1d41631d3..a58552f174c 100644 --- a/msgraph_beta/generated/models/user_experience_analytics_work_from_anywhere_device_collection_response.py +++ b/msgraph_beta/generated/models/user_experience_analytics_work_from_anywhere_device_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .user_experience_analytics_work_from_anywhere_device import UserExperienceAnalyticsWorkFromAnywhereDevice + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/user_experience_analytics_work_from_anywhere_devices_summary.py b/msgraph_beta/generated/models/user_experience_analytics_work_from_anywhere_devices_summary.py index 3c7a0475aa4..11e706d614e 100644 --- a/msgraph_beta/generated/models/user_experience_analytics_work_from_anywhere_devices_summary.py +++ b/msgraph_beta/generated/models/user_experience_analytics_work_from_anywhere_devices_summary.py @@ -104,6 +104,11 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .user_experience_analytics_autopilot_devices_summary import UserExperienceAnalyticsAutopilotDevicesSummary + from .user_experience_analytics_cloud_identity_devices_summary import UserExperienceAnalyticsCloudIdentityDevicesSummary + from .user_experience_analytics_cloud_management_devices_summary import UserExperienceAnalyticsCloudManagementDevicesSummary + from .user_experience_analytics_windows10_devices_summary import UserExperienceAnalyticsWindows10DevicesSummary + writer.write_object_value("autopilotDevicesSummary", self.autopilot_devices_summary) writer.write_object_value("cloudIdentityDevicesSummary", self.cloud_identity_devices_summary) writer.write_object_value("cloudManagementDevicesSummary", self.cloud_management_devices_summary) diff --git a/msgraph_beta/generated/models/user_experience_analytics_work_from_anywhere_hardware_readiness_metric.py b/msgraph_beta/generated/models/user_experience_analytics_work_from_anywhere_hardware_readiness_metric.py index 17a25e1c758..fe973c544e7 100644 --- a/msgraph_beta/generated/models/user_experience_analytics_work_from_anywhere_hardware_readiness_metric.py +++ b/msgraph_beta/generated/models/user_experience_analytics_work_from_anywhere_hardware_readiness_metric.py @@ -84,6 +84,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_float_value("osCheckFailedPercentage", self.os_check_failed_percentage) writer.write_float_value("processorCoreCountCheckFailedPercentage", self.processor_core_count_check_failed_percentage) writer.write_float_value("processorFamilyCheckFailedPercentage", self.processor_family_check_failed_percentage) diff --git a/msgraph_beta/generated/models/user_experience_analytics_work_from_anywhere_metric.py b/msgraph_beta/generated/models/user_experience_analytics_work_from_anywhere_metric.py index 8e6d8abd630..7d0771a0c6d 100644 --- a/msgraph_beta/generated/models/user_experience_analytics_work_from_anywhere_metric.py +++ b/msgraph_beta/generated/models/user_experience_analytics_work_from_anywhere_metric.py @@ -57,6 +57,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .user_experience_analytics_work_from_anywhere_device import UserExperienceAnalyticsWorkFromAnywhereDevice + writer.write_collection_of_object_values("metricDevices", self.metric_devices) diff --git a/msgraph_beta/generated/models/user_experience_analytics_work_from_anywhere_metric_collection_response.py b/msgraph_beta/generated/models/user_experience_analytics_work_from_anywhere_metric_collection_response.py index 085550a3d92..e1ffa5fd9f3 100644 --- a/msgraph_beta/generated/models/user_experience_analytics_work_from_anywhere_metric_collection_response.py +++ b/msgraph_beta/generated/models/user_experience_analytics_work_from_anywhere_metric_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .user_experience_analytics_work_from_anywhere_metric import UserExperienceAnalyticsWorkFromAnywhereMetric + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/user_experience_analytics_work_from_anywhere_model_performance.py b/msgraph_beta/generated/models/user_experience_analytics_work_from_anywhere_model_performance.py index e26761187a6..177faf7c03e 100644 --- a/msgraph_beta/generated/models/user_experience_analytics_work_from_anywhere_model_performance.py +++ b/msgraph_beta/generated/models/user_experience_analytics_work_from_anywhere_model_performance.py @@ -81,6 +81,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .user_experience_analytics_health_state import UserExperienceAnalyticsHealthState + writer.write_float_value("cloudIdentityScore", self.cloud_identity_score) writer.write_float_value("cloudManagementScore", self.cloud_management_score) writer.write_float_value("cloudProvisioningScore", self.cloud_provisioning_score) diff --git a/msgraph_beta/generated/models/user_experience_analytics_work_from_anywhere_model_performance_collection_response.py b/msgraph_beta/generated/models/user_experience_analytics_work_from_anywhere_model_performance_collection_response.py index 2a694c2d1e1..f3c1a1cbdf8 100644 --- a/msgraph_beta/generated/models/user_experience_analytics_work_from_anywhere_model_performance_collection_response.py +++ b/msgraph_beta/generated/models/user_experience_analytics_work_from_anywhere_model_performance_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .user_experience_analytics_work_from_anywhere_model_performance import UserExperienceAnalyticsWorkFromAnywhereModelPerformance + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/user_flow_api_connector_configuration.py b/msgraph_beta/generated/models/user_flow_api_connector_configuration.py index 2d27a09416a..aa9d624ea7a 100644 --- a/msgraph_beta/generated/models/user_flow_api_connector_configuration.py +++ b/msgraph_beta/generated/models/user_flow_api_connector_configuration.py @@ -59,6 +59,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .identity_api_connector import IdentityApiConnector + writer.write_str_value("@odata.type", self.odata_type) writer.write_object_value("postAttributeCollection", self.post_attribute_collection) writer.write_object_value("postFederationSignup", self.post_federation_signup) diff --git a/msgraph_beta/generated/models/user_flow_language_configuration.py b/msgraph_beta/generated/models/user_flow_language_configuration.py index 7388f4a32dd..7246dc49b96 100644 --- a/msgraph_beta/generated/models/user_flow_language_configuration.py +++ b/msgraph_beta/generated/models/user_flow_language_configuration.py @@ -63,6 +63,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .user_flow_language_page import UserFlowLanguagePage + writer.write_collection_of_object_values("defaultPages", self.default_pages) writer.write_str_value("displayName", self.display_name) writer.write_bool_value("isEnabled", self.is_enabled) diff --git a/msgraph_beta/generated/models/user_flow_language_configuration_collection_response.py b/msgraph_beta/generated/models/user_flow_language_configuration_collection_response.py index 81a50f0173a..b53c7cf6a56 100644 --- a/msgraph_beta/generated/models/user_flow_language_configuration_collection_response.py +++ b/msgraph_beta/generated/models/user_flow_language_configuration_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .user_flow_language_configuration import UserFlowLanguageConfiguration + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/user_flow_language_page.py b/msgraph_beta/generated/models/user_flow_language_page.py index 9ce045d6791..32b1258a80b 100644 --- a/msgraph_beta/generated/models/user_flow_language_page.py +++ b/msgraph_beta/generated/models/user_flow_language_page.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + diff --git a/msgraph_beta/generated/models/user_flow_language_page_collection_response.py b/msgraph_beta/generated/models/user_flow_language_page_collection_response.py index 136d1658070..2ffe295cc4a 100644 --- a/msgraph_beta/generated/models/user_flow_language_page_collection_response.py +++ b/msgraph_beta/generated/models/user_flow_language_page_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .user_flow_language_page import UserFlowLanguagePage + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/user_governance_criteria.py b/msgraph_beta/generated/models/user_governance_criteria.py index 0d7b65cc4b8..74cf4c279f0 100644 --- a/msgraph_beta/generated/models/user_governance_criteria.py +++ b/msgraph_beta/generated/models/user_governance_criteria.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .governance_criteria import GovernanceCriteria + writer.write_str_value("userId", self.user_id) diff --git a/msgraph_beta/generated/models/user_identity.py b/msgraph_beta/generated/models/user_identity.py index 52d7274fca9..8dce4e54c11 100644 --- a/msgraph_beta/generated/models/user_identity.py +++ b/msgraph_beta/generated/models/user_identity.py @@ -28,7 +28,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> UserIdentity: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.auditUserIdentity".casefold(): @@ -65,6 +66,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .audit_user_identity import AuditUserIdentity + from .identity import Identity + writer.write_str_value("ipAddress", self.ip_address) writer.write_str_value("userPrincipalName", self.user_principal_name) diff --git a/msgraph_beta/generated/models/user_insights_root.py b/msgraph_beta/generated/models/user_insights_root.py index 53492415854..6362033fed5 100644 --- a/msgraph_beta/generated/models/user_insights_root.py +++ b/msgraph_beta/generated/models/user_insights_root.py @@ -60,6 +60,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .daily_user_insight_metrics_root import DailyUserInsightMetricsRoot + from .entity import Entity + from .monthly_user_insight_metrics_root import MonthlyUserInsightMetricsRoot + writer.write_object_value("daily", self.daily) writer.write_object_value("monthly", self.monthly) diff --git a/msgraph_beta/generated/models/user_insights_settings.py b/msgraph_beta/generated/models/user_insights_settings.py index 5da65cbc725..1818db44fe4 100644 --- a/msgraph_beta/generated/models/user_insights_settings.py +++ b/msgraph_beta/generated/models/user_insights_settings.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_bool_value("isEnabled", self.is_enabled) diff --git a/msgraph_beta/generated/models/user_install_state_summary.py b/msgraph_beta/generated/models/user_install_state_summary.py index c2c401f0553..67b44fc4080 100644 --- a/msgraph_beta/generated/models/user_install_state_summary.py +++ b/msgraph_beta/generated/models/user_install_state_summary.py @@ -69,6 +69,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_install_state import DeviceInstallState + from .entity import Entity + writer.write_collection_of_object_values("deviceStates", self.device_states) writer.write_int_value("failedDeviceCount", self.failed_device_count) writer.write_int_value("installedDeviceCount", self.installed_device_count) diff --git a/msgraph_beta/generated/models/user_install_state_summary_collection_response.py b/msgraph_beta/generated/models/user_install_state_summary_collection_response.py index cbad7603953..0d9088bca52 100644 --- a/msgraph_beta/generated/models/user_install_state_summary_collection_response.py +++ b/msgraph_beta/generated/models/user_install_state_summary_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .user_install_state_summary import UserInstallStateSummary + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/user_last_sign_in_recommendation_insight_setting.py b/msgraph_beta/generated/models/user_last_sign_in_recommendation_insight_setting.py index 7d44174024f..8a7a51bf411 100644 --- a/msgraph_beta/generated/models/user_last_sign_in_recommendation_insight_setting.py +++ b/msgraph_beta/generated/models/user_last_sign_in_recommendation_insight_setting.py @@ -58,6 +58,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .access_review_recommendation_insight_setting import AccessReviewRecommendationInsightSetting + from .user_sign_in_recommendation_scope import UserSignInRecommendationScope + writer.write_timedelta_value("recommendationLookBackDuration", self.recommendation_look_back_duration) writer.write_enum_value("signInScope", self.sign_in_scope) diff --git a/msgraph_beta/generated/models/user_p_f_x_certificate.py b/msgraph_beta/generated/models/user_p_f_x_certificate.py index ff4678627a9..372c6f3fc3f 100644 --- a/msgraph_beta/generated/models/user_p_f_x_certificate.py +++ b/msgraph_beta/generated/models/user_p_f_x_certificate.py @@ -94,6 +94,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .user_pfx_intended_purpose import UserPfxIntendedPurpose + from .user_pfx_padding_scheme import UserPfxPaddingScheme + writer.write_datetime_value("createdDateTime", self.created_date_time) writer.write_bytes_value("encryptedPfxBlob", self.encrypted_pfx_blob) writer.write_str_value("encryptedPfxPassword", self.encrypted_pfx_password) diff --git a/msgraph_beta/generated/models/user_p_f_x_certificate_collection_response.py b/msgraph_beta/generated/models/user_p_f_x_certificate_collection_response.py index 40a4628055d..387061ae543 100644 --- a/msgraph_beta/generated/models/user_p_f_x_certificate_collection_response.py +++ b/msgraph_beta/generated/models/user_p_f_x_certificate_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .user_p_f_x_certificate import UserPFXCertificate + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/user_print.py b/msgraph_beta/generated/models/user_print.py index 564a5dcce5d..97d400b765f 100644 --- a/msgraph_beta/generated/models/user_print.py +++ b/msgraph_beta/generated/models/user_print.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .printer_share import PrinterShare + writer.write_str_value("@odata.type", self.odata_type) writer.write_collection_of_object_values("recentPrinterShares", self.recent_printer_shares) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/user_registration_count.py b/msgraph_beta/generated/models/user_registration_count.py index 8bc4a5c82a0..bcb5ee28770 100644 --- a/msgraph_beta/generated/models/user_registration_count.py +++ b/msgraph_beta/generated/models/user_registration_count.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .registration_status_type import RegistrationStatusType + writer.write_str_value("@odata.type", self.odata_type) writer.write_int_value("registrationCount", self.registration_count) writer.write_enum_value("registrationStatus", self.registration_status) diff --git a/msgraph_beta/generated/models/user_registration_details.py b/msgraph_beta/generated/models/user_registration_details.py index b37333a539c..302d5eb7879 100644 --- a/msgraph_beta/generated/models/user_registration_details.py +++ b/msgraph_beta/generated/models/user_registration_details.py @@ -106,6 +106,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .default_mfa_method_type import DefaultMfaMethodType + from .entity import Entity + from .sign_in_user_type import SignInUserType + from .user_default_authentication_method import UserDefaultAuthenticationMethod + writer.write_enum_value("defaultMfaMethod", self.default_mfa_method) writer.write_bool_value("isAdmin", self.is_admin) writer.write_bool_value("isMfaCapable", self.is_mfa_capable) diff --git a/msgraph_beta/generated/models/user_registration_details_collection_response.py b/msgraph_beta/generated/models/user_registration_details_collection_response.py index acd3ed69b80..5ff59196914 100644 --- a/msgraph_beta/generated/models/user_registration_details_collection_response.py +++ b/msgraph_beta/generated/models/user_registration_details_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .user_registration_details import UserRegistrationDetails + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/user_registration_feature_count.py b/msgraph_beta/generated/models/user_registration_feature_count.py index 214e6e404c1..0ce4f56c531 100644 --- a/msgraph_beta/generated/models/user_registration_feature_count.py +++ b/msgraph_beta/generated/models/user_registration_feature_count.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .authentication_method_feature import AuthenticationMethodFeature + writer.write_enum_value("feature", self.feature) writer.write_str_value("@odata.type", self.odata_type) writer.write_int_value("userCount", self.user_count) diff --git a/msgraph_beta/generated/models/user_registration_feature_summary.py b/msgraph_beta/generated/models/user_registration_feature_summary.py index 26a066d5374..be2e3129e95 100644 --- a/msgraph_beta/generated/models/user_registration_feature_summary.py +++ b/msgraph_beta/generated/models/user_registration_feature_summary.py @@ -68,6 +68,10 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .included_user_roles import IncludedUserRoles + from .included_user_types import IncludedUserTypes + from .user_registration_feature_count import UserRegistrationFeatureCount + writer.write_str_value("@odata.type", self.odata_type) writer.write_int_value("totalUserCount", self.total_user_count) writer.write_collection_of_object_values("userRegistrationFeatureCounts", self.user_registration_feature_counts) diff --git a/msgraph_beta/generated/models/user_registration_method_summary.py b/msgraph_beta/generated/models/user_registration_method_summary.py index efd505406c9..1f23526b255 100644 --- a/msgraph_beta/generated/models/user_registration_method_summary.py +++ b/msgraph_beta/generated/models/user_registration_method_summary.py @@ -68,6 +68,10 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .included_user_roles import IncludedUserRoles + from .included_user_types import IncludedUserTypes + from .user_registration_method_count import UserRegistrationMethodCount + writer.write_str_value("@odata.type", self.odata_type) writer.write_int_value("totalUserCount", self.total_user_count) writer.write_collection_of_object_values("userRegistrationMethodCounts", self.user_registration_method_counts) diff --git a/msgraph_beta/generated/models/user_requests_metric.py b/msgraph_beta/generated/models/user_requests_metric.py index cd94288c1fd..ce390a45f09 100644 --- a/msgraph_beta/generated/models/user_requests_metric.py +++ b/msgraph_beta/generated/models/user_requests_metric.py @@ -70,6 +70,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_str_value("appId", self.app_id) writer.write_str_value("browser", self.browser) writer.write_str_value("country", self.country) diff --git a/msgraph_beta/generated/models/user_requests_metric_collection_response.py b/msgraph_beta/generated/models/user_requests_metric_collection_response.py index a34ab9dee0b..12828c58cf6 100644 --- a/msgraph_beta/generated/models/user_requests_metric_collection_response.py +++ b/msgraph_beta/generated/models/user_requests_metric_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .user_requests_metric import UserRequestsMetric + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/user_scope_teams_app_installation.py b/msgraph_beta/generated/models/user_scope_teams_app_installation.py index f68df591725..9e85352124b 100644 --- a/msgraph_beta/generated/models/user_scope_teams_app_installation.py +++ b/msgraph_beta/generated/models/user_scope_teams_app_installation.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .chat import Chat + from .teams_app_installation import TeamsAppInstallation + writer.write_object_value("chat", self.chat) diff --git a/msgraph_beta/generated/models/user_scope_teams_app_installation_collection_response.py b/msgraph_beta/generated/models/user_scope_teams_app_installation_collection_response.py index a8e0a0c6a69..bf391a18f27 100644 --- a/msgraph_beta/generated/models/user_scope_teams_app_installation_collection_response.py +++ b/msgraph_beta/generated/models/user_scope_teams_app_installation_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .user_scope_teams_app_installation import UserScopeTeamsAppInstallation + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/user_security_profile.py b/msgraph_beta/generated/models/user_security_profile.py index ec723146d89..09e5ee29fa9 100644 --- a/msgraph_beta/generated/models/user_security_profile.py +++ b/msgraph_beta/generated/models/user_security_profile.py @@ -85,6 +85,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .security_vendor_information import SecurityVendorInformation + from .user_account import UserAccount + writer.write_collection_of_object_values("accounts", self.accounts) writer.write_str_value("azureSubscriptionId", self.azure_subscription_id) writer.write_str_value("azureTenantId", self.azure_tenant_id) diff --git a/msgraph_beta/generated/models/user_security_profile_collection_response.py b/msgraph_beta/generated/models/user_security_profile_collection_response.py index 68ec2822d49..580e729dd9f 100644 --- a/msgraph_beta/generated/models/user_security_profile_collection_response.py +++ b/msgraph_beta/generated/models/user_security_profile_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .user_security_profile import UserSecurityProfile + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/user_security_state.py b/msgraph_beta/generated/models/user_security_state.py index ffb70fcfa02..5c286fa003f 100644 --- a/msgraph_beta/generated/models/user_security_state.py +++ b/msgraph_beta/generated/models/user_security_state.py @@ -99,6 +99,10 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .email_role import EmailRole + from .logon_type import LogonType + from .user_account_security_type import UserAccountSecurityType + writer.write_str_value("aadUserId", self.aad_user_id) writer.write_str_value("accountName", self.account_name) writer.write_str_value("domainName", self.domain_name) diff --git a/msgraph_beta/generated/models/user_set.py b/msgraph_beta/generated/models/user_set.py index 9cd8182f4c6..ca97e80100e 100644 --- a/msgraph_beta/generated/models/user_set.py +++ b/msgraph_beta/generated/models/user_set.py @@ -35,7 +35,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> UserSet: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.connectedOrganizationMembers".casefold(): @@ -103,6 +104,14 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .connected_organization_members import ConnectedOrganizationMembers + from .external_sponsors import ExternalSponsors + from .group_members import GroupMembers + from .internal_sponsors import InternalSponsors + from .requestor_manager import RequestorManager + from .single_user import SingleUser + from .target_user_sponsors import TargetUserSponsors + writer.write_bool_value("isBackup", self.is_backup) writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/user_settings.py b/msgraph_beta/generated/models/user_settings.py index 98974b91203..e28791f8158 100644 --- a/msgraph_beta/generated/models/user_settings.py +++ b/msgraph_beta/generated/models/user_settings.py @@ -90,6 +90,14 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .contact_merge_suggestions import ContactMergeSuggestions + from .entity import Entity + from .regional_and_language_settings import RegionalAndLanguageSettings + from .shift_preferences import ShiftPreferences + from .user_insights_settings import UserInsightsSettings + from .user_storage import UserStorage + from .windows_setting import WindowsSetting + writer.write_object_value("contactMergeSuggestions", self.contact_merge_suggestions) writer.write_bool_value("contributionToContentDiscoveryAsOrganizationDisabled", self.contribution_to_content_discovery_as_organization_disabled) writer.write_bool_value("contributionToContentDiscoveryDisabled", self.contribution_to_content_discovery_disabled) diff --git a/msgraph_beta/generated/models/user_sign_in_insight.py b/msgraph_beta/generated/models/user_sign_in_insight.py index d823afa464b..852db599f43 100644 --- a/msgraph_beta/generated/models/user_sign_in_insight.py +++ b/msgraph_beta/generated/models/user_sign_in_insight.py @@ -52,6 +52,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .governance_insight import GovernanceInsight + writer.write_datetime_value("lastSignInDateTime", self.last_sign_in_date_time) diff --git a/msgraph_beta/generated/models/user_sign_up_metric.py b/msgraph_beta/generated/models/user_sign_up_metric.py index 69405fd022f..db973175ad1 100644 --- a/msgraph_beta/generated/models/user_sign_up_metric.py +++ b/msgraph_beta/generated/models/user_sign_up_metric.py @@ -73,6 +73,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_str_value("appId", self.app_id) writer.write_str_value("browser", self.browser) writer.write_int_value("count", self.count) diff --git a/msgraph_beta/generated/models/user_sign_up_metric_collection_response.py b/msgraph_beta/generated/models/user_sign_up_metric_collection_response.py index eddbb5bef1e..91d19ececae 100644 --- a/msgraph_beta/generated/models/user_sign_up_metric_collection_response.py +++ b/msgraph_beta/generated/models/user_sign_up_metric_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .user_sign_up_metric import UserSignUpMetric + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/user_simulation_details.py b/msgraph_beta/generated/models/user_simulation_details.py index c4f2601d0cb..1659a31c07f 100644 --- a/msgraph_beta/generated/models/user_simulation_details.py +++ b/msgraph_beta/generated/models/user_simulation_details.py @@ -87,6 +87,10 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .attack_simulation_user import AttackSimulationUser + from .user_simulation_event_info import UserSimulationEventInfo + from .user_training_event_info import UserTrainingEventInfo + writer.write_int_value("assignedTrainingsCount", self.assigned_trainings_count) writer.write_int_value("completedTrainingsCount", self.completed_trainings_count) writer.write_datetime_value("compromisedDateTime", self.compromised_date_time) diff --git a/msgraph_beta/generated/models/user_simulation_event_info.py b/msgraph_beta/generated/models/user_simulation_event_info.py index cf22b693ca1..68f454734de 100644 --- a/msgraph_beta/generated/models/user_simulation_event_info.py +++ b/msgraph_beta/generated/models/user_simulation_event_info.py @@ -69,6 +69,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .click_source import ClickSource + writer.write_str_value("browser", self.browser) writer.write_enum_value("clickSource", self.click_source) writer.write_datetime_value("eventDateTime", self.event_date_time) diff --git a/msgraph_beta/generated/models/user_solution_root.py b/msgraph_beta/generated/models/user_solution_root.py index 7b7bcf7fc2a..4e6c5566912 100644 --- a/msgraph_beta/generated/models/user_solution_root.py +++ b/msgraph_beta/generated/models/user_solution_root.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .working_time_schedule import WorkingTimeSchedule + writer.write_object_value("workingTimeSchedule", self.working_time_schedule) diff --git a/msgraph_beta/generated/models/user_storage.py b/msgraph_beta/generated/models/user_storage.py index 146e3e38fd7..e4dc0033248 100644 --- a/msgraph_beta/generated/models/user_storage.py +++ b/msgraph_beta/generated/models/user_storage.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .unified_storage_quota import UnifiedStorageQuota + writer.write_object_value("quota", self.quota) diff --git a/msgraph_beta/generated/models/user_subject.py b/msgraph_beta/generated/models/user_subject.py index 45b9616ace0..ef584322415 100644 --- a/msgraph_beta/generated/models/user_subject.py +++ b/msgraph_beta/generated/models/user_subject.py @@ -60,6 +60,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .conditional_access_guest_or_external_user_types import ConditionalAccessGuestOrExternalUserTypes + from .conditional_access_what_if_subject import ConditionalAccessWhatIfSubject + writer.write_str_value("externalTenantId", self.external_tenant_id) writer.write_enum_value("externalUserType", self.external_user_type) writer.write_str_value("userId", self.user_id) diff --git a/msgraph_beta/generated/models/user_teamwork.py b/msgraph_beta/generated/models/user_teamwork.py index 7c81b8031d6..46422b354cf 100644 --- a/msgraph_beta/generated/models/user_teamwork.py +++ b/msgraph_beta/generated/models/user_teamwork.py @@ -66,6 +66,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .associated_team_info import AssociatedTeamInfo + from .entity import Entity + from .user_scope_teams_app_installation import UserScopeTeamsAppInstallation + writer.write_collection_of_object_values("associatedTeams", self.associated_teams) writer.write_collection_of_object_values("installedApps", self.installed_apps) writer.write_str_value("locale", self.locale) diff --git a/msgraph_beta/generated/models/user_training_event_info.py b/msgraph_beta/generated/models/user_training_event_info.py index 47db309c9fc..0341c78bae4 100644 --- a/msgraph_beta/generated/models/user_training_event_info.py +++ b/msgraph_beta/generated/models/user_training_event_info.py @@ -68,6 +68,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .training_status import TrainingStatus + from .user_training_content_event_info import UserTrainingContentEventInfo + writer.write_str_value("displayName", self.display_name) writer.write_enum_value("latestTrainingStatus", self.latest_training_status) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/user_training_status_info.py b/msgraph_beta/generated/models/user_training_status_info.py index f3b3d95ab5f..7412d3ac9b9 100644 --- a/msgraph_beta/generated/models/user_training_status_info.py +++ b/msgraph_beta/generated/models/user_training_status_info.py @@ -63,6 +63,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .training_status import TrainingStatus + writer.write_datetime_value("assignedDateTime", self.assigned_date_time) writer.write_datetime_value("completionDateTime", self.completion_date_time) writer.write_str_value("displayName", self.display_name) diff --git a/msgraph_beta/generated/models/user_virtual_events_root.py b/msgraph_beta/generated/models/user_virtual_events_root.py index 380e2c0d377..a492b87747c 100644 --- a/msgraph_beta/generated/models/user_virtual_events_root.py +++ b/msgraph_beta/generated/models/user_virtual_events_root.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .virtual_event_webinar import VirtualEventWebinar + writer.write_collection_of_object_values("webinars", self.webinars) diff --git a/msgraph_beta/generated/models/ux_setting.py b/msgraph_beta/generated/models/ux_setting.py index 6efae70d5e3..239e8727177 100644 --- a/msgraph_beta/generated/models/ux_setting.py +++ b/msgraph_beta/generated/models/ux_setting.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .non_admin_setting import NonAdminSetting + writer.write_enum_value("restrictNonAdminAccess", self.restrict_non_admin_access) diff --git a/msgraph_beta/generated/models/validating_domains.py b/msgraph_beta/generated/models/validating_domains.py index 8e116fc0e8b..361fc0eef8c 100644 --- a/msgraph_beta/generated/models/validating_domains.py +++ b/msgraph_beta/generated/models/validating_domains.py @@ -31,7 +31,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> ValidatingDomains: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.allDomains".casefold(): @@ -71,6 +72,10 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .all_domains import AllDomains + from .enumerated_domains import EnumeratedDomains + from .root_domains import RootDomains + writer.write_str_value("@odata.type", self.odata_type) writer.write_enum_value("rootDomains", self.root_domains) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/value_based_attribute.py b/msgraph_beta/generated/models/value_based_attribute.py index ee5295640a1..78e833eb94a 100644 --- a/msgraph_beta/generated/models/value_based_attribute.py +++ b/msgraph_beta/generated/models/value_based_attribute.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .custom_claim_attribute_base import CustomClaimAttributeBase + writer.write_str_value("value", self.value) diff --git a/msgraph_beta/generated/models/vendor.py b/msgraph_beta/generated/models/vendor.py index 34f03a21eb5..290e3b505bf 100644 --- a/msgraph_beta/generated/models/vendor.py +++ b/msgraph_beta/generated/models/vendor.py @@ -124,6 +124,12 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .currency import Currency + from .payment_method import PaymentMethod + from .payment_term import PaymentTerm + from .picture import Picture + from .postal_address_type import PostalAddressType + writer.write_object_value("address", self.address) writer.write_float_value("balance", self.balance) writer.write_str_value("blocked", self.blocked) diff --git a/msgraph_beta/generated/models/vendor_collection_response.py b/msgraph_beta/generated/models/vendor_collection_response.py index 986778e353a..2c71df2176f 100644 --- a/msgraph_beta/generated/models/vendor_collection_response.py +++ b/msgraph_beta/generated/models/vendor_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .vendor import Vendor + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/verifiable_credential_required.py b/msgraph_beta/generated/models/verifiable_credential_required.py index 4eb60aecb69..b372359f472 100644 --- a/msgraph_beta/generated/models/verifiable_credential_required.py +++ b/msgraph_beta/generated/models/verifiable_credential_required.py @@ -55,6 +55,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .verifiable_credential_requirement_status import VerifiableCredentialRequirementStatus + writer.write_datetime_value("expiryDateTime", self.expiry_date_time) writer.write_str_value("url", self.url) diff --git a/msgraph_beta/generated/models/verifiable_credential_requirement_status.py b/msgraph_beta/generated/models/verifiable_credential_requirement_status.py index e205abf3189..ade1079a6ba 100644 --- a/msgraph_beta/generated/models/verifiable_credential_requirement_status.py +++ b/msgraph_beta/generated/models/verifiable_credential_requirement_status.py @@ -29,7 +29,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> VerifiableCredenti if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.verifiableCredentialRequired".casefold(): @@ -72,6 +73,10 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .verifiable_credential_required import VerifiableCredentialRequired + from .verifiable_credential_retrieved import VerifiableCredentialRetrieved + from .verifiable_credential_verified import VerifiableCredentialVerified + writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/verifiable_credential_retrieved.py b/msgraph_beta/generated/models/verifiable_credential_retrieved.py index 26bfc33ded2..4c1cb8058f0 100644 --- a/msgraph_beta/generated/models/verifiable_credential_retrieved.py +++ b/msgraph_beta/generated/models/verifiable_credential_retrieved.py @@ -52,6 +52,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .verifiable_credential_requirement_status import VerifiableCredentialRequirementStatus + writer.write_datetime_value("expiryDateTime", self.expiry_date_time) diff --git a/msgraph_beta/generated/models/verifiable_credential_settings.py b/msgraph_beta/generated/models/verifiable_credential_settings.py index e4500ae25c0..046a41a7e55 100644 --- a/msgraph_beta/generated/models/verifiable_credential_settings.py +++ b/msgraph_beta/generated/models/verifiable_credential_settings.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .verifiable_credential_type import VerifiableCredentialType + writer.write_collection_of_object_values("credentialTypes", self.credential_types) writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/verifiable_credential_verified.py b/msgraph_beta/generated/models/verifiable_credential_verified.py index b94df794335..97daa1de23e 100644 --- a/msgraph_beta/generated/models/verifiable_credential_verified.py +++ b/msgraph_beta/generated/models/verifiable_credential_verified.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .verifiable_credential_requirement_status import VerifiableCredentialRequirementStatus + diff --git a/msgraph_beta/generated/models/verified_credential_data.py b/msgraph_beta/generated/models/verified_credential_data.py index f6272802d58..9462aaaeef4 100644 --- a/msgraph_beta/generated/models/verified_credential_data.py +++ b/msgraph_beta/generated/models/verified_credential_data.py @@ -59,6 +59,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .verified_credential_claims import VerifiedCredentialClaims + writer.write_str_value("authority", self.authority) writer.write_object_value("claims", self.claims) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/vertical_section.py b/msgraph_beta/generated/models/vertical_section.py index cb38e47f5a7..7b433c1a3c3 100644 --- a/msgraph_beta/generated/models/vertical_section.py +++ b/msgraph_beta/generated/models/vertical_section.py @@ -60,6 +60,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .section_emphasis_type import SectionEmphasisType + from .web_part import WebPart + writer.write_enum_value("emphasis", self.emphasis) writer.write_collection_of_object_values("webparts", self.webparts) diff --git a/msgraph_beta/generated/models/video_news_link_page.py b/msgraph_beta/generated/models/video_news_link_page.py index 992d1325086..9dee16db84c 100644 --- a/msgraph_beta/generated/models/video_news_link_page.py +++ b/msgraph_beta/generated/models/video_news_link_page.py @@ -64,6 +64,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_site_page import BaseSitePage + from .sharepoint_ids import SharepointIds + writer.write_str_value("bannerImageWebUrl", self.banner_image_web_url) writer.write_object_value("newsSharepointIds", self.news_sharepoint_ids) writer.write_str_value("newsWebUrl", self.news_web_url) diff --git a/msgraph_beta/generated/models/virtual_endpoint.py b/msgraph_beta/generated/models/virtual_endpoint.py index b7f64509277..e4857632842 100644 --- a/msgraph_beta/generated/models/virtual_endpoint.py +++ b/msgraph_beta/generated/models/virtual_endpoint.py @@ -144,6 +144,24 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .cloud_pc_audit_event import CloudPcAuditEvent + from .cloud_pc_bulk_action import CloudPcBulkAction + from .cloud_pc_cross_cloud_government_organization_mapping import CloudPcCrossCloudGovernmentOrganizationMapping + from .cloud_pc_device_image import CloudPcDeviceImage + from .cloud_pc_external_partner_setting import CloudPcExternalPartnerSetting + from .cloud_pc_front_line_service_plan import CloudPcFrontLineServicePlan + from .cloud_pc_gallery_image import CloudPcGalleryImage + from .cloud_pc_on_premises_connection import CloudPcOnPremisesConnection + from .cloud_pc_organization_settings import CloudPcOrganizationSettings + from .cloud_pc_provisioning_policy import CloudPcProvisioningPolicy + from .cloud_pc_reports import CloudPcReports + from .cloud_pc_service_plan import CloudPcServicePlan + from .cloud_pc_snapshot import CloudPcSnapshot + from .cloud_pc_supported_region import CloudPcSupportedRegion + from .cloud_pc_user_setting import CloudPcUserSetting + from .cloud_p_c import CloudPC + from .entity import Entity + writer.write_collection_of_object_values("auditEvents", self.audit_events) writer.write_collection_of_object_values("bulkActions", self.bulk_actions) writer.write_collection_of_object_values("cloudPCs", self.cloud_p_cs) diff --git a/msgraph_beta/generated/models/virtual_event.py b/msgraph_beta/generated/models/virtual_event.py index 2fa3932cb3b..85462b23b1b 100644 --- a/msgraph_beta/generated/models/virtual_event.py +++ b/msgraph_beta/generated/models/virtual_event.py @@ -50,7 +50,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> VirtualEvent: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.virtualEventTownhall".casefold(): @@ -114,6 +115,17 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .communications_identity_set import CommunicationsIdentitySet + from .date_time_time_zone import DateTimeTimeZone + from .entity import Entity + from .item_body import ItemBody + from .virtual_event_presenter import VirtualEventPresenter + from .virtual_event_session import VirtualEventSession + from .virtual_event_settings import VirtualEventSettings + from .virtual_event_status import VirtualEventStatus + from .virtual_event_townhall import VirtualEventTownhall + from .virtual_event_webinar import VirtualEventWebinar + writer.write_object_value("createdBy", self.created_by) writer.write_object_value("description", self.description) writer.write_str_value("displayName", self.display_name) diff --git a/msgraph_beta/generated/models/virtual_event_collection_response.py b/msgraph_beta/generated/models/virtual_event_collection_response.py index 9f32be5b3ae..9d778359b63 100644 --- a/msgraph_beta/generated/models/virtual_event_collection_response.py +++ b/msgraph_beta/generated/models/virtual_event_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .virtual_event import VirtualEvent + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/virtual_event_presenter.py b/msgraph_beta/generated/models/virtual_event_presenter.py index 6f61b8c8a2e..46a48c550f8 100644 --- a/msgraph_beta/generated/models/virtual_event_presenter.py +++ b/msgraph_beta/generated/models/virtual_event_presenter.py @@ -69,6 +69,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .identity import Identity + from .virtual_event_presenter_details import VirtualEventPresenterDetails + from .virtual_event_session import VirtualEventSession + writer.write_str_value("email", self.email) writer.write_object_value("identity", self.identity) writer.write_object_value("presenterDetails", self.presenter_details) diff --git a/msgraph_beta/generated/models/virtual_event_presenter_collection_response.py b/msgraph_beta/generated/models/virtual_event_presenter_collection_response.py index 58fe942db32..f165740181d 100644 --- a/msgraph_beta/generated/models/virtual_event_presenter_collection_response.py +++ b/msgraph_beta/generated/models/virtual_event_presenter_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .virtual_event_presenter import VirtualEventPresenter + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/virtual_event_presenter_details.py b/msgraph_beta/generated/models/virtual_event_presenter_details.py index 35baf4859c3..d2ae3037ead 100644 --- a/msgraph_beta/generated/models/virtual_event_presenter_details.py +++ b/msgraph_beta/generated/models/virtual_event_presenter_details.py @@ -71,6 +71,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .item_body import ItemBody + writer.write_object_value("bio", self.bio) writer.write_str_value("company", self.company) writer.write_str_value("jobTitle", self.job_title) diff --git a/msgraph_beta/generated/models/virtual_event_presenter_info.py b/msgraph_beta/generated/models/virtual_event_presenter_info.py index fb979d2f0a0..4790fe428de 100644 --- a/msgraph_beta/generated/models/virtual_event_presenter_info.py +++ b/msgraph_beta/generated/models/virtual_event_presenter_info.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .meeting_participant_info import MeetingParticipantInfo + from .virtual_event_presenter_details import VirtualEventPresenterDetails + writer.write_object_value("presenterDetails", self.presenter_details) diff --git a/msgraph_beta/generated/models/virtual_event_registration.py b/msgraph_beta/generated/models/virtual_event_registration.py index 32773aa80b6..1c6187f2e8b 100644 --- a/msgraph_beta/generated/models/virtual_event_registration.py +++ b/msgraph_beta/generated/models/virtual_event_registration.py @@ -91,6 +91,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .virtual_event_attendee_registration_status import VirtualEventAttendeeRegistrationStatus + from .virtual_event_registration_question_answer import VirtualEventRegistrationQuestionAnswer + from .virtual_event_session import VirtualEventSession + writer.write_datetime_value("cancelationDateTime", self.cancelation_date_time) writer.write_str_value("email", self.email) writer.write_str_value("firstName", self.first_name) diff --git a/msgraph_beta/generated/models/virtual_event_registration_collection_response.py b/msgraph_beta/generated/models/virtual_event_registration_collection_response.py index 136bb9b0c54..64d6215d903 100644 --- a/msgraph_beta/generated/models/virtual_event_registration_collection_response.py +++ b/msgraph_beta/generated/models/virtual_event_registration_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .virtual_event_registration import VirtualEventRegistration + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/virtual_event_registration_configuration.py b/msgraph_beta/generated/models/virtual_event_registration_configuration.py index 72ae774388c..89d1dd4f9b8 100644 --- a/msgraph_beta/generated/models/virtual_event_registration_configuration.py +++ b/msgraph_beta/generated/models/virtual_event_registration_configuration.py @@ -31,7 +31,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> VirtualEventRegist if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.virtualEventWebinarRegistrationConfiguration".casefold(): @@ -71,6 +72,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .virtual_event_registration_question_base import VirtualEventRegistrationQuestionBase + from .virtual_event_webinar_registration_configuration import VirtualEventWebinarRegistrationConfiguration + writer.write_int_value("capacity", self.capacity) writer.write_collection_of_object_values("questions", self.questions) writer.write_str_value("registrationWebUrl", self.registration_web_url) diff --git a/msgraph_beta/generated/models/virtual_event_registration_custom_question.py b/msgraph_beta/generated/models/virtual_event_registration_custom_question.py index 868f78b0fe9..3d3adf4a11e 100644 --- a/msgraph_beta/generated/models/virtual_event_registration_custom_question.py +++ b/msgraph_beta/generated/models/virtual_event_registration_custom_question.py @@ -57,6 +57,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .virtual_event_registration_question_answer_input_type import VirtualEventRegistrationQuestionAnswerInputType + from .virtual_event_registration_question_base import VirtualEventRegistrationQuestionBase + writer.write_collection_of_primitive_values("answerChoices", self.answer_choices) writer.write_enum_value("answerInputType", self.answer_input_type) diff --git a/msgraph_beta/generated/models/virtual_event_registration_predefined_question.py b/msgraph_beta/generated/models/virtual_event_registration_predefined_question.py index 06e744e2c36..d691b999872 100644 --- a/msgraph_beta/generated/models/virtual_event_registration_predefined_question.py +++ b/msgraph_beta/generated/models/virtual_event_registration_predefined_question.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .virtual_event_registration_predefined_question_label import VirtualEventRegistrationPredefinedQuestionLabel + from .virtual_event_registration_question_base import VirtualEventRegistrationQuestionBase + writer.write_enum_value("label", self.label) diff --git a/msgraph_beta/generated/models/virtual_event_registration_question_base.py b/msgraph_beta/generated/models/virtual_event_registration_question_base.py index a5c4c72c8ec..dd3a15f6c4f 100644 --- a/msgraph_beta/generated/models/virtual_event_registration_question_base.py +++ b/msgraph_beta/generated/models/virtual_event_registration_question_base.py @@ -29,7 +29,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> VirtualEventRegist if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.virtualEventRegistrationCustomQuestion".casefold(): @@ -72,6 +73,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .virtual_event_registration_custom_question import VirtualEventRegistrationCustomQuestion + from .virtual_event_registration_predefined_question import VirtualEventRegistrationPredefinedQuestion + writer.write_str_value("displayName", self.display_name) writer.write_bool_value("isRequired", self.is_required) diff --git a/msgraph_beta/generated/models/virtual_event_registration_question_base_collection_response.py b/msgraph_beta/generated/models/virtual_event_registration_question_base_collection_response.py index 842b937f93a..19d7f7ab643 100644 --- a/msgraph_beta/generated/models/virtual_event_registration_question_base_collection_response.py +++ b/msgraph_beta/generated/models/virtual_event_registration_question_base_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .virtual_event_registration_question_base import VirtualEventRegistrationQuestionBase + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/virtual_event_session.py b/msgraph_beta/generated/models/virtual_event_session.py index fb87a1f5e91..a1c305f2d7d 100644 --- a/msgraph_beta/generated/models/virtual_event_session.py +++ b/msgraph_beta/generated/models/virtual_event_session.py @@ -69,6 +69,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .date_time_time_zone import DateTimeTimeZone + from .online_meeting_base import OnlineMeetingBase + from .virtual_event_presenter import VirtualEventPresenter + from .virtual_event_registration import VirtualEventRegistration + writer.write_object_value("endDateTime", self.end_date_time) writer.write_collection_of_object_values("presenters", self.presenters) writer.write_collection_of_object_values("registrations", self.registrations) diff --git a/msgraph_beta/generated/models/virtual_event_session_collection_response.py b/msgraph_beta/generated/models/virtual_event_session_collection_response.py index 199937121ac..183ff3e650b 100644 --- a/msgraph_beta/generated/models/virtual_event_session_collection_response.py +++ b/msgraph_beta/generated/models/virtual_event_session_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .virtual_event_session import VirtualEventSession + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/virtual_event_townhall.py b/msgraph_beta/generated/models/virtual_event_townhall.py index 5e73aa1ab84..7aeb53d4688 100644 --- a/msgraph_beta/generated/models/virtual_event_townhall.py +++ b/msgraph_beta/generated/models/virtual_event_townhall.py @@ -69,6 +69,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .communications_user_identity import CommunicationsUserIdentity + from .identity import Identity + from .meeting_audience import MeetingAudience + from .virtual_event import VirtualEvent + writer.write_enum_value("audience", self.audience) writer.write_collection_of_object_values("coOrganizers", self.co_organizers) writer.write_collection_of_object_values("invitedAttendees", self.invited_attendees) diff --git a/msgraph_beta/generated/models/virtual_event_townhall_collection_response.py b/msgraph_beta/generated/models/virtual_event_townhall_collection_response.py index 4c7c5bda61e..8c4709ac7cc 100644 --- a/msgraph_beta/generated/models/virtual_event_townhall_collection_response.py +++ b/msgraph_beta/generated/models/virtual_event_townhall_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .virtual_event_townhall import VirtualEventTownhall + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/virtual_event_webinar.py b/msgraph_beta/generated/models/virtual_event_webinar.py index 472c9842cd8..a1dd8796ff0 100644 --- a/msgraph_beta/generated/models/virtual_event_webinar.py +++ b/msgraph_beta/generated/models/virtual_event_webinar.py @@ -72,6 +72,12 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .communications_user_identity import CommunicationsUserIdentity + from .meeting_audience import MeetingAudience + from .virtual_event import VirtualEvent + from .virtual_event_registration import VirtualEventRegistration + from .virtual_event_webinar_registration_configuration import VirtualEventWebinarRegistrationConfiguration + writer.write_enum_value("audience", self.audience) writer.write_collection_of_object_values("coOrganizers", self.co_organizers) writer.write_object_value("registrationConfiguration", self.registration_configuration) diff --git a/msgraph_beta/generated/models/virtual_event_webinar_collection_response.py b/msgraph_beta/generated/models/virtual_event_webinar_collection_response.py index 1d652f95ea8..c38002455f4 100644 --- a/msgraph_beta/generated/models/virtual_event_webinar_collection_response.py +++ b/msgraph_beta/generated/models/virtual_event_webinar_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .virtual_event_webinar import VirtualEventWebinar + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/virtual_event_webinar_registration_configuration.py b/msgraph_beta/generated/models/virtual_event_webinar_registration_configuration.py index a648194ed8e..b881889aa36 100644 --- a/msgraph_beta/generated/models/virtual_event_webinar_registration_configuration.py +++ b/msgraph_beta/generated/models/virtual_event_webinar_registration_configuration.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .virtual_event_registration_configuration import VirtualEventRegistrationConfiguration + writer.write_bool_value("isManualApprovalEnabled", self.is_manual_approval_enabled) writer.write_bool_value("isWaitlistEnabled", self.is_waitlist_enabled) diff --git a/msgraph_beta/generated/models/virtual_events_root.py b/msgraph_beta/generated/models/virtual_events_root.py index 9f8bcab7dc8..636e9df64ea 100644 --- a/msgraph_beta/generated/models/virtual_events_root.py +++ b/msgraph_beta/generated/models/virtual_events_root.py @@ -66,6 +66,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .virtual_event import VirtualEvent + from .virtual_event_townhall import VirtualEventTownhall + from .virtual_event_webinar import VirtualEventWebinar + writer.write_collection_of_object_values("events", self.events) writer.write_collection_of_object_values("townhalls", self.townhalls) writer.write_collection_of_object_values("webinars", self.webinars) diff --git a/msgraph_beta/generated/models/virtual_machine_details.py b/msgraph_beta/generated/models/virtual_machine_details.py index 21a6edbf6db..3fd8397d35a 100644 --- a/msgraph_beta/generated/models/virtual_machine_details.py +++ b/msgraph_beta/generated/models/virtual_machine_details.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .authorization_system_resource import AuthorizationSystemResource + from .entity import Entity + writer.write_object_value("virtualMachine", self.virtual_machine) diff --git a/msgraph_beta/generated/models/virtual_machine_with_aws_storage_bucket_access_finding.py b/msgraph_beta/generated/models/virtual_machine_with_aws_storage_bucket_access_finding.py index 9f60960534e..760cb34fb81 100644 --- a/msgraph_beta/generated/models/virtual_machine_with_aws_storage_bucket_access_finding.py +++ b/msgraph_beta/generated/models/virtual_machine_with_aws_storage_bucket_access_finding.py @@ -72,6 +72,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .authorization_system_resource import AuthorizationSystemResource + from .aws_role import AwsRole + from .finding import Finding + from .permissions_creep_index import PermissionsCreepIndex + writer.write_int_value("accessibleCount", self.accessible_count) writer.write_int_value("bucketCount", self.bucket_count) writer.write_object_value("ec2Instance", self.ec2_instance) diff --git a/msgraph_beta/generated/models/visual_info.py b/msgraph_beta/generated/models/visual_info.py index ac7e6c5099e..35a6a0453b3 100644 --- a/msgraph_beta/generated/models/visual_info.py +++ b/msgraph_beta/generated/models/visual_info.py @@ -62,6 +62,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .image_info import ImageInfo + writer.write_object_value("attribution", self.attribution) writer.write_str_value("backgroundColor", self.background_color) writer.write_str_value("description", self.description) diff --git a/msgraph_beta/generated/models/voice_authentication_method_configuration.py b/msgraph_beta/generated/models/voice_authentication_method_configuration.py index dd984ee90c1..10fa5f33aa1 100644 --- a/msgraph_beta/generated/models/voice_authentication_method_configuration.py +++ b/msgraph_beta/generated/models/voice_authentication_method_configuration.py @@ -57,6 +57,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .authentication_method_configuration import AuthenticationMethodConfiguration + from .voice_authentication_method_target import VoiceAuthenticationMethodTarget + writer.write_collection_of_object_values("includeTargets", self.include_targets) writer.write_bool_value("isOfficePhoneAllowed", self.is_office_phone_allowed) diff --git a/msgraph_beta/generated/models/voice_authentication_method_target.py b/msgraph_beta/generated/models/voice_authentication_method_target.py index d90de4965fb..09e5c4e3170 100644 --- a/msgraph_beta/generated/models/voice_authentication_method_target.py +++ b/msgraph_beta/generated/models/voice_authentication_method_target.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .authentication_method_target import AuthenticationMethodTarget + diff --git a/msgraph_beta/generated/models/vpn_configuration.py b/msgraph_beta/generated/models/vpn_configuration.py index 3dce66b83e4..c4ec4a26e12 100644 --- a/msgraph_beta/generated/models/vpn_configuration.py +++ b/msgraph_beta/generated/models/vpn_configuration.py @@ -39,7 +39,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> VpnConfiguration: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.androidDeviceOwnerVpnConfiguration".casefold(): @@ -83,6 +84,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .android_device_owner_vpn_configuration import AndroidDeviceOwnerVpnConfiguration + from .device_configuration import DeviceConfiguration + from .vpn_authentication_method import VpnAuthenticationMethod + from .vpn_server import VpnServer + writer.write_enum_value("authenticationMethod", self.authentication_method) writer.write_str_value("connectionName", self.connection_name) writer.write_str_value("realm", self.realm) diff --git a/msgraph_beta/generated/models/vpn_on_demand_rule.py b/msgraph_beta/generated/models/vpn_on_demand_rule.py index 53dbf8a0706..671c9bcdbb1 100644 --- a/msgraph_beta/generated/models/vpn_on_demand_rule.py +++ b/msgraph_beta/generated/models/vpn_on_demand_rule.py @@ -86,6 +86,10 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .vpn_on_demand_rule_connection_action import VpnOnDemandRuleConnectionAction + from .vpn_on_demand_rule_connection_domain_action import VpnOnDemandRuleConnectionDomainAction + from .vpn_on_demand_rule_interface_type_match import VpnOnDemandRuleInterfaceTypeMatch + writer.write_enum_value("action", self.action) writer.write_collection_of_primitive_values("dnsSearchDomains", self.dns_search_domains) writer.write_collection_of_primitive_values("dnsServerAddressMatch", self.dns_server_address_match) diff --git a/msgraph_beta/generated/models/vpn_proxy_server.py b/msgraph_beta/generated/models/vpn_proxy_server.py index 5067825d3ba..d6420a59d0b 100644 --- a/msgraph_beta/generated/models/vpn_proxy_server.py +++ b/msgraph_beta/generated/models/vpn_proxy_server.py @@ -37,7 +37,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> VpnProxyServer: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.windows10VpnProxyServer".casefold(): @@ -77,6 +78,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .windows10_vpn_proxy_server import Windows10VpnProxyServer + from .windows81_vpn_proxy_server import Windows81VpnProxyServer + writer.write_str_value("address", self.address) writer.write_str_value("automaticConfigurationScriptUrl", self.automatic_configuration_script_url) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/vpn_traffic_rule.py b/msgraph_beta/generated/models/vpn_traffic_rule.py index 52289e8b7ff..2669ffff1e8 100644 --- a/msgraph_beta/generated/models/vpn_traffic_rule.py +++ b/msgraph_beta/generated/models/vpn_traffic_rule.py @@ -98,6 +98,12 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .i_pv4_range import IPv4Range + from .number_range import NumberRange + from .vpn_traffic_direction import VpnTrafficDirection + from .vpn_traffic_rule_app_type import VpnTrafficRuleAppType + from .vpn_traffic_rule_routing_policy_type import VpnTrafficRuleRoutingPolicyType + writer.write_str_value("appId", self.app_id) writer.write_enum_value("appType", self.app_type) writer.write_str_value("claims", self.claims) diff --git a/msgraph_beta/generated/models/vpp_token.py b/msgraph_beta/generated/models/vpp_token.py index 4b83bea1ccf..9eaaca7cb1d 100644 --- a/msgraph_beta/generated/models/vpp_token.py +++ b/msgraph_beta/generated/models/vpp_token.py @@ -115,6 +115,12 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .vpp_token_account_type import VppTokenAccountType + from .vpp_token_action_result import VppTokenActionResult + from .vpp_token_state import VppTokenState + from .vpp_token_sync_status import VppTokenSyncStatus + writer.write_str_value("appleId", self.apple_id) writer.write_bool_value("automaticallyUpdateApps", self.automatically_update_apps) writer.write_bool_value("claimTokenManagementFromExternalMdm", self.claim_token_management_from_external_mdm) diff --git a/msgraph_beta/generated/models/vpp_token_action_result.py b/msgraph_beta/generated/models/vpp_token_action_result.py index 965cef65d35..2b8a2895cac 100644 --- a/msgraph_beta/generated/models/vpp_token_action_result.py +++ b/msgraph_beta/generated/models/vpp_token_action_result.py @@ -40,7 +40,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> VppTokenActionResu if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.vppTokenRevokeLicensesActionResult".casefold(): @@ -77,6 +78,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .action_state import ActionState + from .vpp_token_revoke_licenses_action_result import VppTokenRevokeLicensesActionResult + writer.write_str_value("actionName", self.action_name) writer.write_enum_value("actionState", self.action_state) writer.write_datetime_value("lastUpdatedDateTime", self.last_updated_date_time) diff --git a/msgraph_beta/generated/models/vpp_token_collection_response.py b/msgraph_beta/generated/models/vpp_token_collection_response.py index 519689bccc6..d5dfe5a337b 100644 --- a/msgraph_beta/generated/models/vpp_token_collection_response.py +++ b/msgraph_beta/generated/models/vpp_token_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .vpp_token import VppToken + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/vpp_token_revoke_licenses_action_result.py b/msgraph_beta/generated/models/vpp_token_revoke_licenses_action_result.py index cdb2bdfd16c..4e43242347b 100644 --- a/msgraph_beta/generated/models/vpp_token_revoke_licenses_action_result.py +++ b/msgraph_beta/generated/models/vpp_token_revoke_licenses_action_result.py @@ -63,6 +63,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .vpp_token_action_failure_reason import VppTokenActionFailureReason + from .vpp_token_action_result import VppTokenActionResult + writer.write_enum_value("actionFailureReason", self.action_failure_reason) writer.write_int_value("failedLicensesCount", self.failed_licenses_count) writer.write_int_value("totalLicensesCount", self.total_licenses_count) diff --git a/msgraph_beta/generated/models/vulnerable_managed_device.py b/msgraph_beta/generated/models/vulnerable_managed_device.py index 7259fd2e0d9..7c03204842d 100644 --- a/msgraph_beta/generated/models/vulnerable_managed_device.py +++ b/msgraph_beta/generated/models/vulnerable_managed_device.py @@ -61,6 +61,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_str_value("displayName", self.display_name) writer.write_datetime_value("lastSyncDateTime", self.last_sync_date_time) writer.write_str_value("managedDeviceId", self.managed_device_id) diff --git a/msgraph_beta/generated/models/web_account.py b/msgraph_beta/generated/models/web_account.py index 1888ae0c9c4..bcc0a31ac95 100644 --- a/msgraph_beta/generated/models/web_account.py +++ b/msgraph_beta/generated/models/web_account.py @@ -69,6 +69,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .item_facet import ItemFacet + from .service_information import ServiceInformation + writer.write_str_value("description", self.description) writer.write_object_value("service", self.service) writer.write_str_value("statusMessage", self.status_message) diff --git a/msgraph_beta/generated/models/web_account_collection_response.py b/msgraph_beta/generated/models/web_account_collection_response.py index 338fad278da..634c65f42ce 100644 --- a/msgraph_beta/generated/models/web_account_collection_response.py +++ b/msgraph_beta/generated/models/web_account_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .web_account import WebAccount + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/web_app.py b/msgraph_beta/generated/models/web_app.py index 98e26c4c82d..6430fed858b 100644 --- a/msgraph_beta/generated/models/web_app.py +++ b/msgraph_beta/generated/models/web_app.py @@ -57,6 +57,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .mobile_app import MobileApp + writer.write_str_value("appUrl", self.app_url) writer.write_bool_value("useManagedBrowser", self.use_managed_browser) diff --git a/msgraph_beta/generated/models/web_application.py b/msgraph_beta/generated/models/web_application.py index 3052f93323b..1d67543e44b 100644 --- a/msgraph_beta/generated/models/web_application.py +++ b/msgraph_beta/generated/models/web_application.py @@ -71,6 +71,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .implicit_grant_settings import ImplicitGrantSettings + from .redirect_uri_settings import RedirectUriSettings + writer.write_str_value("homePageUrl", self.home_page_url) writer.write_object_value("implicitGrantSettings", self.implicit_grant_settings) writer.write_str_value("logoutUrl", self.logout_url) diff --git a/msgraph_beta/generated/models/web_application_segment.py b/msgraph_beta/generated/models/web_application_segment.py index f57c930b41c..162465af6fe 100644 --- a/msgraph_beta/generated/models/web_application_segment.py +++ b/msgraph_beta/generated/models/web_application_segment.py @@ -63,6 +63,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .application_segment import ApplicationSegment + from .cors_configuration_v2 import CorsConfiguration_v2 + writer.write_str_value("alternateUrl", self.alternate_url) writer.write_collection_of_object_values("corsConfigurations", self.cors_configurations) writer.write_str_value("externalUrl", self.external_url) diff --git a/msgraph_beta/generated/models/web_part.py b/msgraph_beta/generated/models/web_part.py index a1d4655dbbb..b08611e099c 100644 --- a/msgraph_beta/generated/models/web_part.py +++ b/msgraph_beta/generated/models/web_part.py @@ -25,7 +25,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> WebPart: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.standardWebPart".casefold(): @@ -66,5 +67,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .standard_web_part import StandardWebPart + from .text_web_part import TextWebPart + diff --git a/msgraph_beta/generated/models/web_part_collection_response.py b/msgraph_beta/generated/models/web_part_collection_response.py index 6f651a00414..51682418c34 100644 --- a/msgraph_beta/generated/models/web_part_collection_response.py +++ b/msgraph_beta/generated/models/web_part_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .web_part import WebPart + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/web_part_data.py b/msgraph_beta/generated/models/web_part_data.py index 47c44958100..e8f11e0a25a 100644 --- a/msgraph_beta/generated/models/web_part_data.py +++ b/msgraph_beta/generated/models/web_part_data.py @@ -65,6 +65,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .server_processed_content import ServerProcessedContent + writer.write_collection_of_primitive_values("audiences", self.audiences) writer.write_str_value("dataVersion", self.data_version) writer.write_str_value("description", self.description) diff --git a/msgraph_beta/generated/models/web_segment_configuration.py b/msgraph_beta/generated/models/web_segment_configuration.py index 8fe2c25c610..bbe539222b2 100644 --- a/msgraph_beta/generated/models/web_segment_configuration.py +++ b/msgraph_beta/generated/models/web_segment_configuration.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .segment_configuration import SegmentConfiguration + from .web_application_segment import WebApplicationSegment + writer.write_collection_of_object_values("applicationSegments", self.application_segments) diff --git a/msgraph_beta/generated/models/webauthn_credential_creation_options.py b/msgraph_beta/generated/models/webauthn_credential_creation_options.py index b9e3290f1ea..fd6a28e28ac 100644 --- a/msgraph_beta/generated/models/webauthn_credential_creation_options.py +++ b/msgraph_beta/generated/models/webauthn_credential_creation_options.py @@ -57,6 +57,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .webauthn_public_key_credential_creation_options import WebauthnPublicKeyCredentialCreationOptions + writer.write_datetime_value("challengeTimeoutDateTime", self.challenge_timeout_date_time) writer.write_str_value("@odata.type", self.odata_type) writer.write_object_value("publicKey", self.public_key) diff --git a/msgraph_beta/generated/models/webauthn_public_key_credential.py b/msgraph_beta/generated/models/webauthn_public_key_credential.py index 259080f984b..183266210e5 100644 --- a/msgraph_beta/generated/models/webauthn_public_key_credential.py +++ b/msgraph_beta/generated/models/webauthn_public_key_credential.py @@ -62,6 +62,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .webauthn_authentication_extensions_client_outputs import WebauthnAuthenticationExtensionsClientOutputs + from .webauthn_authenticator_attestation_response import WebauthnAuthenticatorAttestationResponse + writer.write_object_value("clientExtensionResults", self.client_extension_results) writer.write_str_value("id", self.id) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/webauthn_public_key_credential_creation_options.py b/msgraph_beta/generated/models/webauthn_public_key_credential_creation_options.py index bcef753d66c..a43d4294adb 100644 --- a/msgraph_beta/generated/models/webauthn_public_key_credential_creation_options.py +++ b/msgraph_beta/generated/models/webauthn_public_key_credential_creation_options.py @@ -23,7 +23,7 @@ class WebauthnPublicKeyCredentialCreationOptions(AdditionalDataHolder, BackedMod attestation: Optional[str] = None # Properties of WebAuthn authenticators allowed to be used for authentication in Microsoft Entra ID. authenticator_selection: Optional[WebauthnAuthenticatorSelectionCriteria] = None - # A challenge generated by Microsoft Entra ID and sent back with the registration request to prevent replay attacks. + # A Base64-encoded challenge generated by Microsoft Entra ID and sent back with the registration request to prevent replay attacks. challenge: Optional[str] = None # List of credentials blocked for creations in Microsoft Entra ID. exclude_credentials: Optional[List[WebauthnPublicKeyCredentialDescriptor]] = None @@ -92,6 +92,13 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .webauthn_authentication_extensions_client_inputs import WebauthnAuthenticationExtensionsClientInputs + from .webauthn_authenticator_selection_criteria import WebauthnAuthenticatorSelectionCriteria + from .webauthn_public_key_credential_descriptor import WebauthnPublicKeyCredentialDescriptor + from .webauthn_public_key_credential_parameters import WebauthnPublicKeyCredentialParameters + from .webauthn_public_key_credential_rp_entity import WebauthnPublicKeyCredentialRpEntity + from .webauthn_public_key_credential_user_entity import WebauthnPublicKeyCredentialUserEntity + writer.write_str_value("attestation", self.attestation) writer.write_object_value("authenticatorSelection", self.authenticator_selection) writer.write_str_value("challenge", self.challenge) diff --git a/msgraph_beta/generated/models/website.py b/msgraph_beta/generated/models/website.py index f407a5f4a1d..f67d90238dc 100644 --- a/msgraph_beta/generated/models/website.py +++ b/msgraph_beta/generated/models/website.py @@ -59,6 +59,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .website_type import WebsiteType + writer.write_str_value("address", self.address) writer.write_str_value("displayName", self.display_name) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/what_if_application_context.py b/msgraph_beta/generated/models/what_if_application_context.py index 301dd9b5468..82046bc307f 100644 --- a/msgraph_beta/generated/models/what_if_application_context.py +++ b/msgraph_beta/generated/models/what_if_application_context.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .conditional_access_context import ConditionalAccessContext + writer.write_collection_of_primitive_values("includeApplications", self.include_applications) diff --git a/msgraph_beta/generated/models/what_if_authentication_context.py b/msgraph_beta/generated/models/what_if_authentication_context.py index b8e4f0b4c79..f2a49676521 100644 --- a/msgraph_beta/generated/models/what_if_authentication_context.py +++ b/msgraph_beta/generated/models/what_if_authentication_context.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .conditional_access_context import ConditionalAccessContext + writer.write_str_value("authenticationContext", self.authentication_context) diff --git a/msgraph_beta/generated/models/what_if_user_action_context.py b/msgraph_beta/generated/models/what_if_user_action_context.py index 3da287a6997..253c799c209 100644 --- a/msgraph_beta/generated/models/what_if_user_action_context.py +++ b/msgraph_beta/generated/models/what_if_user_action_context.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .conditional_access_context import ConditionalAccessContext + from .user_action import UserAction + writer.write_enum_value("userAction", self.user_action) diff --git a/msgraph_beta/generated/models/wi_fi_proxy_setting.py b/msgraph_beta/generated/models/wi_fi_proxy_setting.py index 3b826f4caa0..b22b32e6f90 100644 --- a/msgraph_beta/generated/models/wi_fi_proxy_setting.py +++ b/msgraph_beta/generated/models/wi_fi_proxy_setting.py @@ -1,12 +1,12 @@ from enum import Enum class WiFiProxySetting(str, Enum): - # No Proxy. + # Default. Indicates Wi-Fi Proxy is not set. None_ = "none", - # Manual Proxy Settings via Address and Port. + # Indicates Wi-Fi Proxy is set by manually specifying an address and port as well as an optional list of hostnames that are exculded. This value is not supported for AndroidWorkProfileWiFiConfigurations. Manual = "manual", - # Automatic Proxy Settings via URL. + # Indicates Wi-Fi Proxy is set automatically by providing the URL to a PAC (Proxy Auto Configuration) file which contains a list of proxy servers to use. Automatic = "automatic", - # Unknown future value for evolvable enum patterns. + # Evolvable enumeration sentinel value. Do not use. UnknownFutureValue = "unknownFutureValue", diff --git a/msgraph_beta/generated/models/win32_catalog_app.py b/msgraph_beta/generated/models/win32_catalog_app.py index ee9f8316bd5..47d4b0dea85 100644 --- a/msgraph_beta/generated/models/win32_catalog_app.py +++ b/msgraph_beta/generated/models/win32_catalog_app.py @@ -63,6 +63,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .mobile_app_catalog_package import MobileAppCatalogPackage + from .win32_lob_app import Win32LobApp + writer.write_object_value("latestUpgradeCatalogPackage", self.latest_upgrade_catalog_package) writer.write_str_value("mobileAppCatalogPackageId", self.mobile_app_catalog_package_id) writer.write_object_value("referencedCatalogPackage", self.referenced_catalog_package) diff --git a/msgraph_beta/generated/models/win32_catalog_app_assignment_settings.py b/msgraph_beta/generated/models/win32_catalog_app_assignment_settings.py index 3763e789f36..25d4c8c4b80 100644 --- a/msgraph_beta/generated/models/win32_catalog_app_assignment_settings.py +++ b/msgraph_beta/generated/models/win32_catalog_app_assignment_settings.py @@ -51,5 +51,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .win32_lob_app_assignment_settings import Win32LobAppAssignmentSettings + diff --git a/msgraph_beta/generated/models/win32_lob_app.py b/msgraph_beta/generated/models/win32_lob_app.py index 5c53892a754..6de2416fb66 100644 --- a/msgraph_beta/generated/models/win32_lob_app.py +++ b/msgraph_beta/generated/models/win32_lob_app.py @@ -71,7 +71,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> Win32LobApp: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.win32CatalogApp".casefold(): @@ -140,6 +141,17 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .mobile_lob_app import MobileLobApp + from .win32_catalog_app import Win32CatalogApp + from .win32_lob_app_detection import Win32LobAppDetection + from .win32_lob_app_install_experience import Win32LobAppInstallExperience + from .win32_lob_app_msi_information import Win32LobAppMsiInformation + from .win32_lob_app_requirement import Win32LobAppRequirement + from .win32_lob_app_return_code import Win32LobAppReturnCode + from .win32_lob_app_rule import Win32LobAppRule + from .windows_architecture import WindowsArchitecture + from .windows_minimum_operating_system import WindowsMinimumOperatingSystem + writer.write_bool_value("allowAvailableUninstall", self.allow_available_uninstall) writer.write_enum_value("applicableArchitectures", self.applicable_architectures) writer.write_collection_of_object_values("detectionRules", self.detection_rules) diff --git a/msgraph_beta/generated/models/win32_lob_app_assignment_settings.py b/msgraph_beta/generated/models/win32_lob_app_assignment_settings.py index d568f520317..dd72f67b66e 100644 --- a/msgraph_beta/generated/models/win32_lob_app_assignment_settings.py +++ b/msgraph_beta/generated/models/win32_lob_app_assignment_settings.py @@ -42,7 +42,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> Win32LobAppAssignm if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.win32CatalogAppAssignmentSettings".casefold(): @@ -92,6 +93,14 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .mobile_app_assignment_settings import MobileAppAssignmentSettings + from .mobile_app_install_time_settings import MobileAppInstallTimeSettings + from .win32_catalog_app_assignment_settings import Win32CatalogAppAssignmentSettings + from .win32_lob_app_auto_update_settings import Win32LobAppAutoUpdateSettings + from .win32_lob_app_delivery_optimization_priority import Win32LobAppDeliveryOptimizationPriority + from .win32_lob_app_notification import Win32LobAppNotification + from .win32_lob_app_restart_settings import Win32LobAppRestartSettings + writer.write_object_value("autoUpdateSettings", self.auto_update_settings) writer.write_enum_value("deliveryOptimizationPriority", self.delivery_optimization_priority) writer.write_object_value("installTimeSettings", self.install_time_settings) diff --git a/msgraph_beta/generated/models/win32_lob_app_auto_update_settings.py b/msgraph_beta/generated/models/win32_lob_app_auto_update_settings.py index ceecc7696ef..923fee58cf7 100644 --- a/msgraph_beta/generated/models/win32_lob_app_auto_update_settings.py +++ b/msgraph_beta/generated/models/win32_lob_app_auto_update_settings.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .win32_lob_auto_update_superseded_apps_state import Win32LobAutoUpdateSupersededAppsState + writer.write_enum_value("autoUpdateSupersededAppsState", self.auto_update_superseded_apps_state) writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/win32_lob_app_collection_response.py b/msgraph_beta/generated/models/win32_lob_app_collection_response.py index a346a5881da..5bb3316cec6 100644 --- a/msgraph_beta/generated/models/win32_lob_app_collection_response.py +++ b/msgraph_beta/generated/models/win32_lob_app_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .win32_lob_app import Win32LobApp + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/win32_lob_app_detection.py b/msgraph_beta/generated/models/win32_lob_app_detection.py index 3687c028924..d3c2c36a799 100644 --- a/msgraph_beta/generated/models/win32_lob_app_detection.py +++ b/msgraph_beta/generated/models/win32_lob_app_detection.py @@ -33,7 +33,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> Win32LobAppDetecti if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.win32LobAppFileSystemDetection".casefold(): @@ -82,6 +83,11 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .win32_lob_app_file_system_detection import Win32LobAppFileSystemDetection + from .win32_lob_app_power_shell_script_detection import Win32LobAppPowerShellScriptDetection + from .win32_lob_app_product_code_detection import Win32LobAppProductCodeDetection + from .win32_lob_app_registry_detection import Win32LobAppRegistryDetection + writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/win32_lob_app_file_system_detection.py b/msgraph_beta/generated/models/win32_lob_app_file_system_detection.py index 3396828b494..9b59dd987f9 100644 --- a/msgraph_beta/generated/models/win32_lob_app_file_system_detection.py +++ b/msgraph_beta/generated/models/win32_lob_app_file_system_detection.py @@ -75,6 +75,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .win32_lob_app_detection import Win32LobAppDetection + from .win32_lob_app_detection_operator import Win32LobAppDetectionOperator + from .win32_lob_app_file_system_detection_type import Win32LobAppFileSystemDetectionType + writer.write_bool_value("check32BitOn64System", self.check32_bit_on64_system) writer.write_enum_value("detectionType", self.detection_type) writer.write_str_value("detectionValue", self.detection_value) diff --git a/msgraph_beta/generated/models/win32_lob_app_file_system_requirement.py b/msgraph_beta/generated/models/win32_lob_app_file_system_requirement.py index 68e305cccf6..a3a783fc50d 100644 --- a/msgraph_beta/generated/models/win32_lob_app_file_system_requirement.py +++ b/msgraph_beta/generated/models/win32_lob_app_file_system_requirement.py @@ -66,6 +66,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .win32_lob_app_file_system_detection_type import Win32LobAppFileSystemDetectionType + from .win32_lob_app_requirement import Win32LobAppRequirement + writer.write_bool_value("check32BitOn64System", self.check32_bit_on64_system) writer.write_enum_value("detectionType", self.detection_type) writer.write_str_value("fileOrFolderName", self.file_or_folder_name) diff --git a/msgraph_beta/generated/models/win32_lob_app_file_system_rule.py b/msgraph_beta/generated/models/win32_lob_app_file_system_rule.py index 9be903a0fa3..edffef4aa53 100644 --- a/msgraph_beta/generated/models/win32_lob_app_file_system_rule.py +++ b/msgraph_beta/generated/models/win32_lob_app_file_system_rule.py @@ -75,6 +75,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .win32_lob_app_file_system_operation_type import Win32LobAppFileSystemOperationType + from .win32_lob_app_rule import Win32LobAppRule + from .win32_lob_app_rule_operator import Win32LobAppRuleOperator + writer.write_bool_value("check32BitOn64System", self.check32_bit_on64_system) writer.write_str_value("comparisonValue", self.comparison_value) writer.write_str_value("fileOrFolderName", self.file_or_folder_name) diff --git a/msgraph_beta/generated/models/win32_lob_app_install_experience.py b/msgraph_beta/generated/models/win32_lob_app_install_experience.py index 78d47c6b7e0..ac682ccda02 100644 --- a/msgraph_beta/generated/models/win32_lob_app_install_experience.py +++ b/msgraph_beta/generated/models/win32_lob_app_install_experience.py @@ -65,6 +65,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .run_as_account_type import RunAsAccountType + from .win32_lob_app_restart_behavior import Win32LobAppRestartBehavior + writer.write_enum_value("deviceRestartBehavior", self.device_restart_behavior) writer.write_int_value("maxRunTimeInMinutes", self.max_run_time_in_minutes) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/win32_lob_app_msi_information.py b/msgraph_beta/generated/models/win32_lob_app_msi_information.py index cbd8c6e09bc..04e1a42c863 100644 --- a/msgraph_beta/generated/models/win32_lob_app_msi_information.py +++ b/msgraph_beta/generated/models/win32_lob_app_msi_information.py @@ -74,6 +74,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .win32_lob_app_msi_package_type import Win32LobAppMsiPackageType + writer.write_str_value("@odata.type", self.odata_type) writer.write_enum_value("packageType", self.package_type) writer.write_str_value("productCode", self.product_code) diff --git a/msgraph_beta/generated/models/win32_lob_app_power_shell_script_detection.py b/msgraph_beta/generated/models/win32_lob_app_power_shell_script_detection.py index 3aaa48c9108..49660a3ec09 100644 --- a/msgraph_beta/generated/models/win32_lob_app_power_shell_script_detection.py +++ b/msgraph_beta/generated/models/win32_lob_app_power_shell_script_detection.py @@ -60,6 +60,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .win32_lob_app_detection import Win32LobAppDetection + writer.write_bool_value("enforceSignatureCheck", self.enforce_signature_check) writer.write_bool_value("runAs32Bit", self.run_as32_bit) writer.write_str_value("scriptContent", self.script_content) diff --git a/msgraph_beta/generated/models/win32_lob_app_power_shell_script_requirement.py b/msgraph_beta/generated/models/win32_lob_app_power_shell_script_requirement.py index 5b0b7ecc284..fe0ef79a088 100644 --- a/msgraph_beta/generated/models/win32_lob_app_power_shell_script_requirement.py +++ b/msgraph_beta/generated/models/win32_lob_app_power_shell_script_requirement.py @@ -75,6 +75,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .run_as_account_type import RunAsAccountType + from .win32_lob_app_power_shell_script_detection_type import Win32LobAppPowerShellScriptDetectionType + from .win32_lob_app_requirement import Win32LobAppRequirement + writer.write_enum_value("detectionType", self.detection_type) writer.write_str_value("displayName", self.display_name) writer.write_bool_value("enforceSignatureCheck", self.enforce_signature_check) diff --git a/msgraph_beta/generated/models/win32_lob_app_power_shell_script_rule.py b/msgraph_beta/generated/models/win32_lob_app_power_shell_script_rule.py index ea2a97330ef..4d9a93282ad 100644 --- a/msgraph_beta/generated/models/win32_lob_app_power_shell_script_rule.py +++ b/msgraph_beta/generated/models/win32_lob_app_power_shell_script_rule.py @@ -84,6 +84,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .run_as_account_type import RunAsAccountType + from .win32_lob_app_power_shell_script_rule_operation_type import Win32LobAppPowerShellScriptRuleOperationType + from .win32_lob_app_rule import Win32LobAppRule + from .win32_lob_app_rule_operator import Win32LobAppRuleOperator + writer.write_str_value("comparisonValue", self.comparison_value) writer.write_str_value("displayName", self.display_name) writer.write_bool_value("enforceSignatureCheck", self.enforce_signature_check) diff --git a/msgraph_beta/generated/models/win32_lob_app_product_code_detection.py b/msgraph_beta/generated/models/win32_lob_app_product_code_detection.py index 649f9a019ed..469d7464990 100644 --- a/msgraph_beta/generated/models/win32_lob_app_product_code_detection.py +++ b/msgraph_beta/generated/models/win32_lob_app_product_code_detection.py @@ -63,6 +63,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .win32_lob_app_detection import Win32LobAppDetection + from .win32_lob_app_detection_operator import Win32LobAppDetectionOperator + writer.write_str_value("productCode", self.product_code) writer.write_str_value("productVersion", self.product_version) writer.write_enum_value("productVersionOperator", self.product_version_operator) diff --git a/msgraph_beta/generated/models/win32_lob_app_product_code_rule.py b/msgraph_beta/generated/models/win32_lob_app_product_code_rule.py index ef61d654a19..d8a38c02d9d 100644 --- a/msgraph_beta/generated/models/win32_lob_app_product_code_rule.py +++ b/msgraph_beta/generated/models/win32_lob_app_product_code_rule.py @@ -63,6 +63,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .win32_lob_app_rule import Win32LobAppRule + from .win32_lob_app_rule_operator import Win32LobAppRuleOperator + writer.write_str_value("productCode", self.product_code) writer.write_str_value("productVersion", self.product_version) writer.write_enum_value("productVersionOperator", self.product_version_operator) diff --git a/msgraph_beta/generated/models/win32_lob_app_registry_detection.py b/msgraph_beta/generated/models/win32_lob_app_registry_detection.py index a2877a58675..bc5b327bf88 100644 --- a/msgraph_beta/generated/models/win32_lob_app_registry_detection.py +++ b/msgraph_beta/generated/models/win32_lob_app_registry_detection.py @@ -75,6 +75,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .win32_lob_app_detection import Win32LobAppDetection + from .win32_lob_app_detection_operator import Win32LobAppDetectionOperator + from .win32_lob_app_registry_detection_type import Win32LobAppRegistryDetectionType + writer.write_bool_value("check32BitOn64System", self.check32_bit_on64_system) writer.write_enum_value("detectionType", self.detection_type) writer.write_str_value("detectionValue", self.detection_value) diff --git a/msgraph_beta/generated/models/win32_lob_app_registry_requirement.py b/msgraph_beta/generated/models/win32_lob_app_registry_requirement.py index 4d787a9302b..13eb0f6bb2c 100644 --- a/msgraph_beta/generated/models/win32_lob_app_registry_requirement.py +++ b/msgraph_beta/generated/models/win32_lob_app_registry_requirement.py @@ -66,6 +66,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .win32_lob_app_registry_detection_type import Win32LobAppRegistryDetectionType + from .win32_lob_app_requirement import Win32LobAppRequirement + writer.write_bool_value("check32BitOn64System", self.check32_bit_on64_system) writer.write_enum_value("detectionType", self.detection_type) writer.write_str_value("keyPath", self.key_path) diff --git a/msgraph_beta/generated/models/win32_lob_app_registry_rule.py b/msgraph_beta/generated/models/win32_lob_app_registry_rule.py index 1816a203acf..243053bfa27 100644 --- a/msgraph_beta/generated/models/win32_lob_app_registry_rule.py +++ b/msgraph_beta/generated/models/win32_lob_app_registry_rule.py @@ -75,6 +75,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .win32_lob_app_registry_rule_operation_type import Win32LobAppRegistryRuleOperationType + from .win32_lob_app_rule import Win32LobAppRule + from .win32_lob_app_rule_operator import Win32LobAppRuleOperator + writer.write_bool_value("check32BitOn64System", self.check32_bit_on64_system) writer.write_str_value("comparisonValue", self.comparison_value) writer.write_str_value("keyPath", self.key_path) diff --git a/msgraph_beta/generated/models/win32_lob_app_requirement.py b/msgraph_beta/generated/models/win32_lob_app_requirement.py index 21c59856768..7bd1119b081 100644 --- a/msgraph_beta/generated/models/win32_lob_app_requirement.py +++ b/msgraph_beta/generated/models/win32_lob_app_requirement.py @@ -37,7 +37,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> Win32LobAppRequire if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.win32LobAppFileSystemRequirement".casefold(): @@ -84,6 +85,11 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .win32_lob_app_detection_operator import Win32LobAppDetectionOperator + from .win32_lob_app_file_system_requirement import Win32LobAppFileSystemRequirement + from .win32_lob_app_power_shell_script_requirement import Win32LobAppPowerShellScriptRequirement + from .win32_lob_app_registry_requirement import Win32LobAppRegistryRequirement + writer.write_str_value("detectionValue", self.detection_value) writer.write_str_value("@odata.type", self.odata_type) writer.write_enum_value("operator", self.operator) diff --git a/msgraph_beta/generated/models/win32_lob_app_return_code.py b/msgraph_beta/generated/models/win32_lob_app_return_code.py index 45660460514..c309240d7dc 100644 --- a/msgraph_beta/generated/models/win32_lob_app_return_code.py +++ b/msgraph_beta/generated/models/win32_lob_app_return_code.py @@ -59,6 +59,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .win32_lob_app_return_code_type import Win32LobAppReturnCodeType + writer.write_str_value("@odata.type", self.odata_type) writer.write_int_value("returnCode", self.return_code) writer.write_enum_value("type", self.type) diff --git a/msgraph_beta/generated/models/win32_lob_app_rule.py b/msgraph_beta/generated/models/win32_lob_app_rule.py index d9614d1efd6..70b62a2abcc 100644 --- a/msgraph_beta/generated/models/win32_lob_app_rule.py +++ b/msgraph_beta/generated/models/win32_lob_app_rule.py @@ -36,7 +36,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> Win32LobAppRule: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.win32LobAppFileSystemRule".casefold(): @@ -88,6 +89,12 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .win32_lob_app_file_system_rule import Win32LobAppFileSystemRule + from .win32_lob_app_power_shell_script_rule import Win32LobAppPowerShellScriptRule + from .win32_lob_app_product_code_rule import Win32LobAppProductCodeRule + from .win32_lob_app_registry_rule import Win32LobAppRegistryRule + from .win32_lob_app_rule_type import Win32LobAppRuleType + writer.write_str_value("@odata.type", self.odata_type) writer.write_enum_value("ruleType", self.rule_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/win32_mobile_app_catalog_package.py b/msgraph_beta/generated/models/win32_mobile_app_catalog_package.py index e7bbcba9042..a17b4fcf6c4 100644 --- a/msgraph_beta/generated/models/win32_mobile_app_catalog_package.py +++ b/msgraph_beta/generated/models/win32_mobile_app_catalog_package.py @@ -66,6 +66,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .mobile_app_catalog_package import MobileAppCatalogPackage + from .windows_architecture import WindowsArchitecture + writer.write_enum_value("applicableArchitectures", self.applicable_architectures) diff --git a/msgraph_beta/generated/models/win_get_app.py b/msgraph_beta/generated/models/win_get_app.py index 24af30bc4cb..62208a4d74e 100644 --- a/msgraph_beta/generated/models/win_get_app.py +++ b/msgraph_beta/generated/models/win_get_app.py @@ -63,6 +63,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .mobile_app import MobileApp + from .win_get_app_install_experience import WinGetAppInstallExperience + writer.write_object_value("installExperience", self.install_experience) writer.write_str_value("manifestHash", self.manifest_hash) writer.write_str_value("packageIdentifier", self.package_identifier) diff --git a/msgraph_beta/generated/models/win_get_app_assignment_settings.py b/msgraph_beta/generated/models/win_get_app_assignment_settings.py index 21f0a7d65ff..7578774b95b 100644 --- a/msgraph_beta/generated/models/win_get_app_assignment_settings.py +++ b/msgraph_beta/generated/models/win_get_app_assignment_settings.py @@ -69,6 +69,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .mobile_app_assignment_settings import MobileAppAssignmentSettings + from .win_get_app_install_time_settings import WinGetAppInstallTimeSettings + from .win_get_app_notification import WinGetAppNotification + from .win_get_app_restart_settings import WinGetAppRestartSettings + writer.write_object_value("installTimeSettings", self.install_time_settings) writer.write_enum_value("notifications", self.notifications) writer.write_object_value("restartSettings", self.restart_settings) diff --git a/msgraph_beta/generated/models/win_get_app_collection_response.py b/msgraph_beta/generated/models/win_get_app_collection_response.py index 83bbc10bf43..62b9a8c756e 100644 --- a/msgraph_beta/generated/models/win_get_app_collection_response.py +++ b/msgraph_beta/generated/models/win_get_app_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .win_get_app import WinGetApp + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/win_get_app_install_experience.py b/msgraph_beta/generated/models/win_get_app_install_experience.py index 72fdca8112f..75de7fb5f35 100644 --- a/msgraph_beta/generated/models/win_get_app_install_experience.py +++ b/msgraph_beta/generated/models/win_get_app_install_experience.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .run_as_account_type import RunAsAccountType + writer.write_str_value("@odata.type", self.odata_type) writer.write_enum_value("runAsAccount", self.run_as_account) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/windows10_apps_force_update_schedule.py b/msgraph_beta/generated/models/windows10_apps_force_update_schedule.py index 4ff3fe1ada8..7f5a2992e11 100644 --- a/msgraph_beta/generated/models/windows10_apps_force_update_schedule.py +++ b/msgraph_beta/generated/models/windows10_apps_force_update_schedule.py @@ -63,6 +63,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .windows10_apps_update_recurrence import Windows10AppsUpdateRecurrence + writer.write_str_value("@odata.type", self.odata_type) writer.write_enum_value("recurrence", self.recurrence) writer.write_bool_value("runImmediatelyIfAfterStartDateTime", self.run_immediately_if_after_start_date_time) diff --git a/msgraph_beta/generated/models/windows10_associated_apps.py b/msgraph_beta/generated/models/windows10_associated_apps.py index 5cd789b45da..e077730846c 100644 --- a/msgraph_beta/generated/models/windows10_associated_apps.py +++ b/msgraph_beta/generated/models/windows10_associated_apps.py @@ -59,6 +59,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .windows10_app_type import Windows10AppType + writer.write_enum_value("appType", self.app_type) writer.write_str_value("identifier", self.identifier) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/windows10_certificate_profile_base.py b/msgraph_beta/generated/models/windows10_certificate_profile_base.py index 90de945b443..65c0e52dbb1 100644 --- a/msgraph_beta/generated/models/windows10_certificate_profile_base.py +++ b/msgraph_beta/generated/models/windows10_certificate_profile_base.py @@ -27,7 +27,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> Windows10Certifica if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.windows10PkcsCertificateProfile".casefold(): @@ -62,5 +63,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .windows10_pkcs_certificate_profile import Windows10PkcsCertificateProfile + from .windows_certificate_profile_base import WindowsCertificateProfileBase + diff --git a/msgraph_beta/generated/models/windows10_compliance_policy.py b/msgraph_beta/generated/models/windows10_compliance_policy.py index a46c581c4cc..5e657621163 100644 --- a/msgraph_beta/generated/models/windows10_compliance_policy.py +++ b/msgraph_beta/generated/models/windows10_compliance_policy.py @@ -9,6 +9,7 @@ from .device_threat_protection_level import DeviceThreatProtectionLevel from .operating_system_version_range import OperatingSystemVersionRange from .required_password_type import RequiredPasswordType + from .wsl_distribution_configuration import WslDistributionConfiguration from .device_compliance_policy import DeviceCompliancePolicy @@ -91,6 +92,8 @@ class Windows10CompliancePolicy(DeviceCompliancePolicy): valid_operating_system_build_ranges: Optional[List[OperatingSystemVersionRange]] = None # When TRUE, indicates that Virtualization-based Security is required to be reported as healthy by Microsoft Azure Attestion. When FALSE, indicates that Virtualization-based Security is not required to be reported as healthy. Default value is FALSE. virtualization_based_security_enabled: Optional[bool] = None + # The wslDistributions property + wsl_distributions: Optional[List[WslDistributionConfiguration]] = None @staticmethod def create_from_discriminator_value(parse_node: ParseNode) -> Windows10CompliancePolicy: @@ -113,12 +116,14 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .device_threat_protection_level import DeviceThreatProtectionLevel from .operating_system_version_range import OperatingSystemVersionRange from .required_password_type import RequiredPasswordType + from .wsl_distribution_configuration import WslDistributionConfiguration from .device_compliance_policy import DeviceCompliancePolicy from .device_compliance_policy_script import DeviceCompliancePolicyScript from .device_threat_protection_level import DeviceThreatProtectionLevel from .operating_system_version_range import OperatingSystemVersionRange from .required_password_type import RequiredPasswordType + from .wsl_distribution_configuration import WslDistributionConfiguration fields: Dict[str, Callable[[Any], None]] = { "activeFirewallRequired": lambda n : setattr(self, 'active_firewall_required', n.get_bool_value()), @@ -157,6 +162,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: "tpmRequired": lambda n : setattr(self, 'tpm_required', n.get_bool_value()), "validOperatingSystemBuildRanges": lambda n : setattr(self, 'valid_operating_system_build_ranges', n.get_collection_of_object_values(OperatingSystemVersionRange)), "virtualizationBasedSecurityEnabled": lambda n : setattr(self, 'virtualization_based_security_enabled', n.get_bool_value()), + "wslDistributions": lambda n : setattr(self, 'wsl_distributions', n.get_collection_of_object_values(WslDistributionConfiguration)), } super_fields = super().get_field_deserializers() fields.update(super_fields) @@ -171,6 +177,13 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_compliance_policy import DeviceCompliancePolicy + from .device_compliance_policy_script import DeviceCompliancePolicyScript + from .device_threat_protection_level import DeviceThreatProtectionLevel + from .operating_system_version_range import OperatingSystemVersionRange + from .required_password_type import RequiredPasswordType + from .wsl_distribution_configuration import WslDistributionConfiguration + writer.write_bool_value("activeFirewallRequired", self.active_firewall_required) writer.write_bool_value("antiSpywareRequired", self.anti_spyware_required) writer.write_bool_value("antivirusRequired", self.antivirus_required) @@ -207,5 +220,6 @@ def serialize(self,writer: SerializationWriter) -> None: writer.write_bool_value("tpmRequired", self.tpm_required) writer.write_collection_of_object_values("validOperatingSystemBuildRanges", self.valid_operating_system_build_ranges) writer.write_bool_value("virtualizationBasedSecurityEnabled", self.virtualization_based_security_enabled) + writer.write_collection_of_object_values("wslDistributions", self.wsl_distributions) diff --git a/msgraph_beta/generated/models/windows10_custom_configuration.py b/msgraph_beta/generated/models/windows10_custom_configuration.py index ce51fcbdd1a..5895bbcec7e 100644 --- a/msgraph_beta/generated/models/windows10_custom_configuration.py +++ b/msgraph_beta/generated/models/windows10_custom_configuration.py @@ -57,6 +57,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_configuration import DeviceConfiguration + from .oma_setting import OmaSetting + writer.write_collection_of_object_values("omaSettings", self.oma_settings) diff --git a/msgraph_beta/generated/models/windows10_device_firmware_configuration_interface.py b/msgraph_beta/generated/models/windows10_device_firmware_configuration_interface.py index 329a46e78c7..986224e60c4 100644 --- a/msgraph_beta/generated/models/windows10_device_firmware_configuration_interface.py +++ b/msgraph_beta/generated/models/windows10_device_firmware_configuration_interface.py @@ -120,6 +120,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .change_uefi_settings_permission import ChangeUefiSettingsPermission + from .device_configuration import DeviceConfiguration + from .enablement import Enablement + writer.write_enum_value("bluetooth", self.bluetooth) writer.write_enum_value("bootFromBuiltInNetworkAdapters", self.boot_from_built_in_network_adapters) writer.write_enum_value("bootFromExternalMedia", self.boot_from_external_media) diff --git a/msgraph_beta/generated/models/windows10_eas_email_profile_configuration.py b/msgraph_beta/generated/models/windows10_eas_email_profile_configuration.py index e610e45d028..5a20b11b3f9 100644 --- a/msgraph_beta/generated/models/windows10_eas_email_profile_configuration.py +++ b/msgraph_beta/generated/models/windows10_eas_email_profile_configuration.py @@ -87,6 +87,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .eas_email_profile_configuration_base import EasEmailProfileConfigurationBase + from .email_sync_duration import EmailSyncDuration + from .email_sync_schedule import EmailSyncSchedule + from .user_email_source import UserEmailSource + writer.write_str_value("accountName", self.account_name) writer.write_enum_value("durationOfEmailToSync", self.duration_of_email_to_sync) writer.write_enum_value("emailAddressSource", self.email_address_source) diff --git a/msgraph_beta/generated/models/windows10_endpoint_protection_configuration.py b/msgraph_beta/generated/models/windows10_endpoint_protection_configuration.py index 027e9324dca..4ef3f30779e 100644 --- a/msgraph_beta/generated/models/windows10_endpoint_protection_configuration.py +++ b/msgraph_beta/generated/models/windows10_endpoint_protection_configuration.py @@ -847,6 +847,47 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .application_guard_block_clipboard_sharing_type import ApplicationGuardBlockClipboardSharingType + from .application_guard_block_file_transfer_type import ApplicationGuardBlockFileTransferType + from .application_guard_enabled_options import ApplicationGuardEnabledOptions + from .app_locker_application_control_type import AppLockerApplicationControlType + from .bit_locker_fixed_drive_policy import BitLockerFixedDrivePolicy + from .bit_locker_recovery_password_rotation_type import BitLockerRecoveryPasswordRotationType + from .bit_locker_removable_drive_policy import BitLockerRemovableDrivePolicy + from .bit_locker_system_drive_policy import BitLockerSystemDrivePolicy + from .defender_attack_surface_type import DefenderAttackSurfaceType + from .defender_cloud_block_level_type import DefenderCloudBlockLevelType + from .defender_detected_malware_actions import DefenderDetectedMalwareActions + from .defender_protection_type import DefenderProtectionType + from .defender_realtime_scan_direction import DefenderRealtimeScanDirection + from .defender_scan_type import DefenderScanType + from .defender_security_center_i_t_contact_display_type import DefenderSecurityCenterITContactDisplayType + from .defender_security_center_notifications_from_app_type import DefenderSecurityCenterNotificationsFromAppType + from .defender_submit_samples_consent_type import DefenderSubmitSamplesConsentType + from .device_configuration import DeviceConfiguration + from .device_guard_local_system_authority_credential_guard_type import DeviceGuardLocalSystemAuthorityCredentialGuardType + from .device_management_user_rights_setting import DeviceManagementUserRightsSetting + from .dma_guard_device_enumeration_policy_type import DmaGuardDeviceEnumerationPolicyType + from .enablement import Enablement + from .firewall_certificate_revocation_list_check_method_type import FirewallCertificateRevocationListCheckMethodType + from .firewall_packet_queueing_method_type import FirewallPacketQueueingMethodType + from .firewall_pre_shared_key_encoding_method_type import FirewallPreSharedKeyEncodingMethodType + from .folder_protection_type import FolderProtectionType + from .lan_manager_authentication_level import LanManagerAuthenticationLevel + from .local_security_options_administrator_elevation_prompt_behavior_type import LocalSecurityOptionsAdministratorElevationPromptBehaviorType + from .local_security_options_format_and_eject_of_removable_media_allowed_user_type import LocalSecurityOptionsFormatAndEjectOfRemovableMediaAllowedUserType + from .local_security_options_information_displayed_on_lock_screen_type import LocalSecurityOptionsInformationDisplayedOnLockScreenType + from .local_security_options_information_shown_on_lock_screen_type import LocalSecurityOptionsInformationShownOnLockScreenType + from .local_security_options_minimum_session_security import LocalSecurityOptionsMinimumSessionSecurity + from .local_security_options_smart_card_removal_behavior_type import LocalSecurityOptionsSmartCardRemovalBehaviorType + from .local_security_options_standard_user_elevation_prompt_behavior_type import LocalSecurityOptionsStandardUserElevationPromptBehaviorType + from .secure_boot_with_d_m_a_type import SecureBootWithDMAType + from .service_start_type import ServiceStartType + from .weekly_schedule import WeeklySchedule + from .windows_defender_tamper_protection_options import WindowsDefenderTamperProtectionOptions + from .windows_firewall_network_profile import WindowsFirewallNetworkProfile + from .windows_firewall_rule import WindowsFirewallRule + writer.write_enum_value("appLockerApplicationControl", self.app_locker_application_control) writer.write_bool_value("applicationGuardAllowCameraMicrophoneRedirection", self.application_guard_allow_camera_microphone_redirection) writer.write_bool_value("applicationGuardAllowFileSaveOnHost", self.application_guard_allow_file_save_on_host) diff --git a/msgraph_beta/generated/models/windows10_enrollment_completion_page_configuration.py b/msgraph_beta/generated/models/windows10_enrollment_completion_page_configuration.py index ea52a7a3e97..0865ba26e06 100644 --- a/msgraph_beta/generated/models/windows10_enrollment_completion_page_configuration.py +++ b/msgraph_beta/generated/models/windows10_enrollment_completion_page_configuration.py @@ -87,6 +87,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_enrollment_configuration import DeviceEnrollmentConfiguration + writer.write_bool_value("allowDeviceResetOnInstallFailure", self.allow_device_reset_on_install_failure) writer.write_bool_value("allowDeviceUseOnInstallFailure", self.allow_device_use_on_install_failure) writer.write_bool_value("allowLogCollectionOnInstallFailure", self.allow_log_collection_on_install_failure) diff --git a/msgraph_beta/generated/models/windows10_enrollment_completion_page_configuration_policy_set_item.py b/msgraph_beta/generated/models/windows10_enrollment_completion_page_configuration_policy_set_item.py index b7d0c8fc8e1..96755177863 100644 --- a/msgraph_beta/generated/models/windows10_enrollment_completion_page_configuration_policy_set_item.py +++ b/msgraph_beta/generated/models/windows10_enrollment_completion_page_configuration_policy_set_item.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .policy_set_item import PolicySetItem + writer.write_int_value("priority", self.priority) diff --git a/msgraph_beta/generated/models/windows10_enterprise_modern_app_management_configuration.py b/msgraph_beta/generated/models/windows10_enterprise_modern_app_management_configuration.py index c18d4971cb5..dc3fedb10e5 100644 --- a/msgraph_beta/generated/models/windows10_enterprise_modern_app_management_configuration.py +++ b/msgraph_beta/generated/models/windows10_enterprise_modern_app_management_configuration.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_configuration import DeviceConfiguration + writer.write_bool_value("uninstallBuiltInApps", self.uninstall_built_in_apps) diff --git a/msgraph_beta/generated/models/windows10_general_configuration.py b/msgraph_beta/generated/models/windows10_general_configuration.py index aec1aa09160..8bb34f9412f 100644 --- a/msgraph_beta/generated/models/windows10_general_configuration.py +++ b/msgraph_beta/generated/models/windows10_general_configuration.py @@ -1003,6 +1003,42 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .app_install_control_type import AppInstallControlType + from .browser_sync_setting import BrowserSyncSetting + from .configuration_usage import ConfigurationUsage + from .defender_cloud_block_level_type import DefenderCloudBlockLevelType + from .defender_detected_malware_actions import DefenderDetectedMalwareActions + from .defender_monitor_file_activity import DefenderMonitorFileActivity + from .defender_potentially_unwanted_app_action import DefenderPotentiallyUnwantedAppAction + from .defender_prompt_for_sample_submission import DefenderPromptForSampleSubmission + from .defender_protection_type import DefenderProtectionType + from .defender_scan_type import DefenderScanType + from .defender_submit_samples_consent_type import DefenderSubmitSamplesConsentType + from .device_configuration import DeviceConfiguration + from .diagnostic_data_submission_mode import DiagnosticDataSubmissionMode + from .edge_cookie_policy import EdgeCookiePolicy + from .edge_home_button_configuration import EdgeHomeButtonConfiguration + from .edge_kiosk_mode_restriction_type import EdgeKioskModeRestrictionType + from .edge_open_options import EdgeOpenOptions + from .edge_search_engine_base import EdgeSearchEngineBase + from .edge_telemetry_mode import EdgeTelemetryMode + from .enablement import Enablement + from .ink_access_setting import InkAccessSetting + from .internet_explorer_message_setting import InternetExplorerMessageSetting + from .power_action_type import PowerActionType + from .required_password_type import RequiredPasswordType + from .safe_search_filter_type import SafeSearchFilterType + from .sign_in_assistant_options import SignInAssistantOptions + from .state_management_setting import StateManagementSetting + from .visibility_setting import VisibilitySetting + from .weekly_schedule import WeeklySchedule + from .windows10_apps_force_update_schedule import Windows10AppsForceUpdateSchedule + from .windows10_network_proxy_server import Windows10NetworkProxyServer + from .windows_privacy_data_access_control_item import WindowsPrivacyDataAccessControlItem + from .windows_spotlight_enablement_settings import WindowsSpotlightEnablementSettings + from .windows_start_menu_app_list_visibility_type import WindowsStartMenuAppListVisibilityType + from .windows_start_menu_mode_type import WindowsStartMenuModeType + writer.write_bool_value("accountsBlockAddingNonMicrosoftAccountEmail", self.accounts_block_adding_non_microsoft_account_email) writer.write_enum_value("activateAppsWithVoice", self.activate_apps_with_voice) writer.write_bool_value("antiTheftModeBlocked", self.anti_theft_mode_blocked) diff --git a/msgraph_beta/generated/models/windows10_imported_p_f_x_certificate_profile.py b/msgraph_beta/generated/models/windows10_imported_p_f_x_certificate_profile.py index 41b9b01798b..cd142a8cf5f 100644 --- a/msgraph_beta/generated/models/windows10_imported_p_f_x_certificate_profile.py +++ b/msgraph_beta/generated/models/windows10_imported_p_f_x_certificate_profile.py @@ -63,6 +63,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .intended_purpose import IntendedPurpose + from .managed_device_certificate_state import ManagedDeviceCertificateState + from .windows_certificate_profile_base import WindowsCertificateProfileBase + writer.write_enum_value("intendedPurpose", self.intended_purpose) writer.write_collection_of_object_values("managedDeviceCertificateStates", self.managed_device_certificate_states) diff --git a/msgraph_beta/generated/models/windows10_mobile_compliance_policy.py b/msgraph_beta/generated/models/windows10_mobile_compliance_policy.py index a7f95d0aaa9..15d9f8dead4 100644 --- a/msgraph_beta/generated/models/windows10_mobile_compliance_policy.py +++ b/msgraph_beta/generated/models/windows10_mobile_compliance_policy.py @@ -111,6 +111,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_compliance_policy import DeviceCompliancePolicy + from .operating_system_version_range import OperatingSystemVersionRange + from .required_password_type import RequiredPasswordType + writer.write_bool_value("activeFirewallRequired", self.active_firewall_required) writer.write_bool_value("bitLockerEnabled", self.bit_locker_enabled) writer.write_bool_value("codeIntegrityEnabled", self.code_integrity_enabled) diff --git a/msgraph_beta/generated/models/windows10_network_boundary_configuration.py b/msgraph_beta/generated/models/windows10_network_boundary_configuration.py index 6457357689d..66452143213 100644 --- a/msgraph_beta/generated/models/windows10_network_boundary_configuration.py +++ b/msgraph_beta/generated/models/windows10_network_boundary_configuration.py @@ -57,6 +57,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_configuration import DeviceConfiguration + from .windows_network_isolation_policy import WindowsNetworkIsolationPolicy + writer.write_object_value("windowsNetworkIsolationPolicy", self.windows_network_isolation_policy) diff --git a/msgraph_beta/generated/models/windows10_p_f_x_import_certificate_profile.py b/msgraph_beta/generated/models/windows10_p_f_x_import_certificate_profile.py index 3c27be1a021..22f99f89d99 100644 --- a/msgraph_beta/generated/models/windows10_p_f_x_import_certificate_profile.py +++ b/msgraph_beta/generated/models/windows10_p_f_x_import_certificate_profile.py @@ -57,6 +57,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_configuration import DeviceConfiguration + from .key_storage_provider_option import KeyStorageProviderOption + writer.write_enum_value("keyStorageProvider", self.key_storage_provider) diff --git a/msgraph_beta/generated/models/windows10_pkcs_certificate_profile.py b/msgraph_beta/generated/models/windows10_pkcs_certificate_profile.py index e21ce9b5133..924f6f53dd8 100644 --- a/msgraph_beta/generated/models/windows10_pkcs_certificate_profile.py +++ b/msgraph_beta/generated/models/windows10_pkcs_certificate_profile.py @@ -90,6 +90,12 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .certificate_store import CertificateStore + from .custom_subject_alternative_name import CustomSubjectAlternativeName + from .extended_key_usage import ExtendedKeyUsage + from .managed_device_certificate_state import ManagedDeviceCertificateState + from .windows10_certificate_profile_base import Windows10CertificateProfileBase + writer.write_enum_value("certificateStore", self.certificate_store) writer.write_str_value("certificateTemplateName", self.certificate_template_name) writer.write_str_value("certificationAuthority", self.certification_authority) diff --git a/msgraph_beta/generated/models/windows10_secure_assessment_configuration.py b/msgraph_beta/generated/models/windows10_secure_assessment_configuration.py index 1a4392488e8..76f04277df0 100644 --- a/msgraph_beta/generated/models/windows10_secure_assessment_configuration.py +++ b/msgraph_beta/generated/models/windows10_secure_assessment_configuration.py @@ -78,6 +78,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_configuration import DeviceConfiguration + from .secure_assessment_account_type import SecureAssessmentAccountType + writer.write_bool_value("allowPrinting", self.allow_printing) writer.write_bool_value("allowScreenCapture", self.allow_screen_capture) writer.write_bool_value("allowTextSuggestion", self.allow_text_suggestion) diff --git a/msgraph_beta/generated/models/windows10_team_general_configuration.py b/msgraph_beta/generated/models/windows10_team_general_configuration.py index dd75c789476..13b25cf08cc 100644 --- a/msgraph_beta/generated/models/windows10_team_general_configuration.py +++ b/msgraph_beta/generated/models/windows10_team_general_configuration.py @@ -118,6 +118,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_configuration import DeviceConfiguration + from .miracast_channel import MiracastChannel + from .welcome_screen_meeting_information import WelcomeScreenMeetingInformation + writer.write_bool_value("azureOperationalInsightsBlockTelemetry", self.azure_operational_insights_block_telemetry) writer.write_str_value("azureOperationalInsightsWorkspaceId", self.azure_operational_insights_workspace_id) writer.write_str_value("azureOperationalInsightsWorkspaceKey", self.azure_operational_insights_workspace_key) diff --git a/msgraph_beta/generated/models/windows10_vpn_configuration.py b/msgraph_beta/generated/models/windows10_vpn_configuration.py index 43f2d8edbdd..2cc4590f17e 100644 --- a/msgraph_beta/generated/models/windows10_vpn_configuration.py +++ b/msgraph_beta/generated/models/windows10_vpn_configuration.py @@ -159,6 +159,19 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .cryptography_suite import CryptographySuite + from .extended_key_usage import ExtendedKeyUsage + from .vpn_dns_rule import VpnDnsRule + from .vpn_route import VpnRoute + from .vpn_traffic_rule import VpnTrafficRule + from .windows10_associated_apps import Windows10AssociatedApps + from .windows10_vpn_authentication_method import Windows10VpnAuthenticationMethod + from .windows10_vpn_connection_type import Windows10VpnConnectionType + from .windows10_vpn_profile_target import Windows10VpnProfileTarget + from .windows10_vpn_proxy_server import Windows10VpnProxyServer + from .windows_certificate_profile_base import WindowsCertificateProfileBase + from .windows_vpn_configuration import WindowsVpnConfiguration + writer.write_collection_of_object_values("associatedApps", self.associated_apps) writer.write_enum_value("authenticationMethod", self.authentication_method) writer.write_enum_value("connectionType", self.connection_type) diff --git a/msgraph_beta/generated/models/windows10_vpn_proxy_server.py b/msgraph_beta/generated/models/windows10_vpn_proxy_server.py index 965aef1c12c..b48885ea39e 100644 --- a/msgraph_beta/generated/models/windows10_vpn_proxy_server.py +++ b/msgraph_beta/generated/models/windows10_vpn_proxy_server.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .vpn_proxy_server import VpnProxyServer + writer.write_bool_value("bypassProxyServerForLocalAddress", self.bypass_proxy_server_for_local_address) diff --git a/msgraph_beta/generated/models/windows10_x_certificate_profile.py b/msgraph_beta/generated/models/windows10_x_certificate_profile.py index 1afd02b307e..a22bd43166c 100644 --- a/msgraph_beta/generated/models/windows10_x_certificate_profile.py +++ b/msgraph_beta/generated/models/windows10_x_certificate_profile.py @@ -27,7 +27,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> Windows10XCertific if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.windows10XSCEPCertificateProfile".casefold(): @@ -62,5 +63,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_management_resource_access_profile_base import DeviceManagementResourceAccessProfileBase + from .windows10_x_s_c_e_p_certificate_profile import Windows10XSCEPCertificateProfile + diff --git a/msgraph_beta/generated/models/windows10_x_custom_subject_alternative_name.py b/msgraph_beta/generated/models/windows10_x_custom_subject_alternative_name.py index 0192e20bc07..d36c3a72f54 100644 --- a/msgraph_beta/generated/models/windows10_x_custom_subject_alternative_name.py +++ b/msgraph_beta/generated/models/windows10_x_custom_subject_alternative_name.py @@ -59,6 +59,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .subject_alternative_name_type import SubjectAlternativeNameType + writer.write_str_value("name", self.name) writer.write_str_value("@odata.type", self.odata_type) writer.write_enum_value("sanType", self.san_type) diff --git a/msgraph_beta/generated/models/windows10_x_s_c_e_p_certificate_profile.py b/msgraph_beta/generated/models/windows10_x_s_c_e_p_certificate_profile.py index a7608714de8..37289f1f372 100644 --- a/msgraph_beta/generated/models/windows10_x_s_c_e_p_certificate_profile.py +++ b/msgraph_beta/generated/models/windows10_x_s_c_e_p_certificate_profile.py @@ -115,6 +115,16 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .certificate_store import CertificateStore + from .certificate_validity_period_scale import CertificateValidityPeriodScale + from .extended_key_usage import ExtendedKeyUsage + from .hash_algorithms import HashAlgorithms + from .key_size import KeySize + from .key_storage_provider_option import KeyStorageProviderOption + from .key_usages import KeyUsages + from .windows10_x_certificate_profile import Windows10XCertificateProfile + from .windows10_x_custom_subject_alternative_name import Windows10XCustomSubjectAlternativeName + writer.write_enum_value("certificateStore", self.certificate_store) writer.write_enum_value("certificateValidityPeriodScale", self.certificate_validity_period_scale) writer.write_int_value("certificateValidityPeriodValue", self.certificate_validity_period_value) diff --git a/msgraph_beta/generated/models/windows10_x_trusted_root_certificate.py b/msgraph_beta/generated/models/windows10_x_trusted_root_certificate.py index 0c416621728..c4e6b3cf14b 100644 --- a/msgraph_beta/generated/models/windows10_x_trusted_root_certificate.py +++ b/msgraph_beta/generated/models/windows10_x_trusted_root_certificate.py @@ -63,6 +63,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .certificate_destination_store import CertificateDestinationStore + from .device_management_resource_access_profile_base import DeviceManagementResourceAccessProfileBase + writer.write_str_value("certFileName", self.cert_file_name) writer.write_enum_value("destinationStore", self.destination_store) writer.write_bytes_value("trustedRootCertificate", self.trusted_root_certificate) diff --git a/msgraph_beta/generated/models/windows10_x_vpn_configuration.py b/msgraph_beta/generated/models/windows10_x_vpn_configuration.py index 209c511a77e..0a5c504dcbe 100644 --- a/msgraph_beta/generated/models/windows10_x_vpn_configuration.py +++ b/msgraph_beta/generated/models/windows10_x_vpn_configuration.py @@ -61,6 +61,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_management_resource_access_profile_base import DeviceManagementResourceAccessProfileBase + writer.write_uuid_value("authenticationCertificateId", self.authentication_certificate_id) writer.write_bytes_value("customXml", self.custom_xml) writer.write_str_value("customXmlFileName", self.custom_xml_file_name) diff --git a/msgraph_beta/generated/models/windows10_x_wifi_configuration.py b/msgraph_beta/generated/models/windows10_x_wifi_configuration.py index 505bf5aff93..c5dd42e5575 100644 --- a/msgraph_beta/generated/models/windows10_x_wifi_configuration.py +++ b/msgraph_beta/generated/models/windows10_x_wifi_configuration.py @@ -61,6 +61,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_management_resource_access_profile_base import DeviceManagementResourceAccessProfileBase + writer.write_uuid_value("authenticationCertificateId", self.authentication_certificate_id) writer.write_bytes_value("customXml", self.custom_xml) writer.write_str_value("customXmlFileName", self.custom_xml_file_name) diff --git a/msgraph_beta/generated/models/windows81_certificate_profile_base.py b/msgraph_beta/generated/models/windows81_certificate_profile_base.py index d5a85fffe0a..f1ea142c84e 100644 --- a/msgraph_beta/generated/models/windows81_certificate_profile_base.py +++ b/msgraph_beta/generated/models/windows81_certificate_profile_base.py @@ -33,7 +33,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> Windows81Certifica if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.windows81SCEPCertificateProfile".casefold(): @@ -74,6 +75,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .custom_subject_alternative_name import CustomSubjectAlternativeName + from .extended_key_usage import ExtendedKeyUsage + from .windows81_s_c_e_p_certificate_profile import Windows81SCEPCertificateProfile + from .windows_certificate_profile_base import WindowsCertificateProfileBase + writer.write_collection_of_object_values("customSubjectAlternativeNames", self.custom_subject_alternative_names) writer.write_collection_of_object_values("extendedKeyUsages", self.extended_key_usages) diff --git a/msgraph_beta/generated/models/windows81_compliance_policy.py b/msgraph_beta/generated/models/windows81_compliance_policy.py index 02f0d18af7b..bc8abee07b5 100644 --- a/msgraph_beta/generated/models/windows81_compliance_policy.py +++ b/msgraph_beta/generated/models/windows81_compliance_policy.py @@ -87,6 +87,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_compliance_policy import DeviceCompliancePolicy + from .required_password_type import RequiredPasswordType + writer.write_str_value("osMaximumVersion", self.os_maximum_version) writer.write_str_value("osMinimumVersion", self.os_minimum_version) writer.write_bool_value("passwordBlockSimple", self.password_block_simple) diff --git a/msgraph_beta/generated/models/windows81_general_configuration.py b/msgraph_beta/generated/models/windows81_general_configuration.py index 9d447293b50..bbe5eae442d 100644 --- a/msgraph_beta/generated/models/windows81_general_configuration.py +++ b/msgraph_beta/generated/models/windows81_general_configuration.py @@ -171,6 +171,13 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_configuration import DeviceConfiguration + from .internet_site_security_level import InternetSiteSecurityLevel + from .required_password_type import RequiredPasswordType + from .site_security_level import SiteSecurityLevel + from .update_classification import UpdateClassification + from .windows_user_account_control_settings import WindowsUserAccountControlSettings + writer.write_bool_value("accountsBlockAddingNonMicrosoftAccountEmail", self.accounts_block_adding_non_microsoft_account_email) writer.write_bool_value("browserBlockAutofill", self.browser_block_autofill) writer.write_bool_value("browserBlockAutomaticDetectionOfIntranetSites", self.browser_block_automatic_detection_of_intranet_sites) diff --git a/msgraph_beta/generated/models/windows81_s_c_e_p_certificate_profile.py b/msgraph_beta/generated/models/windows81_s_c_e_p_certificate_profile.py index 38f7219762b..ba18b27a64c 100644 --- a/msgraph_beta/generated/models/windows81_s_c_e_p_certificate_profile.py +++ b/msgraph_beta/generated/models/windows81_s_c_e_p_certificate_profile.py @@ -96,6 +96,14 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .certificate_store import CertificateStore + from .hash_algorithms import HashAlgorithms + from .key_size import KeySize + from .key_usages import KeyUsages + from .managed_device_certificate_state import ManagedDeviceCertificateState + from .windows81_certificate_profile_base import Windows81CertificateProfileBase + from .windows81_trusted_root_certificate import Windows81TrustedRootCertificate + writer.write_enum_value("certificateStore", self.certificate_store) writer.write_enum_value("hashAlgorithm", self.hash_algorithm) writer.write_enum_value("keySize", self.key_size) diff --git a/msgraph_beta/generated/models/windows81_trusted_root_certificate.py b/msgraph_beta/generated/models/windows81_trusted_root_certificate.py index a297a3a23b2..0c12ad7026d 100644 --- a/msgraph_beta/generated/models/windows81_trusted_root_certificate.py +++ b/msgraph_beta/generated/models/windows81_trusted_root_certificate.py @@ -63,6 +63,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .certificate_destination_store import CertificateDestinationStore + from .device_configuration import DeviceConfiguration + writer.write_str_value("certFileName", self.cert_file_name) writer.write_enum_value("destinationStore", self.destination_store) writer.write_bytes_value("trustedRootCertificate", self.trusted_root_certificate) diff --git a/msgraph_beta/generated/models/windows81_vpn_configuration.py b/msgraph_beta/generated/models/windows81_vpn_configuration.py index 0c21a2a92aa..3b1ba20af21 100644 --- a/msgraph_beta/generated/models/windows81_vpn_configuration.py +++ b/msgraph_beta/generated/models/windows81_vpn_configuration.py @@ -39,7 +39,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> Windows81VpnConfig if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.windowsPhone81VpnConfiguration".casefold(): @@ -83,6 +84,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .windows81_vpn_proxy_server import Windows81VpnProxyServer + from .windows_phone81_vpn_configuration import WindowsPhone81VpnConfiguration + from .windows_vpn_configuration import WindowsVpnConfiguration + from .windows_vpn_connection_type import WindowsVpnConnectionType + writer.write_enum_value("connectionType", self.connection_type) writer.write_bool_value("enableSplitTunneling", self.enable_split_tunneling) writer.write_str_value("loginGroupOrDomain", self.login_group_or_domain) diff --git a/msgraph_beta/generated/models/windows81_vpn_proxy_server.py b/msgraph_beta/generated/models/windows81_vpn_proxy_server.py index 0e8e15f3bd5..87411b32429 100644 --- a/msgraph_beta/generated/models/windows81_vpn_proxy_server.py +++ b/msgraph_beta/generated/models/windows81_vpn_proxy_server.py @@ -57,6 +57,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .vpn_proxy_server import VpnProxyServer + writer.write_bool_value("automaticallyDetectProxySettings", self.automatically_detect_proxy_settings) writer.write_bool_value("bypassProxyServerForLocalAddress", self.bypass_proxy_server_for_local_address) diff --git a/msgraph_beta/generated/models/windows81_wifi_import_configuration.py b/msgraph_beta/generated/models/windows81_wifi_import_configuration.py index 84b9da1f005..081d328bb90 100644 --- a/msgraph_beta/generated/models/windows81_wifi_import_configuration.py +++ b/msgraph_beta/generated/models/windows81_wifi_import_configuration.py @@ -60,6 +60,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_configuration import DeviceConfiguration + writer.write_bytes_value("payload", self.payload) writer.write_str_value("payloadFileName", self.payload_file_name) writer.write_str_value("profileName", self.profile_name) diff --git a/msgraph_beta/generated/models/windows_app_identifier.py b/msgraph_beta/generated/models/windows_app_identifier.py index 117f50988e7..1a6c1b217c8 100644 --- a/msgraph_beta/generated/models/windows_app_identifier.py +++ b/msgraph_beta/generated/models/windows_app_identifier.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .mobile_app_identifier import MobileAppIdentifier + writer.write_str_value("windowsAppId", self.windows_app_id) diff --git a/msgraph_beta/generated/models/windows_app_x.py b/msgraph_beta/generated/models/windows_app_x.py index b16b064cfe4..10b1ef3022f 100644 --- a/msgraph_beta/generated/models/windows_app_x.py +++ b/msgraph_beta/generated/models/windows_app_x.py @@ -78,6 +78,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .mobile_lob_app import MobileLobApp + from .windows_architecture import WindowsArchitecture + from .windows_minimum_operating_system import WindowsMinimumOperatingSystem + writer.write_enum_value("applicableArchitectures", self.applicable_architectures) writer.write_str_value("identityName", self.identity_name) writer.write_str_value("identityPublisherHash", self.identity_publisher_hash) diff --git a/msgraph_beta/generated/models/windows_app_x_app_assignment_settings.py b/msgraph_beta/generated/models/windows_app_x_app_assignment_settings.py index a94ed4d322e..0a6c5685331 100644 --- a/msgraph_beta/generated/models/windows_app_x_app_assignment_settings.py +++ b/msgraph_beta/generated/models/windows_app_x_app_assignment_settings.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .mobile_app_assignment_settings import MobileAppAssignmentSettings + writer.write_bool_value("useDeviceContext", self.use_device_context) diff --git a/msgraph_beta/generated/models/windows_app_x_collection_response.py b/msgraph_beta/generated/models/windows_app_x_collection_response.py index 562ac5c60f3..1b129afd87b 100644 --- a/msgraph_beta/generated/models/windows_app_x_collection_response.py +++ b/msgraph_beta/generated/models/windows_app_x_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .windows_app_x import WindowsAppX + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/windows_assigned_access_profile.py b/msgraph_beta/generated/models/windows_assigned_access_profile.py index 18dc1f511cc..90c3e0916c5 100644 --- a/msgraph_beta/generated/models/windows_assigned_access_profile.py +++ b/msgraph_beta/generated/models/windows_assigned_access_profile.py @@ -69,6 +69,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_collection_of_primitive_values("appUserModelIds", self.app_user_model_ids) writer.write_collection_of_primitive_values("desktopAppPaths", self.desktop_app_paths) writer.write_str_value("profileName", self.profile_name) diff --git a/msgraph_beta/generated/models/windows_autopilot_deployment_profile.py b/msgraph_beta/generated/models/windows_autopilot_deployment_profile.py index 59f451035d1..9842a9954ec 100644 --- a/msgraph_beta/generated/models/windows_autopilot_deployment_profile.py +++ b/msgraph_beta/generated/models/windows_autopilot_deployment_profile.py @@ -73,7 +73,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> WindowsAutopilotDe if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.activeDirectoryWindowsAutopilotDeploymentProfile".casefold(): @@ -145,6 +146,16 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .active_directory_windows_autopilot_deployment_profile import ActiveDirectoryWindowsAutopilotDeploymentProfile + from .azure_a_d_windows_autopilot_deployment_profile import AzureADWindowsAutopilotDeploymentProfile + from .entity import Entity + from .out_of_box_experience_setting import OutOfBoxExperienceSetting + from .out_of_box_experience_settings import OutOfBoxExperienceSettings + from .windows_autopilot_deployment_profile_assignment import WindowsAutopilotDeploymentProfileAssignment + from .windows_autopilot_device_identity import WindowsAutopilotDeviceIdentity + from .windows_autopilot_device_type import WindowsAutopilotDeviceType + from .windows_enrollment_status_screen_settings import WindowsEnrollmentStatusScreenSettings + writer.write_collection_of_object_values("assignedDevices", self.assigned_devices) writer.write_collection_of_object_values("assignments", self.assignments) writer.write_datetime_value("createdDateTime", self.created_date_time) diff --git a/msgraph_beta/generated/models/windows_autopilot_deployment_profile_assignment.py b/msgraph_beta/generated/models/windows_autopilot_deployment_profile_assignment.py index dde53edd980..ecd81adfe21 100644 --- a/msgraph_beta/generated/models/windows_autopilot_deployment_profile_assignment.py +++ b/msgraph_beta/generated/models/windows_autopilot_deployment_profile_assignment.py @@ -66,6 +66,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_and_app_management_assignment_source import DeviceAndAppManagementAssignmentSource + from .device_and_app_management_assignment_target import DeviceAndAppManagementAssignmentTarget + from .entity import Entity + writer.write_enum_value("source", self.source) writer.write_str_value("sourceId", self.source_id) writer.write_object_value("target", self.target) diff --git a/msgraph_beta/generated/models/windows_autopilot_deployment_profile_assignment_collection_response.py b/msgraph_beta/generated/models/windows_autopilot_deployment_profile_assignment_collection_response.py index f993c575ed7..b48d8fb99d4 100644 --- a/msgraph_beta/generated/models/windows_autopilot_deployment_profile_assignment_collection_response.py +++ b/msgraph_beta/generated/models/windows_autopilot_deployment_profile_assignment_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .windows_autopilot_deployment_profile_assignment import WindowsAutopilotDeploymentProfileAssignment + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/windows_autopilot_deployment_profile_collection_response.py b/msgraph_beta/generated/models/windows_autopilot_deployment_profile_collection_response.py index 9ee2606dab3..7e620c662e7 100644 --- a/msgraph_beta/generated/models/windows_autopilot_deployment_profile_collection_response.py +++ b/msgraph_beta/generated/models/windows_autopilot_deployment_profile_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .windows_autopilot_deployment_profile import WindowsAutopilotDeploymentProfile + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/windows_autopilot_deployment_profile_policy_set_item.py b/msgraph_beta/generated/models/windows_autopilot_deployment_profile_policy_set_item.py index 9e3cc88b2c1..93a96f056bc 100644 --- a/msgraph_beta/generated/models/windows_autopilot_deployment_profile_policy_set_item.py +++ b/msgraph_beta/generated/models/windows_autopilot_deployment_profile_policy_set_item.py @@ -51,5 +51,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .policy_set_item import PolicySetItem + diff --git a/msgraph_beta/generated/models/windows_autopilot_device_identity.py b/msgraph_beta/generated/models/windows_autopilot_device_identity.py index 42f1a1a2afc..210a70ce898 100644 --- a/msgraph_beta/generated/models/windows_autopilot_device_identity.py +++ b/msgraph_beta/generated/models/windows_autopilot_device_identity.py @@ -154,6 +154,14 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .enrollment_state import EnrollmentState + from .entity import Entity + from .windows_autopilot_deployment_profile import WindowsAutopilotDeploymentProfile + from .windows_autopilot_device_remediation_state import WindowsAutopilotDeviceRemediationState + from .windows_autopilot_profile_assignment_detailed_status import WindowsAutopilotProfileAssignmentDetailedStatus + from .windows_autopilot_profile_assignment_status import WindowsAutopilotProfileAssignmentStatus + from .windows_autopilot_userless_enrollment_status import WindowsAutopilotUserlessEnrollmentStatus + writer.write_str_value("addressableUserName", self.addressable_user_name) writer.write_str_value("azureActiveDirectoryDeviceId", self.azure_active_directory_device_id) writer.write_str_value("azureAdDeviceId", self.azure_ad_device_id) diff --git a/msgraph_beta/generated/models/windows_autopilot_device_identity_collection_response.py b/msgraph_beta/generated/models/windows_autopilot_device_identity_collection_response.py index 721e347b6b3..d1a6c98c000 100644 --- a/msgraph_beta/generated/models/windows_autopilot_device_identity_collection_response.py +++ b/msgraph_beta/generated/models/windows_autopilot_device_identity_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .windows_autopilot_device_identity import WindowsAutopilotDeviceIdentity + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/windows_autopilot_settings.py b/msgraph_beta/generated/models/windows_autopilot_settings.py index 9108ec4a02a..34466049b43 100644 --- a/msgraph_beta/generated/models/windows_autopilot_settings.py +++ b/msgraph_beta/generated/models/windows_autopilot_settings.py @@ -64,6 +64,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .windows_autopilot_sync_status import WindowsAutopilotSyncStatus + writer.write_datetime_value("lastManualSyncTriggerDateTime", self.last_manual_sync_trigger_date_time) writer.write_datetime_value("lastSyncDateTime", self.last_sync_date_time) writer.write_enum_value("syncStatus", self.sync_status) diff --git a/msgraph_beta/generated/models/windows_certificate_profile_base.py b/msgraph_beta/generated/models/windows_certificate_profile_base.py index 344b87513d5..bcdb8a9a6d3 100644 --- a/msgraph_beta/generated/models/windows_certificate_profile_base.py +++ b/msgraph_beta/generated/models/windows_certificate_profile_base.py @@ -48,7 +48,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> WindowsCertificate if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.windows10CertificateProfileBase".casefold(): @@ -127,6 +128,18 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .certificate_validity_period_scale import CertificateValidityPeriodScale + from .device_configuration import DeviceConfiguration + from .key_storage_provider_option import KeyStorageProviderOption + from .subject_alternative_name_type import SubjectAlternativeNameType + from .subject_name_format import SubjectNameFormat + from .windows10_certificate_profile_base import Windows10CertificateProfileBase + from .windows10_imported_p_f_x_certificate_profile import Windows10ImportedPFXCertificateProfile + from .windows10_pkcs_certificate_profile import Windows10PkcsCertificateProfile + from .windows81_certificate_profile_base import Windows81CertificateProfileBase + from .windows81_s_c_e_p_certificate_profile import Windows81SCEPCertificateProfile + from .windows_phone81_imported_p_f_x_certificate_profile import WindowsPhone81ImportedPFXCertificateProfile + writer.write_enum_value("certificateValidityPeriodScale", self.certificate_validity_period_scale) writer.write_int_value("certificateValidityPeriodValue", self.certificate_validity_period_value) writer.write_enum_value("keyStorageProvider", self.key_storage_provider) diff --git a/msgraph_beta/generated/models/windows_defender_advanced_threat_protection_configuration.py b/msgraph_beta/generated/models/windows_defender_advanced_threat_protection_configuration.py index b40c44ea6e1..8db1d8ed8db 100644 --- a/msgraph_beta/generated/models/windows_defender_advanced_threat_protection_configuration.py +++ b/msgraph_beta/generated/models/windows_defender_advanced_threat_protection_configuration.py @@ -72,6 +72,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_configuration import DeviceConfiguration + writer.write_bool_value("advancedThreatProtectionAutoPopulateOnboardingBlob", self.advanced_threat_protection_auto_populate_onboarding_blob) writer.write_str_value("advancedThreatProtectionOffboardingBlob", self.advanced_threat_protection_offboarding_blob) writer.write_str_value("advancedThreatProtectionOffboardingFilename", self.advanced_threat_protection_offboarding_filename) diff --git a/msgraph_beta/generated/models/windows_defender_application_control_supplemental_policy.py b/msgraph_beta/generated/models/windows_defender_application_control_supplemental_policy.py index a7ef9dea2ba..0c964fcf9f4 100644 --- a/msgraph_beta/generated/models/windows_defender_application_control_supplemental_policy.py +++ b/msgraph_beta/generated/models/windows_defender_application_control_supplemental_policy.py @@ -91,6 +91,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .windows_defender_application_control_supplemental_policy_assignment import WindowsDefenderApplicationControlSupplementalPolicyAssignment + from .windows_defender_application_control_supplemental_policy_deployment_status import WindowsDefenderApplicationControlSupplementalPolicyDeploymentStatus + from .windows_defender_application_control_supplemental_policy_deployment_summary import WindowsDefenderApplicationControlSupplementalPolicyDeploymentSummary + writer.write_collection_of_object_values("assignments", self.assignments) writer.write_bytes_value("content", self.content) writer.write_str_value("contentFileName", self.content_file_name) diff --git a/msgraph_beta/generated/models/windows_defender_application_control_supplemental_policy_assignment.py b/msgraph_beta/generated/models/windows_defender_application_control_supplemental_policy_assignment.py index 04293314b1b..322eb7252d1 100644 --- a/msgraph_beta/generated/models/windows_defender_application_control_supplemental_policy_assignment.py +++ b/msgraph_beta/generated/models/windows_defender_application_control_supplemental_policy_assignment.py @@ -57,6 +57,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_and_app_management_assignment_target import DeviceAndAppManagementAssignmentTarget + from .entity import Entity + writer.write_object_value("target", self.target) diff --git a/msgraph_beta/generated/models/windows_defender_application_control_supplemental_policy_assignment_collection_response.py b/msgraph_beta/generated/models/windows_defender_application_control_supplemental_policy_assignment_collection_response.py index 349905278bc..a9887dbe7ce 100644 --- a/msgraph_beta/generated/models/windows_defender_application_control_supplemental_policy_assignment_collection_response.py +++ b/msgraph_beta/generated/models/windows_defender_application_control_supplemental_policy_assignment_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .windows_defender_application_control_supplemental_policy_assignment import WindowsDefenderApplicationControlSupplementalPolicyAssignment + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/windows_defender_application_control_supplemental_policy_collection_response.py b/msgraph_beta/generated/models/windows_defender_application_control_supplemental_policy_collection_response.py index 2e1e1379573..246bbe63759 100644 --- a/msgraph_beta/generated/models/windows_defender_application_control_supplemental_policy_collection_response.py +++ b/msgraph_beta/generated/models/windows_defender_application_control_supplemental_policy_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .windows_defender_application_control_supplemental_policy import WindowsDefenderApplicationControlSupplementalPolicy + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/windows_defender_application_control_supplemental_policy_deployment_status.py b/msgraph_beta/generated/models/windows_defender_application_control_supplemental_policy_deployment_status.py index 22c86470e65..03c55604fbc 100644 --- a/msgraph_beta/generated/models/windows_defender_application_control_supplemental_policy_deployment_status.py +++ b/msgraph_beta/generated/models/windows_defender_application_control_supplemental_policy_deployment_status.py @@ -88,6 +88,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .windows_defender_application_control_supplemental_policy import WindowsDefenderApplicationControlSupplementalPolicy + from .windows_defender_application_control_supplemental_policy_statuses import WindowsDefenderApplicationControlSupplementalPolicyStatuses + writer.write_enum_value("deploymentStatus", self.deployment_status) writer.write_str_value("deviceId", self.device_id) writer.write_str_value("deviceName", self.device_name) diff --git a/msgraph_beta/generated/models/windows_defender_application_control_supplemental_policy_deployment_status_collection_response.py b/msgraph_beta/generated/models/windows_defender_application_control_supplemental_policy_deployment_status_collection_response.py index 2f01645bb3f..1c87f3e1c03 100644 --- a/msgraph_beta/generated/models/windows_defender_application_control_supplemental_policy_deployment_status_collection_response.py +++ b/msgraph_beta/generated/models/windows_defender_application_control_supplemental_policy_deployment_status_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .windows_defender_application_control_supplemental_policy_deployment_status import WindowsDefenderApplicationControlSupplementalPolicyDeploymentStatus + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/windows_defender_application_control_supplemental_policy_deployment_summary.py b/msgraph_beta/generated/models/windows_defender_application_control_supplemental_policy_deployment_summary.py index e88a793260c..87219316b57 100644 --- a/msgraph_beta/generated/models/windows_defender_application_control_supplemental_policy_deployment_summary.py +++ b/msgraph_beta/generated/models/windows_defender_application_control_supplemental_policy_deployment_summary.py @@ -57,6 +57,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_int_value("deployedDeviceCount", self.deployed_device_count) writer.write_int_value("failedDeviceCount", self.failed_device_count) diff --git a/msgraph_beta/generated/models/windows_defender_scan_action_result.py b/msgraph_beta/generated/models/windows_defender_scan_action_result.py index 848729fde99..3f239a716c2 100644 --- a/msgraph_beta/generated/models/windows_defender_scan_action_result.py +++ b/msgraph_beta/generated/models/windows_defender_scan_action_result.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_action_result import DeviceActionResult + writer.write_str_value("scanType", self.scan_type) diff --git a/msgraph_beta/generated/models/windows_delivery_optimization_configuration.py b/msgraph_beta/generated/models/windows_delivery_optimization_configuration.py index fbee9e992ad..2bc3d57db1c 100644 --- a/msgraph_beta/generated/models/windows_delivery_optimization_configuration.py +++ b/msgraph_beta/generated/models/windows_delivery_optimization_configuration.py @@ -120,6 +120,14 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .delivery_optimization_bandwidth import DeliveryOptimizationBandwidth + from .delivery_optimization_group_id_source import DeliveryOptimizationGroupIdSource + from .delivery_optimization_max_cache_size import DeliveryOptimizationMaxCacheSize + from .delivery_optimization_restrict_peer_selection_by_options import DeliveryOptimizationRestrictPeerSelectionByOptions + from .device_configuration import DeviceConfiguration + from .enablement import Enablement + from .windows_delivery_optimization_mode import WindowsDeliveryOptimizationMode + writer.write_int_value("backgroundDownloadFromHttpDelayInSeconds", self.background_download_from_http_delay_in_seconds) writer.write_object_value("bandwidthMode", self.bandwidth_mode) writer.write_int_value("cacheServerBackgroundDownloadFallbackToHttpDelayInSeconds", self.cache_server_background_download_fallback_to_http_delay_in_seconds) diff --git a/msgraph_beta/generated/models/windows_device_a_d_account.py b/msgraph_beta/generated/models/windows_device_a_d_account.py index 66ba89dd6f1..79436ee1ad9 100644 --- a/msgraph_beta/generated/models/windows_device_a_d_account.py +++ b/msgraph_beta/generated/models/windows_device_a_d_account.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .windows_device_account import WindowsDeviceAccount + writer.write_str_value("domainName", self.domain_name) writer.write_str_value("userName", self.user_name) diff --git a/msgraph_beta/generated/models/windows_device_account.py b/msgraph_beta/generated/models/windows_device_account.py index 326a918a978..0885bdc537f 100644 --- a/msgraph_beta/generated/models/windows_device_account.py +++ b/msgraph_beta/generated/models/windows_device_account.py @@ -30,7 +30,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> WindowsDeviceAccou if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.windowsDeviceADAccount".casefold(): @@ -68,6 +69,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .windows_device_azure_a_d_account import WindowsDeviceAzureADAccount + from .windows_device_a_d_account import WindowsDeviceADAccount + writer.write_str_value("@odata.type", self.odata_type) writer.write_str_value("password", self.password) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/windows_device_azure_a_d_account.py b/msgraph_beta/generated/models/windows_device_azure_a_d_account.py index 9b3985b4084..4ba17855153 100644 --- a/msgraph_beta/generated/models/windows_device_azure_a_d_account.py +++ b/msgraph_beta/generated/models/windows_device_azure_a_d_account.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .windows_device_account import WindowsDeviceAccount + writer.write_str_value("userPrincipalName", self.user_principal_name) diff --git a/msgraph_beta/generated/models/windows_device_malware_state.py b/msgraph_beta/generated/models/windows_device_malware_state.py index e604e403368..5e07d1f359a 100644 --- a/msgraph_beta/generated/models/windows_device_malware_state.py +++ b/msgraph_beta/generated/models/windows_device_malware_state.py @@ -97,6 +97,13 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .windows_malware_category import WindowsMalwareCategory + from .windows_malware_execution_state import WindowsMalwareExecutionState + from .windows_malware_severity import WindowsMalwareSeverity + from .windows_malware_state import WindowsMalwareState + from .windows_malware_threat_state import WindowsMalwareThreatState + writer.write_str_value("additionalInformationUrl", self.additional_information_url) writer.write_enum_value("category", self.category) writer.write_int_value("detectionCount", self.detection_count) diff --git a/msgraph_beta/generated/models/windows_device_malware_state_collection_response.py b/msgraph_beta/generated/models/windows_device_malware_state_collection_response.py index c5f3814886e..9db7a781361 100644 --- a/msgraph_beta/generated/models/windows_device_malware_state_collection_response.py +++ b/msgraph_beta/generated/models/windows_device_malware_state_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .windows_device_malware_state import WindowsDeviceMalwareState + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/windows_domain_join_configuration.py b/msgraph_beta/generated/models/windows_domain_join_configuration.py index c7805e164b6..e75e6e4b3e9 100644 --- a/msgraph_beta/generated/models/windows_domain_join_configuration.py +++ b/msgraph_beta/generated/models/windows_domain_join_configuration.py @@ -21,7 +21,7 @@ class WindowsDomainJoinConfiguration(DeviceConfiguration): computer_name_static_prefix: Optional[str] = None # Dynamically generated characters used as suffix for computer name. Valid values 3 to 14 computer_name_suffix_random_char_count: Optional[int] = None - # Reference to device configurations required for network connectivity. This collection can contain a maximum of 2 elements. + # Reference to device configurations required for network connectivity network_access_configurations: Optional[List[DeviceConfiguration]] = None # Organizational unit (OU) where the computer account will be created. If this parameter is NULL, the well known computer object container will be used as published in the domain. organizational_unit: Optional[str] = None @@ -66,6 +66,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_configuration import DeviceConfiguration + writer.write_str_value("activeDirectoryDomainName", self.active_directory_domain_name) writer.write_str_value("computerNameStaticPrefix", self.computer_name_static_prefix) writer.write_int_value("computerNameSuffixRandomCharCount", self.computer_name_suffix_random_char_count) diff --git a/msgraph_beta/generated/models/windows_driver_update_inventory.py b/msgraph_beta/generated/models/windows_driver_update_inventory.py index debd045ac55..ceb1dbb29ab 100644 --- a/msgraph_beta/generated/models/windows_driver_update_inventory.py +++ b/msgraph_beta/generated/models/windows_driver_update_inventory.py @@ -85,6 +85,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .driver_approval_status import DriverApprovalStatus + from .driver_category import DriverCategory + from .entity import Entity + writer.write_int_value("applicableDeviceCount", self.applicable_device_count) writer.write_enum_value("approvalStatus", self.approval_status) writer.write_enum_value("category", self.category) diff --git a/msgraph_beta/generated/models/windows_driver_update_inventory_collection_response.py b/msgraph_beta/generated/models/windows_driver_update_inventory_collection_response.py index 81137bd1c5d..b24d939075a 100644 --- a/msgraph_beta/generated/models/windows_driver_update_inventory_collection_response.py +++ b/msgraph_beta/generated/models/windows_driver_update_inventory_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .windows_driver_update_inventory import WindowsDriverUpdateInventory + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/windows_driver_update_profile.py b/msgraph_beta/generated/models/windows_driver_update_profile.py index c4a00e0dc3a..bf2a33e8c40 100644 --- a/msgraph_beta/generated/models/windows_driver_update_profile.py +++ b/msgraph_beta/generated/models/windows_driver_update_profile.py @@ -100,6 +100,12 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .driver_update_profile_approval_type import DriverUpdateProfileApprovalType + from .entity import Entity + from .windows_driver_update_inventory import WindowsDriverUpdateInventory + from .windows_driver_update_profile_assignment import WindowsDriverUpdateProfileAssignment + from .windows_driver_update_profile_inventory_sync_status import WindowsDriverUpdateProfileInventorySyncStatus + writer.write_enum_value("approvalType", self.approval_type) writer.write_collection_of_object_values("assignments", self.assignments) writer.write_datetime_value("createdDateTime", self.created_date_time) diff --git a/msgraph_beta/generated/models/windows_driver_update_profile_assignment.py b/msgraph_beta/generated/models/windows_driver_update_profile_assignment.py index 738e6d0741f..fe53a891e0d 100644 --- a/msgraph_beta/generated/models/windows_driver_update_profile_assignment.py +++ b/msgraph_beta/generated/models/windows_driver_update_profile_assignment.py @@ -57,6 +57,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_and_app_management_assignment_target import DeviceAndAppManagementAssignmentTarget + from .entity import Entity + writer.write_object_value("target", self.target) diff --git a/msgraph_beta/generated/models/windows_driver_update_profile_assignment_collection_response.py b/msgraph_beta/generated/models/windows_driver_update_profile_assignment_collection_response.py index f7b875b9a0f..1f3beb593cb 100644 --- a/msgraph_beta/generated/models/windows_driver_update_profile_assignment_collection_response.py +++ b/msgraph_beta/generated/models/windows_driver_update_profile_assignment_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .windows_driver_update_profile_assignment import WindowsDriverUpdateProfileAssignment + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/windows_driver_update_profile_collection_response.py b/msgraph_beta/generated/models/windows_driver_update_profile_collection_response.py index de8787ffac5..ca1c131893c 100644 --- a/msgraph_beta/generated/models/windows_driver_update_profile_collection_response.py +++ b/msgraph_beta/generated/models/windows_driver_update_profile_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .windows_driver_update_profile import WindowsDriverUpdateProfile + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/windows_driver_update_profile_inventory_sync_status.py b/msgraph_beta/generated/models/windows_driver_update_profile_inventory_sync_status.py index eb49812289c..899c217f6d2 100644 --- a/msgraph_beta/generated/models/windows_driver_update_profile_inventory_sync_status.py +++ b/msgraph_beta/generated/models/windows_driver_update_profile_inventory_sync_status.py @@ -60,6 +60,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .windows_driver_update_profile_inventory_sync_state import WindowsDriverUpdateProfileInventorySyncState + writer.write_enum_value("driverInventorySyncState", self.driver_inventory_sync_state) writer.write_datetime_value("lastSuccessfulSyncDateTime", self.last_successful_sync_date_time) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/windows_feature_update_catalog_item.py b/msgraph_beta/generated/models/windows_feature_update_catalog_item.py index a6aa60123dc..aca5d5b6581 100644 --- a/msgraph_beta/generated/models/windows_feature_update_catalog_item.py +++ b/msgraph_beta/generated/models/windows_feature_update_catalog_item.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .windows_update_catalog_item import WindowsUpdateCatalogItem + writer.write_str_value("version", self.version) diff --git a/msgraph_beta/generated/models/windows_feature_update_profile.py b/msgraph_beta/generated/models/windows_feature_update_profile.py index be9658611b8..2b763159d62 100644 --- a/msgraph_beta/generated/models/windows_feature_update_profile.py +++ b/msgraph_beta/generated/models/windows_feature_update_profile.py @@ -94,6 +94,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .windows_feature_update_profile_assignment import WindowsFeatureUpdateProfileAssignment + from .windows_update_rollout_settings import WindowsUpdateRolloutSettings + writer.write_collection_of_object_values("assignments", self.assignments) writer.write_datetime_value("createdDateTime", self.created_date_time) writer.write_str_value("deployableContentDisplayName", self.deployable_content_display_name) diff --git a/msgraph_beta/generated/models/windows_feature_update_profile_assignment.py b/msgraph_beta/generated/models/windows_feature_update_profile_assignment.py index 0007c6c7e34..b2f5c28a21b 100644 --- a/msgraph_beta/generated/models/windows_feature_update_profile_assignment.py +++ b/msgraph_beta/generated/models/windows_feature_update_profile_assignment.py @@ -57,6 +57,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_and_app_management_assignment_target import DeviceAndAppManagementAssignmentTarget + from .entity import Entity + writer.write_object_value("target", self.target) diff --git a/msgraph_beta/generated/models/windows_feature_update_profile_assignment_collection_response.py b/msgraph_beta/generated/models/windows_feature_update_profile_assignment_collection_response.py index f7499fdaa79..358c1595019 100644 --- a/msgraph_beta/generated/models/windows_feature_update_profile_assignment_collection_response.py +++ b/msgraph_beta/generated/models/windows_feature_update_profile_assignment_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .windows_feature_update_profile_assignment import WindowsFeatureUpdateProfileAssignment + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/windows_feature_update_profile_collection_response.py b/msgraph_beta/generated/models/windows_feature_update_profile_collection_response.py index 9de8eb216b7..5ee29abd3ca 100644 --- a/msgraph_beta/generated/models/windows_feature_update_profile_collection_response.py +++ b/msgraph_beta/generated/models/windows_feature_update_profile_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .windows_feature_update_profile import WindowsFeatureUpdateProfile + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/windows_firewall_network_profile.py b/msgraph_beta/generated/models/windows_firewall_network_profile.py index 7a41901abd8..4316e8bc447 100644 --- a/msgraph_beta/generated/models/windows_firewall_network_profile.py +++ b/msgraph_beta/generated/models/windows_firewall_network_profile.py @@ -122,6 +122,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .state_management_setting import StateManagementSetting + writer.write_bool_value("authorizedApplicationRulesFromGroupPolicyMerged", self.authorized_application_rules_from_group_policy_merged) writer.write_bool_value("authorizedApplicationRulesFromGroupPolicyNotMerged", self.authorized_application_rules_from_group_policy_not_merged) writer.write_bool_value("connectionSecurityRulesFromGroupPolicyMerged", self.connection_security_rules_from_group_policy_merged) diff --git a/msgraph_beta/generated/models/windows_firewall_rule.py b/msgraph_beta/generated/models/windows_firewall_rule.py index 5ce7dc48a1d..e6da1299567 100644 --- a/msgraph_beta/generated/models/windows_firewall_rule.py +++ b/msgraph_beta/generated/models/windows_firewall_rule.py @@ -110,6 +110,11 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .state_management_setting import StateManagementSetting + from .windows_firewall_rule_interface_types import WindowsFirewallRuleInterfaceTypes + from .windows_firewall_rule_network_profile_types import WindowsFirewallRuleNetworkProfileTypes + from .windows_firewall_rule_traffic_direction_type import WindowsFirewallRuleTrafficDirectionType + writer.write_enum_value("action", self.action) writer.write_str_value("description", self.description) writer.write_str_value("displayName", self.display_name) diff --git a/msgraph_beta/generated/models/windows_health_monitoring_configuration.py b/msgraph_beta/generated/models/windows_health_monitoring_configuration.py index 99a9ff22b82..0e4bb944634 100644 --- a/msgraph_beta/generated/models/windows_health_monitoring_configuration.py +++ b/msgraph_beta/generated/models/windows_health_monitoring_configuration.py @@ -66,6 +66,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_configuration import DeviceConfiguration + from .enablement import Enablement + from .windows_health_monitoring_scope import WindowsHealthMonitoringScope + writer.write_enum_value("allowDeviceHealthMonitoring", self.allow_device_health_monitoring) writer.write_str_value("configDeviceHealthMonitoringCustomScope", self.config_device_health_monitoring_custom_scope) writer.write_enum_value("configDeviceHealthMonitoringScope", self.config_device_health_monitoring_scope) diff --git a/msgraph_beta/generated/models/windows_hello_for_business_authentication_method.py b/msgraph_beta/generated/models/windows_hello_for_business_authentication_method.py index b98fae1a440..00a58e0b645 100644 --- a/msgraph_beta/generated/models/windows_hello_for_business_authentication_method.py +++ b/msgraph_beta/generated/models/windows_hello_for_business_authentication_method.py @@ -63,6 +63,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .authentication_method import AuthenticationMethod + from .authentication_method_key_strength import AuthenticationMethodKeyStrength + from .device import Device + writer.write_object_value("device", self.device) writer.write_str_value("displayName", self.display_name) writer.write_enum_value("keyStrength", self.key_strength) diff --git a/msgraph_beta/generated/models/windows_hello_for_business_authentication_method_collection_response.py b/msgraph_beta/generated/models/windows_hello_for_business_authentication_method_collection_response.py index 7f526c89b0c..a087be4f16d 100644 --- a/msgraph_beta/generated/models/windows_hello_for_business_authentication_method_collection_response.py +++ b/msgraph_beta/generated/models/windows_hello_for_business_authentication_method_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .windows_hello_for_business_authentication_method import WindowsHelloForBusinessAuthenticationMethod + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/windows_identity_protection_configuration.py b/msgraph_beta/generated/models/windows_identity_protection_configuration.py index b0a6e24f4f4..8e7e39f99b2 100644 --- a/msgraph_beta/generated/models/windows_identity_protection_configuration.py +++ b/msgraph_beta/generated/models/windows_identity_protection_configuration.py @@ -96,6 +96,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .configuration_usage import ConfigurationUsage + from .device_configuration import DeviceConfiguration + writer.write_bool_value("enhancedAntiSpoofingForFacialFeaturesEnabled", self.enhanced_anti_spoofing_for_facial_features_enabled) writer.write_int_value("pinExpirationInDays", self.pin_expiration_in_days) writer.write_enum_value("pinLowercaseCharactersUsage", self.pin_lowercase_characters_usage) diff --git a/msgraph_beta/generated/models/windows_information_protection.py b/msgraph_beta/generated/models/windows_information_protection.py index 6d70b7f9314..ac9c6181a04 100644 --- a/msgraph_beta/generated/models/windows_information_protection.py +++ b/msgraph_beta/generated/models/windows_information_protection.py @@ -87,7 +87,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> WindowsInformation if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.mdmWindowsInformationProtectionPolicy".casefold(): @@ -169,6 +170,18 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .managed_app_policy import ManagedAppPolicy + from .mdm_windows_information_protection_policy import MdmWindowsInformationProtectionPolicy + from .targeted_managed_app_policy_assignment import TargetedManagedAppPolicyAssignment + from .windows_information_protection_app import WindowsInformationProtectionApp + from .windows_information_protection_app_locker_file import WindowsInformationProtectionAppLockerFile + from .windows_information_protection_data_recovery_certificate import WindowsInformationProtectionDataRecoveryCertificate + from .windows_information_protection_enforcement_level import WindowsInformationProtectionEnforcementLevel + from .windows_information_protection_i_p_range_collection import WindowsInformationProtectionIPRangeCollection + from .windows_information_protection_policy import WindowsInformationProtectionPolicy + from .windows_information_protection_proxied_domain_collection import WindowsInformationProtectionProxiedDomainCollection + from .windows_information_protection_resource_collection import WindowsInformationProtectionResourceCollection + writer.write_collection_of_object_values("assignments", self.assignments) writer.write_bool_value("azureRightsManagementServicesAllowed", self.azure_rights_management_services_allowed) writer.write_object_value("dataRecoveryCertificate", self.data_recovery_certificate) diff --git a/msgraph_beta/generated/models/windows_information_protection_app.py b/msgraph_beta/generated/models/windows_information_protection_app.py index 6635b3f4929..54f35bb2968 100644 --- a/msgraph_beta/generated/models/windows_information_protection_app.py +++ b/msgraph_beta/generated/models/windows_information_protection_app.py @@ -41,7 +41,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> WindowsInformation if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.windowsInformationProtectionDesktopApp".casefold(): @@ -83,6 +84,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .windows_information_protection_desktop_app import WindowsInformationProtectionDesktopApp + from .windows_information_protection_store_app import WindowsInformationProtectionStoreApp + writer.write_bool_value("denied", self.denied) writer.write_str_value("description", self.description) writer.write_str_value("displayName", self.display_name) diff --git a/msgraph_beta/generated/models/windows_information_protection_app_learning_summary.py b/msgraph_beta/generated/models/windows_information_protection_app_learning_summary.py index 82afd6ab6b5..4de497b7298 100644 --- a/msgraph_beta/generated/models/windows_information_protection_app_learning_summary.py +++ b/msgraph_beta/generated/models/windows_information_protection_app_learning_summary.py @@ -63,6 +63,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .application_type import ApplicationType + from .entity import Entity + writer.write_str_value("applicationName", self.application_name) writer.write_enum_value("applicationType", self.application_type) writer.write_int_value("deviceCount", self.device_count) diff --git a/msgraph_beta/generated/models/windows_information_protection_app_learning_summary_collection_response.py b/msgraph_beta/generated/models/windows_information_protection_app_learning_summary_collection_response.py index b225f441a57..12e166ae1ef 100644 --- a/msgraph_beta/generated/models/windows_information_protection_app_learning_summary_collection_response.py +++ b/msgraph_beta/generated/models/windows_information_protection_app_learning_summary_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .windows_information_protection_app_learning_summary import WindowsInformationProtectionAppLearningSummary + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/windows_information_protection_app_locker_file.py b/msgraph_beta/generated/models/windows_information_protection_app_locker_file.py index e011ef81c32..d714bc21b70 100644 --- a/msgraph_beta/generated/models/windows_information_protection_app_locker_file.py +++ b/msgraph_beta/generated/models/windows_information_protection_app_locker_file.py @@ -63,6 +63,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_str_value("displayName", self.display_name) writer.write_bytes_value("file", self.file) writer.write_str_value("fileHash", self.file_hash) diff --git a/msgraph_beta/generated/models/windows_information_protection_app_locker_file_collection_response.py b/msgraph_beta/generated/models/windows_information_protection_app_locker_file_collection_response.py index 0cc728a7690..b99d37042d5 100644 --- a/msgraph_beta/generated/models/windows_information_protection_app_locker_file_collection_response.py +++ b/msgraph_beta/generated/models/windows_information_protection_app_locker_file_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .windows_information_protection_app_locker_file import WindowsInformationProtectionAppLockerFile + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/windows_information_protection_desktop_app.py b/msgraph_beta/generated/models/windows_information_protection_desktop_app.py index 5fae075b051..d7a15cc23e4 100644 --- a/msgraph_beta/generated/models/windows_information_protection_desktop_app.py +++ b/msgraph_beta/generated/models/windows_information_protection_desktop_app.py @@ -60,6 +60,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .windows_information_protection_app import WindowsInformationProtectionApp + writer.write_str_value("binaryName", self.binary_name) writer.write_str_value("binaryVersionHigh", self.binary_version_high) writer.write_str_value("binaryVersionLow", self.binary_version_low) diff --git a/msgraph_beta/generated/models/windows_information_protection_device_registration.py b/msgraph_beta/generated/models/windows_information_protection_device_registration.py index dcef54dbf3d..9409f5e1d74 100644 --- a/msgraph_beta/generated/models/windows_information_protection_device_registration.py +++ b/msgraph_beta/generated/models/windows_information_protection_device_registration.py @@ -70,6 +70,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_str_value("deviceMacAddress", self.device_mac_address) writer.write_str_value("deviceName", self.device_name) writer.write_str_value("deviceRegistrationId", self.device_registration_id) diff --git a/msgraph_beta/generated/models/windows_information_protection_device_registration_collection_response.py b/msgraph_beta/generated/models/windows_information_protection_device_registration_collection_response.py index 07f5708a735..c24b32cd331 100644 --- a/msgraph_beta/generated/models/windows_information_protection_device_registration_collection_response.py +++ b/msgraph_beta/generated/models/windows_information_protection_device_registration_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .windows_information_protection_device_registration import WindowsInformationProtectionDeviceRegistration + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/windows_information_protection_i_p_range_collection.py b/msgraph_beta/generated/models/windows_information_protection_i_p_range_collection.py index f6d0f4c3db3..762ea2968a6 100644 --- a/msgraph_beta/generated/models/windows_information_protection_i_p_range_collection.py +++ b/msgraph_beta/generated/models/windows_information_protection_i_p_range_collection.py @@ -59,6 +59,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .ip_range import IpRange + writer.write_str_value("displayName", self.display_name) writer.write_str_value("@odata.type", self.odata_type) writer.write_collection_of_object_values("ranges", self.ranges) diff --git a/msgraph_beta/generated/models/windows_information_protection_network_learning_summary.py b/msgraph_beta/generated/models/windows_information_protection_network_learning_summary.py index f864007b221..7254532e8ed 100644 --- a/msgraph_beta/generated/models/windows_information_protection_network_learning_summary.py +++ b/msgraph_beta/generated/models/windows_information_protection_network_learning_summary.py @@ -57,6 +57,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_int_value("deviceCount", self.device_count) writer.write_str_value("url", self.url) diff --git a/msgraph_beta/generated/models/windows_information_protection_network_learning_summary_collection_response.py b/msgraph_beta/generated/models/windows_information_protection_network_learning_summary_collection_response.py index 6b5d0a556ce..91e18af65f3 100644 --- a/msgraph_beta/generated/models/windows_information_protection_network_learning_summary_collection_response.py +++ b/msgraph_beta/generated/models/windows_information_protection_network_learning_summary_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .windows_information_protection_network_learning_summary import WindowsInformationProtectionNetworkLearningSummary + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/windows_information_protection_policy.py b/msgraph_beta/generated/models/windows_information_protection_policy.py index f07c9403bc8..23acee0fc6d 100644 --- a/msgraph_beta/generated/models/windows_information_protection_policy.py +++ b/msgraph_beta/generated/models/windows_information_protection_policy.py @@ -90,6 +90,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .windows_information_protection import WindowsInformationProtection + from .windows_information_protection_pin_character_requirements import WindowsInformationProtectionPinCharacterRequirements + writer.write_int_value("daysWithoutContactBeforeUnenroll", self.days_without_contact_before_unenroll) writer.write_str_value("mdmEnrollmentUrl", self.mdm_enrollment_url) writer.write_int_value("minutesOfInactivityBeforeDeviceLock", self.minutes_of_inactivity_before_device_lock) diff --git a/msgraph_beta/generated/models/windows_information_protection_policy_collection_response.py b/msgraph_beta/generated/models/windows_information_protection_policy_collection_response.py index cfc864b0c70..4e274f082e3 100644 --- a/msgraph_beta/generated/models/windows_information_protection_policy_collection_response.py +++ b/msgraph_beta/generated/models/windows_information_protection_policy_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .windows_information_protection_policy import WindowsInformationProtectionPolicy + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/windows_information_protection_proxied_domain_collection.py b/msgraph_beta/generated/models/windows_information_protection_proxied_domain_collection.py index d2c1248271e..24648b9b469 100644 --- a/msgraph_beta/generated/models/windows_information_protection_proxied_domain_collection.py +++ b/msgraph_beta/generated/models/windows_information_protection_proxied_domain_collection.py @@ -59,6 +59,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .proxied_domain import ProxiedDomain + writer.write_str_value("displayName", self.display_name) writer.write_str_value("@odata.type", self.odata_type) writer.write_collection_of_object_values("proxiedDomains", self.proxied_domains) diff --git a/msgraph_beta/generated/models/windows_information_protection_store_app.py b/msgraph_beta/generated/models/windows_information_protection_store_app.py index 1e75cea7f2f..14144241cf1 100644 --- a/msgraph_beta/generated/models/windows_information_protection_store_app.py +++ b/msgraph_beta/generated/models/windows_information_protection_store_app.py @@ -51,5 +51,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .windows_information_protection_app import WindowsInformationProtectionApp + diff --git a/msgraph_beta/generated/models/windows_information_protection_wipe_action.py b/msgraph_beta/generated/models/windows_information_protection_wipe_action.py index ae3fdfb8a75..2959cbfa0f2 100644 --- a/msgraph_beta/generated/models/windows_information_protection_wipe_action.py +++ b/msgraph_beta/generated/models/windows_information_protection_wipe_action.py @@ -73,6 +73,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .action_state import ActionState + from .entity import Entity + writer.write_datetime_value("lastCheckInDateTime", self.last_check_in_date_time) writer.write_enum_value("status", self.status) writer.write_str_value("targetedDeviceMacAddress", self.targeted_device_mac_address) diff --git a/msgraph_beta/generated/models/windows_information_protection_wipe_action_collection_response.py b/msgraph_beta/generated/models/windows_information_protection_wipe_action_collection_response.py index 1cdad588770..586deae3920 100644 --- a/msgraph_beta/generated/models/windows_information_protection_wipe_action_collection_response.py +++ b/msgraph_beta/generated/models/windows_information_protection_wipe_action_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .windows_information_protection_wipe_action import WindowsInformationProtectionWipeAction + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/windows_kiosk_active_directory_group.py b/msgraph_beta/generated/models/windows_kiosk_active_directory_group.py index ad000c8a214..36794a08f83 100644 --- a/msgraph_beta/generated/models/windows_kiosk_active_directory_group.py +++ b/msgraph_beta/generated/models/windows_kiosk_active_directory_group.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .windows_kiosk_user import WindowsKioskUser + writer.write_str_value("groupName", self.group_name) diff --git a/msgraph_beta/generated/models/windows_kiosk_app_base.py b/msgraph_beta/generated/models/windows_kiosk_app_base.py index bb066446829..fa8ddd86ec5 100644 --- a/msgraph_beta/generated/models/windows_kiosk_app_base.py +++ b/msgraph_beta/generated/models/windows_kiosk_app_base.py @@ -42,7 +42,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> WindowsKioskAppBas if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.windowsKioskDesktopApp".casefold(): @@ -93,6 +94,12 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .windows_app_start_layout_tile_size import WindowsAppStartLayoutTileSize + from .windows_kiosk_app_type import WindowsKioskAppType + from .windows_kiosk_desktop_app import WindowsKioskDesktopApp + from .windows_kiosk_u_w_p_app import WindowsKioskUWPApp + from .windows_kiosk_win32_app import WindowsKioskWin32App + writer.write_enum_value("appType", self.app_type) writer.write_bool_value("autoLaunch", self.auto_launch) writer.write_str_value("name", self.name) diff --git a/msgraph_beta/generated/models/windows_kiosk_app_configuration.py b/msgraph_beta/generated/models/windows_kiosk_app_configuration.py index 4d7b709b404..3a50510415c 100644 --- a/msgraph_beta/generated/models/windows_kiosk_app_configuration.py +++ b/msgraph_beta/generated/models/windows_kiosk_app_configuration.py @@ -32,7 +32,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> WindowsKioskAppCon if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.windowsKioskMultipleApps".casefold(): @@ -75,6 +76,10 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .windows_kiosk_multiple_apps import WindowsKioskMultipleApps + from .windows_kiosk_single_u_w_p_app import WindowsKioskSingleUWPApp + from .windows_kiosk_single_win32_app import WindowsKioskSingleWin32App + writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/windows_kiosk_autologon.py b/msgraph_beta/generated/models/windows_kiosk_autologon.py index 03611a82293..161b6a7b2be 100644 --- a/msgraph_beta/generated/models/windows_kiosk_autologon.py +++ b/msgraph_beta/generated/models/windows_kiosk_autologon.py @@ -51,5 +51,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .windows_kiosk_user import WindowsKioskUser + diff --git a/msgraph_beta/generated/models/windows_kiosk_azure_a_d_group.py b/msgraph_beta/generated/models/windows_kiosk_azure_a_d_group.py index 14a06a5a0cd..820f9203524 100644 --- a/msgraph_beta/generated/models/windows_kiosk_azure_a_d_group.py +++ b/msgraph_beta/generated/models/windows_kiosk_azure_a_d_group.py @@ -57,6 +57,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .windows_kiosk_user import WindowsKioskUser + writer.write_str_value("displayName", self.display_name) writer.write_str_value("groupId", self.group_id) diff --git a/msgraph_beta/generated/models/windows_kiosk_azure_a_d_user.py b/msgraph_beta/generated/models/windows_kiosk_azure_a_d_user.py index bbcf7f685ea..87485721d2f 100644 --- a/msgraph_beta/generated/models/windows_kiosk_azure_a_d_user.py +++ b/msgraph_beta/generated/models/windows_kiosk_azure_a_d_user.py @@ -57,6 +57,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .windows_kiosk_user import WindowsKioskUser + writer.write_str_value("userId", self.user_id) writer.write_str_value("userPrincipalName", self.user_principal_name) diff --git a/msgraph_beta/generated/models/windows_kiosk_configuration.py b/msgraph_beta/generated/models/windows_kiosk_configuration.py index ee4988a8fef..2d6404baf8a 100644 --- a/msgraph_beta/generated/models/windows_kiosk_configuration.py +++ b/msgraph_beta/generated/models/windows_kiosk_configuration.py @@ -87,6 +87,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_configuration import DeviceConfiguration + from .windows_kiosk_force_update_schedule import WindowsKioskForceUpdateSchedule + from .windows_kiosk_profile import WindowsKioskProfile + writer.write_bool_value("edgeKioskEnablePublicBrowsing", self.edge_kiosk_enable_public_browsing) writer.write_collection_of_primitive_values("kioskBrowserBlockedURLs", self.kiosk_browser_blocked_u_r_ls) writer.write_collection_of_primitive_values("kioskBrowserBlockedUrlExceptions", self.kiosk_browser_blocked_url_exceptions) diff --git a/msgraph_beta/generated/models/windows_kiosk_desktop_app.py b/msgraph_beta/generated/models/windows_kiosk_desktop_app.py index 91279c2cbf7..dbcee833785 100644 --- a/msgraph_beta/generated/models/windows_kiosk_desktop_app.py +++ b/msgraph_beta/generated/models/windows_kiosk_desktop_app.py @@ -60,6 +60,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .windows_kiosk_app_base import WindowsKioskAppBase + writer.write_str_value("desktopApplicationId", self.desktop_application_id) writer.write_str_value("desktopApplicationLinkPath", self.desktop_application_link_path) writer.write_str_value("path", self.path) diff --git a/msgraph_beta/generated/models/windows_kiosk_force_update_schedule.py b/msgraph_beta/generated/models/windows_kiosk_force_update_schedule.py index 45c62a6d2c5..14c634ff81d 100644 --- a/msgraph_beta/generated/models/windows_kiosk_force_update_schedule.py +++ b/msgraph_beta/generated/models/windows_kiosk_force_update_schedule.py @@ -72,6 +72,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .day_of_week import DayOfWeek + from .windows10_apps_update_recurrence import Windows10AppsUpdateRecurrence + writer.write_int_value("dayofMonth", self.dayof_month) writer.write_enum_value("dayofWeek", self.dayof_week) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/windows_kiosk_local_group.py b/msgraph_beta/generated/models/windows_kiosk_local_group.py index f29b412b9d5..05700d9f298 100644 --- a/msgraph_beta/generated/models/windows_kiosk_local_group.py +++ b/msgraph_beta/generated/models/windows_kiosk_local_group.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .windows_kiosk_user import WindowsKioskUser + writer.write_str_value("groupName", self.group_name) diff --git a/msgraph_beta/generated/models/windows_kiosk_local_user.py b/msgraph_beta/generated/models/windows_kiosk_local_user.py index 5bd7c5573a8..f3cbf13d04e 100644 --- a/msgraph_beta/generated/models/windows_kiosk_local_user.py +++ b/msgraph_beta/generated/models/windows_kiosk_local_user.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .windows_kiosk_user import WindowsKioskUser + writer.write_str_value("userName", self.user_name) diff --git a/msgraph_beta/generated/models/windows_kiosk_multiple_apps.py b/msgraph_beta/generated/models/windows_kiosk_multiple_apps.py index 33b6866f550..ba78180b0c8 100644 --- a/msgraph_beta/generated/models/windows_kiosk_multiple_apps.py +++ b/msgraph_beta/generated/models/windows_kiosk_multiple_apps.py @@ -69,6 +69,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .windows_kiosk_app_base import WindowsKioskAppBase + from .windows_kiosk_app_configuration import WindowsKioskAppConfiguration + writer.write_bool_value("allowAccessToDownloadsFolder", self.allow_access_to_downloads_folder) writer.write_collection_of_object_values("apps", self.apps) writer.write_bool_value("disallowDesktopApps", self.disallow_desktop_apps) diff --git a/msgraph_beta/generated/models/windows_kiosk_profile.py b/msgraph_beta/generated/models/windows_kiosk_profile.py index 57c26a26a8f..a8be2816c9b 100644 --- a/msgraph_beta/generated/models/windows_kiosk_profile.py +++ b/msgraph_beta/generated/models/windows_kiosk_profile.py @@ -65,6 +65,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .windows_kiosk_app_configuration import WindowsKioskAppConfiguration + from .windows_kiosk_user import WindowsKioskUser + writer.write_object_value("appConfiguration", self.app_configuration) writer.write_str_value("@odata.type", self.odata_type) writer.write_str_value("profileId", self.profile_id) diff --git a/msgraph_beta/generated/models/windows_kiosk_single_u_w_p_app.py b/msgraph_beta/generated/models/windows_kiosk_single_u_w_p_app.py index 139531e12ec..d007977bfa0 100644 --- a/msgraph_beta/generated/models/windows_kiosk_single_u_w_p_app.py +++ b/msgraph_beta/generated/models/windows_kiosk_single_u_w_p_app.py @@ -57,6 +57,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .windows_kiosk_app_configuration import WindowsKioskAppConfiguration + from .windows_kiosk_u_w_p_app import WindowsKioskUWPApp + writer.write_object_value("uwpApp", self.uwp_app) diff --git a/msgraph_beta/generated/models/windows_kiosk_single_win32_app.py b/msgraph_beta/generated/models/windows_kiosk_single_win32_app.py index ab34263bded..68ffee343fe 100644 --- a/msgraph_beta/generated/models/windows_kiosk_single_win32_app.py +++ b/msgraph_beta/generated/models/windows_kiosk_single_win32_app.py @@ -57,6 +57,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .windows_kiosk_app_configuration import WindowsKioskAppConfiguration + from .windows_kiosk_win32_app import WindowsKioskWin32App + writer.write_object_value("win32App", self.win32_app) diff --git a/msgraph_beta/generated/models/windows_kiosk_u_w_p_app.py b/msgraph_beta/generated/models/windows_kiosk_u_w_p_app.py index 88e65518ee6..e45567b9a6c 100644 --- a/msgraph_beta/generated/models/windows_kiosk_u_w_p_app.py +++ b/msgraph_beta/generated/models/windows_kiosk_u_w_p_app.py @@ -60,6 +60,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .windows_kiosk_app_base import WindowsKioskAppBase + writer.write_str_value("appId", self.app_id) writer.write_str_value("appUserModelId", self.app_user_model_id) writer.write_str_value("containedAppId", self.contained_app_id) diff --git a/msgraph_beta/generated/models/windows_kiosk_user.py b/msgraph_beta/generated/models/windows_kiosk_user.py index c729ffd55d0..9fe73786dab 100644 --- a/msgraph_beta/generated/models/windows_kiosk_user.py +++ b/msgraph_beta/generated/models/windows_kiosk_user.py @@ -36,7 +36,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> WindowsKioskUser: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.windowsKioskActiveDirectoryGroup".casefold(): @@ -103,6 +104,14 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .windows_kiosk_active_directory_group import WindowsKioskActiveDirectoryGroup + from .windows_kiosk_autologon import WindowsKioskAutologon + from .windows_kiosk_azure_a_d_group import WindowsKioskAzureADGroup + from .windows_kiosk_azure_a_d_user import WindowsKioskAzureADUser + from .windows_kiosk_local_group import WindowsKioskLocalGroup + from .windows_kiosk_local_user import WindowsKioskLocalUser + from .windows_kiosk_visitor import WindowsKioskVisitor + writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/windows_kiosk_visitor.py b/msgraph_beta/generated/models/windows_kiosk_visitor.py index d08165feb0a..b9e624b74be 100644 --- a/msgraph_beta/generated/models/windows_kiosk_visitor.py +++ b/msgraph_beta/generated/models/windows_kiosk_visitor.py @@ -51,5 +51,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .windows_kiosk_user import WindowsKioskUser + diff --git a/msgraph_beta/generated/models/windows_kiosk_win32_app.py b/msgraph_beta/generated/models/windows_kiosk_win32_app.py index f5fabd0775d..c5f03cba4cb 100644 --- a/msgraph_beta/generated/models/windows_kiosk_win32_app.py +++ b/msgraph_beta/generated/models/windows_kiosk_win32_app.py @@ -69,6 +69,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .windows_edge_kiosk_type import WindowsEdgeKioskType + from .windows_kiosk_app_base import WindowsKioskAppBase + writer.write_str_value("classicAppPath", self.classic_app_path) writer.write_str_value("edgeKiosk", self.edge_kiosk) writer.write_int_value("edgeKioskIdleTimeoutMinutes", self.edge_kiosk_idle_timeout_minutes) diff --git a/msgraph_beta/generated/models/windows_malware_category_count.py b/msgraph_beta/generated/models/windows_malware_category_count.py index 1d7903cc805..621be2e4d1d 100644 --- a/msgraph_beta/generated/models/windows_malware_category_count.py +++ b/msgraph_beta/generated/models/windows_malware_category_count.py @@ -69,6 +69,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .windows_malware_category import WindowsMalwareCategory + writer.write_int_value("activeMalwareDetectionCount", self.active_malware_detection_count) writer.write_enum_value("category", self.category) writer.write_int_value("deviceCount", self.device_count) diff --git a/msgraph_beta/generated/models/windows_malware_execution_state_count.py b/msgraph_beta/generated/models/windows_malware_execution_state_count.py index 98710e246b7..baca1f97ce1 100644 --- a/msgraph_beta/generated/models/windows_malware_execution_state_count.py +++ b/msgraph_beta/generated/models/windows_malware_execution_state_count.py @@ -63,6 +63,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .windows_malware_execution_state import WindowsMalwareExecutionState + writer.write_int_value("deviceCount", self.device_count) writer.write_enum_value("executionState", self.execution_state) writer.write_datetime_value("lastUpdateDateTime", self.last_update_date_time) diff --git a/msgraph_beta/generated/models/windows_malware_information.py b/msgraph_beta/generated/models/windows_malware_information.py index 1c69c1c2f10..731652fb206 100644 --- a/msgraph_beta/generated/models/windows_malware_information.py +++ b/msgraph_beta/generated/models/windows_malware_information.py @@ -79,6 +79,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .malware_state_for_windows_device import MalwareStateForWindowsDevice + from .windows_malware_category import WindowsMalwareCategory + from .windows_malware_severity import WindowsMalwareSeverity + writer.write_str_value("additionalInformationUrl", self.additional_information_url) writer.write_enum_value("category", self.category) writer.write_collection_of_object_values("deviceMalwareStates", self.device_malware_states) diff --git a/msgraph_beta/generated/models/windows_malware_information_collection_response.py b/msgraph_beta/generated/models/windows_malware_information_collection_response.py index 3e346d3128c..160ffe5aac1 100644 --- a/msgraph_beta/generated/models/windows_malware_information_collection_response.py +++ b/msgraph_beta/generated/models/windows_malware_information_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .windows_malware_information import WindowsMalwareInformation + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/windows_malware_overview.py b/msgraph_beta/generated/models/windows_malware_overview.py index 1420d0c5290..dd19ce4cd03 100644 --- a/msgraph_beta/generated/models/windows_malware_overview.py +++ b/msgraph_beta/generated/models/windows_malware_overview.py @@ -95,6 +95,13 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .os_version_count import OsVersionCount + from .windows_malware_category_count import WindowsMalwareCategoryCount + from .windows_malware_execution_state_count import WindowsMalwareExecutionStateCount + from .windows_malware_name_count import WindowsMalwareNameCount + from .windows_malware_severity_count import WindowsMalwareSeverityCount + from .windows_malware_state_count import WindowsMalwareStateCount + writer.write_collection_of_object_values("malwareCategorySummary", self.malware_category_summary) writer.write_int_value("malwareDetectedDeviceCount", self.malware_detected_device_count) writer.write_collection_of_object_values("malwareExecutionStateSummary", self.malware_execution_state_summary) diff --git a/msgraph_beta/generated/models/windows_malware_severity_count.py b/msgraph_beta/generated/models/windows_malware_severity_count.py index ac9688b26d6..ec531c394d4 100644 --- a/msgraph_beta/generated/models/windows_malware_severity_count.py +++ b/msgraph_beta/generated/models/windows_malware_severity_count.py @@ -66,6 +66,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .windows_malware_severity import WindowsMalwareSeverity + writer.write_int_value("distinctMalwareCount", self.distinct_malware_count) writer.write_datetime_value("lastUpdateDateTime", self.last_update_date_time) writer.write_int_value("malwareDetectionCount", self.malware_detection_count) diff --git a/msgraph_beta/generated/models/windows_malware_state_count.py b/msgraph_beta/generated/models/windows_malware_state_count.py index 0606032e0ce..f5ba72bde31 100644 --- a/msgraph_beta/generated/models/windows_malware_state_count.py +++ b/msgraph_beta/generated/models/windows_malware_state_count.py @@ -69,6 +69,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .windows_malware_threat_state import WindowsMalwareThreatState + writer.write_int_value("deviceCount", self.device_count) writer.write_int_value("distinctMalwareCount", self.distinct_malware_count) writer.write_datetime_value("lastUpdateDateTime", self.last_update_date_time) diff --git a/msgraph_beta/generated/models/windows_managed_app_protection.py b/msgraph_beta/generated/models/windows_managed_app_protection.py index 99ef0cb71be..0548a2305c9 100644 --- a/msgraph_beta/generated/models/windows_managed_app_protection.py +++ b/msgraph_beta/generated/models/windows_managed_app_protection.py @@ -148,6 +148,15 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .managed_app_device_threat_level import ManagedAppDeviceThreatLevel + from .managed_app_policy import ManagedAppPolicy + from .managed_app_policy_deployment_summary import ManagedAppPolicyDeploymentSummary + from .managed_app_remediation_action import ManagedAppRemediationAction + from .managed_mobile_app import ManagedMobileApp + from .targeted_managed_app_policy_assignment import TargetedManagedAppPolicyAssignment + from .windows_managed_app_clipboard_sharing_level import WindowsManagedAppClipboardSharingLevel + from .windows_managed_app_data_transfer_level import WindowsManagedAppDataTransferLevel + writer.write_enum_value("allowedInboundDataTransferSources", self.allowed_inbound_data_transfer_sources) writer.write_enum_value("allowedOutboundClipboardSharingLevel", self.allowed_outbound_clipboard_sharing_level) writer.write_enum_value("allowedOutboundDataTransferDestinations", self.allowed_outbound_data_transfer_destinations) diff --git a/msgraph_beta/generated/models/windows_managed_app_protection_collection_response.py b/msgraph_beta/generated/models/windows_managed_app_protection_collection_response.py index a8cfbf244fd..35f9d6d2908 100644 --- a/msgraph_beta/generated/models/windows_managed_app_protection_collection_response.py +++ b/msgraph_beta/generated/models/windows_managed_app_protection_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .windows_managed_app_protection import WindowsManagedAppProtection + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/windows_managed_app_registration.py b/msgraph_beta/generated/models/windows_managed_app_registration.py index 0792b68e29c..ee66de34d62 100644 --- a/msgraph_beta/generated/models/windows_managed_app_registration.py +++ b/msgraph_beta/generated/models/windows_managed_app_registration.py @@ -51,5 +51,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .managed_app_registration import ManagedAppRegistration + diff --git a/msgraph_beta/generated/models/windows_managed_device.py b/msgraph_beta/generated/models/windows_managed_device.py index 3a2b2fbc4e3..7b9f93a863f 100644 --- a/msgraph_beta/generated/models/windows_managed_device.py +++ b/msgraph_beta/generated/models/windows_managed_device.py @@ -51,5 +51,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .managed_device import ManagedDevice + diff --git a/msgraph_beta/generated/models/windows_management_app.py b/msgraph_beta/generated/models/windows_management_app.py index 4519c117a65..cb0c316367b 100644 --- a/msgraph_beta/generated/models/windows_management_app.py +++ b/msgraph_beta/generated/models/windows_management_app.py @@ -69,6 +69,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .managed_installer_status import ManagedInstallerStatus + from .windows_management_app_health_state import WindowsManagementAppHealthState + writer.write_str_value("availableVersion", self.available_version) writer.write_collection_of_object_values("healthStates", self.health_states) writer.write_enum_value("managedInstaller", self.managed_installer) diff --git a/msgraph_beta/generated/models/windows_management_app_health_state.py b/msgraph_beta/generated/models/windows_management_app_health_state.py index 6bd1a4e8a18..1e0afa16c47 100644 --- a/msgraph_beta/generated/models/windows_management_app_health_state.py +++ b/msgraph_beta/generated/models/windows_management_app_health_state.py @@ -70,6 +70,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .health_state import HealthState + writer.write_str_value("deviceName", self.device_name) writer.write_str_value("deviceOSVersion", self.device_o_s_version) writer.write_enum_value("healthState", self.health_state) diff --git a/msgraph_beta/generated/models/windows_management_app_health_summary.py b/msgraph_beta/generated/models/windows_management_app_health_summary.py index de0141b5f42..238d6fb6cce 100644 --- a/msgraph_beta/generated/models/windows_management_app_health_summary.py +++ b/msgraph_beta/generated/models/windows_management_app_health_summary.py @@ -60,6 +60,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_int_value("healthyDeviceCount", self.healthy_device_count) writer.write_int_value("unhealthyDeviceCount", self.unhealthy_device_count) writer.write_int_value("unknownDeviceCount", self.unknown_device_count) diff --git a/msgraph_beta/generated/models/windows_microsoft_edge_app.py b/msgraph_beta/generated/models/windows_microsoft_edge_app.py index 3700ec98350..326157ba28b 100644 --- a/msgraph_beta/generated/models/windows_microsoft_edge_app.py +++ b/msgraph_beta/generated/models/windows_microsoft_edge_app.py @@ -60,6 +60,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .microsoft_edge_channel import MicrosoftEdgeChannel + from .mobile_app import MobileApp + writer.write_enum_value("channel", self.channel) writer.write_str_value("displayLanguageLocale", self.display_language_locale) diff --git a/msgraph_beta/generated/models/windows_mobile_m_s_i.py b/msgraph_beta/generated/models/windows_mobile_m_s_i.py index d4541b2e4e2..59be150c128 100644 --- a/msgraph_beta/generated/models/windows_mobile_m_s_i.py +++ b/msgraph_beta/generated/models/windows_mobile_m_s_i.py @@ -69,6 +69,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .mobile_lob_app import MobileLobApp + writer.write_str_value("commandLine", self.command_line) writer.write_str_value("identityVersion", self.identity_version) writer.write_bool_value("ignoreVersionDetection", self.ignore_version_detection) diff --git a/msgraph_beta/generated/models/windows_mobile_m_s_i_collection_response.py b/msgraph_beta/generated/models/windows_mobile_m_s_i_collection_response.py index 810b469a203..e3013bb33d3 100644 --- a/msgraph_beta/generated/models/windows_mobile_m_s_i_collection_response.py +++ b/msgraph_beta/generated/models/windows_mobile_m_s_i_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .windows_mobile_m_s_i import WindowsMobileMSI + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/windows_network_isolation_policy.py b/msgraph_beta/generated/models/windows_network_isolation_policy.py index 55538287bf8..d6f0e21b503 100644 --- a/msgraph_beta/generated/models/windows_network_isolation_policy.py +++ b/msgraph_beta/generated/models/windows_network_isolation_policy.py @@ -80,6 +80,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .ip_range import IpRange + from .proxied_domain import ProxiedDomain + writer.write_collection_of_object_values("enterpriseCloudResources", self.enterprise_cloud_resources) writer.write_collection_of_object_values("enterpriseIPRanges", self.enterprise_i_p_ranges) writer.write_bool_value("enterpriseIPRangesAreAuthoritative", self.enterprise_i_p_ranges_are_authoritative) diff --git a/msgraph_beta/generated/models/windows_package_information.py b/msgraph_beta/generated/models/windows_package_information.py index d374dab8817..c01a4fe4632 100644 --- a/msgraph_beta/generated/models/windows_package_information.py +++ b/msgraph_beta/generated/models/windows_package_information.py @@ -77,6 +77,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .windows_architecture import WindowsArchitecture + from .windows_minimum_operating_system import WindowsMinimumOperatingSystem + writer.write_enum_value("applicableArchitecture", self.applicable_architecture) writer.write_str_value("displayName", self.display_name) writer.write_str_value("identityName", self.identity_name) diff --git a/msgraph_beta/generated/models/windows_phone81_app_x.py b/msgraph_beta/generated/models/windows_phone81_app_x.py index 61eef0f0d81..eab2e0fefa6 100644 --- a/msgraph_beta/generated/models/windows_phone81_app_x.py +++ b/msgraph_beta/generated/models/windows_phone81_app_x.py @@ -45,7 +45,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> WindowsPhone81AppX if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.windowsPhone81AppXBundle".casefold(): @@ -92,6 +93,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .mobile_lob_app import MobileLobApp + from .windows_architecture import WindowsArchitecture + from .windows_minimum_operating_system import WindowsMinimumOperatingSystem + from .windows_phone81_app_x_bundle import WindowsPhone81AppXBundle + writer.write_enum_value("applicableArchitectures", self.applicable_architectures) writer.write_str_value("identityName", self.identity_name) writer.write_str_value("identityPublisherHash", self.identity_publisher_hash) diff --git a/msgraph_beta/generated/models/windows_phone81_app_x_bundle.py b/msgraph_beta/generated/models/windows_phone81_app_x_bundle.py index 141ec075ea0..a468d553a87 100644 --- a/msgraph_beta/generated/models/windows_phone81_app_x_bundle.py +++ b/msgraph_beta/generated/models/windows_phone81_app_x_bundle.py @@ -57,6 +57,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .windows_package_information import WindowsPackageInformation + from .windows_phone81_app_x import WindowsPhone81AppX + writer.write_collection_of_object_values("appXPackageInformationList", self.app_x_package_information_list) diff --git a/msgraph_beta/generated/models/windows_phone81_certificate_profile_base.py b/msgraph_beta/generated/models/windows_phone81_certificate_profile_base.py index ca102650082..783c1b63ec3 100644 --- a/msgraph_beta/generated/models/windows_phone81_certificate_profile_base.py +++ b/msgraph_beta/generated/models/windows_phone81_certificate_profile_base.py @@ -46,7 +46,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> WindowsPhone81Cert if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.windowsPhone81SCEPCertificateProfile".casefold(): @@ -98,6 +99,14 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .certificate_validity_period_scale import CertificateValidityPeriodScale + from .device_configuration import DeviceConfiguration + from .extended_key_usage import ExtendedKeyUsage + from .key_storage_provider_option import KeyStorageProviderOption + from .subject_alternative_name_type import SubjectAlternativeNameType + from .subject_name_format import SubjectNameFormat + from .windows_phone81_s_c_e_p_certificate_profile import WindowsPhone81SCEPCertificateProfile + writer.write_enum_value("certificateValidityPeriodScale", self.certificate_validity_period_scale) writer.write_int_value("certificateValidityPeriodValue", self.certificate_validity_period_value) writer.write_collection_of_object_values("extendedKeyUsages", self.extended_key_usages) diff --git a/msgraph_beta/generated/models/windows_phone81_compliance_policy.py b/msgraph_beta/generated/models/windows_phone81_compliance_policy.py index 810f5c71117..5c7d304820a 100644 --- a/msgraph_beta/generated/models/windows_phone81_compliance_policy.py +++ b/msgraph_beta/generated/models/windows_phone81_compliance_policy.py @@ -87,6 +87,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_compliance_policy import DeviceCompliancePolicy + from .required_password_type import RequiredPasswordType + writer.write_str_value("osMaximumVersion", self.os_maximum_version) writer.write_str_value("osMinimumVersion", self.os_minimum_version) writer.write_bool_value("passwordBlockSimple", self.password_block_simple) diff --git a/msgraph_beta/generated/models/windows_phone81_custom_configuration.py b/msgraph_beta/generated/models/windows_phone81_custom_configuration.py index 0ddb62317f0..0c739304976 100644 --- a/msgraph_beta/generated/models/windows_phone81_custom_configuration.py +++ b/msgraph_beta/generated/models/windows_phone81_custom_configuration.py @@ -57,6 +57,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_configuration import DeviceConfiguration + from .oma_setting import OmaSetting + writer.write_collection_of_object_values("omaSettings", self.oma_settings) diff --git a/msgraph_beta/generated/models/windows_phone81_general_configuration.py b/msgraph_beta/generated/models/windows_phone81_general_configuration.py index 59780511964..c8f8b8b7114 100644 --- a/msgraph_beta/generated/models/windows_phone81_general_configuration.py +++ b/msgraph_beta/generated/models/windows_phone81_general_configuration.py @@ -147,6 +147,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .app_list_item import AppListItem + from .app_list_type import AppListType + from .device_configuration import DeviceConfiguration + from .required_password_type import RequiredPasswordType + writer.write_bool_value("appsBlockCopyPaste", self.apps_block_copy_paste) writer.write_bool_value("bluetoothBlocked", self.bluetooth_blocked) writer.write_bool_value("cameraBlocked", self.camera_blocked) diff --git a/msgraph_beta/generated/models/windows_phone81_imported_p_f_x_certificate_profile.py b/msgraph_beta/generated/models/windows_phone81_imported_p_f_x_certificate_profile.py index 03430da3a16..0f2a1900578 100644 --- a/msgraph_beta/generated/models/windows_phone81_imported_p_f_x_certificate_profile.py +++ b/msgraph_beta/generated/models/windows_phone81_imported_p_f_x_certificate_profile.py @@ -63,6 +63,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .intended_purpose import IntendedPurpose + from .managed_device_certificate_state import ManagedDeviceCertificateState + from .windows_certificate_profile_base import WindowsCertificateProfileBase + writer.write_enum_value("intendedPurpose", self.intended_purpose) writer.write_collection_of_object_values("managedDeviceCertificateStates", self.managed_device_certificate_states) diff --git a/msgraph_beta/generated/models/windows_phone81_s_c_e_p_certificate_profile.py b/msgraph_beta/generated/models/windows_phone81_s_c_e_p_certificate_profile.py index cc988d90f20..e339b554342 100644 --- a/msgraph_beta/generated/models/windows_phone81_s_c_e_p_certificate_profile.py +++ b/msgraph_beta/generated/models/windows_phone81_s_c_e_p_certificate_profile.py @@ -90,6 +90,13 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .hash_algorithms import HashAlgorithms + from .key_size import KeySize + from .key_usages import KeyUsages + from .managed_device_certificate_state import ManagedDeviceCertificateState + from .windows_phone81_certificate_profile_base import WindowsPhone81CertificateProfileBase + from .windows_phone81_trusted_root_certificate import WindowsPhone81TrustedRootCertificate + writer.write_enum_value("hashAlgorithm", self.hash_algorithm) writer.write_enum_value("keySize", self.key_size) writer.write_enum_value("keyUsage", self.key_usage) diff --git a/msgraph_beta/generated/models/windows_phone81_store_app.py b/msgraph_beta/generated/models/windows_phone81_store_app.py index ca4fc4daa9e..9927f8ce270 100644 --- a/msgraph_beta/generated/models/windows_phone81_store_app.py +++ b/msgraph_beta/generated/models/windows_phone81_store_app.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .mobile_app import MobileApp + writer.write_str_value("appStoreUrl", self.app_store_url) diff --git a/msgraph_beta/generated/models/windows_phone81_trusted_root_certificate.py b/msgraph_beta/generated/models/windows_phone81_trusted_root_certificate.py index 201f8cc8255..8b515de96d3 100644 --- a/msgraph_beta/generated/models/windows_phone81_trusted_root_certificate.py +++ b/msgraph_beta/generated/models/windows_phone81_trusted_root_certificate.py @@ -57,6 +57,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_configuration import DeviceConfiguration + writer.write_str_value("certFileName", self.cert_file_name) writer.write_bytes_value("trustedRootCertificate", self.trusted_root_certificate) diff --git a/msgraph_beta/generated/models/windows_phone81_vpn_configuration.py b/msgraph_beta/generated/models/windows_phone81_vpn_configuration.py index d398a3b3fc8..87389487fee 100644 --- a/msgraph_beta/generated/models/windows_phone81_vpn_configuration.py +++ b/msgraph_beta/generated/models/windows_phone81_vpn_configuration.py @@ -75,6 +75,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .vpn_authentication_method import VpnAuthenticationMethod + from .windows81_vpn_configuration import Windows81VpnConfiguration + from .windows_phone81_certificate_profile_base import WindowsPhone81CertificateProfileBase + writer.write_enum_value("authenticationMethod", self.authentication_method) writer.write_bool_value("bypassVpnOnCompanyWifi", self.bypass_vpn_on_company_wifi) writer.write_bool_value("bypassVpnOnHomeWifi", self.bypass_vpn_on_home_wifi) diff --git a/msgraph_beta/generated/models/windows_phone_e_a_s_email_profile_configuration.py b/msgraph_beta/generated/models/windows_phone_e_a_s_email_profile_configuration.py index 4811e8e1307..b3f279909b6 100644 --- a/msgraph_beta/generated/models/windows_phone_e_a_s_email_profile_configuration.py +++ b/msgraph_beta/generated/models/windows_phone_e_a_s_email_profile_configuration.py @@ -90,6 +90,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .eas_email_profile_configuration_base import EasEmailProfileConfigurationBase + from .email_sync_duration import EmailSyncDuration + from .email_sync_schedule import EmailSyncSchedule + from .user_email_source import UserEmailSource + writer.write_str_value("accountName", self.account_name) writer.write_enum_value("durationOfEmailToSync", self.duration_of_email_to_sync) writer.write_enum_value("emailAddressSource", self.email_address_source) diff --git a/msgraph_beta/generated/models/windows_phone_x_a_p.py b/msgraph_beta/generated/models/windows_phone_x_a_p.py index 64e6572e6a4..aefa2cdb3e5 100644 --- a/msgraph_beta/generated/models/windows_phone_x_a_p.py +++ b/msgraph_beta/generated/models/windows_phone_x_a_p.py @@ -63,6 +63,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .mobile_lob_app import MobileLobApp + from .windows_minimum_operating_system import WindowsMinimumOperatingSystem + writer.write_str_value("identityVersion", self.identity_version) writer.write_object_value("minimumSupportedOperatingSystem", self.minimum_supported_operating_system) writer.write_str_value("productIdentifier", self.product_identifier) diff --git a/msgraph_beta/generated/models/windows_privacy_data_access_control_item.py b/msgraph_beta/generated/models/windows_privacy_data_access_control_item.py index c97c386b976..ccd4dc8d6d7 100644 --- a/msgraph_beta/generated/models/windows_privacy_data_access_control_item.py +++ b/msgraph_beta/generated/models/windows_privacy_data_access_control_item.py @@ -69,6 +69,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .windows_privacy_data_access_level import WindowsPrivacyDataAccessLevel + from .windows_privacy_data_category import WindowsPrivacyDataCategory + writer.write_enum_value("accessLevel", self.access_level) writer.write_str_value("appDisplayName", self.app_display_name) writer.write_str_value("appPackageFamilyName", self.app_package_family_name) diff --git a/msgraph_beta/generated/models/windows_protection_state.py b/msgraph_beta/generated/models/windows_protection_state.py index 50b963386e5..6ae15b89523 100644 --- a/msgraph_beta/generated/models/windows_protection_state.py +++ b/msgraph_beta/generated/models/windows_protection_state.py @@ -124,6 +124,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .windows_defender_product_status import WindowsDefenderProductStatus + from .windows_device_health_state import WindowsDeviceHealthState + from .windows_device_malware_state import WindowsDeviceMalwareState + writer.write_str_value("antiMalwareVersion", self.anti_malware_version) writer.write_collection_of_object_values("detectedMalwareState", self.detected_malware_state) writer.write_enum_value("deviceState", self.device_state) diff --git a/msgraph_beta/generated/models/windows_quality_update_catalog_item.py b/msgraph_beta/generated/models/windows_quality_update_catalog_item.py index e07f124d49e..06af23f4b74 100644 --- a/msgraph_beta/generated/models/windows_quality_update_catalog_item.py +++ b/msgraph_beta/generated/models/windows_quality_update_catalog_item.py @@ -63,6 +63,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .windows_quality_update_classification import WindowsQualityUpdateClassification + from .windows_update_catalog_item import WindowsUpdateCatalogItem + writer.write_enum_value("classification", self.classification) writer.write_bool_value("isExpeditable", self.is_expeditable) writer.write_str_value("kbArticleId", self.kb_article_id) diff --git a/msgraph_beta/generated/models/windows_quality_update_policy.py b/msgraph_beta/generated/models/windows_quality_update_policy.py index 1572436e99f..a9ec17a1929 100644 --- a/msgraph_beta/generated/models/windows_quality_update_policy.py +++ b/msgraph_beta/generated/models/windows_quality_update_policy.py @@ -76,6 +76,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .windows_quality_update_policy_assignment import WindowsQualityUpdatePolicyAssignment + writer.write_collection_of_object_values("assignments", self.assignments) writer.write_datetime_value("createdDateTime", self.created_date_time) writer.write_str_value("description", self.description) diff --git a/msgraph_beta/generated/models/windows_quality_update_policy_assignment.py b/msgraph_beta/generated/models/windows_quality_update_policy_assignment.py index c251800990c..65bb27515ab 100644 --- a/msgraph_beta/generated/models/windows_quality_update_policy_assignment.py +++ b/msgraph_beta/generated/models/windows_quality_update_policy_assignment.py @@ -57,6 +57,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_and_app_management_assignment_target import DeviceAndAppManagementAssignmentTarget + from .entity import Entity + writer.write_object_value("target", self.target) diff --git a/msgraph_beta/generated/models/windows_quality_update_policy_assignment_collection_response.py b/msgraph_beta/generated/models/windows_quality_update_policy_assignment_collection_response.py index 538905dd7a8..3482f84031f 100644 --- a/msgraph_beta/generated/models/windows_quality_update_policy_assignment_collection_response.py +++ b/msgraph_beta/generated/models/windows_quality_update_policy_assignment_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .windows_quality_update_policy_assignment import WindowsQualityUpdatePolicyAssignment + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/windows_quality_update_policy_collection_response.py b/msgraph_beta/generated/models/windows_quality_update_policy_collection_response.py index 645d4f233d0..a5ccdfa994a 100644 --- a/msgraph_beta/generated/models/windows_quality_update_policy_collection_response.py +++ b/msgraph_beta/generated/models/windows_quality_update_policy_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .windows_quality_update_policy import WindowsQualityUpdatePolicy + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/windows_quality_update_profile.py b/msgraph_beta/generated/models/windows_quality_update_profile.py index 5ad0e6c8469..7a6382c971d 100644 --- a/msgraph_beta/generated/models/windows_quality_update_profile.py +++ b/msgraph_beta/generated/models/windows_quality_update_profile.py @@ -85,6 +85,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .expedited_windows_quality_update_settings import ExpeditedWindowsQualityUpdateSettings + from .windows_quality_update_profile_assignment import WindowsQualityUpdateProfileAssignment + writer.write_collection_of_object_values("assignments", self.assignments) writer.write_datetime_value("createdDateTime", self.created_date_time) writer.write_str_value("deployableContentDisplayName", self.deployable_content_display_name) diff --git a/msgraph_beta/generated/models/windows_quality_update_profile_assignment.py b/msgraph_beta/generated/models/windows_quality_update_profile_assignment.py index 9b5f2daff5b..e3dd8b9eacf 100644 --- a/msgraph_beta/generated/models/windows_quality_update_profile_assignment.py +++ b/msgraph_beta/generated/models/windows_quality_update_profile_assignment.py @@ -57,6 +57,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_and_app_management_assignment_target import DeviceAndAppManagementAssignmentTarget + from .entity import Entity + writer.write_object_value("target", self.target) diff --git a/msgraph_beta/generated/models/windows_quality_update_profile_assignment_collection_response.py b/msgraph_beta/generated/models/windows_quality_update_profile_assignment_collection_response.py index b33cb1603e2..6d54b2b3319 100644 --- a/msgraph_beta/generated/models/windows_quality_update_profile_assignment_collection_response.py +++ b/msgraph_beta/generated/models/windows_quality_update_profile_assignment_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .windows_quality_update_profile_assignment import WindowsQualityUpdateProfileAssignment + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/windows_quality_update_profile_collection_response.py b/msgraph_beta/generated/models/windows_quality_update_profile_collection_response.py index 85c6cdd896a..862c66eec8f 100644 --- a/msgraph_beta/generated/models/windows_quality_update_profile_collection_response.py +++ b/msgraph_beta/generated/models/windows_quality_update_profile_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .windows_quality_update_profile import WindowsQualityUpdateProfile + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/windows_setting.py b/msgraph_beta/generated/models/windows_setting.py index 7a90597730a..508dd183d20 100644 --- a/msgraph_beta/generated/models/windows_setting.py +++ b/msgraph_beta/generated/models/windows_setting.py @@ -66,6 +66,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .windows_setting_instance import WindowsSettingInstance + from .windows_setting_type import WindowsSettingType + writer.write_collection_of_object_values("instances", self.instances) writer.write_str_value("payloadType", self.payload_type) writer.write_enum_value("settingType", self.setting_type) diff --git a/msgraph_beta/generated/models/windows_setting_collection_response.py b/msgraph_beta/generated/models/windows_setting_collection_response.py index dae4a0421d6..e13bdeb4b6c 100644 --- a/msgraph_beta/generated/models/windows_setting_collection_response.py +++ b/msgraph_beta/generated/models/windows_setting_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .windows_setting import WindowsSetting + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/windows_setting_instance.py b/msgraph_beta/generated/models/windows_setting_instance.py index 9aa00bd9346..de94344cf00 100644 --- a/msgraph_beta/generated/models/windows_setting_instance.py +++ b/msgraph_beta/generated/models/windows_setting_instance.py @@ -61,6 +61,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_datetime_value("createdDateTime", self.created_date_time) writer.write_datetime_value("expirationDateTime", self.expiration_date_time) writer.write_datetime_value("lastModifiedDateTime", self.last_modified_date_time) diff --git a/msgraph_beta/generated/models/windows_setting_instance_collection_response.py b/msgraph_beta/generated/models/windows_setting_instance_collection_response.py index becadf674e8..c6fc7b63f73 100644 --- a/msgraph_beta/generated/models/windows_setting_instance_collection_response.py +++ b/msgraph_beta/generated/models/windows_setting_instance_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .windows_setting_instance import WindowsSettingInstance + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/windows_store_app.py b/msgraph_beta/generated/models/windows_store_app.py index de81eadd107..9340bc696c6 100644 --- a/msgraph_beta/generated/models/windows_store_app.py +++ b/msgraph_beta/generated/models/windows_store_app.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .mobile_app import MobileApp + writer.write_str_value("appStoreUrl", self.app_store_url) diff --git a/msgraph_beta/generated/models/windows_store_app_collection_response.py b/msgraph_beta/generated/models/windows_store_app_collection_response.py index 1deb5d92524..0e6e11261fe 100644 --- a/msgraph_beta/generated/models/windows_store_app_collection_response.py +++ b/msgraph_beta/generated/models/windows_store_app_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .windows_store_app import WindowsStoreApp + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/windows_universal_app_x.py b/msgraph_beta/generated/models/windows_universal_app_x.py index 70fac1898c3..267e4b2c429 100644 --- a/msgraph_beta/generated/models/windows_universal_app_x.py +++ b/msgraph_beta/generated/models/windows_universal_app_x.py @@ -90,6 +90,12 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .mobile_contained_app import MobileContainedApp + from .mobile_lob_app import MobileLobApp + from .windows_architecture import WindowsArchitecture + from .windows_device_type import WindowsDeviceType + from .windows_minimum_operating_system import WindowsMinimumOperatingSystem + writer.write_enum_value("applicableArchitectures", self.applicable_architectures) writer.write_enum_value("applicableDeviceTypes", self.applicable_device_types) writer.write_collection_of_object_values("committedContainedApps", self.committed_contained_apps) diff --git a/msgraph_beta/generated/models/windows_universal_app_x_app_assignment_settings.py b/msgraph_beta/generated/models/windows_universal_app_x_app_assignment_settings.py index dd3b5aa57b7..9a2961b4410 100644 --- a/msgraph_beta/generated/models/windows_universal_app_x_app_assignment_settings.py +++ b/msgraph_beta/generated/models/windows_universal_app_x_app_assignment_settings.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .mobile_app_assignment_settings import MobileAppAssignmentSettings + writer.write_bool_value("useDeviceContext", self.use_device_context) diff --git a/msgraph_beta/generated/models/windows_universal_app_x_collection_response.py b/msgraph_beta/generated/models/windows_universal_app_x_collection_response.py index 561be8530b0..cfa9853d1b5 100644 --- a/msgraph_beta/generated/models/windows_universal_app_x_collection_response.py +++ b/msgraph_beta/generated/models/windows_universal_app_x_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .windows_universal_app_x import WindowsUniversalAppX + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/windows_universal_app_x_contained_app.py b/msgraph_beta/generated/models/windows_universal_app_x_contained_app.py index 78875874693..f5192803c34 100644 --- a/msgraph_beta/generated/models/windows_universal_app_x_contained_app.py +++ b/msgraph_beta/generated/models/windows_universal_app_x_contained_app.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .mobile_contained_app import MobileContainedApp + writer.write_str_value("appUserModelId", self.app_user_model_id) diff --git a/msgraph_beta/generated/models/windows_update_active_hours_install.py b/msgraph_beta/generated/models/windows_update_active_hours_install.py index a9a9abc03b2..6f7d33a620a 100644 --- a/msgraph_beta/generated/models/windows_update_active_hours_install.py +++ b/msgraph_beta/generated/models/windows_update_active_hours_install.py @@ -55,6 +55,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .windows_update_install_schedule_type import WindowsUpdateInstallScheduleType + writer.write_time_value("activeHoursEnd", self.active_hours_end) writer.write_time_value("activeHoursStart", self.active_hours_start) diff --git a/msgraph_beta/generated/models/windows_update_catalog_item.py b/msgraph_beta/generated/models/windows_update_catalog_item.py index 8ddf985e5c7..e3552803b21 100644 --- a/msgraph_beta/generated/models/windows_update_catalog_item.py +++ b/msgraph_beta/generated/models/windows_update_catalog_item.py @@ -35,7 +35,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> WindowsUpdateCatal if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.windowsFeatureUpdateCatalogItem".casefold(): @@ -79,6 +80,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .windows_feature_update_catalog_item import WindowsFeatureUpdateCatalogItem + from .windows_quality_update_catalog_item import WindowsQualityUpdateCatalogItem + writer.write_str_value("displayName", self.display_name) writer.write_datetime_value("endOfSupportDate", self.end_of_support_date) writer.write_datetime_value("releaseDateTime", self.release_date_time) diff --git a/msgraph_beta/generated/models/windows_update_catalog_item_collection_response.py b/msgraph_beta/generated/models/windows_update_catalog_item_collection_response.py index 4d27c4987d3..d7c4958cddb 100644 --- a/msgraph_beta/generated/models/windows_update_catalog_item_collection_response.py +++ b/msgraph_beta/generated/models/windows_update_catalog_item_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .windows_update_catalog_item import WindowsUpdateCatalogItem + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/windows_update_for_business_configuration.py b/msgraph_beta/generated/models/windows_update_for_business_configuration.py index 6d1c40bf7dd..0ef5b1da730 100644 --- a/msgraph_beta/generated/models/windows_update_for_business_configuration.py +++ b/msgraph_beta/generated/models/windows_update_for_business_configuration.py @@ -187,6 +187,17 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .automatic_update_mode import AutomaticUpdateMode + from .auto_restart_notification_dismissal_method import AutoRestartNotificationDismissalMethod + from .device_configuration import DeviceConfiguration + from .enablement import Enablement + from .prerelease_features import PrereleaseFeatures + from .windows_delivery_optimization_mode import WindowsDeliveryOptimizationMode + from .windows_update_for_business_update_weeks import WindowsUpdateForBusinessUpdateWeeks + from .windows_update_install_schedule_type import WindowsUpdateInstallScheduleType + from .windows_update_notification_display_option import WindowsUpdateNotificationDisplayOption + from .windows_update_type import WindowsUpdateType + writer.write_bool_value("allowWindows11Upgrade", self.allow_windows11_upgrade) writer.write_enum_value("autoRestartNotificationDismissal", self.auto_restart_notification_dismissal) writer.write_enum_value("automaticUpdateMode", self.automatic_update_mode) diff --git a/msgraph_beta/generated/models/windows_update_install_schedule_type.py b/msgraph_beta/generated/models/windows_update_install_schedule_type.py index 07b58dd44af..2a347f34175 100644 --- a/msgraph_beta/generated/models/windows_update_install_schedule_type.py +++ b/msgraph_beta/generated/models/windows_update_install_schedule_type.py @@ -28,7 +28,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> WindowsUpdateInsta if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.windowsUpdateActiveHoursInstall".casefold(): @@ -65,6 +66,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .windows_update_active_hours_install import WindowsUpdateActiveHoursInstall + from .windows_update_scheduled_install import WindowsUpdateScheduledInstall + writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/windows_update_scheduled_install.py b/msgraph_beta/generated/models/windows_update_scheduled_install.py index a134aa05e30..5d2d16869b6 100644 --- a/msgraph_beta/generated/models/windows_update_scheduled_install.py +++ b/msgraph_beta/generated/models/windows_update_scheduled_install.py @@ -58,6 +58,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .weekly_schedule import WeeklySchedule + from .windows_update_install_schedule_type import WindowsUpdateInstallScheduleType + writer.write_enum_value("scheduledInstallDay", self.scheduled_install_day) writer.write_time_value("scheduledInstallTime", self.scheduled_install_time) diff --git a/msgraph_beta/generated/models/windows_update_state.py b/msgraph_beta/generated/models/windows_update_state.py index 1f53a481e12..3b6f9e37c4b 100644 --- a/msgraph_beta/generated/models/windows_update_state.py +++ b/msgraph_beta/generated/models/windows_update_state.py @@ -79,6 +79,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .windows_update_status import WindowsUpdateStatus + writer.write_str_value("deviceDisplayName", self.device_display_name) writer.write_str_value("deviceId", self.device_id) writer.write_str_value("featureUpdateVersion", self.feature_update_version) diff --git a/msgraph_beta/generated/models/windows_updates/applicable_content.py b/msgraph_beta/generated/models/windows_updates/applicable_content.py index 605388b4b20..77b88d75fdf 100644 --- a/msgraph_beta/generated/models/windows_updates/applicable_content.py +++ b/msgraph_beta/generated/models/windows_updates/applicable_content.py @@ -62,6 +62,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .applicable_content_device_match import ApplicableContentDeviceMatch + from .catalog_entry import CatalogEntry + writer.write_object_value("catalogEntry", self.catalog_entry) writer.write_str_value("catalogEntryId", self.catalog_entry_id) writer.write_collection_of_object_values("matchedDevices", self.matched_devices) diff --git a/msgraph_beta/generated/models/windows_updates/applicable_content_collection_response.py b/msgraph_beta/generated/models/windows_updates/applicable_content_collection_response.py index 8c27901312b..779dd3fede2 100644 --- a/msgraph_beta/generated/models/windows_updates/applicable_content_collection_response.py +++ b/msgraph_beta/generated/models/windows_updates/applicable_content_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .applicable_content import ApplicableContent + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/windows_updates/applicable_content_device_match_collection_response.py b/msgraph_beta/generated/models/windows_updates/applicable_content_device_match_collection_response.py index 981663865b0..5e84a0a9fc4 100644 --- a/msgraph_beta/generated/models/windows_updates/applicable_content_device_match_collection_response.py +++ b/msgraph_beta/generated/models/windows_updates/applicable_content_device_match_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .applicable_content_device_match import ApplicableContentDeviceMatch + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/windows_updates/azure_a_d_device.py b/msgraph_beta/generated/models/windows_updates/azure_a_d_device.py index 8a0a34ae39f..dfd367b618c 100644 --- a/msgraph_beta/generated/models/windows_updates/azure_a_d_device.py +++ b/msgraph_beta/generated/models/windows_updates/azure_a_d_device.py @@ -60,6 +60,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .updatable_asset import UpdatableAsset + from .updatable_asset_enrollment import UpdatableAssetEnrollment + from .updatable_asset_error import UpdatableAssetError + writer.write_collection_of_object_values("enrollments", self.enrollments) writer.write_collection_of_object_values("errors", self.errors) diff --git a/msgraph_beta/generated/models/windows_updates/azure_a_d_device_registration_error.py b/msgraph_beta/generated/models/windows_updates/azure_a_d_device_registration_error.py index 23f650ab30c..3ff5500c0c6 100644 --- a/msgraph_beta/generated/models/windows_updates/azure_a_d_device_registration_error.py +++ b/msgraph_beta/generated/models/windows_updates/azure_a_d_device_registration_error.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .azure_a_d_device_registration_error_reason import AzureADDeviceRegistrationErrorReason + from .updatable_asset_error import UpdatableAssetError + writer.write_enum_value("reason", self.reason) diff --git a/msgraph_beta/generated/models/windows_updates/catalog.py b/msgraph_beta/generated/models/windows_updates/catalog.py index 460b81dec64..00254648caa 100644 --- a/msgraph_beta/generated/models/windows_updates/catalog.py +++ b/msgraph_beta/generated/models/windows_updates/catalog.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + from .catalog_entry import CatalogEntry + writer.write_collection_of_object_values("entries", self.entries) diff --git a/msgraph_beta/generated/models/windows_updates/catalog_content.py b/msgraph_beta/generated/models/windows_updates/catalog_content.py index 5c25cb40d91..10b8f70b8c7 100644 --- a/msgraph_beta/generated/models/windows_updates/catalog_content.py +++ b/msgraph_beta/generated/models/windows_updates/catalog_content.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .catalog_entry import CatalogEntry + from .deployable_content import DeployableContent + writer.write_object_value("catalogEntry", self.catalog_entry) diff --git a/msgraph_beta/generated/models/windows_updates/catalog_entry.py b/msgraph_beta/generated/models/windows_updates/catalog_entry.py index 1a5a7c4705e..431eb74a8e2 100644 --- a/msgraph_beta/generated/models/windows_updates/catalog_entry.py +++ b/msgraph_beta/generated/models/windows_updates/catalog_entry.py @@ -34,7 +34,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> CatalogEntry: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.windowsUpdates.driverUpdateCatalogEntry".casefold(): @@ -90,6 +91,12 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + from .driver_update_catalog_entry import DriverUpdateCatalogEntry + from .feature_update_catalog_entry import FeatureUpdateCatalogEntry + from .quality_update_catalog_entry import QualityUpdateCatalogEntry + from .software_update_catalog_entry import SoftwareUpdateCatalogEntry + writer.write_datetime_value("deployableUntilDateTime", self.deployable_until_date_time) writer.write_str_value("displayName", self.display_name) writer.write_datetime_value("releaseDateTime", self.release_date_time) diff --git a/msgraph_beta/generated/models/windows_updates/catalog_entry_collection_response.py b/msgraph_beta/generated/models/windows_updates/catalog_entry_collection_response.py index c1e054dec43..dc2b60620f0 100644 --- a/msgraph_beta/generated/models/windows_updates/catalog_entry_collection_response.py +++ b/msgraph_beta/generated/models/windows_updates/catalog_entry_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .catalog_entry import CatalogEntry + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/windows_updates/compliance_change.py b/msgraph_beta/generated/models/windows_updates/compliance_change.py index db9c4d73fe8..b05f122956a 100644 --- a/msgraph_beta/generated/models/windows_updates/compliance_change.py +++ b/msgraph_beta/generated/models/windows_updates/compliance_change.py @@ -34,7 +34,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> ComplianceChange: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.windowsUpdates.contentApproval".casefold(): @@ -75,6 +76,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + from .content_approval import ContentApproval + from .update_policy import UpdatePolicy + writer.write_datetime_value("createdDateTime", self.created_date_time) writer.write_bool_value("isRevoked", self.is_revoked) writer.write_datetime_value("revokedDateTime", self.revoked_date_time) diff --git a/msgraph_beta/generated/models/windows_updates/compliance_change_collection_response.py b/msgraph_beta/generated/models/windows_updates/compliance_change_collection_response.py index 8b19a3946d4..539e10883d0 100644 --- a/msgraph_beta/generated/models/windows_updates/compliance_change_collection_response.py +++ b/msgraph_beta/generated/models/windows_updates/compliance_change_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .compliance_change import ComplianceChange + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/windows_updates/compliance_change_rule.py b/msgraph_beta/generated/models/windows_updates/compliance_change_rule.py index ce36953351f..1853589ff4f 100644 --- a/msgraph_beta/generated/models/windows_updates/compliance_change_rule.py +++ b/msgraph_beta/generated/models/windows_updates/compliance_change_rule.py @@ -34,7 +34,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> ComplianceChangeRu if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.windowsUpdates.contentApprovalRule".casefold(): @@ -68,6 +69,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .content_approval_rule import ContentApprovalRule + writer.write_datetime_value("createdDateTime", self.created_date_time) writer.write_datetime_value("lastEvaluatedDateTime", self.last_evaluated_date_time) writer.write_datetime_value("lastModifiedDateTime", self.last_modified_date_time) diff --git a/msgraph_beta/generated/models/windows_updates/content_applicability_settings.py b/msgraph_beta/generated/models/windows_updates/content_applicability_settings.py index 1d537143e1a..ca7cac58572 100644 --- a/msgraph_beta/generated/models/windows_updates/content_applicability_settings.py +++ b/msgraph_beta/generated/models/windows_updates/content_applicability_settings.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .safeguard_settings import SafeguardSettings + writer.write_str_value("@odata.type", self.odata_type) writer.write_collection_of_primitive_values("offerWhileRecommendedBy", self.offer_while_recommended_by) writer.write_object_value("safeguard", self.safeguard) diff --git a/msgraph_beta/generated/models/windows_updates/content_approval.py b/msgraph_beta/generated/models/windows_updates/content_approval.py index 81676c02dde..5f961826a5f 100644 --- a/msgraph_beta/generated/models/windows_updates/content_approval.py +++ b/msgraph_beta/generated/models/windows_updates/content_approval.py @@ -66,6 +66,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .compliance_change import ComplianceChange + from .deployable_content import DeployableContent + from .deployment import Deployment + from .deployment_settings import DeploymentSettings + writer.write_object_value("content", self.content) writer.write_object_value("deploymentSettings", self.deployment_settings) writer.write_collection_of_object_values("deployments", self.deployments) diff --git a/msgraph_beta/generated/models/windows_updates/content_approval_rule.py b/msgraph_beta/generated/models/windows_updates/content_approval_rule.py index 48f9028c4ce..efaa8408ab8 100644 --- a/msgraph_beta/generated/models/windows_updates/content_approval_rule.py +++ b/msgraph_beta/generated/models/windows_updates/content_approval_rule.py @@ -58,6 +58,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .compliance_change_rule import ComplianceChangeRule + from .content_filter import ContentFilter + writer.write_object_value("contentFilter", self.content_filter) writer.write_timedelta_value("durationBeforeDeploymentStart", self.duration_before_deployment_start) diff --git a/msgraph_beta/generated/models/windows_updates/content_filter.py b/msgraph_beta/generated/models/windows_updates/content_filter.py index 63325ad1898..ee569a14992 100644 --- a/msgraph_beta/generated/models/windows_updates/content_filter.py +++ b/msgraph_beta/generated/models/windows_updates/content_filter.py @@ -30,7 +30,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> ContentFilter: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.windowsUpdates.driverUpdateFilter".casefold(): @@ -79,6 +80,11 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .driver_update_filter import DriverUpdateFilter + from .quality_update_filter import QualityUpdateFilter + from .software_update_filter import SoftwareUpdateFilter + from .windows_update_filter import WindowsUpdateFilter + writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/windows_updates/date_driven_rollout_settings.py b/msgraph_beta/generated/models/windows_updates/date_driven_rollout_settings.py index ad60c3c5076..655ef7af661 100644 --- a/msgraph_beta/generated/models/windows_updates/date_driven_rollout_settings.py +++ b/msgraph_beta/generated/models/windows_updates/date_driven_rollout_settings.py @@ -52,6 +52,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .gradual_rollout_settings import GradualRolloutSettings + writer.write_datetime_value("endDateTime", self.end_date_time) diff --git a/msgraph_beta/generated/models/windows_updates/deployable_content.py b/msgraph_beta/generated/models/windows_updates/deployable_content.py index ddb111fca11..f39233c8228 100644 --- a/msgraph_beta/generated/models/windows_updates/deployable_content.py +++ b/msgraph_beta/generated/models/windows_updates/deployable_content.py @@ -27,7 +27,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> DeployableContent: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.windowsUpdates.catalogContent".casefold(): @@ -58,6 +59,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .catalog_content import CatalogContent + writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/windows_updates/deployment.py b/msgraph_beta/generated/models/windows_updates/deployment.py index d7f461ce39e..15bdac6fd86 100644 --- a/msgraph_beta/generated/models/windows_updates/deployment.py +++ b/msgraph_beta/generated/models/windows_updates/deployment.py @@ -79,6 +79,12 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + from .deployable_content import DeployableContent + from .deployment_audience import DeploymentAudience + from .deployment_settings import DeploymentSettings + from .deployment_state import DeploymentState + writer.write_object_value("audience", self.audience) writer.write_object_value("content", self.content) writer.write_datetime_value("createdDateTime", self.created_date_time) diff --git a/msgraph_beta/generated/models/windows_updates/deployment_audience.py b/msgraph_beta/generated/models/windows_updates/deployment_audience.py index b122328c966..7637c5dc1cf 100644 --- a/msgraph_beta/generated/models/windows_updates/deployment_audience.py +++ b/msgraph_beta/generated/models/windows_updates/deployment_audience.py @@ -63,6 +63,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + from .applicable_content import ApplicableContent + from .updatable_asset import UpdatableAsset + writer.write_collection_of_object_values("applicableContent", self.applicable_content) writer.write_collection_of_object_values("exclusions", self.exclusions) writer.write_collection_of_object_values("members", self.members) diff --git a/msgraph_beta/generated/models/windows_updates/deployment_audience_collection_response.py b/msgraph_beta/generated/models/windows_updates/deployment_audience_collection_response.py index b95c4867256..4895fa97b07 100644 --- a/msgraph_beta/generated/models/windows_updates/deployment_audience_collection_response.py +++ b/msgraph_beta/generated/models/windows_updates/deployment_audience_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .deployment_audience import DeploymentAudience + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/windows_updates/deployment_collection_response.py b/msgraph_beta/generated/models/windows_updates/deployment_collection_response.py index a7149fcfdf2..cc191e26fe4 100644 --- a/msgraph_beta/generated/models/windows_updates/deployment_collection_response.py +++ b/msgraph_beta/generated/models/windows_updates/deployment_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .deployment import Deployment + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/windows_updates/deployment_settings.py b/msgraph_beta/generated/models/windows_updates/deployment_settings.py index 3954758f3d6..db23afbe927 100644 --- a/msgraph_beta/generated/models/windows_updates/deployment_settings.py +++ b/msgraph_beta/generated/models/windows_updates/deployment_settings.py @@ -77,6 +77,12 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .content_applicability_settings import ContentApplicabilitySettings + from .expedite_settings import ExpediteSettings + from .monitoring_settings import MonitoringSettings + from .schedule_settings import ScheduleSettings + from .user_experience_settings import UserExperienceSettings + writer.write_object_value("contentApplicability", self.content_applicability) writer.write_object_value("expedite", self.expedite) writer.write_object_value("monitoring", self.monitoring) diff --git a/msgraph_beta/generated/models/windows_updates/deployment_state.py b/msgraph_beta/generated/models/windows_updates/deployment_state.py index 8306b649791..fed8b61a828 100644 --- a/msgraph_beta/generated/models/windows_updates/deployment_state.py +++ b/msgraph_beta/generated/models/windows_updates/deployment_state.py @@ -65,6 +65,10 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .deployment_state_reason import DeploymentStateReason + from .deployment_state_value import DeploymentStateValue + from .requested_deployment_state_value import RequestedDeploymentStateValue + writer.write_enum_value("effectiveValue", self.effective_value) writer.write_str_value("@odata.type", self.odata_type) writer.write_collection_of_object_values("reasons", self.reasons) diff --git a/msgraph_beta/generated/models/windows_updates/deployment_state_reason.py b/msgraph_beta/generated/models/windows_updates/deployment_state_reason.py index 314c6495a56..a9a3b5ca6dc 100644 --- a/msgraph_beta/generated/models/windows_updates/deployment_state_reason.py +++ b/msgraph_beta/generated/models/windows_updates/deployment_state_reason.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .deployment_state_reason_value import DeploymentStateReasonValue + writer.write_str_value("@odata.type", self.odata_type) writer.write_enum_value("value", self.value) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/windows_updates/driver_update_catalog_entry.py b/msgraph_beta/generated/models/windows_updates/driver_update_catalog_entry.py index 4cb11e74642..87f2cc05f09 100644 --- a/msgraph_beta/generated/models/windows_updates/driver_update_catalog_entry.py +++ b/msgraph_beta/generated/models/windows_updates/driver_update_catalog_entry.py @@ -70,6 +70,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .software_update_catalog_entry import SoftwareUpdateCatalogEntry + writer.write_str_value("description", self.description) writer.write_str_value("driverClass", self.driver_class) writer.write_str_value("manufacturer", self.manufacturer) diff --git a/msgraph_beta/generated/models/windows_updates/driver_update_filter.py b/msgraph_beta/generated/models/windows_updates/driver_update_filter.py index 0b8ca0bb595..f4bdf714a6c 100644 --- a/msgraph_beta/generated/models/windows_updates/driver_update_filter.py +++ b/msgraph_beta/generated/models/windows_updates/driver_update_filter.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .windows_update_filter import WindowsUpdateFilter + diff --git a/msgraph_beta/generated/models/windows_updates/duration_driven_rollout_settings.py b/msgraph_beta/generated/models/windows_updates/duration_driven_rollout_settings.py index d678c352904..a0b4cf1890a 100644 --- a/msgraph_beta/generated/models/windows_updates/duration_driven_rollout_settings.py +++ b/msgraph_beta/generated/models/windows_updates/duration_driven_rollout_settings.py @@ -52,6 +52,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .gradual_rollout_settings import GradualRolloutSettings + writer.write_timedelta_value("durationUntilDeploymentEnd", self.duration_until_deployment_end) diff --git a/msgraph_beta/generated/models/windows_updates/edition.py b/msgraph_beta/generated/models/windows_updates/edition.py index b88361509d4..e1a0600a7d0 100644 --- a/msgraph_beta/generated/models/windows_updates/edition.py +++ b/msgraph_beta/generated/models/windows_updates/edition.py @@ -73,6 +73,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + from .servicing_period import ServicingPeriod + writer.write_str_value("deviceFamily", self.device_family) writer.write_datetime_value("endOfServiceDateTime", self.end_of_service_date_time) writer.write_datetime_value("generalAvailabilityDateTime", self.general_availability_date_time) diff --git a/msgraph_beta/generated/models/windows_updates/edition_collection_response.py b/msgraph_beta/generated/models/windows_updates/edition_collection_response.py index 276216d4977..f9e16a905e5 100644 --- a/msgraph_beta/generated/models/windows_updates/edition_collection_response.py +++ b/msgraph_beta/generated/models/windows_updates/edition_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .edition import Edition + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/windows_updates/feature_update_catalog_entry.py b/msgraph_beta/generated/models/windows_updates/feature_update_catalog_entry.py index 4a4463bb54f..667b583c1dc 100644 --- a/msgraph_beta/generated/models/windows_updates/feature_update_catalog_entry.py +++ b/msgraph_beta/generated/models/windows_updates/feature_update_catalog_entry.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .software_update_catalog_entry import SoftwareUpdateCatalogEntry + writer.write_str_value("buildNumber", self.build_number) writer.write_str_value("version", self.version) diff --git a/msgraph_beta/generated/models/windows_updates/gradual_rollout_settings.py b/msgraph_beta/generated/models/windows_updates/gradual_rollout_settings.py index 4d4dd8ab3cb..b6e73709ad8 100644 --- a/msgraph_beta/generated/models/windows_updates/gradual_rollout_settings.py +++ b/msgraph_beta/generated/models/windows_updates/gradual_rollout_settings.py @@ -32,7 +32,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> GradualRolloutSett if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.windowsUpdates.dateDrivenRolloutSettings".casefold(): @@ -76,6 +77,10 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .date_driven_rollout_settings import DateDrivenRolloutSettings + from .duration_driven_rollout_settings import DurationDrivenRolloutSettings + from .rate_driven_rollout_settings import RateDrivenRolloutSettings + writer.write_timedelta_value("durationBetweenOffers", self.duration_between_offers) writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/windows_updates/item_body.py b/msgraph_beta/generated/models/windows_updates/item_body.py index e139fe19378..53a3ca20105 100644 --- a/msgraph_beta/generated/models/windows_updates/item_body.py +++ b/msgraph_beta/generated/models/windows_updates/item_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .body_type import BodyType + writer.write_str_value("content", self.content) writer.write_enum_value("contentType", self.content_type) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/windows_updates/knowledge_base_article.py b/msgraph_beta/generated/models/windows_updates/knowledge_base_article.py index d18a623bdfd..72f23e1d62a 100644 --- a/msgraph_beta/generated/models/windows_updates/knowledge_base_article.py +++ b/msgraph_beta/generated/models/windows_updates/knowledge_base_article.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + writer.write_str_value("url", self.url) diff --git a/msgraph_beta/generated/models/windows_updates/known_issue.py b/msgraph_beta/generated/models/windows_updates/known_issue.py index 919ea853fdb..716381bab64 100644 --- a/msgraph_beta/generated/models/windows_updates/known_issue.py +++ b/msgraph_beta/generated/models/windows_updates/known_issue.py @@ -91,6 +91,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + from .knowledge_base_article import KnowledgeBaseArticle + from .known_issue_history_item import KnownIssueHistoryItem + from .windows_release_health_status import WindowsReleaseHealthStatus + writer.write_str_value("description", self.description) writer.write_collection_of_object_values("knownIssueHistories", self.known_issue_histories) writer.write_datetime_value("lastUpdatedDateTime", self.last_updated_date_time) diff --git a/msgraph_beta/generated/models/windows_updates/known_issue_collection_response.py b/msgraph_beta/generated/models/windows_updates/known_issue_collection_response.py index d5207997e24..9bb66c65686 100644 --- a/msgraph_beta/generated/models/windows_updates/known_issue_collection_response.py +++ b/msgraph_beta/generated/models/windows_updates/known_issue_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .known_issue import KnownIssue + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/windows_updates/known_issue_history_item.py b/msgraph_beta/generated/models/windows_updates/known_issue_history_item.py index 692c51782c4..c354f1ab34b 100644 --- a/msgraph_beta/generated/models/windows_updates/known_issue_history_item.py +++ b/msgraph_beta/generated/models/windows_updates/known_issue_history_item.py @@ -57,6 +57,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .item_body import ItemBody + writer.write_object_value("body", self.body) writer.write_datetime_value("createdDateTime", self.created_date_time) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/windows_updates/monitoring_rule.py b/msgraph_beta/generated/models/windows_updates/monitoring_rule.py index 41a94ddb1a0..ad7d983d26e 100644 --- a/msgraph_beta/generated/models/windows_updates/monitoring_rule.py +++ b/msgraph_beta/generated/models/windows_updates/monitoring_rule.py @@ -62,6 +62,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .monitoring_action import MonitoringAction + from .monitoring_signal import MonitoringSignal + writer.write_enum_value("action", self.action) writer.write_str_value("@odata.type", self.odata_type) writer.write_enum_value("signal", self.signal) diff --git a/msgraph_beta/generated/models/windows_updates/monitoring_settings.py b/msgraph_beta/generated/models/windows_updates/monitoring_settings.py index 79876fe56b7..8e3fa2bb496 100644 --- a/msgraph_beta/generated/models/windows_updates/monitoring_settings.py +++ b/msgraph_beta/generated/models/windows_updates/monitoring_settings.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .monitoring_rule import MonitoringRule + writer.write_collection_of_object_values("monitoringRules", self.monitoring_rules) writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/windows_updates/operational_insights_connection.py b/msgraph_beta/generated/models/windows_updates/operational_insights_connection.py index 2cbf9ef56af..4367bea59bb 100644 --- a/msgraph_beta/generated/models/windows_updates/operational_insights_connection.py +++ b/msgraph_beta/generated/models/windows_updates/operational_insights_connection.py @@ -57,6 +57,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .resource_connection import ResourceConnection + writer.write_str_value("azureResourceGroupName", self.azure_resource_group_name) writer.write_str_value("azureSubscriptionId", self.azure_subscription_id) writer.write_str_value("workspaceName", self.workspace_name) diff --git a/msgraph_beta/generated/models/windows_updates/product.py b/msgraph_beta/generated/models/windows_updates/product.py index 6ecdc098765..4fa714718d0 100644 --- a/msgraph_beta/generated/models/windows_updates/product.py +++ b/msgraph_beta/generated/models/windows_updates/product.py @@ -75,6 +75,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + from .edition import Edition + from .known_issue import KnownIssue + from .product_revision import ProductRevision + writer.write_collection_of_object_values("editions", self.editions) writer.write_collection_of_primitive_values("friendlyNames", self.friendly_names) writer.write_str_value("groupName", self.group_name) diff --git a/msgraph_beta/generated/models/windows_updates/product_collection_response.py b/msgraph_beta/generated/models/windows_updates/product_collection_response.py index 00fb8feb841..903f8b733cf 100644 --- a/msgraph_beta/generated/models/windows_updates/product_collection_response.py +++ b/msgraph_beta/generated/models/windows_updates/product_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .product import Product + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/windows_updates/product_revision.py b/msgraph_beta/generated/models/windows_updates/product_revision.py index 7324db4ca77..a5cfdb0ace9 100644 --- a/msgraph_beta/generated/models/windows_updates/product_revision.py +++ b/msgraph_beta/generated/models/windows_updates/product_revision.py @@ -79,6 +79,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + from .build_version_details import BuildVersionDetails + from .catalog_entry import CatalogEntry + from .knowledge_base_article import KnowledgeBaseArticle + writer.write_object_value("catalogEntry", self.catalog_entry) writer.write_str_value("displayName", self.display_name) writer.write_object_value("knowledgeBaseArticle", self.knowledge_base_article) diff --git a/msgraph_beta/generated/models/windows_updates/product_revision_collection_response.py b/msgraph_beta/generated/models/windows_updates/product_revision_collection_response.py index 98d5a065aa2..d1994fee23d 100644 --- a/msgraph_beta/generated/models/windows_updates/product_revision_collection_response.py +++ b/msgraph_beta/generated/models/windows_updates/product_revision_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .product_revision import ProductRevision + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/windows_updates/quality_update_catalog_entry.py b/msgraph_beta/generated/models/windows_updates/quality_update_catalog_entry.py index 93d86885314..7d33d4d6ecb 100644 --- a/msgraph_beta/generated/models/windows_updates/quality_update_catalog_entry.py +++ b/msgraph_beta/generated/models/windows_updates/quality_update_catalog_entry.py @@ -81,6 +81,12 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .product_revision import ProductRevision + from .quality_update_cadence import QualityUpdateCadence + from .quality_update_classification import QualityUpdateClassification + from .quality_update_cve_severity_information import QualityUpdateCveSeverityInformation + from .software_update_catalog_entry import SoftwareUpdateCatalogEntry + writer.write_str_value("catalogName", self.catalog_name) writer.write_object_value("cveSeverityInformation", self.cve_severity_information) writer.write_bool_value("isExpeditable", self.is_expeditable) diff --git a/msgraph_beta/generated/models/windows_updates/quality_update_cve_severity_information.py b/msgraph_beta/generated/models/windows_updates/quality_update_cve_severity_information.py index 02c60b99a7b..32f1ced8864 100644 --- a/msgraph_beta/generated/models/windows_updates/quality_update_cve_severity_information.py +++ b/msgraph_beta/generated/models/windows_updates/quality_update_cve_severity_information.py @@ -62,6 +62,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .cve_information import CveInformation + from .cve_severity_level import CveSeverityLevel + writer.write_collection_of_object_values("exploitedCves", self.exploited_cves) writer.write_float_value("maxBaseScore", self.max_base_score) writer.write_enum_value("maxSeverity", self.max_severity) diff --git a/msgraph_beta/generated/models/windows_updates/quality_update_filter.py b/msgraph_beta/generated/models/windows_updates/quality_update_filter.py index a9287234c4e..31fe1f2e347 100644 --- a/msgraph_beta/generated/models/windows_updates/quality_update_filter.py +++ b/msgraph_beta/generated/models/windows_updates/quality_update_filter.py @@ -60,6 +60,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .quality_update_cadence import QualityUpdateCadence + from .quality_update_classification import QualityUpdateClassification + from .windows_update_filter import WindowsUpdateFilter + writer.write_enum_value("cadence", self.cadence) writer.write_enum_value("classification", self.classification) diff --git a/msgraph_beta/generated/models/windows_updates/rate_driven_rollout_settings.py b/msgraph_beta/generated/models/windows_updates/rate_driven_rollout_settings.py index 361fc101886..50028755c2c 100644 --- a/msgraph_beta/generated/models/windows_updates/rate_driven_rollout_settings.py +++ b/msgraph_beta/generated/models/windows_updates/rate_driven_rollout_settings.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .gradual_rollout_settings import GradualRolloutSettings + writer.write_int_value("devicesPerOffer", self.devices_per_offer) diff --git a/msgraph_beta/generated/models/windows_updates/resource_connection.py b/msgraph_beta/generated/models/windows_updates/resource_connection.py index 87bfeb3896b..dc9722167fb 100644 --- a/msgraph_beta/generated/models/windows_updates/resource_connection.py +++ b/msgraph_beta/generated/models/windows_updates/resource_connection.py @@ -27,7 +27,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> ResourceConnection if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.windowsUpdates.operationalInsightsConnection".casefold(): @@ -65,6 +66,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + from .operational_insights_connection import OperationalInsightsConnection + from .resource_connection_state import ResourceConnectionState + writer.write_enum_value("state", self.state) diff --git a/msgraph_beta/generated/models/windows_updates/resource_connection_collection_response.py b/msgraph_beta/generated/models/windows_updates/resource_connection_collection_response.py index b3c18c29e19..902895ca708 100644 --- a/msgraph_beta/generated/models/windows_updates/resource_connection_collection_response.py +++ b/msgraph_beta/generated/models/windows_updates/resource_connection_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .resource_connection import ResourceConnection + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/windows_updates/safeguard_profile.py b/msgraph_beta/generated/models/windows_updates/safeguard_profile.py index 58b6b1ca7d8..fa0c4d7d80d 100644 --- a/msgraph_beta/generated/models/windows_updates/safeguard_profile.py +++ b/msgraph_beta/generated/models/windows_updates/safeguard_profile.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .safeguard_category import SafeguardCategory + writer.write_enum_value("category", self.category) writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/windows_updates/safeguard_settings.py b/msgraph_beta/generated/models/windows_updates/safeguard_settings.py index 11b1dea366b..ee417f2628d 100644 --- a/msgraph_beta/generated/models/windows_updates/safeguard_settings.py +++ b/msgraph_beta/generated/models/windows_updates/safeguard_settings.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .safeguard_profile import SafeguardProfile + writer.write_collection_of_object_values("disabledSafeguardProfiles", self.disabled_safeguard_profiles) writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/windows_updates/schedule_settings.py b/msgraph_beta/generated/models/windows_updates/schedule_settings.py index 181ba135062..7abee5440dc 100644 --- a/msgraph_beta/generated/models/windows_updates/schedule_settings.py +++ b/msgraph_beta/generated/models/windows_updates/schedule_settings.py @@ -57,6 +57,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .gradual_rollout_settings import GradualRolloutSettings + writer.write_object_value("gradualRollout", self.gradual_rollout) writer.write_str_value("@odata.type", self.odata_type) writer.write_datetime_value("startDateTime", self.start_date_time) diff --git a/msgraph_beta/generated/models/windows_updates/software_update_catalog_entry.py b/msgraph_beta/generated/models/windows_updates/software_update_catalog_entry.py index d6b8a998605..03986d097a6 100644 --- a/msgraph_beta/generated/models/windows_updates/software_update_catalog_entry.py +++ b/msgraph_beta/generated/models/windows_updates/software_update_catalog_entry.py @@ -26,7 +26,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> SoftwareUpdateCata if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.windowsUpdates.driverUpdateCatalogEntry".casefold(): @@ -73,5 +74,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .catalog_entry import CatalogEntry + from .driver_update_catalog_entry import DriverUpdateCatalogEntry + from .feature_update_catalog_entry import FeatureUpdateCatalogEntry + from .quality_update_catalog_entry import QualityUpdateCatalogEntry + diff --git a/msgraph_beta/generated/models/windows_updates/software_update_filter.py b/msgraph_beta/generated/models/windows_updates/software_update_filter.py index da80c54db5e..bb04d043a7c 100644 --- a/msgraph_beta/generated/models/windows_updates/software_update_filter.py +++ b/msgraph_beta/generated/models/windows_updates/software_update_filter.py @@ -26,7 +26,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> SoftwareUpdateFilt if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.windowsUpdates.driverUpdateFilter".casefold(): @@ -73,5 +74,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .content_filter import ContentFilter + from .driver_update_filter import DriverUpdateFilter + from .quality_update_filter import QualityUpdateFilter + from .windows_update_filter import WindowsUpdateFilter + diff --git a/msgraph_beta/generated/models/windows_updates/updatable_asset.py b/msgraph_beta/generated/models/windows_updates/updatable_asset.py index b1e2492f7a5..0cbbc435bc2 100644 --- a/msgraph_beta/generated/models/windows_updates/updatable_asset.py +++ b/msgraph_beta/generated/models/windows_updates/updatable_asset.py @@ -25,7 +25,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> UpdatableAsset: if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.windowsUpdates.azureADDevice".casefold(): @@ -66,5 +67,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + from .azure_a_d_device import AzureADDevice + from .updatable_asset_group import UpdatableAssetGroup + diff --git a/msgraph_beta/generated/models/windows_updates/updatable_asset_collection_response.py b/msgraph_beta/generated/models/windows_updates/updatable_asset_collection_response.py index 181047d37d9..2247cb4402e 100644 --- a/msgraph_beta/generated/models/windows_updates/updatable_asset_collection_response.py +++ b/msgraph_beta/generated/models/windows_updates/updatable_asset_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .updatable_asset import UpdatableAsset + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/windows_updates/updatable_asset_enrollment.py b/msgraph_beta/generated/models/windows_updates/updatable_asset_enrollment.py index 32d8a529971..36ac848a051 100644 --- a/msgraph_beta/generated/models/windows_updates/updatable_asset_enrollment.py +++ b/msgraph_beta/generated/models/windows_updates/updatable_asset_enrollment.py @@ -27,7 +27,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> UpdatableAssetEnro if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.windowsUpdates.updateManagementEnrollment".casefold(): @@ -58,6 +59,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .update_management_enrollment import UpdateManagementEnrollment + writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/windows_updates/updatable_asset_error.py b/msgraph_beta/generated/models/windows_updates/updatable_asset_error.py index 2208ed28b09..eee5c048a3c 100644 --- a/msgraph_beta/generated/models/windows_updates/updatable_asset_error.py +++ b/msgraph_beta/generated/models/windows_updates/updatable_asset_error.py @@ -27,7 +27,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> UpdatableAssetErro if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.windowsUpdates.azureADDeviceRegistrationError".casefold(): @@ -58,6 +59,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .azure_a_d_device_registration_error import AzureADDeviceRegistrationError + writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/windows_updates/updatable_asset_group.py b/msgraph_beta/generated/models/windows_updates/updatable_asset_group.py index 5e6a62a351a..58b2f3372bd 100644 --- a/msgraph_beta/generated/models/windows_updates/updatable_asset_group.py +++ b/msgraph_beta/generated/models/windows_updates/updatable_asset_group.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .updatable_asset import UpdatableAsset + writer.write_collection_of_object_values("members", self.members) diff --git a/msgraph_beta/generated/models/windows_updates/update_management_enrollment.py b/msgraph_beta/generated/models/windows_updates/update_management_enrollment.py index f00e814b4a5..2e26f20333a 100644 --- a/msgraph_beta/generated/models/windows_updates/update_management_enrollment.py +++ b/msgraph_beta/generated/models/windows_updates/update_management_enrollment.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .updatable_asset_enrollment import UpdatableAssetEnrollment + from .update_category import UpdateCategory + writer.write_enum_value("updateCategory", self.update_category) diff --git a/msgraph_beta/generated/models/windows_updates/update_policy.py b/msgraph_beta/generated/models/windows_updates/update_policy.py index 1ce23b9c9ad..10f60325e27 100644 --- a/msgraph_beta/generated/models/windows_updates/update_policy.py +++ b/msgraph_beta/generated/models/windows_updates/update_policy.py @@ -76,6 +76,12 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..entity import Entity + from .compliance_change import ComplianceChange + from .compliance_change_rule import ComplianceChangeRule + from .deployment_audience import DeploymentAudience + from .deployment_settings import DeploymentSettings + writer.write_object_value("audience", self.audience) writer.write_collection_of_object_values("complianceChangeRules", self.compliance_change_rules) writer.write_collection_of_object_values("complianceChanges", self.compliance_changes) diff --git a/msgraph_beta/generated/models/windows_updates/update_policy_collection_response.py b/msgraph_beta/generated/models/windows_updates/update_policy_collection_response.py index c39936fb897..aa11ba6ca8d 100644 --- a/msgraph_beta/generated/models/windows_updates/update_policy_collection_response.py +++ b/msgraph_beta/generated/models/windows_updates/update_policy_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .update_policy import UpdatePolicy + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/windows_updates/windows_update_filter.py b/msgraph_beta/generated/models/windows_updates/windows_update_filter.py index f4e6c0be37d..1ef4d4c3198 100644 --- a/msgraph_beta/generated/models/windows_updates/windows_update_filter.py +++ b/msgraph_beta/generated/models/windows_updates/windows_update_filter.py @@ -25,7 +25,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> WindowsUpdateFilte if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.windowsUpdates.driverUpdateFilter".casefold(): @@ -66,5 +67,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .driver_update_filter import DriverUpdateFilter + from .quality_update_filter import QualityUpdateFilter + from .software_update_filter import SoftwareUpdateFilter + diff --git a/msgraph_beta/generated/models/windows_vpn_configuration.py b/msgraph_beta/generated/models/windows_vpn_configuration.py index d5d0cf05c93..fc7caaaed32 100644 --- a/msgraph_beta/generated/models/windows_vpn_configuration.py +++ b/msgraph_beta/generated/models/windows_vpn_configuration.py @@ -36,7 +36,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> WindowsVpnConfigur if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.windows10VpnConfiguration".casefold(): @@ -88,6 +89,12 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_configuration import DeviceConfiguration + from .vpn_server import VpnServer + from .windows10_vpn_configuration import Windows10VpnConfiguration + from .windows81_vpn_configuration import Windows81VpnConfiguration + from .windows_phone81_vpn_configuration import WindowsPhone81VpnConfiguration + writer.write_str_value("connectionName", self.connection_name) writer.write_bytes_value("customXml", self.custom_xml) writer.write_collection_of_object_values("servers", self.servers) diff --git a/msgraph_beta/generated/models/windows_web_app.py b/msgraph_beta/generated/models/windows_web_app.py index 0d6a3a4b1cc..bfc93f38a08 100644 --- a/msgraph_beta/generated/models/windows_web_app.py +++ b/msgraph_beta/generated/models/windows_web_app.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .mobile_app import MobileApp + writer.write_str_value("appUrl", self.app_url) diff --git a/msgraph_beta/generated/models/windows_web_app_collection_response.py b/msgraph_beta/generated/models/windows_web_app_collection_response.py index a14a4164133..94c744be8c4 100644 --- a/msgraph_beta/generated/models/windows_web_app_collection_response.py +++ b/msgraph_beta/generated/models/windows_web_app_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .windows_web_app import WindowsWebApp + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/windows_wifi_configuration.py b/msgraph_beta/generated/models/windows_wifi_configuration.py index e9eee7755b5..403518d97f4 100644 --- a/msgraph_beta/generated/models/windows_wifi_configuration.py +++ b/msgraph_beta/generated/models/windows_wifi_configuration.py @@ -56,7 +56,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> WindowsWifiConfigu if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.windowsWifiEnterpriseEAPConfiguration".casefold(): @@ -110,6 +111,12 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_configuration import DeviceConfiguration + from .metered_connection_limit_type import MeteredConnectionLimitType + from .windows_wifi_enterprise_e_a_p_configuration import WindowsWifiEnterpriseEAPConfiguration + from .wi_fi_proxy_setting import WiFiProxySetting + from .wi_fi_security_type import WiFiSecurityType + writer.write_bool_value("connectAutomatically", self.connect_automatically) writer.write_bool_value("connectToPreferredNetwork", self.connect_to_preferred_network) writer.write_bool_value("connectWhenNetworkNameIsHidden", self.connect_when_network_name_is_hidden) diff --git a/msgraph_beta/generated/models/windows_wifi_enterprise_e_a_p_configuration.py b/msgraph_beta/generated/models/windows_wifi_enterprise_e_a_p_configuration.py index 2930d3062ef..7f8843d1f39 100644 --- a/msgraph_beta/generated/models/windows_wifi_enterprise_e_a_p_configuration.py +++ b/msgraph_beta/generated/models/windows_wifi_enterprise_e_a_p_configuration.py @@ -153,6 +153,15 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .eap_type import EapType + from .network_single_sign_on_type import NetworkSingleSignOnType + from .non_eap_authentication_method_for_eap_ttls_type import NonEapAuthenticationMethodForEapTtlsType + from .wifi_authentication_type import WifiAuthenticationType + from .windows81_trusted_root_certificate import Windows81TrustedRootCertificate + from .windows_certificate_profile_base import WindowsCertificateProfileBase + from .windows_wifi_configuration import WindowsWifiConfiguration + from .wi_fi_authentication_method import WiFiAuthenticationMethod + writer.write_enum_value("authenticationMethod", self.authentication_method) writer.write_int_value("authenticationPeriodInSeconds", self.authentication_period_in_seconds) writer.write_int_value("authenticationRetryDelayPeriodInSeconds", self.authentication_retry_delay_period_in_seconds) diff --git a/msgraph_beta/generated/models/windows_wired_network_configuration.py b/msgraph_beta/generated/models/windows_wired_network_configuration.py index 42c940d5caf..5bd8fc68d07 100644 --- a/msgraph_beta/generated/models/windows_wired_network_configuration.py +++ b/msgraph_beta/generated/models/windows_wired_network_configuration.py @@ -141,6 +141,14 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .device_configuration import DeviceConfiguration + from .eap_type import EapType + from .non_eap_authentication_method_for_eap_ttls_type import NonEapAuthenticationMethodForEapTtlsType + from .windows81_trusted_root_certificate import Windows81TrustedRootCertificate + from .windows_certificate_profile_base import WindowsCertificateProfileBase + from .wired_network_authentication_method import WiredNetworkAuthenticationMethod + from .wired_network_authentication_type import WiredNetworkAuthenticationType + writer.write_int_value("authenticationBlockPeriodInMinutes", self.authentication_block_period_in_minutes) writer.write_enum_value("authenticationMethod", self.authentication_method) writer.write_int_value("authenticationPeriodInSeconds", self.authentication_period_in_seconds) diff --git a/msgraph_beta/generated/models/work_position.py b/msgraph_beta/generated/models/work_position.py index 870bec54787..3002b54c9fe 100644 --- a/msgraph_beta/generated/models/work_position.py +++ b/msgraph_beta/generated/models/work_position.py @@ -69,6 +69,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .item_facet import ItemFacet + from .position_detail import PositionDetail + from .related_person import RelatedPerson + writer.write_collection_of_primitive_values("categories", self.categories) writer.write_collection_of_object_values("colleagues", self.colleagues) writer.write_object_value("detail", self.detail) diff --git a/msgraph_beta/generated/models/work_position_collection_response.py b/msgraph_beta/generated/models/work_position_collection_response.py index aac8c25df8c..3753021bae8 100644 --- a/msgraph_beta/generated/models/work_position_collection_response.py +++ b/msgraph_beta/generated/models/work_position_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .work_position import WorkPosition + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/workbook.py b/msgraph_beta/generated/models/workbook.py index ac168db531b..add25eda2a3 100644 --- a/msgraph_beta/generated/models/workbook.py +++ b/msgraph_beta/generated/models/workbook.py @@ -90,6 +90,15 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .workbook_application import WorkbookApplication + from .workbook_comment import WorkbookComment + from .workbook_functions import WorkbookFunctions + from .workbook_named_item import WorkbookNamedItem + from .workbook_operation import WorkbookOperation + from .workbook_table import WorkbookTable + from .workbook_worksheet import WorkbookWorksheet + writer.write_object_value("application", self.application) writer.write_collection_of_object_values("comments", self.comments) writer.write_object_value("functions", self.functions) diff --git a/msgraph_beta/generated/models/workbook_application.py b/msgraph_beta/generated/models/workbook_application.py index 1d30c2a5498..98861c70d13 100644 --- a/msgraph_beta/generated/models/workbook_application.py +++ b/msgraph_beta/generated/models/workbook_application.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_str_value("calculationMode", self.calculation_mode) diff --git a/msgraph_beta/generated/models/workbook_chart.py b/msgraph_beta/generated/models/workbook_chart.py index 4abb9ca840f..9e5815efb07 100644 --- a/msgraph_beta/generated/models/workbook_chart.py +++ b/msgraph_beta/generated/models/workbook_chart.py @@ -105,6 +105,15 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .workbook_chart_area_format import WorkbookChartAreaFormat + from .workbook_chart_axes import WorkbookChartAxes + from .workbook_chart_data_labels import WorkbookChartDataLabels + from .workbook_chart_legend import WorkbookChartLegend + from .workbook_chart_series import WorkbookChartSeries + from .workbook_chart_title import WorkbookChartTitle + from .workbook_worksheet import WorkbookWorksheet + writer.write_object_value("axes", self.axes) writer.write_object_value("dataLabels", self.data_labels) writer.write_object_value("format", self.format) diff --git a/msgraph_beta/generated/models/workbook_chart_area_format.py b/msgraph_beta/generated/models/workbook_chart_area_format.py index 7dcc575470e..27796df5506 100644 --- a/msgraph_beta/generated/models/workbook_chart_area_format.py +++ b/msgraph_beta/generated/models/workbook_chart_area_format.py @@ -60,6 +60,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .workbook_chart_fill import WorkbookChartFill + from .workbook_chart_font import WorkbookChartFont + writer.write_object_value("fill", self.fill) writer.write_object_value("font", self.font) diff --git a/msgraph_beta/generated/models/workbook_chart_axes.py b/msgraph_beta/generated/models/workbook_chart_axes.py index 85fd97e189c..d7e5ccbc50f 100644 --- a/msgraph_beta/generated/models/workbook_chart_axes.py +++ b/msgraph_beta/generated/models/workbook_chart_axes.py @@ -60,6 +60,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .workbook_chart_axis import WorkbookChartAxis + writer.write_object_value("categoryAxis", self.category_axis) writer.write_object_value("seriesAxis", self.series_axis) writer.write_object_value("valueAxis", self.value_axis) diff --git a/msgraph_beta/generated/models/workbook_chart_axis.py b/msgraph_beta/generated/models/workbook_chart_axis.py index c336f71ec36..5c6cdaa7ee1 100644 --- a/msgraph_beta/generated/models/workbook_chart_axis.py +++ b/msgraph_beta/generated/models/workbook_chart_axis.py @@ -69,6 +69,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .workbook_chart_axis_format import WorkbookChartAxisFormat + from .workbook_chart_axis_title import WorkbookChartAxisTitle + from .workbook_chart_gridlines import WorkbookChartGridlines + writer.write_object_value("format", self.format) writer.write_object_value("majorGridlines", self.major_gridlines) writer.write_object_value("minorGridlines", self.minor_gridlines) diff --git a/msgraph_beta/generated/models/workbook_chart_axis_format.py b/msgraph_beta/generated/models/workbook_chart_axis_format.py index ae65b1f513e..f1e45c65203 100644 --- a/msgraph_beta/generated/models/workbook_chart_axis_format.py +++ b/msgraph_beta/generated/models/workbook_chart_axis_format.py @@ -60,6 +60,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .workbook_chart_font import WorkbookChartFont + from .workbook_chart_line_format import WorkbookChartLineFormat + writer.write_object_value("font", self.font) writer.write_object_value("line", self.line) diff --git a/msgraph_beta/generated/models/workbook_chart_axis_title.py b/msgraph_beta/generated/models/workbook_chart_axis_title.py index 0ba6d6d0473..9e544f53872 100644 --- a/msgraph_beta/generated/models/workbook_chart_axis_title.py +++ b/msgraph_beta/generated/models/workbook_chart_axis_title.py @@ -60,6 +60,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .workbook_chart_axis_title_format import WorkbookChartAxisTitleFormat + writer.write_object_value("format", self.format) writer.write_str_value("text", self.text) writer.write_bool_value("visible", self.visible) diff --git a/msgraph_beta/generated/models/workbook_chart_axis_title_format.py b/msgraph_beta/generated/models/workbook_chart_axis_title_format.py index 1a536f9ca1f..4128f399f11 100644 --- a/msgraph_beta/generated/models/workbook_chart_axis_title_format.py +++ b/msgraph_beta/generated/models/workbook_chart_axis_title_format.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .workbook_chart_font import WorkbookChartFont + writer.write_object_value("font", self.font) diff --git a/msgraph_beta/generated/models/workbook_chart_collection_response.py b/msgraph_beta/generated/models/workbook_chart_collection_response.py index 44de9d29ccb..c8c4ccdcfe1 100644 --- a/msgraph_beta/generated/models/workbook_chart_collection_response.py +++ b/msgraph_beta/generated/models/workbook_chart_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .workbook_chart import WorkbookChart + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/workbook_chart_data_label_format.py b/msgraph_beta/generated/models/workbook_chart_data_label_format.py index 3a656d414eb..ac75f6e7ca0 100644 --- a/msgraph_beta/generated/models/workbook_chart_data_label_format.py +++ b/msgraph_beta/generated/models/workbook_chart_data_label_format.py @@ -60,6 +60,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .workbook_chart_fill import WorkbookChartFill + from .workbook_chart_font import WorkbookChartFont + writer.write_object_value("fill", self.fill) writer.write_object_value("font", self.font) diff --git a/msgraph_beta/generated/models/workbook_chart_data_labels.py b/msgraph_beta/generated/models/workbook_chart_data_labels.py index a91365b7279..3a363933ccf 100644 --- a/msgraph_beta/generated/models/workbook_chart_data_labels.py +++ b/msgraph_beta/generated/models/workbook_chart_data_labels.py @@ -78,6 +78,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .workbook_chart_data_label_format import WorkbookChartDataLabelFormat + writer.write_object_value("format", self.format) writer.write_str_value("position", self.position) writer.write_str_value("separator", self.separator) diff --git a/msgraph_beta/generated/models/workbook_chart_fill.py b/msgraph_beta/generated/models/workbook_chart_fill.py index 9259146fb26..7578c65d8a9 100644 --- a/msgraph_beta/generated/models/workbook_chart_fill.py +++ b/msgraph_beta/generated/models/workbook_chart_fill.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + diff --git a/msgraph_beta/generated/models/workbook_chart_font.py b/msgraph_beta/generated/models/workbook_chart_font.py index b541270e961..d346f5fa16a 100644 --- a/msgraph_beta/generated/models/workbook_chart_font.py +++ b/msgraph_beta/generated/models/workbook_chart_font.py @@ -66,6 +66,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_bool_value("bold", self.bold) writer.write_str_value("color", self.color) writer.write_bool_value("italic", self.italic) diff --git a/msgraph_beta/generated/models/workbook_chart_gridlines.py b/msgraph_beta/generated/models/workbook_chart_gridlines.py index d175f9ead32..fbb79532ec6 100644 --- a/msgraph_beta/generated/models/workbook_chart_gridlines.py +++ b/msgraph_beta/generated/models/workbook_chart_gridlines.py @@ -57,6 +57,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .workbook_chart_gridlines_format import WorkbookChartGridlinesFormat + writer.write_object_value("format", self.format) writer.write_bool_value("visible", self.visible) diff --git a/msgraph_beta/generated/models/workbook_chart_gridlines_format.py b/msgraph_beta/generated/models/workbook_chart_gridlines_format.py index a856ae26491..60ca6a7abaf 100644 --- a/msgraph_beta/generated/models/workbook_chart_gridlines_format.py +++ b/msgraph_beta/generated/models/workbook_chart_gridlines_format.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .workbook_chart_line_format import WorkbookChartLineFormat + writer.write_object_value("line", self.line) diff --git a/msgraph_beta/generated/models/workbook_chart_legend.py b/msgraph_beta/generated/models/workbook_chart_legend.py index 9362552ffc3..5d2a203f918 100644 --- a/msgraph_beta/generated/models/workbook_chart_legend.py +++ b/msgraph_beta/generated/models/workbook_chart_legend.py @@ -63,6 +63,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .workbook_chart_legend_format import WorkbookChartLegendFormat + writer.write_object_value("format", self.format) writer.write_bool_value("overlay", self.overlay) writer.write_str_value("position", self.position) diff --git a/msgraph_beta/generated/models/workbook_chart_legend_format.py b/msgraph_beta/generated/models/workbook_chart_legend_format.py index a31df929559..591215124a7 100644 --- a/msgraph_beta/generated/models/workbook_chart_legend_format.py +++ b/msgraph_beta/generated/models/workbook_chart_legend_format.py @@ -60,6 +60,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .workbook_chart_fill import WorkbookChartFill + from .workbook_chart_font import WorkbookChartFont + writer.write_object_value("fill", self.fill) writer.write_object_value("font", self.font) diff --git a/msgraph_beta/generated/models/workbook_chart_line_format.py b/msgraph_beta/generated/models/workbook_chart_line_format.py index af197ae9928..c4fced8a1f7 100644 --- a/msgraph_beta/generated/models/workbook_chart_line_format.py +++ b/msgraph_beta/generated/models/workbook_chart_line_format.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_str_value("color", self.color) diff --git a/msgraph_beta/generated/models/workbook_chart_point.py b/msgraph_beta/generated/models/workbook_chart_point.py index 161e9c94952..b135e9c36d4 100644 --- a/msgraph_beta/generated/models/workbook_chart_point.py +++ b/msgraph_beta/generated/models/workbook_chart_point.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .workbook_chart_point_format import WorkbookChartPointFormat + writer.write_object_value("format", self.format) diff --git a/msgraph_beta/generated/models/workbook_chart_point_collection_response.py b/msgraph_beta/generated/models/workbook_chart_point_collection_response.py index 207fd06b15a..795c2564985 100644 --- a/msgraph_beta/generated/models/workbook_chart_point_collection_response.py +++ b/msgraph_beta/generated/models/workbook_chart_point_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .workbook_chart_point import WorkbookChartPoint + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/workbook_chart_point_format.py b/msgraph_beta/generated/models/workbook_chart_point_format.py index 0e52fc21f1d..863335dc9e6 100644 --- a/msgraph_beta/generated/models/workbook_chart_point_format.py +++ b/msgraph_beta/generated/models/workbook_chart_point_format.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .workbook_chart_fill import WorkbookChartFill + writer.write_object_value("fill", self.fill) diff --git a/msgraph_beta/generated/models/workbook_chart_series.py b/msgraph_beta/generated/models/workbook_chart_series.py index 1da389c7835..d49ef4ac8d9 100644 --- a/msgraph_beta/generated/models/workbook_chart_series.py +++ b/msgraph_beta/generated/models/workbook_chart_series.py @@ -63,6 +63,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .workbook_chart_point import WorkbookChartPoint + from .workbook_chart_series_format import WorkbookChartSeriesFormat + writer.write_object_value("format", self.format) writer.write_str_value("name", self.name) writer.write_collection_of_object_values("points", self.points) diff --git a/msgraph_beta/generated/models/workbook_chart_series_collection_response.py b/msgraph_beta/generated/models/workbook_chart_series_collection_response.py index 876a26f432a..da12fb86689 100644 --- a/msgraph_beta/generated/models/workbook_chart_series_collection_response.py +++ b/msgraph_beta/generated/models/workbook_chart_series_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .workbook_chart_series import WorkbookChartSeries + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/workbook_chart_series_format.py b/msgraph_beta/generated/models/workbook_chart_series_format.py index 5ad070f1ac1..1a2489ea85c 100644 --- a/msgraph_beta/generated/models/workbook_chart_series_format.py +++ b/msgraph_beta/generated/models/workbook_chart_series_format.py @@ -60,6 +60,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .workbook_chart_fill import WorkbookChartFill + from .workbook_chart_line_format import WorkbookChartLineFormat + writer.write_object_value("fill", self.fill) writer.write_object_value("line", self.line) diff --git a/msgraph_beta/generated/models/workbook_chart_title.py b/msgraph_beta/generated/models/workbook_chart_title.py index 7fd82d168b6..bafaf25ca0f 100644 --- a/msgraph_beta/generated/models/workbook_chart_title.py +++ b/msgraph_beta/generated/models/workbook_chart_title.py @@ -63,6 +63,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .workbook_chart_title_format import WorkbookChartTitleFormat + writer.write_object_value("format", self.format) writer.write_bool_value("overlay", self.overlay) writer.write_str_value("text", self.text) diff --git a/msgraph_beta/generated/models/workbook_chart_title_format.py b/msgraph_beta/generated/models/workbook_chart_title_format.py index 9c3a6fbe9d9..d4d796d124e 100644 --- a/msgraph_beta/generated/models/workbook_chart_title_format.py +++ b/msgraph_beta/generated/models/workbook_chart_title_format.py @@ -60,6 +60,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .workbook_chart_fill import WorkbookChartFill + from .workbook_chart_font import WorkbookChartFont + writer.write_object_value("fill", self.fill) writer.write_object_value("font", self.font) diff --git a/msgraph_beta/generated/models/workbook_comment.py b/msgraph_beta/generated/models/workbook_comment.py index 34caac6888f..a34c70bd7cc 100644 --- a/msgraph_beta/generated/models/workbook_comment.py +++ b/msgraph_beta/generated/models/workbook_comment.py @@ -66,6 +66,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .workbook_comment_reply import WorkbookCommentReply + from .workbook_document_task import WorkbookDocumentTask + writer.write_str_value("content", self.content) writer.write_str_value("contentType", self.content_type) writer.write_collection_of_object_values("replies", self.replies) diff --git a/msgraph_beta/generated/models/workbook_comment_collection_response.py b/msgraph_beta/generated/models/workbook_comment_collection_response.py index 4fb66dc379e..e97cb14728d 100644 --- a/msgraph_beta/generated/models/workbook_comment_collection_response.py +++ b/msgraph_beta/generated/models/workbook_comment_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .workbook_comment import WorkbookComment + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/workbook_comment_reply.py b/msgraph_beta/generated/models/workbook_comment_reply.py index 19d84f0d344..19c847d6faf 100644 --- a/msgraph_beta/generated/models/workbook_comment_reply.py +++ b/msgraph_beta/generated/models/workbook_comment_reply.py @@ -60,6 +60,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .workbook_document_task import WorkbookDocumentTask + writer.write_str_value("content", self.content) writer.write_str_value("contentType", self.content_type) writer.write_object_value("task", self.task) diff --git a/msgraph_beta/generated/models/workbook_comment_reply_collection_response.py b/msgraph_beta/generated/models/workbook_comment_reply_collection_response.py index 4831eee39f0..b8b5ea90bab 100644 --- a/msgraph_beta/generated/models/workbook_comment_reply_collection_response.py +++ b/msgraph_beta/generated/models/workbook_comment_reply_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .workbook_comment_reply import WorkbookCommentReply + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/workbook_document_task.py b/msgraph_beta/generated/models/workbook_document_task.py index 8fd292ac86e..338d5c2da53 100644 --- a/msgraph_beta/generated/models/workbook_document_task.py +++ b/msgraph_beta/generated/models/workbook_document_task.py @@ -94,6 +94,12 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .workbook_comment import WorkbookComment + from .workbook_document_task_change import WorkbookDocumentTaskChange + from .workbook_document_task_schedule import WorkbookDocumentTaskSchedule + from .workbook_email_identity import WorkbookEmailIdentity + writer.write_collection_of_object_values("assignees", self.assignees) writer.write_collection_of_object_values("changes", self.changes) writer.write_object_value("comment", self.comment) diff --git a/msgraph_beta/generated/models/workbook_document_task_change.py b/msgraph_beta/generated/models/workbook_document_task_change.py index 5c0e5aa72c6..e3f84b09646 100644 --- a/msgraph_beta/generated/models/workbook_document_task_change.py +++ b/msgraph_beta/generated/models/workbook_document_task_change.py @@ -85,6 +85,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .workbook_email_identity import WorkbookEmailIdentity + writer.write_object_value("assignee", self.assignee) writer.write_object_value("changedBy", self.changed_by) writer.write_str_value("commentId", self.comment_id) diff --git a/msgraph_beta/generated/models/workbook_document_task_change_collection_response.py b/msgraph_beta/generated/models/workbook_document_task_change_collection_response.py index fc9114ff5be..9e7b5732361 100644 --- a/msgraph_beta/generated/models/workbook_document_task_change_collection_response.py +++ b/msgraph_beta/generated/models/workbook_document_task_change_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .workbook_document_task_change import WorkbookDocumentTaskChange + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/workbook_document_task_collection_response.py b/msgraph_beta/generated/models/workbook_document_task_collection_response.py index e40900da0b0..bd4e6fdd93d 100644 --- a/msgraph_beta/generated/models/workbook_document_task_collection_response.py +++ b/msgraph_beta/generated/models/workbook_document_task_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .workbook_document_task import WorkbookDocumentTask + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/workbook_filter.py b/msgraph_beta/generated/models/workbook_filter.py index 40616879edb..276d3945f6d 100644 --- a/msgraph_beta/generated/models/workbook_filter.py +++ b/msgraph_beta/generated/models/workbook_filter.py @@ -54,6 +54,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .workbook_filter_criteria import WorkbookFilterCriteria + writer.write_object_value("criteria", self.criteria) diff --git a/msgraph_beta/generated/models/workbook_filter_criteria.py b/msgraph_beta/generated/models/workbook_filter_criteria.py index f00da6a6b18..6188ff4ba19 100644 --- a/msgraph_beta/generated/models/workbook_filter_criteria.py +++ b/msgraph_beta/generated/models/workbook_filter_criteria.py @@ -71,6 +71,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .workbook_icon import WorkbookIcon + writer.write_str_value("color", self.color) writer.write_str_value("criterion1", self.criterion1) writer.write_str_value("criterion2", self.criterion2) diff --git a/msgraph_beta/generated/models/workbook_format_protection.py b/msgraph_beta/generated/models/workbook_format_protection.py index 964708109ce..6575c279fe8 100644 --- a/msgraph_beta/generated/models/workbook_format_protection.py +++ b/msgraph_beta/generated/models/workbook_format_protection.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_bool_value("formulaHidden", self.formula_hidden) writer.write_bool_value("locked", self.locked) diff --git a/msgraph_beta/generated/models/workbook_function_result.py b/msgraph_beta/generated/models/workbook_function_result.py index 6e841ceba66..3f179ea3e84 100644 --- a/msgraph_beta/generated/models/workbook_function_result.py +++ b/msgraph_beta/generated/models/workbook_function_result.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_str_value("error", self.error) diff --git a/msgraph_beta/generated/models/workbook_functions.py b/msgraph_beta/generated/models/workbook_functions.py index e4240b8aa0c..3e855cbf5aa 100644 --- a/msgraph_beta/generated/models/workbook_functions.py +++ b/msgraph_beta/generated/models/workbook_functions.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + diff --git a/msgraph_beta/generated/models/workbook_named_item.py b/msgraph_beta/generated/models/workbook_named_item.py index b7a716a1388..4523035da5b 100644 --- a/msgraph_beta/generated/models/workbook_named_item.py +++ b/msgraph_beta/generated/models/workbook_named_item.py @@ -69,6 +69,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .workbook_worksheet import WorkbookWorksheet + writer.write_str_value("comment", self.comment) writer.write_str_value("name", self.name) writer.write_str_value("scope", self.scope) diff --git a/msgraph_beta/generated/models/workbook_named_item_collection_response.py b/msgraph_beta/generated/models/workbook_named_item_collection_response.py index ee85fe4e5cd..11c5fbc055e 100644 --- a/msgraph_beta/generated/models/workbook_named_item_collection_response.py +++ b/msgraph_beta/generated/models/workbook_named_item_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .workbook_named_item import WorkbookNamedItem + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/workbook_operation.py b/msgraph_beta/generated/models/workbook_operation.py index d7e20e8629a..9fcfc633097 100644 --- a/msgraph_beta/generated/models/workbook_operation.py +++ b/msgraph_beta/generated/models/workbook_operation.py @@ -63,6 +63,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .workbook_operation_error import WorkbookOperationError + from .workbook_operation_status import WorkbookOperationStatus + writer.write_object_value("error", self.error) writer.write_str_value("resourceLocation", self.resource_location) writer.write_enum_value("status", self.status) diff --git a/msgraph_beta/generated/models/workbook_operation_collection_response.py b/msgraph_beta/generated/models/workbook_operation_collection_response.py index 39455e82264..05cd4a7f226 100644 --- a/msgraph_beta/generated/models/workbook_operation_collection_response.py +++ b/msgraph_beta/generated/models/workbook_operation_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .workbook_operation import WorkbookOperation + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/workbook_pivot_table.py b/msgraph_beta/generated/models/workbook_pivot_table.py index 0e29ea564d0..dd17c80c047 100644 --- a/msgraph_beta/generated/models/workbook_pivot_table.py +++ b/msgraph_beta/generated/models/workbook_pivot_table.py @@ -57,6 +57,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .workbook_worksheet import WorkbookWorksheet + writer.write_str_value("name", self.name) writer.write_object_value("worksheet", self.worksheet) diff --git a/msgraph_beta/generated/models/workbook_pivot_table_collection_response.py b/msgraph_beta/generated/models/workbook_pivot_table_collection_response.py index 5117ff0e469..bf7f85911cf 100644 --- a/msgraph_beta/generated/models/workbook_pivot_table_collection_response.py +++ b/msgraph_beta/generated/models/workbook_pivot_table_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .workbook_pivot_table import WorkbookPivotTable + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/workbook_range.py b/msgraph_beta/generated/models/workbook_range.py index 916100da1f0..b2f9cd9d80a 100644 --- a/msgraph_beta/generated/models/workbook_range.py +++ b/msgraph_beta/generated/models/workbook_range.py @@ -96,6 +96,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .workbook_range_format import WorkbookRangeFormat + from .workbook_range_sort import WorkbookRangeSort + from .workbook_worksheet import WorkbookWorksheet + writer.write_str_value("address", self.address) writer.write_str_value("addressLocal", self.address_local) writer.write_int_value("cellCount", self.cell_count) diff --git a/msgraph_beta/generated/models/workbook_range_border.py b/msgraph_beta/generated/models/workbook_range_border.py index 0992ba5f034..33140de5321 100644 --- a/msgraph_beta/generated/models/workbook_range_border.py +++ b/msgraph_beta/generated/models/workbook_range_border.py @@ -60,6 +60,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_str_value("color", self.color) writer.write_str_value("sideIndex", self.side_index) writer.write_str_value("style", self.style) diff --git a/msgraph_beta/generated/models/workbook_range_fill.py b/msgraph_beta/generated/models/workbook_range_fill.py index bf4884edc2f..44a768101b8 100644 --- a/msgraph_beta/generated/models/workbook_range_fill.py +++ b/msgraph_beta/generated/models/workbook_range_fill.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_str_value("color", self.color) diff --git a/msgraph_beta/generated/models/workbook_range_font.py b/msgraph_beta/generated/models/workbook_range_font.py index e36611902c8..387a965624b 100644 --- a/msgraph_beta/generated/models/workbook_range_font.py +++ b/msgraph_beta/generated/models/workbook_range_font.py @@ -66,6 +66,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_bool_value("bold", self.bold) writer.write_str_value("color", self.color) writer.write_bool_value("italic", self.italic) diff --git a/msgraph_beta/generated/models/workbook_range_format.py b/msgraph_beta/generated/models/workbook_range_format.py index 1815d242394..37701fca29d 100644 --- a/msgraph_beta/generated/models/workbook_range_format.py +++ b/msgraph_beta/generated/models/workbook_range_format.py @@ -87,6 +87,12 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .workbook_format_protection import WorkbookFormatProtection + from .workbook_range_border import WorkbookRangeBorder + from .workbook_range_fill import WorkbookRangeFill + from .workbook_range_font import WorkbookRangeFont + writer.write_collection_of_object_values("borders", self.borders) writer.write_float_value("columnWidth", self.column_width) writer.write_object_value("fill", self.fill) diff --git a/msgraph_beta/generated/models/workbook_range_sort.py b/msgraph_beta/generated/models/workbook_range_sort.py index ce2de1f1e17..83cb676763a 100644 --- a/msgraph_beta/generated/models/workbook_range_sort.py +++ b/msgraph_beta/generated/models/workbook_range_sort.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + diff --git a/msgraph_beta/generated/models/workbook_range_view.py b/msgraph_beta/generated/models/workbook_range_view.py index 9b941ec6c04..49d9889e240 100644 --- a/msgraph_beta/generated/models/workbook_range_view.py +++ b/msgraph_beta/generated/models/workbook_range_view.py @@ -60,6 +60,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_int_value("columnCount", self.column_count) writer.write_int_value("index", self.index) writer.write_int_value("rowCount", self.row_count) diff --git a/msgraph_beta/generated/models/workbook_sort_field.py b/msgraph_beta/generated/models/workbook_sort_field.py index 893ec9ec8d6..a4f0ff88948 100644 --- a/msgraph_beta/generated/models/workbook_sort_field.py +++ b/msgraph_beta/generated/models/workbook_sort_field.py @@ -68,6 +68,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .workbook_icon import WorkbookIcon + writer.write_bool_value("ascending", self.ascending) writer.write_str_value("color", self.color) writer.write_str_value("dataOption", self.data_option) diff --git a/msgraph_beta/generated/models/workbook_table.py b/msgraph_beta/generated/models/workbook_table.py index b1a539b3323..a7801289750 100644 --- a/msgraph_beta/generated/models/workbook_table.py +++ b/msgraph_beta/generated/models/workbook_table.py @@ -102,6 +102,12 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .workbook_table_column import WorkbookTableColumn + from .workbook_table_row import WorkbookTableRow + from .workbook_table_sort import WorkbookTableSort + from .workbook_worksheet import WorkbookWorksheet + writer.write_collection_of_object_values("columns", self.columns) writer.write_bool_value("highlightFirstColumn", self.highlight_first_column) writer.write_bool_value("highlightLastColumn", self.highlight_last_column) diff --git a/msgraph_beta/generated/models/workbook_table_collection_response.py b/msgraph_beta/generated/models/workbook_table_collection_response.py index 8f50881c9b4..6ddf6534ec7 100644 --- a/msgraph_beta/generated/models/workbook_table_collection_response.py +++ b/msgraph_beta/generated/models/workbook_table_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .workbook_table import WorkbookTable + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/workbook_table_column.py b/msgraph_beta/generated/models/workbook_table_column.py index 03ddd60759d..bf51c436bd9 100644 --- a/msgraph_beta/generated/models/workbook_table_column.py +++ b/msgraph_beta/generated/models/workbook_table_column.py @@ -60,6 +60,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .workbook_filter import WorkbookFilter + writer.write_object_value("filter", self.filter) writer.write_int_value("index", self.index) writer.write_str_value("name", self.name) diff --git a/msgraph_beta/generated/models/workbook_table_column_collection_response.py b/msgraph_beta/generated/models/workbook_table_column_collection_response.py index 681c6f5fce3..69fc873beff 100644 --- a/msgraph_beta/generated/models/workbook_table_column_collection_response.py +++ b/msgraph_beta/generated/models/workbook_table_column_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .workbook_table_column import WorkbookTableColumn + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/workbook_table_row.py b/msgraph_beta/generated/models/workbook_table_row.py index 80d6ac94510..26eb88ea03f 100644 --- a/msgraph_beta/generated/models/workbook_table_row.py +++ b/msgraph_beta/generated/models/workbook_table_row.py @@ -51,6 +51,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_int_value("index", self.index) diff --git a/msgraph_beta/generated/models/workbook_table_row_collection_response.py b/msgraph_beta/generated/models/workbook_table_row_collection_response.py index 8c884e652e6..8650cd79f41 100644 --- a/msgraph_beta/generated/models/workbook_table_row_collection_response.py +++ b/msgraph_beta/generated/models/workbook_table_row_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .workbook_table_row import WorkbookTableRow + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/workbook_table_sort.py b/msgraph_beta/generated/models/workbook_table_sort.py index d04ca18cf76..c145e6239bd 100644 --- a/msgraph_beta/generated/models/workbook_table_sort.py +++ b/msgraph_beta/generated/models/workbook_table_sort.py @@ -60,6 +60,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .workbook_sort_field import WorkbookSortField + writer.write_collection_of_object_values("fields", self.fields) writer.write_bool_value("matchCase", self.match_case) writer.write_str_value("method", self.method) diff --git a/msgraph_beta/generated/models/workbook_worksheet.py b/msgraph_beta/generated/models/workbook_worksheet.py index d3229ab2c9b..a1e991926d6 100644 --- a/msgraph_beta/generated/models/workbook_worksheet.py +++ b/msgraph_beta/generated/models/workbook_worksheet.py @@ -93,6 +93,14 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .workbook_chart import WorkbookChart + from .workbook_document_task import WorkbookDocumentTask + from .workbook_named_item import WorkbookNamedItem + from .workbook_pivot_table import WorkbookPivotTable + from .workbook_table import WorkbookTable + from .workbook_worksheet_protection import WorkbookWorksheetProtection + writer.write_collection_of_object_values("charts", self.charts) writer.write_str_value("name", self.name) writer.write_collection_of_object_values("names", self.names) diff --git a/msgraph_beta/generated/models/workbook_worksheet_collection_response.py b/msgraph_beta/generated/models/workbook_worksheet_collection_response.py index d5e229223ed..6d1e35f95af 100644 --- a/msgraph_beta/generated/models/workbook_worksheet_collection_response.py +++ b/msgraph_beta/generated/models/workbook_worksheet_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .workbook_worksheet import WorkbookWorksheet + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/workbook_worksheet_protection.py b/msgraph_beta/generated/models/workbook_worksheet_protection.py index 022547a00b8..f86b17c39c6 100644 --- a/msgraph_beta/generated/models/workbook_worksheet_protection.py +++ b/msgraph_beta/generated/models/workbook_worksheet_protection.py @@ -57,6 +57,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .workbook_worksheet_protection_options import WorkbookWorksheetProtectionOptions + writer.write_object_value("options", self.options) writer.write_bool_value("protected", self.protected) diff --git a/msgraph_beta/generated/models/workforce_integration.py b/msgraph_beta/generated/models/workforce_integration.py index 6183ef20ebc..c5376227a35 100644 --- a/msgraph_beta/generated/models/workforce_integration.py +++ b/msgraph_beta/generated/models/workforce_integration.py @@ -81,6 +81,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .change_tracked_entity import ChangeTrackedEntity + from .eligibility_filtering_enabled_entities import EligibilityFilteringEnabledEntities + from .workforce_integration_encryption import WorkforceIntegrationEncryption + from .workforce_integration_supported_entities import WorkforceIntegrationSupportedEntities + writer.write_int_value("apiVersion", self.api_version) writer.write_str_value("displayName", self.display_name) writer.write_enum_value("eligibilityFilteringEnabledEntities", self.eligibility_filtering_enabled_entities) diff --git a/msgraph_beta/generated/models/workforce_integration_collection_response.py b/msgraph_beta/generated/models/workforce_integration_collection_response.py index 08bbb8ed082..a2d1b66ef46 100644 --- a/msgraph_beta/generated/models/workforce_integration_collection_response.py +++ b/msgraph_beta/generated/models/workforce_integration_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .workforce_integration import WorkforceIntegration + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/workforce_integration_encryption.py b/msgraph_beta/generated/models/workforce_integration_encryption.py index 1583b7d79e7..ec5c0f7f4d0 100644 --- a/msgraph_beta/generated/models/workforce_integration_encryption.py +++ b/msgraph_beta/generated/models/workforce_integration_encryption.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .workforce_integration_encryption_protocol import WorkforceIntegrationEncryptionProtocol + writer.write_str_value("@odata.type", self.odata_type) writer.write_enum_value("protocol", self.protocol) writer.write_str_value("secret", self.secret) diff --git a/msgraph_beta/generated/models/working_hours.py b/msgraph_beta/generated/models/working_hours.py index 90e12a06ca1..b4c3ae45342 100644 --- a/msgraph_beta/generated/models/working_hours.py +++ b/msgraph_beta/generated/models/working_hours.py @@ -66,6 +66,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .day_of_week import DayOfWeek + from .time_zone_base import TimeZoneBase + writer.write_collection_of_enum_values("daysOfWeek", self.days_of_week) writer.write_time_value("endTime", self.end_time) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/working_time_schedule.py b/msgraph_beta/generated/models/working_time_schedule.py index 4db6e30bd4d..4afb28510d7 100644 --- a/msgraph_beta/generated/models/working_time_schedule.py +++ b/msgraph_beta/generated/models/working_time_schedule.py @@ -48,5 +48,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + diff --git a/msgraph_beta/generated/models/workplace.py b/msgraph_beta/generated/models/workplace.py index a8e4e625bbe..a30afdecfbf 100644 --- a/msgraph_beta/generated/models/workplace.py +++ b/msgraph_beta/generated/models/workplace.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .workplace_sensor_device import WorkplaceSensorDevice + writer.write_str_value("@odata.type", self.odata_type) writer.write_collection_of_object_values("sensorDevices", self.sensor_devices) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/workplace_sensor.py b/msgraph_beta/generated/models/workplace_sensor.py index 8bbd64fbebd..b1743437052 100644 --- a/msgraph_beta/generated/models/workplace_sensor.py +++ b/msgraph_beta/generated/models/workplace_sensor.py @@ -62,6 +62,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .workplace_sensor_type import WorkplaceSensorType + writer.write_str_value("displayName", self.display_name) writer.write_str_value("@odata.type", self.odata_type) writer.write_str_value("placeId", self.place_id) diff --git a/msgraph_beta/generated/models/workplace_sensor_device.py b/msgraph_beta/generated/models/workplace_sensor_device.py index fad5a8d8f8b..fcbe8f3f815 100644 --- a/msgraph_beta/generated/models/workplace_sensor_device.py +++ b/msgraph_beta/generated/models/workplace_sensor_device.py @@ -81,6 +81,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .workplace_sensor import WorkplaceSensor + writer.write_str_value("description", self.description) writer.write_str_value("deviceId", self.device_id) writer.write_str_value("displayName", self.display_name) diff --git a/msgraph_beta/generated/models/workplace_sensor_device_collection_response.py b/msgraph_beta/generated/models/workplace_sensor_device_collection_response.py index 8b99a358e6d..256be96aa9d 100644 --- a/msgraph_beta/generated/models/workplace_sensor_device_collection_response.py +++ b/msgraph_beta/generated/models/workplace_sensor_device_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .workplace_sensor_device import WorkplaceSensorDevice + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/workplace_sensor_device_telemetry.py b/msgraph_beta/generated/models/workplace_sensor_device_telemetry.py index 09b3fa7dec3..77573c01e19 100644 --- a/msgraph_beta/generated/models/workplace_sensor_device_telemetry.py +++ b/msgraph_beta/generated/models/workplace_sensor_device_telemetry.py @@ -78,6 +78,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .workplace_sensor_event_value import WorkplaceSensorEventValue + from .workplace_sensor_type import WorkplaceSensorType + writer.write_bool_value("boolValue", self.bool_value) writer.write_str_value("deviceId", self.device_id) writer.write_object_value("eventValue", self.event_value) diff --git a/msgraph_beta/generated/models/workplace_sensor_event_value.py b/msgraph_beta/generated/models/workplace_sensor_event_value.py index 9b3b50c54d2..0bc0e398788 100644 --- a/msgraph_beta/generated/models/workplace_sensor_event_value.py +++ b/msgraph_beta/generated/models/workplace_sensor_event_value.py @@ -59,6 +59,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .email_identity import EmailIdentity + from .workplace_sensor_event_type import WorkplaceSensorEventType + writer.write_enum_value("eventType", self.event_type) writer.write_str_value("@odata.type", self.odata_type) writer.write_object_value("user", self.user) diff --git a/msgraph_beta/generated/models/workspace.py b/msgraph_beta/generated/models/workspace.py index 271bb5f152e..4a4578ce073 100644 --- a/msgraph_beta/generated/models/workspace.py +++ b/msgraph_beta/generated/models/workspace.py @@ -75,6 +75,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .place import Place + writer.write_str_value("building", self.building) writer.write_int_value("capacity", self.capacity) writer.write_str_value("emailAddress", self.email_address) diff --git a/msgraph_beta/generated/models/workspace_collection_response.py b/msgraph_beta/generated/models/workspace_collection_response.py index 3594baa52fa..6a8502256d8 100644 --- a/msgraph_beta/generated/models/workspace_collection_response.py +++ b/msgraph_beta/generated/models/workspace_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .workspace import Workspace + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/writeback_configuration.py b/msgraph_beta/generated/models/writeback_configuration.py index c80dd068739..fd932fa4d85 100644 --- a/msgraph_beta/generated/models/writeback_configuration.py +++ b/msgraph_beta/generated/models/writeback_configuration.py @@ -29,7 +29,8 @@ def create_from_discriminator_value(parse_node: ParseNode) -> WritebackConfigura if parse_node is None: raise TypeError("parse_node cannot be null.") try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None if mapping_value and mapping_value.casefold() == "#microsoft.graph.groupWritebackConfiguration".casefold(): @@ -61,6 +62,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .group_writeback_configuration import GroupWritebackConfiguration + writer.write_bool_value("isEnabled", self.is_enabled) writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/managed_devices/item/resize_cloud_pc/resize_cloud_pc_post_request_body.py b/msgraph_beta/generated/models/wsl_distribution_configuration.py similarity index 60% rename from msgraph_beta/generated/users/item/managed_devices/item/resize_cloud_pc/resize_cloud_pc_post_request_body.py rename to msgraph_beta/generated/models/wsl_distribution_configuration.py index dc71ff7d1dd..25ec8c18cde 100644 --- a/msgraph_beta/generated/users/item/managed_devices/item/resize_cloud_pc/resize_cloud_pc_post_request_body.py +++ b/msgraph_beta/generated/models/wsl_distribution_configuration.py @@ -5,25 +5,31 @@ from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union @dataclass -class ResizeCloudPcPostRequestBody(AdditionalDataHolder, BackedModel, Parsable): +class WslDistributionConfiguration(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 targetServicePlanId property - target_service_plan_id: Optional[str] = None + # Linux distribution like Debian, Fedora, Ubuntu etc. + distribution: Optional[str] = None + # Maximum supported operating system version of the linux version. + maximum_o_s_version: Optional[str] = None + # Minimum supported operating system version of the linux version. + minimum_o_s_version: Optional[str] = None + # The OdataType property + odata_type: Optional[str] = None @staticmethod - def create_from_discriminator_value(parse_node: ParseNode) -> ResizeCloudPcPostRequestBody: + def create_from_discriminator_value(parse_node: ParseNode) -> WslDistributionConfiguration: """ 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: ResizeCloudPcPostRequestBody + Returns: WslDistributionConfiguration """ if parse_node is None: raise TypeError("parse_node cannot be null.") - return ResizeCloudPcPostRequestBody() + return WslDistributionConfiguration() def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: """ @@ -31,7 +37,10 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: Returns: Dict[str, Callable[[ParseNode], None]] """ fields: Dict[str, Callable[[Any], None]] = { - "targetServicePlanId": lambda n : setattr(self, 'target_service_plan_id', n.get_str_value()), + "distribution": lambda n : setattr(self, 'distribution', n.get_str_value()), + "maximumOSVersion": lambda n : setattr(self, 'maximum_o_s_version', n.get_str_value()), + "minimumOSVersion": lambda n : setattr(self, 'minimum_o_s_version', n.get_str_value()), + "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), } return fields @@ -43,7 +52,10 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") - writer.write_str_value("targetServicePlanId", self.target_service_plan_id) + writer.write_str_value("distribution", self.distribution) + writer.write_str_value("maximumOSVersion", self.maximum_o_s_version) + writer.write_str_value("minimumOSVersion", self.minimum_o_s_version) + writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/x509_certificate_authentication_method_configuration.py b/msgraph_beta/generated/models/x509_certificate_authentication_method_configuration.py index 9774485672b..01eef416e73 100644 --- a/msgraph_beta/generated/models/x509_certificate_authentication_method_configuration.py +++ b/msgraph_beta/generated/models/x509_certificate_authentication_method_configuration.py @@ -72,6 +72,12 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .authentication_method_configuration import AuthenticationMethodConfiguration + from .authentication_method_target import AuthenticationMethodTarget + from .x509_certificate_authentication_mode_configuration import X509CertificateAuthenticationModeConfiguration + from .x509_certificate_issuer_hints_configuration import X509CertificateIssuerHintsConfiguration + from .x509_certificate_user_binding import X509CertificateUserBinding + writer.write_object_value("authenticationModeConfiguration", self.authentication_mode_configuration) writer.write_collection_of_object_values("certificateUserBindings", self.certificate_user_bindings) writer.write_collection_of_object_values("includeTargets", self.include_targets) diff --git a/msgraph_beta/generated/models/x509_certificate_authentication_mode_configuration.py b/msgraph_beta/generated/models/x509_certificate_authentication_mode_configuration.py index 64c110afad0..2faa96ac21e 100644 --- a/msgraph_beta/generated/models/x509_certificate_authentication_mode_configuration.py +++ b/msgraph_beta/generated/models/x509_certificate_authentication_mode_configuration.py @@ -65,6 +65,10 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .x509_certificate_affinity_level import X509CertificateAffinityLevel + from .x509_certificate_authentication_mode import X509CertificateAuthenticationMode + from .x509_certificate_rule import X509CertificateRule + writer.write_str_value("@odata.type", self.odata_type) writer.write_collection_of_object_values("rules", self.rules) writer.write_enum_value("x509CertificateAuthenticationDefaultMode", self.x509_certificate_authentication_default_mode) diff --git a/msgraph_beta/generated/models/x509_certificate_combination_configuration.py b/msgraph_beta/generated/models/x509_certificate_combination_configuration.py index 414b0a6ae53..54067895f9d 100644 --- a/msgraph_beta/generated/models/x509_certificate_combination_configuration.py +++ b/msgraph_beta/generated/models/x509_certificate_combination_configuration.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .authentication_combination_configuration import AuthenticationCombinationConfiguration + writer.write_collection_of_primitive_values("allowedIssuerSkis", self.allowed_issuer_skis) writer.write_collection_of_primitive_values("allowedPolicyOIDs", self.allowed_policy_o_i_ds) diff --git a/msgraph_beta/generated/models/x509_certificate_issuer_hints_configuration.py b/msgraph_beta/generated/models/x509_certificate_issuer_hints_configuration.py index c74112b80c2..142f36ea29e 100644 --- a/msgraph_beta/generated/models/x509_certificate_issuer_hints_configuration.py +++ b/msgraph_beta/generated/models/x509_certificate_issuer_hints_configuration.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .x509_certificate_issuer_hints_state import X509CertificateIssuerHintsState + writer.write_str_value("@odata.type", self.odata_type) writer.write_enum_value("state", self.state) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/x509_certificate_rule.py b/msgraph_beta/generated/models/x509_certificate_rule.py index 178656a04bd..d72c0e569df 100644 --- a/msgraph_beta/generated/models/x509_certificate_rule.py +++ b/msgraph_beta/generated/models/x509_certificate_rule.py @@ -74,6 +74,10 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .x509_certificate_affinity_level import X509CertificateAffinityLevel + from .x509_certificate_authentication_mode import X509CertificateAuthenticationMode + from .x509_certificate_rule_type import X509CertificateRuleType + writer.write_str_value("identifier", self.identifier) writer.write_str_value("issuerSubjectIdentifier", self.issuer_subject_identifier) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/x509_certificate_user_binding.py b/msgraph_beta/generated/models/x509_certificate_user_binding.py index c6aaa465e12..80be4655ba1 100644 --- a/msgraph_beta/generated/models/x509_certificate_user_binding.py +++ b/msgraph_beta/generated/models/x509_certificate_user_binding.py @@ -62,6 +62,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .x509_certificate_affinity_level import X509CertificateAffinityLevel + writer.write_str_value("@odata.type", self.odata_type) writer.write_int_value("priority", self.priority) writer.write_enum_value("trustAffinityLevel", self.trust_affinity_level) diff --git a/msgraph_beta/generated/models/zebra_fota_artifact.py b/msgraph_beta/generated/models/zebra_fota_artifact.py index 9c91aa3ab3c..87dda9b2114 100644 --- a/msgraph_beta/generated/models/zebra_fota_artifact.py +++ b/msgraph_beta/generated/models/zebra_fota_artifact.py @@ -69,6 +69,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + writer.write_str_value("boardSupportPackageVersion", self.board_support_package_version) writer.write_str_value("description", self.description) writer.write_str_value("deviceModel", self.device_model) diff --git a/msgraph_beta/generated/models/zebra_fota_artifact_collection_response.py b/msgraph_beta/generated/models/zebra_fota_artifact_collection_response.py index db4ef432372..f37922675c7 100644 --- a/msgraph_beta/generated/models/zebra_fota_artifact_collection_response.py +++ b/msgraph_beta/generated/models/zebra_fota_artifact_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .zebra_fota_artifact import ZebraFotaArtifact + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/zebra_fota_connector.py b/msgraph_beta/generated/models/zebra_fota_connector.py index c18bddc7602..38ad8070ec2 100644 --- a/msgraph_beta/generated/models/zebra_fota_connector.py +++ b/msgraph_beta/generated/models/zebra_fota_connector.py @@ -70,6 +70,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .entity import Entity + from .zebra_fota_connector_state import ZebraFotaConnectorState + writer.write_str_value("enrollmentAuthorizationUrl", self.enrollment_authorization_url) writer.write_str_value("enrollmentToken", self.enrollment_token) writer.write_bool_value("fotaAppsApproved", self.fota_apps_approved) diff --git a/msgraph_beta/generated/models/zebra_fota_deployment.py b/msgraph_beta/generated/models/zebra_fota_deployment.py index 47fe854fe22..64badfef507 100644 --- a/msgraph_beta/generated/models/zebra_fota_deployment.py +++ b/msgraph_beta/generated/models/zebra_fota_deployment.py @@ -78,6 +78,11 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .android_fota_deployment_assignment import AndroidFotaDeploymentAssignment + from .entity import Entity + from .zebra_fota_deployment_settings import ZebraFotaDeploymentSettings + from .zebra_fota_deployment_status import ZebraFotaDeploymentStatus + writer.write_collection_of_object_values("deploymentAssignments", self.deployment_assignments) writer.write_object_value("deploymentSettings", self.deployment_settings) writer.write_object_value("deploymentStatus", self.deployment_status) diff --git a/msgraph_beta/generated/models/zebra_fota_deployment_collection_response.py b/msgraph_beta/generated/models/zebra_fota_deployment_collection_response.py index 411c0ce3f21..a28b1342cdf 100644 --- a/msgraph_beta/generated/models/zebra_fota_deployment_collection_response.py +++ b/msgraph_beta/generated/models/zebra_fota_deployment_collection_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .zebra_fota_deployment import ZebraFotaDeployment + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/models/zebra_fota_deployment_settings.py b/msgraph_beta/generated/models/zebra_fota_deployment_settings.py index b90ad788d58..00858462d32 100644 --- a/msgraph_beta/generated/models/zebra_fota_deployment_settings.py +++ b/msgraph_beta/generated/models/zebra_fota_deployment_settings.py @@ -108,6 +108,10 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .zebra_fota_network_type import ZebraFotaNetworkType + from .zebra_fota_schedule_mode import ZebraFotaScheduleMode + from .zebra_fota_update_type import ZebraFotaUpdateType + writer.write_int_value("batteryRuleMinimumBatteryLevelPercentage", self.battery_rule_minimum_battery_level_percentage) writer.write_bool_value("batteryRuleRequireCharger", self.battery_rule_require_charger) writer.write_str_value("deviceModel", self.device_model) diff --git a/msgraph_beta/generated/models/zebra_fota_deployment_status.py b/msgraph_beta/generated/models/zebra_fota_deployment_status.py index 3fdd6b4c3a0..6507b7a1c3d 100644 --- a/msgraph_beta/generated/models/zebra_fota_deployment_status.py +++ b/msgraph_beta/generated/models/zebra_fota_deployment_status.py @@ -102,6 +102,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .zebra_fota_deployment_state import ZebraFotaDeploymentState + from .zebra_fota_error_code import ZebraFotaErrorCode + writer.write_bool_value("cancelRequested", self.cancel_requested) writer.write_datetime_value("completeOrCanceledDateTime", self.complete_or_canceled_date_time) writer.write_enum_value("errorCode", self.error_code) diff --git a/msgraph_beta/generated/monitoring/alert_records/count/count_request_builder.py b/msgraph_beta/generated/monitoring/alert_records/count/count_request_builder.py index 167dcb4f58d..852e10f4fcf 100644 --- a/msgraph_beta/generated/monitoring/alert_records/count/count_request_builder.py +++ b/msgraph_beta/generated/monitoring/alert_records/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/monitoring/alert_records/microsoft_graph_device_management_get_portal_notifications/get_portal_notifications_get_response.py b/msgraph_beta/generated/monitoring/alert_records/microsoft_graph_device_management_get_portal_notifications/get_portal_notifications_get_response.py index cf02f58802b..ed972d11616 100644 --- a/msgraph_beta/generated/monitoring/alert_records/microsoft_graph_device_management_get_portal_notifications/get_portal_notifications_get_response.py +++ b/msgraph_beta/generated/monitoring/alert_records/microsoft_graph_device_management_get_portal_notifications/get_portal_notifications_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ....models.device_management.portal_notification import PortalNotification + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/monitoring/alert_rules/count/count_request_builder.py b/msgraph_beta/generated/monitoring/alert_rules/count/count_request_builder.py index 392fb03ae94..6e153325d71 100644 --- a/msgraph_beta/generated/monitoring/alert_rules/count/count_request_builder.py +++ b/msgraph_beta/generated/monitoring/alert_rules/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/network_access/alerts/count/count_request_builder.py b/msgraph_beta/generated/network_access/alerts/count/count_request_builder.py index 25985ce985c..7a824168e04 100644 --- a/msgraph_beta/generated/network_access/alerts/count/count_request_builder.py +++ b/msgraph_beta/generated/network_access/alerts/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/network_access/alerts/microsoft_graph_networkaccess_get_alert_frequencies_with_start_date_time_with_end_date_time/get_alert_frequencies_with_start_date_time_with_end_date_time_get_response.py b/msgraph_beta/generated/network_access/alerts/microsoft_graph_networkaccess_get_alert_frequencies_with_start_date_time_with_end_date_time/get_alert_frequencies_with_start_date_time_with_end_date_time_get_response.py index 866ff43f2d3..19c32baf483 100644 --- a/msgraph_beta/generated/network_access/alerts/microsoft_graph_networkaccess_get_alert_frequencies_with_start_date_time_with_end_date_time/get_alert_frequencies_with_start_date_time_with_end_date_time_get_response.py +++ b/msgraph_beta/generated/network_access/alerts/microsoft_graph_networkaccess_get_alert_frequencies_with_start_date_time_with_end_date_time/get_alert_frequencies_with_start_date_time_with_end_date_time_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ....models.networkaccess.alert_frequency_point import AlertFrequencyPoint + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/network_access/alerts/microsoft_graph_networkaccess_get_alert_severity_summaries_with_start_date_time_with_end_date_time/get_alert_severity_summaries_with_start_date_time_with_end_date_time_get_response.py b/msgraph_beta/generated/network_access/alerts/microsoft_graph_networkaccess_get_alert_severity_summaries_with_start_date_time_with_end_date_time/get_alert_severity_summaries_with_start_date_time_with_end_date_time_get_response.py index 4d7155d595f..dbbe52ebdcb 100644 --- a/msgraph_beta/generated/network_access/alerts/microsoft_graph_networkaccess_get_alert_severity_summaries_with_start_date_time_with_end_date_time/get_alert_severity_summaries_with_start_date_time_with_end_date_time_get_response.py +++ b/msgraph_beta/generated/network_access/alerts/microsoft_graph_networkaccess_get_alert_severity_summaries_with_start_date_time_with_end_date_time/get_alert_severity_summaries_with_start_date_time_with_end_date_time_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ....models.networkaccess.alert_severity_summary import AlertSeveritySummary + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/network_access/connectivity/branches/count/count_request_builder.py b/msgraph_beta/generated/network_access/connectivity/branches/count/count_request_builder.py index 4af234d0d60..654731b186f 100644 --- a/msgraph_beta/generated/network_access/connectivity/branches/count/count_request_builder.py +++ b/msgraph_beta/generated/network_access/connectivity/branches/count/count_request_builder.py @@ -45,7 +45,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/network_access/connectivity/branches/item/connectivity_configuration/links/count/count_request_builder.py b/msgraph_beta/generated/network_access/connectivity/branches/item/connectivity_configuration/links/count/count_request_builder.py index d4f30a3be08..299bbade678 100644 --- a/msgraph_beta/generated/network_access/connectivity/branches/item/connectivity_configuration/links/count/count_request_builder.py +++ b/msgraph_beta/generated/network_access/connectivity/branches/item/connectivity_configuration/links/count/count_request_builder.py @@ -45,7 +45,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/network_access/connectivity/branches/item/device_links/count/count_request_builder.py b/msgraph_beta/generated/network_access/connectivity/branches/item/device_links/count/count_request_builder.py index 384b18c6ea3..9294a1c866b 100644 --- a/msgraph_beta/generated/network_access/connectivity/branches/item/device_links/count/count_request_builder.py +++ b/msgraph_beta/generated/network_access/connectivity/branches/item/device_links/count/count_request_builder.py @@ -45,7 +45,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/network_access/connectivity/branches/item/forwarding_profiles/count/count_request_builder.py b/msgraph_beta/generated/network_access/connectivity/branches/item/forwarding_profiles/count/count_request_builder.py index 606ca920a25..5be882bcad2 100644 --- a/msgraph_beta/generated/network_access/connectivity/branches/item/forwarding_profiles/count/count_request_builder.py +++ b/msgraph_beta/generated/network_access/connectivity/branches/item/forwarding_profiles/count/count_request_builder.py @@ -45,7 +45,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/network_access/connectivity/branches/item/forwarding_profiles/item/policies/count/count_request_builder.py b/msgraph_beta/generated/network_access/connectivity/branches/item/forwarding_profiles/item/policies/count/count_request_builder.py index abff2d6da8e..52db331ada2 100644 --- a/msgraph_beta/generated/network_access/connectivity/branches/item/forwarding_profiles/item/policies/count/count_request_builder.py +++ b/msgraph_beta/generated/network_access/connectivity/branches/item/forwarding_profiles/item/policies/count/count_request_builder.py @@ -45,7 +45,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/network_access/connectivity/remote_networks/count/count_request_builder.py b/msgraph_beta/generated/network_access/connectivity/remote_networks/count/count_request_builder.py index 29e1f88cb0e..0ea2d7a74c7 100644 --- a/msgraph_beta/generated/network_access/connectivity/remote_networks/count/count_request_builder.py +++ b/msgraph_beta/generated/network_access/connectivity/remote_networks/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/network_access/connectivity/remote_networks/item/connectivity_configuration/links/count/count_request_builder.py b/msgraph_beta/generated/network_access/connectivity/remote_networks/item/connectivity_configuration/links/count/count_request_builder.py index b120e83a74e..544318ed044 100644 --- a/msgraph_beta/generated/network_access/connectivity/remote_networks/item/connectivity_configuration/links/count/count_request_builder.py +++ b/msgraph_beta/generated/network_access/connectivity/remote_networks/item/connectivity_configuration/links/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/network_access/connectivity/remote_networks/item/device_links/count/count_request_builder.py b/msgraph_beta/generated/network_access/connectivity/remote_networks/item/device_links/count/count_request_builder.py index 70d6bd45567..e0490752a95 100644 --- a/msgraph_beta/generated/network_access/connectivity/remote_networks/item/device_links/count/count_request_builder.py +++ b/msgraph_beta/generated/network_access/connectivity/remote_networks/item/device_links/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/network_access/connectivity/remote_networks/item/forwarding_profiles/count/count_request_builder.py b/msgraph_beta/generated/network_access/connectivity/remote_networks/item/forwarding_profiles/count/count_request_builder.py index dcf4c6c829c..93b5af80bef 100644 --- a/msgraph_beta/generated/network_access/connectivity/remote_networks/item/forwarding_profiles/count/count_request_builder.py +++ b/msgraph_beta/generated/network_access/connectivity/remote_networks/item/forwarding_profiles/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/network_access/connectivity/remote_networks/item/forwarding_profiles/item/policies/count/count_request_builder.py b/msgraph_beta/generated/network_access/connectivity/remote_networks/item/forwarding_profiles/item/policies/count/count_request_builder.py index d661665012d..c285be32971 100644 --- a/msgraph_beta/generated/network_access/connectivity/remote_networks/item/forwarding_profiles/item/policies/count/count_request_builder.py +++ b/msgraph_beta/generated/network_access/connectivity/remote_networks/item/forwarding_profiles/item/policies/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/network_access/filtering_policies/count/count_request_builder.py b/msgraph_beta/generated/network_access/filtering_policies/count/count_request_builder.py index 2da430f521e..323afa3ea15 100644 --- a/msgraph_beta/generated/network_access/filtering_policies/count/count_request_builder.py +++ b/msgraph_beta/generated/network_access/filtering_policies/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/network_access/filtering_policies/item/policy_rules/count/count_request_builder.py b/msgraph_beta/generated/network_access/filtering_policies/item/policy_rules/count/count_request_builder.py index ffb6cf61ef7..aa24e2fc731 100644 --- a/msgraph_beta/generated/network_access/filtering_policies/item/policy_rules/count/count_request_builder.py +++ b/msgraph_beta/generated/network_access/filtering_policies/item/policy_rules/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/network_access/filtering_profiles/count/count_request_builder.py b/msgraph_beta/generated/network_access/filtering_profiles/count/count_request_builder.py index 0f8e48054c3..a362e3e5115 100644 --- a/msgraph_beta/generated/network_access/filtering_profiles/count/count_request_builder.py +++ b/msgraph_beta/generated/network_access/filtering_profiles/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/network_access/filtering_profiles/item/conditional_access_policies/count/count_request_builder.py b/msgraph_beta/generated/network_access/filtering_profiles/item/conditional_access_policies/count/count_request_builder.py index c30ecd0df43..bc94fcf4c0b 100644 --- a/msgraph_beta/generated/network_access/filtering_profiles/item/conditional_access_policies/count/count_request_builder.py +++ b/msgraph_beta/generated/network_access/filtering_profiles/item/conditional_access_policies/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/network_access/filtering_profiles/item/policies/count/count_request_builder.py b/msgraph_beta/generated/network_access/filtering_profiles/item/policies/count/count_request_builder.py index 5bc79e220d2..357d10c7350 100644 --- a/msgraph_beta/generated/network_access/filtering_profiles/item/policies/count/count_request_builder.py +++ b/msgraph_beta/generated/network_access/filtering_profiles/item/policies/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/network_access/forwarding_policies/count/count_request_builder.py b/msgraph_beta/generated/network_access/forwarding_policies/count/count_request_builder.py index 67de337d603..bc2e016ca5e 100644 --- a/msgraph_beta/generated/network_access/forwarding_policies/count/count_request_builder.py +++ b/msgraph_beta/generated/network_access/forwarding_policies/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/network_access/forwarding_policies/item/microsoft_graph_networkaccess_update_policy_rules/update_policy_rules_post_request_body.py b/msgraph_beta/generated/network_access/forwarding_policies/item/microsoft_graph_networkaccess_update_policy_rules/update_policy_rules_post_request_body.py index 4af825d78b0..9aac2fc8436 100644 --- a/msgraph_beta/generated/network_access/forwarding_policies/item/microsoft_graph_networkaccess_update_policy_rules/update_policy_rules_post_request_body.py +++ b/msgraph_beta/generated/network_access/forwarding_policies/item/microsoft_graph_networkaccess_update_policy_rules/update_policy_rules_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.networkaccess.policy_rule_delta import PolicyRuleDelta + writer.write_collection_of_object_values("rules", self.rules) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/network_access/forwarding_policies/item/policy_rules/count/count_request_builder.py b/msgraph_beta/generated/network_access/forwarding_policies/item/policy_rules/count/count_request_builder.py index c45f5abb410..b7178fed513 100644 --- a/msgraph_beta/generated/network_access/forwarding_policies/item/policy_rules/count/count_request_builder.py +++ b/msgraph_beta/generated/network_access/forwarding_policies/item/policy_rules/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/network_access/forwarding_profiles/count/count_request_builder.py b/msgraph_beta/generated/network_access/forwarding_profiles/count/count_request_builder.py index 15482e43609..5bcf30d6c78 100644 --- a/msgraph_beta/generated/network_access/forwarding_profiles/count/count_request_builder.py +++ b/msgraph_beta/generated/network_access/forwarding_profiles/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/network_access/forwarding_profiles/item/policies/count/count_request_builder.py b/msgraph_beta/generated/network_access/forwarding_profiles/item/policies/count/count_request_builder.py index 16807a051ea..9d9983ecc33 100644 --- a/msgraph_beta/generated/network_access/forwarding_profiles/item/policies/count/count_request_builder.py +++ b/msgraph_beta/generated/network_access/forwarding_profiles/item/policies/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/network_access/logs/remote_networks/count/count_request_builder.py b/msgraph_beta/generated/network_access/logs/remote_networks/count/count_request_builder.py index 86c228a8f5b..150644b16b9 100644 --- a/msgraph_beta/generated/network_access/logs/remote_networks/count/count_request_builder.py +++ b/msgraph_beta/generated/network_access/logs/remote_networks/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/network_access/logs/traffic/count/count_request_builder.py b/msgraph_beta/generated/network_access/logs/traffic/count/count_request_builder.py index 0c2a59ac15f..dc67cd0edb2 100644 --- a/msgraph_beta/generated/network_access/logs/traffic/count/count_request_builder.py +++ b/msgraph_beta/generated/network_access/logs/traffic/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/network_access/logs/traffic/item/user/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/network_access/logs/traffic/item/user/service_provisioning_errors/count/count_request_builder.py index ba329aa1dd0..63f92f31362 100644 --- a/msgraph_beta/generated/network_access/logs/traffic/item/user/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/network_access/logs/traffic/item/user/service_provisioning_errors/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/network_access/reports/microsoft_graph_networkaccess_cross_tenant_access_report_with_start_date_time_with_end_date_time/cross_tenant_access_report_with_start_date_time_with_end_date_time_get_response.py b/msgraph_beta/generated/network_access/reports/microsoft_graph_networkaccess_cross_tenant_access_report_with_start_date_time_with_end_date_time/cross_tenant_access_report_with_start_date_time_with_end_date_time_get_response.py index c7eedc83009..ad1d6edbafc 100644 --- a/msgraph_beta/generated/network_access/reports/microsoft_graph_networkaccess_cross_tenant_access_report_with_start_date_time_with_end_date_time/cross_tenant_access_report_with_start_date_time_with_end_date_time_get_response.py +++ b/msgraph_beta/generated/network_access/reports/microsoft_graph_networkaccess_cross_tenant_access_report_with_start_date_time_with_end_date_time/cross_tenant_access_report_with_start_date_time_with_end_date_time_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ....models.networkaccess.cross_tenant_access import CrossTenantAccess + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/network_access/reports/microsoft_graph_networkaccess_destination_report_with_start_date_time_with_end_date_time/destination_report_with_start_date_time_with_end_date_time_get_response.py b/msgraph_beta/generated/network_access/reports/microsoft_graph_networkaccess_destination_report_with_start_date_time_with_end_date_time/destination_report_with_start_date_time_with_end_date_time_get_response.py index a34bb23b22c..bc456889391 100644 --- a/msgraph_beta/generated/network_access/reports/microsoft_graph_networkaccess_destination_report_with_start_date_time_with_end_date_time/destination_report_with_start_date_time_with_end_date_time_get_response.py +++ b/msgraph_beta/generated/network_access/reports/microsoft_graph_networkaccess_destination_report_with_start_date_time_with_end_date_time/destination_report_with_start_date_time_with_end_date_time_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ....models.networkaccess.destination import Destination + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/network_access/reports/microsoft_graph_networkaccess_device_report_with_start_date_time_with_end_date_time/device_report_with_start_date_time_with_end_date_time_get_response.py b/msgraph_beta/generated/network_access/reports/microsoft_graph_networkaccess_device_report_with_start_date_time_with_end_date_time/device_report_with_start_date_time_with_end_date_time_get_response.py index 3691267ad41..66cca6f8ef0 100644 --- a/msgraph_beta/generated/network_access/reports/microsoft_graph_networkaccess_device_report_with_start_date_time_with_end_date_time/device_report_with_start_date_time_with_end_date_time_get_response.py +++ b/msgraph_beta/generated/network_access/reports/microsoft_graph_networkaccess_device_report_with_start_date_time_with_end_date_time/device_report_with_start_date_time_with_end_date_time_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ....models.networkaccess.device import Device + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/network_access/reports/microsoft_graph_networkaccess_entities_summaries_with_start_date_time_with_end_date_time/entities_summaries_with_start_date_time_with_end_date_time_get_response.py b/msgraph_beta/generated/network_access/reports/microsoft_graph_networkaccess_entities_summaries_with_start_date_time_with_end_date_time/entities_summaries_with_start_date_time_with_end_date_time_get_response.py index 80a681a5e3f..811d41989ee 100644 --- a/msgraph_beta/generated/network_access/reports/microsoft_graph_networkaccess_entities_summaries_with_start_date_time_with_end_date_time/entities_summaries_with_start_date_time_with_end_date_time_get_response.py +++ b/msgraph_beta/generated/network_access/reports/microsoft_graph_networkaccess_entities_summaries_with_start_date_time_with_end_date_time/entities_summaries_with_start_date_time_with_end_date_time_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ....models.networkaccess.entities_summary import EntitiesSummary + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/network_access/reports/microsoft_graph_networkaccess_get_destination_summaries_with_start_date_time_with_end_date_time_with_aggregated_by/get_destination_summaries_with_start_date_time_with_end_date_time_with_aggregated_by_get_response.py b/msgraph_beta/generated/network_access/reports/microsoft_graph_networkaccess_get_destination_summaries_with_start_date_time_with_end_date_time_with_aggregated_by/get_destination_summaries_with_start_date_time_with_end_date_time_with_aggregated_by_get_response.py index 5b546e881ce..bc0a48303b9 100644 --- a/msgraph_beta/generated/network_access/reports/microsoft_graph_networkaccess_get_destination_summaries_with_start_date_time_with_end_date_time_with_aggregated_by/get_destination_summaries_with_start_date_time_with_end_date_time_with_aggregated_by_get_response.py +++ b/msgraph_beta/generated/network_access/reports/microsoft_graph_networkaccess_get_destination_summaries_with_start_date_time_with_end_date_time_with_aggregated_by/get_destination_summaries_with_start_date_time_with_end_date_time_with_aggregated_by_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ....models.networkaccess.destination_summary import DestinationSummary + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/network_access/reports/microsoft_graph_networkaccess_get_discovered_application_segment_report_with_start_date_time_with_end_date_timeuser_id_user_id/get_discovered_application_segment_report_with_start_date_time_with_end_date_timeuser_id_user_id_get_response.py b/msgraph_beta/generated/network_access/reports/microsoft_graph_networkaccess_get_discovered_application_segment_report_with_start_date_time_with_end_date_timeuser_id_user_id/get_discovered_application_segment_report_with_start_date_time_with_end_date_timeuser_id_user_id_get_response.py index fc0e164aa55..3d2621d3bb3 100644 --- a/msgraph_beta/generated/network_access/reports/microsoft_graph_networkaccess_get_discovered_application_segment_report_with_start_date_time_with_end_date_timeuser_id_user_id/get_discovered_application_segment_report_with_start_date_time_with_end_date_timeuser_id_user_id_get_response.py +++ b/msgraph_beta/generated/network_access/reports/microsoft_graph_networkaccess_get_discovered_application_segment_report_with_start_date_time_with_end_date_timeuser_id_user_id/get_discovered_application_segment_report_with_start_date_time_with_end_date_timeuser_id_user_id_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ....models.networkaccess.discovered_application_segment_report import DiscoveredApplicationSegmentReport + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/network_access/reports/microsoft_graph_networkaccess_transaction_summaries_with_start_date_time_with_end_date_time/transaction_summaries_with_start_date_time_with_end_date_time_get_response.py b/msgraph_beta/generated/network_access/reports/microsoft_graph_networkaccess_transaction_summaries_with_start_date_time_with_end_date_time/transaction_summaries_with_start_date_time_with_end_date_time_get_response.py index 2c67d8f9ac6..52fbd8b81c4 100644 --- a/msgraph_beta/generated/network_access/reports/microsoft_graph_networkaccess_transaction_summaries_with_start_date_time_with_end_date_time/transaction_summaries_with_start_date_time_with_end_date_time_get_response.py +++ b/msgraph_beta/generated/network_access/reports/microsoft_graph_networkaccess_transaction_summaries_with_start_date_time_with_end_date_time/transaction_summaries_with_start_date_time_with_end_date_time_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ....models.networkaccess.transaction_summary import TransactionSummary + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/network_access/reports/microsoft_graph_networkaccess_usage_profiling_with_start_date_time_with_end_date_time_with_aggregated_bydiscovered_application_segment_id_discovered_application_segment_id/usage_profiling_with_start_date_time_with_end_date_time_with_aggregated_bydiscovered_application_segment_id_discovered_application_segment_id_get_response.py b/msgraph_beta/generated/network_access/reports/microsoft_graph_networkaccess_usage_profiling_with_start_date_time_with_end_date_time_with_aggregated_bydiscovered_application_segment_id_discovered_application_segment_id/usage_profiling_with_start_date_time_with_end_date_time_with_aggregated_bydiscovered_application_segment_id_discovered_application_segment_id_get_response.py index cf635f4376f..ec7746d22e6 100644 --- a/msgraph_beta/generated/network_access/reports/microsoft_graph_networkaccess_usage_profiling_with_start_date_time_with_end_date_time_with_aggregated_bydiscovered_application_segment_id_discovered_application_segment_id/usage_profiling_with_start_date_time_with_end_date_time_with_aggregated_bydiscovered_application_segment_id_discovered_application_segment_id_get_response.py +++ b/msgraph_beta/generated/network_access/reports/microsoft_graph_networkaccess_usage_profiling_with_start_date_time_with_end_date_time_with_aggregated_bydiscovered_application_segment_id_discovered_application_segment_id/usage_profiling_with_start_date_time_with_end_date_time_with_aggregated_bydiscovered_application_segment_id_discovered_application_segment_id_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ....models.networkaccess.usage_profiling_point import UsageProfilingPoint + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/network_access/reports/microsoft_graph_networkaccess_user_report_with_start_date_time_with_end_date_timediscovered_application_segment_id_discovered_application_segment_id/user_report_with_start_date_time_with_end_date_timediscovered_application_segment_id_discovered_application_segment_id_get_response.py b/msgraph_beta/generated/network_access/reports/microsoft_graph_networkaccess_user_report_with_start_date_time_with_end_date_timediscovered_application_segment_id_discovered_application_segment_id/user_report_with_start_date_time_with_end_date_timediscovered_application_segment_id_discovered_application_segment_id_get_response.py index 00ab4ba17e1..ae835f15833 100644 --- a/msgraph_beta/generated/network_access/reports/microsoft_graph_networkaccess_user_report_with_start_date_time_with_end_date_timediscovered_application_segment_id_discovered_application_segment_id/user_report_with_start_date_time_with_end_date_timediscovered_application_segment_id_discovered_application_segment_id_get_response.py +++ b/msgraph_beta/generated/network_access/reports/microsoft_graph_networkaccess_user_report_with_start_date_time_with_end_date_timediscovered_application_segment_id_discovered_application_segment_id/user_report_with_start_date_time_with_end_date_timediscovered_application_segment_id_discovered_application_segment_id_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ....models.networkaccess.user import User + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/network_access/reports/microsoft_graph_networkaccess_web_category_report_with_start_date_time_with_end_date_time/web_category_report_with_start_date_time_with_end_date_time_get_response.py b/msgraph_beta/generated/network_access/reports/microsoft_graph_networkaccess_web_category_report_with_start_date_time_with_end_date_time/web_category_report_with_start_date_time_with_end_date_time_get_response.py index bee2f367358..ab7713f477f 100644 --- a/msgraph_beta/generated/network_access/reports/microsoft_graph_networkaccess_web_category_report_with_start_date_time_with_end_date_time/web_category_report_with_start_date_time_with_end_date_time_get_response.py +++ b/msgraph_beta/generated/network_access/reports/microsoft_graph_networkaccess_web_category_report_with_start_date_time_with_end_date_time/web_category_report_with_start_date_time_with_end_date_time_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ....models.networkaccess.web_categories_summary import WebCategoriesSummary + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/oauth2_permission_grants/count/count_request_builder.py b/msgraph_beta/generated/oauth2_permission_grants/count/count_request_builder.py index 4118fb0d00d..8a4a0aa9c2c 100644 --- a/msgraph_beta/generated/oauth2_permission_grants/count/count_request_builder.py +++ b/msgraph_beta/generated/oauth2_permission_grants/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/oauth2_permission_grants/delta/delta_get_response.py b/msgraph_beta/generated/oauth2_permission_grants/delta/delta_get_response.py index ff94b97605c..6d55eb69f35 100644 --- a/msgraph_beta/generated/oauth2_permission_grants/delta/delta_get_response.py +++ b/msgraph_beta/generated/oauth2_permission_grants/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ...models.base_delta_function_response import BaseDeltaFunctionResponse + from ...models.o_auth2_permission_grant import OAuth2PermissionGrant + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/oauth2_permission_grants/delta/delta_request_builder.py b/msgraph_beta/generated/oauth2_permission_grants/delta/delta_request_builder.py index 77d0a862c6e..ab6438a84f2 100644 --- a/msgraph_beta/generated/oauth2_permission_grants/delta/delta_request_builder.py +++ b/msgraph_beta/generated/oauth2_permission_grants/delta/delta_request_builder.py @@ -31,7 +31,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def get(self,request_configuration: Optional[RequestConfiguration[DeltaRequestBuilderGetQueryParameters]] = None) -> Optional[DeltaGetResponse]: """ - Get newly created, updated, or deleted oauth2permissiongrant objects without performing a full read of the entire resource collection. For details, see Using delta query. + Get newly created, updated, or deleted oauth2permissiongrant objects without performing a full read of the entire resource collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeltaGetResponse] Find more info here: https://learn.microsoft.com/graph/api/oauth2permissiongrant-delta?view=graph-rest-beta @@ -52,7 +52,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DeltaReq def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[DeltaRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Get newly created, updated, or deleted oauth2permissiongrant objects without performing a full read of the entire resource collection. For details, see Using delta query. + Get newly created, updated, or deleted oauth2permissiongrant objects without performing a full read of the entire resource collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -74,7 +74,7 @@ def with_url(self,raw_url: str) -> DeltaRequestBuilder: @dataclass class DeltaRequestBuilderGetQueryParameters(): """ - Get newly created, updated, or deleted oauth2permissiongrant objects without performing a full read of the entire resource collection. For details, see Using delta query. + Get newly created, updated, or deleted oauth2permissiongrant objects without performing a full read of the entire resource collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/on_premises_publishing_profiles/count/count_request_builder.py b/msgraph_beta/generated/on_premises_publishing_profiles/count/count_request_builder.py index a0744251cef..60c6d65c680 100644 --- a/msgraph_beta/generated/on_premises_publishing_profiles/count/count_request_builder.py +++ b/msgraph_beta/generated/on_premises_publishing_profiles/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/on_premises_publishing_profiles/item/agent_groups/count/count_request_builder.py b/msgraph_beta/generated/on_premises_publishing_profiles/item/agent_groups/count/count_request_builder.py index 7c14359b685..2ee659570b3 100644 --- a/msgraph_beta/generated/on_premises_publishing_profiles/item/agent_groups/count/count_request_builder.py +++ b/msgraph_beta/generated/on_premises_publishing_profiles/item/agent_groups/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/on_premises_publishing_profiles/item/agent_groups/item/agents/count/count_request_builder.py b/msgraph_beta/generated/on_premises_publishing_profiles/item/agent_groups/item/agents/count/count_request_builder.py index bf9e2230699..383d7e7cc36 100644 --- a/msgraph_beta/generated/on_premises_publishing_profiles/item/agent_groups/item/agents/count/count_request_builder.py +++ b/msgraph_beta/generated/on_premises_publishing_profiles/item/agent_groups/item/agents/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/on_premises_publishing_profiles/item/agent_groups/item/agents/item/agent_groups/count/count_request_builder.py b/msgraph_beta/generated/on_premises_publishing_profiles/item/agent_groups/item/agents/item/agent_groups/count/count_request_builder.py index 50a301f1ec9..028ffe32e8b 100644 --- a/msgraph_beta/generated/on_premises_publishing_profiles/item/agent_groups/item/agents/item/agent_groups/count/count_request_builder.py +++ b/msgraph_beta/generated/on_premises_publishing_profiles/item/agent_groups/item/agents/item/agent_groups/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/on_premises_publishing_profiles/item/agent_groups/item/published_resources/count/count_request_builder.py b/msgraph_beta/generated/on_premises_publishing_profiles/item/agent_groups/item/published_resources/count/count_request_builder.py index fa7f49f0aed..57443dd8d30 100644 --- a/msgraph_beta/generated/on_premises_publishing_profiles/item/agent_groups/item/published_resources/count/count_request_builder.py +++ b/msgraph_beta/generated/on_premises_publishing_profiles/item/agent_groups/item/published_resources/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/on_premises_publishing_profiles/item/agent_groups/item/published_resources/item/agent_groups/count/count_request_builder.py b/msgraph_beta/generated/on_premises_publishing_profiles/item/agent_groups/item/published_resources/item/agent_groups/count/count_request_builder.py index cc239d7d74b..abfc28eb3ae 100644 --- a/msgraph_beta/generated/on_premises_publishing_profiles/item/agent_groups/item/published_resources/item/agent_groups/count/count_request_builder.py +++ b/msgraph_beta/generated/on_premises_publishing_profiles/item/agent_groups/item/published_resources/item/agent_groups/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/on_premises_publishing_profiles/item/agents/count/count_request_builder.py b/msgraph_beta/generated/on_premises_publishing_profiles/item/agents/count/count_request_builder.py index 12cb0ccece3..722912787af 100644 --- a/msgraph_beta/generated/on_premises_publishing_profiles/item/agents/count/count_request_builder.py +++ b/msgraph_beta/generated/on_premises_publishing_profiles/item/agents/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/on_premises_publishing_profiles/item/agents/item/agent_groups/count/count_request_builder.py b/msgraph_beta/generated/on_premises_publishing_profiles/item/agents/item/agent_groups/count/count_request_builder.py index 5a4253bff18..c7e3eb8763b 100644 --- a/msgraph_beta/generated/on_premises_publishing_profiles/item/agents/item/agent_groups/count/count_request_builder.py +++ b/msgraph_beta/generated/on_premises_publishing_profiles/item/agents/item/agent_groups/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/on_premises_publishing_profiles/item/application_segments/count/count_request_builder.py b/msgraph_beta/generated/on_premises_publishing_profiles/item/application_segments/count/count_request_builder.py index 07ad45a37c7..8c4bf6cc59c 100644 --- a/msgraph_beta/generated/on_premises_publishing_profiles/item/application_segments/count/count_request_builder.py +++ b/msgraph_beta/generated/on_premises_publishing_profiles/item/application_segments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/on_premises_publishing_profiles/item/connector_groups/count/count_request_builder.py b/msgraph_beta/generated/on_premises_publishing_profiles/item/connector_groups/count/count_request_builder.py index efb9d87a1a4..471b3585100 100644 --- a/msgraph_beta/generated/on_premises_publishing_profiles/item/connector_groups/count/count_request_builder.py +++ b/msgraph_beta/generated/on_premises_publishing_profiles/item/connector_groups/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/on_premises_publishing_profiles/item/connector_groups/item/applications/count/count_request_builder.py b/msgraph_beta/generated/on_premises_publishing_profiles/item/connector_groups/item/applications/count/count_request_builder.py index 071c526d5fc..f19276a3e54 100644 --- a/msgraph_beta/generated/on_premises_publishing_profiles/item/connector_groups/item/applications/count/count_request_builder.py +++ b/msgraph_beta/generated/on_premises_publishing_profiles/item/connector_groups/item/applications/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/on_premises_publishing_profiles/item/connector_groups/item/members/count/count_request_builder.py b/msgraph_beta/generated/on_premises_publishing_profiles/item/connector_groups/item/members/count/count_request_builder.py index 356019f34f8..f39a6e6a1ff 100644 --- a/msgraph_beta/generated/on_premises_publishing_profiles/item/connector_groups/item/members/count/count_request_builder.py +++ b/msgraph_beta/generated/on_premises_publishing_profiles/item/connector_groups/item/members/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/on_premises_publishing_profiles/item/connectors/count/count_request_builder.py b/msgraph_beta/generated/on_premises_publishing_profiles/item/connectors/count/count_request_builder.py index e53e5d67894..6ac86d9e2e3 100644 --- a/msgraph_beta/generated/on_premises_publishing_profiles/item/connectors/count/count_request_builder.py +++ b/msgraph_beta/generated/on_premises_publishing_profiles/item/connectors/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/on_premises_publishing_profiles/item/connectors/item/member_of/count/count_request_builder.py b/msgraph_beta/generated/on_premises_publishing_profiles/item/connectors/item/member_of/count/count_request_builder.py index 4b1cb52687f..be2a35f4783 100644 --- a/msgraph_beta/generated/on_premises_publishing_profiles/item/connectors/item/member_of/count/count_request_builder.py +++ b/msgraph_beta/generated/on_premises_publishing_profiles/item/connectors/item/member_of/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/on_premises_publishing_profiles/item/published_resources/count/count_request_builder.py b/msgraph_beta/generated/on_premises_publishing_profiles/item/published_resources/count/count_request_builder.py index 41f96f11e3b..aeb9844e94e 100644 --- a/msgraph_beta/generated/on_premises_publishing_profiles/item/published_resources/count/count_request_builder.py +++ b/msgraph_beta/generated/on_premises_publishing_profiles/item/published_resources/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/on_premises_publishing_profiles/item/published_resources/item/agent_groups/count/count_request_builder.py b/msgraph_beta/generated/on_premises_publishing_profiles/item/published_resources/item/agent_groups/count/count_request_builder.py index ff7953e2208..2d1c563bc1b 100644 --- a/msgraph_beta/generated/on_premises_publishing_profiles/item/published_resources/item/agent_groups/count/count_request_builder.py +++ b/msgraph_beta/generated/on_premises_publishing_profiles/item/published_resources/item/agent_groups/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/organization/count/count_request_builder.py b/msgraph_beta/generated/organization/count/count_request_builder.py index 22e45f37d4a..82a9a4b419f 100644 --- a/msgraph_beta/generated/organization/count/count_request_builder.py +++ b/msgraph_beta/generated/organization/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/organization/delta/delta_get_response.py b/msgraph_beta/generated/organization/delta/delta_get_response.py index 26603c17b35..d58d0fb6cad 100644 --- a/msgraph_beta/generated/organization/delta/delta_get_response.py +++ b/msgraph_beta/generated/organization/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ...models.base_delta_function_response import BaseDeltaFunctionResponse + from ...models.directory_object import DirectoryObject + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/organization/delta/delta_request_builder.py b/msgraph_beta/generated/organization/delta/delta_request_builder.py index 729b56f3cb9..8291e2cbbdd 100644 --- a/msgraph_beta/generated/organization/delta/delta_request_builder.py +++ b/msgraph_beta/generated/organization/delta/delta_request_builder.py @@ -31,7 +31,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def get(self,request_configuration: Optional[RequestConfiguration[DeltaRequestBuilderGetQueryParameters]] = None) -> Optional[DeltaGetResponse]: """ - Get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information about the delta function, see Use delta query to track changes in Microsoft Graph data for details. + Get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeltaGetResponse] Find more info here: https://learn.microsoft.com/graph/api/directoryobject-delta?view=graph-rest-beta @@ -52,7 +52,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DeltaReq def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[DeltaRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information about the delta function, see Use delta query to track changes in Microsoft Graph data for details. + Get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -74,7 +74,7 @@ def with_url(self,raw_url: str) -> DeltaRequestBuilder: @dataclass class DeltaRequestBuilderGetQueryParameters(): """ - Get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information about the delta function, see Use delta query to track changes in Microsoft Graph data for details. + Get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/organization/get_by_ids/get_by_ids_post_response.py b/msgraph_beta/generated/organization/get_by_ids/get_by_ids_post_response.py index a3099558efc..488f70f9c5d 100644 --- a/msgraph_beta/generated/organization/get_by_ids/get_by_ids_post_response.py +++ b/msgraph_beta/generated/organization/get_by_ids/get_by_ids_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ...models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ...models.directory_object import DirectoryObject + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/organization/item/branding/localizations/count/count_request_builder.py b/msgraph_beta/generated/organization/item/branding/localizations/count/count_request_builder.py index d965ff04c96..210b31f365e 100644 --- a/msgraph_beta/generated/organization/item/branding/localizations/count/count_request_builder.py +++ b/msgraph_beta/generated/organization/item/branding/localizations/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/organization/item/certificate_based_auth_configuration/count/count_request_builder.py b/msgraph_beta/generated/organization/item/certificate_based_auth_configuration/count/count_request_builder.py index d8ed77d34b3..4bbe7deaca1 100644 --- a/msgraph_beta/generated/organization/item/certificate_based_auth_configuration/count/count_request_builder.py +++ b/msgraph_beta/generated/organization/item/certificate_based_auth_configuration/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/organization/item/check_member_groups/check_member_groups_post_response.py b/msgraph_beta/generated/organization/item/check_member_groups/check_member_groups_post_response.py index cdf041e2573..b2ce0f888c9 100644 --- a/msgraph_beta/generated/organization/item/check_member_groups/check_member_groups_post_response.py +++ b/msgraph_beta/generated/organization/item/check_member_groups/check_member_groups_post_response.py @@ -49,6 +49,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_primitive_values("value", self.value) diff --git a/msgraph_beta/generated/organization/item/check_member_objects/check_member_objects_post_response.py b/msgraph_beta/generated/organization/item/check_member_objects/check_member_objects_post_response.py index 2dc94a92d04..e2a652a7c28 100644 --- a/msgraph_beta/generated/organization/item/check_member_objects/check_member_objects_post_response.py +++ b/msgraph_beta/generated/organization/item/check_member_objects/check_member_objects_post_response.py @@ -49,6 +49,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_primitive_values("value", self.value) diff --git a/msgraph_beta/generated/organization/item/extensions/count/count_request_builder.py b/msgraph_beta/generated/organization/item/extensions/count/count_request_builder.py index 5f29a331c99..d5a6b528d9e 100644 --- a/msgraph_beta/generated/organization/item/extensions/count/count_request_builder.py +++ b/msgraph_beta/generated/organization/item/extensions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/organization/item/get_member_groups/get_member_groups_post_response.py b/msgraph_beta/generated/organization/item/get_member_groups/get_member_groups_post_response.py index bd4dad887b8..5ac4a9b07d5 100644 --- a/msgraph_beta/generated/organization/item/get_member_groups/get_member_groups_post_response.py +++ b/msgraph_beta/generated/organization/item/get_member_groups/get_member_groups_post_response.py @@ -49,6 +49,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_primitive_values("value", self.value) diff --git a/msgraph_beta/generated/organization/item/get_member_objects/get_member_objects_post_response.py b/msgraph_beta/generated/organization/item/get_member_objects/get_member_objects_post_response.py index fe38b269075..e63599e52a4 100644 --- a/msgraph_beta/generated/organization/item/get_member_objects/get_member_objects_post_response.py +++ b/msgraph_beta/generated/organization/item/get_member_objects/get_member_objects_post_response.py @@ -49,6 +49,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_primitive_values("value", self.value) diff --git a/msgraph_beta/generated/payload_response/count/count_request_builder.py b/msgraph_beta/generated/payload_response/count/count_request_builder.py index cb146eea9fb..2033efb8699 100644 --- a/msgraph_beta/generated/payload_response/count/count_request_builder.py +++ b/msgraph_beta/generated/payload_response/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/permission_grants/delta/delta_get_response.py b/msgraph_beta/generated/permission_grants/delta/delta_get_response.py index 26603c17b35..d58d0fb6cad 100644 --- a/msgraph_beta/generated/permission_grants/delta/delta_get_response.py +++ b/msgraph_beta/generated/permission_grants/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ...models.base_delta_function_response import BaseDeltaFunctionResponse + from ...models.directory_object import DirectoryObject + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/permission_grants/delta/delta_request_builder.py b/msgraph_beta/generated/permission_grants/delta/delta_request_builder.py index 1ba83f0284e..f5a2e3ea948 100644 --- a/msgraph_beta/generated/permission_grants/delta/delta_request_builder.py +++ b/msgraph_beta/generated/permission_grants/delta/delta_request_builder.py @@ -31,7 +31,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def get(self,request_configuration: Optional[RequestConfiguration[DeltaRequestBuilderGetQueryParameters]] = None) -> Optional[DeltaGetResponse]: """ - Get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information about the delta function, see Use delta query to track changes in Microsoft Graph data for details. + Get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeltaGetResponse] Find more info here: https://learn.microsoft.com/graph/api/directoryobject-delta?view=graph-rest-beta @@ -52,7 +52,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DeltaReq def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[DeltaRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information about the delta function, see Use delta query to track changes in Microsoft Graph data for details. + Get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -74,7 +74,7 @@ def with_url(self,raw_url: str) -> DeltaRequestBuilder: @dataclass class DeltaRequestBuilderGetQueryParameters(): """ - Get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information about the delta function, see Use delta query to track changes in Microsoft Graph data for details. + Get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/permission_grants/get_by_ids/get_by_ids_post_response.py b/msgraph_beta/generated/permission_grants/get_by_ids/get_by_ids_post_response.py index a3099558efc..488f70f9c5d 100644 --- a/msgraph_beta/generated/permission_grants/get_by_ids/get_by_ids_post_response.py +++ b/msgraph_beta/generated/permission_grants/get_by_ids/get_by_ids_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ...models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ...models.directory_object import DirectoryObject + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/permission_grants/item/check_member_groups/check_member_groups_post_response.py b/msgraph_beta/generated/permission_grants/item/check_member_groups/check_member_groups_post_response.py index cdf041e2573..b2ce0f888c9 100644 --- a/msgraph_beta/generated/permission_grants/item/check_member_groups/check_member_groups_post_response.py +++ b/msgraph_beta/generated/permission_grants/item/check_member_groups/check_member_groups_post_response.py @@ -49,6 +49,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_primitive_values("value", self.value) diff --git a/msgraph_beta/generated/permission_grants/item/check_member_objects/check_member_objects_post_response.py b/msgraph_beta/generated/permission_grants/item/check_member_objects/check_member_objects_post_response.py index 2dc94a92d04..e2a652a7c28 100644 --- a/msgraph_beta/generated/permission_grants/item/check_member_objects/check_member_objects_post_response.py +++ b/msgraph_beta/generated/permission_grants/item/check_member_objects/check_member_objects_post_response.py @@ -49,6 +49,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_primitive_values("value", self.value) diff --git a/msgraph_beta/generated/permission_grants/item/get_member_groups/get_member_groups_post_response.py b/msgraph_beta/generated/permission_grants/item/get_member_groups/get_member_groups_post_response.py index bd4dad887b8..5ac4a9b07d5 100644 --- a/msgraph_beta/generated/permission_grants/item/get_member_groups/get_member_groups_post_response.py +++ b/msgraph_beta/generated/permission_grants/item/get_member_groups/get_member_groups_post_response.py @@ -49,6 +49,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_primitive_values("value", self.value) diff --git a/msgraph_beta/generated/permission_grants/item/get_member_objects/get_member_objects_post_response.py b/msgraph_beta/generated/permission_grants/item/get_member_objects/get_member_objects_post_response.py index fe38b269075..e63599e52a4 100644 --- a/msgraph_beta/generated/permission_grants/item/get_member_objects/get_member_objects_post_response.py +++ b/msgraph_beta/generated/permission_grants/item/get_member_objects/get_member_objects_post_response.py @@ -49,6 +49,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_primitive_values("value", self.value) diff --git a/msgraph_beta/generated/places/count/count_request_builder.py b/msgraph_beta/generated/places/count/count_request_builder.py index 525e9ca31ba..6c8657f1184 100644 --- a/msgraph_beta/generated/places/count/count_request_builder.py +++ b/msgraph_beta/generated/places/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/places/graph_room/count/count_request_builder.py b/msgraph_beta/generated/places/graph_room/count/count_request_builder.py index a00034106cc..4416f44ca31 100644 --- a/msgraph_beta/generated/places/graph_room/count/count_request_builder.py +++ b/msgraph_beta/generated/places/graph_room/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/places/graph_room_list/count/count_request_builder.py b/msgraph_beta/generated/places/graph_room_list/count/count_request_builder.py index d06ed2cd42f..fea32446008 100644 --- a/msgraph_beta/generated/places/graph_room_list/count/count_request_builder.py +++ b/msgraph_beta/generated/places/graph_room_list/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/places/item/graph_room_list/rooms/count/count_request_builder.py b/msgraph_beta/generated/places/item/graph_room_list/rooms/count/count_request_builder.py index 39d3d891338..b7ffb488444 100644 --- a/msgraph_beta/generated/places/item/graph_room_list/rooms/count/count_request_builder.py +++ b/msgraph_beta/generated/places/item/graph_room_list/rooms/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/places/item/graph_room_list/workspaces/count/count_request_builder.py b/msgraph_beta/generated/places/item/graph_room_list/workspaces/count/count_request_builder.py index b63c988827c..9f113a3756f 100644 --- a/msgraph_beta/generated/places/item/graph_room_list/workspaces/count/count_request_builder.py +++ b/msgraph_beta/generated/places/item/graph_room_list/workspaces/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/planner/buckets/count/count_request_builder.py b/msgraph_beta/generated/planner/buckets/count/count_request_builder.py index c15096cfcde..a2ddcfcd766 100644 --- a/msgraph_beta/generated/planner/buckets/count/count_request_builder.py +++ b/msgraph_beta/generated/planner/buckets/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/planner/buckets/delta/delta_get_response.py b/msgraph_beta/generated/planner/buckets/delta/delta_get_response.py index f1e229e54b5..1491f9abd38 100644 --- a/msgraph_beta/generated/planner/buckets/delta/delta_get_response.py +++ b/msgraph_beta/generated/planner/buckets/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_delta_function_response import BaseDeltaFunctionResponse + from ....models.planner_bucket import PlannerBucket + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/planner/buckets/item/tasks/count/count_request_builder.py b/msgraph_beta/generated/planner/buckets/item/tasks/count/count_request_builder.py index 8936e5243b6..1f614362772 100644 --- a/msgraph_beta/generated/planner/buckets/item/tasks/count/count_request_builder.py +++ b/msgraph_beta/generated/planner/buckets/item/tasks/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/planner/buckets/item/tasks/delta/delta_get_response.py b/msgraph_beta/generated/planner/buckets/item/tasks/delta/delta_get_response.py index 9579ace425c..4ff3e812bf7 100644 --- a/msgraph_beta/generated/planner/buckets/item/tasks/delta/delta_get_response.py +++ b/msgraph_beta/generated/planner/buckets/item/tasks/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ......models.base_delta_function_response import BaseDeltaFunctionResponse + from ......models.planner_task import PlannerTask + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/planner/plans/count/count_request_builder.py b/msgraph_beta/generated/planner/plans/count/count_request_builder.py index 8cce4764dbb..6cd4541538c 100644 --- a/msgraph_beta/generated/planner/plans/count/count_request_builder.py +++ b/msgraph_beta/generated/planner/plans/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/planner/plans/delta/delta_get_response.py b/msgraph_beta/generated/planner/plans/delta/delta_get_response.py index a8f79029bf1..5f2066d74fa 100644 --- a/msgraph_beta/generated/planner/plans/delta/delta_get_response.py +++ b/msgraph_beta/generated/planner/plans/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_delta_function_response import BaseDeltaFunctionResponse + from ....models.planner_plan import PlannerPlan + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/planner/plans/item/buckets/count/count_request_builder.py b/msgraph_beta/generated/planner/plans/item/buckets/count/count_request_builder.py index 79fbf8405d2..c744cc6a5a7 100644 --- a/msgraph_beta/generated/planner/plans/item/buckets/count/count_request_builder.py +++ b/msgraph_beta/generated/planner/plans/item/buckets/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/planner/plans/item/buckets/delta/delta_get_response.py b/msgraph_beta/generated/planner/plans/item/buckets/delta/delta_get_response.py index 35b5e9a7ac9..78c08390462 100644 --- a/msgraph_beta/generated/planner/plans/item/buckets/delta/delta_get_response.py +++ b/msgraph_beta/generated/planner/plans/item/buckets/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ......models.base_delta_function_response import BaseDeltaFunctionResponse + from ......models.planner_bucket import PlannerBucket + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/planner/plans/item/buckets/item/tasks/count/count_request_builder.py b/msgraph_beta/generated/planner/plans/item/buckets/item/tasks/count/count_request_builder.py index 70c1d9d6fee..0d404f0c4f8 100644 --- a/msgraph_beta/generated/planner/plans/item/buckets/item/tasks/count/count_request_builder.py +++ b/msgraph_beta/generated/planner/plans/item/buckets/item/tasks/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/planner/plans/item/buckets/item/tasks/delta/delta_get_response.py b/msgraph_beta/generated/planner/plans/item/buckets/item/tasks/delta/delta_get_response.py index a53fa451ea8..9d2942d6955 100644 --- a/msgraph_beta/generated/planner/plans/item/buckets/item/tasks/delta/delta_get_response.py +++ b/msgraph_beta/generated/planner/plans/item/buckets/item/tasks/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ........models.base_delta_function_response import BaseDeltaFunctionResponse + from ........models.planner_task import PlannerTask + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/planner/plans/item/move_to_container/move_to_container_post_request_body.py b/msgraph_beta/generated/planner/plans/item/move_to_container/move_to_container_post_request_body.py index c36e29158ca..5b6b2ef10a9 100644 --- a/msgraph_beta/generated/planner/plans/item/move_to_container/move_to_container_post_request_body.py +++ b/msgraph_beta/generated/planner/plans/item/move_to_container/move_to_container_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.planner_plan_container import PlannerPlanContainer + writer.write_object_value("container", self.container) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/planner/plans/item/tasks/count/count_request_builder.py b/msgraph_beta/generated/planner/plans/item/tasks/count/count_request_builder.py index 03440359a81..d8c15f50bc1 100644 --- a/msgraph_beta/generated/planner/plans/item/tasks/count/count_request_builder.py +++ b/msgraph_beta/generated/planner/plans/item/tasks/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/planner/plans/item/tasks/delta/delta_get_response.py b/msgraph_beta/generated/planner/plans/item/tasks/delta/delta_get_response.py index 9579ace425c..4ff3e812bf7 100644 --- a/msgraph_beta/generated/planner/plans/item/tasks/delta/delta_get_response.py +++ b/msgraph_beta/generated/planner/plans/item/tasks/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ......models.base_delta_function_response import BaseDeltaFunctionResponse + from ......models.planner_task import PlannerTask + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/planner/rosters/count/count_request_builder.py b/msgraph_beta/generated/planner/rosters/count/count_request_builder.py index 864adffeec2..537ade727f7 100644 --- a/msgraph_beta/generated/planner/rosters/count/count_request_builder.py +++ b/msgraph_beta/generated/planner/rosters/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/planner/rosters/item/assign_sensitivity_label/assign_sensitivity_label_post_request_body.py b/msgraph_beta/generated/planner/rosters/item/assign_sensitivity_label/assign_sensitivity_label_post_request_body.py index 539cdd8e9b0..7a8bef04602 100644 --- a/msgraph_beta/generated/planner/rosters/item/assign_sensitivity_label/assign_sensitivity_label_post_request_body.py +++ b/msgraph_beta/generated/planner/rosters/item/assign_sensitivity_label/assign_sensitivity_label_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.sensitivity_label_assignment_method import SensitivityLabelAssignmentMethod + writer.write_enum_value("assignmentMethod", self.assignment_method) writer.write_str_value("sensitivityLabelId", self.sensitivity_label_id) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/planner/rosters/item/members/count/count_request_builder.py b/msgraph_beta/generated/planner/rosters/item/members/count/count_request_builder.py index 818e3a7de87..464d5dcd628 100644 --- a/msgraph_beta/generated/planner/rosters/item/members/count/count_request_builder.py +++ b/msgraph_beta/generated/planner/rosters/item/members/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/planner/rosters/item/plans/count/count_request_builder.py b/msgraph_beta/generated/planner/rosters/item/plans/count/count_request_builder.py index 725448ba9a3..ddf04ef205a 100644 --- a/msgraph_beta/generated/planner/rosters/item/plans/count/count_request_builder.py +++ b/msgraph_beta/generated/planner/rosters/item/plans/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/planner/tasks/count/count_request_builder.py b/msgraph_beta/generated/planner/tasks/count/count_request_builder.py index dda662bd9a2..5f9c92d74d3 100644 --- a/msgraph_beta/generated/planner/tasks/count/count_request_builder.py +++ b/msgraph_beta/generated/planner/tasks/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/planner/tasks/delta/delta_get_response.py b/msgraph_beta/generated/planner/tasks/delta/delta_get_response.py index 0670d1d32e0..0efcbc6e200 100644 --- a/msgraph_beta/generated/planner/tasks/delta/delta_get_response.py +++ b/msgraph_beta/generated/planner/tasks/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_delta_function_response import BaseDeltaFunctionResponse + from ....models.planner_task import PlannerTask + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/policies/activity_based_timeout_policies/count/count_request_builder.py b/msgraph_beta/generated/policies/activity_based_timeout_policies/count/count_request_builder.py index 7312e4718d3..1a984c7d42c 100644 --- a/msgraph_beta/generated/policies/activity_based_timeout_policies/count/count_request_builder.py +++ b/msgraph_beta/generated/policies/activity_based_timeout_policies/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/policies/activity_based_timeout_policies/item/applies_to/count/count_request_builder.py b/msgraph_beta/generated/policies/activity_based_timeout_policies/item/applies_to/count/count_request_builder.py index ab702ad8b40..acdd7f9091d 100644 --- a/msgraph_beta/generated/policies/activity_based_timeout_policies/item/applies_to/count/count_request_builder.py +++ b/msgraph_beta/generated/policies/activity_based_timeout_policies/item/applies_to/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/policies/app_management_policies/count/count_request_builder.py b/msgraph_beta/generated/policies/app_management_policies/count/count_request_builder.py index fe1d12a9297..c0c629e319e 100644 --- a/msgraph_beta/generated/policies/app_management_policies/count/count_request_builder.py +++ b/msgraph_beta/generated/policies/app_management_policies/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/policies/app_management_policies/item/applies_to/count/count_request_builder.py b/msgraph_beta/generated/policies/app_management_policies/item/applies_to/count/count_request_builder.py index 1e521c33c98..640757b9262 100644 --- a/msgraph_beta/generated/policies/app_management_policies/item/applies_to/count/count_request_builder.py +++ b/msgraph_beta/generated/policies/app_management_policies/item/applies_to/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/policies/authentication_methods_policy/authentication_method_configurations/count/count_request_builder.py b/msgraph_beta/generated/policies/authentication_methods_policy/authentication_method_configurations/count/count_request_builder.py index 2a364f114ac..b6ba7030eb4 100644 --- a/msgraph_beta/generated/policies/authentication_methods_policy/authentication_method_configurations/count/count_request_builder.py +++ b/msgraph_beta/generated/policies/authentication_methods_policy/authentication_method_configurations/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/policies/authentication_strength_policies/count/count_request_builder.py b/msgraph_beta/generated/policies/authentication_strength_policies/count/count_request_builder.py index 1e6f611da34..884886b0da4 100644 --- a/msgraph_beta/generated/policies/authentication_strength_policies/count/count_request_builder.py +++ b/msgraph_beta/generated/policies/authentication_strength_policies/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/policies/authentication_strength_policies/find_by_method_mode_with_authentication_method_modes/find_by_method_mode_with_authentication_method_modes_get_response.py b/msgraph_beta/generated/policies/authentication_strength_policies/find_by_method_mode_with_authentication_method_modes/find_by_method_mode_with_authentication_method_modes_get_response.py index 91d5ca9e18b..084b7da4902 100644 --- a/msgraph_beta/generated/policies/authentication_strength_policies/find_by_method_mode_with_authentication_method_modes/find_by_method_mode_with_authentication_method_modes_get_response.py +++ b/msgraph_beta/generated/policies/authentication_strength_policies/find_by_method_mode_with_authentication_method_modes/find_by_method_mode_with_authentication_method_modes_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.authentication_strength_policy import AuthenticationStrengthPolicy + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/policies/authentication_strength_policies/item/combination_configurations/count/count_request_builder.py b/msgraph_beta/generated/policies/authentication_strength_policies/item/combination_configurations/count/count_request_builder.py index 7fd943ad59d..ff60d953e94 100644 --- a/msgraph_beta/generated/policies/authentication_strength_policies/item/combination_configurations/count/count_request_builder.py +++ b/msgraph_beta/generated/policies/authentication_strength_policies/item/combination_configurations/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/policies/authentication_strength_policies/item/update_allowed_combinations/update_allowed_combinations_post_request_body.py b/msgraph_beta/generated/policies/authentication_strength_policies/item/update_allowed_combinations/update_allowed_combinations_post_request_body.py index a6153eec46d..8511c709bfc 100644 --- a/msgraph_beta/generated/policies/authentication_strength_policies/item/update_allowed_combinations/update_allowed_combinations_post_request_body.py +++ b/msgraph_beta/generated/policies/authentication_strength_policies/item/update_allowed_combinations/update_allowed_combinations_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.authentication_method_modes import AuthenticationMethodModes + writer.write_collection_of_enum_values("allowedCombinations", self.allowed_combinations) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/policies/authorization_policy/count/count_request_builder.py b/msgraph_beta/generated/policies/authorization_policy/count/count_request_builder.py index 5a9b1a4b24d..54a931cba82 100644 --- a/msgraph_beta/generated/policies/authorization_policy/count/count_request_builder.py +++ b/msgraph_beta/generated/policies/authorization_policy/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/policies/authorization_policy/item/default_user_role_overrides/count/count_request_builder.py b/msgraph_beta/generated/policies/authorization_policy/item/default_user_role_overrides/count/count_request_builder.py index 00efe369434..0edfe088032 100644 --- a/msgraph_beta/generated/policies/authorization_policy/item/default_user_role_overrides/count/count_request_builder.py +++ b/msgraph_beta/generated/policies/authorization_policy/item/default_user_role_overrides/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/policies/claims_mapping_policies/count/count_request_builder.py b/msgraph_beta/generated/policies/claims_mapping_policies/count/count_request_builder.py index 2b9fc58561c..d5c9ac33f3e 100644 --- a/msgraph_beta/generated/policies/claims_mapping_policies/count/count_request_builder.py +++ b/msgraph_beta/generated/policies/claims_mapping_policies/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/policies/claims_mapping_policies/item/applies_to/count/count_request_builder.py b/msgraph_beta/generated/policies/claims_mapping_policies/item/applies_to/count/count_request_builder.py index de99eb10188..754492c3baf 100644 --- a/msgraph_beta/generated/policies/claims_mapping_policies/item/applies_to/count/count_request_builder.py +++ b/msgraph_beta/generated/policies/claims_mapping_policies/item/applies_to/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/policies/conditional_access_policies/count/count_request_builder.py b/msgraph_beta/generated/policies/conditional_access_policies/count/count_request_builder.py index 7c9b0cbd838..3504bd93391 100644 --- a/msgraph_beta/generated/policies/conditional_access_policies/count/count_request_builder.py +++ b/msgraph_beta/generated/policies/conditional_access_policies/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/policies/cross_tenant_access_policy/partners/count/count_request_builder.py b/msgraph_beta/generated/policies/cross_tenant_access_policy/partners/count/count_request_builder.py index aa4ed508233..14023885bdc 100644 --- a/msgraph_beta/generated/policies/cross_tenant_access_policy/partners/count/count_request_builder.py +++ b/msgraph_beta/generated/policies/cross_tenant_access_policy/partners/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/policies/feature_rollout_policies/count/count_request_builder.py b/msgraph_beta/generated/policies/feature_rollout_policies/count/count_request_builder.py index b7ce8c9d94e..05fb89b70e3 100644 --- a/msgraph_beta/generated/policies/feature_rollout_policies/count/count_request_builder.py +++ b/msgraph_beta/generated/policies/feature_rollout_policies/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/policies/feature_rollout_policies/item/applies_to/count/count_request_builder.py b/msgraph_beta/generated/policies/feature_rollout_policies/item/applies_to/count/count_request_builder.py index d496e34e300..e26e67b1da4 100644 --- a/msgraph_beta/generated/policies/feature_rollout_policies/item/applies_to/count/count_request_builder.py +++ b/msgraph_beta/generated/policies/feature_rollout_policies/item/applies_to/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/policies/home_realm_discovery_policies/count/count_request_builder.py b/msgraph_beta/generated/policies/home_realm_discovery_policies/count/count_request_builder.py index 49dcb3a1988..33c121ff24b 100644 --- a/msgraph_beta/generated/policies/home_realm_discovery_policies/count/count_request_builder.py +++ b/msgraph_beta/generated/policies/home_realm_discovery_policies/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/policies/home_realm_discovery_policies/item/applies_to/count/count_request_builder.py b/msgraph_beta/generated/policies/home_realm_discovery_policies/item/applies_to/count/count_request_builder.py index 0972e0e1e87..e27e18e97d1 100644 --- a/msgraph_beta/generated/policies/home_realm_discovery_policies/item/applies_to/count/count_request_builder.py +++ b/msgraph_beta/generated/policies/home_realm_discovery_policies/item/applies_to/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/policies/mobile_app_management_policies/count/count_request_builder.py b/msgraph_beta/generated/policies/mobile_app_management_policies/count/count_request_builder.py index 9d7933a4f87..6a38ccb780a 100644 --- a/msgraph_beta/generated/policies/mobile_app_management_policies/count/count_request_builder.py +++ b/msgraph_beta/generated/policies/mobile_app_management_policies/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/policies/mobile_app_management_policies/item/included_groups/count/count_request_builder.py b/msgraph_beta/generated/policies/mobile_app_management_policies/item/included_groups/count/count_request_builder.py index a1f27cd8d97..e020b418bc3 100644 --- a/msgraph_beta/generated/policies/mobile_app_management_policies/item/included_groups/count/count_request_builder.py +++ b/msgraph_beta/generated/policies/mobile_app_management_policies/item/included_groups/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/policies/mobile_app_management_policies/item/included_groups/item/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/policies/mobile_app_management_policies/item/included_groups/item/service_provisioning_errors/count/count_request_builder.py index 6761ff84fcb..d5a7d7297ec 100644 --- a/msgraph_beta/generated/policies/mobile_app_management_policies/item/included_groups/item/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/policies/mobile_app_management_policies/item/included_groups/item/service_provisioning_errors/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/policies/mobile_device_management_policies/count/count_request_builder.py b/msgraph_beta/generated/policies/mobile_device_management_policies/count/count_request_builder.py index a68a77beda4..85ffb88a8df 100644 --- a/msgraph_beta/generated/policies/mobile_device_management_policies/count/count_request_builder.py +++ b/msgraph_beta/generated/policies/mobile_device_management_policies/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/policies/mobile_device_management_policies/item/included_groups/count/count_request_builder.py b/msgraph_beta/generated/policies/mobile_device_management_policies/item/included_groups/count/count_request_builder.py index f599d4a2471..7ebe9b70066 100644 --- a/msgraph_beta/generated/policies/mobile_device_management_policies/item/included_groups/count/count_request_builder.py +++ b/msgraph_beta/generated/policies/mobile_device_management_policies/item/included_groups/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/policies/mobile_device_management_policies/item/included_groups/item/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/policies/mobile_device_management_policies/item/included_groups/item/service_provisioning_errors/count/count_request_builder.py index 9ae0a1c28c3..9069a2a6d10 100644 --- a/msgraph_beta/generated/policies/mobile_device_management_policies/item/included_groups/item/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/policies/mobile_device_management_policies/item/included_groups/item/service_provisioning_errors/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/policies/permission_grant_policies/count/count_request_builder.py b/msgraph_beta/generated/policies/permission_grant_policies/count/count_request_builder.py index a6229344aff..f7462194334 100644 --- a/msgraph_beta/generated/policies/permission_grant_policies/count/count_request_builder.py +++ b/msgraph_beta/generated/policies/permission_grant_policies/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/policies/permission_grant_policies/item/excludes/count/count_request_builder.py b/msgraph_beta/generated/policies/permission_grant_policies/item/excludes/count/count_request_builder.py index ed91949db34..dda3f700b11 100644 --- a/msgraph_beta/generated/policies/permission_grant_policies/item/excludes/count/count_request_builder.py +++ b/msgraph_beta/generated/policies/permission_grant_policies/item/excludes/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/policies/permission_grant_policies/item/includes/count/count_request_builder.py b/msgraph_beta/generated/policies/permission_grant_policies/item/includes/count/count_request_builder.py index b940ab8bc7d..7aaeb3504e7 100644 --- a/msgraph_beta/generated/policies/permission_grant_policies/item/includes/count/count_request_builder.py +++ b/msgraph_beta/generated/policies/permission_grant_policies/item/includes/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/policies/permission_grant_pre_approval_policies/count/count_request_builder.py b/msgraph_beta/generated/policies/permission_grant_pre_approval_policies/count/count_request_builder.py index 199dd9a2f6d..e32abb6143d 100644 --- a/msgraph_beta/generated/policies/permission_grant_pre_approval_policies/count/count_request_builder.py +++ b/msgraph_beta/generated/policies/permission_grant_pre_approval_policies/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/policies/role_management_policies/count/count_request_builder.py b/msgraph_beta/generated/policies/role_management_policies/count/count_request_builder.py index ab150e840a0..2f335708e78 100644 --- a/msgraph_beta/generated/policies/role_management_policies/count/count_request_builder.py +++ b/msgraph_beta/generated/policies/role_management_policies/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/policies/role_management_policies/item/effective_rules/count/count_request_builder.py b/msgraph_beta/generated/policies/role_management_policies/item/effective_rules/count/count_request_builder.py index 37a2947cbf0..8e69c7705ab 100644 --- a/msgraph_beta/generated/policies/role_management_policies/item/effective_rules/count/count_request_builder.py +++ b/msgraph_beta/generated/policies/role_management_policies/item/effective_rules/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/policies/role_management_policies/item/rules/count/count_request_builder.py b/msgraph_beta/generated/policies/role_management_policies/item/rules/count/count_request_builder.py index 32aec7e7a3c..8f0c439a502 100644 --- a/msgraph_beta/generated/policies/role_management_policies/item/rules/count/count_request_builder.py +++ b/msgraph_beta/generated/policies/role_management_policies/item/rules/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/policies/role_management_policy_assignments/count/count_request_builder.py b/msgraph_beta/generated/policies/role_management_policy_assignments/count/count_request_builder.py index ba0f085745b..1689c80040b 100644 --- a/msgraph_beta/generated/policies/role_management_policy_assignments/count/count_request_builder.py +++ b/msgraph_beta/generated/policies/role_management_policy_assignments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/policies/service_principal_creation_policies/count/count_request_builder.py b/msgraph_beta/generated/policies/service_principal_creation_policies/count/count_request_builder.py index c32548cbb89..5d02b4ca766 100644 --- a/msgraph_beta/generated/policies/service_principal_creation_policies/count/count_request_builder.py +++ b/msgraph_beta/generated/policies/service_principal_creation_policies/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/policies/service_principal_creation_policies/item/excludes/count/count_request_builder.py b/msgraph_beta/generated/policies/service_principal_creation_policies/item/excludes/count/count_request_builder.py index 13f17b9ce48..ec795620631 100644 --- a/msgraph_beta/generated/policies/service_principal_creation_policies/item/excludes/count/count_request_builder.py +++ b/msgraph_beta/generated/policies/service_principal_creation_policies/item/excludes/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/policies/service_principal_creation_policies/item/includes/count/count_request_builder.py b/msgraph_beta/generated/policies/service_principal_creation_policies/item/includes/count/count_request_builder.py index 655dd9b3aa1..296177212e5 100644 --- a/msgraph_beta/generated/policies/service_principal_creation_policies/item/includes/count/count_request_builder.py +++ b/msgraph_beta/generated/policies/service_principal_creation_policies/item/includes/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/policies/token_issuance_policies/count/count_request_builder.py b/msgraph_beta/generated/policies/token_issuance_policies/count/count_request_builder.py index 515f9152d01..935ba7dff1b 100644 --- a/msgraph_beta/generated/policies/token_issuance_policies/count/count_request_builder.py +++ b/msgraph_beta/generated/policies/token_issuance_policies/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/policies/token_issuance_policies/item/applies_to/count/count_request_builder.py b/msgraph_beta/generated/policies/token_issuance_policies/item/applies_to/count/count_request_builder.py index fcfabe275ee..b7376255d9d 100644 --- a/msgraph_beta/generated/policies/token_issuance_policies/item/applies_to/count/count_request_builder.py +++ b/msgraph_beta/generated/policies/token_issuance_policies/item/applies_to/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/policies/token_lifetime_policies/count/count_request_builder.py b/msgraph_beta/generated/policies/token_lifetime_policies/count/count_request_builder.py index 3317253165c..fac2cc4ba88 100644 --- a/msgraph_beta/generated/policies/token_lifetime_policies/count/count_request_builder.py +++ b/msgraph_beta/generated/policies/token_lifetime_policies/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/policies/token_lifetime_policies/item/applies_to/count/count_request_builder.py b/msgraph_beta/generated/policies/token_lifetime_policies/item/applies_to/count/count_request_builder.py index 3b36b5a0809..76f1bc2531d 100644 --- a/msgraph_beta/generated/policies/token_lifetime_policies/item/applies_to/count/count_request_builder.py +++ b/msgraph_beta/generated/policies/token_lifetime_policies/item/applies_to/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/print/connectors/count/count_request_builder.py b/msgraph_beta/generated/print/connectors/count/count_request_builder.py index c5dd6d0e229..cf92cd94136 100644 --- a/msgraph_beta/generated/print/connectors/count/count_request_builder.py +++ b/msgraph_beta/generated/print/connectors/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/print/operations/count/count_request_builder.py b/msgraph_beta/generated/print/operations/count/count_request_builder.py index 23434608c62..3515b6698e3 100644 --- a/msgraph_beta/generated/print/operations/count/count_request_builder.py +++ b/msgraph_beta/generated/print/operations/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/print/printer_shares/count/count_request_builder.py b/msgraph_beta/generated/print/printer_shares/count/count_request_builder.py index 1fea02306d0..a28442e72f1 100644 --- a/msgraph_beta/generated/print/printer_shares/count/count_request_builder.py +++ b/msgraph_beta/generated/print/printer_shares/count/count_request_builder.py @@ -45,7 +45,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/print/printer_shares/item/allowed_groups/count/count_request_builder.py b/msgraph_beta/generated/print/printer_shares/item/allowed_groups/count/count_request_builder.py index 52a287dcde4..96aa632988c 100644 --- a/msgraph_beta/generated/print/printer_shares/item/allowed_groups/count/count_request_builder.py +++ b/msgraph_beta/generated/print/printer_shares/item/allowed_groups/count/count_request_builder.py @@ -45,7 +45,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/print/printer_shares/item/allowed_groups/item/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/print/printer_shares/item/allowed_groups/item/service_provisioning_errors/count/count_request_builder.py index d3167d930c8..0ab4f43afb5 100644 --- a/msgraph_beta/generated/print/printer_shares/item/allowed_groups/item/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/print/printer_shares/item/allowed_groups/item/service_provisioning_errors/count/count_request_builder.py @@ -45,7 +45,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/print/printer_shares/item/allowed_users/count/count_request_builder.py b/msgraph_beta/generated/print/printer_shares/item/allowed_users/count/count_request_builder.py index 1a8c012c51c..1a76078578c 100644 --- a/msgraph_beta/generated/print/printer_shares/item/allowed_users/count/count_request_builder.py +++ b/msgraph_beta/generated/print/printer_shares/item/allowed_users/count/count_request_builder.py @@ -45,7 +45,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/print/printer_shares/item/allowed_users/item/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/print/printer_shares/item/allowed_users/item/service_provisioning_errors/count/count_request_builder.py index a832bb12057..3401ee75eb9 100644 --- a/msgraph_beta/generated/print/printer_shares/item/allowed_users/item/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/print/printer_shares/item/allowed_users/item/service_provisioning_errors/count/count_request_builder.py @@ -45,7 +45,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/print/printer_shares/item/jobs/count/count_request_builder.py b/msgraph_beta/generated/print/printer_shares/item/jobs/count/count_request_builder.py index c45289668db..a2fa6358acd 100644 --- a/msgraph_beta/generated/print/printer_shares/item/jobs/count/count_request_builder.py +++ b/msgraph_beta/generated/print/printer_shares/item/jobs/count/count_request_builder.py @@ -45,7 +45,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/print/printer_shares/item/jobs/item/documents/count/count_request_builder.py b/msgraph_beta/generated/print/printer_shares/item/jobs/item/documents/count/count_request_builder.py index 486ded023d2..84301f593fc 100644 --- a/msgraph_beta/generated/print/printer_shares/item/jobs/item/documents/count/count_request_builder.py +++ b/msgraph_beta/generated/print/printer_shares/item/jobs/item/documents/count/count_request_builder.py @@ -45,7 +45,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/print/printer_shares/item/jobs/item/documents/item/create_upload_session/create_upload_session_post_request_body.py b/msgraph_beta/generated/print/printer_shares/item/jobs/item/documents/item/create_upload_session/create_upload_session_post_request_body.py index 8269d331f45..24a3135dbd3 100644 --- a/msgraph_beta/generated/print/printer_shares/item/jobs/item/documents/item/create_upload_session/create_upload_session_post_request_body.py +++ b/msgraph_beta/generated/print/printer_shares/item/jobs/item/documents/item/create_upload_session/create_upload_session_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .........models.print_document_upload_properties import PrintDocumentUploadProperties + writer.write_object_value("properties", self.properties) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/print/printer_shares/item/jobs/item/redirect/redirect_post_request_body.py b/msgraph_beta/generated/print/printer_shares/item/jobs/item/redirect/redirect_post_request_body.py index ded8edbb1ce..cdfd92ff7f6 100644 --- a/msgraph_beta/generated/print/printer_shares/item/jobs/item/redirect/redirect_post_request_body.py +++ b/msgraph_beta/generated/print/printer_shares/item/jobs/item/redirect/redirect_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .......models.print_job_configuration import PrintJobConfiguration + writer.write_object_value("configuration", self.configuration) writer.write_str_value("destinationPrinterId", self.destination_printer_id) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/print/printer_shares/item/jobs/item/tasks/count/count_request_builder.py b/msgraph_beta/generated/print/printer_shares/item/jobs/item/tasks/count/count_request_builder.py index 3eb0bf48282..38fa887727b 100644 --- a/msgraph_beta/generated/print/printer_shares/item/jobs/item/tasks/count/count_request_builder.py +++ b/msgraph_beta/generated/print/printer_shares/item/jobs/item/tasks/count/count_request_builder.py @@ -45,7 +45,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/print/printers/count/count_request_builder.py b/msgraph_beta/generated/print/printers/count/count_request_builder.py index 1c06d797704..7415ea7b523 100644 --- a/msgraph_beta/generated/print/printers/count/count_request_builder.py +++ b/msgraph_beta/generated/print/printers/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/print/printers/create/create_post_request_body.py b/msgraph_beta/generated/print/printers/create/create_post_request_body.py index 4a0a7632139..d01d726daf8 100644 --- a/msgraph_beta/generated/print/printers/create/create_post_request_body.py +++ b/msgraph_beta/generated/print/printers/create/create_post_request_body.py @@ -68,6 +68,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ....models.print_certificate_signing_request import PrintCertificateSigningRequest + writer.write_object_value("certificateSigningRequest", self.certificate_signing_request) writer.write_str_value("connectorId", self.connector_id) writer.write_str_value("displayName", self.display_name) diff --git a/msgraph_beta/generated/print/printers/item/connectors/count/count_request_builder.py b/msgraph_beta/generated/print/printers/item/connectors/count/count_request_builder.py index 323157ad285..ef20aafeadb 100644 --- a/msgraph_beta/generated/print/printers/item/connectors/count/count_request_builder.py +++ b/msgraph_beta/generated/print/printers/item/connectors/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/print/printers/item/jobs/count/count_request_builder.py b/msgraph_beta/generated/print/printers/item/jobs/count/count_request_builder.py index 02e58318c3b..ff517cbaecc 100644 --- a/msgraph_beta/generated/print/printers/item/jobs/count/count_request_builder.py +++ b/msgraph_beta/generated/print/printers/item/jobs/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/print/printers/item/jobs/item/documents/count/count_request_builder.py b/msgraph_beta/generated/print/printers/item/jobs/item/documents/count/count_request_builder.py index 4b9a421ace3..c3ba8470b3a 100644 --- a/msgraph_beta/generated/print/printers/item/jobs/item/documents/count/count_request_builder.py +++ b/msgraph_beta/generated/print/printers/item/jobs/item/documents/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/print/printers/item/jobs/item/documents/item/create_upload_session/create_upload_session_post_request_body.py b/msgraph_beta/generated/print/printers/item/jobs/item/documents/item/create_upload_session/create_upload_session_post_request_body.py index 8269d331f45..24a3135dbd3 100644 --- a/msgraph_beta/generated/print/printers/item/jobs/item/documents/item/create_upload_session/create_upload_session_post_request_body.py +++ b/msgraph_beta/generated/print/printers/item/jobs/item/documents/item/create_upload_session/create_upload_session_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .........models.print_document_upload_properties import PrintDocumentUploadProperties + writer.write_object_value("properties", self.properties) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/print/printers/item/jobs/item/redirect/redirect_post_request_body.py b/msgraph_beta/generated/print/printers/item/jobs/item/redirect/redirect_post_request_body.py index ded8edbb1ce..cdfd92ff7f6 100644 --- a/msgraph_beta/generated/print/printers/item/jobs/item/redirect/redirect_post_request_body.py +++ b/msgraph_beta/generated/print/printers/item/jobs/item/redirect/redirect_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .......models.print_job_configuration import PrintJobConfiguration + writer.write_object_value("configuration", self.configuration) writer.write_str_value("destinationPrinterId", self.destination_printer_id) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/print/printers/item/jobs/item/tasks/count/count_request_builder.py b/msgraph_beta/generated/print/printers/item/jobs/item/tasks/count/count_request_builder.py index de601dc7d3e..d1d8092f814 100644 --- a/msgraph_beta/generated/print/printers/item/jobs/item/tasks/count/count_request_builder.py +++ b/msgraph_beta/generated/print/printers/item/jobs/item/tasks/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/print/printers/item/shares/count/count_request_builder.py b/msgraph_beta/generated/print/printers/item/shares/count/count_request_builder.py index 2a494e629df..76592d3f322 100644 --- a/msgraph_beta/generated/print/printers/item/shares/count/count_request_builder.py +++ b/msgraph_beta/generated/print/printers/item/shares/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/print/printers/item/task_triggers/count/count_request_builder.py b/msgraph_beta/generated/print/printers/item/task_triggers/count/count_request_builder.py index f187fa94883..3af68377909 100644 --- a/msgraph_beta/generated/print/printers/item/task_triggers/count/count_request_builder.py +++ b/msgraph_beta/generated/print/printers/item/task_triggers/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/print/services/count/count_request_builder.py b/msgraph_beta/generated/print/services/count/count_request_builder.py index 24feec938bc..7fc2069cade 100644 --- a/msgraph_beta/generated/print/services/count/count_request_builder.py +++ b/msgraph_beta/generated/print/services/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/print/services/item/endpoints/count/count_request_builder.py b/msgraph_beta/generated/print/services/item/endpoints/count/count_request_builder.py index e2f4054ad97..8c96107e7e4 100644 --- a/msgraph_beta/generated/print/services/item/endpoints/count/count_request_builder.py +++ b/msgraph_beta/generated/print/services/item/endpoints/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/print/shares/count/count_request_builder.py b/msgraph_beta/generated/print/shares/count/count_request_builder.py index db1e25732c2..76c4a6de9f0 100644 --- a/msgraph_beta/generated/print/shares/count/count_request_builder.py +++ b/msgraph_beta/generated/print/shares/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/print/shares/item/allowed_groups/count/count_request_builder.py b/msgraph_beta/generated/print/shares/item/allowed_groups/count/count_request_builder.py index 9bbcdb78618..658b8a7fafa 100644 --- a/msgraph_beta/generated/print/shares/item/allowed_groups/count/count_request_builder.py +++ b/msgraph_beta/generated/print/shares/item/allowed_groups/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/print/shares/item/allowed_groups/item/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/print/shares/item/allowed_groups/item/service_provisioning_errors/count/count_request_builder.py index 454ac4f98bd..924ca0d2813 100644 --- a/msgraph_beta/generated/print/shares/item/allowed_groups/item/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/print/shares/item/allowed_groups/item/service_provisioning_errors/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/print/shares/item/allowed_users/count/count_request_builder.py b/msgraph_beta/generated/print/shares/item/allowed_users/count/count_request_builder.py index 370cb19472c..69ce62f72b7 100644 --- a/msgraph_beta/generated/print/shares/item/allowed_users/count/count_request_builder.py +++ b/msgraph_beta/generated/print/shares/item/allowed_users/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/print/shares/item/allowed_users/item/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/print/shares/item/allowed_users/item/service_provisioning_errors/count/count_request_builder.py index 700faed50fd..1281ecd80e6 100644 --- a/msgraph_beta/generated/print/shares/item/allowed_users/item/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/print/shares/item/allowed_users/item/service_provisioning_errors/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/print/shares/item/jobs/count/count_request_builder.py b/msgraph_beta/generated/print/shares/item/jobs/count/count_request_builder.py index 9019898785f..b641095664e 100644 --- a/msgraph_beta/generated/print/shares/item/jobs/count/count_request_builder.py +++ b/msgraph_beta/generated/print/shares/item/jobs/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/print/shares/item/jobs/item/documents/count/count_request_builder.py b/msgraph_beta/generated/print/shares/item/jobs/item/documents/count/count_request_builder.py index b685dcc49fb..9505f297f3f 100644 --- a/msgraph_beta/generated/print/shares/item/jobs/item/documents/count/count_request_builder.py +++ b/msgraph_beta/generated/print/shares/item/jobs/item/documents/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/print/shares/item/jobs/item/documents/item/create_upload_session/create_upload_session_post_request_body.py b/msgraph_beta/generated/print/shares/item/jobs/item/documents/item/create_upload_session/create_upload_session_post_request_body.py index 8269d331f45..24a3135dbd3 100644 --- a/msgraph_beta/generated/print/shares/item/jobs/item/documents/item/create_upload_session/create_upload_session_post_request_body.py +++ b/msgraph_beta/generated/print/shares/item/jobs/item/documents/item/create_upload_session/create_upload_session_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .........models.print_document_upload_properties import PrintDocumentUploadProperties + writer.write_object_value("properties", self.properties) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/print/shares/item/jobs/item/redirect/redirect_post_request_body.py b/msgraph_beta/generated/print/shares/item/jobs/item/redirect/redirect_post_request_body.py index ded8edbb1ce..cdfd92ff7f6 100644 --- a/msgraph_beta/generated/print/shares/item/jobs/item/redirect/redirect_post_request_body.py +++ b/msgraph_beta/generated/print/shares/item/jobs/item/redirect/redirect_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .......models.print_job_configuration import PrintJobConfiguration + writer.write_object_value("configuration", self.configuration) writer.write_str_value("destinationPrinterId", self.destination_printer_id) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/print/shares/item/jobs/item/tasks/count/count_request_builder.py b/msgraph_beta/generated/print/shares/item/jobs/item/tasks/count/count_request_builder.py index c65d1b61076..d59a0bb05b2 100644 --- a/msgraph_beta/generated/print/shares/item/jobs/item/tasks/count/count_request_builder.py +++ b/msgraph_beta/generated/print/shares/item/jobs/item/tasks/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/print/task_definitions/count/count_request_builder.py b/msgraph_beta/generated/print/task_definitions/count/count_request_builder.py index c8726e81a21..0936b4b5b7e 100644 --- a/msgraph_beta/generated/print/task_definitions/count/count_request_builder.py +++ b/msgraph_beta/generated/print/task_definitions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/print/task_definitions/item/tasks/count/count_request_builder.py b/msgraph_beta/generated/print/task_definitions/item/tasks/count/count_request_builder.py index 59cb432f63b..dc9ad2e22a0 100644 --- a/msgraph_beta/generated/print/task_definitions/item/tasks/count/count_request_builder.py +++ b/msgraph_beta/generated/print/task_definitions/item/tasks/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/privacy/subject_rights_requests/count/count_request_builder.py b/msgraph_beta/generated/privacy/subject_rights_requests/count/count_request_builder.py index ee4d0d219de..b0c8fcf1bd2 100644 --- a/msgraph_beta/generated/privacy/subject_rights_requests/count/count_request_builder.py +++ b/msgraph_beta/generated/privacy/subject_rights_requests/count/count_request_builder.py @@ -45,7 +45,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/privacy/subject_rights_requests/item/approvers/count/count_request_builder.py b/msgraph_beta/generated/privacy/subject_rights_requests/item/approvers/count/count_request_builder.py index 3e22f58edee..75f3b88afad 100644 --- a/msgraph_beta/generated/privacy/subject_rights_requests/item/approvers/count/count_request_builder.py +++ b/msgraph_beta/generated/privacy/subject_rights_requests/item/approvers/count/count_request_builder.py @@ -45,7 +45,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/privacy/subject_rights_requests/item/approvers/item/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/privacy/subject_rights_requests/item/approvers/item/service_provisioning_errors/count/count_request_builder.py index 7d8b701cec7..2e82525229d 100644 --- a/msgraph_beta/generated/privacy/subject_rights_requests/item/approvers/item/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/privacy/subject_rights_requests/item/approvers/item/service_provisioning_errors/count/count_request_builder.py @@ -45,7 +45,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/privacy/subject_rights_requests/item/approvers_with_user_principal_name/approvers_with_user_principal_name_request_builder.py b/msgraph_beta/generated/privacy/subject_rights_requests/item/approvers_with_user_principal_name/approvers_with_user_principal_name_request_builder.py new file mode 100644 index 00000000000..ae3bd908e0a --- /dev/null +++ b/msgraph_beta/generated/privacy/subject_rights_requests/item/approvers_with_user_principal_name/approvers_with_user_principal_name_request_builder.py @@ -0,0 +1,112 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from .....models.o_data_errors.o_data_error import ODataError + from .....models.user import User + +class ApproversWithUserPrincipalNameRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the approvers property of the microsoft.graph.subjectRightsRequest entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]], user_principal_name: Optional[str] = None) -> None: + """ + Instantiates a new ApproversWithUserPrincipalNameRequestBuilder 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 user_principal_name: Alternate key of user + Returns: None + """ + if isinstance(path_parameters, dict): + path_parameters['userPrincipalName'] = user_principal_name + super().__init__(request_adapter, "{+baseurl}/privacy/subjectRightsRequests/{subjectRightsRequest%2Did}/approvers(userPrincipalName='{userPrincipalName}'){?%24expand,%24select}", path_parameters) + + async def get(self,request_configuration: Optional[RequestConfiguration[ApproversWithUserPrincipalNameRequestBuilderGetQueryParameters]] = None) -> Optional[User]: + """ + Get approvers from privacy + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[User] + """ + warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate", DeprecationWarning) + request_info = self.to_get_request_information( + request_configuration + ) + from .....models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .....models.user import User + + return await self.request_adapter.send_async(request_info, User, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ApproversWithUserPrincipalNameRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Get approvers from privacy + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate", DeprecationWarning) + 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) -> ApproversWithUserPrincipalNameRequestBuilder: + """ + 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: ApproversWithUserPrincipalNameRequestBuilder + """ + warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate", DeprecationWarning) + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return ApproversWithUserPrincipalNameRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class ApproversWithUserPrincipalNameRequestBuilderGetQueryParameters(): + """ + Get approvers from privacy + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "expand": + return "%24expand" + if original_name == "select": + return "%24select" + return original_name + + # Expand related entities + expand: Optional[List[str]] = None + + # Select properties to be returned + select: Optional[List[str]] = None + + + @dataclass + class ApproversWithUserPrincipalNameRequestBuilderGetRequestConfiguration(RequestConfiguration[ApproversWithUserPrincipalNameRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/privacy/subject_rights_requests/item/collaborators/count/count_request_builder.py b/msgraph_beta/generated/privacy/subject_rights_requests/item/collaborators/count/count_request_builder.py index 3ab5db37b7f..8d198ef2abf 100644 --- a/msgraph_beta/generated/privacy/subject_rights_requests/item/collaborators/count/count_request_builder.py +++ b/msgraph_beta/generated/privacy/subject_rights_requests/item/collaborators/count/count_request_builder.py @@ -45,7 +45,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/privacy/subject_rights_requests/item/collaborators/item/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/privacy/subject_rights_requests/item/collaborators/item/service_provisioning_errors/count/count_request_builder.py index 4c1d09acc26..43072c3c3fc 100644 --- a/msgraph_beta/generated/privacy/subject_rights_requests/item/collaborators/item/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/privacy/subject_rights_requests/item/collaborators/item/service_provisioning_errors/count/count_request_builder.py @@ -45,7 +45,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/privacy/subject_rights_requests/item/collaborators_with_user_principal_name/collaborators_with_user_principal_name_request_builder.py b/msgraph_beta/generated/privacy/subject_rights_requests/item/collaborators_with_user_principal_name/collaborators_with_user_principal_name_request_builder.py new file mode 100644 index 00000000000..9564bf1b7d3 --- /dev/null +++ b/msgraph_beta/generated/privacy/subject_rights_requests/item/collaborators_with_user_principal_name/collaborators_with_user_principal_name_request_builder.py @@ -0,0 +1,112 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from .....models.o_data_errors.o_data_error import ODataError + from .....models.user import User + +class CollaboratorsWithUserPrincipalNameRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the collaborators property of the microsoft.graph.subjectRightsRequest entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]], user_principal_name: Optional[str] = None) -> None: + """ + Instantiates a new CollaboratorsWithUserPrincipalNameRequestBuilder 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 user_principal_name: Alternate key of user + Returns: None + """ + if isinstance(path_parameters, dict): + path_parameters['userPrincipalName'] = user_principal_name + super().__init__(request_adapter, "{+baseurl}/privacy/subjectRightsRequests/{subjectRightsRequest%2Did}/collaborators(userPrincipalName='{userPrincipalName}'){?%24expand,%24select}", path_parameters) + + async def get(self,request_configuration: Optional[RequestConfiguration[CollaboratorsWithUserPrincipalNameRequestBuilderGetQueryParameters]] = None) -> Optional[User]: + """ + Get collaborators from privacy + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[User] + """ + warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate", DeprecationWarning) + request_info = self.to_get_request_information( + request_configuration + ) + from .....models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .....models.user import User + + return await self.request_adapter.send_async(request_info, User, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CollaboratorsWithUserPrincipalNameRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Get collaborators from privacy + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate", DeprecationWarning) + 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) -> CollaboratorsWithUserPrincipalNameRequestBuilder: + """ + 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: CollaboratorsWithUserPrincipalNameRequestBuilder + """ + warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate", DeprecationWarning) + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return CollaboratorsWithUserPrincipalNameRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class CollaboratorsWithUserPrincipalNameRequestBuilderGetQueryParameters(): + """ + Get collaborators from privacy + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "expand": + return "%24expand" + if original_name == "select": + return "%24select" + return original_name + + # Expand related entities + expand: Optional[List[str]] = None + + # Select properties to be returned + select: Optional[List[str]] = None + + + @dataclass + class CollaboratorsWithUserPrincipalNameRequestBuilderGetRequestConfiguration(RequestConfiguration[CollaboratorsWithUserPrincipalNameRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/privacy/subject_rights_requests/item/notes/count/count_request_builder.py b/msgraph_beta/generated/privacy/subject_rights_requests/item/notes/count/count_request_builder.py index cd9853e2cad..ce91370bf85 100644 --- a/msgraph_beta/generated/privacy/subject_rights_requests/item/notes/count/count_request_builder.py +++ b/msgraph_beta/generated/privacy/subject_rights_requests/item/notes/count/count_request_builder.py @@ -45,7 +45,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/privacy/subject_rights_requests/item/subject_rights_request_item_request_builder.py b/msgraph_beta/generated/privacy/subject_rights_requests/item/subject_rights_request_item_request_builder.py index ae34696d923..3ef95c39aee 100644 --- a/msgraph_beta/generated/privacy/subject_rights_requests/item/subject_rights_request_item_request_builder.py +++ b/msgraph_beta/generated/privacy/subject_rights_requests/item/subject_rights_request_item_request_builder.py @@ -16,7 +16,9 @@ from ....models.o_data_errors.o_data_error import ODataError from ....models.subject_rights_request import SubjectRightsRequest from .approvers.approvers_request_builder import ApproversRequestBuilder + from .approvers_with_user_principal_name.approvers_with_user_principal_name_request_builder import ApproversWithUserPrincipalNameRequestBuilder from .collaborators.collaborators_request_builder import CollaboratorsRequestBuilder + from .collaborators_with_user_principal_name.collaborators_with_user_principal_name_request_builder import CollaboratorsWithUserPrincipalNameRequestBuilder from .get_final_attachment.get_final_attachment_request_builder import GetFinalAttachmentRequestBuilder from .get_final_report.get_final_report_request_builder import GetFinalReportRequestBuilder from .notes.notes_request_builder import NotesRequestBuilder @@ -35,6 +37,32 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D """ super().__init__(request_adapter, "{+baseurl}/privacy/subjectRightsRequests/{subjectRightsRequest%2Did}{?%24expand,%24select}", path_parameters) + def approvers_with_user_principal_name(self,user_principal_name: str) -> ApproversWithUserPrincipalNameRequestBuilder: + """ + Provides operations to manage the approvers property of the microsoft.graph.subjectRightsRequest entity. + param user_principal_name: Alternate key of user + Returns: ApproversWithUserPrincipalNameRequestBuilder + """ + warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate", DeprecationWarning) + if user_principal_name is None: + raise TypeError("user_principal_name cannot be null.") + from .approvers_with_user_principal_name.approvers_with_user_principal_name_request_builder import ApproversWithUserPrincipalNameRequestBuilder + + return ApproversWithUserPrincipalNameRequestBuilder(self.request_adapter, self.path_parameters, user_principal_name) + + def collaborators_with_user_principal_name(self,user_principal_name: str) -> CollaboratorsWithUserPrincipalNameRequestBuilder: + """ + Provides operations to manage the collaborators property of the microsoft.graph.subjectRightsRequest entity. + param user_principal_name: Alternate key of user + Returns: CollaboratorsWithUserPrincipalNameRequestBuilder + """ + warn("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate", DeprecationWarning) + if user_principal_name is None: + raise TypeError("user_principal_name cannot be null.") + from .collaborators_with_user_principal_name.collaborators_with_user_principal_name_request_builder import CollaboratorsWithUserPrincipalNameRequestBuilder + + return CollaboratorsWithUserPrincipalNameRequestBuilder(self.request_adapter, self.path_parameters, user_principal_name) + async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ Delete navigation property subjectRightsRequests for privacy diff --git a/msgraph_beta/generated/privileged_access/count/count_request_builder.py b/msgraph_beta/generated/privileged_access/count/count_request_builder.py index bb8e102271e..1da6930abf5 100644 --- a/msgraph_beta/generated/privileged_access/count/count_request_builder.py +++ b/msgraph_beta/generated/privileged_access/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/privileged_access/item/resources/count/count_request_builder.py b/msgraph_beta/generated/privileged_access/item/resources/count/count_request_builder.py index 160bd3b5cb0..67959fbd369 100644 --- a/msgraph_beta/generated/privileged_access/item/resources/count/count_request_builder.py +++ b/msgraph_beta/generated/privileged_access/item/resources/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/privileged_access/item/resources/item/role_assignment_requests/count/count_request_builder.py b/msgraph_beta/generated/privileged_access/item/resources/item/role_assignment_requests/count/count_request_builder.py index f8fd82fce45..1815b9f25cd 100644 --- a/msgraph_beta/generated/privileged_access/item/resources/item/role_assignment_requests/count/count_request_builder.py +++ b/msgraph_beta/generated/privileged_access/item/resources/item/role_assignment_requests/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/privileged_access/item/resources/item/role_assignment_requests/item/update_request/update_request_post_request_body.py b/msgraph_beta/generated/privileged_access/item/resources/item/role_assignment_requests/item/update_request/update_request_post_request_body.py index bef6d4b690f..908cd35179b 100644 --- a/msgraph_beta/generated/privileged_access/item/resources/item/role_assignment_requests/item/update_request/update_request_post_request_body.py +++ b/msgraph_beta/generated/privileged_access/item/resources/item/role_assignment_requests/item/update_request/update_request_post_request_body.py @@ -59,6 +59,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ........models.governance_schedule import GovernanceSchedule + writer.write_str_value("assignmentState", self.assignment_state) writer.write_str_value("decision", self.decision) writer.write_str_value("reason", self.reason) diff --git a/msgraph_beta/generated/privileged_access/item/resources/item/role_assignments/count/count_request_builder.py b/msgraph_beta/generated/privileged_access/item/resources/item/role_assignments/count/count_request_builder.py index 02e188b83a9..a79cada2951 100644 --- a/msgraph_beta/generated/privileged_access/item/resources/item/role_assignments/count/count_request_builder.py +++ b/msgraph_beta/generated/privileged_access/item/resources/item/role_assignments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/privileged_access/item/resources/item/role_assignments/export/export_get_response.py b/msgraph_beta/generated/privileged_access/item/resources/item/role_assignments/export/export_get_response.py index c9636e47058..65d9214dfd1 100644 --- a/msgraph_beta/generated/privileged_access/item/resources/item/role_assignments/export/export_get_response.py +++ b/msgraph_beta/generated/privileged_access/item/resources/item/role_assignments/export/export_get_response.py @@ -49,6 +49,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_primitive_values("value", self.value) diff --git a/msgraph_beta/generated/privileged_access/item/resources/item/role_definitions/count/count_request_builder.py b/msgraph_beta/generated/privileged_access/item/resources/item/role_definitions/count/count_request_builder.py index 4e6ffd9d66c..d10767344e6 100644 --- a/msgraph_beta/generated/privileged_access/item/resources/item/role_definitions/count/count_request_builder.py +++ b/msgraph_beta/generated/privileged_access/item/resources/item/role_definitions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/privileged_access/item/resources/item/role_settings/count/count_request_builder.py b/msgraph_beta/generated/privileged_access/item/resources/item/role_settings/count/count_request_builder.py index 623acc487f4..134383b04eb 100644 --- a/msgraph_beta/generated/privileged_access/item/resources/item/role_settings/count/count_request_builder.py +++ b/msgraph_beta/generated/privileged_access/item/resources/item/role_settings/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/privileged_access/item/role_assignment_requests/count/count_request_builder.py b/msgraph_beta/generated/privileged_access/item/role_assignment_requests/count/count_request_builder.py index 66417d6fc71..7d252de3b7c 100644 --- a/msgraph_beta/generated/privileged_access/item/role_assignment_requests/count/count_request_builder.py +++ b/msgraph_beta/generated/privileged_access/item/role_assignment_requests/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/privileged_access/item/role_assignment_requests/item/update_request/update_request_post_request_body.py b/msgraph_beta/generated/privileged_access/item/role_assignment_requests/item/update_request/update_request_post_request_body.py index d6e1c18ea64..46a4cd27ddf 100644 --- a/msgraph_beta/generated/privileged_access/item/role_assignment_requests/item/update_request/update_request_post_request_body.py +++ b/msgraph_beta/generated/privileged_access/item/role_assignment_requests/item/update_request/update_request_post_request_body.py @@ -59,6 +59,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ......models.governance_schedule import GovernanceSchedule + writer.write_str_value("assignmentState", self.assignment_state) writer.write_str_value("decision", self.decision) writer.write_str_value("reason", self.reason) diff --git a/msgraph_beta/generated/privileged_access/item/role_assignments/count/count_request_builder.py b/msgraph_beta/generated/privileged_access/item/role_assignments/count/count_request_builder.py index 79c199bb43f..fa391583bbb 100644 --- a/msgraph_beta/generated/privileged_access/item/role_assignments/count/count_request_builder.py +++ b/msgraph_beta/generated/privileged_access/item/role_assignments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/privileged_access/item/role_assignments/export/export_get_response.py b/msgraph_beta/generated/privileged_access/item/role_assignments/export/export_get_response.py index 1c29cfe13cc..2b182ad7f20 100644 --- a/msgraph_beta/generated/privileged_access/item/role_assignments/export/export_get_response.py +++ b/msgraph_beta/generated/privileged_access/item/role_assignments/export/export_get_response.py @@ -49,6 +49,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_primitive_values("value", self.value) diff --git a/msgraph_beta/generated/privileged_access/item/role_definitions/count/count_request_builder.py b/msgraph_beta/generated/privileged_access/item/role_definitions/count/count_request_builder.py index b4211378a4e..e861d3f8f20 100644 --- a/msgraph_beta/generated/privileged_access/item/role_definitions/count/count_request_builder.py +++ b/msgraph_beta/generated/privileged_access/item/role_definitions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/privileged_access/item/role_settings/count/count_request_builder.py b/msgraph_beta/generated/privileged_access/item/role_settings/count/count_request_builder.py index a9657e837b0..5ee275af99b 100644 --- a/msgraph_beta/generated/privileged_access/item/role_settings/count/count_request_builder.py +++ b/msgraph_beta/generated/privileged_access/item/role_settings/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/privileged_approval/count/count_request_builder.py b/msgraph_beta/generated/privileged_approval/count/count_request_builder.py index 5284d7382b1..ca40c8b61ea 100644 --- a/msgraph_beta/generated/privileged_approval/count/count_request_builder.py +++ b/msgraph_beta/generated/privileged_approval/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/privileged_approval/item/role_info/assignments/count/count_request_builder.py b/msgraph_beta/generated/privileged_approval/item/role_info/assignments/count/count_request_builder.py index a17bdeedae5..38962f43564 100644 --- a/msgraph_beta/generated/privileged_approval/item/role_info/assignments/count/count_request_builder.py +++ b/msgraph_beta/generated/privileged_approval/item/role_info/assignments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/privileged_approval/my_requests/my_requests_get_response.py b/msgraph_beta/generated/privileged_approval/my_requests/my_requests_get_response.py index 3fa5e0fb247..71942984491 100644 --- a/msgraph_beta/generated/privileged_approval/my_requests/my_requests_get_response.py +++ b/msgraph_beta/generated/privileged_approval/my_requests/my_requests_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ...models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ...models.privileged_approval import PrivilegedApproval + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/privileged_operation_events/count/count_request_builder.py b/msgraph_beta/generated/privileged_operation_events/count/count_request_builder.py index 6788db2b9c6..0e76c68bbad 100644 --- a/msgraph_beta/generated/privileged_operation_events/count/count_request_builder.py +++ b/msgraph_beta/generated/privileged_operation_events/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/privileged_role_assignment_requests/count/count_request_builder.py b/msgraph_beta/generated/privileged_role_assignment_requests/count/count_request_builder.py index 853f52cb0f1..d09484b1332 100644 --- a/msgraph_beta/generated/privileged_role_assignment_requests/count/count_request_builder.py +++ b/msgraph_beta/generated/privileged_role_assignment_requests/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/privileged_role_assignment_requests/item/role_info/assignments/count/count_request_builder.py b/msgraph_beta/generated/privileged_role_assignment_requests/item/role_info/assignments/count/count_request_builder.py index dbac32014c7..117c6f72d75 100644 --- a/msgraph_beta/generated/privileged_role_assignment_requests/item/role_info/assignments/count/count_request_builder.py +++ b/msgraph_beta/generated/privileged_role_assignment_requests/item/role_info/assignments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/privileged_role_assignment_requests/my/my_get_response.py b/msgraph_beta/generated/privileged_role_assignment_requests/my/my_get_response.py index d44a791786a..4cc8d1b9b33 100644 --- a/msgraph_beta/generated/privileged_role_assignment_requests/my/my_get_response.py +++ b/msgraph_beta/generated/privileged_role_assignment_requests/my/my_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ...models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ...models.privileged_role_assignment_request import PrivilegedRoleAssignmentRequest + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/privileged_role_assignments/count/count_request_builder.py b/msgraph_beta/generated/privileged_role_assignments/count/count_request_builder.py index c53404d8fa6..924bfbff248 100644 --- a/msgraph_beta/generated/privileged_role_assignments/count/count_request_builder.py +++ b/msgraph_beta/generated/privileged_role_assignments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/privileged_role_assignments/item/role_info/assignments/count/count_request_builder.py b/msgraph_beta/generated/privileged_role_assignments/item/role_info/assignments/count/count_request_builder.py index 4119c533445..4f11e16ae5d 100644 --- a/msgraph_beta/generated/privileged_role_assignments/item/role_info/assignments/count/count_request_builder.py +++ b/msgraph_beta/generated/privileged_role_assignments/item/role_info/assignments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/privileged_role_assignments/my/my_get_response.py b/msgraph_beta/generated/privileged_role_assignments/my/my_get_response.py index 7ed6e1413fd..22216254b8a 100644 --- a/msgraph_beta/generated/privileged_role_assignments/my/my_get_response.py +++ b/msgraph_beta/generated/privileged_role_assignments/my/my_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ...models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ...models.privileged_role_assignment import PrivilegedRoleAssignment + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/privileged_roles/count/count_request_builder.py b/msgraph_beta/generated/privileged_roles/count/count_request_builder.py index 47608135926..0cf348fa1fc 100644 --- a/msgraph_beta/generated/privileged_roles/count/count_request_builder.py +++ b/msgraph_beta/generated/privileged_roles/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/privileged_roles/item/assignments/count/count_request_builder.py b/msgraph_beta/generated/privileged_roles/item/assignments/count/count_request_builder.py index a2781d2d775..092a3ed9a02 100644 --- a/msgraph_beta/generated/privileged_roles/item/assignments/count/count_request_builder.py +++ b/msgraph_beta/generated/privileged_roles/item/assignments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/privileged_signup_status/complete_setup/complete_setup_post_request_body.py b/msgraph_beta/generated/privileged_signup_status/complete_setup/complete_setup_post_request_body.py index 05706e23739..f8f0194b19c 100644 --- a/msgraph_beta/generated/privileged_signup_status/complete_setup/complete_setup_post_request_body.py +++ b/msgraph_beta/generated/privileged_signup_status/complete_setup/complete_setup_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ...models.tenant_setup_info import TenantSetupInfo + writer.write_object_value("tenantSetupInfo", self.tenant_setup_info) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/privileged_signup_status/complete_setup/complete_setup_post_response.py b/msgraph_beta/generated/privileged_signup_status/complete_setup/complete_setup_post_response.py index 78adcd7dc73..a64a73e68fa 100644 --- a/msgraph_beta/generated/privileged_signup_status/complete_setup/complete_setup_post_response.py +++ b/msgraph_beta/generated/privileged_signup_status/complete_setup/complete_setup_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ...models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ...models.role_success_statistics import RoleSuccessStatistics + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/privileged_signup_status/count/count_request_builder.py b/msgraph_beta/generated/privileged_signup_status/count/count_request_builder.py index ff159bffb77..2deaa7cc4ea 100644 --- a/msgraph_beta/generated/privileged_signup_status/count/count_request_builder.py +++ b/msgraph_beta/generated/privileged_signup_status/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/program_control_types/count/count_request_builder.py b/msgraph_beta/generated/program_control_types/count/count_request_builder.py index 2ffb0410442..5c7e9571985 100644 --- a/msgraph_beta/generated/program_control_types/count/count_request_builder.py +++ b/msgraph_beta/generated/program_control_types/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/program_controls/count/count_request_builder.py b/msgraph_beta/generated/program_controls/count/count_request_builder.py index 4646b433361..3b5b66291f7 100644 --- a/msgraph_beta/generated/program_controls/count/count_request_builder.py +++ b/msgraph_beta/generated/program_controls/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/program_controls/item/program/controls/count/count_request_builder.py b/msgraph_beta/generated/program_controls/item/program/controls/count/count_request_builder.py index cf47d07113b..4a38e2cc008 100644 --- a/msgraph_beta/generated/program_controls/item/program/controls/count/count_request_builder.py +++ b/msgraph_beta/generated/program_controls/item/program/controls/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/programs/count/count_request_builder.py b/msgraph_beta/generated/programs/count/count_request_builder.py index 54d0f3e72fb..98bd1ad8a9c 100644 --- a/msgraph_beta/generated/programs/count/count_request_builder.py +++ b/msgraph_beta/generated/programs/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/programs/item/controls/count/count_request_builder.py b/msgraph_beta/generated/programs/item/controls/count/count_request_builder.py index f1f446bd690..45925d9de62 100644 --- a/msgraph_beta/generated/programs/item/controls/count/count_request_builder.py +++ b/msgraph_beta/generated/programs/item/controls/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/reports/app_credential_sign_in_activities/count/count_request_builder.py b/msgraph_beta/generated/reports/app_credential_sign_in_activities/count/count_request_builder.py index b72672c0608..c8ec272d110 100644 --- a/msgraph_beta/generated/reports/app_credential_sign_in_activities/count/count_request_builder.py +++ b/msgraph_beta/generated/reports/app_credential_sign_in_activities/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/reports/application_sign_in_detailed_summary/count/count_request_builder.py b/msgraph_beta/generated/reports/application_sign_in_detailed_summary/count/count_request_builder.py index 70ed863d294..c99b79039b9 100644 --- a/msgraph_beta/generated/reports/application_sign_in_detailed_summary/count/count_request_builder.py +++ b/msgraph_beta/generated/reports/application_sign_in_detailed_summary/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/reports/authentication_methods/user_registration_details/count/count_request_builder.py b/msgraph_beta/generated/reports/authentication_methods/user_registration_details/count/count_request_builder.py index 58c3d16739b..d3ff0c0092f 100644 --- a/msgraph_beta/generated/reports/authentication_methods/user_registration_details/count/count_request_builder.py +++ b/msgraph_beta/generated/reports/authentication_methods/user_registration_details/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/reports/credential_user_registration_details/count/count_request_builder.py b/msgraph_beta/generated/reports/credential_user_registration_details/count/count_request_builder.py index f0186d650a7..e48e3136214 100644 --- a/msgraph_beta/generated/reports/credential_user_registration_details/count/count_request_builder.py +++ b/msgraph_beta/generated/reports/credential_user_registration_details/count/count_request_builder.py @@ -45,7 +45,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/reports/daily_print_usage/count/count_request_builder.py b/msgraph_beta/generated/reports/daily_print_usage/count/count_request_builder.py index 39fac712f7e..bf8e614623f 100644 --- a/msgraph_beta/generated/reports/daily_print_usage/count/count_request_builder.py +++ b/msgraph_beta/generated/reports/daily_print_usage/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/reports/daily_print_usage_by_printer/count/count_request_builder.py b/msgraph_beta/generated/reports/daily_print_usage_by_printer/count/count_request_builder.py index b67f9d2403c..bc6f0d98777 100644 --- a/msgraph_beta/generated/reports/daily_print_usage_by_printer/count/count_request_builder.py +++ b/msgraph_beta/generated/reports/daily_print_usage_by_printer/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/reports/daily_print_usage_by_user/count/count_request_builder.py b/msgraph_beta/generated/reports/daily_print_usage_by_user/count/count_request_builder.py index 226cc791a58..c42bb73115c 100644 --- a/msgraph_beta/generated/reports/daily_print_usage_by_user/count/count_request_builder.py +++ b/msgraph_beta/generated/reports/daily_print_usage_by_user/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/reports/daily_print_usage_summaries_by_printer/count/count_request_builder.py b/msgraph_beta/generated/reports/daily_print_usage_summaries_by_printer/count/count_request_builder.py index 32c5ff00813..c8cbd6ca88c 100644 --- a/msgraph_beta/generated/reports/daily_print_usage_summaries_by_printer/count/count_request_builder.py +++ b/msgraph_beta/generated/reports/daily_print_usage_summaries_by_printer/count/count_request_builder.py @@ -45,7 +45,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/reports/daily_print_usage_summaries_by_user/count/count_request_builder.py b/msgraph_beta/generated/reports/daily_print_usage_summaries_by_user/count/count_request_builder.py index 54b48506f89..1949ed647bb 100644 --- a/msgraph_beta/generated/reports/daily_print_usage_summaries_by_user/count/count_request_builder.py +++ b/msgraph_beta/generated/reports/daily_print_usage_summaries_by_user/count/count_request_builder.py @@ -45,7 +45,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/reports/get_attack_simulation_repeat_offenders/get_attack_simulation_repeat_offenders_get_response.py b/msgraph_beta/generated/reports/get_attack_simulation_repeat_offenders/get_attack_simulation_repeat_offenders_get_response.py index 899eb3f6f3b..318aff5fb61 100644 --- a/msgraph_beta/generated/reports/get_attack_simulation_repeat_offenders/get_attack_simulation_repeat_offenders_get_response.py +++ b/msgraph_beta/generated/reports/get_attack_simulation_repeat_offenders/get_attack_simulation_repeat_offenders_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ...models.attack_simulation_repeat_offender import AttackSimulationRepeatOffender + from ...models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/reports/get_attack_simulation_simulation_user_coverage/get_attack_simulation_simulation_user_coverage_get_response.py b/msgraph_beta/generated/reports/get_attack_simulation_simulation_user_coverage/get_attack_simulation_simulation_user_coverage_get_response.py index 560e182e6e0..1921a2b2a36 100644 --- a/msgraph_beta/generated/reports/get_attack_simulation_simulation_user_coverage/get_attack_simulation_simulation_user_coverage_get_response.py +++ b/msgraph_beta/generated/reports/get_attack_simulation_simulation_user_coverage/get_attack_simulation_simulation_user_coverage_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ...models.attack_simulation_simulation_user_coverage import AttackSimulationSimulationUserCoverage + from ...models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/reports/get_attack_simulation_training_user_coverage/get_attack_simulation_training_user_coverage_get_response.py b/msgraph_beta/generated/reports/get_attack_simulation_training_user_coverage/get_attack_simulation_training_user_coverage_get_response.py index 9be37e40750..7b4ca4b9c38 100644 --- a/msgraph_beta/generated/reports/get_attack_simulation_training_user_coverage/get_attack_simulation_training_user_coverage_get_response.py +++ b/msgraph_beta/generated/reports/get_attack_simulation_training_user_coverage/get_attack_simulation_training_user_coverage_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ...models.attack_simulation_training_user_coverage import AttackSimulationTrainingUserCoverage + from ...models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/reports/get_azure_a_d_application_sign_in_summary_with_period/get_azure_a_d_application_sign_in_summary_with_period_get_response.py b/msgraph_beta/generated/reports/get_azure_a_d_application_sign_in_summary_with_period/get_azure_a_d_application_sign_in_summary_with_period_get_response.py index 389339dc8d0..c1aa7ab4187 100644 --- a/msgraph_beta/generated/reports/get_azure_a_d_application_sign_in_summary_with_period/get_azure_a_d_application_sign_in_summary_with_period_get_response.py +++ b/msgraph_beta/generated/reports/get_azure_a_d_application_sign_in_summary_with_period/get_azure_a_d_application_sign_in_summary_with_period_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ...models.application_sign_in_summary import ApplicationSignInSummary + from ...models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/reports/get_credential_usage_summary_with_period/get_credential_usage_summary_with_period_get_response.py b/msgraph_beta/generated/reports/get_credential_usage_summary_with_period/get_credential_usage_summary_with_period_get_response.py index dfd354c772f..8bd30124f89 100644 --- a/msgraph_beta/generated/reports/get_credential_usage_summary_with_period/get_credential_usage_summary_with_period_get_response.py +++ b/msgraph_beta/generated/reports/get_credential_usage_summary_with_period/get_credential_usage_summary_with_period_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ...models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ...models.credential_usage_summary import CredentialUsageSummary + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/reports/get_credential_user_registration_count/get_credential_user_registration_count_get_response.py b/msgraph_beta/generated/reports/get_credential_user_registration_count/get_credential_user_registration_count_get_response.py index 0fdfb47b8df..30fcaad5b9d 100644 --- a/msgraph_beta/generated/reports/get_credential_user_registration_count/get_credential_user_registration_count_get_response.py +++ b/msgraph_beta/generated/reports/get_credential_user_registration_count/get_credential_user_registration_count_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ...models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ...models.credential_user_registration_count import CredentialUserRegistrationCount + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/reports/get_group_archived_print_jobs_with_group_id_with_start_date_time_with_end_date_time/get_group_archived_print_jobs_with_group_id_with_start_date_time_with_end_date_time_get_response.py b/msgraph_beta/generated/reports/get_group_archived_print_jobs_with_group_id_with_start_date_time_with_end_date_time/get_group_archived_print_jobs_with_group_id_with_start_date_time_with_end_date_time_get_response.py index ac42a906ed1..dc4a6d271ac 100644 --- a/msgraph_beta/generated/reports/get_group_archived_print_jobs_with_group_id_with_start_date_time_with_end_date_time/get_group_archived_print_jobs_with_group_id_with_start_date_time_with_end_date_time_get_response.py +++ b/msgraph_beta/generated/reports/get_group_archived_print_jobs_with_group_id_with_start_date_time_with_end_date_time/get_group_archived_print_jobs_with_group_id_with_start_date_time_with_end_date_time_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ...models.archived_print_job import ArchivedPrintJob + from ...models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/reports/get_office365_active_user_counts_with_period/get_office365_active_user_counts_with_period_get_response.py b/msgraph_beta/generated/reports/get_office365_active_user_counts_with_period/get_office365_active_user_counts_with_period_get_response.py index 24535ee3e35..2c7a5ce13cf 100644 --- a/msgraph_beta/generated/reports/get_office365_active_user_counts_with_period/get_office365_active_user_counts_with_period_get_response.py +++ b/msgraph_beta/generated/reports/get_office365_active_user_counts_with_period/get_office365_active_user_counts_with_period_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ...models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ...models.office365_active_user_counts import Office365ActiveUserCounts + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/reports/get_office365_active_user_detail_with_date/get_office365_active_user_detail_with_date_get_response.py b/msgraph_beta/generated/reports/get_office365_active_user_detail_with_date/get_office365_active_user_detail_with_date_get_response.py index d8042117f8e..c288a60d8d0 100644 --- a/msgraph_beta/generated/reports/get_office365_active_user_detail_with_date/get_office365_active_user_detail_with_date_get_response.py +++ b/msgraph_beta/generated/reports/get_office365_active_user_detail_with_date/get_office365_active_user_detail_with_date_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ...models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ...models.office365_active_user_detail import Office365ActiveUserDetail + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/reports/get_office365_active_user_detail_with_period/get_office365_active_user_detail_with_period_get_response.py b/msgraph_beta/generated/reports/get_office365_active_user_detail_with_period/get_office365_active_user_detail_with_period_get_response.py index 880c69b62d6..ce0280d7165 100644 --- a/msgraph_beta/generated/reports/get_office365_active_user_detail_with_period/get_office365_active_user_detail_with_period_get_response.py +++ b/msgraph_beta/generated/reports/get_office365_active_user_detail_with_period/get_office365_active_user_detail_with_period_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ...models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ...models.office365_active_user_detail import Office365ActiveUserDetail + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/reports/get_office365_groups_activity_counts_with_period/get_office365_groups_activity_counts_with_period_get_response.py b/msgraph_beta/generated/reports/get_office365_groups_activity_counts_with_period/get_office365_groups_activity_counts_with_period_get_response.py index 02e1eaa4acf..4b418b56175 100644 --- a/msgraph_beta/generated/reports/get_office365_groups_activity_counts_with_period/get_office365_groups_activity_counts_with_period_get_response.py +++ b/msgraph_beta/generated/reports/get_office365_groups_activity_counts_with_period/get_office365_groups_activity_counts_with_period_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ...models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ...models.office365_groups_activity_counts import Office365GroupsActivityCounts + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/reports/get_office365_groups_activity_detail_with_date/get_office365_groups_activity_detail_with_date_get_response.py b/msgraph_beta/generated/reports/get_office365_groups_activity_detail_with_date/get_office365_groups_activity_detail_with_date_get_response.py index 91140732761..f38b7048956 100644 --- a/msgraph_beta/generated/reports/get_office365_groups_activity_detail_with_date/get_office365_groups_activity_detail_with_date_get_response.py +++ b/msgraph_beta/generated/reports/get_office365_groups_activity_detail_with_date/get_office365_groups_activity_detail_with_date_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ...models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ...models.office365_groups_activity_detail import Office365GroupsActivityDetail + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/reports/get_office365_groups_activity_detail_with_period/get_office365_groups_activity_detail_with_period_get_response.py b/msgraph_beta/generated/reports/get_office365_groups_activity_detail_with_period/get_office365_groups_activity_detail_with_period_get_response.py index 3c2cb8d4869..86f8baeb3b9 100644 --- a/msgraph_beta/generated/reports/get_office365_groups_activity_detail_with_period/get_office365_groups_activity_detail_with_period_get_response.py +++ b/msgraph_beta/generated/reports/get_office365_groups_activity_detail_with_period/get_office365_groups_activity_detail_with_period_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ...models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ...models.office365_groups_activity_detail import Office365GroupsActivityDetail + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/reports/get_office365_groups_activity_file_counts_with_period/get_office365_groups_activity_file_counts_with_period_get_response.py b/msgraph_beta/generated/reports/get_office365_groups_activity_file_counts_with_period/get_office365_groups_activity_file_counts_with_period_get_response.py index f81089b9b24..642b321c619 100644 --- a/msgraph_beta/generated/reports/get_office365_groups_activity_file_counts_with_period/get_office365_groups_activity_file_counts_with_period_get_response.py +++ b/msgraph_beta/generated/reports/get_office365_groups_activity_file_counts_with_period/get_office365_groups_activity_file_counts_with_period_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ...models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ...models.office365_groups_activity_file_counts import Office365GroupsActivityFileCounts + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/reports/get_office365_groups_activity_group_counts_with_period/get_office365_groups_activity_group_counts_with_period_get_response.py b/msgraph_beta/generated/reports/get_office365_groups_activity_group_counts_with_period/get_office365_groups_activity_group_counts_with_period_get_response.py index b276f6a7aa6..143b66632f2 100644 --- a/msgraph_beta/generated/reports/get_office365_groups_activity_group_counts_with_period/get_office365_groups_activity_group_counts_with_period_get_response.py +++ b/msgraph_beta/generated/reports/get_office365_groups_activity_group_counts_with_period/get_office365_groups_activity_group_counts_with_period_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ...models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ...models.office365_groups_activity_group_counts import Office365GroupsActivityGroupCounts + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/reports/get_office365_groups_activity_storage_with_period/get_office365_groups_activity_storage_with_period_get_response.py b/msgraph_beta/generated/reports/get_office365_groups_activity_storage_with_period/get_office365_groups_activity_storage_with_period_get_response.py index d7e58b8c637..6c7209b2ab1 100644 --- a/msgraph_beta/generated/reports/get_office365_groups_activity_storage_with_period/get_office365_groups_activity_storage_with_period_get_response.py +++ b/msgraph_beta/generated/reports/get_office365_groups_activity_storage_with_period/get_office365_groups_activity_storage_with_period_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ...models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ...models.office365_groups_activity_storage import Office365GroupsActivityStorage + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/reports/get_office365_services_user_counts_with_period/get_office365_services_user_counts_with_period_get_response.py b/msgraph_beta/generated/reports/get_office365_services_user_counts_with_period/get_office365_services_user_counts_with_period_get_response.py index 0176d142703..8103c032d88 100644 --- a/msgraph_beta/generated/reports/get_office365_services_user_counts_with_period/get_office365_services_user_counts_with_period_get_response.py +++ b/msgraph_beta/generated/reports/get_office365_services_user_counts_with_period/get_office365_services_user_counts_with_period_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ...models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ...models.office365_services_user_counts import Office365ServicesUserCounts + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/reports/get_printer_archived_print_jobs_with_printer_id_with_start_date_time_with_end_date_time/get_printer_archived_print_jobs_with_printer_id_with_start_date_time_with_end_date_time_get_response.py b/msgraph_beta/generated/reports/get_printer_archived_print_jobs_with_printer_id_with_start_date_time_with_end_date_time/get_printer_archived_print_jobs_with_printer_id_with_start_date_time_with_end_date_time_get_response.py index d42a7f32c87..a1918f0691a 100644 --- a/msgraph_beta/generated/reports/get_printer_archived_print_jobs_with_printer_id_with_start_date_time_with_end_date_time/get_printer_archived_print_jobs_with_printer_id_with_start_date_time_with_end_date_time_get_response.py +++ b/msgraph_beta/generated/reports/get_printer_archived_print_jobs_with_printer_id_with_start_date_time_with_end_date_time/get_printer_archived_print_jobs_with_printer_id_with_start_date_time_with_end_date_time_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ...models.archived_print_job import ArchivedPrintJob + from ...models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/reports/get_relying_party_detailed_summary_with_period/get_relying_party_detailed_summary_with_period_get_response.py b/msgraph_beta/generated/reports/get_relying_party_detailed_summary_with_period/get_relying_party_detailed_summary_with_period_get_response.py index 177d235401c..33cda0f4892 100644 --- a/msgraph_beta/generated/reports/get_relying_party_detailed_summary_with_period/get_relying_party_detailed_summary_with_period_get_response.py +++ b/msgraph_beta/generated/reports/get_relying_party_detailed_summary_with_period/get_relying_party_detailed_summary_with_period_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ...models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ...models.relying_party_detailed_summary import RelyingPartyDetailedSummary + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/reports/get_user_archived_print_jobs_with_user_id_with_start_date_time_with_end_date_time/get_user_archived_print_jobs_with_user_id_with_start_date_time_with_end_date_time_get_response.py b/msgraph_beta/generated/reports/get_user_archived_print_jobs_with_user_id_with_start_date_time_with_end_date_time/get_user_archived_print_jobs_with_user_id_with_start_date_time_with_end_date_time_get_response.py index 1b9c9b20eb0..20777829e2f 100644 --- a/msgraph_beta/generated/reports/get_user_archived_print_jobs_with_user_id_with_start_date_time_with_end_date_time/get_user_archived_print_jobs_with_user_id_with_start_date_time_with_end_date_time_get_response.py +++ b/msgraph_beta/generated/reports/get_user_archived_print_jobs_with_user_id_with_start_date_time_with_end_date_time/get_user_archived_print_jobs_with_user_id_with_start_date_time_with_end_date_time_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ...models.archived_print_job import ArchivedPrintJob + from ...models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/reports/health_monitoring/alert_configurations/count/count_request_builder.py b/msgraph_beta/generated/reports/health_monitoring/alert_configurations/count/count_request_builder.py index 20ebbd91b18..f7028f7e1b7 100644 --- a/msgraph_beta/generated/reports/health_monitoring/alert_configurations/count/count_request_builder.py +++ b/msgraph_beta/generated/reports/health_monitoring/alert_configurations/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/reports/health_monitoring/alerts/count/count_request_builder.py b/msgraph_beta/generated/reports/health_monitoring/alerts/count/count_request_builder.py index 8e1ae5be1ab..46aafec47e0 100644 --- a/msgraph_beta/generated/reports/health_monitoring/alerts/count/count_request_builder.py +++ b/msgraph_beta/generated/reports/health_monitoring/alerts/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/reports/monthly_print_usage_by_printer/count/count_request_builder.py b/msgraph_beta/generated/reports/monthly_print_usage_by_printer/count/count_request_builder.py index 1244c4ccf7b..91aa45842f2 100644 --- a/msgraph_beta/generated/reports/monthly_print_usage_by_printer/count/count_request_builder.py +++ b/msgraph_beta/generated/reports/monthly_print_usage_by_printer/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/reports/monthly_print_usage_by_user/count/count_request_builder.py b/msgraph_beta/generated/reports/monthly_print_usage_by_user/count/count_request_builder.py index decaeb1ec95..c5f4d70df3d 100644 --- a/msgraph_beta/generated/reports/monthly_print_usage_by_user/count/count_request_builder.py +++ b/msgraph_beta/generated/reports/monthly_print_usage_by_user/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/reports/monthly_print_usage_summaries_by_printer/count/count_request_builder.py b/msgraph_beta/generated/reports/monthly_print_usage_summaries_by_printer/count/count_request_builder.py index 16a133fa8e6..cbbae093a81 100644 --- a/msgraph_beta/generated/reports/monthly_print_usage_summaries_by_printer/count/count_request_builder.py +++ b/msgraph_beta/generated/reports/monthly_print_usage_summaries_by_printer/count/count_request_builder.py @@ -45,7 +45,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/reports/monthly_print_usage_summaries_by_user/count/count_request_builder.py b/msgraph_beta/generated/reports/monthly_print_usage_summaries_by_user/count/count_request_builder.py index 2c72582973b..06e8943c0de 100644 --- a/msgraph_beta/generated/reports/monthly_print_usage_summaries_by_user/count/count_request_builder.py +++ b/msgraph_beta/generated/reports/monthly_print_usage_summaries_by_user/count/count_request_builder.py @@ -45,7 +45,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/reports/partners/billing/manifests/count/count_request_builder.py b/msgraph_beta/generated/reports/partners/billing/manifests/count/count_request_builder.py index 9f414443a4f..ecbafb42ad1 100644 --- a/msgraph_beta/generated/reports/partners/billing/manifests/count/count_request_builder.py +++ b/msgraph_beta/generated/reports/partners/billing/manifests/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/reports/partners/billing/operations/count/count_request_builder.py b/msgraph_beta/generated/reports/partners/billing/operations/count/count_request_builder.py index 56deec3915c..24aaf0297ce 100644 --- a/msgraph_beta/generated/reports/partners/billing/operations/count/count_request_builder.py +++ b/msgraph_beta/generated/reports/partners/billing/operations/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/reports/partners/billing/reconciliation/billed/microsoft_graph_partners_billing_export/export_post_request_body.py b/msgraph_beta/generated/reports/partners/billing/reconciliation/billed/microsoft_graph_partners_billing_export/export_post_request_body.py index 7605c044806..ef1f070a2e6 100644 --- a/msgraph_beta/generated/reports/partners/billing/reconciliation/billed/microsoft_graph_partners_billing_export/export_post_request_body.py +++ b/msgraph_beta/generated/reports/partners/billing/reconciliation/billed/microsoft_graph_partners_billing_export/export_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .......models.partners.billing.attribute_set import AttributeSet + writer.write_enum_value("attributeSet", self.attribute_set) writer.write_str_value("invoiceId", self.invoice_id) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/reports/partners/billing/usage/billed/microsoft_graph_partners_billing_export/export_post_request_body.py b/msgraph_beta/generated/reports/partners/billing/usage/billed/microsoft_graph_partners_billing_export/export_post_request_body.py index 7605c044806..ef1f070a2e6 100644 --- a/msgraph_beta/generated/reports/partners/billing/usage/billed/microsoft_graph_partners_billing_export/export_post_request_body.py +++ b/msgraph_beta/generated/reports/partners/billing/usage/billed/microsoft_graph_partners_billing_export/export_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .......models.partners.billing.attribute_set import AttributeSet + writer.write_enum_value("attributeSet", self.attribute_set) writer.write_str_value("invoiceId", self.invoice_id) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/reports/partners/billing/usage/unbilled/microsoft_graph_partners_billing_export/export_post_request_body.py b/msgraph_beta/generated/reports/partners/billing/usage/unbilled/microsoft_graph_partners_billing_export/export_post_request_body.py index be527b7fe64..6bfd2239dce 100644 --- a/msgraph_beta/generated/reports/partners/billing/usage/unbilled/microsoft_graph_partners_billing_export/export_post_request_body.py +++ b/msgraph_beta/generated/reports/partners/billing/usage/unbilled/microsoft_graph_partners_billing_export/export_post_request_body.py @@ -59,6 +59,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .......models.partners.billing.attribute_set import AttributeSet + from .......models.partners.billing.billing_period import BillingPeriod + writer.write_enum_value("attributeSet", self.attribute_set) writer.write_enum_value("billingPeriod", self.billing_period) writer.write_str_value("currencyCode", self.currency_code) diff --git a/msgraph_beta/generated/reports/security/get_attack_simulation_repeat_offenders/get_attack_simulation_repeat_offenders_get_response.py b/msgraph_beta/generated/reports/security/get_attack_simulation_repeat_offenders/get_attack_simulation_repeat_offenders_get_response.py index 95fe3d56a11..ff5d4a1953b 100644 --- a/msgraph_beta/generated/reports/security/get_attack_simulation_repeat_offenders/get_attack_simulation_repeat_offenders_get_response.py +++ b/msgraph_beta/generated/reports/security/get_attack_simulation_repeat_offenders/get_attack_simulation_repeat_offenders_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.attack_simulation_repeat_offender import AttackSimulationRepeatOffender + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/reports/security/get_attack_simulation_simulation_user_coverage/get_attack_simulation_simulation_user_coverage_get_response.py b/msgraph_beta/generated/reports/security/get_attack_simulation_simulation_user_coverage/get_attack_simulation_simulation_user_coverage_get_response.py index fea6feec981..53513dee1ae 100644 --- a/msgraph_beta/generated/reports/security/get_attack_simulation_simulation_user_coverage/get_attack_simulation_simulation_user_coverage_get_response.py +++ b/msgraph_beta/generated/reports/security/get_attack_simulation_simulation_user_coverage/get_attack_simulation_simulation_user_coverage_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.attack_simulation_simulation_user_coverage import AttackSimulationSimulationUserCoverage + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/reports/security/get_attack_simulation_training_user_coverage/get_attack_simulation_training_user_coverage_get_response.py b/msgraph_beta/generated/reports/security/get_attack_simulation_training_user_coverage/get_attack_simulation_training_user_coverage_get_response.py index 9085328e7ae..d749cddbfde 100644 --- a/msgraph_beta/generated/reports/security/get_attack_simulation_training_user_coverage/get_attack_simulation_training_user_coverage_get_response.py +++ b/msgraph_beta/generated/reports/security/get_attack_simulation_training_user_coverage/get_attack_simulation_training_user_coverage_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.attack_simulation_training_user_coverage import AttackSimulationTrainingUserCoverage + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/reports/service_activity/get_metrics_for_conditional_access_compliant_devices_sign_in_success_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes/get_metrics_for_conditional_access_compliant_devices_sign_in_success_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_get_response.py b/msgraph_beta/generated/reports/service_activity/get_metrics_for_conditional_access_compliant_devices_sign_in_success_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes/get_metrics_for_conditional_access_compliant_devices_sign_in_success_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_get_response.py index 0c1cfccb6be..0210f0302d1 100644 --- a/msgraph_beta/generated/reports/service_activity/get_metrics_for_conditional_access_compliant_devices_sign_in_success_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes/get_metrics_for_conditional_access_compliant_devices_sign_in_success_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_get_response.py +++ b/msgraph_beta/generated/reports/service_activity/get_metrics_for_conditional_access_compliant_devices_sign_in_success_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes/get_metrics_for_conditional_access_compliant_devices_sign_in_success_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ....models.service_activity_value_metric import ServiceActivityValueMetric + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/reports/service_activity/get_metrics_for_conditional_access_managed_devices_sign_in_success_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes/get_metrics_for_conditional_access_managed_devices_sign_in_success_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_get_response.py b/msgraph_beta/generated/reports/service_activity/get_metrics_for_conditional_access_managed_devices_sign_in_success_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes/get_metrics_for_conditional_access_managed_devices_sign_in_success_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_get_response.py index f97ac0a8826..e9ed003f87c 100644 --- a/msgraph_beta/generated/reports/service_activity/get_metrics_for_conditional_access_managed_devices_sign_in_success_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes/get_metrics_for_conditional_access_managed_devices_sign_in_success_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_get_response.py +++ b/msgraph_beta/generated/reports/service_activity/get_metrics_for_conditional_access_managed_devices_sign_in_success_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes/get_metrics_for_conditional_access_managed_devices_sign_in_success_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ....models.service_activity_value_metric import ServiceActivityValueMetric + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/reports/service_activity/get_metrics_for_mfa_sign_in_failure_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes/get_metrics_for_mfa_sign_in_failure_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_get_response.py b/msgraph_beta/generated/reports/service_activity/get_metrics_for_mfa_sign_in_failure_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes/get_metrics_for_mfa_sign_in_failure_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_get_response.py index 8dbd902744d..b4d0bbe4c30 100644 --- a/msgraph_beta/generated/reports/service_activity/get_metrics_for_mfa_sign_in_failure_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes/get_metrics_for_mfa_sign_in_failure_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_get_response.py +++ b/msgraph_beta/generated/reports/service_activity/get_metrics_for_mfa_sign_in_failure_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes/get_metrics_for_mfa_sign_in_failure_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ....models.service_activity_value_metric import ServiceActivityValueMetric + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/reports/service_activity/get_metrics_for_mfa_sign_in_success_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes/get_metrics_for_mfa_sign_in_success_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_get_response.py b/msgraph_beta/generated/reports/service_activity/get_metrics_for_mfa_sign_in_success_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes/get_metrics_for_mfa_sign_in_success_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_get_response.py index 2c9a8b20af7..6b4d6af7621 100644 --- a/msgraph_beta/generated/reports/service_activity/get_metrics_for_mfa_sign_in_success_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes/get_metrics_for_mfa_sign_in_success_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_get_response.py +++ b/msgraph_beta/generated/reports/service_activity/get_metrics_for_mfa_sign_in_success_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes/get_metrics_for_mfa_sign_in_success_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ....models.service_activity_value_metric import ServiceActivityValueMetric + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/reports/service_activity/get_metrics_for_saml_sign_in_success_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes/get_metrics_for_saml_sign_in_success_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_get_response.py b/msgraph_beta/generated/reports/service_activity/get_metrics_for_saml_sign_in_success_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes/get_metrics_for_saml_sign_in_success_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_get_response.py index 18ef1a2dd63..34ce7dc4c5a 100644 --- a/msgraph_beta/generated/reports/service_activity/get_metrics_for_saml_sign_in_success_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes/get_metrics_for_saml_sign_in_success_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_get_response.py +++ b/msgraph_beta/generated/reports/service_activity/get_metrics_for_saml_sign_in_success_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes/get_metrics_for_saml_sign_in_success_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ....models.service_activity_value_metric import ServiceActivityValueMetric + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/reports/service_principal_sign_in_activities/count/count_request_builder.py b/msgraph_beta/generated/reports/service_principal_sign_in_activities/count/count_request_builder.py index 91a2a326b3e..2849ce4a795 100644 --- a/msgraph_beta/generated/reports/service_principal_sign_in_activities/count/count_request_builder.py +++ b/msgraph_beta/generated/reports/service_principal_sign_in_activities/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/reports/user_credential_usage_details/count/count_request_builder.py b/msgraph_beta/generated/reports/user_credential_usage_details/count/count_request_builder.py index a8b342f6695..fa80dea2a10 100644 --- a/msgraph_beta/generated/reports/user_credential_usage_details/count/count_request_builder.py +++ b/msgraph_beta/generated/reports/user_credential_usage_details/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/reports/user_insights/daily/active_users/count/count_request_builder.py b/msgraph_beta/generated/reports/user_insights/daily/active_users/count/count_request_builder.py index 2a93b9ac6ae..99121130705 100644 --- a/msgraph_beta/generated/reports/user_insights/daily/active_users/count/count_request_builder.py +++ b/msgraph_beta/generated/reports/user_insights/daily/active_users/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/reports/user_insights/daily/authentications/count/count_request_builder.py b/msgraph_beta/generated/reports/user_insights/daily/authentications/count/count_request_builder.py index c4ea671d906..27c8e45bbb9 100644 --- a/msgraph_beta/generated/reports/user_insights/daily/authentications/count/count_request_builder.py +++ b/msgraph_beta/generated/reports/user_insights/daily/authentications/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/reports/user_insights/daily/inactive_users/count/count_request_builder.py b/msgraph_beta/generated/reports/user_insights/daily/inactive_users/count/count_request_builder.py index 0a796f17600..8f58e2aac8e 100644 --- a/msgraph_beta/generated/reports/user_insights/daily/inactive_users/count/count_request_builder.py +++ b/msgraph_beta/generated/reports/user_insights/daily/inactive_users/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/reports/user_insights/daily/inactive_users_by_application/count/count_request_builder.py b/msgraph_beta/generated/reports/user_insights/daily/inactive_users_by_application/count/count_request_builder.py index 59504d5e2ba..64b044556c4 100644 --- a/msgraph_beta/generated/reports/user_insights/daily/inactive_users_by_application/count/count_request_builder.py +++ b/msgraph_beta/generated/reports/user_insights/daily/inactive_users_by_application/count/count_request_builder.py @@ -45,7 +45,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/reports/user_insights/daily/mfa_completions/count/count_request_builder.py b/msgraph_beta/generated/reports/user_insights/daily/mfa_completions/count/count_request_builder.py index 3815fb5b67e..ae3faa3e7e6 100644 --- a/msgraph_beta/generated/reports/user_insights/daily/mfa_completions/count/count_request_builder.py +++ b/msgraph_beta/generated/reports/user_insights/daily/mfa_completions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/reports/user_insights/daily/sign_ups/count/count_request_builder.py b/msgraph_beta/generated/reports/user_insights/daily/sign_ups/count/count_request_builder.py index dc3c05c143e..e98154d2435 100644 --- a/msgraph_beta/generated/reports/user_insights/daily/sign_ups/count/count_request_builder.py +++ b/msgraph_beta/generated/reports/user_insights/daily/sign_ups/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/reports/user_insights/daily/summary/count/count_request_builder.py b/msgraph_beta/generated/reports/user_insights/daily/summary/count/count_request_builder.py index 4dada5099d6..adb5d403121 100644 --- a/msgraph_beta/generated/reports/user_insights/daily/summary/count/count_request_builder.py +++ b/msgraph_beta/generated/reports/user_insights/daily/summary/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/reports/user_insights/daily/user_count/count/count_request_builder.py b/msgraph_beta/generated/reports/user_insights/daily/user_count/count/count_request_builder.py index 378240a488c..735af8a1cfd 100644 --- a/msgraph_beta/generated/reports/user_insights/daily/user_count/count/count_request_builder.py +++ b/msgraph_beta/generated/reports/user_insights/daily/user_count/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/reports/user_insights/monthly/active_users/count/count_request_builder.py b/msgraph_beta/generated/reports/user_insights/monthly/active_users/count/count_request_builder.py index 1100053ab6e..f7026e1b37b 100644 --- a/msgraph_beta/generated/reports/user_insights/monthly/active_users/count/count_request_builder.py +++ b/msgraph_beta/generated/reports/user_insights/monthly/active_users/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/reports/user_insights/monthly/authentications/count/count_request_builder.py b/msgraph_beta/generated/reports/user_insights/monthly/authentications/count/count_request_builder.py index 8224360753a..d27611f80b2 100644 --- a/msgraph_beta/generated/reports/user_insights/monthly/authentications/count/count_request_builder.py +++ b/msgraph_beta/generated/reports/user_insights/monthly/authentications/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/reports/user_insights/monthly/inactive_users/count/count_request_builder.py b/msgraph_beta/generated/reports/user_insights/monthly/inactive_users/count/count_request_builder.py index e3aa2f0ea8c..08a17e11a86 100644 --- a/msgraph_beta/generated/reports/user_insights/monthly/inactive_users/count/count_request_builder.py +++ b/msgraph_beta/generated/reports/user_insights/monthly/inactive_users/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/reports/user_insights/monthly/inactive_users_by_application/count/count_request_builder.py b/msgraph_beta/generated/reports/user_insights/monthly/inactive_users_by_application/count/count_request_builder.py index 92b63fb0333..818d9e6b916 100644 --- a/msgraph_beta/generated/reports/user_insights/monthly/inactive_users_by_application/count/count_request_builder.py +++ b/msgraph_beta/generated/reports/user_insights/monthly/inactive_users_by_application/count/count_request_builder.py @@ -45,7 +45,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/reports/user_insights/monthly/mfa_completions/count/count_request_builder.py b/msgraph_beta/generated/reports/user_insights/monthly/mfa_completions/count/count_request_builder.py index 04884698bad..309a2bb321e 100644 --- a/msgraph_beta/generated/reports/user_insights/monthly/mfa_completions/count/count_request_builder.py +++ b/msgraph_beta/generated/reports/user_insights/monthly/mfa_completions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/reports/user_insights/monthly/requests/count/count_request_builder.py b/msgraph_beta/generated/reports/user_insights/monthly/requests/count/count_request_builder.py index 5d8842ab3b7..6dfaccefff2 100644 --- a/msgraph_beta/generated/reports/user_insights/monthly/requests/count/count_request_builder.py +++ b/msgraph_beta/generated/reports/user_insights/monthly/requests/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/reports/user_insights/monthly/sign_ups/count/count_request_builder.py b/msgraph_beta/generated/reports/user_insights/monthly/sign_ups/count/count_request_builder.py index c80696591da..eb00e77822a 100644 --- a/msgraph_beta/generated/reports/user_insights/monthly/sign_ups/count/count_request_builder.py +++ b/msgraph_beta/generated/reports/user_insights/monthly/sign_ups/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/reports/user_insights/monthly/summary/count/count_request_builder.py b/msgraph_beta/generated/reports/user_insights/monthly/summary/count/count_request_builder.py index e7d89ec1652..e01a2b87b24 100644 --- a/msgraph_beta/generated/reports/user_insights/monthly/summary/count/count_request_builder.py +++ b/msgraph_beta/generated/reports/user_insights/monthly/summary/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/risk_detections/risk_detections_request_builder.py b/msgraph_beta/generated/risk_detections/risk_detections_request_builder.py index 4466cafff48..883bac77d83 100644 --- a/msgraph_beta/generated/risk_detections/risk_detections_request_builder.py +++ b/msgraph_beta/generated/risk_detections/risk_detections_request_builder.py @@ -47,10 +47,10 @@ def by_risk_detection_id(self,risk_detection_id: str) -> RiskDetectionItemReques async def get(self,request_configuration: Optional[RequestConfiguration[RiskDetectionsRequestBuilderGetQueryParameters]] = None) -> Optional[RiskDetectionCollectionResponse]: """ - Retrieve the properties of a riskDetection object. + Retrieve the properties of a collection of riskDetection objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[RiskDetectionCollectionResponse] - Find more info here: https://learn.microsoft.com/graph/api/riskdetection-get?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/riskdetection-list?view=graph-rest-beta """ request_info = self.to_get_request_information( request_configuration @@ -91,7 +91,7 @@ async def post(self,body: RiskDetection, request_configuration: Optional[Request def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[RiskDetectionsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Retrieve the properties of a riskDetection object. + Retrieve the properties of a collection of riskDetection objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -128,7 +128,7 @@ def with_url(self,raw_url: str) -> RiskDetectionsRequestBuilder: @dataclass class RiskDetectionsRequestBuilderGetQueryParameters(): """ - Retrieve the properties of a riskDetection object. + Retrieve the properties of a collection of riskDetection objects. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/risky_users/count/count_request_builder.py b/msgraph_beta/generated/risky_users/count/count_request_builder.py index 6bac70d8d5b..e67417fcd5d 100644 --- a/msgraph_beta/generated/risky_users/count/count_request_builder.py +++ b/msgraph_beta/generated/risky_users/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/risky_users/item/history/count/count_request_builder.py b/msgraph_beta/generated/risky_users/item/history/count/count_request_builder.py index 2d37221900b..b9794fc729c 100644 --- a/msgraph_beta/generated/risky_users/item/history/count/count_request_builder.py +++ b/msgraph_beta/generated/risky_users/item/history/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/role_management/cloud_p_c/resource_namespaces/count/count_request_builder.py b/msgraph_beta/generated/role_management/cloud_p_c/resource_namespaces/count/count_request_builder.py index 9404c4b1244..472e7269942 100644 --- a/msgraph_beta/generated/role_management/cloud_p_c/resource_namespaces/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/cloud_p_c/resource_namespaces/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/role_management/cloud_p_c/resource_namespaces/item/resource_actions/count/count_request_builder.py b/msgraph_beta/generated/role_management/cloud_p_c/resource_namespaces/item/resource_actions/count/count_request_builder.py index ec4002532a0..0c5753cc4ae 100644 --- a/msgraph_beta/generated/role_management/cloud_p_c/resource_namespaces/item/resource_actions/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/cloud_p_c/resource_namespaces/item/resource_actions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/role_management/cloud_p_c/role_assignments/count/count_request_builder.py b/msgraph_beta/generated/role_management/cloud_p_c/role_assignments/count/count_request_builder.py index f734c7ece78..6c5dfffecf4 100644 --- a/msgraph_beta/generated/role_management/cloud_p_c/role_assignments/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/cloud_p_c/role_assignments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/role_management/cloud_p_c/role_assignments/item/app_scopes/count/count_request_builder.py b/msgraph_beta/generated/role_management/cloud_p_c/role_assignments/item/app_scopes/count/count_request_builder.py index 3da9b1bb9fc..0aff779b2ce 100644 --- a/msgraph_beta/generated/role_management/cloud_p_c/role_assignments/item/app_scopes/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/cloud_p_c/role_assignments/item/app_scopes/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/role_management/cloud_p_c/role_assignments/item/directory_scopes/count/count_request_builder.py b/msgraph_beta/generated/role_management/cloud_p_c/role_assignments/item/directory_scopes/count/count_request_builder.py index 35696ddaa49..a1e0a1ca471 100644 --- a/msgraph_beta/generated/role_management/cloud_p_c/role_assignments/item/directory_scopes/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/cloud_p_c/role_assignments/item/directory_scopes/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/role_management/cloud_p_c/role_assignments/item/principals/count/count_request_builder.py b/msgraph_beta/generated/role_management/cloud_p_c/role_assignments/item/principals/count/count_request_builder.py index 4775f9bf65f..2f1ba9030fc 100644 --- a/msgraph_beta/generated/role_management/cloud_p_c/role_assignments/item/principals/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/cloud_p_c/role_assignments/item/principals/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/role_management/cloud_p_c/role_definitions/count/count_request_builder.py b/msgraph_beta/generated/role_management/cloud_p_c/role_definitions/count/count_request_builder.py index 2b985c18c45..26558bcd8b0 100644 --- a/msgraph_beta/generated/role_management/cloud_p_c/role_definitions/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/cloud_p_c/role_definitions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/role_management/cloud_p_c/role_definitions/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_get_response.py b/msgraph_beta/generated/role_management/cloud_p_c/role_definitions/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_get_response.py index 95342e17fe0..62347ec0727 100644 --- a/msgraph_beta/generated/role_management/cloud_p_c/role_definitions/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_get_response.py +++ b/msgraph_beta/generated/role_management/cloud_p_c/role_definitions/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ......models.directory_object import DirectoryObject + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/role_management/cloud_p_c/role_definitions/item/inherits_permissions_from/count/count_request_builder.py b/msgraph_beta/generated/role_management/cloud_p_c/role_definitions/item/inherits_permissions_from/count/count_request_builder.py index 6c081449f93..40140ac389f 100644 --- a/msgraph_beta/generated/role_management/cloud_p_c/role_definitions/item/inherits_permissions_from/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/cloud_p_c/role_definitions/item/inherits_permissions_from/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/role_management/cloud_p_c/role_definitions/item/inherits_permissions_from/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_get_response.py b/msgraph_beta/generated/role_management/cloud_p_c/role_definitions/item/inherits_permissions_from/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_get_response.py index a75161ed177..f67b50938f6 100644 --- a/msgraph_beta/generated/role_management/cloud_p_c/role_definitions/item/inherits_permissions_from/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_get_response.py +++ b/msgraph_beta/generated/role_management/cloud_p_c/role_definitions/item/inherits_permissions_from/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ........models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ........models.directory_object import DirectoryObject + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/role_management/defender/resource_namespaces/count/count_request_builder.py b/msgraph_beta/generated/role_management/defender/resource_namespaces/count/count_request_builder.py index 8327687cab2..664fa0246f8 100644 --- a/msgraph_beta/generated/role_management/defender/resource_namespaces/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/defender/resource_namespaces/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/role_management/defender/resource_namespaces/item/resource_actions/count/count_request_builder.py b/msgraph_beta/generated/role_management/defender/resource_namespaces/item/resource_actions/count/count_request_builder.py index 616eb395479..3e6b7def599 100644 --- a/msgraph_beta/generated/role_management/defender/resource_namespaces/item/resource_actions/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/defender/resource_namespaces/item/resource_actions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/role_management/defender/role_assignments/count/count_request_builder.py b/msgraph_beta/generated/role_management/defender/role_assignments/count/count_request_builder.py index 7b1284e6ff9..bae836450a5 100644 --- a/msgraph_beta/generated/role_management/defender/role_assignments/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/defender/role_assignments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/role_management/defender/role_assignments/item/app_scopes/count/count_request_builder.py b/msgraph_beta/generated/role_management/defender/role_assignments/item/app_scopes/count/count_request_builder.py index fc7b45a5bef..5f382a2d93d 100644 --- a/msgraph_beta/generated/role_management/defender/role_assignments/item/app_scopes/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/defender/role_assignments/item/app_scopes/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/role_management/defender/role_assignments/item/directory_scopes/count/count_request_builder.py b/msgraph_beta/generated/role_management/defender/role_assignments/item/directory_scopes/count/count_request_builder.py index 30e1a1bf46c..2e3eabcaee0 100644 --- a/msgraph_beta/generated/role_management/defender/role_assignments/item/directory_scopes/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/defender/role_assignments/item/directory_scopes/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/role_management/defender/role_assignments/item/principals/count/count_request_builder.py b/msgraph_beta/generated/role_management/defender/role_assignments/item/principals/count/count_request_builder.py index 6b54d1ce5dc..5a4f7a042b8 100644 --- a/msgraph_beta/generated/role_management/defender/role_assignments/item/principals/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/defender/role_assignments/item/principals/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/role_management/defender/role_definitions/count/count_request_builder.py b/msgraph_beta/generated/role_management/defender/role_definitions/count/count_request_builder.py index 2b949e5f54c..c7d22d0f719 100644 --- a/msgraph_beta/generated/role_management/defender/role_definitions/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/defender/role_definitions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/role_management/defender/role_definitions/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_get_response.py b/msgraph_beta/generated/role_management/defender/role_definitions/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_get_response.py index 95342e17fe0..62347ec0727 100644 --- a/msgraph_beta/generated/role_management/defender/role_definitions/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_get_response.py +++ b/msgraph_beta/generated/role_management/defender/role_definitions/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ......models.directory_object import DirectoryObject + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/role_management/defender/role_definitions/item/inherits_permissions_from/count/count_request_builder.py b/msgraph_beta/generated/role_management/defender/role_definitions/item/inherits_permissions_from/count/count_request_builder.py index c50e80ea32a..21c3dd1151e 100644 --- a/msgraph_beta/generated/role_management/defender/role_definitions/item/inherits_permissions_from/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/defender/role_definitions/item/inherits_permissions_from/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/role_management/defender/role_definitions/item/inherits_permissions_from/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_get_response.py b/msgraph_beta/generated/role_management/defender/role_definitions/item/inherits_permissions_from/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_get_response.py index a75161ed177..f67b50938f6 100644 --- a/msgraph_beta/generated/role_management/defender/role_definitions/item/inherits_permissions_from/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_get_response.py +++ b/msgraph_beta/generated/role_management/defender/role_definitions/item/inherits_permissions_from/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ........models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ........models.directory_object import DirectoryObject + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/role_management/device_management/resource_namespaces/count/count_request_builder.py b/msgraph_beta/generated/role_management/device_management/resource_namespaces/count/count_request_builder.py index 6a063f8bef2..bbe2a678920 100644 --- a/msgraph_beta/generated/role_management/device_management/resource_namespaces/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/device_management/resource_namespaces/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/role_management/device_management/resource_namespaces/item/resource_actions/count/count_request_builder.py b/msgraph_beta/generated/role_management/device_management/resource_namespaces/item/resource_actions/count/count_request_builder.py index d5304c1cf8a..12b8d3b56e4 100644 --- a/msgraph_beta/generated/role_management/device_management/resource_namespaces/item/resource_actions/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/device_management/resource_namespaces/item/resource_actions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/role_management/device_management/role_assignments/count/count_request_builder.py b/msgraph_beta/generated/role_management/device_management/role_assignments/count/count_request_builder.py index c3eb311b3a9..556f6aabe3b 100644 --- a/msgraph_beta/generated/role_management/device_management/role_assignments/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/device_management/role_assignments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/role_management/device_management/role_assignments/item/app_scopes/count/count_request_builder.py b/msgraph_beta/generated/role_management/device_management/role_assignments/item/app_scopes/count/count_request_builder.py index 12e0d3e0051..f2c760a0078 100644 --- a/msgraph_beta/generated/role_management/device_management/role_assignments/item/app_scopes/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/device_management/role_assignments/item/app_scopes/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/role_management/device_management/role_assignments/item/directory_scopes/count/count_request_builder.py b/msgraph_beta/generated/role_management/device_management/role_assignments/item/directory_scopes/count/count_request_builder.py index 685bfa716f7..1edc02da31f 100644 --- a/msgraph_beta/generated/role_management/device_management/role_assignments/item/directory_scopes/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/device_management/role_assignments/item/directory_scopes/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/role_management/device_management/role_assignments/item/principals/count/count_request_builder.py b/msgraph_beta/generated/role_management/device_management/role_assignments/item/principals/count/count_request_builder.py index 580772b81a7..66b9a090dd6 100644 --- a/msgraph_beta/generated/role_management/device_management/role_assignments/item/principals/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/device_management/role_assignments/item/principals/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/role_management/device_management/role_assignments/role_assignments_request_builder.py b/msgraph_beta/generated/role_management/device_management/role_assignments/role_assignments_request_builder.py index a680b3e06d0..274efd058d7 100644 --- a/msgraph_beta/generated/role_management/device_management/role_assignments/role_assignments_request_builder.py +++ b/msgraph_beta/generated/role_management/device_management/role_assignments/role_assignments_request_builder.py @@ -48,10 +48,10 @@ def by_unified_role_assignment_multiple_id(self,unified_role_assignment_multiple async def get(self,request_configuration: Optional[RequestConfiguration[RoleAssignmentsRequestBuilderGetQueryParameters]] = None) -> Optional[UnifiedRoleAssignmentMultipleCollectionResponse]: """ - Get the properties and relationships of a unifiedRoleAssignmentMultiple object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) For other Microsoft 365 applications (like Microsoft Entra ID), use unifiedRoleAssignment. + Get a list of unifiedRoleAssignmentMultiple objects for an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) For other Microsoft 365 applications (like Microsoft Entra ID), use unifiedRoleAssignment. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleAssignmentMultipleCollectionResponse] - Find more info here: https://learn.microsoft.com/graph/api/unifiedroleassignmentmultiple-get?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/rbacapplicationmultiple-list-roleassignments?view=graph-rest-beta """ request_info = self.to_get_request_information( request_configuration @@ -93,7 +93,7 @@ async def post(self,body: UnifiedRoleAssignmentMultiple, request_configuration: def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[RoleAssignmentsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Get the properties and relationships of a unifiedRoleAssignmentMultiple object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) For other Microsoft 365 applications (like Microsoft Entra ID), use unifiedRoleAssignment. + Get a list of unifiedRoleAssignmentMultiple objects for an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) For other Microsoft 365 applications (like Microsoft Entra ID), use unifiedRoleAssignment. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -139,7 +139,7 @@ def count(self) -> CountRequestBuilder: @dataclass class RoleAssignmentsRequestBuilderGetQueryParameters(): """ - Get the properties and relationships of a unifiedRoleAssignmentMultiple object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) For other Microsoft 365 applications (like Microsoft Entra ID), use unifiedRoleAssignment. + Get a list of unifiedRoleAssignmentMultiple objects for an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) For other Microsoft 365 applications (like Microsoft Entra ID), use unifiedRoleAssignment. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/role_management/device_management/role_definitions/count/count_request_builder.py b/msgraph_beta/generated/role_management/device_management/role_definitions/count/count_request_builder.py index 57283dedb2e..c29d33d2168 100644 --- a/msgraph_beta/generated/role_management/device_management/role_definitions/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/device_management/role_definitions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/role_management/device_management/role_definitions/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_get_response.py b/msgraph_beta/generated/role_management/device_management/role_definitions/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_get_response.py index 95342e17fe0..62347ec0727 100644 --- a/msgraph_beta/generated/role_management/device_management/role_definitions/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_get_response.py +++ b/msgraph_beta/generated/role_management/device_management/role_definitions/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ......models.directory_object import DirectoryObject + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/role_management/device_management/role_definitions/item/inherits_permissions_from/count/count_request_builder.py b/msgraph_beta/generated/role_management/device_management/role_definitions/item/inherits_permissions_from/count/count_request_builder.py index 11d2ff08ad2..ee38c4e14e0 100644 --- a/msgraph_beta/generated/role_management/device_management/role_definitions/item/inherits_permissions_from/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/device_management/role_definitions/item/inherits_permissions_from/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/role_management/device_management/role_definitions/item/inherits_permissions_from/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_get_response.py b/msgraph_beta/generated/role_management/device_management/role_definitions/item/inherits_permissions_from/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_get_response.py index a75161ed177..f67b50938f6 100644 --- a/msgraph_beta/generated/role_management/device_management/role_definitions/item/inherits_permissions_from/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_get_response.py +++ b/msgraph_beta/generated/role_management/device_management/role_definitions/item/inherits_permissions_from/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ........models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ........models.directory_object import DirectoryObject + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/role_management/directory/resource_namespaces/count/count_request_builder.py b/msgraph_beta/generated/role_management/directory/resource_namespaces/count/count_request_builder.py index bf87c60a175..feea26d401a 100644 --- a/msgraph_beta/generated/role_management/directory/resource_namespaces/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/resource_namespaces/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/role_management/directory/resource_namespaces/item/resource_actions/count/count_request_builder.py b/msgraph_beta/generated/role_management/directory/resource_namespaces/item/resource_actions/count/count_request_builder.py index f6c06404121..bb6e663cb47 100644 --- a/msgraph_beta/generated/role_management/directory/resource_namespaces/item/resource_actions/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/resource_namespaces/item/resource_actions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/role_management/directory/role_assignment_approvals/count/count_request_builder.py b/msgraph_beta/generated/role_management/directory/role_assignment_approvals/count/count_request_builder.py index 36a980e9b0e..d8f4fbf2fa0 100644 --- a/msgraph_beta/generated/role_management/directory/role_assignment_approvals/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_assignment_approvals/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/role_management/directory/role_assignment_approvals/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py b/msgraph_beta/generated/role_management/directory/role_assignment_approvals/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py index 9d21583413e..bb1a015eccc 100644 --- a/msgraph_beta/generated/role_management/directory/role_assignment_approvals/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py +++ b/msgraph_beta/generated/role_management/directory/role_assignment_approvals/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .....models.approval import Approval + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/role_management/directory/role_assignment_approvals/item/steps/count/count_request_builder.py b/msgraph_beta/generated/role_management/directory/role_assignment_approvals/item/steps/count/count_request_builder.py index 52396b4239a..1f24c393ed7 100644 --- a/msgraph_beta/generated/role_management/directory/role_assignment_approvals/item/steps/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_assignment_approvals/item/steps/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/role_management/directory/role_assignment_schedule_instances/count/count_request_builder.py b/msgraph_beta/generated/role_management/directory/role_assignment_schedule_instances/count/count_request_builder.py index 3d31c614ed0..4c7ec1cc017 100644 --- a/msgraph_beta/generated/role_management/directory/role_assignment_schedule_instances/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_assignment_schedule_instances/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/role_management/directory/role_assignment_schedule_instances/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py b/msgraph_beta/generated/role_management/directory/role_assignment_schedule_instances/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py index 146a228b942..327041e2a62 100644 --- a/msgraph_beta/generated/role_management/directory/role_assignment_schedule_instances/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py +++ b/msgraph_beta/generated/role_management/directory/role_assignment_schedule_instances/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .....models.unified_role_assignment_schedule_instance import UnifiedRoleAssignmentScheduleInstance + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/role_management/directory/role_assignment_schedule_requests/count/count_request_builder.py b/msgraph_beta/generated/role_management/directory/role_assignment_schedule_requests/count/count_request_builder.py index a37a8ba6253..47f1b4ef36e 100644 --- a/msgraph_beta/generated/role_management/directory/role_assignment_schedule_requests/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_assignment_schedule_requests/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/role_management/directory/role_assignment_schedule_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py b/msgraph_beta/generated/role_management/directory/role_assignment_schedule_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py index f52b664b936..ece6e969df4 100644 --- a/msgraph_beta/generated/role_management/directory/role_assignment_schedule_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py +++ b/msgraph_beta/generated/role_management/directory/role_assignment_schedule_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .....models.unified_role_assignment_schedule_request import UnifiedRoleAssignmentScheduleRequest + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/role_management/directory/role_assignment_schedules/count/count_request_builder.py b/msgraph_beta/generated/role_management/directory/role_assignment_schedules/count/count_request_builder.py index 58052c85747..3d5876b7d73 100644 --- a/msgraph_beta/generated/role_management/directory/role_assignment_schedules/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_assignment_schedules/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/role_management/directory/role_assignment_schedules/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py b/msgraph_beta/generated/role_management/directory/role_assignment_schedules/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py index 428c31eed9e..bdd362b2600 100644 --- a/msgraph_beta/generated/role_management/directory/role_assignment_schedules/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py +++ b/msgraph_beta/generated/role_management/directory/role_assignment_schedules/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .....models.unified_role_assignment_schedule import UnifiedRoleAssignmentSchedule + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/role_management/directory/role_assignments/count/count_request_builder.py b/msgraph_beta/generated/role_management/directory/role_assignments/count/count_request_builder.py index 8b4772ec6e4..4342b096347 100644 --- a/msgraph_beta/generated/role_management/directory/role_assignments/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_assignments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/role_management/directory/role_definitions/count/count_request_builder.py b/msgraph_beta/generated/role_management/directory/role_definitions/count/count_request_builder.py index 97e67ee298f..3e4a1d70d82 100644 --- a/msgraph_beta/generated/role_management/directory/role_definitions/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_definitions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/role_management/directory/role_definitions/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_get_response.py b/msgraph_beta/generated/role_management/directory/role_definitions/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_get_response.py index 95342e17fe0..62347ec0727 100644 --- a/msgraph_beta/generated/role_management/directory/role_definitions/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_get_response.py +++ b/msgraph_beta/generated/role_management/directory/role_definitions/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ......models.directory_object import DirectoryObject + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/role_management/directory/role_definitions/item/inherits_permissions_from/count/count_request_builder.py b/msgraph_beta/generated/role_management/directory/role_definitions/item/inherits_permissions_from/count/count_request_builder.py index cdcc965436a..05c7774c000 100644 --- a/msgraph_beta/generated/role_management/directory/role_definitions/item/inherits_permissions_from/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_definitions/item/inherits_permissions_from/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/role_management/directory/role_definitions/item/inherits_permissions_from/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_get_response.py b/msgraph_beta/generated/role_management/directory/role_definitions/item/inherits_permissions_from/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_get_response.py index a75161ed177..f67b50938f6 100644 --- a/msgraph_beta/generated/role_management/directory/role_definitions/item/inherits_permissions_from/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_get_response.py +++ b/msgraph_beta/generated/role_management/directory/role_definitions/item/inherits_permissions_from/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ........models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ........models.directory_object import DirectoryObject + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_instances/count/count_request_builder.py b/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_instances/count/count_request_builder.py index 6debbcdf0f2..4fd1fc6da2c 100644 --- a/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_instances/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_instances/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_instances/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py b/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_instances/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py index e024edbd4fb..02cf81924bc 100644 --- a/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_instances/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py +++ b/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_instances/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .....models.unified_role_eligibility_schedule_instance import UnifiedRoleEligibilityScheduleInstance + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_requests/count/count_request_builder.py b/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_requests/count/count_request_builder.py index 648e8aba27b..0a489ed1091 100644 --- a/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_requests/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_requests/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py b/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py index e863a8ad321..1f4e7481540 100644 --- a/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py +++ b/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .....models.unified_role_eligibility_schedule_request import UnifiedRoleEligibilityScheduleRequest + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/role_management/directory/role_eligibility_schedules/count/count_request_builder.py b/msgraph_beta/generated/role_management/directory/role_eligibility_schedules/count/count_request_builder.py index ce3f0be1812..cab2684e566 100644 --- a/msgraph_beta/generated/role_management/directory/role_eligibility_schedules/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_eligibility_schedules/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/role_management/directory/role_eligibility_schedules/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py b/msgraph_beta/generated/role_management/directory/role_eligibility_schedules/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py index 03331ebedb2..f05e77abb0b 100644 --- a/msgraph_beta/generated/role_management/directory/role_eligibility_schedules/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py +++ b/msgraph_beta/generated/role_management/directory/role_eligibility_schedules/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .....models.unified_role_eligibility_schedule import UnifiedRoleEligibilitySchedule + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/role_management/directory/role_schedule_instancesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id/role_schedule_instancesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id_get_response.py b/msgraph_beta/generated/role_management/directory/role_schedule_instancesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id/role_schedule_instancesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id_get_response.py index e24ecd1aa06..c3ea24c7f81 100644 --- a/msgraph_beta/generated/role_management/directory/role_schedule_instancesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id/role_schedule_instancesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id_get_response.py +++ b/msgraph_beta/generated/role_management/directory/role_schedule_instancesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id/role_schedule_instancesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ....models.unified_role_schedule_instance_base import UnifiedRoleScheduleInstanceBase + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/role_management/directory/role_schedulesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id/role_schedulesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id_get_response.py b/msgraph_beta/generated/role_management/directory/role_schedulesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id/role_schedulesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id_get_response.py index 69cc7d8fbc8..4c7d679d3dc 100644 --- a/msgraph_beta/generated/role_management/directory/role_schedulesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id/role_schedulesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id_get_response.py +++ b/msgraph_beta/generated/role_management/directory/role_schedulesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id/role_schedulesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ....models.unified_role_schedule_base import UnifiedRoleScheduleBase + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/role_management/directory/transitive_role_assignments/count/count_request_builder.py b/msgraph_beta/generated/role_management/directory/transitive_role_assignments/count/count_request_builder.py index b9f99292c32..d59fa762426 100644 --- a/msgraph_beta/generated/role_management/directory/transitive_role_assignments/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/transitive_role_assignments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/role_management/enterprise_apps/count/count_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/count/count_request_builder.py index 627b5c660b9..26397360c18 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/resource_namespaces/count/count_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/resource_namespaces/count/count_request_builder.py index 975ec1fe468..5592cd7964a 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/resource_namespaces/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/resource_namespaces/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/resource_namespaces/item/resource_actions/count/count_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/resource_namespaces/item/resource_actions/count/count_request_builder.py index 115bf8b438c..38a0122f637 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/resource_namespaces/item/resource_actions/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/resource_namespaces/item/resource_actions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_approvals/count/count_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_approvals/count/count_request_builder.py index c6a4d39a96e..4fb80e10e9b 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_approvals/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_approvals/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_approvals/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_approvals/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py index 113386f40df..8f2b8f21b50 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_approvals/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_approvals/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ......models.approval import Approval + from ......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_approvals/item/steps/count/count_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_approvals/item/steps/count/count_request_builder.py index 97936ead18d..ee463e33e5f 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_approvals/item/steps/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_approvals/item/steps/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_instances/count/count_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_instances/count/count_request_builder.py index b156649be8a..44c5405b452 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_instances/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_instances/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_instances/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_instances/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py index e37fec16536..9940992ad49 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_instances/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_instances/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ......models.unified_role_assignment_schedule_instance import UnifiedRoleAssignmentScheduleInstance + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_requests/count/count_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_requests/count/count_request_builder.py index c81086fbd51..626c3cd1f04 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_requests/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_requests/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py index a9d1f1e52d3..7e9e601b6f9 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ......models.unified_role_assignment_schedule_request import UnifiedRoleAssignmentScheduleRequest + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedules/count/count_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedules/count/count_request_builder.py index 7aba6c83e06..22491a59252 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedules/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedules/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedules/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedules/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py index 7760736fdc7..cb7aa32f3a9 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedules/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedules/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ......models.unified_role_assignment_schedule import UnifiedRoleAssignmentSchedule + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignments/count/count_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignments/count/count_request_builder.py index e9199c9d0f0..5158e161477 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignments/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_definitions/count/count_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_definitions/count/count_request_builder.py index 5a3c44cc516..59db937e7bf 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_definitions/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_definitions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_definitions/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_get_response.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_definitions/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_get_response.py index a370e6c285a..bf29eba8c52 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_definitions/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_get_response.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_definitions/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .......models.directory_object import DirectoryObject + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_definitions/item/inherits_permissions_from/count/count_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_definitions/item/inherits_permissions_from/count/count_request_builder.py index 19dd9d17ab2..9f0891773f3 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_definitions/item/inherits_permissions_from/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_definitions/item/inherits_permissions_from/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_definitions/item/inherits_permissions_from/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_get_response.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_definitions/item/inherits_permissions_from/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_get_response.py index afc5b6e442b..778e2beb96f 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_definitions/item/inherits_permissions_from/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_get_response.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_definitions/item/inherits_permissions_from/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .........models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .........models.directory_object import DirectoryObject + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_instances/count/count_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_instances/count/count_request_builder.py index 45ba7f294f7..4b155ac7892 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_instances/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_instances/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_instances/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_instances/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py index adadfefd69c..eff7f44bbbc 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_instances/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_instances/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ......models.unified_role_eligibility_schedule_instance import UnifiedRoleEligibilityScheduleInstance + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_requests/count/count_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_requests/count/count_request_builder.py index c1db1725074..8a7b0bb3ece 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_requests/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_requests/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py index 42d83795c51..58d28a07a3e 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ......models.unified_role_eligibility_schedule_request import UnifiedRoleEligibilityScheduleRequest + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedules/count/count_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedules/count/count_request_builder.py index 1d19ea84394..13364da1f7e 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedules/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedules/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedules/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedules/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py index 4d62f505a49..f85e6f14e52 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedules/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedules/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ......models.unified_role_eligibility_schedule import UnifiedRoleEligibilitySchedule + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_schedule_instancesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id/role_schedule_instancesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id_get_response.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_schedule_instancesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id/role_schedule_instancesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id_get_response.py index c7d6a564d08..df821a7220c 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_schedule_instancesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id/role_schedule_instancesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id_get_response.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_schedule_instancesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id/role_schedule_instancesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .....models.unified_role_schedule_instance_base import UnifiedRoleScheduleInstanceBase + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_schedulesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id/role_schedulesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id_get_response.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_schedulesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id/role_schedulesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id_get_response.py index fe15eb9e723..5210c1819a0 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_schedulesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id/role_schedulesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id_get_response.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_schedulesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id/role_schedulesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .....models.unified_role_schedule_base import UnifiedRoleScheduleBase + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/transitive_role_assignments/count/count_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/transitive_role_assignments/count/count_request_builder.py index 10ac83860de..147fce0f470 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/transitive_role_assignments/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/transitive_role_assignments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/role_management/entitlement_management/resource_namespaces/count/count_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/resource_namespaces/count/count_request_builder.py index 67bd5a7c31c..013c42ff2f5 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/resource_namespaces/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/resource_namespaces/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/role_management/entitlement_management/resource_namespaces/item/resource_actions/count/count_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/resource_namespaces/item/resource_actions/count/count_request_builder.py index 5b66d281cce..066e4194d07 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/resource_namespaces/item/resource_actions/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/resource_namespaces/item/resource_actions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_approvals/count/count_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_approvals/count/count_request_builder.py index 04f74ea1120..b44fbef55ef 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_approvals/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_approvals/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_approvals/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_approvals/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py index 9d21583413e..bb1a015eccc 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_approvals/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_approvals/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .....models.approval import Approval + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_approvals/item/steps/count/count_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_approvals/item/steps/count/count_request_builder.py index 25f7f24c61e..048c6fecc4b 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_approvals/item/steps/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_approvals/item/steps/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_instances/count/count_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_instances/count/count_request_builder.py index 5ab71493713..c5e2a8e54c6 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_instances/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_instances/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_instances/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_instances/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py index 146a228b942..327041e2a62 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_instances/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_instances/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .....models.unified_role_assignment_schedule_instance import UnifiedRoleAssignmentScheduleInstance + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_requests/count/count_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_requests/count/count_request_builder.py index 5f922f7b7a5..95f1c438bfb 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_requests/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_requests/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py index f52b664b936..ece6e969df4 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .....models.unified_role_assignment_schedule_request import UnifiedRoleAssignmentScheduleRequest + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedules/count/count_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedules/count/count_request_builder.py index 4852708317d..999bda49c87 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedules/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedules/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedules/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedules/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py index 428c31eed9e..bdd362b2600 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedules/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedules/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .....models.unified_role_assignment_schedule import UnifiedRoleAssignmentSchedule + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_assignments/count/count_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_assignments/count/count_request_builder.py index ed452e7b3ca..64237234f8d 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_assignments/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_assignments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_definitions/count/count_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_definitions/count/count_request_builder.py index d24e21ba4f6..d5d3c37d350 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_definitions/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_definitions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_definitions/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_get_response.py b/msgraph_beta/generated/role_management/entitlement_management/role_definitions/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_get_response.py index 95342e17fe0..62347ec0727 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_definitions/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_get_response.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_definitions/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ......models.directory_object import DirectoryObject + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_definitions/item/inherits_permissions_from/count/count_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_definitions/item/inherits_permissions_from/count/count_request_builder.py index 70524354387..e57fcbfcc3c 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_definitions/item/inherits_permissions_from/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_definitions/item/inherits_permissions_from/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_definitions/item/inherits_permissions_from/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_get_response.py b/msgraph_beta/generated/role_management/entitlement_management/role_definitions/item/inherits_permissions_from/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_get_response.py index a75161ed177..f67b50938f6 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_definitions/item/inherits_permissions_from/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_get_response.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_definitions/item/inherits_permissions_from/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ........models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ........models.directory_object import DirectoryObject + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_instances/count/count_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_instances/count/count_request_builder.py index 06997666e32..f424ab1af76 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_instances/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_instances/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_instances/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py b/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_instances/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py index e024edbd4fb..02cf81924bc 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_instances/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_instances/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .....models.unified_role_eligibility_schedule_instance import UnifiedRoleEligibilityScheduleInstance + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_requests/count/count_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_requests/count/count_request_builder.py index a515d83053f..92c626f8497 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_requests/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_requests/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py b/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py index e863a8ad321..1f4e7481540 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .....models.unified_role_eligibility_schedule_request import UnifiedRoleEligibilityScheduleRequest + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedules/count/count_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedules/count/count_request_builder.py index 586f244f34b..a90e4608d6d 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedules/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedules/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedules/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py b/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedules/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py index 03331ebedb2..f05e77abb0b 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedules/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedules/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .....models.unified_role_eligibility_schedule import UnifiedRoleEligibilitySchedule + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_schedule_instancesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id/role_schedule_instancesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id_get_response.py b/msgraph_beta/generated/role_management/entitlement_management/role_schedule_instancesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id/role_schedule_instancesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id_get_response.py index e24ecd1aa06..c3ea24c7f81 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_schedule_instancesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id/role_schedule_instancesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id_get_response.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_schedule_instancesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id/role_schedule_instancesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ....models.unified_role_schedule_instance_base import UnifiedRoleScheduleInstanceBase + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_schedulesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id/role_schedulesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id_get_response.py b/msgraph_beta/generated/role_management/entitlement_management/role_schedulesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id/role_schedulesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id_get_response.py index 69cc7d8fbc8..4c7d679d3dc 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_schedulesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id/role_schedulesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id_get_response.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_schedulesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id/role_schedulesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ....models.unified_role_schedule_base import UnifiedRoleScheduleBase + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/role_management/entitlement_management/transitive_role_assignments/count/count_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/transitive_role_assignments/count/count_request_builder.py index 8aa49dab7ff..e77d0ed6631 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/transitive_role_assignments/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/transitive_role_assignments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/role_management/exchange/custom_app_scopes/count/count_request_builder.py b/msgraph_beta/generated/role_management/exchange/custom_app_scopes/count/count_request_builder.py index c0fa96ecb6b..64f30664d4a 100644 --- a/msgraph_beta/generated/role_management/exchange/custom_app_scopes/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/exchange/custom_app_scopes/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/role_management/exchange/resource_namespaces/count/count_request_builder.py b/msgraph_beta/generated/role_management/exchange/resource_namespaces/count/count_request_builder.py index 6bb16478cd3..a9ee36213a2 100644 --- a/msgraph_beta/generated/role_management/exchange/resource_namespaces/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/exchange/resource_namespaces/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/role_management/exchange/resource_namespaces/item/resource_actions/count/count_request_builder.py b/msgraph_beta/generated/role_management/exchange/resource_namespaces/item/resource_actions/count/count_request_builder.py index 25c809a6074..95560d54e1d 100644 --- a/msgraph_beta/generated/role_management/exchange/resource_namespaces/item/resource_actions/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/exchange/resource_namespaces/item/resource_actions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/role_management/exchange/role_assignments/count/count_request_builder.py b/msgraph_beta/generated/role_management/exchange/role_assignments/count/count_request_builder.py index b82e056fcc9..a699855e84d 100644 --- a/msgraph_beta/generated/role_management/exchange/role_assignments/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/exchange/role_assignments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/role_management/exchange/role_definitions/count/count_request_builder.py b/msgraph_beta/generated/role_management/exchange/role_definitions/count/count_request_builder.py index a50d25dad6f..bfa5423b85d 100644 --- a/msgraph_beta/generated/role_management/exchange/role_definitions/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/exchange/role_definitions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/role_management/exchange/role_definitions/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_get_response.py b/msgraph_beta/generated/role_management/exchange/role_definitions/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_get_response.py index 95342e17fe0..62347ec0727 100644 --- a/msgraph_beta/generated/role_management/exchange/role_definitions/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_get_response.py +++ b/msgraph_beta/generated/role_management/exchange/role_definitions/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ......models.directory_object import DirectoryObject + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/role_management/exchange/role_definitions/item/inherits_permissions_from/count/count_request_builder.py b/msgraph_beta/generated/role_management/exchange/role_definitions/item/inherits_permissions_from/count/count_request_builder.py index 126a422290c..83d8446ba79 100644 --- a/msgraph_beta/generated/role_management/exchange/role_definitions/item/inherits_permissions_from/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/exchange/role_definitions/item/inherits_permissions_from/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/role_management/exchange/role_definitions/item/inherits_permissions_from/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_get_response.py b/msgraph_beta/generated/role_management/exchange/role_definitions/item/inherits_permissions_from/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_get_response.py index a75161ed177..f67b50938f6 100644 --- a/msgraph_beta/generated/role_management/exchange/role_definitions/item/inherits_permissions_from/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_get_response.py +++ b/msgraph_beta/generated/role_management/exchange/role_definitions/item/inherits_permissions_from/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ........models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ........models.directory_object import DirectoryObject + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/role_management/exchange/transitive_role_assignments/count/count_request_builder.py b/msgraph_beta/generated/role_management/exchange/transitive_role_assignments/count/count_request_builder.py index 05ae4e07e3c..1ba3176e5a6 100644 --- a/msgraph_beta/generated/role_management/exchange/transitive_role_assignments/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/exchange/transitive_role_assignments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/schema_extensions/count/count_request_builder.py b/msgraph_beta/generated/schema_extensions/count/count_request_builder.py index 6bc96cc2293..014ff79d5a7 100644 --- a/msgraph_beta/generated/schema_extensions/count/count_request_builder.py +++ b/msgraph_beta/generated/schema_extensions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/scoped_role_memberships/count/count_request_builder.py b/msgraph_beta/generated/scoped_role_memberships/count/count_request_builder.py index 587323f5d18..63e9283925e 100644 --- a/msgraph_beta/generated/scoped_role_memberships/count/count_request_builder.py +++ b/msgraph_beta/generated/scoped_role_memberships/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/search/acronyms/count/count_request_builder.py b/msgraph_beta/generated/search/acronyms/count/count_request_builder.py index eb2ed7071b4..90469b77e33 100644 --- a/msgraph_beta/generated/search/acronyms/count/count_request_builder.py +++ b/msgraph_beta/generated/search/acronyms/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/search/bookmarks/count/count_request_builder.py b/msgraph_beta/generated/search/bookmarks/count/count_request_builder.py index ae1c5d3542c..da55f40fcee 100644 --- a/msgraph_beta/generated/search/bookmarks/count/count_request_builder.py +++ b/msgraph_beta/generated/search/bookmarks/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/search/qnas/count/count_request_builder.py b/msgraph_beta/generated/search/qnas/count/count_request_builder.py index 36ef1fd0919..4178b7cb516 100644 --- a/msgraph_beta/generated/search/qnas/count/count_request_builder.py +++ b/msgraph_beta/generated/search/qnas/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/search/query/query_post_request_body.py b/msgraph_beta/generated/search/query/query_post_request_body.py index 718cf4426c2..47b854a9448 100644 --- a/msgraph_beta/generated/search/query/query_post_request_body.py +++ b/msgraph_beta/generated/search/query/query_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ...models.search_request import SearchRequest + writer.write_collection_of_object_values("requests", self.requests) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/search/query/query_post_response.py b/msgraph_beta/generated/search/query/query_post_response.py index 6c2c7b12d41..ff459e2b91d 100644 --- a/msgraph_beta/generated/search/query/query_post_response.py +++ b/msgraph_beta/generated/search/query/query_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ...models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ...models.search_response import SearchResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/security/alerts/count/count_request_builder.py b/msgraph_beta/generated/security/alerts/count/count_request_builder.py index 9168185fb08..7d183e111ed 100644 --- a/msgraph_beta/generated/security/alerts/count/count_request_builder.py +++ b/msgraph_beta/generated/security/alerts/count/count_request_builder.py @@ -45,7 +45,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/security/alerts/update_alerts/update_alerts_post_request_body.py b/msgraph_beta/generated/security/alerts/update_alerts/update_alerts_post_request_body.py index 7321e55ea1c..c3b4976a7e6 100644 --- a/msgraph_beta/generated/security/alerts/update_alerts/update_alerts_post_request_body.py +++ b/msgraph_beta/generated/security/alerts/update_alerts/update_alerts_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ....models.alert import Alert + writer.write_collection_of_object_values("value", self.value) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/security/alerts/update_alerts/update_alerts_post_response.py b/msgraph_beta/generated/security/alerts/update_alerts/update_alerts_post_response.py index 5b85c106f90..2c01256d7be 100644 --- a/msgraph_beta/generated/security/alerts/update_alerts/update_alerts_post_response.py +++ b/msgraph_beta/generated/security/alerts/update_alerts/update_alerts_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.alert import Alert + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/security/alerts_v2/count/count_request_builder.py b/msgraph_beta/generated/security/alerts_v2/count/count_request_builder.py index 46d93b4c2aa..80d43818efa 100644 --- a/msgraph_beta/generated/security/alerts_v2/count/count_request_builder.py +++ b/msgraph_beta/generated/security/alerts_v2/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/security/alerts_v2/item/comments/count/count_request_builder.py b/msgraph_beta/generated/security/alerts_v2/item/comments/count/count_request_builder.py index 0fb11ca72a4..7d6f33b70e4 100644 --- a/msgraph_beta/generated/security/alerts_v2/item/comments/count/count_request_builder.py +++ b/msgraph_beta/generated/security/alerts_v2/item/comments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/security/attack_simulation/end_user_notifications/count/count_request_builder.py b/msgraph_beta/generated/security/attack_simulation/end_user_notifications/count/count_request_builder.py index 8512d068476..02fe236622a 100644 --- a/msgraph_beta/generated/security/attack_simulation/end_user_notifications/count/count_request_builder.py +++ b/msgraph_beta/generated/security/attack_simulation/end_user_notifications/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/security/attack_simulation/end_user_notifications/item/details/count/count_request_builder.py b/msgraph_beta/generated/security/attack_simulation/end_user_notifications/item/details/count/count_request_builder.py index a7067865eb2..e6222bb2f10 100644 --- a/msgraph_beta/generated/security/attack_simulation/end_user_notifications/item/details/count/count_request_builder.py +++ b/msgraph_beta/generated/security/attack_simulation/end_user_notifications/item/details/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/security/attack_simulation/landing_pages/count/count_request_builder.py b/msgraph_beta/generated/security/attack_simulation/landing_pages/count/count_request_builder.py index 09031fb4595..a22b602afba 100644 --- a/msgraph_beta/generated/security/attack_simulation/landing_pages/count/count_request_builder.py +++ b/msgraph_beta/generated/security/attack_simulation/landing_pages/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/security/attack_simulation/landing_pages/item/details/count/count_request_builder.py b/msgraph_beta/generated/security/attack_simulation/landing_pages/item/details/count/count_request_builder.py index c985ff24fb0..dbc0f54bddd 100644 --- a/msgraph_beta/generated/security/attack_simulation/landing_pages/item/details/count/count_request_builder.py +++ b/msgraph_beta/generated/security/attack_simulation/landing_pages/item/details/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/security/attack_simulation/login_pages/count/count_request_builder.py b/msgraph_beta/generated/security/attack_simulation/login_pages/count/count_request_builder.py index 8900f10e861..47e1a0a7c3f 100644 --- a/msgraph_beta/generated/security/attack_simulation/login_pages/count/count_request_builder.py +++ b/msgraph_beta/generated/security/attack_simulation/login_pages/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/security/attack_simulation/operations/count/count_request_builder.py b/msgraph_beta/generated/security/attack_simulation/operations/count/count_request_builder.py index f71a2d0b120..f19e01b7e89 100644 --- a/msgraph_beta/generated/security/attack_simulation/operations/count/count_request_builder.py +++ b/msgraph_beta/generated/security/attack_simulation/operations/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/security/attack_simulation/payloads/count/count_request_builder.py b/msgraph_beta/generated/security/attack_simulation/payloads/count/count_request_builder.py index 6f683bc7488..d790337a853 100644 --- a/msgraph_beta/generated/security/attack_simulation/payloads/count/count_request_builder.py +++ b/msgraph_beta/generated/security/attack_simulation/payloads/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/security/attack_simulation/simulation_automations/count/count_request_builder.py b/msgraph_beta/generated/security/attack_simulation/simulation_automations/count/count_request_builder.py index 2e10fdbc906..771ddb5498f 100644 --- a/msgraph_beta/generated/security/attack_simulation/simulation_automations/count/count_request_builder.py +++ b/msgraph_beta/generated/security/attack_simulation/simulation_automations/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/security/attack_simulation/simulation_automations/item/runs/count/count_request_builder.py b/msgraph_beta/generated/security/attack_simulation/simulation_automations/item/runs/count/count_request_builder.py index 672df25e9f4..00c2f85c7b4 100644 --- a/msgraph_beta/generated/security/attack_simulation/simulation_automations/item/runs/count/count_request_builder.py +++ b/msgraph_beta/generated/security/attack_simulation/simulation_automations/item/runs/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/security/attack_simulation/simulations/count/count_request_builder.py b/msgraph_beta/generated/security/attack_simulation/simulations/count/count_request_builder.py index f12296e0680..f7c9bb1c135 100644 --- a/msgraph_beta/generated/security/attack_simulation/simulations/count/count_request_builder.py +++ b/msgraph_beta/generated/security/attack_simulation/simulations/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/security/attack_simulation/training_campaigns/count/count_request_builder.py b/msgraph_beta/generated/security/attack_simulation/training_campaigns/count/count_request_builder.py index a1805327dc0..05777b2e451 100644 --- a/msgraph_beta/generated/security/attack_simulation/training_campaigns/count/count_request_builder.py +++ b/msgraph_beta/generated/security/attack_simulation/training_campaigns/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/security/attack_simulation/trainings/count/count_request_builder.py b/msgraph_beta/generated/security/attack_simulation/trainings/count/count_request_builder.py index 30066158fe2..f4fada4b8a9 100644 --- a/msgraph_beta/generated/security/attack_simulation/trainings/count/count_request_builder.py +++ b/msgraph_beta/generated/security/attack_simulation/trainings/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/security/attack_simulation/trainings/item/language_details/count/count_request_builder.py b/msgraph_beta/generated/security/attack_simulation/trainings/item/language_details/count/count_request_builder.py index 96a0a17ef3f..4db5b69ee5f 100644 --- a/msgraph_beta/generated/security/attack_simulation/trainings/item/language_details/count/count_request_builder.py +++ b/msgraph_beta/generated/security/attack_simulation/trainings/item/language_details/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/security/audit_log/queries/count/count_request_builder.py b/msgraph_beta/generated/security/audit_log/queries/count/count_request_builder.py index ebfe02a54ed..eb4dcd806ee 100644 --- a/msgraph_beta/generated/security/audit_log/queries/count/count_request_builder.py +++ b/msgraph_beta/generated/security/audit_log/queries/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/security/audit_log/queries/item/records/count/count_request_builder.py b/msgraph_beta/generated/security/audit_log/queries/item/records/count/count_request_builder.py index 7d14e62a78f..3041e6647a4 100644 --- a/msgraph_beta/generated/security/audit_log/queries/item/records/count/count_request_builder.py +++ b/msgraph_beta/generated/security/audit_log/queries/item/records/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/security/cases/ediscovery_cases/count/count_request_builder.py b/msgraph_beta/generated/security/cases/ediscovery_cases/count/count_request_builder.py index 03c530e2900..789c585ad8f 100644 --- a/msgraph_beta/generated/security/cases/ediscovery_cases/count/count_request_builder.py +++ b/msgraph_beta/generated/security/cases/ediscovery_cases/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/security/cases/ediscovery_cases/item/custodians/count/count_request_builder.py b/msgraph_beta/generated/security/cases/ediscovery_cases/item/custodians/count/count_request_builder.py index 54b6585181a..73662d22e48 100644 --- a/msgraph_beta/generated/security/cases/ediscovery_cases/item/custodians/count/count_request_builder.py +++ b/msgraph_beta/generated/security/cases/ediscovery_cases/item/custodians/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/security/cases/ediscovery_cases/item/custodians/item/site_sources/count/count_request_builder.py b/msgraph_beta/generated/security/cases/ediscovery_cases/item/custodians/item/site_sources/count/count_request_builder.py index efa5101999e..1f9fbe3a450 100644 --- a/msgraph_beta/generated/security/cases/ediscovery_cases/item/custodians/item/site_sources/count/count_request_builder.py +++ b/msgraph_beta/generated/security/cases/ediscovery_cases/item/custodians/item/site_sources/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/security/cases/ediscovery_cases/item/custodians/item/site_sources/site_sources_request_builder.py b/msgraph_beta/generated/security/cases/ediscovery_cases/item/custodians/item/site_sources/site_sources_request_builder.py index b0a37347e7d..ccedffc1090 100644 --- a/msgraph_beta/generated/security/cases/ediscovery_cases/item/custodians/item/site_sources/site_sources_request_builder.py +++ b/msgraph_beta/generated/security/cases/ediscovery_cases/item/custodians/item/site_sources/site_sources_request_builder.py @@ -48,7 +48,7 @@ def by_site_source_id(self,site_source_id: str) -> SiteSourceItemRequestBuilder: async def get(self,request_configuration: Optional[RequestConfiguration[SiteSourcesRequestBuilderGetQueryParameters]] = None) -> Optional[SiteSourceCollectionResponse]: """ - Get a list of the siteSource objects associated with an ediscoveryCustodian. + Get a list of the siteSource objects associated with an ediscoveryCustodian or ediscoveryHoldPolicy. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SiteSourceCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/security-ediscoverycustodian-list-sitesources?view=graph-rest-beta @@ -93,7 +93,7 @@ async def post(self,body: SiteSource, request_configuration: Optional[RequestCon def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[SiteSourcesRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Get a list of the siteSource objects associated with an ediscoveryCustodian. + Get a list of the siteSource objects associated with an ediscoveryCustodian or ediscoveryHoldPolicy. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -139,7 +139,7 @@ def count(self) -> CountRequestBuilder: @dataclass class SiteSourcesRequestBuilderGetQueryParameters(): """ - Get a list of the siteSource objects associated with an ediscoveryCustodian. + Get a list of the siteSource objects associated with an ediscoveryCustodian or ediscoveryHoldPolicy. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/security/cases/ediscovery_cases/item/custodians/item/unified_group_sources/count/count_request_builder.py b/msgraph_beta/generated/security/cases/ediscovery_cases/item/custodians/item/unified_group_sources/count/count_request_builder.py index cfe9feb4689..eb7b7a0a5ee 100644 --- a/msgraph_beta/generated/security/cases/ediscovery_cases/item/custodians/item/unified_group_sources/count/count_request_builder.py +++ b/msgraph_beta/generated/security/cases/ediscovery_cases/item/custodians/item/unified_group_sources/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/security/cases/ediscovery_cases/item/custodians/item/unified_group_sources/item/group/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/security/cases/ediscovery_cases/item/custodians/item/unified_group_sources/item/group/service_provisioning_errors/count/count_request_builder.py index 688d83ab105..12e7dab0d81 100644 --- a/msgraph_beta/generated/security/cases/ediscovery_cases/item/custodians/item/unified_group_sources/item/group/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/security/cases/ediscovery_cases/item/custodians/item/unified_group_sources/item/group/service_provisioning_errors/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/security/cases/ediscovery_cases/item/custodians/item/user_sources/count/count_request_builder.py b/msgraph_beta/generated/security/cases/ediscovery_cases/item/custodians/item/user_sources/count/count_request_builder.py index 5b14f3d3c11..957575bb626 100644 --- a/msgraph_beta/generated/security/cases/ediscovery_cases/item/custodians/item/user_sources/count/count_request_builder.py +++ b/msgraph_beta/generated/security/cases/ediscovery_cases/item/custodians/item/user_sources/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/security/cases/ediscovery_cases/item/custodians/item/user_sources/user_sources_request_builder.py b/msgraph_beta/generated/security/cases/ediscovery_cases/item/custodians/item/user_sources/user_sources_request_builder.py index 70d02c7b177..149b1df74ff 100644 --- a/msgraph_beta/generated/security/cases/ediscovery_cases/item/custodians/item/user_sources/user_sources_request_builder.py +++ b/msgraph_beta/generated/security/cases/ediscovery_cases/item/custodians/item/user_sources/user_sources_request_builder.py @@ -48,7 +48,7 @@ def by_user_source_id(self,user_source_id: str) -> UserSourceItemRequestBuilder: async def get(self,request_configuration: Optional[RequestConfiguration[UserSourcesRequestBuilderGetQueryParameters]] = None) -> Optional[UserSourceCollectionResponse]: """ - Get a list of the userSource objects associated with an ediscoveryCustodian. + Get a list of the userSource objects associated with an ediscoveryCustodian or ediscoveryHoldPolicy. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UserSourceCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/security-ediscoverycustodian-list-usersources?view=graph-rest-beta @@ -93,7 +93,7 @@ async def post(self,body: UserSource, request_configuration: Optional[RequestCon def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[UserSourcesRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Get a list of the userSource objects associated with an ediscoveryCustodian. + Get a list of the userSource objects associated with an ediscoveryCustodian or ediscoveryHoldPolicy. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -139,7 +139,7 @@ def count(self) -> CountRequestBuilder: @dataclass class UserSourcesRequestBuilderGetQueryParameters(): """ - Get a list of the userSource objects associated with an ediscoveryCustodian. + Get a list of the userSource objects associated with an ediscoveryCustodian or ediscoveryHoldPolicy. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/security/cases/ediscovery_cases/item/legal_holds/count/count_request_builder.py b/msgraph_beta/generated/security/cases/ediscovery_cases/item/legal_holds/count/count_request_builder.py index 5ff4a9c06ad..d7a8feda381 100644 --- a/msgraph_beta/generated/security/cases/ediscovery_cases/item/legal_holds/count/count_request_builder.py +++ b/msgraph_beta/generated/security/cases/ediscovery_cases/item/legal_holds/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/security/cases/ediscovery_cases/item/legal_holds/item/site_sources/count/count_request_builder.py b/msgraph_beta/generated/security/cases/ediscovery_cases/item/legal_holds/item/site_sources/count/count_request_builder.py index 30358e82866..c0a6243dd16 100644 --- a/msgraph_beta/generated/security/cases/ediscovery_cases/item/legal_holds/item/site_sources/count/count_request_builder.py +++ b/msgraph_beta/generated/security/cases/ediscovery_cases/item/legal_holds/item/site_sources/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/security/cases/ediscovery_cases/item/legal_holds/item/user_sources/count/count_request_builder.py b/msgraph_beta/generated/security/cases/ediscovery_cases/item/legal_holds/item/user_sources/count/count_request_builder.py index ef23e4a0f78..57a795455ee 100644 --- a/msgraph_beta/generated/security/cases/ediscovery_cases/item/legal_holds/item/user_sources/count/count_request_builder.py +++ b/msgraph_beta/generated/security/cases/ediscovery_cases/item/legal_holds/item/user_sources/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/security/cases/ediscovery_cases/item/noncustodial_data_sources/count/count_request_builder.py b/msgraph_beta/generated/security/cases/ediscovery_cases/item/noncustodial_data_sources/count/count_request_builder.py index e95b3bf9ae7..07f7e15ab51 100644 --- a/msgraph_beta/generated/security/cases/ediscovery_cases/item/noncustodial_data_sources/count/count_request_builder.py +++ b/msgraph_beta/generated/security/cases/ediscovery_cases/item/noncustodial_data_sources/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/security/cases/ediscovery_cases/item/operations/count/count_request_builder.py b/msgraph_beta/generated/security/cases/ediscovery_cases/item/operations/count/count_request_builder.py index e4fc8781e19..ec4750d176b 100644 --- a/msgraph_beta/generated/security/cases/ediscovery_cases/item/operations/count/count_request_builder.py +++ b/msgraph_beta/generated/security/cases/ediscovery_cases/item/operations/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/security/cases/ediscovery_cases/item/review_sets/count/count_request_builder.py b/msgraph_beta/generated/security/cases/ediscovery_cases/item/review_sets/count/count_request_builder.py index 75f435930d2..f226a197c88 100644 --- a/msgraph_beta/generated/security/cases/ediscovery_cases/item/review_sets/count/count_request_builder.py +++ b/msgraph_beta/generated/security/cases/ediscovery_cases/item/review_sets/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/security/cases/ediscovery_cases/item/review_sets/item/files/count/count_request_builder.py b/msgraph_beta/generated/security/cases/ediscovery_cases/item/review_sets/item/files/count/count_request_builder.py index 284a0e102b5..57e0e488904 100644 --- a/msgraph_beta/generated/security/cases/ediscovery_cases/item/review_sets/item/files/count/count_request_builder.py +++ b/msgraph_beta/generated/security/cases/ediscovery_cases/item/review_sets/item/files/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/security/cases/ediscovery_cases/item/review_sets/item/files/item/tags/count/count_request_builder.py b/msgraph_beta/generated/security/cases/ediscovery_cases/item/review_sets/item/files/item/tags/count/count_request_builder.py index 6311e6fd454..6cf1d12a5bf 100644 --- a/msgraph_beta/generated/security/cases/ediscovery_cases/item/review_sets/item/files/item/tags/count/count_request_builder.py +++ b/msgraph_beta/generated/security/cases/ediscovery_cases/item/review_sets/item/files/item/tags/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/security/cases/ediscovery_cases/item/review_sets/item/microsoft_graph_security_add_to_review_set/add_to_review_set_post_request_body.py b/msgraph_beta/generated/security/cases/ediscovery_cases/item/review_sets/item/microsoft_graph_security_add_to_review_set/add_to_review_set_post_request_body.py index 08392277018..3796adf875c 100644 --- a/msgraph_beta/generated/security/cases/ediscovery_cases/item/review_sets/item/microsoft_graph_security_add_to_review_set/add_to_review_set_post_request_body.py +++ b/msgraph_beta/generated/security/cases/ediscovery_cases/item/review_sets/item/microsoft_graph_security_add_to_review_set/add_to_review_set_post_request_body.py @@ -56,6 +56,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ........models.security.additional_data_options import AdditionalDataOptions + from ........models.security.ediscovery_search import EdiscoverySearch + writer.write_enum_value("additionalDataOptions", self.additional_data_options) writer.write_object_value("search", self.search) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/security/cases/ediscovery_cases/item/review_sets/item/microsoft_graph_security_export/export_post_request_body.py b/msgraph_beta/generated/security/cases/ediscovery_cases/item/review_sets/item/microsoft_graph_security_export/export_post_request_body.py index 72cc7053762..1606cc93f25 100644 --- a/msgraph_beta/generated/security/cases/ediscovery_cases/item/review_sets/item/microsoft_graph_security_export/export_post_request_body.py +++ b/msgraph_beta/generated/security/cases/ediscovery_cases/item/review_sets/item/microsoft_graph_security_export/export_post_request_body.py @@ -68,6 +68,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ........models.security.export_file_structure import ExportFileStructure + from ........models.security.export_options import ExportOptions + writer.write_str_value("azureBlobContainer", self.azure_blob_container) writer.write_str_value("azureBlobToken", self.azure_blob_token) writer.write_str_value("description", self.description) diff --git a/msgraph_beta/generated/security/cases/ediscovery_cases/item/review_sets/item/queries/count/count_request_builder.py b/msgraph_beta/generated/security/cases/ediscovery_cases/item/review_sets/item/queries/count/count_request_builder.py index b0864a7f885..34e99c5858e 100644 --- a/msgraph_beta/generated/security/cases/ediscovery_cases/item/review_sets/item/queries/count/count_request_builder.py +++ b/msgraph_beta/generated/security/cases/ediscovery_cases/item/review_sets/item/queries/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/security/cases/ediscovery_cases/item/review_sets/item/queries/item/microsoft_graph_security_apply_tags/apply_tags_post_request_body.py b/msgraph_beta/generated/security/cases/ediscovery_cases/item/review_sets/item/queries/item/microsoft_graph_security_apply_tags/apply_tags_post_request_body.py index a3d9539caa8..bc894932040 100644 --- a/msgraph_beta/generated/security/cases/ediscovery_cases/item/review_sets/item/queries/item/microsoft_graph_security_apply_tags/apply_tags_post_request_body.py +++ b/msgraph_beta/generated/security/cases/ediscovery_cases/item/review_sets/item/queries/item/microsoft_graph_security_apply_tags/apply_tags_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ..........models.security.ediscovery_review_tag import EdiscoveryReviewTag + writer.write_collection_of_object_values("tagsToAdd", self.tags_to_add) writer.write_collection_of_object_values("tagsToRemove", self.tags_to_remove) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/security/cases/ediscovery_cases/item/review_sets/item/queries/item/microsoft_graph_security_export/export_post_request_body.py b/msgraph_beta/generated/security/cases/ediscovery_cases/item/review_sets/item/queries/item/microsoft_graph_security_export/export_post_request_body.py index 360b5b949c4..359e88fd5b6 100644 --- a/msgraph_beta/generated/security/cases/ediscovery_cases/item/review_sets/item/queries/item/microsoft_graph_security_export/export_post_request_body.py +++ b/msgraph_beta/generated/security/cases/ediscovery_cases/item/review_sets/item/queries/item/microsoft_graph_security_export/export_post_request_body.py @@ -68,6 +68,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ..........models.security.export_file_structure import ExportFileStructure + from ..........models.security.export_options import ExportOptions + writer.write_str_value("azureBlobContainer", self.azure_blob_container) writer.write_str_value("azureBlobToken", self.azure_blob_token) writer.write_str_value("description", self.description) diff --git a/msgraph_beta/generated/security/cases/ediscovery_cases/item/review_sets/item/queries/item/microsoft_graph_security_run/run_get_response.py b/msgraph_beta/generated/security/cases/ediscovery_cases/item/review_sets/item/queries/item/microsoft_graph_security_run/run_get_response.py index 287a2b602b6..5d0a6143733 100644 --- a/msgraph_beta/generated/security/cases/ediscovery_cases/item/review_sets/item/queries/item/microsoft_graph_security_run/run_get_response.py +++ b/msgraph_beta/generated/security/cases/ediscovery_cases/item/review_sets/item/queries/item/microsoft_graph_security_run/run_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..........models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ..........models.security.ediscovery_file import EdiscoveryFile + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/security/cases/ediscovery_cases/item/searches/count/count_request_builder.py b/msgraph_beta/generated/security/cases/ediscovery_cases/item/searches/count/count_request_builder.py index 15a43d10751..79252afa67e 100644 --- a/msgraph_beta/generated/security/cases/ediscovery_cases/item/searches/count/count_request_builder.py +++ b/msgraph_beta/generated/security/cases/ediscovery_cases/item/searches/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/security/cases/ediscovery_cases/item/searches/item/additional_sources/count/count_request_builder.py b/msgraph_beta/generated/security/cases/ediscovery_cases/item/searches/item/additional_sources/count/count_request_builder.py index d8da0a67425..0fbd346add7 100644 --- a/msgraph_beta/generated/security/cases/ediscovery_cases/item/searches/item/additional_sources/count/count_request_builder.py +++ b/msgraph_beta/generated/security/cases/ediscovery_cases/item/searches/item/additional_sources/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/security/cases/ediscovery_cases/item/searches/item/custodian_sources/count/count_request_builder.py b/msgraph_beta/generated/security/cases/ediscovery_cases/item/searches/item/custodian_sources/count/count_request_builder.py index ebcfefd7d6d..06bcc13523f 100644 --- a/msgraph_beta/generated/security/cases/ediscovery_cases/item/searches/item/custodian_sources/count/count_request_builder.py +++ b/msgraph_beta/generated/security/cases/ediscovery_cases/item/searches/item/custodian_sources/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/security/cases/ediscovery_cases/item/searches/item/microsoft_graph_security_export_report/export_report_post_request_body.py b/msgraph_beta/generated/security/cases/ediscovery_cases/item/searches/item/microsoft_graph_security_export_report/export_report_post_request_body.py index e447e71dd82..1120324d410 100644 --- a/msgraph_beta/generated/security/cases/ediscovery_cases/item/searches/item/microsoft_graph_security_export_report/export_report_post_request_body.py +++ b/msgraph_beta/generated/security/cases/ediscovery_cases/item/searches/item/microsoft_graph_security_export_report/export_report_post_request_body.py @@ -68,6 +68,10 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ........models.security.additional_options import AdditionalOptions + from ........models.security.export_criteria import ExportCriteria + from ........models.security.export_location import ExportLocation + writer.write_enum_value("additionalOptions", self.additional_options) writer.write_str_value("description", self.description) writer.write_str_value("displayName", self.display_name) diff --git a/msgraph_beta/generated/security/cases/ediscovery_cases/item/searches/item/microsoft_graph_security_export_report/microsoft_graph_security_export_report_request_builder.py b/msgraph_beta/generated/security/cases/ediscovery_cases/item/searches/item/microsoft_graph_security_export_report/microsoft_graph_security_export_report_request_builder.py index 0fb4a1c3285..a8b591ca317 100644 --- a/msgraph_beta/generated/security/cases/ediscovery_cases/item/searches/item/microsoft_graph_security_export_report/microsoft_graph_security_export_report_request_builder.py +++ b/msgraph_beta/generated/security/cases/ediscovery_cases/item/searches/item/microsoft_graph_security_export_report/microsoft_graph_security_export_report_request_builder.py @@ -35,6 +35,7 @@ async def post(self,body: ExportReportPostRequestBody, request_configuration: Op 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/security-ediscoverysearch-exportreport?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") diff --git a/msgraph_beta/generated/security/cases/ediscovery_cases/item/searches/item/microsoft_graph_security_export_result/export_result_post_request_body.py b/msgraph_beta/generated/security/cases/ediscovery_cases/item/searches/item/microsoft_graph_security_export_result/export_result_post_request_body.py index 5f1f0dfb6e0..88f98aa1a0a 100644 --- a/msgraph_beta/generated/security/cases/ediscovery_cases/item/searches/item/microsoft_graph_security_export_result/export_result_post_request_body.py +++ b/msgraph_beta/generated/security/cases/ediscovery_cases/item/searches/item/microsoft_graph_security_export_result/export_result_post_request_body.py @@ -77,6 +77,11 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ........models.security.additional_options import AdditionalOptions + from ........models.security.export_criteria import ExportCriteria + from ........models.security.export_format import ExportFormat + from ........models.security.export_location import ExportLocation + writer.write_enum_value("additionalOptions", self.additional_options) writer.write_str_value("description", self.description) writer.write_str_value("displayName", self.display_name) diff --git a/msgraph_beta/generated/security/cases/ediscovery_cases/item/searches/item/microsoft_graph_security_export_result/microsoft_graph_security_export_result_request_builder.py b/msgraph_beta/generated/security/cases/ediscovery_cases/item/searches/item/microsoft_graph_security_export_result/microsoft_graph_security_export_result_request_builder.py index 85a1d2b2e06..034a45fe347 100644 --- a/msgraph_beta/generated/security/cases/ediscovery_cases/item/searches/item/microsoft_graph_security_export_result/microsoft_graph_security_export_result_request_builder.py +++ b/msgraph_beta/generated/security/cases/ediscovery_cases/item/searches/item/microsoft_graph_security_export_result/microsoft_graph_security_export_result_request_builder.py @@ -35,6 +35,7 @@ async def post(self,body: ExportResultPostRequestBody, request_configuration: Op 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/security-ediscoverysearch-exportresult?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") diff --git a/msgraph_beta/generated/security/cases/ediscovery_cases/item/searches/item/microsoft_graph_security_purge_data/microsoft_graph_security_purge_data_request_builder.py b/msgraph_beta/generated/security/cases/ediscovery_cases/item/searches/item/microsoft_graph_security_purge_data/microsoft_graph_security_purge_data_request_builder.py index b16e04a5967..de46c148dce 100644 --- a/msgraph_beta/generated/security/cases/ediscovery_cases/item/searches/item/microsoft_graph_security_purge_data/microsoft_graph_security_purge_data_request_builder.py +++ b/msgraph_beta/generated/security/cases/ediscovery_cases/item/searches/item/microsoft_graph_security_purge_data/microsoft_graph_security_purge_data_request_builder.py @@ -31,7 +31,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def post(self,body: PurgeDataPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ - Delete Microsoft Teams messages contained in a eDiscovery search. You can collect and purge the following categories of Teams content:- Teams 1:1 chats - Chat messages, posts, and attachments shared in a Teams conversation between two people. Teams 1:1 chats are also called *conversations*.- Teams group chats - Chat messages, posts, and attachments shared in a Teams conversation between three or more people. Also called *1:N* chats or *group conversations*.- Teams channels - Chat messages, posts, replies, and attachments shared in a standard Teams channel.- Private channels - Message posts, replies, and attachments shared in a private Teams channel.- Shared channels - Message posts, replies, and attachments shared in a shared Teams channel. For more information about purging Teams messages, see:- eDiscovery solution series: Data spillage scenario - Search and purge- eDiscovery (Premium) workflow for content in Microsoft Teams + Delete Exchange mailbox items or Microsoft Teams messages contained in an eDiscovery search. You can collect and purge the following categories of Teams content:- Teams 1:1 chats - Chat messages, posts, and attachments shared in a Teams conversation between two people. Teams 1:1 chats are also called *conversations*.- Teams group chats - Chat messages, posts, and attachments shared in a Teams conversation between three or more people. Also called *1:N* chats or *group conversations*.- Teams channels - Chat messages, posts, replies, and attachments shared in a standard Teams channel.- Private channels - Message posts, replies, and attachments shared in a private Teams channel.- Shared channels - Message posts, replies, and attachments shared in a shared Teams channel. For more information about purging Teams messages, see:- eDiscovery solution series: Data spillage scenario - Search and purge- eDiscovery (Premium) workflow for content in Microsoft Teams param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -53,7 +53,7 @@ async def post(self,body: PurgeDataPostRequestBody, request_configuration: Optio def to_post_request_information(self,body: PurgeDataPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Delete Microsoft Teams messages contained in a eDiscovery search. You can collect and purge the following categories of Teams content:- Teams 1:1 chats - Chat messages, posts, and attachments shared in a Teams conversation between two people. Teams 1:1 chats are also called *conversations*.- Teams group chats - Chat messages, posts, and attachments shared in a Teams conversation between three or more people. Also called *1:N* chats or *group conversations*.- Teams channels - Chat messages, posts, replies, and attachments shared in a standard Teams channel.- Private channels - Message posts, replies, and attachments shared in a private Teams channel.- Shared channels - Message posts, replies, and attachments shared in a shared Teams channel. For more information about purging Teams messages, see:- eDiscovery solution series: Data spillage scenario - Search and purge- eDiscovery (Premium) workflow for content in Microsoft Teams + Delete Exchange mailbox items or Microsoft Teams messages contained in an eDiscovery search. You can collect and purge the following categories of Teams content:- Teams 1:1 chats - Chat messages, posts, and attachments shared in a Teams conversation between two people. Teams 1:1 chats are also called *conversations*.- Teams group chats - Chat messages, posts, and attachments shared in a Teams conversation between three or more people. Also called *1:N* chats or *group conversations*.- Teams channels - Chat messages, posts, replies, and attachments shared in a standard Teams channel.- Private channels - Message posts, replies, and attachments shared in a private Teams channel.- Shared channels - Message posts, replies, and attachments shared in a shared Teams channel. For more information about purging Teams messages, see:- eDiscovery solution series: Data spillage scenario - Search and purge- eDiscovery (Premium) workflow for content in Microsoft Teams param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/security/cases/ediscovery_cases/item/searches/item/microsoft_graph_security_purge_data/purge_data_post_request_body.py b/msgraph_beta/generated/security/cases/ediscovery_cases/item/searches/item/microsoft_graph_security_purge_data/purge_data_post_request_body.py index 789aeeb7cc2..7ec9cca63e9 100644 --- a/msgraph_beta/generated/security/cases/ediscovery_cases/item/searches/item/microsoft_graph_security_purge_data/purge_data_post_request_body.py +++ b/msgraph_beta/generated/security/cases/ediscovery_cases/item/searches/item/microsoft_graph_security_purge_data/purge_data_post_request_body.py @@ -56,6 +56,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ........models.security.purge_areas import PurgeAreas + from ........models.security.purge_type import PurgeType + writer.write_enum_value("purgeAreas", self.purge_areas) writer.write_enum_value("purgeType", self.purge_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/security/cases/ediscovery_cases/item/searches/item/noncustodial_sources/count/count_request_builder.py b/msgraph_beta/generated/security/cases/ediscovery_cases/item/searches/item/noncustodial_sources/count/count_request_builder.py index c9e354f607c..e7c2556e737 100644 --- a/msgraph_beta/generated/security/cases/ediscovery_cases/item/searches/item/noncustodial_sources/count/count_request_builder.py +++ b/msgraph_beta/generated/security/cases/ediscovery_cases/item/searches/item/noncustodial_sources/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/security/cases/ediscovery_cases/item/tags/count/count_request_builder.py b/msgraph_beta/generated/security/cases/ediscovery_cases/item/tags/count/count_request_builder.py index 1a23085b47c..221e6f267ce 100644 --- a/msgraph_beta/generated/security/cases/ediscovery_cases/item/tags/count/count_request_builder.py +++ b/msgraph_beta/generated/security/cases/ediscovery_cases/item/tags/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/security/cases/ediscovery_cases/item/tags/item/child_tags/count/count_request_builder.py b/msgraph_beta/generated/security/cases/ediscovery_cases/item/tags/item/child_tags/count/count_request_builder.py index 4b819586778..91dcb743d4e 100644 --- a/msgraph_beta/generated/security/cases/ediscovery_cases/item/tags/item/child_tags/count/count_request_builder.py +++ b/msgraph_beta/generated/security/cases/ediscovery_cases/item/tags/item/child_tags/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/security/cases/ediscovery_cases/item/tags/microsoft_graph_security_as_hierarchy/as_hierarchy_get_response.py b/msgraph_beta/generated/security/cases/ediscovery_cases/item/tags/microsoft_graph_security_as_hierarchy/as_hierarchy_get_response.py index 5c1f3f57688..3e6332cfbea 100644 --- a/msgraph_beta/generated/security/cases/ediscovery_cases/item/tags/microsoft_graph_security_as_hierarchy/as_hierarchy_get_response.py +++ b/msgraph_beta/generated/security/cases/ediscovery_cases/item/tags/microsoft_graph_security_as_hierarchy/as_hierarchy_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .......models.security.ediscovery_review_tag import EdiscoveryReviewTag + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/security/cloud_app_security_profiles/count/count_request_builder.py b/msgraph_beta/generated/security/cloud_app_security_profiles/count/count_request_builder.py index cbdce27317f..b3552f036cf 100644 --- a/msgraph_beta/generated/security/cloud_app_security_profiles/count/count_request_builder.py +++ b/msgraph_beta/generated/security/cloud_app_security_profiles/count/count_request_builder.py @@ -45,7 +45,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/security/collaboration/analyzed_emails/count/count_request_builder.py b/msgraph_beta/generated/security/collaboration/analyzed_emails/count/count_request_builder.py index 3a4d02dd45f..3641d85baf2 100644 --- a/msgraph_beta/generated/security/collaboration/analyzed_emails/count/count_request_builder.py +++ b/msgraph_beta/generated/security/collaboration/analyzed_emails/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/security/collaboration/analyzed_emails/microsoft_graph_security_remediate/remediate_post_request_body.py b/msgraph_beta/generated/security/collaboration/analyzed_emails/microsoft_graph_security_remediate/remediate_post_request_body.py index f9c392cefe2..4512251fc92 100644 --- a/msgraph_beta/generated/security/collaboration/analyzed_emails/microsoft_graph_security_remediate/remediate_post_request_body.py +++ b/msgraph_beta/generated/security/collaboration/analyzed_emails/microsoft_graph_security_remediate/remediate_post_request_body.py @@ -71,6 +71,10 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.security.analyzed_email import AnalyzedEmail + from .....models.security.remediation_action import RemediationAction + from .....models.security.remediation_severity import RemediationSeverity + writer.write_enum_value("action", self.action) writer.write_collection_of_object_values("analyzedEmails", self.analyzed_emails) writer.write_str_value("description", self.description) diff --git a/msgraph_beta/generated/security/domain_security_profiles/count/count_request_builder.py b/msgraph_beta/generated/security/domain_security_profiles/count/count_request_builder.py index 894ba341c59..3cd973ce6d9 100644 --- a/msgraph_beta/generated/security/domain_security_profiles/count/count_request_builder.py +++ b/msgraph_beta/generated/security/domain_security_profiles/count/count_request_builder.py @@ -45,7 +45,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/security/file_security_profiles/count/count_request_builder.py b/msgraph_beta/generated/security/file_security_profiles/count/count_request_builder.py index 3b19cef0503..1066b390ec9 100644 --- a/msgraph_beta/generated/security/file_security_profiles/count/count_request_builder.py +++ b/msgraph_beta/generated/security/file_security_profiles/count/count_request_builder.py @@ -45,7 +45,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/security/host_security_profiles/count/count_request_builder.py b/msgraph_beta/generated/security/host_security_profiles/count/count_request_builder.py index a6049dc50e5..de95a89df12 100644 --- a/msgraph_beta/generated/security/host_security_profiles/count/count_request_builder.py +++ b/msgraph_beta/generated/security/host_security_profiles/count/count_request_builder.py @@ -45,7 +45,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/security/identities/health_issues/count/count_request_builder.py b/msgraph_beta/generated/security/identities/health_issues/count/count_request_builder.py index 44f06d205bc..cf58f6440ce 100644 --- a/msgraph_beta/generated/security/identities/health_issues/count/count_request_builder.py +++ b/msgraph_beta/generated/security/identities/health_issues/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/security/identities/sensors/count/count_request_builder.py b/msgraph_beta/generated/security/identities/sensors/count/count_request_builder.py index 634bde36fdb..69f74efc856 100644 --- a/msgraph_beta/generated/security/identities/sensors/count/count_request_builder.py +++ b/msgraph_beta/generated/security/identities/sensors/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/security/identities/sensors/item/health_issues/count/count_request_builder.py b/msgraph_beta/generated/security/identities/sensors/item/health_issues/count/count_request_builder.py index 06493d3c8e4..e0b098a0269 100644 --- a/msgraph_beta/generated/security/identities/sensors/item/health_issues/count/count_request_builder.py +++ b/msgraph_beta/generated/security/identities/sensors/item/health_issues/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/security/identities/sensors/item/sensor_item_request_builder.py b/msgraph_beta/generated/security/identities/sensors/item/sensor_item_request_builder.py index 489798ee46b..3519807c980 100644 --- a/msgraph_beta/generated/security/identities/sensors/item/sensor_item_request_builder.py +++ b/msgraph_beta/generated/security/identities/sensors/item/sensor_item_request_builder.py @@ -35,7 +35,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query Delete a sensor object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None - Find more info here: https://learn.microsoft.com/graph/api/security-identitycontainer-delete-sensors?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/security-sensor-delete?view=graph-rest-beta """ request_info = self.to_delete_request_information( request_configuration diff --git a/msgraph_beta/generated/security/incidents/count/count_request_builder.py b/msgraph_beta/generated/security/incidents/count/count_request_builder.py index e083c5af49b..b90bb412022 100644 --- a/msgraph_beta/generated/security/incidents/count/count_request_builder.py +++ b/msgraph_beta/generated/security/incidents/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/security/incidents/item/alerts/count/count_request_builder.py b/msgraph_beta/generated/security/incidents/item/alerts/count/count_request_builder.py index 234e174fa6a..562ce554579 100644 --- a/msgraph_beta/generated/security/incidents/item/alerts/count/count_request_builder.py +++ b/msgraph_beta/generated/security/incidents/item/alerts/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/security/incidents/item/alerts/item/comments/count/count_request_builder.py b/msgraph_beta/generated/security/incidents/item/alerts/item/comments/count/count_request_builder.py index a1bdc67de75..153e16e8751 100644 --- a/msgraph_beta/generated/security/incidents/item/alerts/item/comments/count/count_request_builder.py +++ b/msgraph_beta/generated/security/incidents/item/alerts/item/comments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/security/information_protection/sensitivity_labels/count/count_request_builder.py b/msgraph_beta/generated/security/information_protection/sensitivity_labels/count/count_request_builder.py index e5cab39dc0a..f599d4654e0 100644 --- a/msgraph_beta/generated/security/information_protection/sensitivity_labels/count/count_request_builder.py +++ b/msgraph_beta/generated/security/information_protection/sensitivity_labels/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/security/information_protection/sensitivity_labels/microsoft_graph_security_evaluate_application/evaluate_application_post_request_body.py b/msgraph_beta/generated/security/information_protection/sensitivity_labels/microsoft_graph_security_evaluate_application/evaluate_application_post_request_body.py index 7dc81446cd5..5ef54773f28 100644 --- a/msgraph_beta/generated/security/information_protection/sensitivity_labels/microsoft_graph_security_evaluate_application/evaluate_application_post_request_body.py +++ b/msgraph_beta/generated/security/information_protection/sensitivity_labels/microsoft_graph_security_evaluate_application/evaluate_application_post_request_body.py @@ -56,6 +56,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.security.content_info import ContentInfo + from .....models.security.labeling_options import LabelingOptions + writer.write_object_value("contentInfo", self.content_info) writer.write_object_value("labelingOptions", self.labeling_options) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/security/information_protection/sensitivity_labels/microsoft_graph_security_evaluate_application/evaluate_application_post_response.py b/msgraph_beta/generated/security/information_protection/sensitivity_labels/microsoft_graph_security_evaluate_application/evaluate_application_post_response.py index d9121f0a55f..a044a772f70 100644 --- a/msgraph_beta/generated/security/information_protection/sensitivity_labels/microsoft_graph_security_evaluate_application/evaluate_application_post_response.py +++ b/msgraph_beta/generated/security/information_protection/sensitivity_labels/microsoft_graph_security_evaluate_application/evaluate_application_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .....models.security.information_protection_action import InformationProtectionAction + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/security/information_protection/sensitivity_labels/microsoft_graph_security_evaluate_classification_results/evaluate_classification_results_post_request_body.py b/msgraph_beta/generated/security/information_protection/sensitivity_labels/microsoft_graph_security_evaluate_classification_results/evaluate_classification_results_post_request_body.py index 83ddbd6e944..791180507af 100644 --- a/msgraph_beta/generated/security/information_protection/sensitivity_labels/microsoft_graph_security_evaluate_classification_results/evaluate_classification_results_post_request_body.py +++ b/msgraph_beta/generated/security/information_protection/sensitivity_labels/microsoft_graph_security_evaluate_classification_results/evaluate_classification_results_post_request_body.py @@ -56,6 +56,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.security.classification_result import ClassificationResult + from .....models.security.content_info import ContentInfo + writer.write_collection_of_object_values("classificationResults", self.classification_results) writer.write_object_value("contentInfo", self.content_info) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/security/information_protection/sensitivity_labels/microsoft_graph_security_evaluate_classification_results/evaluate_classification_results_post_response.py b/msgraph_beta/generated/security/information_protection/sensitivity_labels/microsoft_graph_security_evaluate_classification_results/evaluate_classification_results_post_response.py index a94717c75b0..c6f3c882bbd 100644 --- a/msgraph_beta/generated/security/information_protection/sensitivity_labels/microsoft_graph_security_evaluate_classification_results/evaluate_classification_results_post_response.py +++ b/msgraph_beta/generated/security/information_protection/sensitivity_labels/microsoft_graph_security_evaluate_classification_results/evaluate_classification_results_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .....models.security.information_protection_action import InformationProtectionAction + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/security/information_protection/sensitivity_labels/microsoft_graph_security_evaluate_removal/evaluate_removal_post_request_body.py b/msgraph_beta/generated/security/information_protection/sensitivity_labels/microsoft_graph_security_evaluate_removal/evaluate_removal_post_request_body.py index 03c94cc6018..b93caefc565 100644 --- a/msgraph_beta/generated/security/information_protection/sensitivity_labels/microsoft_graph_security_evaluate_removal/evaluate_removal_post_request_body.py +++ b/msgraph_beta/generated/security/information_protection/sensitivity_labels/microsoft_graph_security_evaluate_removal/evaluate_removal_post_request_body.py @@ -56,6 +56,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.security.content_info import ContentInfo + from .....models.security.downgrade_justification import DowngradeJustification + writer.write_object_value("contentInfo", self.content_info) writer.write_object_value("downgradeJustification", self.downgrade_justification) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/security/information_protection/sensitivity_labels/microsoft_graph_security_evaluate_removal/evaluate_removal_post_response.py b/msgraph_beta/generated/security/information_protection/sensitivity_labels/microsoft_graph_security_evaluate_removal/evaluate_removal_post_response.py index 53f814bcccf..7d796660d90 100644 --- a/msgraph_beta/generated/security/information_protection/sensitivity_labels/microsoft_graph_security_evaluate_removal/evaluate_removal_post_response.py +++ b/msgraph_beta/generated/security/information_protection/sensitivity_labels/microsoft_graph_security_evaluate_removal/evaluate_removal_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .....models.security.information_protection_action import InformationProtectionAction + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/security/information_protection/sensitivity_labels/microsoft_graph_security_extract_content_label/extract_content_label_post_request_body.py b/msgraph_beta/generated/security/information_protection/sensitivity_labels/microsoft_graph_security_extract_content_label/extract_content_label_post_request_body.py index 08d53d8d3b9..86b18442ebb 100644 --- a/msgraph_beta/generated/security/information_protection/sensitivity_labels/microsoft_graph_security_extract_content_label/extract_content_label_post_request_body.py +++ b/msgraph_beta/generated/security/information_protection/sensitivity_labels/microsoft_graph_security_extract_content_label/extract_content_label_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.security.content_info import ContentInfo + writer.write_object_value("contentInfo", self.content_info) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/security/ip_security_profiles/count/count_request_builder.py b/msgraph_beta/generated/security/ip_security_profiles/count/count_request_builder.py index 58d58d935af..1aa0a8ab090 100644 --- a/msgraph_beta/generated/security/ip_security_profiles/count/count_request_builder.py +++ b/msgraph_beta/generated/security/ip_security_profiles/count/count_request_builder.py @@ -45,7 +45,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/security/labels/authorities/count/count_request_builder.py b/msgraph_beta/generated/security/labels/authorities/count/count_request_builder.py index e6332e391b6..03b368e70f4 100644 --- a/msgraph_beta/generated/security/labels/authorities/count/count_request_builder.py +++ b/msgraph_beta/generated/security/labels/authorities/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/security/labels/categories/count/count_request_builder.py b/msgraph_beta/generated/security/labels/categories/count/count_request_builder.py index 096771a5357..70f126f1e1d 100644 --- a/msgraph_beta/generated/security/labels/categories/count/count_request_builder.py +++ b/msgraph_beta/generated/security/labels/categories/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/security/labels/categories/item/subcategories/count/count_request_builder.py b/msgraph_beta/generated/security/labels/categories/item/subcategories/count/count_request_builder.py index c1f09aff4f0..9d9795f8452 100644 --- a/msgraph_beta/generated/security/labels/categories/item/subcategories/count/count_request_builder.py +++ b/msgraph_beta/generated/security/labels/categories/item/subcategories/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/security/labels/citations/count/count_request_builder.py b/msgraph_beta/generated/security/labels/citations/count/count_request_builder.py index e34032be3be..675019b44b1 100644 --- a/msgraph_beta/generated/security/labels/citations/count/count_request_builder.py +++ b/msgraph_beta/generated/security/labels/citations/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/security/labels/departments/count/count_request_builder.py b/msgraph_beta/generated/security/labels/departments/count/count_request_builder.py index 244f98e30b8..0a1da15a022 100644 --- a/msgraph_beta/generated/security/labels/departments/count/count_request_builder.py +++ b/msgraph_beta/generated/security/labels/departments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/security/labels/file_plan_references/count/count_request_builder.py b/msgraph_beta/generated/security/labels/file_plan_references/count/count_request_builder.py index 45c4edb106a..07e2df486e1 100644 --- a/msgraph_beta/generated/security/labels/file_plan_references/count/count_request_builder.py +++ b/msgraph_beta/generated/security/labels/file_plan_references/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/security/labels/retention_labels/count/count_request_builder.py b/msgraph_beta/generated/security/labels/retention_labels/count/count_request_builder.py index c2ccaffc155..810a0d048f5 100644 --- a/msgraph_beta/generated/security/labels/retention_labels/count/count_request_builder.py +++ b/msgraph_beta/generated/security/labels/retention_labels/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/security/labels/retention_labels/item/disposition_review_stages/count/count_request_builder.py b/msgraph_beta/generated/security/labels/retention_labels/item/disposition_review_stages/count/count_request_builder.py index 8ec2705c36f..342af137f2d 100644 --- a/msgraph_beta/generated/security/labels/retention_labels/item/disposition_review_stages/count/count_request_builder.py +++ b/msgraph_beta/generated/security/labels/retention_labels/item/disposition_review_stages/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/security/partner/security_alerts/count/count_request_builder.py b/msgraph_beta/generated/security/partner/security_alerts/count/count_request_builder.py index edaba0960af..2e0b294f2cf 100644 --- a/msgraph_beta/generated/security/partner/security_alerts/count/count_request_builder.py +++ b/msgraph_beta/generated/security/partner/security_alerts/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/security/partner/security_score/customer_insights/count/count_request_builder.py b/msgraph_beta/generated/security/partner/security_score/customer_insights/count/count_request_builder.py index f880be0b0d5..71503f4ed99 100644 --- a/msgraph_beta/generated/security/partner/security_score/customer_insights/count/count_request_builder.py +++ b/msgraph_beta/generated/security/partner/security_score/customer_insights/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/security/partner/security_score/history/count/count_request_builder.py b/msgraph_beta/generated/security/partner/security_score/history/count/count_request_builder.py index 84c372a247e..ef60f9a27d9 100644 --- a/msgraph_beta/generated/security/partner/security_score/history/count/count_request_builder.py +++ b/msgraph_beta/generated/security/partner/security_score/history/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/security/partner/security_score/requirements/count/count_request_builder.py b/msgraph_beta/generated/security/partner/security_score/requirements/count/count_request_builder.py index bdee7f66541..ee88349b745 100644 --- a/msgraph_beta/generated/security/partner/security_score/requirements/count/count_request_builder.py +++ b/msgraph_beta/generated/security/partner/security_score/requirements/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/security/provider_tenant_settings/count/count_request_builder.py b/msgraph_beta/generated/security/provider_tenant_settings/count/count_request_builder.py index b398c511c62..086c624aa94 100644 --- a/msgraph_beta/generated/security/provider_tenant_settings/count/count_request_builder.py +++ b/msgraph_beta/generated/security/provider_tenant_settings/count/count_request_builder.py @@ -45,7 +45,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/security/rules/detection_rules/count/count_request_builder.py b/msgraph_beta/generated/security/rules/detection_rules/count/count_request_builder.py index 8037a7bb327..67d616b4686 100644 --- a/msgraph_beta/generated/security/rules/detection_rules/count/count_request_builder.py +++ b/msgraph_beta/generated/security/rules/detection_rules/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/security/secure_score_control_profiles/count/count_request_builder.py b/msgraph_beta/generated/security/secure_score_control_profiles/count/count_request_builder.py index 2942ecde181..5ccc23d65f7 100644 --- a/msgraph_beta/generated/security/secure_score_control_profiles/count/count_request_builder.py +++ b/msgraph_beta/generated/security/secure_score_control_profiles/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/security/secure_scores/count/count_request_builder.py b/msgraph_beta/generated/security/secure_scores/count/count_request_builder.py index 97df0255fd5..2f8bf0b5fa6 100644 --- a/msgraph_beta/generated/security/secure_scores/count/count_request_builder.py +++ b/msgraph_beta/generated/security/secure_scores/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/security/security_actions/count/count_request_builder.py b/msgraph_beta/generated/security/security_actions/count/count_request_builder.py index 5ac1c861f1b..0db416b1c54 100644 --- a/msgraph_beta/generated/security/security_actions/count/count_request_builder.py +++ b/msgraph_beta/generated/security/security_actions/count/count_request_builder.py @@ -45,7 +45,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/security/subject_rights_requests/count/count_request_builder.py b/msgraph_beta/generated/security/subject_rights_requests/count/count_request_builder.py index 43eab554120..3aa3244a1aa 100644 --- a/msgraph_beta/generated/security/subject_rights_requests/count/count_request_builder.py +++ b/msgraph_beta/generated/security/subject_rights_requests/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/security/subject_rights_requests/item/approvers/count/count_request_builder.py b/msgraph_beta/generated/security/subject_rights_requests/item/approvers/count/count_request_builder.py index 3b095abf93a..7822f2ace99 100644 --- a/msgraph_beta/generated/security/subject_rights_requests/item/approvers/count/count_request_builder.py +++ b/msgraph_beta/generated/security/subject_rights_requests/item/approvers/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/security/subject_rights_requests/item/approvers/item/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/security/subject_rights_requests/item/approvers/item/service_provisioning_errors/count/count_request_builder.py index ef09259e7ad..8449470790d 100644 --- a/msgraph_beta/generated/security/subject_rights_requests/item/approvers/item/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/security/subject_rights_requests/item/approvers/item/service_provisioning_errors/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/security/subject_rights_requests/item/approvers_with_user_principal_name/approvers_with_user_principal_name_request_builder.py b/msgraph_beta/generated/security/subject_rights_requests/item/approvers_with_user_principal_name/approvers_with_user_principal_name_request_builder.py new file mode 100644 index 00000000000..bab61c020a9 --- /dev/null +++ b/msgraph_beta/generated/security/subject_rights_requests/item/approvers_with_user_principal_name/approvers_with_user_principal_name_request_builder.py @@ -0,0 +1,109 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from .....models.o_data_errors.o_data_error import ODataError + from .....models.user import User + +class ApproversWithUserPrincipalNameRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the approvers property of the microsoft.graph.subjectRightsRequest entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]], user_principal_name: Optional[str] = None) -> None: + """ + Instantiates a new ApproversWithUserPrincipalNameRequestBuilder 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 user_principal_name: Alternate key of user + Returns: None + """ + if isinstance(path_parameters, dict): + path_parameters['userPrincipalName'] = user_principal_name + super().__init__(request_adapter, "{+baseurl}/security/subjectRightsRequests/{subjectRightsRequest%2Did}/approvers(userPrincipalName='{userPrincipalName}'){?%24expand,%24select}", path_parameters) + + async def get(self,request_configuration: Optional[RequestConfiguration[ApproversWithUserPrincipalNameRequestBuilderGetQueryParameters]] = None) -> Optional[User]: + """ + Get approvers from security + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[User] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from .....models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .....models.user import User + + return await self.request_adapter.send_async(request_info, User, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ApproversWithUserPrincipalNameRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Get approvers from security + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: str) -> ApproversWithUserPrincipalNameRequestBuilder: + """ + 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: ApproversWithUserPrincipalNameRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return ApproversWithUserPrincipalNameRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class ApproversWithUserPrincipalNameRequestBuilderGetQueryParameters(): + """ + Get approvers from security + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "expand": + return "%24expand" + if original_name == "select": + return "%24select" + return original_name + + # Expand related entities + expand: Optional[List[str]] = None + + # Select properties to be returned + select: Optional[List[str]] = None + + + @dataclass + class ApproversWithUserPrincipalNameRequestBuilderGetRequestConfiguration(RequestConfiguration[ApproversWithUserPrincipalNameRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/security/subject_rights_requests/item/collaborators/count/count_request_builder.py b/msgraph_beta/generated/security/subject_rights_requests/item/collaborators/count/count_request_builder.py index 74d9a79db41..dc248329232 100644 --- a/msgraph_beta/generated/security/subject_rights_requests/item/collaborators/count/count_request_builder.py +++ b/msgraph_beta/generated/security/subject_rights_requests/item/collaborators/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/security/subject_rights_requests/item/collaborators/item/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/security/subject_rights_requests/item/collaborators/item/service_provisioning_errors/count/count_request_builder.py index d47339b973e..776100f271a 100644 --- a/msgraph_beta/generated/security/subject_rights_requests/item/collaborators/item/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/security/subject_rights_requests/item/collaborators/item/service_provisioning_errors/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/security/subject_rights_requests/item/collaborators_with_user_principal_name/collaborators_with_user_principal_name_request_builder.py b/msgraph_beta/generated/security/subject_rights_requests/item/collaborators_with_user_principal_name/collaborators_with_user_principal_name_request_builder.py new file mode 100644 index 00000000000..c9848ab24fd --- /dev/null +++ b/msgraph_beta/generated/security/subject_rights_requests/item/collaborators_with_user_principal_name/collaborators_with_user_principal_name_request_builder.py @@ -0,0 +1,109 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from .....models.o_data_errors.o_data_error import ODataError + from .....models.user import User + +class CollaboratorsWithUserPrincipalNameRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the collaborators property of the microsoft.graph.subjectRightsRequest entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]], user_principal_name: Optional[str] = None) -> None: + """ + Instantiates a new CollaboratorsWithUserPrincipalNameRequestBuilder 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 user_principal_name: Alternate key of user + Returns: None + """ + if isinstance(path_parameters, dict): + path_parameters['userPrincipalName'] = user_principal_name + super().__init__(request_adapter, "{+baseurl}/security/subjectRightsRequests/{subjectRightsRequest%2Did}/collaborators(userPrincipalName='{userPrincipalName}'){?%24expand,%24select}", path_parameters) + + async def get(self,request_configuration: Optional[RequestConfiguration[CollaboratorsWithUserPrincipalNameRequestBuilderGetQueryParameters]] = None) -> Optional[User]: + """ + Get collaborators from security + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[User] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from .....models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .....models.user import User + + return await self.request_adapter.send_async(request_info, User, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CollaboratorsWithUserPrincipalNameRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Get collaborators from security + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: str) -> CollaboratorsWithUserPrincipalNameRequestBuilder: + """ + 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: CollaboratorsWithUserPrincipalNameRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return CollaboratorsWithUserPrincipalNameRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class CollaboratorsWithUserPrincipalNameRequestBuilderGetQueryParameters(): + """ + Get collaborators from security + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "expand": + return "%24expand" + if original_name == "select": + return "%24select" + return original_name + + # Expand related entities + expand: Optional[List[str]] = None + + # Select properties to be returned + select: Optional[List[str]] = None + + + @dataclass + class CollaboratorsWithUserPrincipalNameRequestBuilderGetRequestConfiguration(RequestConfiguration[CollaboratorsWithUserPrincipalNameRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/security/subject_rights_requests/item/notes/count/count_request_builder.py b/msgraph_beta/generated/security/subject_rights_requests/item/notes/count/count_request_builder.py index 40a1bf0800d..0370f43cacb 100644 --- a/msgraph_beta/generated/security/subject_rights_requests/item/notes/count/count_request_builder.py +++ b/msgraph_beta/generated/security/subject_rights_requests/item/notes/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/security/subject_rights_requests/item/subject_rights_request_item_request_builder.py b/msgraph_beta/generated/security/subject_rights_requests/item/subject_rights_request_item_request_builder.py index 75b28887b88..10028874e29 100644 --- a/msgraph_beta/generated/security/subject_rights_requests/item/subject_rights_request_item_request_builder.py +++ b/msgraph_beta/generated/security/subject_rights_requests/item/subject_rights_request_item_request_builder.py @@ -16,7 +16,9 @@ from ....models.o_data_errors.o_data_error import ODataError from ....models.subject_rights_request import SubjectRightsRequest from .approvers.approvers_request_builder import ApproversRequestBuilder + from .approvers_with_user_principal_name.approvers_with_user_principal_name_request_builder import ApproversWithUserPrincipalNameRequestBuilder from .collaborators.collaborators_request_builder import CollaboratorsRequestBuilder + from .collaborators_with_user_principal_name.collaborators_with_user_principal_name_request_builder import CollaboratorsWithUserPrincipalNameRequestBuilder from .get_final_attachment.get_final_attachment_request_builder import GetFinalAttachmentRequestBuilder from .get_final_report.get_final_report_request_builder import GetFinalReportRequestBuilder from .notes.notes_request_builder import NotesRequestBuilder @@ -35,6 +37,30 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D """ super().__init__(request_adapter, "{+baseurl}/security/subjectRightsRequests/{subjectRightsRequest%2Did}{?%24expand,%24select}", path_parameters) + def approvers_with_user_principal_name(self,user_principal_name: str) -> ApproversWithUserPrincipalNameRequestBuilder: + """ + Provides operations to manage the approvers property of the microsoft.graph.subjectRightsRequest entity. + param user_principal_name: Alternate key of user + Returns: ApproversWithUserPrincipalNameRequestBuilder + """ + if user_principal_name is None: + raise TypeError("user_principal_name cannot be null.") + from .approvers_with_user_principal_name.approvers_with_user_principal_name_request_builder import ApproversWithUserPrincipalNameRequestBuilder + + return ApproversWithUserPrincipalNameRequestBuilder(self.request_adapter, self.path_parameters, user_principal_name) + + def collaborators_with_user_principal_name(self,user_principal_name: str) -> CollaboratorsWithUserPrincipalNameRequestBuilder: + """ + Provides operations to manage the collaborators property of the microsoft.graph.subjectRightsRequest entity. + param user_principal_name: Alternate key of user + Returns: CollaboratorsWithUserPrincipalNameRequestBuilder + """ + if user_principal_name is None: + raise TypeError("user_principal_name cannot be null.") + from .collaborators_with_user_principal_name.collaborators_with_user_principal_name_request_builder import CollaboratorsWithUserPrincipalNameRequestBuilder + + return CollaboratorsWithUserPrincipalNameRequestBuilder(self.request_adapter, self.path_parameters, user_principal_name) + async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ Delete navigation property subjectRightsRequests for security diff --git a/msgraph_beta/generated/security/threat_intelligence/article_indicators/count/count_request_builder.py b/msgraph_beta/generated/security/threat_intelligence/article_indicators/count/count_request_builder.py index f10c3d8a98b..46b48960c3a 100644 --- a/msgraph_beta/generated/security/threat_intelligence/article_indicators/count/count_request_builder.py +++ b/msgraph_beta/generated/security/threat_intelligence/article_indicators/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/security/threat_intelligence/articles/count/count_request_builder.py b/msgraph_beta/generated/security/threat_intelligence/articles/count/count_request_builder.py index 796c1433fa7..947c12f5c80 100644 --- a/msgraph_beta/generated/security/threat_intelligence/articles/count/count_request_builder.py +++ b/msgraph_beta/generated/security/threat_intelligence/articles/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/security/threat_intelligence/articles/item/indicators/count/count_request_builder.py b/msgraph_beta/generated/security/threat_intelligence/articles/item/indicators/count/count_request_builder.py index d9d8f5ef092..d313b724d2c 100644 --- a/msgraph_beta/generated/security/threat_intelligence/articles/item/indicators/count/count_request_builder.py +++ b/msgraph_beta/generated/security/threat_intelligence/articles/item/indicators/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/security/threat_intelligence/host_components/count/count_request_builder.py b/msgraph_beta/generated/security/threat_intelligence/host_components/count/count_request_builder.py index 2504adf1527..bce70337e2b 100644 --- a/msgraph_beta/generated/security/threat_intelligence/host_components/count/count_request_builder.py +++ b/msgraph_beta/generated/security/threat_intelligence/host_components/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/security/threat_intelligence/host_cookies/count/count_request_builder.py b/msgraph_beta/generated/security/threat_intelligence/host_cookies/count/count_request_builder.py index bf17d575594..328dc4d171e 100644 --- a/msgraph_beta/generated/security/threat_intelligence/host_cookies/count/count_request_builder.py +++ b/msgraph_beta/generated/security/threat_intelligence/host_cookies/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/security/threat_intelligence/host_pairs/count/count_request_builder.py b/msgraph_beta/generated/security/threat_intelligence/host_pairs/count/count_request_builder.py index dd2fa059e52..a9577c27486 100644 --- a/msgraph_beta/generated/security/threat_intelligence/host_pairs/count/count_request_builder.py +++ b/msgraph_beta/generated/security/threat_intelligence/host_pairs/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/security/threat_intelligence/host_ports/count/count_request_builder.py b/msgraph_beta/generated/security/threat_intelligence/host_ports/count/count_request_builder.py index 6bc4b9c3f11..7fe143d81d7 100644 --- a/msgraph_beta/generated/security/threat_intelligence/host_ports/count/count_request_builder.py +++ b/msgraph_beta/generated/security/threat_intelligence/host_ports/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/security/threat_intelligence/host_ssl_certificates/count/count_request_builder.py b/msgraph_beta/generated/security/threat_intelligence/host_ssl_certificates/count/count_request_builder.py index 75dddbf61a3..55c3c410b46 100644 --- a/msgraph_beta/generated/security/threat_intelligence/host_ssl_certificates/count/count_request_builder.py +++ b/msgraph_beta/generated/security/threat_intelligence/host_ssl_certificates/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/security/threat_intelligence/host_trackers/count/count_request_builder.py b/msgraph_beta/generated/security/threat_intelligence/host_trackers/count/count_request_builder.py index e885472b9d5..1cd1c54d62b 100644 --- a/msgraph_beta/generated/security/threat_intelligence/host_trackers/count/count_request_builder.py +++ b/msgraph_beta/generated/security/threat_intelligence/host_trackers/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/security/threat_intelligence/hosts/count/count_request_builder.py b/msgraph_beta/generated/security/threat_intelligence/hosts/count/count_request_builder.py index aa43982124f..1f72fb4df40 100644 --- a/msgraph_beta/generated/security/threat_intelligence/hosts/count/count_request_builder.py +++ b/msgraph_beta/generated/security/threat_intelligence/hosts/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/security/threat_intelligence/hosts/item/child_host_pairs/count/count_request_builder.py b/msgraph_beta/generated/security/threat_intelligence/hosts/item/child_host_pairs/count/count_request_builder.py index 373913cd0a8..7e194c91062 100644 --- a/msgraph_beta/generated/security/threat_intelligence/hosts/item/child_host_pairs/count/count_request_builder.py +++ b/msgraph_beta/generated/security/threat_intelligence/hosts/item/child_host_pairs/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/security/threat_intelligence/hosts/item/components/count/count_request_builder.py b/msgraph_beta/generated/security/threat_intelligence/hosts/item/components/count/count_request_builder.py index d65f02c2389..b257b64a5fb 100644 --- a/msgraph_beta/generated/security/threat_intelligence/hosts/item/components/count/count_request_builder.py +++ b/msgraph_beta/generated/security/threat_intelligence/hosts/item/components/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/security/threat_intelligence/hosts/item/cookies/count/count_request_builder.py b/msgraph_beta/generated/security/threat_intelligence/hosts/item/cookies/count/count_request_builder.py index df4da9c6cd4..d9f888e91a9 100644 --- a/msgraph_beta/generated/security/threat_intelligence/hosts/item/cookies/count/count_request_builder.py +++ b/msgraph_beta/generated/security/threat_intelligence/hosts/item/cookies/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/security/threat_intelligence/hosts/item/host_pairs/count/count_request_builder.py b/msgraph_beta/generated/security/threat_intelligence/hosts/item/host_pairs/count/count_request_builder.py index 33cd002a80a..7c280a1132c 100644 --- a/msgraph_beta/generated/security/threat_intelligence/hosts/item/host_pairs/count/count_request_builder.py +++ b/msgraph_beta/generated/security/threat_intelligence/hosts/item/host_pairs/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/security/threat_intelligence/hosts/item/parent_host_pairs/count/count_request_builder.py b/msgraph_beta/generated/security/threat_intelligence/hosts/item/parent_host_pairs/count/count_request_builder.py index 51cac232d2d..c62d7538098 100644 --- a/msgraph_beta/generated/security/threat_intelligence/hosts/item/parent_host_pairs/count/count_request_builder.py +++ b/msgraph_beta/generated/security/threat_intelligence/hosts/item/parent_host_pairs/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/security/threat_intelligence/hosts/item/passive_dns/count/count_request_builder.py b/msgraph_beta/generated/security/threat_intelligence/hosts/item/passive_dns/count/count_request_builder.py index 7b50af55472..1a499fe01b1 100644 --- a/msgraph_beta/generated/security/threat_intelligence/hosts/item/passive_dns/count/count_request_builder.py +++ b/msgraph_beta/generated/security/threat_intelligence/hosts/item/passive_dns/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/security/threat_intelligence/hosts/item/passive_dns_reverse/count/count_request_builder.py b/msgraph_beta/generated/security/threat_intelligence/hosts/item/passive_dns_reverse/count/count_request_builder.py index 19ce4b5d1ab..67279d48810 100644 --- a/msgraph_beta/generated/security/threat_intelligence/hosts/item/passive_dns_reverse/count/count_request_builder.py +++ b/msgraph_beta/generated/security/threat_intelligence/hosts/item/passive_dns_reverse/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/security/threat_intelligence/hosts/item/ports/count/count_request_builder.py b/msgraph_beta/generated/security/threat_intelligence/hosts/item/ports/count/count_request_builder.py index a841c0c0a16..1d845ac3295 100644 --- a/msgraph_beta/generated/security/threat_intelligence/hosts/item/ports/count/count_request_builder.py +++ b/msgraph_beta/generated/security/threat_intelligence/hosts/item/ports/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/security/threat_intelligence/hosts/item/ssl_certificates/count/count_request_builder.py b/msgraph_beta/generated/security/threat_intelligence/hosts/item/ssl_certificates/count/count_request_builder.py index df70f855898..5c205e9c060 100644 --- a/msgraph_beta/generated/security/threat_intelligence/hosts/item/ssl_certificates/count/count_request_builder.py +++ b/msgraph_beta/generated/security/threat_intelligence/hosts/item/ssl_certificates/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/security/threat_intelligence/hosts/item/subdomains/count/count_request_builder.py b/msgraph_beta/generated/security/threat_intelligence/hosts/item/subdomains/count/count_request_builder.py index 712ddd7cbaf..137814d97f2 100644 --- a/msgraph_beta/generated/security/threat_intelligence/hosts/item/subdomains/count/count_request_builder.py +++ b/msgraph_beta/generated/security/threat_intelligence/hosts/item/subdomains/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/security/threat_intelligence/hosts/item/trackers/count/count_request_builder.py b/msgraph_beta/generated/security/threat_intelligence/hosts/item/trackers/count/count_request_builder.py index e37a339cf10..85653fc40b1 100644 --- a/msgraph_beta/generated/security/threat_intelligence/hosts/item/trackers/count/count_request_builder.py +++ b/msgraph_beta/generated/security/threat_intelligence/hosts/item/trackers/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/security/threat_intelligence/intel_profiles/count/count_request_builder.py b/msgraph_beta/generated/security/threat_intelligence/intel_profiles/count/count_request_builder.py index 3847a900ad5..e170df632e1 100644 --- a/msgraph_beta/generated/security/threat_intelligence/intel_profiles/count/count_request_builder.py +++ b/msgraph_beta/generated/security/threat_intelligence/intel_profiles/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/security/threat_intelligence/intel_profiles/item/indicators/count/count_request_builder.py b/msgraph_beta/generated/security/threat_intelligence/intel_profiles/item/indicators/count/count_request_builder.py index 5b6d709aa2b..598da1b40eb 100644 --- a/msgraph_beta/generated/security/threat_intelligence/intel_profiles/item/indicators/count/count_request_builder.py +++ b/msgraph_beta/generated/security/threat_intelligence/intel_profiles/item/indicators/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/security/threat_intelligence/intelligence_profile_indicators/count/count_request_builder.py b/msgraph_beta/generated/security/threat_intelligence/intelligence_profile_indicators/count/count_request_builder.py index 38033c63057..f8ba777aa0b 100644 --- a/msgraph_beta/generated/security/threat_intelligence/intelligence_profile_indicators/count/count_request_builder.py +++ b/msgraph_beta/generated/security/threat_intelligence/intelligence_profile_indicators/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/security/threat_intelligence/passive_dns_records/count/count_request_builder.py b/msgraph_beta/generated/security/threat_intelligence/passive_dns_records/count/count_request_builder.py index e7ae508f82d..1fbde613cdb 100644 --- a/msgraph_beta/generated/security/threat_intelligence/passive_dns_records/count/count_request_builder.py +++ b/msgraph_beta/generated/security/threat_intelligence/passive_dns_records/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/security/threat_intelligence/ssl_certificates/count/count_request_builder.py b/msgraph_beta/generated/security/threat_intelligence/ssl_certificates/count/count_request_builder.py index 9fb37667184..0b438c5bbca 100644 --- a/msgraph_beta/generated/security/threat_intelligence/ssl_certificates/count/count_request_builder.py +++ b/msgraph_beta/generated/security/threat_intelligence/ssl_certificates/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/security/threat_intelligence/ssl_certificates/item/related_hosts/count/count_request_builder.py b/msgraph_beta/generated/security/threat_intelligence/ssl_certificates/item/related_hosts/count/count_request_builder.py index 1b1d40b2823..8b39b5b00e3 100644 --- a/msgraph_beta/generated/security/threat_intelligence/ssl_certificates/item/related_hosts/count/count_request_builder.py +++ b/msgraph_beta/generated/security/threat_intelligence/ssl_certificates/item/related_hosts/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/security/threat_intelligence/subdomains/count/count_request_builder.py b/msgraph_beta/generated/security/threat_intelligence/subdomains/count/count_request_builder.py index 463f7799e73..31d78021e8b 100644 --- a/msgraph_beta/generated/security/threat_intelligence/subdomains/count/count_request_builder.py +++ b/msgraph_beta/generated/security/threat_intelligence/subdomains/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/security/threat_intelligence/vulnerabilities/count/count_request_builder.py b/msgraph_beta/generated/security/threat_intelligence/vulnerabilities/count/count_request_builder.py index d4ab281878c..eeed4794b40 100644 --- a/msgraph_beta/generated/security/threat_intelligence/vulnerabilities/count/count_request_builder.py +++ b/msgraph_beta/generated/security/threat_intelligence/vulnerabilities/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/security/threat_intelligence/vulnerabilities/item/articles/count/count_request_builder.py b/msgraph_beta/generated/security/threat_intelligence/vulnerabilities/item/articles/count/count_request_builder.py index 01a9a65285a..ad5ec2dceae 100644 --- a/msgraph_beta/generated/security/threat_intelligence/vulnerabilities/item/articles/count/count_request_builder.py +++ b/msgraph_beta/generated/security/threat_intelligence/vulnerabilities/item/articles/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/security/threat_intelligence/vulnerabilities/item/components/count/count_request_builder.py b/msgraph_beta/generated/security/threat_intelligence/vulnerabilities/item/components/count/count_request_builder.py index 86ba11d2bee..a714b9fdf77 100644 --- a/msgraph_beta/generated/security/threat_intelligence/vulnerabilities/item/components/count/count_request_builder.py +++ b/msgraph_beta/generated/security/threat_intelligence/vulnerabilities/item/components/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/security/threat_intelligence/whois_history_records/count/count_request_builder.py b/msgraph_beta/generated/security/threat_intelligence/whois_history_records/count/count_request_builder.py index 44cff02ea2b..8531790c99b 100644 --- a/msgraph_beta/generated/security/threat_intelligence/whois_history_records/count/count_request_builder.py +++ b/msgraph_beta/generated/security/threat_intelligence/whois_history_records/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/security/threat_intelligence/whois_records/count/count_request_builder.py b/msgraph_beta/generated/security/threat_intelligence/whois_records/count/count_request_builder.py index f55323b6ab2..64e63b9b2aa 100644 --- a/msgraph_beta/generated/security/threat_intelligence/whois_records/count/count_request_builder.py +++ b/msgraph_beta/generated/security/threat_intelligence/whois_records/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/security/threat_intelligence/whois_records/item/history/count/count_request_builder.py b/msgraph_beta/generated/security/threat_intelligence/whois_records/item/history/count/count_request_builder.py index e03fd210926..edac256bd1f 100644 --- a/msgraph_beta/generated/security/threat_intelligence/whois_records/item/history/count/count_request_builder.py +++ b/msgraph_beta/generated/security/threat_intelligence/whois_records/item/history/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/security/threat_submission/email_threat_submission_policies/count/count_request_builder.py b/msgraph_beta/generated/security/threat_submission/email_threat_submission_policies/count/count_request_builder.py index cb5677170b4..8cd8a1b94be 100644 --- a/msgraph_beta/generated/security/threat_submission/email_threat_submission_policies/count/count_request_builder.py +++ b/msgraph_beta/generated/security/threat_submission/email_threat_submission_policies/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/security/threat_submission/email_threats/count/count_request_builder.py b/msgraph_beta/generated/security/threat_submission/email_threats/count/count_request_builder.py index 2bc116be610..292c9462ca6 100644 --- a/msgraph_beta/generated/security/threat_submission/email_threats/count/count_request_builder.py +++ b/msgraph_beta/generated/security/threat_submission/email_threats/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/security/threat_submission/file_threats/count/count_request_builder.py b/msgraph_beta/generated/security/threat_submission/file_threats/count/count_request_builder.py index 21c420e2cc7..e62957e08ce 100644 --- a/msgraph_beta/generated/security/threat_submission/file_threats/count/count_request_builder.py +++ b/msgraph_beta/generated/security/threat_submission/file_threats/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/security/threat_submission/url_threats/count/count_request_builder.py b/msgraph_beta/generated/security/threat_submission/url_threats/count/count_request_builder.py index cb526f1be72..e2601281598 100644 --- a/msgraph_beta/generated/security/threat_submission/url_threats/count/count_request_builder.py +++ b/msgraph_beta/generated/security/threat_submission/url_threats/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/security/ti_indicators/count/count_request_builder.py b/msgraph_beta/generated/security/ti_indicators/count/count_request_builder.py index ee9227c37ac..2ee2e25eb5a 100644 --- a/msgraph_beta/generated/security/ti_indicators/count/count_request_builder.py +++ b/msgraph_beta/generated/security/ti_indicators/count/count_request_builder.py @@ -45,7 +45,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/security/ti_indicators/delete_ti_indicators/delete_ti_indicators_post_response.py b/msgraph_beta/generated/security/ti_indicators/delete_ti_indicators/delete_ti_indicators_post_response.py index d08c163070a..124f1affd2b 100644 --- a/msgraph_beta/generated/security/ti_indicators/delete_ti_indicators/delete_ti_indicators_post_response.py +++ b/msgraph_beta/generated/security/ti_indicators/delete_ti_indicators/delete_ti_indicators_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ....models.result_info import ResultInfo + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/security/ti_indicators/delete_ti_indicators_by_external_id/delete_ti_indicators_by_external_id_post_response.py b/msgraph_beta/generated/security/ti_indicators/delete_ti_indicators_by_external_id/delete_ti_indicators_by_external_id_post_response.py index c9b727ad37f..8cba27d9c28 100644 --- a/msgraph_beta/generated/security/ti_indicators/delete_ti_indicators_by_external_id/delete_ti_indicators_by_external_id_post_response.py +++ b/msgraph_beta/generated/security/ti_indicators/delete_ti_indicators_by_external_id/delete_ti_indicators_by_external_id_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ....models.result_info import ResultInfo + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/security/ti_indicators/submit_ti_indicators/submit_ti_indicators_post_request_body.py b/msgraph_beta/generated/security/ti_indicators/submit_ti_indicators/submit_ti_indicators_post_request_body.py index 523fae5e0f6..0f6f9479d67 100644 --- a/msgraph_beta/generated/security/ti_indicators/submit_ti_indicators/submit_ti_indicators_post_request_body.py +++ b/msgraph_beta/generated/security/ti_indicators/submit_ti_indicators/submit_ti_indicators_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ....models.ti_indicator import TiIndicator + writer.write_collection_of_object_values("value", self.value) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/security/ti_indicators/submit_ti_indicators/submit_ti_indicators_post_response.py b/msgraph_beta/generated/security/ti_indicators/submit_ti_indicators/submit_ti_indicators_post_response.py index b85e1e90512..523275df1a4 100644 --- a/msgraph_beta/generated/security/ti_indicators/submit_ti_indicators/submit_ti_indicators_post_response.py +++ b/msgraph_beta/generated/security/ti_indicators/submit_ti_indicators/submit_ti_indicators_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ....models.ti_indicator import TiIndicator + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/security/ti_indicators/update_ti_indicators/update_ti_indicators_post_request_body.py b/msgraph_beta/generated/security/ti_indicators/update_ti_indicators/update_ti_indicators_post_request_body.py index 31045616b96..816050532f5 100644 --- a/msgraph_beta/generated/security/ti_indicators/update_ti_indicators/update_ti_indicators_post_request_body.py +++ b/msgraph_beta/generated/security/ti_indicators/update_ti_indicators/update_ti_indicators_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ....models.ti_indicator import TiIndicator + writer.write_collection_of_object_values("value", self.value) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/security/ti_indicators/update_ti_indicators/update_ti_indicators_post_response.py b/msgraph_beta/generated/security/ti_indicators/update_ti_indicators/update_ti_indicators_post_response.py index 326d5ae399a..c20aadca603 100644 --- a/msgraph_beta/generated/security/ti_indicators/update_ti_indicators/update_ti_indicators_post_response.py +++ b/msgraph_beta/generated/security/ti_indicators/update_ti_indicators/update_ti_indicators_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ....models.ti_indicator import TiIndicator + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/security/trigger_types/retention_event_types/count/count_request_builder.py b/msgraph_beta/generated/security/trigger_types/retention_event_types/count/count_request_builder.py index 8c20f57bbc1..e4a73c18c33 100644 --- a/msgraph_beta/generated/security/trigger_types/retention_event_types/count/count_request_builder.py +++ b/msgraph_beta/generated/security/trigger_types/retention_event_types/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/security/triggers/retention_events/count/count_request_builder.py b/msgraph_beta/generated/security/triggers/retention_events/count/count_request_builder.py index c8a830c5d49..4683a0cdf53 100644 --- a/msgraph_beta/generated/security/triggers/retention_events/count/count_request_builder.py +++ b/msgraph_beta/generated/security/triggers/retention_events/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/security/user_security_profiles/count/count_request_builder.py b/msgraph_beta/generated/security/user_security_profiles/count/count_request_builder.py index 4f286bdc119..e454c1d9e69 100644 --- a/msgraph_beta/generated/security/user_security_profiles/count/count_request_builder.py +++ b/msgraph_beta/generated/security/user_security_profiles/count/count_request_builder.py @@ -45,7 +45,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/service_principals/count/count_request_builder.py b/msgraph_beta/generated/service_principals/count/count_request_builder.py index 81e5ddb36c5..95c72dfa6a2 100644 --- a/msgraph_beta/generated/service_principals/count/count_request_builder.py +++ b/msgraph_beta/generated/service_principals/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/service_principals/delta/delta_get_response.py b/msgraph_beta/generated/service_principals/delta/delta_get_response.py index 64cf761ca90..9342b133017 100644 --- a/msgraph_beta/generated/service_principals/delta/delta_get_response.py +++ b/msgraph_beta/generated/service_principals/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ...models.base_delta_function_response import BaseDeltaFunctionResponse + from ...models.service_principal import ServicePrincipal + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/service_principals/delta/delta_request_builder.py b/msgraph_beta/generated/service_principals/delta/delta_request_builder.py index cef28e189a3..0a3db501ac5 100644 --- a/msgraph_beta/generated/service_principals/delta/delta_request_builder.py +++ b/msgraph_beta/generated/service_principals/delta/delta_request_builder.py @@ -31,7 +31,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def get(self,request_configuration: Optional[RequestConfiguration[DeltaRequestBuilderGetQueryParameters]] = None) -> Optional[DeltaGetResponse]: """ - Get newly created, updated, or deleted service principals without having to perform a full read of the entire resource collection. + Get newly created, updated, or deleted service principals without having to perform a full read of the entire resource collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeltaGetResponse] Find more info here: https://learn.microsoft.com/graph/api/serviceprincipal-delta?view=graph-rest-beta @@ -52,7 +52,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DeltaReq def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[DeltaRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Get newly created, updated, or deleted service principals without having to perform a full read of the entire resource collection. + Get newly created, updated, or deleted service principals without having to perform a full read of the entire resource collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -74,7 +74,7 @@ def with_url(self,raw_url: str) -> DeltaRequestBuilder: @dataclass class DeltaRequestBuilderGetQueryParameters(): """ - Get newly created, updated, or deleted service principals without having to perform a full read of the entire resource collection. + Get newly created, updated, or deleted service principals without having to perform a full read of the entire resource collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/service_principals/get_by_ids/get_by_ids_post_response.py b/msgraph_beta/generated/service_principals/get_by_ids/get_by_ids_post_response.py index a3099558efc..488f70f9c5d 100644 --- a/msgraph_beta/generated/service_principals/get_by_ids/get_by_ids_post_response.py +++ b/msgraph_beta/generated/service_principals/get_by_ids/get_by_ids_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ...models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ...models.directory_object import DirectoryObject + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/service_principals/item/app_management_policies/count/count_request_builder.py b/msgraph_beta/generated/service_principals/item/app_management_policies/count/count_request_builder.py index f1deaa14c76..237ee7fbba9 100644 --- a/msgraph_beta/generated/service_principals/item/app_management_policies/count/count_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/app_management_policies/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/service_principals/item/app_role_assigned_to/count/count_request_builder.py b/msgraph_beta/generated/service_principals/item/app_role_assigned_to/count/count_request_builder.py index 06058c2d220..484446a0fab 100644 --- a/msgraph_beta/generated/service_principals/item/app_role_assigned_to/count/count_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/app_role_assigned_to/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/service_principals/item/app_role_assignments/count/count_request_builder.py b/msgraph_beta/generated/service_principals/item/app_role_assignments/count/count_request_builder.py index a03bb824711..de5a1f9782f 100644 --- a/msgraph_beta/generated/service_principals/item/app_role_assignments/count/count_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/app_role_assignments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/service_principals/item/check_member_groups/check_member_groups_post_response.py b/msgraph_beta/generated/service_principals/item/check_member_groups/check_member_groups_post_response.py index cdf041e2573..b2ce0f888c9 100644 --- a/msgraph_beta/generated/service_principals/item/check_member_groups/check_member_groups_post_response.py +++ b/msgraph_beta/generated/service_principals/item/check_member_groups/check_member_groups_post_response.py @@ -49,6 +49,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_primitive_values("value", self.value) diff --git a/msgraph_beta/generated/service_principals/item/check_member_objects/check_member_objects_post_response.py b/msgraph_beta/generated/service_principals/item/check_member_objects/check_member_objects_post_response.py index 2dc94a92d04..e2a652a7c28 100644 --- a/msgraph_beta/generated/service_principals/item/check_member_objects/check_member_objects_post_response.py +++ b/msgraph_beta/generated/service_principals/item/check_member_objects/check_member_objects_post_response.py @@ -49,6 +49,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_primitive_values("value", self.value) diff --git a/msgraph_beta/generated/service_principals/item/claims_mapping_policies/count/count_request_builder.py b/msgraph_beta/generated/service_principals/item/claims_mapping_policies/count/count_request_builder.py index d379db38c93..3fbbebea98c 100644 --- a/msgraph_beta/generated/service_principals/item/claims_mapping_policies/count/count_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/claims_mapping_policies/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/service_principals/item/create_password_single_sign_on_credentials/create_password_single_sign_on_credentials_post_request_body.py b/msgraph_beta/generated/service_principals/item/create_password_single_sign_on_credentials/create_password_single_sign_on_credentials_post_request_body.py index c61516f91b2..83e878a216a 100644 --- a/msgraph_beta/generated/service_principals/item/create_password_single_sign_on_credentials/create_password_single_sign_on_credentials_post_request_body.py +++ b/msgraph_beta/generated/service_principals/item/create_password_single_sign_on_credentials/create_password_single_sign_on_credentials_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ....models.credential import Credential + writer.write_collection_of_object_values("credentials", self.credentials) writer.write_str_value("id", self.id) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/service_principals/item/created_objects/count/count_request_builder.py b/msgraph_beta/generated/service_principals/item/created_objects/count/count_request_builder.py index 57c645b73ed..849f3905eec 100644 --- a/msgraph_beta/generated/service_principals/item/created_objects/count/count_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/created_objects/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/service_principals/item/created_objects/graph_service_principal/count/count_request_builder.py b/msgraph_beta/generated/service_principals/item/created_objects/graph_service_principal/count/count_request_builder.py index f3ff315be6e..b78f1c28588 100644 --- a/msgraph_beta/generated/service_principals/item/created_objects/graph_service_principal/count/count_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/created_objects/graph_service_principal/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/service_principals/item/delegated_permission_classifications/count/count_request_builder.py b/msgraph_beta/generated/service_principals/item/delegated_permission_classifications/count/count_request_builder.py index 47c76c688c1..8cc91f4bc7c 100644 --- a/msgraph_beta/generated/service_principals/item/delegated_permission_classifications/count/count_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/delegated_permission_classifications/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/service_principals/item/endpoints/count/count_request_builder.py b/msgraph_beta/generated/service_principals/item/endpoints/count/count_request_builder.py index 5c53c45829d..7d6e5e1d8c6 100644 --- a/msgraph_beta/generated/service_principals/item/endpoints/count/count_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/endpoints/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/service_principals/item/federated_identity_credentials/count/count_request_builder.py b/msgraph_beta/generated/service_principals/item/federated_identity_credentials/count/count_request_builder.py index 8be620bef6f..832b7b5bc26 100644 --- a/msgraph_beta/generated/service_principals/item/federated_identity_credentials/count/count_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/federated_identity_credentials/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/service_principals/item/get_member_groups/get_member_groups_post_response.py b/msgraph_beta/generated/service_principals/item/get_member_groups/get_member_groups_post_response.py index bd4dad887b8..5ac4a9b07d5 100644 --- a/msgraph_beta/generated/service_principals/item/get_member_groups/get_member_groups_post_response.py +++ b/msgraph_beta/generated/service_principals/item/get_member_groups/get_member_groups_post_response.py @@ -49,6 +49,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_primitive_values("value", self.value) diff --git a/msgraph_beta/generated/service_principals/item/get_member_objects/get_member_objects_post_response.py b/msgraph_beta/generated/service_principals/item/get_member_objects/get_member_objects_post_response.py index fe38b269075..e63599e52a4 100644 --- a/msgraph_beta/generated/service_principals/item/get_member_objects/get_member_objects_post_response.py +++ b/msgraph_beta/generated/service_principals/item/get_member_objects/get_member_objects_post_response.py @@ -49,6 +49,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_primitive_values("value", self.value) diff --git a/msgraph_beta/generated/service_principals/item/home_realm_discovery_policies/count/count_request_builder.py b/msgraph_beta/generated/service_principals/item/home_realm_discovery_policies/count/count_request_builder.py index b9a1bd88470..f4374c5f209 100644 --- a/msgraph_beta/generated/service_principals/item/home_realm_discovery_policies/count/count_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/home_realm_discovery_policies/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/service_principals/item/license_details/count/count_request_builder.py b/msgraph_beta/generated/service_principals/item/license_details/count/count_request_builder.py index c85dd6db733..5020ae1c55a 100644 --- a/msgraph_beta/generated/service_principals/item/license_details/count/count_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/license_details/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/service_principals/item/member_of/count/count_request_builder.py b/msgraph_beta/generated/service_principals/item/member_of/count/count_request_builder.py index 8b3d8c03794..cae7cdfcd42 100644 --- a/msgraph_beta/generated/service_principals/item/member_of/count/count_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/member_of/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/service_principals/item/member_of/graph_administrative_unit/count/count_request_builder.py b/msgraph_beta/generated/service_principals/item/member_of/graph_administrative_unit/count/count_request_builder.py index 7ebc18e67bf..0f628d5e90d 100644 --- a/msgraph_beta/generated/service_principals/item/member_of/graph_administrative_unit/count/count_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/member_of/graph_administrative_unit/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/service_principals/item/member_of/graph_directory_role/count/count_request_builder.py b/msgraph_beta/generated/service_principals/item/member_of/graph_directory_role/count/count_request_builder.py index 65cb8cdb90a..a782135b6bd 100644 --- a/msgraph_beta/generated/service_principals/item/member_of/graph_directory_role/count/count_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/member_of/graph_directory_role/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/service_principals/item/member_of/graph_group/count/count_request_builder.py b/msgraph_beta/generated/service_principals/item/member_of/graph_group/count/count_request_builder.py index 73ff33b01a9..62a35209855 100644 --- a/msgraph_beta/generated/service_principals/item/member_of/graph_group/count/count_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/member_of/graph_group/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/service_principals/item/oauth2_permission_grants/count/count_request_builder.py b/msgraph_beta/generated/service_principals/item/oauth2_permission_grants/count/count_request_builder.py index 56f01e29422..62d27d7cbb7 100644 --- a/msgraph_beta/generated/service_principals/item/oauth2_permission_grants/count/count_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/oauth2_permission_grants/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/service_principals/item/owned_objects/count/count_request_builder.py b/msgraph_beta/generated/service_principals/item/owned_objects/count/count_request_builder.py index 20449da381b..8e32900b134 100644 --- a/msgraph_beta/generated/service_principals/item/owned_objects/count/count_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/owned_objects/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/service_principals/item/owned_objects/graph_application/count/count_request_builder.py b/msgraph_beta/generated/service_principals/item/owned_objects/graph_application/count/count_request_builder.py index 744a25ec5ed..86927134db0 100644 --- a/msgraph_beta/generated/service_principals/item/owned_objects/graph_application/count/count_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/owned_objects/graph_application/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/service_principals/item/owned_objects/graph_endpoint/count/count_request_builder.py b/msgraph_beta/generated/service_principals/item/owned_objects/graph_endpoint/count/count_request_builder.py index 29558f3ccbe..d980cecfe9b 100644 --- a/msgraph_beta/generated/service_principals/item/owned_objects/graph_endpoint/count/count_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/owned_objects/graph_endpoint/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/service_principals/item/owned_objects/graph_group/count/count_request_builder.py b/msgraph_beta/generated/service_principals/item/owned_objects/graph_group/count/count_request_builder.py index 48a0b94c056..a11da7dbac3 100644 --- a/msgraph_beta/generated/service_principals/item/owned_objects/graph_group/count/count_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/owned_objects/graph_group/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/service_principals/item/owned_objects/graph_service_principal/count/count_request_builder.py b/msgraph_beta/generated/service_principals/item/owned_objects/graph_service_principal/count/count_request_builder.py index 14b3cf041c4..c2128d23aaf 100644 --- a/msgraph_beta/generated/service_principals/item/owned_objects/graph_service_principal/count/count_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/owned_objects/graph_service_principal/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/service_principals/item/owners/count/count_request_builder.py b/msgraph_beta/generated/service_principals/item/owners/count/count_request_builder.py index be9dca1ee9f..58014ae6d39 100644 --- a/msgraph_beta/generated/service_principals/item/owners/count/count_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/owners/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/service_principals/item/owners/graph_endpoint/count/count_request_builder.py b/msgraph_beta/generated/service_principals/item/owners/graph_endpoint/count/count_request_builder.py index dfeec3bf425..7729aad47de 100644 --- a/msgraph_beta/generated/service_principals/item/owners/graph_endpoint/count/count_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/owners/graph_endpoint/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/service_principals/item/owners/graph_service_principal/count/count_request_builder.py b/msgraph_beta/generated/service_principals/item/owners/graph_service_principal/count/count_request_builder.py index 3599eaae1fa..6fd04a9a87f 100644 --- a/msgraph_beta/generated/service_principals/item/owners/graph_service_principal/count/count_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/owners/graph_service_principal/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/service_principals/item/owners/graph_user/count/count_request_builder.py b/msgraph_beta/generated/service_principals/item/owners/graph_user/count/count_request_builder.py index fc2136296db..747ad692897 100644 --- a/msgraph_beta/generated/service_principals/item/owners/graph_user/count/count_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/owners/graph_user/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/service_principals/item/permission_grant_pre_approval_policies/count/count_request_builder.py b/msgraph_beta/generated/service_principals/item/permission_grant_pre_approval_policies/count/count_request_builder.py index 31577b3471f..74865d6e1e0 100644 --- a/msgraph_beta/generated/service_principals/item/permission_grant_pre_approval_policies/count/count_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/permission_grant_pre_approval_policies/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/service_principals/item/remote_desktop_security_configuration/target_device_groups/count/count_request_builder.py b/msgraph_beta/generated/service_principals/item/remote_desktop_security_configuration/target_device_groups/count/count_request_builder.py index 8900905b072..0a558dea4c5 100644 --- a/msgraph_beta/generated/service_principals/item/remote_desktop_security_configuration/target_device_groups/count/count_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/remote_desktop_security_configuration/target_device_groups/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/service_principals/item/synchronization/acquire_access_token/acquire_access_token_post_request_body.py b/msgraph_beta/generated/service_principals/item/synchronization/acquire_access_token/acquire_access_token_post_request_body.py index d7cf170dfdd..e4abf15eda1 100644 --- a/msgraph_beta/generated/service_principals/item/synchronization/acquire_access_token/acquire_access_token_post_request_body.py +++ b/msgraph_beta/generated/service_principals/item/synchronization/acquire_access_token/acquire_access_token_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.synchronization_secret_key_string_value_pair import SynchronizationSecretKeyStringValuePair + writer.write_collection_of_object_values("credentials", self.credentials) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/service_principals/item/synchronization/jobs/count/count_request_builder.py b/msgraph_beta/generated/service_principals/item/synchronization/jobs/count/count_request_builder.py index b396c4008c4..01ab259635f 100644 --- a/msgraph_beta/generated/service_principals/item/synchronization/jobs/count/count_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/synchronization/jobs/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/service_principals/item/synchronization/jobs/item/provision_on_demand/provision_on_demand_post_request_body.py b/msgraph_beta/generated/service_principals/item/synchronization/jobs/item/provision_on_demand/provision_on_demand_post_request_body.py index 2972750d7fa..68bcfb54fd9 100644 --- a/msgraph_beta/generated/service_principals/item/synchronization/jobs/item/provision_on_demand/provision_on_demand_post_request_body.py +++ b/msgraph_beta/generated/service_principals/item/synchronization/jobs/item/provision_on_demand/provision_on_demand_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .......models.synchronization_job_application_parameters import SynchronizationJobApplicationParameters + writer.write_collection_of_object_values("parameters", self.parameters) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/service_principals/item/synchronization/jobs/item/restart/restart_post_request_body.py b/msgraph_beta/generated/service_principals/item/synchronization/jobs/item/restart/restart_post_request_body.py index 536e2bc3ed4..88cf38e1bb6 100644 --- a/msgraph_beta/generated/service_principals/item/synchronization/jobs/item/restart/restart_post_request_body.py +++ b/msgraph_beta/generated/service_principals/item/synchronization/jobs/item/restart/restart_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .......models.synchronization_job_restart_criteria import SynchronizationJobRestartCriteria + writer.write_object_value("criteria", self.criteria) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/service_principals/item/synchronization/jobs/item/schema/directories/count/count_request_builder.py b/msgraph_beta/generated/service_principals/item/synchronization/jobs/item/schema/directories/count/count_request_builder.py index d1040c18b6c..f8bc75e5064 100644 --- a/msgraph_beta/generated/service_principals/item/synchronization/jobs/item/schema/directories/count/count_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/synchronization/jobs/item/schema/directories/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/service_principals/item/synchronization/jobs/item/schema/filter_operators/filter_operators_get_response.py b/msgraph_beta/generated/service_principals/item/synchronization/jobs/item/schema/filter_operators/filter_operators_get_response.py index f7e2c714fd6..f2423394563 100644 --- a/msgraph_beta/generated/service_principals/item/synchronization/jobs/item/schema/filter_operators/filter_operators_get_response.py +++ b/msgraph_beta/generated/service_principals/item/synchronization/jobs/item/schema/filter_operators/filter_operators_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ........models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ........models.filter_operator_schema import FilterOperatorSchema + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/service_principals/item/synchronization/jobs/item/schema/functions/functions_get_response.py b/msgraph_beta/generated/service_principals/item/synchronization/jobs/item/schema/functions/functions_get_response.py index 7225d7c0849..8639a28c4a2 100644 --- a/msgraph_beta/generated/service_principals/item/synchronization/jobs/item/schema/functions/functions_get_response.py +++ b/msgraph_beta/generated/service_principals/item/synchronization/jobs/item/schema/functions/functions_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ........models.attribute_mapping_function_schema import AttributeMappingFunctionSchema + from ........models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/service_principals/item/synchronization/jobs/item/schema/parse_expression/parse_expression_post_request_body.py b/msgraph_beta/generated/service_principals/item/synchronization/jobs/item/schema/parse_expression/parse_expression_post_request_body.py index d17ce700f57..232d4496937 100644 --- a/msgraph_beta/generated/service_principals/item/synchronization/jobs/item/schema/parse_expression/parse_expression_post_request_body.py +++ b/msgraph_beta/generated/service_principals/item/synchronization/jobs/item/schema/parse_expression/parse_expression_post_request_body.py @@ -59,6 +59,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ........models.attribute_definition import AttributeDefinition + from ........models.expression_input_object import ExpressionInputObject + writer.write_str_value("expression", self.expression) writer.write_object_value("targetAttributeDefinition", self.target_attribute_definition) writer.write_object_value("testInputObject", self.test_input_object) diff --git a/msgraph_beta/generated/service_principals/item/synchronization/jobs/item/validate_credentials/validate_credentials_post_request_body.py b/msgraph_beta/generated/service_principals/item/synchronization/jobs/item/validate_credentials/validate_credentials_post_request_body.py index 131044cb3bf..16622387b04 100644 --- a/msgraph_beta/generated/service_principals/item/synchronization/jobs/item/validate_credentials/validate_credentials_post_request_body.py +++ b/msgraph_beta/generated/service_principals/item/synchronization/jobs/item/validate_credentials/validate_credentials_post_request_body.py @@ -59,6 +59,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .......models.synchronization_secret_key_string_value_pair import SynchronizationSecretKeyStringValuePair + writer.write_str_value("applicationIdentifier", self.application_identifier) writer.write_collection_of_object_values("credentials", self.credentials) writer.write_str_value("templateId", self.template_id) diff --git a/msgraph_beta/generated/service_principals/item/synchronization/jobs/validate_credentials/validate_credentials_post_request_body.py b/msgraph_beta/generated/service_principals/item/synchronization/jobs/validate_credentials/validate_credentials_post_request_body.py index 06b31625786..ccb685c1e6c 100644 --- a/msgraph_beta/generated/service_principals/item/synchronization/jobs/validate_credentials/validate_credentials_post_request_body.py +++ b/msgraph_beta/generated/service_principals/item/synchronization/jobs/validate_credentials/validate_credentials_post_request_body.py @@ -59,6 +59,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ......models.synchronization_secret_key_string_value_pair import SynchronizationSecretKeyStringValuePair + writer.write_str_value("applicationIdentifier", self.application_identifier) writer.write_collection_of_object_values("credentials", self.credentials) writer.write_str_value("templateId", self.template_id) diff --git a/msgraph_beta/generated/service_principals/item/synchronization/secrets/count/count_request_builder.py b/msgraph_beta/generated/service_principals/item/synchronization/secrets/count/count_request_builder.py index 884e8402480..13f38193117 100644 --- a/msgraph_beta/generated/service_principals/item/synchronization/secrets/count/count_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/synchronization/secrets/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/service_principals/item/synchronization/secrets/secrets_put_request_body.py b/msgraph_beta/generated/service_principals/item/synchronization/secrets/secrets_put_request_body.py index e81fe020b4f..5b06a03a70b 100644 --- a/msgraph_beta/generated/service_principals/item/synchronization/secrets/secrets_put_request_body.py +++ b/msgraph_beta/generated/service_principals/item/synchronization/secrets/secrets_put_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.synchronization_secret_key_string_value_pair import SynchronizationSecretKeyStringValuePair + writer.write_collection_of_object_values("value", self.value) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/service_principals/item/synchronization/secrets/secrets_put_response.py b/msgraph_beta/generated/service_principals/item/synchronization/secrets/secrets_put_response.py index 9090b659780..6d986b75609 100644 --- a/msgraph_beta/generated/service_principals/item/synchronization/secrets/secrets_put_response.py +++ b/msgraph_beta/generated/service_principals/item/synchronization/secrets/secrets_put_response.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.synchronization_secret_key_string_value_pair import SynchronizationSecretKeyStringValuePair + writer.write_collection_of_object_values("value", self.value) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/service_principals/item/synchronization/templates/count/count_request_builder.py b/msgraph_beta/generated/service_principals/item/synchronization/templates/count/count_request_builder.py index b10880b6203..9af98eac2fc 100644 --- a/msgraph_beta/generated/service_principals/item/synchronization/templates/count/count_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/synchronization/templates/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/service_principals/item/synchronization/templates/item/schema/directories/count/count_request_builder.py b/msgraph_beta/generated/service_principals/item/synchronization/templates/item/schema/directories/count/count_request_builder.py index 084781cef99..88b48338036 100644 --- a/msgraph_beta/generated/service_principals/item/synchronization/templates/item/schema/directories/count/count_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/synchronization/templates/item/schema/directories/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/service_principals/item/synchronization/templates/item/schema/filter_operators/filter_operators_get_response.py b/msgraph_beta/generated/service_principals/item/synchronization/templates/item/schema/filter_operators/filter_operators_get_response.py index f7e2c714fd6..f2423394563 100644 --- a/msgraph_beta/generated/service_principals/item/synchronization/templates/item/schema/filter_operators/filter_operators_get_response.py +++ b/msgraph_beta/generated/service_principals/item/synchronization/templates/item/schema/filter_operators/filter_operators_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ........models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ........models.filter_operator_schema import FilterOperatorSchema + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/service_principals/item/synchronization/templates/item/schema/functions/functions_get_response.py b/msgraph_beta/generated/service_principals/item/synchronization/templates/item/schema/functions/functions_get_response.py index 7225d7c0849..8639a28c4a2 100644 --- a/msgraph_beta/generated/service_principals/item/synchronization/templates/item/schema/functions/functions_get_response.py +++ b/msgraph_beta/generated/service_principals/item/synchronization/templates/item/schema/functions/functions_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ........models.attribute_mapping_function_schema import AttributeMappingFunctionSchema + from ........models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/service_principals/item/synchronization/templates/item/schema/parse_expression/parse_expression_post_request_body.py b/msgraph_beta/generated/service_principals/item/synchronization/templates/item/schema/parse_expression/parse_expression_post_request_body.py index d17ce700f57..232d4496937 100644 --- a/msgraph_beta/generated/service_principals/item/synchronization/templates/item/schema/parse_expression/parse_expression_post_request_body.py +++ b/msgraph_beta/generated/service_principals/item/synchronization/templates/item/schema/parse_expression/parse_expression_post_request_body.py @@ -59,6 +59,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ........models.attribute_definition import AttributeDefinition + from ........models.expression_input_object import ExpressionInputObject + writer.write_str_value("expression", self.expression) writer.write_object_value("targetAttributeDefinition", self.target_attribute_definition) writer.write_object_value("testInputObject", self.test_input_object) diff --git a/msgraph_beta/generated/service_principals/item/token_issuance_policies/count/count_request_builder.py b/msgraph_beta/generated/service_principals/item/token_issuance_policies/count/count_request_builder.py index 83330d674da..94e2cc250f0 100644 --- a/msgraph_beta/generated/service_principals/item/token_issuance_policies/count/count_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/token_issuance_policies/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/service_principals/item/token_lifetime_policies/count/count_request_builder.py b/msgraph_beta/generated/service_principals/item/token_lifetime_policies/count/count_request_builder.py index f64c674eb2f..c40bb087201 100644 --- a/msgraph_beta/generated/service_principals/item/token_lifetime_policies/count/count_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/token_lifetime_policies/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/service_principals/item/transitive_member_of/count/count_request_builder.py b/msgraph_beta/generated/service_principals/item/transitive_member_of/count/count_request_builder.py index e34ff398edd..1dda7916cfb 100644 --- a/msgraph_beta/generated/service_principals/item/transitive_member_of/count/count_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/transitive_member_of/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/service_principals/item/transitive_member_of/graph_administrative_unit/count/count_request_builder.py b/msgraph_beta/generated/service_principals/item/transitive_member_of/graph_administrative_unit/count/count_request_builder.py index a4eaf68a60b..25dbd9a81e7 100644 --- a/msgraph_beta/generated/service_principals/item/transitive_member_of/graph_administrative_unit/count/count_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/transitive_member_of/graph_administrative_unit/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/service_principals/item/transitive_member_of/graph_directory_role/count/count_request_builder.py b/msgraph_beta/generated/service_principals/item/transitive_member_of/graph_directory_role/count/count_request_builder.py index f9ac3b49fc4..2f2cee578fa 100644 --- a/msgraph_beta/generated/service_principals/item/transitive_member_of/graph_directory_role/count/count_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/transitive_member_of/graph_directory_role/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/service_principals/item/transitive_member_of/graph_group/count/count_request_builder.py b/msgraph_beta/generated/service_principals/item/transitive_member_of/graph_group/count/count_request_builder.py index 8b562172f22..d8972579b56 100644 --- a/msgraph_beta/generated/service_principals/item/transitive_member_of/graph_group/count/count_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/transitive_member_of/graph_group/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/service_principals/item/update_password_single_sign_on_credentials/update_password_single_sign_on_credentials_post_request_body.py b/msgraph_beta/generated/service_principals/item/update_password_single_sign_on_credentials/update_password_single_sign_on_credentials_post_request_body.py index 0946c446378..19289364288 100644 --- a/msgraph_beta/generated/service_principals/item/update_password_single_sign_on_credentials/update_password_single_sign_on_credentials_post_request_body.py +++ b/msgraph_beta/generated/service_principals/item/update_password_single_sign_on_credentials/update_password_single_sign_on_credentials_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ....models.credential import Credential + writer.write_collection_of_object_values("credentials", self.credentials) writer.write_str_value("id", self.id) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/settings/count/count_request_builder.py b/msgraph_beta/generated/settings/count/count_request_builder.py index 6e18f41d5c9..d7f55a2e47f 100644 --- a/msgraph_beta/generated/settings/count/count_request_builder.py +++ b/msgraph_beta/generated/settings/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/shares/count/count_request_builder.py b/msgraph_beta/generated/shares/count/count_request_builder.py index af06c83f5bf..e465c9ecf75 100644 --- a/msgraph_beta/generated/shares/count/count_request_builder.py +++ b/msgraph_beta/generated/shares/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/shares/item/created_by_user/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/shares/item/created_by_user/service_provisioning_errors/count/count_request_builder.py index 3f7d83f6b70..d2633f5fb65 100644 --- a/msgraph_beta/generated/shares/item/created_by_user/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/shares/item/created_by_user/service_provisioning_errors/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/shares/item/items/count/count_request_builder.py b/msgraph_beta/generated/shares/item/items/count/count_request_builder.py index 66a249ad69b..e37ac509c36 100644 --- a/msgraph_beta/generated/shares/item/items/count/count_request_builder.py +++ b/msgraph_beta/generated/shares/item/items/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/shares/item/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/shares/item/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py index 58ba8e9b3f0..34fefc2251d 100644 --- a/msgraph_beta/generated/shares/item/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/shares/item/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/shares/item/list_/columns/count/count_request_builder.py b/msgraph_beta/generated/shares/item/list_/columns/count/count_request_builder.py index 81fff1adeaa..e35a248f456 100644 --- a/msgraph_beta/generated/shares/item/list_/columns/count/count_request_builder.py +++ b/msgraph_beta/generated/shares/item/list_/columns/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/shares/item/list_/content_types/count/count_request_builder.py b/msgraph_beta/generated/shares/item/list_/content_types/count/count_request_builder.py index f577c2bb76a..a3562bdca83 100644 --- a/msgraph_beta/generated/shares/item/list_/content_types/count/count_request_builder.py +++ b/msgraph_beta/generated/shares/item/list_/content_types/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/shares/item/list_/content_types/get_compatible_hub_content_types/get_compatible_hub_content_types_get_response.py b/msgraph_beta/generated/shares/item/list_/content_types/get_compatible_hub_content_types/get_compatible_hub_content_types_get_response.py index 7662cd213e8..f4f86be6e4e 100644 --- a/msgraph_beta/generated/shares/item/list_/content_types/get_compatible_hub_content_types/get_compatible_hub_content_types_get_response.py +++ b/msgraph_beta/generated/shares/item/list_/content_types/get_compatible_hub_content_types/get_compatible_hub_content_types_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ......models.content_type import ContentType + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/shares/item/list_/content_types/item/base_types/count/count_request_builder.py b/msgraph_beta/generated/shares/item/list_/content_types/item/base_types/count/count_request_builder.py index 71713445e19..d584b26ad51 100644 --- a/msgraph_beta/generated/shares/item/list_/content_types/item/base_types/count/count_request_builder.py +++ b/msgraph_beta/generated/shares/item/list_/content_types/item/base_types/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/shares/item/list_/content_types/item/column_links/count/count_request_builder.py b/msgraph_beta/generated/shares/item/list_/content_types/item/column_links/count/count_request_builder.py index 8e22a83dfe4..23185337713 100644 --- a/msgraph_beta/generated/shares/item/list_/content_types/item/column_links/count/count_request_builder.py +++ b/msgraph_beta/generated/shares/item/list_/content_types/item/column_links/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/shares/item/list_/content_types/item/column_positions/count/count_request_builder.py b/msgraph_beta/generated/shares/item/list_/content_types/item/column_positions/count/count_request_builder.py index 75e9eab65f4..30605e44ae2 100644 --- a/msgraph_beta/generated/shares/item/list_/content_types/item/column_positions/count/count_request_builder.py +++ b/msgraph_beta/generated/shares/item/list_/content_types/item/column_positions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/shares/item/list_/content_types/item/columns/count/count_request_builder.py b/msgraph_beta/generated/shares/item/list_/content_types/item/columns/count/count_request_builder.py index b90f0c3ae89..84f4cae7b60 100644 --- a/msgraph_beta/generated/shares/item/list_/content_types/item/columns/count/count_request_builder.py +++ b/msgraph_beta/generated/shares/item/list_/content_types/item/columns/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/shares/item/list_/content_types/item/copy_to_default_content_location/copy_to_default_content_location_post_request_body.py b/msgraph_beta/generated/shares/item/list_/content_types/item/copy_to_default_content_location/copy_to_default_content_location_post_request_body.py index e2b1249de90..f98a48bc886 100644 --- a/msgraph_beta/generated/shares/item/list_/content_types/item/copy_to_default_content_location/copy_to_default_content_location_post_request_body.py +++ b/msgraph_beta/generated/shares/item/list_/content_types/item/copy_to_default_content_location/copy_to_default_content_location_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .......models.item_reference import ItemReference + writer.write_str_value("destinationFileName", self.destination_file_name) writer.write_object_value("sourceFile", self.source_file) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/shares/item/list_/created_by_user/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/shares/item/list_/created_by_user/service_provisioning_errors/count/count_request_builder.py index 9fb30f059f2..7666a3db1ef 100644 --- a/msgraph_beta/generated/shares/item/list_/created_by_user/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/shares/item/list_/created_by_user/service_provisioning_errors/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/shares/item/list_/items/delta/delta_get_response.py b/msgraph_beta/generated/shares/item/list_/items/delta/delta_get_response.py index bff6d827310..4789074b417 100644 --- a/msgraph_beta/generated/shares/item/list_/items/delta/delta_get_response.py +++ b/msgraph_beta/generated/shares/item/list_/items/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ......models.base_delta_function_response import BaseDeltaFunctionResponse + from ......models.list_item import ListItem + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/shares/item/list_/items/delta_with_token/delta_with_token_get_response.py b/msgraph_beta/generated/shares/item/list_/items/delta_with_token/delta_with_token_get_response.py index 04ee963a42d..24189c75f17 100644 --- a/msgraph_beta/generated/shares/item/list_/items/delta_with_token/delta_with_token_get_response.py +++ b/msgraph_beta/generated/shares/item/list_/items/delta_with_token/delta_with_token_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ......models.base_delta_function_response import BaseDeltaFunctionResponse + from ......models.list_item import ListItem + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/shares/item/list_/items/item/activities/count/count_request_builder.py b/msgraph_beta/generated/shares/item/list_/items/item/activities/count/count_request_builder.py index 84b3279c711..771077d2100 100644 --- a/msgraph_beta/generated/shares/item/list_/items/item/activities/count/count_request_builder.py +++ b/msgraph_beta/generated/shares/item/list_/items/item/activities/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/shares/item/list_/items/item/create_link/create_link_post_request_body.py b/msgraph_beta/generated/shares/item/list_/items/item/create_link/create_link_post_request_body.py index 890bc5f54f0..ff3f5fb3f28 100644 --- a/msgraph_beta/generated/shares/item/list_/items/item/create_link/create_link_post_request_body.py +++ b/msgraph_beta/generated/shares/item/list_/items/item/create_link/create_link_post_request_body.py @@ -72,6 +72,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .......models.drive_recipient import DriveRecipient + writer.write_datetime_value("expirationDateTime", self.expiration_date_time) writer.write_str_value("message", self.message) writer.write_str_value("password", self.password) diff --git a/msgraph_beta/generated/shares/item/list_/items/item/created_by_user/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/shares/item/list_/items/item/created_by_user/service_provisioning_errors/count/count_request_builder.py index d879e0d991a..957d12bc497 100644 --- a/msgraph_beta/generated/shares/item/list_/items/item/created_by_user/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/shares/item/list_/items/item/created_by_user/service_provisioning_errors/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/shares/item/list_/items/item/document_set_versions/count/count_request_builder.py b/msgraph_beta/generated/shares/item/list_/items/item/document_set_versions/count/count_request_builder.py index 636e2ce821e..006f6f1b635 100644 --- a/msgraph_beta/generated/shares/item/list_/items/item/document_set_versions/count/count_request_builder.py +++ b/msgraph_beta/generated/shares/item/list_/items/item/document_set_versions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/shares/item/list_/items/item/get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval/get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval_get_response.py b/msgraph_beta/generated/shares/item/list_/items/item/get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval/get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval_get_response.py index 50e3e629d3d..d01c1a5bba0 100644 --- a/msgraph_beta/generated/shares/item/list_/items/item/get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval/get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval_get_response.py +++ b/msgraph_beta/generated/shares/item/list_/items/item/get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval/get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .......models.item_activity_stat import ItemActivityStat + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/shares/item/list_/items/item/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/shares/item/list_/items/item/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py index ac6e4490206..280e0c1502f 100644 --- a/msgraph_beta/generated/shares/item/list_/items/item/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/shares/item/list_/items/item/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/shares/item/list_/items/item/permissions/count/count_request_builder.py b/msgraph_beta/generated/shares/item/list_/items/item/permissions/count/count_request_builder.py index 6c0c878ee3d..031e2724f2c 100644 --- a/msgraph_beta/generated/shares/item/list_/items/item/permissions/count/count_request_builder.py +++ b/msgraph_beta/generated/shares/item/list_/items/item/permissions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/shares/item/list_/items/item/permissions/item/grant/grant_post_request_body.py b/msgraph_beta/generated/shares/item/list_/items/item/permissions/item/grant/grant_post_request_body.py index 5863e124e54..bc9938a8c61 100644 --- a/msgraph_beta/generated/shares/item/list_/items/item/permissions/item/grant/grant_post_request_body.py +++ b/msgraph_beta/generated/shares/item/list_/items/item/permissions/item/grant/grant_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .........models.drive_recipient import DriveRecipient + writer.write_collection_of_object_values("recipients", self.recipients) writer.write_collection_of_primitive_values("roles", self.roles) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/shares/item/list_/items/item/permissions/item/grant/grant_post_response.py b/msgraph_beta/generated/shares/item/list_/items/item/permissions/item/grant/grant_post_response.py index 352f1f40e5b..339872b8f4f 100644 --- a/msgraph_beta/generated/shares/item/list_/items/item/permissions/item/grant/grant_post_response.py +++ b/msgraph_beta/generated/shares/item/list_/items/item/permissions/item/grant/grant_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .........models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .........models.permission import Permission + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/shares/item/list_/items/item/permissions/item/revoke_grants/revoke_grants_post_request_body.py b/msgraph_beta/generated/shares/item/list_/items/item/permissions/item/revoke_grants/revoke_grants_post_request_body.py index 5b04d3c3772..a7a7d67a699 100644 --- a/msgraph_beta/generated/shares/item/list_/items/item/permissions/item/revoke_grants/revoke_grants_post_request_body.py +++ b/msgraph_beta/generated/shares/item/list_/items/item/permissions/item/revoke_grants/revoke_grants_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .........models.drive_recipient import DriveRecipient + writer.write_collection_of_object_values("grantees", self.grantees) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/shares/item/list_/items/item/versions/count/count_request_builder.py b/msgraph_beta/generated/shares/item/list_/items/item/versions/count/count_request_builder.py index 0ebdf42c52b..785e9d19246 100644 --- a/msgraph_beta/generated/shares/item/list_/items/item/versions/count/count_request_builder.py +++ b/msgraph_beta/generated/shares/item/list_/items/item/versions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/shares/item/list_/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/shares/item/list_/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py index 4e9abf4e5e0..cd961ef0311 100644 --- a/msgraph_beta/generated/shares/item/list_/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/shares/item/list_/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/shares/item/list_/operations/count/count_request_builder.py b/msgraph_beta/generated/shares/item/list_/operations/count/count_request_builder.py index 9dc750cb567..ac3e7efb66c 100644 --- a/msgraph_beta/generated/shares/item/list_/operations/count/count_request_builder.py +++ b/msgraph_beta/generated/shares/item/list_/operations/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/shares/item/list_/permissions/count/count_request_builder.py b/msgraph_beta/generated/shares/item/list_/permissions/count/count_request_builder.py index a3316762123..4e99e623950 100644 --- a/msgraph_beta/generated/shares/item/list_/permissions/count/count_request_builder.py +++ b/msgraph_beta/generated/shares/item/list_/permissions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/shares/item/list_/permissions/item/grant/grant_post_request_body.py b/msgraph_beta/generated/shares/item/list_/permissions/item/grant/grant_post_request_body.py index d41c544d090..4a45b8cf2d1 100644 --- a/msgraph_beta/generated/shares/item/list_/permissions/item/grant/grant_post_request_body.py +++ b/msgraph_beta/generated/shares/item/list_/permissions/item/grant/grant_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .......models.drive_recipient import DriveRecipient + writer.write_collection_of_object_values("recipients", self.recipients) writer.write_collection_of_primitive_values("roles", self.roles) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/shares/item/list_/permissions/item/grant/grant_post_response.py b/msgraph_beta/generated/shares/item/list_/permissions/item/grant/grant_post_response.py index 7fd781689f8..1f171535aa6 100644 --- a/msgraph_beta/generated/shares/item/list_/permissions/item/grant/grant_post_response.py +++ b/msgraph_beta/generated/shares/item/list_/permissions/item/grant/grant_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .......models.permission import Permission + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/shares/item/list_/permissions/item/revoke_grants/revoke_grants_post_request_body.py b/msgraph_beta/generated/shares/item/list_/permissions/item/revoke_grants/revoke_grants_post_request_body.py index 83a5e85e6c9..75fe0cdcc6d 100644 --- a/msgraph_beta/generated/shares/item/list_/permissions/item/revoke_grants/revoke_grants_post_request_body.py +++ b/msgraph_beta/generated/shares/item/list_/permissions/item/revoke_grants/revoke_grants_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .......models.drive_recipient import DriveRecipient + writer.write_collection_of_object_values("grantees", self.grantees) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/shares/item/list_/subscriptions/count/count_request_builder.py b/msgraph_beta/generated/shares/item/list_/subscriptions/count/count_request_builder.py index d48a752caff..4c8565e62d3 100644 --- a/msgraph_beta/generated/shares/item/list_/subscriptions/count/count_request_builder.py +++ b/msgraph_beta/generated/shares/item/list_/subscriptions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/shares/item/permission/grant/grant_post_request_body.py b/msgraph_beta/generated/shares/item/permission/grant/grant_post_request_body.py index 864af9f9b64..25a2322649b 100644 --- a/msgraph_beta/generated/shares/item/permission/grant/grant_post_request_body.py +++ b/msgraph_beta/generated/shares/item/permission/grant/grant_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.drive_recipient import DriveRecipient + writer.write_collection_of_object_values("recipients", self.recipients) writer.write_collection_of_primitive_values("roles", self.roles) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/shares/item/permission/grant/grant_post_response.py b/msgraph_beta/generated/shares/item/permission/grant/grant_post_response.py index 7938ff9c8ee..f9872491efe 100644 --- a/msgraph_beta/generated/shares/item/permission/grant/grant_post_response.py +++ b/msgraph_beta/generated/shares/item/permission/grant/grant_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .....models.permission import Permission + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/shares/item/permission/revoke_grants/revoke_grants_post_request_body.py b/msgraph_beta/generated/shares/item/permission/revoke_grants/revoke_grants_post_request_body.py index b188c6ddf50..11a4bfedf11 100644 --- a/msgraph_beta/generated/shares/item/permission/revoke_grants/revoke_grants_post_request_body.py +++ b/msgraph_beta/generated/shares/item/permission/revoke_grants/revoke_grants_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.drive_recipient import DriveRecipient + writer.write_collection_of_object_values("grantees", self.grantees) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/sites/add/add_post_request_body.py b/msgraph_beta/generated/sites/add/add_post_request_body.py index 73447b1f16a..a3cae88dcdf 100644 --- a/msgraph_beta/generated/sites/add/add_post_request_body.py +++ b/msgraph_beta/generated/sites/add/add_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ...models.site import Site + writer.write_collection_of_object_values("value", self.value) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/sites/add/add_post_response.py b/msgraph_beta/generated/sites/add/add_post_response.py index a5984830a98..fb1a8d72dee 100644 --- a/msgraph_beta/generated/sites/add/add_post_response.py +++ b/msgraph_beta/generated/sites/add/add_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ...models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ...models.site import Site + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/sites/count/count_request_builder.py b/msgraph_beta/generated/sites/count/count_request_builder.py index d1486134ee0..afa41be0cb3 100644 --- a/msgraph_beta/generated/sites/count/count_request_builder.py +++ b/msgraph_beta/generated/sites/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/sites/delta/delta_get_response.py b/msgraph_beta/generated/sites/delta/delta_get_response.py index 7d405037944..6fa4fa7d6d5 100644 --- a/msgraph_beta/generated/sites/delta/delta_get_response.py +++ b/msgraph_beta/generated/sites/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ...models.base_delta_function_response import BaseDeltaFunctionResponse + from ...models.site import Site + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/sites/get_all_sites/get_all_sites_get_response.py b/msgraph_beta/generated/sites/get_all_sites/get_all_sites_get_response.py index 2ab9db15669..9246b871f30 100644 --- a/msgraph_beta/generated/sites/get_all_sites/get_all_sites_get_response.py +++ b/msgraph_beta/generated/sites/get_all_sites/get_all_sites_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ...models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ...models.site import Site + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/sites/item/analytics/item_activity_stats/count/count_request_builder.py b/msgraph_beta/generated/sites/item/analytics/item_activity_stats/count/count_request_builder.py index c03dccd1fb6..ca4d36022a5 100644 --- a/msgraph_beta/generated/sites/item/analytics/item_activity_stats/count/count_request_builder.py +++ b/msgraph_beta/generated/sites/item/analytics/item_activity_stats/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/sites/item/analytics/item_activity_stats/item/activities/count/count_request_builder.py b/msgraph_beta/generated/sites/item/analytics/item_activity_stats/item/activities/count/count_request_builder.py index 1a316311b91..66454900114 100644 --- a/msgraph_beta/generated/sites/item/analytics/item_activity_stats/item/activities/count/count_request_builder.py +++ b/msgraph_beta/generated/sites/item/analytics/item_activity_stats/item/activities/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/sites/item/columns/count/count_request_builder.py b/msgraph_beta/generated/sites/item/columns/count/count_request_builder.py index 31b82c8c2ee..ee325f5fe0c 100644 --- a/msgraph_beta/generated/sites/item/columns/count/count_request_builder.py +++ b/msgraph_beta/generated/sites/item/columns/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/sites/item/content_models/count/count_request_builder.py b/msgraph_beta/generated/sites/item/content_models/count/count_request_builder.py index feb71210665..4133fd6b459 100644 --- a/msgraph_beta/generated/sites/item/content_models/count/count_request_builder.py +++ b/msgraph_beta/generated/sites/item/content_models/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/sites/item/content_models/get_by_name_with_model_name/get_applied_drives/get_applied_drives_get_response.py b/msgraph_beta/generated/sites/item/content_models/get_by_name_with_model_name/get_applied_drives/get_applied_drives_get_response.py index 29cbf365c2c..c7e0251df85 100644 --- a/msgraph_beta/generated/sites/item/content_models/get_by_name_with_model_name/get_applied_drives/get_applied_drives_get_response.py +++ b/msgraph_beta/generated/sites/item/content_models/get_by_name_with_model_name/get_applied_drives/get_applied_drives_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ......models.content_model_usage import ContentModelUsage + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/sites/item/content_models/item/get_applied_drives/get_applied_drives_get_response.py b/msgraph_beta/generated/sites/item/content_models/item/get_applied_drives/get_applied_drives_get_response.py index 29cbf365c2c..c7e0251df85 100644 --- a/msgraph_beta/generated/sites/item/content_models/item/get_applied_drives/get_applied_drives_get_response.py +++ b/msgraph_beta/generated/sites/item/content_models/item/get_applied_drives/get_applied_drives_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ......models.content_model_usage import ContentModelUsage + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/sites/item/content_types/count/count_request_builder.py b/msgraph_beta/generated/sites/item/content_types/count/count_request_builder.py index 9e7afaf45ff..8e0903f0f82 100644 --- a/msgraph_beta/generated/sites/item/content_types/count/count_request_builder.py +++ b/msgraph_beta/generated/sites/item/content_types/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/sites/item/content_types/get_compatible_hub_content_types/get_compatible_hub_content_types_get_response.py b/msgraph_beta/generated/sites/item/content_types/get_compatible_hub_content_types/get_compatible_hub_content_types_get_response.py index 0f74191e41c..6ed9ea33c3d 100644 --- a/msgraph_beta/generated/sites/item/content_types/get_compatible_hub_content_types/get_compatible_hub_content_types_get_response.py +++ b/msgraph_beta/generated/sites/item/content_types/get_compatible_hub_content_types/get_compatible_hub_content_types_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .....models.content_type import ContentType + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/sites/item/content_types/item/base_types/count/count_request_builder.py b/msgraph_beta/generated/sites/item/content_types/item/base_types/count/count_request_builder.py index 49457fb63bd..b7202e732e8 100644 --- a/msgraph_beta/generated/sites/item/content_types/item/base_types/count/count_request_builder.py +++ b/msgraph_beta/generated/sites/item/content_types/item/base_types/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/sites/item/content_types/item/column_links/count/count_request_builder.py b/msgraph_beta/generated/sites/item/content_types/item/column_links/count/count_request_builder.py index 11706210c3e..c7d1fb34bd8 100644 --- a/msgraph_beta/generated/sites/item/content_types/item/column_links/count/count_request_builder.py +++ b/msgraph_beta/generated/sites/item/content_types/item/column_links/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/sites/item/content_types/item/column_positions/count/count_request_builder.py b/msgraph_beta/generated/sites/item/content_types/item/column_positions/count/count_request_builder.py index 1d6498e129f..dcb85ac2c2f 100644 --- a/msgraph_beta/generated/sites/item/content_types/item/column_positions/count/count_request_builder.py +++ b/msgraph_beta/generated/sites/item/content_types/item/column_positions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/sites/item/content_types/item/columns/count/count_request_builder.py b/msgraph_beta/generated/sites/item/content_types/item/columns/count/count_request_builder.py index df277ea274d..824a841b09e 100644 --- a/msgraph_beta/generated/sites/item/content_types/item/columns/count/count_request_builder.py +++ b/msgraph_beta/generated/sites/item/content_types/item/columns/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/sites/item/content_types/item/copy_to_default_content_location/copy_to_default_content_location_post_request_body.py b/msgraph_beta/generated/sites/item/content_types/item/copy_to_default_content_location/copy_to_default_content_location_post_request_body.py index 6bcd4ce2c2a..da68d7edc48 100644 --- a/msgraph_beta/generated/sites/item/content_types/item/copy_to_default_content_location/copy_to_default_content_location_post_request_body.py +++ b/msgraph_beta/generated/sites/item/content_types/item/copy_to_default_content_location/copy_to_default_content_location_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ......models.item_reference import ItemReference + writer.write_str_value("destinationFileName", self.destination_file_name) writer.write_object_value("sourceFile", self.source_file) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/sites/item/created_by_user/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/sites/item/created_by_user/service_provisioning_errors/count/count_request_builder.py index 6ff470c5fd7..49aa46b6c59 100644 --- a/msgraph_beta/generated/sites/item/created_by_user/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/sites/item/created_by_user/service_provisioning_errors/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/sites/item/document_processing_jobs/count/count_request_builder.py b/msgraph_beta/generated/sites/item/document_processing_jobs/count/count_request_builder.py index 3caa5e9db6f..7cfb8ec9bcf 100644 --- a/msgraph_beta/generated/sites/item/document_processing_jobs/count/count_request_builder.py +++ b/msgraph_beta/generated/sites/item/document_processing_jobs/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/sites/item/drives/count/count_request_builder.py b/msgraph_beta/generated/sites/item/drives/count/count_request_builder.py index 38074ce5ed6..363f8d4b006 100644 --- a/msgraph_beta/generated/sites/item/drives/count/count_request_builder.py +++ b/msgraph_beta/generated/sites/item/drives/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/sites/item/external_columns/count/count_request_builder.py b/msgraph_beta/generated/sites/item/external_columns/count/count_request_builder.py index 49301d686c0..ad633058ed1 100644 --- a/msgraph_beta/generated/sites/item/external_columns/count/count_request_builder.py +++ b/msgraph_beta/generated/sites/item/external_columns/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/sites/item/get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval/get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval_get_response.py b/msgraph_beta/generated/sites/item/get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval/get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval_get_response.py index f74dee79523..10ccf2f601f 100644 --- a/msgraph_beta/generated/sites/item/get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval/get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval_get_response.py +++ b/msgraph_beta/generated/sites/item/get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval/get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ....models.item_activity_stat import ItemActivityStat + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/sites/item/get_applicable_content_types_for_list_with_list_id/get_applicable_content_types_for_list_with_list_id_get_response.py b/msgraph_beta/generated/sites/item/get_applicable_content_types_for_list_with_list_id/get_applicable_content_types_for_list_with_list_id_get_response.py index 57975585153..b9882f51a14 100644 --- a/msgraph_beta/generated/sites/item/get_applicable_content_types_for_list_with_list_id/get_applicable_content_types_for_list_with_list_id_get_response.py +++ b/msgraph_beta/generated/sites/item/get_applicable_content_types_for_list_with_list_id/get_applicable_content_types_for_list_with_list_id_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ....models.content_type import ContentType + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/sites/item/get_by_path_with_path/get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval/get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval_get_response.py b/msgraph_beta/generated/sites/item/get_by_path_with_path/get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval/get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval_get_response.py index 7fad2487853..06c46b5a41d 100644 --- a/msgraph_beta/generated/sites/item/get_by_path_with_path/get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval/get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval_get_response.py +++ b/msgraph_beta/generated/sites/item/get_by_path_with_path/get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval/get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .....models.item_activity_stat import ItemActivityStat + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/sites/item/get_by_path_with_path/get_applicable_content_types_for_list_with_list_id/get_applicable_content_types_for_list_with_list_id_get_response.py b/msgraph_beta/generated/sites/item/get_by_path_with_path/get_applicable_content_types_for_list_with_list_id/get_applicable_content_types_for_list_with_list_id_get_response.py index 9bcd9a45c45..1ba96d4f1fa 100644 --- a/msgraph_beta/generated/sites/item/get_by_path_with_path/get_applicable_content_types_for_list_with_list_id/get_applicable_content_types_for_list_with_list_id_get_response.py +++ b/msgraph_beta/generated/sites/item/get_by_path_with_path/get_applicable_content_types_for_list_with_list_id/get_applicable_content_types_for_list_with_list_id_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .....models.content_type import ContentType + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/sites/item/information_protection/bitlocker/recovery_keys/count/count_request_builder.py b/msgraph_beta/generated/sites/item/information_protection/bitlocker/recovery_keys/count/count_request_builder.py index 271f41f0939..a66d28ce2cc 100644 --- a/msgraph_beta/generated/sites/item/information_protection/bitlocker/recovery_keys/count/count_request_builder.py +++ b/msgraph_beta/generated/sites/item/information_protection/bitlocker/recovery_keys/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/sites/item/information_protection/data_loss_prevention_policies/count/count_request_builder.py b/msgraph_beta/generated/sites/item/information_protection/data_loss_prevention_policies/count/count_request_builder.py index aa245769453..17a93034a2f 100644 --- a/msgraph_beta/generated/sites/item/information_protection/data_loss_prevention_policies/count/count_request_builder.py +++ b/msgraph_beta/generated/sites/item/information_protection/data_loss_prevention_policies/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/sites/item/information_protection/data_loss_prevention_policies/evaluate/evaluate_post_request_body.py b/msgraph_beta/generated/sites/item/information_protection/data_loss_prevention_policies/evaluate/evaluate_post_request_body.py index 00ca1167a5b..f7e620bfd73 100644 --- a/msgraph_beta/generated/sites/item/information_protection/data_loss_prevention_policies/evaluate/evaluate_post_request_body.py +++ b/msgraph_beta/generated/sites/item/information_protection/data_loss_prevention_policies/evaluate/evaluate_post_request_body.py @@ -59,6 +59,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ......models.dlp_evaluation_input import DlpEvaluationInput + from ......models.dlp_notification import DlpNotification + writer.write_object_value("evaluationInput", self.evaluation_input) writer.write_object_value("notificationInfo", self.notification_info) writer.write_str_value("target", self.target) diff --git a/msgraph_beta/generated/sites/item/information_protection/policy/labels/count/count_request_builder.py b/msgraph_beta/generated/sites/item/information_protection/policy/labels/count/count_request_builder.py index 740ddc37413..7fe5495ac7c 100644 --- a/msgraph_beta/generated/sites/item/information_protection/policy/labels/count/count_request_builder.py +++ b/msgraph_beta/generated/sites/item/information_protection/policy/labels/count/count_request_builder.py @@ -45,7 +45,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/sites/item/information_protection/policy/labels/evaluate_application/evaluate_application_post_request_body.py b/msgraph_beta/generated/sites/item/information_protection/policy/labels/evaluate_application/evaluate_application_post_request_body.py index 23e6aa1c783..c98ed57bc54 100644 --- a/msgraph_beta/generated/sites/item/information_protection/policy/labels/evaluate_application/evaluate_application_post_request_body.py +++ b/msgraph_beta/generated/sites/item/information_protection/policy/labels/evaluate_application/evaluate_application_post_request_body.py @@ -56,6 +56,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .......models.content_info import ContentInfo + from .......models.labeling_options import LabelingOptions + writer.write_object_value("contentInfo", self.content_info) writer.write_object_value("labelingOptions", self.labeling_options) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/sites/item/information_protection/policy/labels/evaluate_application/evaluate_application_post_response.py b/msgraph_beta/generated/sites/item/information_protection/policy/labels/evaluate_application/evaluate_application_post_response.py index afd8a614d47..33ab7751a38 100644 --- a/msgraph_beta/generated/sites/item/information_protection/policy/labels/evaluate_application/evaluate_application_post_response.py +++ b/msgraph_beta/generated/sites/item/information_protection/policy/labels/evaluate_application/evaluate_application_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .......models.information_protection_action import InformationProtectionAction + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/sites/item/information_protection/policy/labels/evaluate_classification_results/evaluate_classification_results_post_request_body.py b/msgraph_beta/generated/sites/item/information_protection/policy/labels/evaluate_classification_results/evaluate_classification_results_post_request_body.py index 29cebc4f1c2..d014069cebf 100644 --- a/msgraph_beta/generated/sites/item/information_protection/policy/labels/evaluate_classification_results/evaluate_classification_results_post_request_body.py +++ b/msgraph_beta/generated/sites/item/information_protection/policy/labels/evaluate_classification_results/evaluate_classification_results_post_request_body.py @@ -56,6 +56,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .......models.classification_result import ClassificationResult + from .......models.content_info import ContentInfo + writer.write_collection_of_object_values("classificationResults", self.classification_results) writer.write_object_value("contentInfo", self.content_info) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/sites/item/information_protection/policy/labels/evaluate_classification_results/evaluate_classification_results_post_response.py b/msgraph_beta/generated/sites/item/information_protection/policy/labels/evaluate_classification_results/evaluate_classification_results_post_response.py index f847da48535..d38684b6c95 100644 --- a/msgraph_beta/generated/sites/item/information_protection/policy/labels/evaluate_classification_results/evaluate_classification_results_post_response.py +++ b/msgraph_beta/generated/sites/item/information_protection/policy/labels/evaluate_classification_results/evaluate_classification_results_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .......models.information_protection_action import InformationProtectionAction + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/sites/item/information_protection/policy/labels/evaluate_removal/evaluate_removal_post_request_body.py b/msgraph_beta/generated/sites/item/information_protection/policy/labels/evaluate_removal/evaluate_removal_post_request_body.py index 4cac965ce2a..4a82f98e5f3 100644 --- a/msgraph_beta/generated/sites/item/information_protection/policy/labels/evaluate_removal/evaluate_removal_post_request_body.py +++ b/msgraph_beta/generated/sites/item/information_protection/policy/labels/evaluate_removal/evaluate_removal_post_request_body.py @@ -56,6 +56,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .......models.content_info import ContentInfo + from .......models.downgrade_justification import DowngradeJustification + writer.write_object_value("contentInfo", self.content_info) writer.write_object_value("downgradeJustification", self.downgrade_justification) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/sites/item/information_protection/policy/labels/evaluate_removal/evaluate_removal_post_response.py b/msgraph_beta/generated/sites/item/information_protection/policy/labels/evaluate_removal/evaluate_removal_post_response.py index 84dd88a8483..1c76fbca8f5 100644 --- a/msgraph_beta/generated/sites/item/information_protection/policy/labels/evaluate_removal/evaluate_removal_post_response.py +++ b/msgraph_beta/generated/sites/item/information_protection/policy/labels/evaluate_removal/evaluate_removal_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .......models.information_protection_action import InformationProtectionAction + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/sites/item/information_protection/policy/labels/extract_label/extract_label_post_request_body.py b/msgraph_beta/generated/sites/item/information_protection/policy/labels/extract_label/extract_label_post_request_body.py index a655c0cb419..adc85108ea3 100644 --- a/msgraph_beta/generated/sites/item/information_protection/policy/labels/extract_label/extract_label_post_request_body.py +++ b/msgraph_beta/generated/sites/item/information_protection/policy/labels/extract_label/extract_label_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .......models.content_info import ContentInfo + writer.write_object_value("contentInfo", self.content_info) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/sites/item/information_protection/sensitivity_labels/count/count_request_builder.py b/msgraph_beta/generated/sites/item/information_protection/sensitivity_labels/count/count_request_builder.py index 3674213ce06..72039081d5c 100644 --- a/msgraph_beta/generated/sites/item/information_protection/sensitivity_labels/count/count_request_builder.py +++ b/msgraph_beta/generated/sites/item/information_protection/sensitivity_labels/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/sites/item/information_protection/sensitivity_labels/evaluate/evaluate_post_request_body.py b/msgraph_beta/generated/sites/item/information_protection/sensitivity_labels/evaluate/evaluate_post_request_body.py index ab630148f58..b9c7528cf2b 100644 --- a/msgraph_beta/generated/sites/item/information_protection/sensitivity_labels/evaluate/evaluate_post_request_body.py +++ b/msgraph_beta/generated/sites/item/information_protection/sensitivity_labels/evaluate/evaluate_post_request_body.py @@ -56,6 +56,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ......models.current_label import CurrentLabel + from ......models.discovered_sensitive_type import DiscoveredSensitiveType + writer.write_object_value("currentLabel", self.current_label) writer.write_collection_of_object_values("discoveredSensitiveTypes", self.discovered_sensitive_types) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/sites/item/information_protection/sensitivity_labels/item/sublabels/count/count_request_builder.py b/msgraph_beta/generated/sites/item/information_protection/sensitivity_labels/item/sublabels/count/count_request_builder.py index b58082c7f2c..0288bf07c26 100644 --- a/msgraph_beta/generated/sites/item/information_protection/sensitivity_labels/item/sublabels/count/count_request_builder.py +++ b/msgraph_beta/generated/sites/item/information_protection/sensitivity_labels/item/sublabels/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/sites/item/information_protection/sensitivity_labels/item/sublabels/evaluate/evaluate_post_request_body.py b/msgraph_beta/generated/sites/item/information_protection/sensitivity_labels/item/sublabels/evaluate/evaluate_post_request_body.py index 52d45e6d631..cb158e12515 100644 --- a/msgraph_beta/generated/sites/item/information_protection/sensitivity_labels/item/sublabels/evaluate/evaluate_post_request_body.py +++ b/msgraph_beta/generated/sites/item/information_protection/sensitivity_labels/item/sublabels/evaluate/evaluate_post_request_body.py @@ -56,6 +56,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ........models.current_label import CurrentLabel + from ........models.discovered_sensitive_type import DiscoveredSensitiveType + writer.write_object_value("currentLabel", self.current_label) writer.write_collection_of_object_values("discoveredSensitiveTypes", self.discovered_sensitive_types) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/sites/item/information_protection/threat_assessment_requests/count/count_request_builder.py b/msgraph_beta/generated/sites/item/information_protection/threat_assessment_requests/count/count_request_builder.py index 832d8fc6d6c..2bc9b594625 100644 --- a/msgraph_beta/generated/sites/item/information_protection/threat_assessment_requests/count/count_request_builder.py +++ b/msgraph_beta/generated/sites/item/information_protection/threat_assessment_requests/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/sites/item/information_protection/threat_assessment_requests/item/results/count/count_request_builder.py b/msgraph_beta/generated/sites/item/information_protection/threat_assessment_requests/item/results/count/count_request_builder.py index 67763c55f74..1a76cb9c989 100644 --- a/msgraph_beta/generated/sites/item/information_protection/threat_assessment_requests/item/results/count/count_request_builder.py +++ b/msgraph_beta/generated/sites/item/information_protection/threat_assessment_requests/item/results/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/sites/item/items/count/count_request_builder.py b/msgraph_beta/generated/sites/item/items/count/count_request_builder.py index f1874eec3b1..8305798891a 100644 --- a/msgraph_beta/generated/sites/item/items/count/count_request_builder.py +++ b/msgraph_beta/generated/sites/item/items/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/sites/item/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/sites/item/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py index c5b82a39440..ca474c4af37 100644 --- a/msgraph_beta/generated/sites/item/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/sites/item/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/sites/item/lists/count/count_request_builder.py b/msgraph_beta/generated/sites/item/lists/count/count_request_builder.py index 0596d682baa..ac0971be487 100644 --- a/msgraph_beta/generated/sites/item/lists/count/count_request_builder.py +++ b/msgraph_beta/generated/sites/item/lists/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/sites/item/lists/item/columns/count/count_request_builder.py b/msgraph_beta/generated/sites/item/lists/item/columns/count/count_request_builder.py index 6509abb9930..8836ec87155 100644 --- a/msgraph_beta/generated/sites/item/lists/item/columns/count/count_request_builder.py +++ b/msgraph_beta/generated/sites/item/lists/item/columns/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/sites/item/lists/item/content_types/count/count_request_builder.py b/msgraph_beta/generated/sites/item/lists/item/content_types/count/count_request_builder.py index f7052d7382b..786f283e274 100644 --- a/msgraph_beta/generated/sites/item/lists/item/content_types/count/count_request_builder.py +++ b/msgraph_beta/generated/sites/item/lists/item/content_types/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/sites/item/lists/item/content_types/get_compatible_hub_content_types/get_compatible_hub_content_types_get_response.py b/msgraph_beta/generated/sites/item/lists/item/content_types/get_compatible_hub_content_types/get_compatible_hub_content_types_get_response.py index f09f3f7fec2..1adc07d9231 100644 --- a/msgraph_beta/generated/sites/item/lists/item/content_types/get_compatible_hub_content_types/get_compatible_hub_content_types_get_response.py +++ b/msgraph_beta/generated/sites/item/lists/item/content_types/get_compatible_hub_content_types/get_compatible_hub_content_types_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .......models.content_type import ContentType + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/sites/item/lists/item/content_types/item/base_types/count/count_request_builder.py b/msgraph_beta/generated/sites/item/lists/item/content_types/item/base_types/count/count_request_builder.py index 19e1ce9da6b..289e91323b8 100644 --- a/msgraph_beta/generated/sites/item/lists/item/content_types/item/base_types/count/count_request_builder.py +++ b/msgraph_beta/generated/sites/item/lists/item/content_types/item/base_types/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/sites/item/lists/item/content_types/item/column_links/count/count_request_builder.py b/msgraph_beta/generated/sites/item/lists/item/content_types/item/column_links/count/count_request_builder.py index b273980111c..b1e8df9f5d8 100644 --- a/msgraph_beta/generated/sites/item/lists/item/content_types/item/column_links/count/count_request_builder.py +++ b/msgraph_beta/generated/sites/item/lists/item/content_types/item/column_links/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/sites/item/lists/item/content_types/item/column_positions/count/count_request_builder.py b/msgraph_beta/generated/sites/item/lists/item/content_types/item/column_positions/count/count_request_builder.py index e9ec0147bcf..98564795524 100644 --- a/msgraph_beta/generated/sites/item/lists/item/content_types/item/column_positions/count/count_request_builder.py +++ b/msgraph_beta/generated/sites/item/lists/item/content_types/item/column_positions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/sites/item/lists/item/content_types/item/columns/count/count_request_builder.py b/msgraph_beta/generated/sites/item/lists/item/content_types/item/columns/count/count_request_builder.py index 65203c1d51a..925ff6b34e2 100644 --- a/msgraph_beta/generated/sites/item/lists/item/content_types/item/columns/count/count_request_builder.py +++ b/msgraph_beta/generated/sites/item/lists/item/content_types/item/columns/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/sites/item/lists/item/content_types/item/copy_to_default_content_location/copy_to_default_content_location_post_request_body.py b/msgraph_beta/generated/sites/item/lists/item/content_types/item/copy_to_default_content_location/copy_to_default_content_location_post_request_body.py index c3ae782c67d..b3118420274 100644 --- a/msgraph_beta/generated/sites/item/lists/item/content_types/item/copy_to_default_content_location/copy_to_default_content_location_post_request_body.py +++ b/msgraph_beta/generated/sites/item/lists/item/content_types/item/copy_to_default_content_location/copy_to_default_content_location_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ........models.item_reference import ItemReference + writer.write_str_value("destinationFileName", self.destination_file_name) writer.write_object_value("sourceFile", self.source_file) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/sites/item/lists/item/created_by_user/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/sites/item/lists/item/created_by_user/service_provisioning_errors/count/count_request_builder.py index df3bbc0e233..9a988eeb4bf 100644 --- a/msgraph_beta/generated/sites/item/lists/item/created_by_user/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/sites/item/lists/item/created_by_user/service_provisioning_errors/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/sites/item/lists/item/items/delta/delta_get_response.py b/msgraph_beta/generated/sites/item/lists/item/items/delta/delta_get_response.py index 03323f22f31..3f4b610d5dd 100644 --- a/msgraph_beta/generated/sites/item/lists/item/items/delta/delta_get_response.py +++ b/msgraph_beta/generated/sites/item/lists/item/items/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .......models.base_delta_function_response import BaseDeltaFunctionResponse + from .......models.list_item import ListItem + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/sites/item/lists/item/items/delta_with_token/delta_with_token_get_response.py b/msgraph_beta/generated/sites/item/lists/item/items/delta_with_token/delta_with_token_get_response.py index e314ceebd62..f63a45deb5e 100644 --- a/msgraph_beta/generated/sites/item/lists/item/items/delta_with_token/delta_with_token_get_response.py +++ b/msgraph_beta/generated/sites/item/lists/item/items/delta_with_token/delta_with_token_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .......models.base_delta_function_response import BaseDeltaFunctionResponse + from .......models.list_item import ListItem + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/sites/item/lists/item/items/item/activities/count/count_request_builder.py b/msgraph_beta/generated/sites/item/lists/item/items/item/activities/count/count_request_builder.py index 56874356bda..d5376595e28 100644 --- a/msgraph_beta/generated/sites/item/lists/item/items/item/activities/count/count_request_builder.py +++ b/msgraph_beta/generated/sites/item/lists/item/items/item/activities/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/sites/item/lists/item/items/item/create_link/create_link_post_request_body.py b/msgraph_beta/generated/sites/item/lists/item/items/item/create_link/create_link_post_request_body.py index 7541866cf90..91687fba125 100644 --- a/msgraph_beta/generated/sites/item/lists/item/items/item/create_link/create_link_post_request_body.py +++ b/msgraph_beta/generated/sites/item/lists/item/items/item/create_link/create_link_post_request_body.py @@ -72,6 +72,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ........models.drive_recipient import DriveRecipient + writer.write_datetime_value("expirationDateTime", self.expiration_date_time) writer.write_str_value("message", self.message) writer.write_str_value("password", self.password) diff --git a/msgraph_beta/generated/sites/item/lists/item/items/item/created_by_user/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/sites/item/lists/item/items/item/created_by_user/service_provisioning_errors/count/count_request_builder.py index 7b9493b1e17..228e26df7de 100644 --- a/msgraph_beta/generated/sites/item/lists/item/items/item/created_by_user/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/sites/item/lists/item/items/item/created_by_user/service_provisioning_errors/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/sites/item/lists/item/items/item/document_set_versions/count/count_request_builder.py b/msgraph_beta/generated/sites/item/lists/item/items/item/document_set_versions/count/count_request_builder.py index a6d18c87591..3ea59105e87 100644 --- a/msgraph_beta/generated/sites/item/lists/item/items/item/document_set_versions/count/count_request_builder.py +++ b/msgraph_beta/generated/sites/item/lists/item/items/item/document_set_versions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/sites/item/lists/item/items/item/get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval/get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval_get_response.py b/msgraph_beta/generated/sites/item/lists/item/items/item/get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval/get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval_get_response.py index 0388b458a44..acbddd25e95 100644 --- a/msgraph_beta/generated/sites/item/lists/item/items/item/get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval/get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval_get_response.py +++ b/msgraph_beta/generated/sites/item/lists/item/items/item/get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval/get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ........models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ........models.item_activity_stat import ItemActivityStat + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/sites/item/lists/item/items/item/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/sites/item/lists/item/items/item/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py index b49f1cadbe0..f0ac429dbfc 100644 --- a/msgraph_beta/generated/sites/item/lists/item/items/item/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/sites/item/lists/item/items/item/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/sites/item/lists/item/items/item/permissions/count/count_request_builder.py b/msgraph_beta/generated/sites/item/lists/item/items/item/permissions/count/count_request_builder.py index 25189016b2d..44da2793056 100644 --- a/msgraph_beta/generated/sites/item/lists/item/items/item/permissions/count/count_request_builder.py +++ b/msgraph_beta/generated/sites/item/lists/item/items/item/permissions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/sites/item/lists/item/items/item/permissions/item/grant/grant_post_request_body.py b/msgraph_beta/generated/sites/item/lists/item/items/item/permissions/item/grant/grant_post_request_body.py index 9918fa124c6..e64c1579392 100644 --- a/msgraph_beta/generated/sites/item/lists/item/items/item/permissions/item/grant/grant_post_request_body.py +++ b/msgraph_beta/generated/sites/item/lists/item/items/item/permissions/item/grant/grant_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ..........models.drive_recipient import DriveRecipient + writer.write_collection_of_object_values("recipients", self.recipients) writer.write_collection_of_primitive_values("roles", self.roles) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/sites/item/lists/item/items/item/permissions/item/grant/grant_post_response.py b/msgraph_beta/generated/sites/item/lists/item/items/item/permissions/item/grant/grant_post_response.py index 9f730670a65..ca8d80e990f 100644 --- a/msgraph_beta/generated/sites/item/lists/item/items/item/permissions/item/grant/grant_post_response.py +++ b/msgraph_beta/generated/sites/item/lists/item/items/item/permissions/item/grant/grant_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..........models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ..........models.permission import Permission + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/sites/item/lists/item/items/item/permissions/item/revoke_grants/revoke_grants_post_request_body.py b/msgraph_beta/generated/sites/item/lists/item/items/item/permissions/item/revoke_grants/revoke_grants_post_request_body.py index bc564fec9eb..5b0a7524e30 100644 --- a/msgraph_beta/generated/sites/item/lists/item/items/item/permissions/item/revoke_grants/revoke_grants_post_request_body.py +++ b/msgraph_beta/generated/sites/item/lists/item/items/item/permissions/item/revoke_grants/revoke_grants_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ..........models.drive_recipient import DriveRecipient + writer.write_collection_of_object_values("grantees", self.grantees) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/sites/item/lists/item/items/item/versions/count/count_request_builder.py b/msgraph_beta/generated/sites/item/lists/item/items/item/versions/count/count_request_builder.py index fcf7180b8de..932777846b6 100644 --- a/msgraph_beta/generated/sites/item/lists/item/items/item/versions/count/count_request_builder.py +++ b/msgraph_beta/generated/sites/item/lists/item/items/item/versions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/sites/item/lists/item/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/sites/item/lists/item/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py index 4ed7c15cf47..40cb6c9e8b6 100644 --- a/msgraph_beta/generated/sites/item/lists/item/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/sites/item/lists/item/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/sites/item/lists/item/list_item_request_builder.py b/msgraph_beta/generated/sites/item/lists/item/list_item_request_builder.py index 2af900423f8..cc72dc5be1f 100644 --- a/msgraph_beta/generated/sites/item/lists/item/list_item_request_builder.py +++ b/msgraph_beta/generated/sites/item/lists/item/list_item_request_builder.py @@ -59,10 +59,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[ListItemRequestBuilderGetQueryParameters]] = None) -> Optional[List_]: """ - Get the list of richLongRunningOperations associated with a list. + Return the metadata for 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-list-operations?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/list-get?view=graph-rest-beta """ 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[ListItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Get the list of richLongRunningOperations associated with a list. + Return the metadata for a list. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -248,7 +248,7 @@ class ListItemRequestBuilderDeleteRequestConfiguration(RequestConfiguration[Quer @dataclass class ListItemRequestBuilderGetQueryParameters(): """ - Get the list of richLongRunningOperations associated with a list. + Return the metadata for a list. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/sites/item/lists/item/operations/count/count_request_builder.py b/msgraph_beta/generated/sites/item/lists/item/operations/count/count_request_builder.py index 5dd11e994f3..42043065353 100644 --- a/msgraph_beta/generated/sites/item/lists/item/operations/count/count_request_builder.py +++ b/msgraph_beta/generated/sites/item/lists/item/operations/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/sites/item/lists/item/permissions/count/count_request_builder.py b/msgraph_beta/generated/sites/item/lists/item/permissions/count/count_request_builder.py index 8d2ef277186..3412e84bda0 100644 --- a/msgraph_beta/generated/sites/item/lists/item/permissions/count/count_request_builder.py +++ b/msgraph_beta/generated/sites/item/lists/item/permissions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/sites/item/lists/item/permissions/item/grant/grant_post_request_body.py b/msgraph_beta/generated/sites/item/lists/item/permissions/item/grant/grant_post_request_body.py index 1d81924129b..938d3b07897 100644 --- a/msgraph_beta/generated/sites/item/lists/item/permissions/item/grant/grant_post_request_body.py +++ b/msgraph_beta/generated/sites/item/lists/item/permissions/item/grant/grant_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ........models.drive_recipient import DriveRecipient + writer.write_collection_of_object_values("recipients", self.recipients) writer.write_collection_of_primitive_values("roles", self.roles) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/sites/item/lists/item/permissions/item/grant/grant_post_response.py b/msgraph_beta/generated/sites/item/lists/item/permissions/item/grant/grant_post_response.py index 49d325a0f49..a192c772c4a 100644 --- a/msgraph_beta/generated/sites/item/lists/item/permissions/item/grant/grant_post_response.py +++ b/msgraph_beta/generated/sites/item/lists/item/permissions/item/grant/grant_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ........models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ........models.permission import Permission + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/sites/item/lists/item/permissions/item/revoke_grants/revoke_grants_post_request_body.py b/msgraph_beta/generated/sites/item/lists/item/permissions/item/revoke_grants/revoke_grants_post_request_body.py index a347271fea8..6bd46ec8a0a 100644 --- a/msgraph_beta/generated/sites/item/lists/item/permissions/item/revoke_grants/revoke_grants_post_request_body.py +++ b/msgraph_beta/generated/sites/item/lists/item/permissions/item/revoke_grants/revoke_grants_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ........models.drive_recipient import DriveRecipient + writer.write_collection_of_object_values("grantees", self.grantees) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/sites/item/lists/item/subscriptions/count/count_request_builder.py b/msgraph_beta/generated/sites/item/lists/item/subscriptions/count/count_request_builder.py index 7cd7b712623..c0043f0bd40 100644 --- a/msgraph_beta/generated/sites/item/lists/item/subscriptions/count/count_request_builder.py +++ b/msgraph_beta/generated/sites/item/lists/item/subscriptions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/sites/item/onenote/notebooks/count/count_request_builder.py b/msgraph_beta/generated/sites/item/onenote/notebooks/count/count_request_builder.py index 9472baa991b..1b98e3431f2 100644 --- a/msgraph_beta/generated/sites/item/onenote/notebooks/count/count_request_builder.py +++ b/msgraph_beta/generated/sites/item/onenote/notebooks/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/sites/item/onenote/notebooks/get_recent_notebooks_with_include_personal_notebooks/get_recent_notebooks_with_include_personal_notebooks_get_response.py b/msgraph_beta/generated/sites/item/onenote/notebooks/get_recent_notebooks_with_include_personal_notebooks/get_recent_notebooks_with_include_personal_notebooks_get_response.py index 04ea6d61de3..0299334d52f 100644 --- a/msgraph_beta/generated/sites/item/onenote/notebooks/get_recent_notebooks_with_include_personal_notebooks/get_recent_notebooks_with_include_personal_notebooks_get_response.py +++ b/msgraph_beta/generated/sites/item/onenote/notebooks/get_recent_notebooks_with_include_personal_notebooks/get_recent_notebooks_with_include_personal_notebooks_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ......models.recent_notebook import RecentNotebook + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/sites/item/onenote/notebooks/item/section_groups/count/count_request_builder.py b/msgraph_beta/generated/sites/item/onenote/notebooks/item/section_groups/count/count_request_builder.py index c0d461f7cea..463ff55f67b 100644 --- a/msgraph_beta/generated/sites/item/onenote/notebooks/item/section_groups/count/count_request_builder.py +++ b/msgraph_beta/generated/sites/item/onenote/notebooks/item/section_groups/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/sites/item/onenote/notebooks/item/section_groups/item/section_groups/count/count_request_builder.py b/msgraph_beta/generated/sites/item/onenote/notebooks/item/section_groups/item/section_groups/count/count_request_builder.py index b17f450ac19..f4bc6c97e10 100644 --- a/msgraph_beta/generated/sites/item/onenote/notebooks/item/section_groups/item/section_groups/count/count_request_builder.py +++ b/msgraph_beta/generated/sites/item/onenote/notebooks/item/section_groups/item/section_groups/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/sites/item/onenote/notebooks/item/section_groups/item/sections/count/count_request_builder.py b/msgraph_beta/generated/sites/item/onenote/notebooks/item/section_groups/item/sections/count/count_request_builder.py index e80aa26007a..9582db1d531 100644 --- a/msgraph_beta/generated/sites/item/onenote/notebooks/item/section_groups/item/sections/count/count_request_builder.py +++ b/msgraph_beta/generated/sites/item/onenote/notebooks/item/section_groups/item/sections/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/sites/item/onenote/notebooks/item/section_groups/item/sections/item/pages/count/count_request_builder.py b/msgraph_beta/generated/sites/item/onenote/notebooks/item/section_groups/item/sections/item/pages/count/count_request_builder.py index 64e3f6c6aac..282c1734b9d 100644 --- a/msgraph_beta/generated/sites/item/onenote/notebooks/item/section_groups/item/sections/item/pages/count/count_request_builder.py +++ b/msgraph_beta/generated/sites/item/onenote/notebooks/item/section_groups/item/sections/item/pages/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/sites/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_post_request_body.py b/msgraph_beta/generated/sites/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_post_request_body.py index d9306c81c81..83889693100 100644 --- a/msgraph_beta/generated/sites/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_post_request_body.py +++ b/msgraph_beta/generated/sites/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .............models.onenote_patch_content_command import OnenotePatchContentCommand + writer.write_collection_of_object_values("commands", self.commands) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/sites/item/onenote/notebooks/item/sections/count/count_request_builder.py b/msgraph_beta/generated/sites/item/onenote/notebooks/item/sections/count/count_request_builder.py index 779f074655d..d225b375954 100644 --- a/msgraph_beta/generated/sites/item/onenote/notebooks/item/sections/count/count_request_builder.py +++ b/msgraph_beta/generated/sites/item/onenote/notebooks/item/sections/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/sites/item/onenote/notebooks/item/sections/item/pages/count/count_request_builder.py b/msgraph_beta/generated/sites/item/onenote/notebooks/item/sections/item/pages/count/count_request_builder.py index b10f6b09c8b..cf9be627048 100644 --- a/msgraph_beta/generated/sites/item/onenote/notebooks/item/sections/item/pages/count/count_request_builder.py +++ b/msgraph_beta/generated/sites/item/onenote/notebooks/item/sections/item/pages/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/sites/item/onenote/notebooks/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_post_request_body.py b/msgraph_beta/generated/sites/item/onenote/notebooks/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_post_request_body.py index adba9908f59..751ac43704e 100644 --- a/msgraph_beta/generated/sites/item/onenote/notebooks/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_post_request_body.py +++ b/msgraph_beta/generated/sites/item/onenote/notebooks/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ...........models.onenote_patch_content_command import OnenotePatchContentCommand + writer.write_collection_of_object_values("commands", self.commands) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/sites/item/onenote/operations/count/count_request_builder.py b/msgraph_beta/generated/sites/item/onenote/operations/count/count_request_builder.py index 29bb3e66999..a89cf8813c6 100644 --- a/msgraph_beta/generated/sites/item/onenote/operations/count/count_request_builder.py +++ b/msgraph_beta/generated/sites/item/onenote/operations/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/sites/item/onenote/pages/count/count_request_builder.py b/msgraph_beta/generated/sites/item/onenote/pages/count/count_request_builder.py index 461ea88ac64..b5f369c224c 100644 --- a/msgraph_beta/generated/sites/item/onenote/pages/count/count_request_builder.py +++ b/msgraph_beta/generated/sites/item/onenote/pages/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/sites/item/onenote/pages/item/onenote_patch_content/onenote_patch_content_post_request_body.py b/msgraph_beta/generated/sites/item/onenote/pages/item/onenote_patch_content/onenote_patch_content_post_request_body.py index 2e2dbeec7bd..86090bbe17a 100644 --- a/msgraph_beta/generated/sites/item/onenote/pages/item/onenote_patch_content/onenote_patch_content_post_request_body.py +++ b/msgraph_beta/generated/sites/item/onenote/pages/item/onenote_patch_content/onenote_patch_content_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .......models.onenote_patch_content_command import OnenotePatchContentCommand + writer.write_collection_of_object_values("commands", self.commands) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/sites/item/onenote/resources/count/count_request_builder.py b/msgraph_beta/generated/sites/item/onenote/resources/count/count_request_builder.py index 849bbae3661..4950c6542f8 100644 --- a/msgraph_beta/generated/sites/item/onenote/resources/count/count_request_builder.py +++ b/msgraph_beta/generated/sites/item/onenote/resources/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/sites/item/onenote/section_groups/count/count_request_builder.py b/msgraph_beta/generated/sites/item/onenote/section_groups/count/count_request_builder.py index 17dc4783752..dc4f7fda75d 100644 --- a/msgraph_beta/generated/sites/item/onenote/section_groups/count/count_request_builder.py +++ b/msgraph_beta/generated/sites/item/onenote/section_groups/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/sites/item/onenote/section_groups/item/section_groups/count/count_request_builder.py b/msgraph_beta/generated/sites/item/onenote/section_groups/item/section_groups/count/count_request_builder.py index f1d300f04c5..6838f19a0f2 100644 --- a/msgraph_beta/generated/sites/item/onenote/section_groups/item/section_groups/count/count_request_builder.py +++ b/msgraph_beta/generated/sites/item/onenote/section_groups/item/section_groups/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/sites/item/onenote/section_groups/item/sections/count/count_request_builder.py b/msgraph_beta/generated/sites/item/onenote/section_groups/item/sections/count/count_request_builder.py index 11d852866f9..456ce7ff4fc 100644 --- a/msgraph_beta/generated/sites/item/onenote/section_groups/item/sections/count/count_request_builder.py +++ b/msgraph_beta/generated/sites/item/onenote/section_groups/item/sections/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/sites/item/onenote/section_groups/item/sections/item/pages/count/count_request_builder.py b/msgraph_beta/generated/sites/item/onenote/section_groups/item/sections/item/pages/count/count_request_builder.py index 01d3798467e..69ee553a334 100644 --- a/msgraph_beta/generated/sites/item/onenote/section_groups/item/sections/item/pages/count/count_request_builder.py +++ b/msgraph_beta/generated/sites/item/onenote/section_groups/item/sections/item/pages/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/sites/item/onenote/section_groups/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_post_request_body.py b/msgraph_beta/generated/sites/item/onenote/section_groups/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_post_request_body.py index adba9908f59..751ac43704e 100644 --- a/msgraph_beta/generated/sites/item/onenote/section_groups/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_post_request_body.py +++ b/msgraph_beta/generated/sites/item/onenote/section_groups/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ...........models.onenote_patch_content_command import OnenotePatchContentCommand + writer.write_collection_of_object_values("commands", self.commands) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/sites/item/onenote/sections/count/count_request_builder.py b/msgraph_beta/generated/sites/item/onenote/sections/count/count_request_builder.py index d138a0ab5f7..91afaae1021 100644 --- a/msgraph_beta/generated/sites/item/onenote/sections/count/count_request_builder.py +++ b/msgraph_beta/generated/sites/item/onenote/sections/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/sites/item/onenote/sections/item/pages/count/count_request_builder.py b/msgraph_beta/generated/sites/item/onenote/sections/item/pages/count/count_request_builder.py index 2086214d494..12e816013b1 100644 --- a/msgraph_beta/generated/sites/item/onenote/sections/item/pages/count/count_request_builder.py +++ b/msgraph_beta/generated/sites/item/onenote/sections/item/pages/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/sites/item/onenote/sections/item/pages/item/onenote_patch_content/onenote_patch_content_post_request_body.py b/msgraph_beta/generated/sites/item/onenote/sections/item/pages/item/onenote_patch_content/onenote_patch_content_post_request_body.py index 91dc2d61523..00b13f12e29 100644 --- a/msgraph_beta/generated/sites/item/onenote/sections/item/pages/item/onenote_patch_content/onenote_patch_content_post_request_body.py +++ b/msgraph_beta/generated/sites/item/onenote/sections/item/pages/item/onenote_patch_content/onenote_patch_content_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .........models.onenote_patch_content_command import OnenotePatchContentCommand + writer.write_collection_of_object_values("commands", self.commands) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/sites/item/operations/count/count_request_builder.py b/msgraph_beta/generated/sites/item/operations/count/count_request_builder.py index 6d3265a57c7..47840be5a54 100644 --- a/msgraph_beta/generated/sites/item/operations/count/count_request_builder.py +++ b/msgraph_beta/generated/sites/item/operations/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/sites/item/page_templates/count/count_request_builder.py b/msgraph_beta/generated/sites/item/page_templates/count/count_request_builder.py index d9b76b5052f..5ed961bf284 100644 --- a/msgraph_beta/generated/sites/item/page_templates/count/count_request_builder.py +++ b/msgraph_beta/generated/sites/item/page_templates/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/sites/item/page_templates/item/canvas_layout/horizontal_sections/count/count_request_builder.py b/msgraph_beta/generated/sites/item/page_templates/item/canvas_layout/horizontal_sections/count/count_request_builder.py index 68c7525501a..7053cace6c0 100644 --- a/msgraph_beta/generated/sites/item/page_templates/item/canvas_layout/horizontal_sections/count/count_request_builder.py +++ b/msgraph_beta/generated/sites/item/page_templates/item/canvas_layout/horizontal_sections/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/sites/item/page_templates/item/canvas_layout/horizontal_sections/item/columns/count/count_request_builder.py b/msgraph_beta/generated/sites/item/page_templates/item/canvas_layout/horizontal_sections/item/columns/count/count_request_builder.py index 1758e043503..8aca0b1891e 100644 --- a/msgraph_beta/generated/sites/item/page_templates/item/canvas_layout/horizontal_sections/item/columns/count/count_request_builder.py +++ b/msgraph_beta/generated/sites/item/page_templates/item/canvas_layout/horizontal_sections/item/columns/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/sites/item/page_templates/item/canvas_layout/horizontal_sections/item/columns/item/webparts/count/count_request_builder.py b/msgraph_beta/generated/sites/item/page_templates/item/canvas_layout/horizontal_sections/item/columns/item/webparts/count/count_request_builder.py index 1fea7b15f0e..3aeb58e08ca 100644 --- a/msgraph_beta/generated/sites/item/page_templates/item/canvas_layout/horizontal_sections/item/columns/item/webparts/count/count_request_builder.py +++ b/msgraph_beta/generated/sites/item/page_templates/item/canvas_layout/horizontal_sections/item/columns/item/webparts/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/sites/item/page_templates/item/canvas_layout/vertical_section/webparts/count/count_request_builder.py b/msgraph_beta/generated/sites/item/page_templates/item/canvas_layout/vertical_section/webparts/count/count_request_builder.py index 844850009d7..1cce25029f9 100644 --- a/msgraph_beta/generated/sites/item/page_templates/item/canvas_layout/vertical_section/webparts/count/count_request_builder.py +++ b/msgraph_beta/generated/sites/item/page_templates/item/canvas_layout/vertical_section/webparts/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/sites/item/page_templates/item/created_by_user/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/sites/item/page_templates/item/created_by_user/service_provisioning_errors/count/count_request_builder.py index 58f22ee284a..cf794614fa5 100644 --- a/msgraph_beta/generated/sites/item/page_templates/item/created_by_user/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/sites/item/page_templates/item/created_by_user/service_provisioning_errors/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/sites/item/page_templates/item/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/sites/item/page_templates/item/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py index 5808d4c95e2..5fbc819987e 100644 --- a/msgraph_beta/generated/sites/item/page_templates/item/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/sites/item/page_templates/item/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/sites/item/page_templates/item/web_parts/count/count_request_builder.py b/msgraph_beta/generated/sites/item/page_templates/item/web_parts/count/count_request_builder.py index a44cec1b94c..818c93483eb 100644 --- a/msgraph_beta/generated/sites/item/page_templates/item/web_parts/count/count_request_builder.py +++ b/msgraph_beta/generated/sites/item/page_templates/item/web_parts/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/sites/item/pages/count/count_request_builder.py b/msgraph_beta/generated/sites/item/pages/count/count_request_builder.py index 56d3be25138..3de8f40d92a 100644 --- a/msgraph_beta/generated/sites/item/pages/count/count_request_builder.py +++ b/msgraph_beta/generated/sites/item/pages/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/sites/item/pages/graph_site_page/count/count_request_builder.py b/msgraph_beta/generated/sites/item/pages/graph_site_page/count/count_request_builder.py index c279771a307..f5807d3b311 100644 --- a/msgraph_beta/generated/sites/item/pages/graph_site_page/count/count_request_builder.py +++ b/msgraph_beta/generated/sites/item/pages/graph_site_page/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/sites/item/pages/item/created_by_user/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/sites/item/pages/item/created_by_user/service_provisioning_errors/count/count_request_builder.py index 2e61b4176ab..7855ab0f20b 100644 --- a/msgraph_beta/generated/sites/item/pages/item/created_by_user/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/sites/item/pages/item/created_by_user/service_provisioning_errors/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/sites/item/pages/item/graph_site_page/canvas_layout/horizontal_sections/count/count_request_builder.py b/msgraph_beta/generated/sites/item/pages/item/graph_site_page/canvas_layout/horizontal_sections/count/count_request_builder.py index ed880dcf968..1d90b053fab 100644 --- a/msgraph_beta/generated/sites/item/pages/item/graph_site_page/canvas_layout/horizontal_sections/count/count_request_builder.py +++ b/msgraph_beta/generated/sites/item/pages/item/graph_site_page/canvas_layout/horizontal_sections/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/sites/item/pages/item/graph_site_page/canvas_layout/horizontal_sections/item/columns/count/count_request_builder.py b/msgraph_beta/generated/sites/item/pages/item/graph_site_page/canvas_layout/horizontal_sections/item/columns/count/count_request_builder.py index c56aa2b2e7b..0ac5b1d5cca 100644 --- a/msgraph_beta/generated/sites/item/pages/item/graph_site_page/canvas_layout/horizontal_sections/item/columns/count/count_request_builder.py +++ b/msgraph_beta/generated/sites/item/pages/item/graph_site_page/canvas_layout/horizontal_sections/item/columns/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/sites/item/pages/item/graph_site_page/canvas_layout/horizontal_sections/item/columns/item/webparts/count/count_request_builder.py b/msgraph_beta/generated/sites/item/pages/item/graph_site_page/canvas_layout/horizontal_sections/item/columns/item/webparts/count/count_request_builder.py index 6edb9d6d23d..e0a0923c052 100644 --- a/msgraph_beta/generated/sites/item/pages/item/graph_site_page/canvas_layout/horizontal_sections/item/columns/item/webparts/count/count_request_builder.py +++ b/msgraph_beta/generated/sites/item/pages/item/graph_site_page/canvas_layout/horizontal_sections/item/columns/item/webparts/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/sites/item/pages/item/graph_site_page/canvas_layout/vertical_section/webparts/count/count_request_builder.py b/msgraph_beta/generated/sites/item/pages/item/graph_site_page/canvas_layout/vertical_section/webparts/count/count_request_builder.py index 7532361d34f..899693839d2 100644 --- a/msgraph_beta/generated/sites/item/pages/item/graph_site_page/canvas_layout/vertical_section/webparts/count/count_request_builder.py +++ b/msgraph_beta/generated/sites/item/pages/item/graph_site_page/canvas_layout/vertical_section/webparts/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/sites/item/pages/item/graph_site_page/created_by_user/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/sites/item/pages/item/graph_site_page/created_by_user/service_provisioning_errors/count/count_request_builder.py index 9bc0024617f..f506d6cab93 100644 --- a/msgraph_beta/generated/sites/item/pages/item/graph_site_page/created_by_user/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/sites/item/pages/item/graph_site_page/created_by_user/service_provisioning_errors/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/sites/item/pages/item/graph_site_page/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/sites/item/pages/item/graph_site_page/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py index db7eaee5dd3..b6b0bd896bc 100644 --- a/msgraph_beta/generated/sites/item/pages/item/graph_site_page/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/sites/item/pages/item/graph_site_page/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/sites/item/pages/item/graph_site_page/web_parts/count/count_request_builder.py b/msgraph_beta/generated/sites/item/pages/item/graph_site_page/web_parts/count/count_request_builder.py index 1bec99c50e4..72e36b8766f 100644 --- a/msgraph_beta/generated/sites/item/pages/item/graph_site_page/web_parts/count/count_request_builder.py +++ b/msgraph_beta/generated/sites/item/pages/item/graph_site_page/web_parts/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/sites/item/pages/item/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/sites/item/pages/item/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py index 61b3b799cdb..37304ae4a6c 100644 --- a/msgraph_beta/generated/sites/item/pages/item/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/sites/item/pages/item/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/sites/item/permissions/count/count_request_builder.py b/msgraph_beta/generated/sites/item/permissions/count/count_request_builder.py index a895c85a3c2..d9cb9a1ea3d 100644 --- a/msgraph_beta/generated/sites/item/permissions/count/count_request_builder.py +++ b/msgraph_beta/generated/sites/item/permissions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/sites/item/permissions/item/grant/grant_post_request_body.py b/msgraph_beta/generated/sites/item/permissions/item/grant/grant_post_request_body.py index 1337af2a929..64a93d5e35e 100644 --- a/msgraph_beta/generated/sites/item/permissions/item/grant/grant_post_request_body.py +++ b/msgraph_beta/generated/sites/item/permissions/item/grant/grant_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ......models.drive_recipient import DriveRecipient + writer.write_collection_of_object_values("recipients", self.recipients) writer.write_collection_of_primitive_values("roles", self.roles) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/sites/item/permissions/item/grant/grant_post_response.py b/msgraph_beta/generated/sites/item/permissions/item/grant/grant_post_response.py index e6a49eccd42..c0b3e2b10ac 100644 --- a/msgraph_beta/generated/sites/item/permissions/item/grant/grant_post_response.py +++ b/msgraph_beta/generated/sites/item/permissions/item/grant/grant_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ......models.permission import Permission + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/sites/item/permissions/item/revoke_grants/revoke_grants_post_request_body.py b/msgraph_beta/generated/sites/item/permissions/item/revoke_grants/revoke_grants_post_request_body.py index da15dbc1516..4f100a11413 100644 --- a/msgraph_beta/generated/sites/item/permissions/item/revoke_grants/revoke_grants_post_request_body.py +++ b/msgraph_beta/generated/sites/item/permissions/item/revoke_grants/revoke_grants_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ......models.drive_recipient import DriveRecipient + writer.write_collection_of_object_values("grantees", self.grantees) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/sites/item/recycle_bin/created_by_user/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/sites/item/recycle_bin/created_by_user/service_provisioning_errors/count/count_request_builder.py index 88d27dc1d42..8386996d423 100644 --- a/msgraph_beta/generated/sites/item/recycle_bin/created_by_user/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/sites/item/recycle_bin/created_by_user/service_provisioning_errors/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/sites/item/recycle_bin/items/count/count_request_builder.py b/msgraph_beta/generated/sites/item/recycle_bin/items/count/count_request_builder.py index 53b928abae3..0eddfa9107a 100644 --- a/msgraph_beta/generated/sites/item/recycle_bin/items/count/count_request_builder.py +++ b/msgraph_beta/generated/sites/item/recycle_bin/items/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/sites/item/recycle_bin/items/item/created_by_user/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/sites/item/recycle_bin/items/item/created_by_user/service_provisioning_errors/count/count_request_builder.py index f29fe7b3e26..317a00a9e36 100644 --- a/msgraph_beta/generated/sites/item/recycle_bin/items/item/created_by_user/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/sites/item/recycle_bin/items/item/created_by_user/service_provisioning_errors/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/sites/item/recycle_bin/items/item/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/sites/item/recycle_bin/items/item/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py index ebe16e90c33..715c5ab63f9 100644 --- a/msgraph_beta/generated/sites/item/recycle_bin/items/item/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/sites/item/recycle_bin/items/item/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/sites/item/recycle_bin/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/sites/item/recycle_bin/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py index 57186ee46a7..5f2f9760ae9 100644 --- a/msgraph_beta/generated/sites/item/recycle_bin/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/sites/item/recycle_bin/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/sites/item/sites/count/count_request_builder.py b/msgraph_beta/generated/sites/item/sites/count/count_request_builder.py index 69d7752d9f4..a96a807fb14 100644 --- a/msgraph_beta/generated/sites/item/sites/count/count_request_builder.py +++ b/msgraph_beta/generated/sites/item/sites/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/sites/item/term_store/groups/count/count_request_builder.py b/msgraph_beta/generated/sites/item/term_store/groups/count/count_request_builder.py index eb5cd2ee5c7..6450566ea84 100644 --- a/msgraph_beta/generated/sites/item/term_store/groups/count/count_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/groups/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/sites/item/term_store/groups/item/sets/count/count_request_builder.py b/msgraph_beta/generated/sites/item/term_store/groups/item/sets/count/count_request_builder.py index eed77058470..20b044459f3 100644 --- a/msgraph_beta/generated/sites/item/term_store/groups/item/sets/count/count_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/groups/item/sets/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/children/count/count_request_builder.py b/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/children/count/count_request_builder.py index a24d9c69f44..12246d1928b 100644 --- a/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/children/count/count_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/children/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/children/item/children/count/count_request_builder.py b/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/children/item/children/count/count_request_builder.py index c093e699c72..970ab74d7f7 100644 --- a/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/children/item/children/count/count_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/children/item/children/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/children/item/children/item/relations/count/count_request_builder.py b/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/children/item/children/item/relations/count/count_request_builder.py index 5f25046f27c..18f6c1dfdbb 100644 --- a/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/children/item/children/item/relations/count/count_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/children/item/children/item/relations/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/children/item/relations/count/count_request_builder.py b/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/children/item/relations/count/count_request_builder.py index d154a0f2b3b..0d71a896a4e 100644 --- a/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/children/item/relations/count/count_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/children/item/relations/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/relations/count/count_request_builder.py b/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/relations/count/count_request_builder.py index 98db1e0914a..bb64a6c8218 100644 --- a/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/relations/count/count_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/relations/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/terms/count/count_request_builder.py b/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/terms/count/count_request_builder.py index 0de576727b1..f66e22a6c9c 100644 --- a/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/terms/count/count_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/terms/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/terms/item/children/count/count_request_builder.py b/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/terms/item/children/count/count_request_builder.py index fa005001a51..22eb3a4ab47 100644 --- a/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/terms/item/children/count/count_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/terms/item/children/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/terms/item/children/item/relations/count/count_request_builder.py b/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/terms/item/children/item/relations/count/count_request_builder.py index 55965b7343c..c8f695fdf75 100644 --- a/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/terms/item/children/item/relations/count/count_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/terms/item/children/item/relations/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/terms/item/relations/count/count_request_builder.py b/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/terms/item/relations/count/count_request_builder.py index fad4b3c7080..f621f26fa77 100644 --- a/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/terms/item/relations/count/count_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/terms/item/relations/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/sites/item/term_store/sets/count/count_request_builder.py b/msgraph_beta/generated/sites/item/term_store/sets/count/count_request_builder.py index 98cbd190fe0..18c527b1aa4 100644 --- a/msgraph_beta/generated/sites/item/term_store/sets/count/count_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/sets/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/sites/item/term_store/sets/item/children/count/count_request_builder.py b/msgraph_beta/generated/sites/item/term_store/sets/item/children/count/count_request_builder.py index c6d64605a41..ab8e559cf01 100644 --- a/msgraph_beta/generated/sites/item/term_store/sets/item/children/count/count_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/sets/item/children/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/sites/item/term_store/sets/item/children/item/children/count/count_request_builder.py b/msgraph_beta/generated/sites/item/term_store/sets/item/children/item/children/count/count_request_builder.py index a9eb45b36cd..710a6fc35a3 100644 --- a/msgraph_beta/generated/sites/item/term_store/sets/item/children/item/children/count/count_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/sets/item/children/item/children/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/sites/item/term_store/sets/item/children/item/children/item/relations/count/count_request_builder.py b/msgraph_beta/generated/sites/item/term_store/sets/item/children/item/children/item/relations/count/count_request_builder.py index 8e6b348e13e..3144a21816d 100644 --- a/msgraph_beta/generated/sites/item/term_store/sets/item/children/item/children/item/relations/count/count_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/sets/item/children/item/children/item/relations/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/sites/item/term_store/sets/item/children/item/relations/count/count_request_builder.py b/msgraph_beta/generated/sites/item/term_store/sets/item/children/item/relations/count/count_request_builder.py index 67a14e3af98..0626a0b19af 100644 --- a/msgraph_beta/generated/sites/item/term_store/sets/item/children/item/relations/count/count_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/sets/item/children/item/relations/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/count/count_request_builder.py b/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/count/count_request_builder.py index 27f7d59b588..69092702ae5 100644 --- a/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/count/count_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/children/count/count_request_builder.py b/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/children/count/count_request_builder.py index 2040025e605..31c5100305a 100644 --- a/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/children/count/count_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/children/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/children/item/children/count/count_request_builder.py b/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/children/item/children/count/count_request_builder.py index ee601f7696d..7ea5f20e106 100644 --- a/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/children/item/children/count/count_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/children/item/children/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/children/item/children/item/relations/count/count_request_builder.py b/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/children/item/children/item/relations/count/count_request_builder.py index 60918555944..f081d795c05 100644 --- a/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/children/item/children/item/relations/count/count_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/children/item/children/item/relations/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/children/item/relations/count/count_request_builder.py b/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/children/item/relations/count/count_request_builder.py index ad61ccc03e9..32290ec83f3 100644 --- a/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/children/item/relations/count/count_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/children/item/relations/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/relations/count/count_request_builder.py b/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/relations/count/count_request_builder.py index 9a1ef6880a4..edf9a249fdc 100644 --- a/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/relations/count/count_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/relations/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/terms/count/count_request_builder.py b/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/terms/count/count_request_builder.py index e524bd8c7b3..35729a86c56 100644 --- a/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/terms/count/count_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/terms/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/children/count/count_request_builder.py b/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/children/count/count_request_builder.py index eabb6d95353..6888e2b2cf2 100644 --- a/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/children/count/count_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/children/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/children/item/relations/count/count_request_builder.py b/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/children/item/relations/count/count_request_builder.py index 932e6110539..82f4eadc37d 100644 --- a/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/children/item/relations/count/count_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/children/item/relations/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/relations/count/count_request_builder.py b/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/relations/count/count_request_builder.py index 259fa488f45..4b7ca7b6ead 100644 --- a/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/relations/count/count_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/relations/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/sites/item/term_store/sets/item/relations/count/count_request_builder.py b/msgraph_beta/generated/sites/item/term_store/sets/item/relations/count/count_request_builder.py index 665db4bf83a..5a2210f1d70 100644 --- a/msgraph_beta/generated/sites/item/term_store/sets/item/relations/count/count_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/sets/item/relations/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/sites/item/term_store/sets/item/terms/count/count_request_builder.py b/msgraph_beta/generated/sites/item/term_store/sets/item/terms/count/count_request_builder.py index f856a065792..fb5f9d60f56 100644 --- a/msgraph_beta/generated/sites/item/term_store/sets/item/terms/count/count_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/sets/item/terms/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/sites/item/term_store/sets/item/terms/item/children/count/count_request_builder.py b/msgraph_beta/generated/sites/item/term_store/sets/item/terms/item/children/count/count_request_builder.py index d14ca9beca6..5b670523ee6 100644 --- a/msgraph_beta/generated/sites/item/term_store/sets/item/terms/item/children/count/count_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/sets/item/terms/item/children/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/sites/item/term_store/sets/item/terms/item/children/item/relations/count/count_request_builder.py b/msgraph_beta/generated/sites/item/term_store/sets/item/terms/item/children/item/relations/count/count_request_builder.py index c4e23a63f60..ef4fb9857ad 100644 --- a/msgraph_beta/generated/sites/item/term_store/sets/item/terms/item/children/item/relations/count/count_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/sets/item/terms/item/children/item/relations/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/sites/item/term_store/sets/item/terms/item/relations/count/count_request_builder.py b/msgraph_beta/generated/sites/item/term_store/sets/item/terms/item/relations/count/count_request_builder.py index 29748b08986..e50f74dbeec 100644 --- a/msgraph_beta/generated/sites/item/term_store/sets/item/terms/item/relations/count/count_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/sets/item/terms/item/relations/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/sites/remove/remove_post_request_body.py b/msgraph_beta/generated/sites/remove/remove_post_request_body.py index b19e0e80e24..c39e95b2180 100644 --- a/msgraph_beta/generated/sites/remove/remove_post_request_body.py +++ b/msgraph_beta/generated/sites/remove/remove_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ...models.site import Site + writer.write_collection_of_object_values("value", self.value) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/sites/remove/remove_post_response.py b/msgraph_beta/generated/sites/remove/remove_post_response.py index 0f268214b50..c573a7f8e71 100644 --- a/msgraph_beta/generated/sites/remove/remove_post_response.py +++ b/msgraph_beta/generated/sites/remove/remove_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ...models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ...models.site import Site + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/sites/sites_request_builder.py b/msgraph_beta/generated/sites/sites_request_builder.py index 92a49efd01b..97fee423ea7 100644 --- a/msgraph_beta/generated/sites/sites_request_builder.py +++ b/msgraph_beta/generated/sites/sites_request_builder.py @@ -51,10 +51,10 @@ def by_site_id(self,site_id: str) -> SiteItemRequestBuilder: async def get(self,request_configuration: Optional[RequestConfiguration[SitesRequestBuilderGetQueryParameters]] = None) -> Optional[SiteCollectionResponse]: """ - Search across a SharePoint tenant for sites that match keywords provided. The only property that works for sorting is createdDateTime. The search filter is a free text search that uses multiple properties when retrieving the search results. + List all available sites in an organization. Specific filter criteria and query options are also supported and described below: In addition, you can use a $search query against the /sites collection to find sites matching given keywords.If you want to list all sites across all geographies, refer to getAllSites. For more guidance about building applications that use site discovery for scanning purposes, see Best practices for discovering files and detecting changes at scale. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SiteCollectionResponse] - Find more info here: https://learn.microsoft.com/graph/api/site-search?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/site-list?view=graph-rest-beta """ request_info = self.to_get_request_information( request_configuration @@ -72,7 +72,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[SitesReq def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[SitesRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Search across a SharePoint tenant for sites that match keywords provided. The only property that works for sorting is createdDateTime. The search filter is a free text search that uses multiple properties when retrieving the search results. + List all available sites in an organization. Specific filter criteria and query options are also supported and described below: In addition, you can use a $search query against the /sites collection to find sites matching given keywords.If you want to list all sites across all geographies, refer to getAllSites. For more guidance about building applications that use site discovery for scanning purposes, see Best practices for discovering files and detecting changes at scale. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -139,7 +139,7 @@ def remove(self) -> RemoveRequestBuilder: @dataclass class SitesRequestBuilderGetQueryParameters(): """ - Search across a SharePoint tenant for sites that match keywords provided. The only property that works for sorting is createdDateTime. The search filter is a free text search that uses multiple properties when retrieving the search results. + List all available sites in an organization. Specific filter criteria and query options are also supported and described below: In addition, you can use a $search query against the /sites collection to find sites matching given keywords.If you want to list all sites across all geographies, refer to getAllSites. For more guidance about building applications that use site discovery for scanning purposes, see Best practices for discovering files and detecting changes at scale. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/solutions/approval/approval_items/count/count_request_builder.py b/msgraph_beta/generated/solutions/approval/approval_items/count/count_request_builder.py index d00e4451be8..a081d4dd708 100644 --- a/msgraph_beta/generated/solutions/approval/approval_items/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/approval/approval_items/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/solutions/approval/approval_items/item/requests/count/count_request_builder.py b/msgraph_beta/generated/solutions/approval/approval_items/item/requests/count/count_request_builder.py index bc17866c196..8ce80f886f0 100644 --- a/msgraph_beta/generated/solutions/approval/approval_items/item/requests/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/approval/approval_items/item/requests/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/solutions/approval/approval_items/item/responses/count/count_request_builder.py b/msgraph_beta/generated/solutions/approval/approval_items/item/responses/count/count_request_builder.py index 51284e97080..5855a835db4 100644 --- a/msgraph_beta/generated/solutions/approval/approval_items/item/responses/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/approval/approval_items/item/responses/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/solutions/approval/operations/count/count_request_builder.py b/msgraph_beta/generated/solutions/approval/operations/count/count_request_builder.py index 93496f30f45..e73be224d5b 100644 --- a/msgraph_beta/generated/solutions/approval/operations/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/approval/operations/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/solutions/backup_restore/drive_inclusion_rules/count/count_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/drive_inclusion_rules/count/count_request_builder.py index ea1e9f4e361..09135d1432e 100644 --- a/msgraph_beta/generated/solutions/backup_restore/drive_inclusion_rules/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/drive_inclusion_rules/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/solutions/backup_restore/drive_protection_units/count/count_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/drive_protection_units/count/count_request_builder.py index 261f0bbbc09..7d51d86f367 100644 --- a/msgraph_beta/generated/solutions/backup_restore/drive_protection_units/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/drive_protection_units/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/solutions/backup_restore/drive_protection_units_bulk_addition_jobs/count/count_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/drive_protection_units_bulk_addition_jobs/count/count_request_builder.py index 4f46af6db36..cc7a31bf7cd 100644 --- a/msgraph_beta/generated/solutions/backup_restore/drive_protection_units_bulk_addition_jobs/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/drive_protection_units_bulk_addition_jobs/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/solutions/backup_restore/exchange_protection_policies/count/count_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/exchange_protection_policies/count/count_request_builder.py index 45b0b8f2025..3dbc9420605 100644 --- a/msgraph_beta/generated/solutions/backup_restore/exchange_protection_policies/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/exchange_protection_policies/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/solutions/backup_restore/exchange_protection_policies/item/mailbox_inclusion_rules/count/count_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/exchange_protection_policies/item/mailbox_inclusion_rules/count/count_request_builder.py index 1d117aae8b3..df5e5b53ee1 100644 --- a/msgraph_beta/generated/solutions/backup_restore/exchange_protection_policies/item/mailbox_inclusion_rules/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/exchange_protection_policies/item/mailbox_inclusion_rules/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/solutions/backup_restore/exchange_protection_policies/item/mailbox_protection_units/count/count_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/exchange_protection_policies/item/mailbox_protection_units/count/count_request_builder.py index be5fbfef4cf..c7ce6a71df5 100644 --- a/msgraph_beta/generated/solutions/backup_restore/exchange_protection_policies/item/mailbox_protection_units/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/exchange_protection_policies/item/mailbox_protection_units/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/solutions/backup_restore/exchange_protection_policies/item/mailbox_protection_units_bulk_addition_jobs/count/count_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/exchange_protection_policies/item/mailbox_protection_units_bulk_addition_jobs/count/count_request_builder.py index 9f63bd4dc5b..92240778272 100644 --- a/msgraph_beta/generated/solutions/backup_restore/exchange_protection_policies/item/mailbox_protection_units_bulk_addition_jobs/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/exchange_protection_policies/item/mailbox_protection_units_bulk_addition_jobs/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/solutions/backup_restore/exchange_restore_sessions/count/count_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/exchange_restore_sessions/count/count_request_builder.py index c80a8f72e2a..d62e5d6da2d 100644 --- a/msgraph_beta/generated/solutions/backup_restore/exchange_restore_sessions/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/exchange_restore_sessions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/solutions/backup_restore/exchange_restore_sessions/item/exchange_restore_session_item_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/exchange_restore_sessions/item/exchange_restore_session_item_request_builder.py index d299d4e4f39..ff4aca396e7 100644 --- a/msgraph_beta/generated/solutions/backup_restore/exchange_restore_sessions/item/exchange_restore_session_item_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/exchange_restore_sessions/item/exchange_restore_session_item_request_builder.py @@ -17,6 +17,7 @@ from .....models.o_data_errors.o_data_error import ODataError from .granular_mailbox_restore_artifacts.granular_mailbox_restore_artifacts_request_builder import GranularMailboxRestoreArtifactsRequestBuilder from .mailbox_restore_artifacts.mailbox_restore_artifacts_request_builder import MailboxRestoreArtifactsRequestBuilder + from .mailbox_restore_artifacts_bulk_addition_requests.mailbox_restore_artifacts_bulk_addition_requests_request_builder import MailboxRestoreArtifactsBulkAdditionRequestsRequestBuilder class ExchangeRestoreSessionItemRequestBuilder(BaseRequestBuilder): """ @@ -158,6 +159,15 @@ def mailbox_restore_artifacts(self) -> MailboxRestoreArtifactsRequestBuilder: return MailboxRestoreArtifactsRequestBuilder(self.request_adapter, self.path_parameters) + @property + def mailbox_restore_artifacts_bulk_addition_requests(self) -> MailboxRestoreArtifactsBulkAdditionRequestsRequestBuilder: + """ + Provides operations to manage the mailboxRestoreArtifactsBulkAdditionRequests property of the microsoft.graph.exchangeRestoreSession entity. + """ + from .mailbox_restore_artifacts_bulk_addition_requests.mailbox_restore_artifacts_bulk_addition_requests_request_builder import MailboxRestoreArtifactsBulkAdditionRequestsRequestBuilder + + return MailboxRestoreArtifactsBulkAdditionRequestsRequestBuilder(self.request_adapter, self.path_parameters) + @dataclass class ExchangeRestoreSessionItemRequestBuilderDeleteRequestConfiguration(RequestConfiguration[QueryParameters]): """ diff --git a/msgraph_beta/generated/solutions/backup_restore/exchange_restore_sessions/item/granular_mailbox_restore_artifacts/count/count_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/exchange_restore_sessions/item/granular_mailbox_restore_artifacts/count/count_request_builder.py index 0e0086c2f12..d0435e48997 100644 --- a/msgraph_beta/generated/solutions/backup_restore/exchange_restore_sessions/item/granular_mailbox_restore_artifacts/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/exchange_restore_sessions/item/granular_mailbox_restore_artifacts/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/solutions/backup_restore/exchange_restore_sessions/item/mailbox_restore_artifacts/count/count_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/exchange_restore_sessions/item/mailbox_restore_artifacts/count/count_request_builder.py index 69e0350981c..e1458f7a262 100644 --- a/msgraph_beta/generated/solutions/backup_restore/exchange_restore_sessions/item/mailbox_restore_artifacts/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/exchange_restore_sessions/item/mailbox_restore_artifacts/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/solutions/backup_restore/exchange_restore_sessions/item/mailbox_restore_artifacts_bulk_addition_requests/count/count_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/exchange_restore_sessions/item/mailbox_restore_artifacts_bulk_addition_requests/count/count_request_builder.py new file mode 100644 index 00000000000..109b1ece476 --- /dev/null +++ b/msgraph_beta/generated/solutions/backup_restore/exchange_restore_sessions/item/mailbox_restore_artifacts_bulk_addition_requests/count/count_request_builder.py @@ -0,0 +1,103 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from .......models.o_data_errors.o_data_error import ODataError + +class CountRequestBuilder(BaseRequestBuilder): + """ + Provides operations to count the resources in the collection. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new CountRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/solutions/backupRestore/exchangeRestoreSessions/{exchangeRestoreSession%2Did}/mailboxRestoreArtifactsBulkAdditionRequests/$count{?%24filter,%24search}", path_parameters) + + async def get(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> Optional[int]: + """ + Get the number of the resource + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[int] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from .......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Get the number of the resource + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "text/plain;q=0.9") + return request_info + + def with_url(self,raw_url: str) -> CountRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: CountRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return CountRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class CountRequestBuilderGetQueryParameters(): + """ + Get the number of the resource + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "filter": + return "%24filter" + if original_name == "search": + return "%24search" + return original_name + + # Filter items by property values + filter: Optional[str] = None + + # Search items by search phrases + search: Optional[str] = None + + + @dataclass + class CountRequestBuilderGetRequestConfiguration(RequestConfiguration[CountRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/solutions/backup_restore/exchange_restore_sessions/item/mailbox_restore_artifacts_bulk_addition_requests/item/mailbox_restore_artifacts_bulk_addition_request_item_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/exchange_restore_sessions/item/mailbox_restore_artifacts_bulk_addition_requests/item/mailbox_restore_artifacts_bulk_addition_request_item_request_builder.py new file mode 100644 index 00000000000..cdeacb930b9 --- /dev/null +++ b/msgraph_beta/generated/solutions/backup_restore/exchange_restore_sessions/item/mailbox_restore_artifacts_bulk_addition_requests/item/mailbox_restore_artifacts_bulk_addition_request_item_request_builder.py @@ -0,0 +1,187 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from .......models.mailbox_restore_artifacts_bulk_addition_request import MailboxRestoreArtifactsBulkAdditionRequest + from .......models.o_data_errors.o_data_error import ODataError + +class MailboxRestoreArtifactsBulkAdditionRequestItemRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the mailboxRestoreArtifactsBulkAdditionRequests property of the microsoft.graph.exchangeRestoreSession entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new MailboxRestoreArtifactsBulkAdditionRequestItemRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/solutions/backupRestore/exchangeRestoreSessions/{exchangeRestoreSession%2Did}/mailboxRestoreArtifactsBulkAdditionRequests/{mailboxRestoreArtifactsBulkAdditionRequest%2Did}{?%24expand,%24select}", path_parameters) + + async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: + """ + Delete navigation property mailboxRestoreArtifactsBulkAdditionRequests for solutions + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: None + """ + request_info = self.to_delete_request_information( + request_configuration + ) + from .......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, 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) + + async def get(self,request_configuration: Optional[RequestConfiguration[MailboxRestoreArtifactsBulkAdditionRequestItemRequestBuilderGetQueryParameters]] = None) -> Optional[MailboxRestoreArtifactsBulkAdditionRequest]: + """ + Get mailboxRestoreArtifactsBulkAdditionRequests from solutions + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[MailboxRestoreArtifactsBulkAdditionRequest] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from .......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .......models.mailbox_restore_artifacts_bulk_addition_request import MailboxRestoreArtifactsBulkAdditionRequest + + return await self.request_adapter.send_async(request_info, MailboxRestoreArtifactsBulkAdditionRequest, error_mapping) + + async def patch(self,body: MailboxRestoreArtifactsBulkAdditionRequest, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[MailboxRestoreArtifactsBulkAdditionRequest]: + """ + Update the navigation property mailboxRestoreArtifactsBulkAdditionRequests in solutions + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[MailboxRestoreArtifactsBulkAdditionRequest] + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = self.to_patch_request_information( + body, request_configuration + ) + from .......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .......models.mailbox_restore_artifacts_bulk_addition_request import MailboxRestoreArtifactsBulkAdditionRequest + + return await self.request_adapter.send_async(request_info, MailboxRestoreArtifactsBulkAdditionRequest, error_mapping) + + def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Delete navigation property mailboxRestoreArtifactsBulkAdditionRequests for solutions + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[MailboxRestoreArtifactsBulkAdditionRequestItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Get mailboxRestoreArtifactsBulkAdditionRequests from solutions + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_patch_request_information(self,body: MailboxRestoreArtifactsBulkAdditionRequest, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Update the navigation property mailboxRestoreArtifactsBulkAdditionRequests in solutions + 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.PATCH, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + return request_info + + def with_url(self,raw_url: str) -> MailboxRestoreArtifactsBulkAdditionRequestItemRequestBuilder: + """ + 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: MailboxRestoreArtifactsBulkAdditionRequestItemRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return MailboxRestoreArtifactsBulkAdditionRequestItemRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class MailboxRestoreArtifactsBulkAdditionRequestItemRequestBuilderDeleteRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + @dataclass + class MailboxRestoreArtifactsBulkAdditionRequestItemRequestBuilderGetQueryParameters(): + """ + Get mailboxRestoreArtifactsBulkAdditionRequests from solutions + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "expand": + return "%24expand" + if original_name == "select": + return "%24select" + return original_name + + # Expand related entities + expand: Optional[List[str]] = None + + # Select properties to be returned + select: Optional[List[str]] = None + + + @dataclass + class MailboxRestoreArtifactsBulkAdditionRequestItemRequestBuilderGetRequestConfiguration(RequestConfiguration[MailboxRestoreArtifactsBulkAdditionRequestItemRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + @dataclass + class MailboxRestoreArtifactsBulkAdditionRequestItemRequestBuilderPatchRequestConfiguration(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_beta/generated/solutions/backup_restore/exchange_restore_sessions/item/mailbox_restore_artifacts_bulk_addition_requests/mailbox_restore_artifacts_bulk_addition_requests_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/exchange_restore_sessions/item/mailbox_restore_artifacts_bulk_addition_requests/mailbox_restore_artifacts_bulk_addition_requests_request_builder.py new file mode 100644 index 00000000000..9c4aa53da01 --- /dev/null +++ b/msgraph_beta/generated/solutions/backup_restore/exchange_restore_sessions/item/mailbox_restore_artifacts_bulk_addition_requests/mailbox_restore_artifacts_bulk_addition_requests_request_builder.py @@ -0,0 +1,207 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from ......models.mailbox_restore_artifacts_bulk_addition_request import MailboxRestoreArtifactsBulkAdditionRequest + from ......models.mailbox_restore_artifacts_bulk_addition_request_collection_response import MailboxRestoreArtifactsBulkAdditionRequestCollectionResponse + from ......models.o_data_errors.o_data_error import ODataError + from .count.count_request_builder import CountRequestBuilder + from .item.mailbox_restore_artifacts_bulk_addition_request_item_request_builder import MailboxRestoreArtifactsBulkAdditionRequestItemRequestBuilder + +class MailboxRestoreArtifactsBulkAdditionRequestsRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the mailboxRestoreArtifactsBulkAdditionRequests property of the microsoft.graph.exchangeRestoreSession entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new MailboxRestoreArtifactsBulkAdditionRequestsRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/solutions/backupRestore/exchangeRestoreSessions/{exchangeRestoreSession%2Did}/mailboxRestoreArtifactsBulkAdditionRequests{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", path_parameters) + + def by_mailbox_restore_artifacts_bulk_addition_request_id(self,mailbox_restore_artifacts_bulk_addition_request_id: str) -> MailboxRestoreArtifactsBulkAdditionRequestItemRequestBuilder: + """ + Provides operations to manage the mailboxRestoreArtifactsBulkAdditionRequests property of the microsoft.graph.exchangeRestoreSession entity. + param mailbox_restore_artifacts_bulk_addition_request_id: The unique identifier of mailboxRestoreArtifactsBulkAdditionRequest + Returns: MailboxRestoreArtifactsBulkAdditionRequestItemRequestBuilder + """ + if mailbox_restore_artifacts_bulk_addition_request_id is None: + raise TypeError("mailbox_restore_artifacts_bulk_addition_request_id cannot be null.") + from .item.mailbox_restore_artifacts_bulk_addition_request_item_request_builder import MailboxRestoreArtifactsBulkAdditionRequestItemRequestBuilder + + url_tpl_params = get_path_parameters(self.path_parameters) + url_tpl_params["mailboxRestoreArtifactsBulkAdditionRequest%2Did"] = mailbox_restore_artifacts_bulk_addition_request_id + return MailboxRestoreArtifactsBulkAdditionRequestItemRequestBuilder(self.request_adapter, url_tpl_params) + + async def get(self,request_configuration: Optional[RequestConfiguration[MailboxRestoreArtifactsBulkAdditionRequestsRequestBuilderGetQueryParameters]] = None) -> Optional[MailboxRestoreArtifactsBulkAdditionRequestCollectionResponse]: + """ + Get mailboxRestoreArtifactsBulkAdditionRequests from solutions + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[MailboxRestoreArtifactsBulkAdditionRequestCollectionResponse] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ......models.mailbox_restore_artifacts_bulk_addition_request_collection_response import MailboxRestoreArtifactsBulkAdditionRequestCollectionResponse + + return await self.request_adapter.send_async(request_info, MailboxRestoreArtifactsBulkAdditionRequestCollectionResponse, error_mapping) + + async def post(self,body: MailboxRestoreArtifactsBulkAdditionRequest, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[MailboxRestoreArtifactsBulkAdditionRequest]: + """ + Create new navigation property to mailboxRestoreArtifactsBulkAdditionRequests for solutions + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[MailboxRestoreArtifactsBulkAdditionRequest] + """ + 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") + from ......models.mailbox_restore_artifacts_bulk_addition_request import MailboxRestoreArtifactsBulkAdditionRequest + + return await self.request_adapter.send_async(request_info, MailboxRestoreArtifactsBulkAdditionRequest, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[MailboxRestoreArtifactsBulkAdditionRequestsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Get mailboxRestoreArtifactsBulkAdditionRequests from solutions + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_post_request_information(self,body: MailboxRestoreArtifactsBulkAdditionRequest, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Create new navigation property to mailboxRestoreArtifactsBulkAdditionRequests for solutions + 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) -> MailboxRestoreArtifactsBulkAdditionRequestsRequestBuilder: + """ + 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: MailboxRestoreArtifactsBulkAdditionRequestsRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return MailboxRestoreArtifactsBulkAdditionRequestsRequestBuilder(self.request_adapter, raw_url) + + @property + def count(self) -> CountRequestBuilder: + """ + Provides operations to count the resources in the collection. + """ + from .count.count_request_builder import CountRequestBuilder + + return CountRequestBuilder(self.request_adapter, self.path_parameters) + + @dataclass + class MailboxRestoreArtifactsBulkAdditionRequestsRequestBuilderGetQueryParameters(): + """ + Get mailboxRestoreArtifactsBulkAdditionRequests from solutions + """ + 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 MailboxRestoreArtifactsBulkAdditionRequestsRequestBuilderGetRequestConfiguration(RequestConfiguration[MailboxRestoreArtifactsBulkAdditionRequestsRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + @dataclass + class MailboxRestoreArtifactsBulkAdditionRequestsRequestBuilderPostRequestConfiguration(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_beta/generated/solutions/backup_restore/mailbox_inclusion_rules/count/count_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/mailbox_inclusion_rules/count/count_request_builder.py index 3716534fa6c..cd20fea9ad4 100644 --- a/msgraph_beta/generated/solutions/backup_restore/mailbox_inclusion_rules/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/mailbox_inclusion_rules/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/solutions/backup_restore/mailbox_protection_units/count/count_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/mailbox_protection_units/count/count_request_builder.py index 542b6abe71c..e33a66f579d 100644 --- a/msgraph_beta/generated/solutions/backup_restore/mailbox_protection_units/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/mailbox_protection_units/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/solutions/backup_restore/mailbox_protection_units_bulk_addition_jobs/count/count_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/mailbox_protection_units_bulk_addition_jobs/count/count_request_builder.py index 67db7844adc..8f4e7e4cb44 100644 --- a/msgraph_beta/generated/solutions/backup_restore/mailbox_protection_units_bulk_addition_jobs/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/mailbox_protection_units_bulk_addition_jobs/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_protection_policies/count/count_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_protection_policies/count/count_request_builder.py index b1a984dede9..44c98348df5 100644 --- a/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_protection_policies/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_protection_policies/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_protection_policies/item/drive_inclusion_rules/count/count_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_protection_policies/item/drive_inclusion_rules/count/count_request_builder.py index a469edd9bdd..77759450c19 100644 --- a/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_protection_policies/item/drive_inclusion_rules/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_protection_policies/item/drive_inclusion_rules/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_protection_policies/item/drive_protection_units/count/count_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_protection_policies/item/drive_protection_units/count/count_request_builder.py index bbd41e5944a..af4f416b4fb 100644 --- a/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_protection_policies/item/drive_protection_units/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_protection_policies/item/drive_protection_units/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_protection_policies/item/drive_protection_units_bulk_addition_jobs/count/count_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_protection_policies/item/drive_protection_units_bulk_addition_jobs/count/count_request_builder.py index a4d67936ad6..dc595847f4c 100644 --- a/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_protection_policies/item/drive_protection_units_bulk_addition_jobs/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_protection_policies/item/drive_protection_units_bulk_addition_jobs/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_restore_sessions/count/count_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_restore_sessions/count/count_request_builder.py index 8b7eac68cc0..33cfefd3bcd 100644 --- a/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_restore_sessions/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_restore_sessions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_restore_sessions/item/drive_restore_artifacts/count/count_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_restore_sessions/item/drive_restore_artifacts/count/count_request_builder.py index ce7999a9fef..2d3492a10d5 100644 --- a/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_restore_sessions/item/drive_restore_artifacts/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_restore_sessions/item/drive_restore_artifacts/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_restore_sessions/item/drive_restore_artifacts_bulk_addition_requests/count/count_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_restore_sessions/item/drive_restore_artifacts_bulk_addition_requests/count/count_request_builder.py new file mode 100644 index 00000000000..24e87d8a5d5 --- /dev/null +++ b/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_restore_sessions/item/drive_restore_artifacts_bulk_addition_requests/count/count_request_builder.py @@ -0,0 +1,103 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from .......models.o_data_errors.o_data_error import ODataError + +class CountRequestBuilder(BaseRequestBuilder): + """ + Provides operations to count the resources in the collection. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new CountRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/solutions/backupRestore/oneDriveForBusinessRestoreSessions/{oneDriveForBusinessRestoreSession%2Did}/driveRestoreArtifactsBulkAdditionRequests/$count{?%24filter,%24search}", path_parameters) + + async def get(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> Optional[int]: + """ + Get the number of the resource + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[int] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from .......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Get the number of the resource + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "text/plain;q=0.9") + return request_info + + def with_url(self,raw_url: str) -> CountRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: CountRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return CountRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class CountRequestBuilderGetQueryParameters(): + """ + Get the number of the resource + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "filter": + return "%24filter" + if original_name == "search": + return "%24search" + return original_name + + # Filter items by property values + filter: Optional[str] = None + + # Search items by search phrases + search: Optional[str] = None + + + @dataclass + class CountRequestBuilderGetRequestConfiguration(RequestConfiguration[CountRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_restore_sessions/item/drive_restore_artifacts_bulk_addition_requests/drive_restore_artifacts_bulk_addition_requests_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_restore_sessions/item/drive_restore_artifacts_bulk_addition_requests/drive_restore_artifacts_bulk_addition_requests_request_builder.py new file mode 100644 index 00000000000..6bdd8a25caf --- /dev/null +++ b/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_restore_sessions/item/drive_restore_artifacts_bulk_addition_requests/drive_restore_artifacts_bulk_addition_requests_request_builder.py @@ -0,0 +1,207 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from ......models.drive_restore_artifacts_bulk_addition_request import DriveRestoreArtifactsBulkAdditionRequest + from ......models.drive_restore_artifacts_bulk_addition_request_collection_response import DriveRestoreArtifactsBulkAdditionRequestCollectionResponse + from ......models.o_data_errors.o_data_error import ODataError + from .count.count_request_builder import CountRequestBuilder + from .item.drive_restore_artifacts_bulk_addition_request_item_request_builder import DriveRestoreArtifactsBulkAdditionRequestItemRequestBuilder + +class DriveRestoreArtifactsBulkAdditionRequestsRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the driveRestoreArtifactsBulkAdditionRequests property of the microsoft.graph.oneDriveForBusinessRestoreSession entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new DriveRestoreArtifactsBulkAdditionRequestsRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/solutions/backupRestore/oneDriveForBusinessRestoreSessions/{oneDriveForBusinessRestoreSession%2Did}/driveRestoreArtifactsBulkAdditionRequests{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", path_parameters) + + def by_drive_restore_artifacts_bulk_addition_request_id(self,drive_restore_artifacts_bulk_addition_request_id: str) -> DriveRestoreArtifactsBulkAdditionRequestItemRequestBuilder: + """ + Provides operations to manage the driveRestoreArtifactsBulkAdditionRequests property of the microsoft.graph.oneDriveForBusinessRestoreSession entity. + param drive_restore_artifacts_bulk_addition_request_id: The unique identifier of driveRestoreArtifactsBulkAdditionRequest + Returns: DriveRestoreArtifactsBulkAdditionRequestItemRequestBuilder + """ + if drive_restore_artifacts_bulk_addition_request_id is None: + raise TypeError("drive_restore_artifacts_bulk_addition_request_id cannot be null.") + from .item.drive_restore_artifacts_bulk_addition_request_item_request_builder import DriveRestoreArtifactsBulkAdditionRequestItemRequestBuilder + + url_tpl_params = get_path_parameters(self.path_parameters) + url_tpl_params["driveRestoreArtifactsBulkAdditionRequest%2Did"] = drive_restore_artifacts_bulk_addition_request_id + return DriveRestoreArtifactsBulkAdditionRequestItemRequestBuilder(self.request_adapter, url_tpl_params) + + async def get(self,request_configuration: Optional[RequestConfiguration[DriveRestoreArtifactsBulkAdditionRequestsRequestBuilderGetQueryParameters]] = None) -> Optional[DriveRestoreArtifactsBulkAdditionRequestCollectionResponse]: + """ + Get driveRestoreArtifactsBulkAdditionRequests from solutions + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[DriveRestoreArtifactsBulkAdditionRequestCollectionResponse] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ......models.drive_restore_artifacts_bulk_addition_request_collection_response import DriveRestoreArtifactsBulkAdditionRequestCollectionResponse + + return await self.request_adapter.send_async(request_info, DriveRestoreArtifactsBulkAdditionRequestCollectionResponse, error_mapping) + + async def post(self,body: DriveRestoreArtifactsBulkAdditionRequest, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[DriveRestoreArtifactsBulkAdditionRequest]: + """ + Create new navigation property to driveRestoreArtifactsBulkAdditionRequests for solutions + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[DriveRestoreArtifactsBulkAdditionRequest] + """ + 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") + from ......models.drive_restore_artifacts_bulk_addition_request import DriveRestoreArtifactsBulkAdditionRequest + + return await self.request_adapter.send_async(request_info, DriveRestoreArtifactsBulkAdditionRequest, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[DriveRestoreArtifactsBulkAdditionRequestsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Get driveRestoreArtifactsBulkAdditionRequests from solutions + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_post_request_information(self,body: DriveRestoreArtifactsBulkAdditionRequest, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Create new navigation property to driveRestoreArtifactsBulkAdditionRequests for solutions + 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) -> DriveRestoreArtifactsBulkAdditionRequestsRequestBuilder: + """ + 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: DriveRestoreArtifactsBulkAdditionRequestsRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return DriveRestoreArtifactsBulkAdditionRequestsRequestBuilder(self.request_adapter, raw_url) + + @property + def count(self) -> CountRequestBuilder: + """ + Provides operations to count the resources in the collection. + """ + from .count.count_request_builder import CountRequestBuilder + + return CountRequestBuilder(self.request_adapter, self.path_parameters) + + @dataclass + class DriveRestoreArtifactsBulkAdditionRequestsRequestBuilderGetQueryParameters(): + """ + Get driveRestoreArtifactsBulkAdditionRequests from solutions + """ + 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 DriveRestoreArtifactsBulkAdditionRequestsRequestBuilderGetRequestConfiguration(RequestConfiguration[DriveRestoreArtifactsBulkAdditionRequestsRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + @dataclass + class DriveRestoreArtifactsBulkAdditionRequestsRequestBuilderPostRequestConfiguration(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_beta/generated/solutions/backup_restore/one_drive_for_business_restore_sessions/item/drive_restore_artifacts_bulk_addition_requests/item/drive_restore_artifacts_bulk_addition_request_item_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_restore_sessions/item/drive_restore_artifacts_bulk_addition_requests/item/drive_restore_artifacts_bulk_addition_request_item_request_builder.py new file mode 100644 index 00000000000..93caab91208 --- /dev/null +++ b/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_restore_sessions/item/drive_restore_artifacts_bulk_addition_requests/item/drive_restore_artifacts_bulk_addition_request_item_request_builder.py @@ -0,0 +1,187 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from .......models.drive_restore_artifacts_bulk_addition_request import DriveRestoreArtifactsBulkAdditionRequest + from .......models.o_data_errors.o_data_error import ODataError + +class DriveRestoreArtifactsBulkAdditionRequestItemRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the driveRestoreArtifactsBulkAdditionRequests property of the microsoft.graph.oneDriveForBusinessRestoreSession entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new DriveRestoreArtifactsBulkAdditionRequestItemRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/solutions/backupRestore/oneDriveForBusinessRestoreSessions/{oneDriveForBusinessRestoreSession%2Did}/driveRestoreArtifactsBulkAdditionRequests/{driveRestoreArtifactsBulkAdditionRequest%2Did}{?%24expand,%24select}", path_parameters) + + async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: + """ + Delete navigation property driveRestoreArtifactsBulkAdditionRequests for solutions + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: None + """ + request_info = self.to_delete_request_information( + request_configuration + ) + from .......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, 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) + + async def get(self,request_configuration: Optional[RequestConfiguration[DriveRestoreArtifactsBulkAdditionRequestItemRequestBuilderGetQueryParameters]] = None) -> Optional[DriveRestoreArtifactsBulkAdditionRequest]: + """ + Get driveRestoreArtifactsBulkAdditionRequests from solutions + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[DriveRestoreArtifactsBulkAdditionRequest] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from .......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .......models.drive_restore_artifacts_bulk_addition_request import DriveRestoreArtifactsBulkAdditionRequest + + return await self.request_adapter.send_async(request_info, DriveRestoreArtifactsBulkAdditionRequest, error_mapping) + + async def patch(self,body: DriveRestoreArtifactsBulkAdditionRequest, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[DriveRestoreArtifactsBulkAdditionRequest]: + """ + Update the navigation property driveRestoreArtifactsBulkAdditionRequests in solutions + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[DriveRestoreArtifactsBulkAdditionRequest] + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = self.to_patch_request_information( + body, request_configuration + ) + from .......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .......models.drive_restore_artifacts_bulk_addition_request import DriveRestoreArtifactsBulkAdditionRequest + + return await self.request_adapter.send_async(request_info, DriveRestoreArtifactsBulkAdditionRequest, error_mapping) + + def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Delete navigation property driveRestoreArtifactsBulkAdditionRequests for solutions + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[DriveRestoreArtifactsBulkAdditionRequestItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Get driveRestoreArtifactsBulkAdditionRequests from solutions + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_patch_request_information(self,body: DriveRestoreArtifactsBulkAdditionRequest, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Update the navigation property driveRestoreArtifactsBulkAdditionRequests in solutions + 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.PATCH, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + return request_info + + def with_url(self,raw_url: str) -> DriveRestoreArtifactsBulkAdditionRequestItemRequestBuilder: + """ + 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: DriveRestoreArtifactsBulkAdditionRequestItemRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return DriveRestoreArtifactsBulkAdditionRequestItemRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class DriveRestoreArtifactsBulkAdditionRequestItemRequestBuilderDeleteRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + @dataclass + class DriveRestoreArtifactsBulkAdditionRequestItemRequestBuilderGetQueryParameters(): + """ + Get driveRestoreArtifactsBulkAdditionRequests from solutions + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "expand": + return "%24expand" + if original_name == "select": + return "%24select" + return original_name + + # Expand related entities + expand: Optional[List[str]] = None + + # Select properties to be returned + select: Optional[List[str]] = None + + + @dataclass + class DriveRestoreArtifactsBulkAdditionRequestItemRequestBuilderGetRequestConfiguration(RequestConfiguration[DriveRestoreArtifactsBulkAdditionRequestItemRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + @dataclass + class DriveRestoreArtifactsBulkAdditionRequestItemRequestBuilderPatchRequestConfiguration(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_beta/generated/solutions/backup_restore/one_drive_for_business_restore_sessions/item/one_drive_for_business_restore_session_item_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_restore_sessions/item/one_drive_for_business_restore_session_item_request_builder.py index 53db70f0777..9b52778f918 100644 --- a/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_restore_sessions/item/one_drive_for_business_restore_session_item_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_restore_sessions/item/one_drive_for_business_restore_session_item_request_builder.py @@ -16,6 +16,7 @@ from .....models.one_drive_for_business_restore_session import OneDriveForBusinessRestoreSession from .....models.o_data_errors.o_data_error import ODataError from .drive_restore_artifacts.drive_restore_artifacts_request_builder import DriveRestoreArtifactsRequestBuilder + from .drive_restore_artifacts_bulk_addition_requests.drive_restore_artifacts_bulk_addition_requests_request_builder import DriveRestoreArtifactsBulkAdditionRequestsRequestBuilder class OneDriveForBusinessRestoreSessionItemRequestBuilder(BaseRequestBuilder): """ @@ -148,6 +149,15 @@ def drive_restore_artifacts(self) -> DriveRestoreArtifactsRequestBuilder: return DriveRestoreArtifactsRequestBuilder(self.request_adapter, self.path_parameters) + @property + def drive_restore_artifacts_bulk_addition_requests(self) -> DriveRestoreArtifactsBulkAdditionRequestsRequestBuilder: + """ + Provides operations to manage the driveRestoreArtifactsBulkAdditionRequests property of the microsoft.graph.oneDriveForBusinessRestoreSession entity. + """ + from .drive_restore_artifacts_bulk_addition_requests.drive_restore_artifacts_bulk_addition_requests_request_builder import DriveRestoreArtifactsBulkAdditionRequestsRequestBuilder + + return DriveRestoreArtifactsBulkAdditionRequestsRequestBuilder(self.request_adapter, self.path_parameters) + @dataclass class OneDriveForBusinessRestoreSessionItemRequestBuilderDeleteRequestConfiguration(RequestConfiguration[QueryParameters]): """ diff --git a/msgraph_beta/generated/solutions/backup_restore/protection_policies/count/count_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/protection_policies/count/count_request_builder.py index 6558f8399d5..52b1a1f1e48 100644 --- a/msgraph_beta/generated/solutions/backup_restore/protection_policies/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/protection_policies/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/solutions/backup_restore/protection_units/count/count_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/protection_units/count/count_request_builder.py index 33bfe93ff6a..948abbb36b0 100644 --- a/msgraph_beta/generated/solutions/backup_restore/protection_units/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/protection_units/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/solutions/backup_restore/restore_points/count/count_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/restore_points/count/count_request_builder.py index 307213a5e07..d4cf2cbe100 100644 --- a/msgraph_beta/generated/solutions/backup_restore/restore_points/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/restore_points/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/solutions/backup_restore/restore_points/search/search_post_request_body.py b/msgraph_beta/generated/solutions/backup_restore/restore_points/search/search_post_request_body.py index d4b8c14a035..a64a1c941e6 100644 --- a/msgraph_beta/generated/solutions/backup_restore/restore_points/search/search_post_request_body.py +++ b/msgraph_beta/generated/solutions/backup_restore/restore_points/search/search_post_request_body.py @@ -71,6 +71,11 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.artifact_query import ArtifactQuery + from .....models.restore_point_preference import RestorePointPreference + from .....models.restore_point_tags import RestorePointTags + from .....models.time_period import TimePeriod + writer.write_object_value("artifactQuery", self.artifact_query) writer.write_object_value("protectionTimePeriod", self.protection_time_period) writer.write_collection_of_primitive_values("protectionUnitIds", self.protection_unit_ids) diff --git a/msgraph_beta/generated/solutions/backup_restore/restore_sessions/count/count_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/restore_sessions/count/count_request_builder.py index 175f0bef75d..dba8898925c 100644 --- a/msgraph_beta/generated/solutions/backup_restore/restore_sessions/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/restore_sessions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/solutions/backup_restore/service_apps/count/count_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/service_apps/count/count_request_builder.py index b7cf4de5371..09678b21db3 100644 --- a/msgraph_beta/generated/solutions/backup_restore/service_apps/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/service_apps/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/solutions/backup_restore/share_point_protection_policies/count/count_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/share_point_protection_policies/count/count_request_builder.py index 876121dc215..82a26e3d81a 100644 --- a/msgraph_beta/generated/solutions/backup_restore/share_point_protection_policies/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/share_point_protection_policies/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/solutions/backup_restore/share_point_protection_policies/item/site_inclusion_rules/count/count_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/share_point_protection_policies/item/site_inclusion_rules/count/count_request_builder.py index 8329e3293f7..8c8e16ad0f9 100644 --- a/msgraph_beta/generated/solutions/backup_restore/share_point_protection_policies/item/site_inclusion_rules/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/share_point_protection_policies/item/site_inclusion_rules/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/solutions/backup_restore/share_point_protection_policies/item/site_protection_units/count/count_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/share_point_protection_policies/item/site_protection_units/count/count_request_builder.py index 6b236699d84..5d2d21b7f9c 100644 --- a/msgraph_beta/generated/solutions/backup_restore/share_point_protection_policies/item/site_protection_units/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/share_point_protection_policies/item/site_protection_units/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/solutions/backup_restore/share_point_protection_policies/item/site_protection_units_bulk_addition_jobs/count/count_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/share_point_protection_policies/item/site_protection_units_bulk_addition_jobs/count/count_request_builder.py index 6e25edc130a..2bc63e3f248 100644 --- a/msgraph_beta/generated/solutions/backup_restore/share_point_protection_policies/item/site_protection_units_bulk_addition_jobs/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/share_point_protection_policies/item/site_protection_units_bulk_addition_jobs/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/solutions/backup_restore/share_point_restore_sessions/count/count_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/share_point_restore_sessions/count/count_request_builder.py index 18b442fde35..d6bf0b09e99 100644 --- a/msgraph_beta/generated/solutions/backup_restore/share_point_restore_sessions/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/share_point_restore_sessions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/solutions/backup_restore/share_point_restore_sessions/item/share_point_restore_session_item_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/share_point_restore_sessions/item/share_point_restore_session_item_request_builder.py index 97536a116b9..d45c8c6b10b 100644 --- a/msgraph_beta/generated/solutions/backup_restore/share_point_restore_sessions/item/share_point_restore_session_item_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/share_point_restore_sessions/item/share_point_restore_session_item_request_builder.py @@ -16,6 +16,7 @@ from .....models.o_data_errors.o_data_error import ODataError from .....models.share_point_restore_session import SharePointRestoreSession from .site_restore_artifacts.site_restore_artifacts_request_builder import SiteRestoreArtifactsRequestBuilder + from .site_restore_artifacts_bulk_addition_requests.site_restore_artifacts_bulk_addition_requests_request_builder import SiteRestoreArtifactsBulkAdditionRequestsRequestBuilder class SharePointRestoreSessionItemRequestBuilder(BaseRequestBuilder): """ @@ -147,6 +148,15 @@ def site_restore_artifacts(self) -> SiteRestoreArtifactsRequestBuilder: return SiteRestoreArtifactsRequestBuilder(self.request_adapter, self.path_parameters) + @property + def site_restore_artifacts_bulk_addition_requests(self) -> SiteRestoreArtifactsBulkAdditionRequestsRequestBuilder: + """ + Provides operations to manage the siteRestoreArtifactsBulkAdditionRequests property of the microsoft.graph.sharePointRestoreSession entity. + """ + from .site_restore_artifacts_bulk_addition_requests.site_restore_artifacts_bulk_addition_requests_request_builder import SiteRestoreArtifactsBulkAdditionRequestsRequestBuilder + + return SiteRestoreArtifactsBulkAdditionRequestsRequestBuilder(self.request_adapter, self.path_parameters) + @dataclass class SharePointRestoreSessionItemRequestBuilderDeleteRequestConfiguration(RequestConfiguration[QueryParameters]): """ diff --git a/msgraph_beta/generated/solutions/backup_restore/share_point_restore_sessions/item/site_restore_artifacts/count/count_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/share_point_restore_sessions/item/site_restore_artifacts/count/count_request_builder.py index 12fa87a6b85..2c886ec398b 100644 --- a/msgraph_beta/generated/solutions/backup_restore/share_point_restore_sessions/item/site_restore_artifacts/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/share_point_restore_sessions/item/site_restore_artifacts/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/solutions/backup_restore/share_point_restore_sessions/item/site_restore_artifacts_bulk_addition_requests/count/count_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/share_point_restore_sessions/item/site_restore_artifacts_bulk_addition_requests/count/count_request_builder.py new file mode 100644 index 00000000000..2205b45fb2f --- /dev/null +++ b/msgraph_beta/generated/solutions/backup_restore/share_point_restore_sessions/item/site_restore_artifacts_bulk_addition_requests/count/count_request_builder.py @@ -0,0 +1,103 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from .......models.o_data_errors.o_data_error import ODataError + +class CountRequestBuilder(BaseRequestBuilder): + """ + Provides operations to count the resources in the collection. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new CountRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/solutions/backupRestore/sharePointRestoreSessions/{sharePointRestoreSession%2Did}/siteRestoreArtifactsBulkAdditionRequests/$count{?%24filter,%24search}", path_parameters) + + async def get(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> Optional[int]: + """ + Get the number of the resource + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[int] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from .......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Get the number of the resource + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "text/plain;q=0.9") + return request_info + + def with_url(self,raw_url: str) -> CountRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: CountRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return CountRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class CountRequestBuilderGetQueryParameters(): + """ + Get the number of the resource + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "filter": + return "%24filter" + if original_name == "search": + return "%24search" + return original_name + + # Filter items by property values + filter: Optional[str] = None + + # Search items by search phrases + search: Optional[str] = None + + + @dataclass + class CountRequestBuilderGetRequestConfiguration(RequestConfiguration[CountRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/solutions/backup_restore/share_point_restore_sessions/item/site_restore_artifacts_bulk_addition_requests/item/site_restore_artifacts_bulk_addition_request_item_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/share_point_restore_sessions/item/site_restore_artifacts_bulk_addition_requests/item/site_restore_artifacts_bulk_addition_request_item_request_builder.py new file mode 100644 index 00000000000..765f8840f47 --- /dev/null +++ b/msgraph_beta/generated/solutions/backup_restore/share_point_restore_sessions/item/site_restore_artifacts_bulk_addition_requests/item/site_restore_artifacts_bulk_addition_request_item_request_builder.py @@ -0,0 +1,187 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from .......models.o_data_errors.o_data_error import ODataError + from .......models.site_restore_artifacts_bulk_addition_request import SiteRestoreArtifactsBulkAdditionRequest + +class SiteRestoreArtifactsBulkAdditionRequestItemRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the siteRestoreArtifactsBulkAdditionRequests property of the microsoft.graph.sharePointRestoreSession entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new SiteRestoreArtifactsBulkAdditionRequestItemRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/solutions/backupRestore/sharePointRestoreSessions/{sharePointRestoreSession%2Did}/siteRestoreArtifactsBulkAdditionRequests/{siteRestoreArtifactsBulkAdditionRequest%2Did}{?%24expand,%24select}", path_parameters) + + async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: + """ + Delete navigation property siteRestoreArtifactsBulkAdditionRequests for solutions + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: None + """ + request_info = self.to_delete_request_information( + request_configuration + ) + from .......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, 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) + + async def get(self,request_configuration: Optional[RequestConfiguration[SiteRestoreArtifactsBulkAdditionRequestItemRequestBuilderGetQueryParameters]] = None) -> Optional[SiteRestoreArtifactsBulkAdditionRequest]: + """ + Get siteRestoreArtifactsBulkAdditionRequests from solutions + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[SiteRestoreArtifactsBulkAdditionRequest] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from .......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .......models.site_restore_artifacts_bulk_addition_request import SiteRestoreArtifactsBulkAdditionRequest + + return await self.request_adapter.send_async(request_info, SiteRestoreArtifactsBulkAdditionRequest, error_mapping) + + async def patch(self,body: SiteRestoreArtifactsBulkAdditionRequest, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[SiteRestoreArtifactsBulkAdditionRequest]: + """ + Update the navigation property siteRestoreArtifactsBulkAdditionRequests in solutions + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[SiteRestoreArtifactsBulkAdditionRequest] + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = self.to_patch_request_information( + body, request_configuration + ) + from .......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .......models.site_restore_artifacts_bulk_addition_request import SiteRestoreArtifactsBulkAdditionRequest + + return await self.request_adapter.send_async(request_info, SiteRestoreArtifactsBulkAdditionRequest, error_mapping) + + def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Delete navigation property siteRestoreArtifactsBulkAdditionRequests for solutions + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[SiteRestoreArtifactsBulkAdditionRequestItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Get siteRestoreArtifactsBulkAdditionRequests from solutions + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_patch_request_information(self,body: SiteRestoreArtifactsBulkAdditionRequest, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Update the navigation property siteRestoreArtifactsBulkAdditionRequests in solutions + 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.PATCH, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + return request_info + + def with_url(self,raw_url: str) -> SiteRestoreArtifactsBulkAdditionRequestItemRequestBuilder: + """ + 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: SiteRestoreArtifactsBulkAdditionRequestItemRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return SiteRestoreArtifactsBulkAdditionRequestItemRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class SiteRestoreArtifactsBulkAdditionRequestItemRequestBuilderDeleteRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + @dataclass + class SiteRestoreArtifactsBulkAdditionRequestItemRequestBuilderGetQueryParameters(): + """ + Get siteRestoreArtifactsBulkAdditionRequests from solutions + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "expand": + return "%24expand" + if original_name == "select": + return "%24select" + return original_name + + # Expand related entities + expand: Optional[List[str]] = None + + # Select properties to be returned + select: Optional[List[str]] = None + + + @dataclass + class SiteRestoreArtifactsBulkAdditionRequestItemRequestBuilderGetRequestConfiguration(RequestConfiguration[SiteRestoreArtifactsBulkAdditionRequestItemRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + @dataclass + class SiteRestoreArtifactsBulkAdditionRequestItemRequestBuilderPatchRequestConfiguration(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_beta/generated/solutions/backup_restore/share_point_restore_sessions/item/site_restore_artifacts_bulk_addition_requests/site_restore_artifacts_bulk_addition_requests_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/share_point_restore_sessions/item/site_restore_artifacts_bulk_addition_requests/site_restore_artifacts_bulk_addition_requests_request_builder.py new file mode 100644 index 00000000000..352a95bb95c --- /dev/null +++ b/msgraph_beta/generated/solutions/backup_restore/share_point_restore_sessions/item/site_restore_artifacts_bulk_addition_requests/site_restore_artifacts_bulk_addition_requests_request_builder.py @@ -0,0 +1,207 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from ......models.o_data_errors.o_data_error import ODataError + from ......models.site_restore_artifacts_bulk_addition_request import SiteRestoreArtifactsBulkAdditionRequest + from ......models.site_restore_artifacts_bulk_addition_request_collection_response import SiteRestoreArtifactsBulkAdditionRequestCollectionResponse + from .count.count_request_builder import CountRequestBuilder + from .item.site_restore_artifacts_bulk_addition_request_item_request_builder import SiteRestoreArtifactsBulkAdditionRequestItemRequestBuilder + +class SiteRestoreArtifactsBulkAdditionRequestsRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the siteRestoreArtifactsBulkAdditionRequests property of the microsoft.graph.sharePointRestoreSession entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new SiteRestoreArtifactsBulkAdditionRequestsRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/solutions/backupRestore/sharePointRestoreSessions/{sharePointRestoreSession%2Did}/siteRestoreArtifactsBulkAdditionRequests{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", path_parameters) + + def by_site_restore_artifacts_bulk_addition_request_id(self,site_restore_artifacts_bulk_addition_request_id: str) -> SiteRestoreArtifactsBulkAdditionRequestItemRequestBuilder: + """ + Provides operations to manage the siteRestoreArtifactsBulkAdditionRequests property of the microsoft.graph.sharePointRestoreSession entity. + param site_restore_artifacts_bulk_addition_request_id: The unique identifier of siteRestoreArtifactsBulkAdditionRequest + Returns: SiteRestoreArtifactsBulkAdditionRequestItemRequestBuilder + """ + if site_restore_artifacts_bulk_addition_request_id is None: + raise TypeError("site_restore_artifacts_bulk_addition_request_id cannot be null.") + from .item.site_restore_artifacts_bulk_addition_request_item_request_builder import SiteRestoreArtifactsBulkAdditionRequestItemRequestBuilder + + url_tpl_params = get_path_parameters(self.path_parameters) + url_tpl_params["siteRestoreArtifactsBulkAdditionRequest%2Did"] = site_restore_artifacts_bulk_addition_request_id + return SiteRestoreArtifactsBulkAdditionRequestItemRequestBuilder(self.request_adapter, url_tpl_params) + + async def get(self,request_configuration: Optional[RequestConfiguration[SiteRestoreArtifactsBulkAdditionRequestsRequestBuilderGetQueryParameters]] = None) -> Optional[SiteRestoreArtifactsBulkAdditionRequestCollectionResponse]: + """ + Get siteRestoreArtifactsBulkAdditionRequests from solutions + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[SiteRestoreArtifactsBulkAdditionRequestCollectionResponse] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ......models.site_restore_artifacts_bulk_addition_request_collection_response import SiteRestoreArtifactsBulkAdditionRequestCollectionResponse + + return await self.request_adapter.send_async(request_info, SiteRestoreArtifactsBulkAdditionRequestCollectionResponse, error_mapping) + + async def post(self,body: SiteRestoreArtifactsBulkAdditionRequest, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[SiteRestoreArtifactsBulkAdditionRequest]: + """ + Create new navigation property to siteRestoreArtifactsBulkAdditionRequests for solutions + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[SiteRestoreArtifactsBulkAdditionRequest] + """ + 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") + from ......models.site_restore_artifacts_bulk_addition_request import SiteRestoreArtifactsBulkAdditionRequest + + return await self.request_adapter.send_async(request_info, SiteRestoreArtifactsBulkAdditionRequest, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[SiteRestoreArtifactsBulkAdditionRequestsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Get siteRestoreArtifactsBulkAdditionRequests from solutions + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_post_request_information(self,body: SiteRestoreArtifactsBulkAdditionRequest, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Create new navigation property to siteRestoreArtifactsBulkAdditionRequests for solutions + 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) -> SiteRestoreArtifactsBulkAdditionRequestsRequestBuilder: + """ + 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: SiteRestoreArtifactsBulkAdditionRequestsRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return SiteRestoreArtifactsBulkAdditionRequestsRequestBuilder(self.request_adapter, raw_url) + + @property + def count(self) -> CountRequestBuilder: + """ + Provides operations to count the resources in the collection. + """ + from .count.count_request_builder import CountRequestBuilder + + return CountRequestBuilder(self.request_adapter, self.path_parameters) + + @dataclass + class SiteRestoreArtifactsBulkAdditionRequestsRequestBuilderGetQueryParameters(): + """ + Get siteRestoreArtifactsBulkAdditionRequests from solutions + """ + 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 SiteRestoreArtifactsBulkAdditionRequestsRequestBuilderGetRequestConfiguration(RequestConfiguration[SiteRestoreArtifactsBulkAdditionRequestsRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + @dataclass + class SiteRestoreArtifactsBulkAdditionRequestsRequestBuilderPostRequestConfiguration(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_beta/generated/solutions/backup_restore/site_inclusion_rules/count/count_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/site_inclusion_rules/count/count_request_builder.py index 1341403086f..deff7c306be 100644 --- a/msgraph_beta/generated/solutions/backup_restore/site_inclusion_rules/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/site_inclusion_rules/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/solutions/backup_restore/site_protection_units/count/count_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/site_protection_units/count/count_request_builder.py index 02b548561c3..5eb071d94a4 100644 --- a/msgraph_beta/generated/solutions/backup_restore/site_protection_units/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/site_protection_units/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/solutions/backup_restore/site_protection_units_bulk_addition_jobs/count/count_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/site_protection_units_bulk_addition_jobs/count/count_request_builder.py index bc9c150530a..77ad0fa8085 100644 --- a/msgraph_beta/generated/solutions/backup_restore/site_protection_units_bulk_addition_jobs/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/site_protection_units_bulk_addition_jobs/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/solutions/booking_businesses/count/count_request_builder.py b/msgraph_beta/generated/solutions/booking_businesses/count/count_request_builder.py index f9a9e32b6c3..dff6449d04e 100644 --- a/msgraph_beta/generated/solutions/booking_businesses/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/booking_businesses/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/solutions/booking_businesses/item/appointments/count/count_request_builder.py b/msgraph_beta/generated/solutions/booking_businesses/item/appointments/count/count_request_builder.py index ae96fa13d02..2e02cae6a15 100644 --- a/msgraph_beta/generated/solutions/booking_businesses/item/appointments/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/booking_businesses/item/appointments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/solutions/booking_businesses/item/calendar_view/count/count_request_builder.py b/msgraph_beta/generated/solutions/booking_businesses/item/calendar_view/count/count_request_builder.py index ea6d81eb88b..a2fd3dc311a 100644 --- a/msgraph_beta/generated/solutions/booking_businesses/item/calendar_view/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/booking_businesses/item/calendar_view/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/solutions/booking_businesses/item/custom_questions/count/count_request_builder.py b/msgraph_beta/generated/solutions/booking_businesses/item/custom_questions/count/count_request_builder.py index 15951122db7..1e1ca89ad0a 100644 --- a/msgraph_beta/generated/solutions/booking_businesses/item/custom_questions/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/booking_businesses/item/custom_questions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/solutions/booking_businesses/item/customers/count/count_request_builder.py b/msgraph_beta/generated/solutions/booking_businesses/item/customers/count/count_request_builder.py index 316f951a63b..a80c922cc05 100644 --- a/msgraph_beta/generated/solutions/booking_businesses/item/customers/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/booking_businesses/item/customers/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/solutions/booking_businesses/item/get_staff_availability/get_staff_availability_post_request_body.py b/msgraph_beta/generated/solutions/booking_businesses/item/get_staff_availability/get_staff_availability_post_request_body.py index 09a89f19c25..00601303432 100644 --- a/msgraph_beta/generated/solutions/booking_businesses/item/get_staff_availability/get_staff_availability_post_request_body.py +++ b/msgraph_beta/generated/solutions/booking_businesses/item/get_staff_availability/get_staff_availability_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.date_time_time_zone import DateTimeTimeZone + writer.write_object_value("endDateTime", self.end_date_time) writer.write_collection_of_primitive_values("staffIds", self.staff_ids) writer.write_object_value("startDateTime", self.start_date_time) diff --git a/msgraph_beta/generated/solutions/booking_businesses/item/get_staff_availability/get_staff_availability_post_response.py b/msgraph_beta/generated/solutions/booking_businesses/item/get_staff_availability/get_staff_availability_post_response.py index ed8280e54f3..7e8d705260a 100644 --- a/msgraph_beta/generated/solutions/booking_businesses/item/get_staff_availability/get_staff_availability_post_response.py +++ b/msgraph_beta/generated/solutions/booking_businesses/item/get_staff_availability/get_staff_availability_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .....models.staff_availability_item import StaffAvailabilityItem + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/solutions/booking_businesses/item/services/count/count_request_builder.py b/msgraph_beta/generated/solutions/booking_businesses/item/services/count/count_request_builder.py index edfcc1b237c..0115e61b082 100644 --- a/msgraph_beta/generated/solutions/booking_businesses/item/services/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/booking_businesses/item/services/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/solutions/booking_businesses/item/staff_members/count/count_request_builder.py b/msgraph_beta/generated/solutions/booking_businesses/item/staff_members/count/count_request_builder.py index 10d0537a1d8..e4c51280547 100644 --- a/msgraph_beta/generated/solutions/booking_businesses/item/staff_members/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/booking_businesses/item/staff_members/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/solutions/booking_currencies/count/count_request_builder.py b/msgraph_beta/generated/solutions/booking_currencies/count/count_request_builder.py index 779b86d6c28..27dd0891bbd 100644 --- a/msgraph_beta/generated/solutions/booking_currencies/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/booking_currencies/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/solutions/business_scenarios/count/count_request_builder.py b/msgraph_beta/generated/solutions/business_scenarios/count/count_request_builder.py index 1cba151f380..955351f1953 100644 --- a/msgraph_beta/generated/solutions/business_scenarios/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/business_scenarios/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/solutions/business_scenarios/item/planner/get_plan/get_plan_post_request_body.py b/msgraph_beta/generated/solutions/business_scenarios/item/planner/get_plan/get_plan_post_request_body.py index d00f7eb7fe8..a92385885ab 100644 --- a/msgraph_beta/generated/solutions/business_scenarios/item/planner/get_plan/get_plan_post_request_body.py +++ b/msgraph_beta/generated/solutions/business_scenarios/item/planner/get_plan/get_plan_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ......models.business_scenario_task_target_base import BusinessScenarioTaskTargetBase + writer.write_object_value("target", self.target) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/solutions/business_scenarios/item/planner/plan_configuration/localizations/count/count_request_builder.py b/msgraph_beta/generated/solutions/business_scenarios/item/planner/plan_configuration/localizations/count/count_request_builder.py index f8850ad809a..ab20d9fdf2e 100644 --- a/msgraph_beta/generated/solutions/business_scenarios/item/planner/plan_configuration/localizations/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/business_scenarios/item/planner/plan_configuration/localizations/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/solutions/business_scenarios/item/planner/tasks/count/count_request_builder.py b/msgraph_beta/generated/solutions/business_scenarios/item/planner/tasks/count/count_request_builder.py index 0f8f8f9b01d..3dbcdee04cf 100644 --- a/msgraph_beta/generated/solutions/business_scenarios/item/planner/tasks/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/business_scenarios/item/planner/tasks/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/solutions/virtual_events/events/count/count_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/events/count/count_request_builder.py index e6699848804..9243356e198 100644 --- a/msgraph_beta/generated/solutions/virtual_events/events/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/events/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/solutions/virtual_events/events/item/presenters/count/count_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/events/item/presenters/count/count_request_builder.py index 06b975d6ed5..642e51ccb66 100644 --- a/msgraph_beta/generated/solutions/virtual_events/events/item/presenters/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/events/item/presenters/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/solutions/virtual_events/events/item/presenters/item/sessions/count/count_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/events/item/presenters/item/sessions/count/count_request_builder.py index c6877715769..4257ca6dc53 100644 --- a/msgraph_beta/generated/solutions/virtual_events/events/item/presenters/item/sessions/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/events/item/presenters/item/sessions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/count/count_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/count/count_request_builder.py index 290c9841018..5a3fdd18bbc 100644 --- a/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/attendance_reports/count/count_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/attendance_reports/count/count_request_builder.py index 8f146f8488f..0521d5de4d5 100644 --- a/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/attendance_reports/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/attendance_reports/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/attendance_reports/item/attendance_records/count/count_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/attendance_reports/item/attendance_records/count/count_request_builder.py index 5eb9ae008ac..3f97f1bdd68 100644 --- a/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/attendance_reports/item/attendance_records/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/attendance_reports/item/attendance_records/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/presenters/count/count_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/presenters/count/count_request_builder.py index d5ce014dda9..c4099a141b7 100644 --- a/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/presenters/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/presenters/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/registrations/count/count_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/registrations/count/count_request_builder.py index 0130230b8ae..77c2f8a7d51 100644 --- a/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/registrations/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/registrations/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/solutions/virtual_events/townhalls/count/count_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/townhalls/count/count_request_builder.py index 821efb39840..6d5ca293d77 100644 --- a/msgraph_beta/generated/solutions/virtual_events/townhalls/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/townhalls/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/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_beta/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 index 98410b2aec9..90e41d1054a 100644 --- a/msgraph_beta/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_beta/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 @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .....models.virtual_event_townhall import VirtualEventTownhall + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/solutions/virtual_events/townhalls/get_by_user_role_with_role/get_by_user_role_with_role_get_response.py b/msgraph_beta/generated/solutions/virtual_events/townhalls/get_by_user_role_with_role/get_by_user_role_with_role_get_response.py index a000cf66582..85983b88f83 100644 --- a/msgraph_beta/generated/solutions/virtual_events/townhalls/get_by_user_role_with_role/get_by_user_role_with_role_get_response.py +++ b/msgraph_beta/generated/solutions/virtual_events/townhalls/get_by_user_role_with_role/get_by_user_role_with_role_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .....models.virtual_event_townhall import VirtualEventTownhall + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/solutions/virtual_events/townhalls/item/presenters/count/count_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/townhalls/item/presenters/count/count_request_builder.py index e258fc8015f..99e466bec78 100644 --- a/msgraph_beta/generated/solutions/virtual_events/townhalls/item/presenters/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/townhalls/item/presenters/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/solutions/virtual_events/townhalls/item/presenters/item/sessions/count/count_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/townhalls/item/presenters/item/sessions/count/count_request_builder.py index 30e04e6da85..efed313d0f5 100644 --- a/msgraph_beta/generated/solutions/virtual_events/townhalls/item/presenters/item/sessions/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/townhalls/item/presenters/item/sessions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/solutions/virtual_events/townhalls/item/sessions/count/count_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/townhalls/item/sessions/count/count_request_builder.py index e2906e58ce7..4519425db4e 100644 --- a/msgraph_beta/generated/solutions/virtual_events/townhalls/item/sessions/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/townhalls/item/sessions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/solutions/virtual_events/townhalls/item/sessions/item/attendance_reports/count/count_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/townhalls/item/sessions/item/attendance_reports/count/count_request_builder.py index 706125f1640..8c9d1bc7020 100644 --- a/msgraph_beta/generated/solutions/virtual_events/townhalls/item/sessions/item/attendance_reports/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/townhalls/item/sessions/item/attendance_reports/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/solutions/virtual_events/townhalls/item/sessions/item/attendance_reports/item/attendance_records/count/count_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/townhalls/item/sessions/item/attendance_reports/item/attendance_records/count/count_request_builder.py index ce177dbd36e..c9fbca4a77b 100644 --- a/msgraph_beta/generated/solutions/virtual_events/townhalls/item/sessions/item/attendance_reports/item/attendance_records/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/townhalls/item/sessions/item/attendance_reports/item/attendance_records/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/solutions/virtual_events/townhalls/item/sessions/item/presenters/count/count_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/townhalls/item/sessions/item/presenters/count/count_request_builder.py index d484e685b57..4064936e348 100644 --- a/msgraph_beta/generated/solutions/virtual_events/townhalls/item/sessions/item/presenters/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/townhalls/item/sessions/item/presenters/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/solutions/virtual_events/townhalls/item/sessions/item/registrations/count/count_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/townhalls/item/sessions/item/registrations/count/count_request_builder.py index 88c35a776cb..9a92f0a8055 100644 --- a/msgraph_beta/generated/solutions/virtual_events/townhalls/item/sessions/item/registrations/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/townhalls/item/sessions/item/registrations/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/solutions/virtual_events/webinars/count/count_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/webinars/count/count_request_builder.py index 2970cd8d3f5..de250305a67 100644 --- a/msgraph_beta/generated/solutions/virtual_events/webinars/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/webinars/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/solutions/virtual_events/webinars/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_beta/generated/solutions/virtual_events/webinars/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 index d7ec7f762d5..935be5f4036 100644 --- a/msgraph_beta/generated/solutions/virtual_events/webinars/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_beta/generated/solutions/virtual_events/webinars/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 @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .....models.virtual_event_webinar import VirtualEventWebinar + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/solutions/virtual_events/webinars/get_by_user_role_with_role/get_by_user_role_with_role_get_response.py b/msgraph_beta/generated/solutions/virtual_events/webinars/get_by_user_role_with_role/get_by_user_role_with_role_get_response.py index 7a66b764c35..7daec9dcaab 100644 --- a/msgraph_beta/generated/solutions/virtual_events/webinars/get_by_user_role_with_role/get_by_user_role_with_role_get_response.py +++ b/msgraph_beta/generated/solutions/virtual_events/webinars/get_by_user_role_with_role/get_by_user_role_with_role_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .....models.virtual_event_webinar import VirtualEventWebinar + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/solutions/virtual_events/webinars/item/presenters/count/count_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/webinars/item/presenters/count/count_request_builder.py index 5c6e641a036..a57b8b05fc4 100644 --- a/msgraph_beta/generated/solutions/virtual_events/webinars/item/presenters/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/webinars/item/presenters/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/solutions/virtual_events/webinars/item/presenters/item/sessions/count/count_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/webinars/item/presenters/item/sessions/count/count_request_builder.py index c17481c612c..a377988c44c 100644 --- a/msgraph_beta/generated/solutions/virtual_events/webinars/item/presenters/item/sessions/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/webinars/item/presenters/item/sessions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/solutions/virtual_events/webinars/item/registration_configuration/questions/count/count_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/webinars/item/registration_configuration/questions/count/count_request_builder.py index bd9af34c6fa..92f0e48974e 100644 --- a/msgraph_beta/generated/solutions/virtual_events/webinars/item/registration_configuration/questions/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/webinars/item/registration_configuration/questions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/solutions/virtual_events/webinars/item/registrations/count/count_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/webinars/item/registrations/count/count_request_builder.py index 293ef341066..a117d7d931b 100644 --- a/msgraph_beta/generated/solutions/virtual_events/webinars/item/registrations/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/webinars/item/registrations/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/solutions/virtual_events/webinars/item/registrations/item/sessions/count/count_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/webinars/item/registrations/item/sessions/count/count_request_builder.py index 1c2aebc90f6..0e6a097b526 100644 --- a/msgraph_beta/generated/solutions/virtual_events/webinars/item/registrations/item/sessions/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/webinars/item/registrations/item/sessions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/count/count_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/count/count_request_builder.py index 20a25550424..93f944e6f1f 100644 --- a/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/attendance_reports/count/count_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/attendance_reports/count/count_request_builder.py index b448ea004b9..c187f153eb4 100644 --- a/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/attendance_reports/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/attendance_reports/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/attendance_reports/item/attendance_records/count/count_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/attendance_reports/item/attendance_records/count/count_request_builder.py index b929f8099db..f04dddb2dae 100644 --- a/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/attendance_reports/item/attendance_records/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/attendance_reports/item/attendance_records/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/presenters/count/count_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/presenters/count/count_request_builder.py index ec7db5358c1..935ca9ea9c8 100644 --- a/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/presenters/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/presenters/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/registrations/count/count_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/registrations/count/count_request_builder.py index f417441b6c9..7e27a14316d 100644 --- a/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/registrations/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/registrations/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/storage/file_storage/containers/count/count_request_builder.py b/msgraph_beta/generated/storage/file_storage/containers/count/count_request_builder.py index ea809d1f0ea..4ecd69eaec0 100644 --- a/msgraph_beta/generated/storage/file_storage/containers/count/count_request_builder.py +++ b/msgraph_beta/generated/storage/file_storage/containers/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/storage/file_storage/containers/item/columns/count/count_request_builder.py b/msgraph_beta/generated/storage/file_storage/containers/item/columns/count/count_request_builder.py index 6848d54adf8..d596bd7fc3f 100644 --- a/msgraph_beta/generated/storage/file_storage/containers/item/columns/count/count_request_builder.py +++ b/msgraph_beta/generated/storage/file_storage/containers/item/columns/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/storage/file_storage/containers/item/permissions/count/count_request_builder.py b/msgraph_beta/generated/storage/file_storage/containers/item/permissions/count/count_request_builder.py index 0559281743e..9358e471e34 100644 --- a/msgraph_beta/generated/storage/file_storage/containers/item/permissions/count/count_request_builder.py +++ b/msgraph_beta/generated/storage/file_storage/containers/item/permissions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/storage/file_storage/containers/item/permissions/item/grant/grant_post_request_body.py b/msgraph_beta/generated/storage/file_storage/containers/item/permissions/item/grant/grant_post_request_body.py index 1d81924129b..938d3b07897 100644 --- a/msgraph_beta/generated/storage/file_storage/containers/item/permissions/item/grant/grant_post_request_body.py +++ b/msgraph_beta/generated/storage/file_storage/containers/item/permissions/item/grant/grant_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ........models.drive_recipient import DriveRecipient + writer.write_collection_of_object_values("recipients", self.recipients) writer.write_collection_of_primitive_values("roles", self.roles) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/storage/file_storage/containers/item/permissions/item/grant/grant_post_response.py b/msgraph_beta/generated/storage/file_storage/containers/item/permissions/item/grant/grant_post_response.py index 49d325a0f49..a192c772c4a 100644 --- a/msgraph_beta/generated/storage/file_storage/containers/item/permissions/item/grant/grant_post_response.py +++ b/msgraph_beta/generated/storage/file_storage/containers/item/permissions/item/grant/grant_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ........models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ........models.permission import Permission + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/storage/file_storage/containers/item/permissions/item/revoke_grants/revoke_grants_post_request_body.py b/msgraph_beta/generated/storage/file_storage/containers/item/permissions/item/revoke_grants/revoke_grants_post_request_body.py index a347271fea8..6bd46ec8a0a 100644 --- a/msgraph_beta/generated/storage/file_storage/containers/item/permissions/item/revoke_grants/revoke_grants_post_request_body.py +++ b/msgraph_beta/generated/storage/file_storage/containers/item/permissions/item/revoke_grants/revoke_grants_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ........models.drive_recipient import DriveRecipient + writer.write_collection_of_object_values("grantees", self.grantees) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/storage/file_storage/containers/item/recycle_bin/created_by_user/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/storage/file_storage/containers/item/recycle_bin/created_by_user/service_provisioning_errors/count/count_request_builder.py index 1cfdef50e54..d585ce0e17c 100644 --- a/msgraph_beta/generated/storage/file_storage/containers/item/recycle_bin/created_by_user/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/storage/file_storage/containers/item/recycle_bin/created_by_user/service_provisioning_errors/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/storage/file_storage/containers/item/recycle_bin/items/count/count_request_builder.py b/msgraph_beta/generated/storage/file_storage/containers/item/recycle_bin/items/count/count_request_builder.py index 1d74356fb03..5113d0fedd5 100644 --- a/msgraph_beta/generated/storage/file_storage/containers/item/recycle_bin/items/count/count_request_builder.py +++ b/msgraph_beta/generated/storage/file_storage/containers/item/recycle_bin/items/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/storage/file_storage/containers/item/recycle_bin/items/item/created_by_user/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/storage/file_storage/containers/item/recycle_bin/items/item/created_by_user/service_provisioning_errors/count/count_request_builder.py index 05fb695e48e..91ec612c258 100644 --- a/msgraph_beta/generated/storage/file_storage/containers/item/recycle_bin/items/item/created_by_user/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/storage/file_storage/containers/item/recycle_bin/items/item/created_by_user/service_provisioning_errors/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/storage/file_storage/containers/item/recycle_bin/items/item/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/storage/file_storage/containers/item/recycle_bin/items/item/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py index 8e2738596f3..3c2cefe84f5 100644 --- a/msgraph_beta/generated/storage/file_storage/containers/item/recycle_bin/items/item/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/storage/file_storage/containers/item/recycle_bin/items/item/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/storage/file_storage/containers/item/recycle_bin/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/storage/file_storage/containers/item/recycle_bin/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py index 509e281234e..b3aae79db04 100644 --- a/msgraph_beta/generated/storage/file_storage/containers/item/recycle_bin/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/storage/file_storage/containers/item/recycle_bin/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/storage/file_storage/deleted_containers/count/count_request_builder.py b/msgraph_beta/generated/storage/file_storage/deleted_containers/count/count_request_builder.py index 356b6b0fb95..efb605bf602 100644 --- a/msgraph_beta/generated/storage/file_storage/deleted_containers/count/count_request_builder.py +++ b/msgraph_beta/generated/storage/file_storage/deleted_containers/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/storage/file_storage/deleted_containers/item/columns/count/count_request_builder.py b/msgraph_beta/generated/storage/file_storage/deleted_containers/item/columns/count/count_request_builder.py index 395d4e559e2..49b5cccbd73 100644 --- a/msgraph_beta/generated/storage/file_storage/deleted_containers/item/columns/count/count_request_builder.py +++ b/msgraph_beta/generated/storage/file_storage/deleted_containers/item/columns/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/storage/file_storage/deleted_containers/item/permissions/count/count_request_builder.py b/msgraph_beta/generated/storage/file_storage/deleted_containers/item/permissions/count/count_request_builder.py index fa5698d38f6..634a1ec5c88 100644 --- a/msgraph_beta/generated/storage/file_storage/deleted_containers/item/permissions/count/count_request_builder.py +++ b/msgraph_beta/generated/storage/file_storage/deleted_containers/item/permissions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/storage/file_storage/deleted_containers/item/permissions/item/grant/grant_post_request_body.py b/msgraph_beta/generated/storage/file_storage/deleted_containers/item/permissions/item/grant/grant_post_request_body.py index 1d81924129b..938d3b07897 100644 --- a/msgraph_beta/generated/storage/file_storage/deleted_containers/item/permissions/item/grant/grant_post_request_body.py +++ b/msgraph_beta/generated/storage/file_storage/deleted_containers/item/permissions/item/grant/grant_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ........models.drive_recipient import DriveRecipient + writer.write_collection_of_object_values("recipients", self.recipients) writer.write_collection_of_primitive_values("roles", self.roles) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/storage/file_storage/deleted_containers/item/permissions/item/grant/grant_post_response.py b/msgraph_beta/generated/storage/file_storage/deleted_containers/item/permissions/item/grant/grant_post_response.py index 49d325a0f49..a192c772c4a 100644 --- a/msgraph_beta/generated/storage/file_storage/deleted_containers/item/permissions/item/grant/grant_post_response.py +++ b/msgraph_beta/generated/storage/file_storage/deleted_containers/item/permissions/item/grant/grant_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ........models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ........models.permission import Permission + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/storage/file_storage/deleted_containers/item/permissions/item/revoke_grants/revoke_grants_post_request_body.py b/msgraph_beta/generated/storage/file_storage/deleted_containers/item/permissions/item/revoke_grants/revoke_grants_post_request_body.py index a347271fea8..6bd46ec8a0a 100644 --- a/msgraph_beta/generated/storage/file_storage/deleted_containers/item/permissions/item/revoke_grants/revoke_grants_post_request_body.py +++ b/msgraph_beta/generated/storage/file_storage/deleted_containers/item/permissions/item/revoke_grants/revoke_grants_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ........models.drive_recipient import DriveRecipient + writer.write_collection_of_object_values("grantees", self.grantees) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/storage/file_storage/deleted_containers/item/recycle_bin/created_by_user/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/storage/file_storage/deleted_containers/item/recycle_bin/created_by_user/service_provisioning_errors/count/count_request_builder.py index d8141862922..f5c1fd3694f 100644 --- a/msgraph_beta/generated/storage/file_storage/deleted_containers/item/recycle_bin/created_by_user/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/storage/file_storage/deleted_containers/item/recycle_bin/created_by_user/service_provisioning_errors/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/storage/file_storage/deleted_containers/item/recycle_bin/items/count/count_request_builder.py b/msgraph_beta/generated/storage/file_storage/deleted_containers/item/recycle_bin/items/count/count_request_builder.py index 61916e390a3..5c03aea03cf 100644 --- a/msgraph_beta/generated/storage/file_storage/deleted_containers/item/recycle_bin/items/count/count_request_builder.py +++ b/msgraph_beta/generated/storage/file_storage/deleted_containers/item/recycle_bin/items/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/storage/file_storage/deleted_containers/item/recycle_bin/items/item/created_by_user/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/storage/file_storage/deleted_containers/item/recycle_bin/items/item/created_by_user/service_provisioning_errors/count/count_request_builder.py index 19f65a89372..13f18d155b9 100644 --- a/msgraph_beta/generated/storage/file_storage/deleted_containers/item/recycle_bin/items/item/created_by_user/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/storage/file_storage/deleted_containers/item/recycle_bin/items/item/created_by_user/service_provisioning_errors/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/storage/file_storage/deleted_containers/item/recycle_bin/items/item/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/storage/file_storage/deleted_containers/item/recycle_bin/items/item/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py index 7a46198a5f9..06ecdf5522f 100644 --- a/msgraph_beta/generated/storage/file_storage/deleted_containers/item/recycle_bin/items/item/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/storage/file_storage/deleted_containers/item/recycle_bin/items/item/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/storage/file_storage/deleted_containers/item/recycle_bin/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/storage/file_storage/deleted_containers/item/recycle_bin/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py index 2055bf4ad88..8280b9731aa 100644 --- a/msgraph_beta/generated/storage/file_storage/deleted_containers/item/recycle_bin/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/storage/file_storage/deleted_containers/item/recycle_bin/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/storage/settings/quota/services/count/count_request_builder.py b/msgraph_beta/generated/storage/settings/quota/services/count/count_request_builder.py index 40314676304..d0a125082ff 100644 --- a/msgraph_beta/generated/storage/settings/quota/services/count/count_request_builder.py +++ b/msgraph_beta/generated/storage/settings/quota/services/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/team_template_definition/count/count_request_builder.py b/msgraph_beta/generated/team_template_definition/count/count_request_builder.py index 15d074c90e5..8e55a9725fa 100644 --- a/msgraph_beta/generated/team_template_definition/count/count_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/all_channels/count/count_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/all_channels/count/count_request_builder.py index 989add938af..1120693840a 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/all_channels/count/count_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/all_channels/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/all_messages/all_messages_get_response.py b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/all_messages/all_messages_get_response.py index 69cb1fcb407..e42ca4027c0 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/all_messages/all_messages_get_response.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/all_messages/all_messages_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ......models.chat_message import ChatMessage + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/count/count_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/count/count_request_builder.py index ab9f01da2ce..e9bd0577718 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/count/count_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/get_all_messages/get_all_messages_get_response.py b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/get_all_messages/get_all_messages_get_response.py index 743fbbbc659..b2d96c47ecd 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/get_all_messages/get_all_messages_get_response.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/get_all_messages/get_all_messages_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ......models.chat_message import ChatMessage + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/get_all_retained_messages/get_all_retained_messages_get_response.py b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/get_all_retained_messages/get_all_retained_messages_get_response.py index ef204f71243..f5eb1125c37 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/get_all_retained_messages/get_all_retained_messages_get_response.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/get_all_retained_messages/get_all_retained_messages_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ......models.chat_message import ChatMessage + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/members/add/add_post_request_body.py b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/members/add/add_post_request_body.py index 169ae41524a..ab7e9af2cb0 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/members/add/add_post_request_body.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/members/add/add_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ........models.conversation_member import ConversationMember + writer.write_collection_of_object_values("values", self.values) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/members/add/add_post_response.py b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/members/add/add_post_response.py index 5eee4499256..ffa48911694 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/members/add/add_post_response.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/members/add/add_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ........models.action_result_part import ActionResultPart + from ........models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/members/count/count_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/members/count/count_request_builder.py index 7534b451ff6..d3bca8a55c2 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/members/count/count_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/members/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/members/remove/remove_post_request_body.py b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/members/remove/remove_post_request_body.py index 86b17e2ee4d..5bb050c082d 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/members/remove/remove_post_request_body.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/members/remove/remove_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ........models.conversation_member import ConversationMember + writer.write_collection_of_object_values("values", self.values) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/members/remove/remove_post_response.py b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/members/remove/remove_post_response.py index 124b45e29cd..6c47de51ac9 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/members/remove/remove_post_response.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/members/remove/remove_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ........models.action_result_part import ActionResultPart + from ........models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/members/remove/remove_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/members/remove/remove_request_builder.py index 8d83eb1c456..2131b48b748 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/members/remove/remove_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/members/remove/remove_request_builder.py @@ -32,10 +32,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def post(self,body: RemovePostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[RemovePostResponse]: """ - Invoke action remove + Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[RemovePostResponse] + Find more info here: https://learn.microsoft.com/graph/api/conversationmember-remove?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -55,7 +56,7 @@ async def post(self,body: RemovePostRequestBody, request_configuration: Optional def to_post_request_information(self,body: RemovePostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Invoke action remove + Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/messages/count/count_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/messages/count/count_request_builder.py index 7dc4f791758..3b02b20c185 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/messages/count/count_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/messages/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/messages/delta/delta_get_response.py b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/messages/delta/delta_get_response.py index cfcdda82a06..146b11a5c2b 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/messages/delta/delta_get_response.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/messages/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ........models.base_delta_function_response import BaseDeltaFunctionResponse + from ........models.chat_message import ChatMessage + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/messages/item/hosted_contents/count/count_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/messages/item/hosted_contents/count/count_request_builder.py index bf7720c3cd8..4f4ec1fa0e3 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/messages/item/hosted_contents/count/count_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/messages/item/hosted_contents/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/messages/item/replies/count/count_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/messages/item/replies/count/count_request_builder.py index 12952351051..206b0a06a1d 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/messages/item/replies/count/count_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/messages/item/replies/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/messages/item/replies/delta/delta_get_response.py b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/messages/item/replies/delta/delta_get_response.py index 312926e971c..e95f9778408 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/messages/item/replies/delta/delta_get_response.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/messages/item/replies/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..........models.base_delta_function_response import BaseDeltaFunctionResponse + from ..........models.chat_message import ChatMessage + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/messages/item/replies/item/hosted_contents/count/count_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/messages/item/replies/item/hosted_contents/count/count_request_builder.py index 9b7db09e6fb..68eef97d7d1 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/messages/item/replies/item/hosted_contents/count/count_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/messages/item/replies/item/hosted_contents/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/shared_with_teams/count/count_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/shared_with_teams/count/count_request_builder.py index 28ffc0a0f85..a49bf052be8 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/shared_with_teams/count/count_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/shared_with_teams/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/shared_with_teams/item/allowed_members/count/count_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/shared_with_teams/item/allowed_members/count/count_request_builder.py index b3ad330c472..06c6fb6e8ce 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/shared_with_teams/item/allowed_members/count/count_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/shared_with_teams/item/allowed_members/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/tabs/count/count_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/tabs/count/count_request_builder.py index f847464948b..153ee130303 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/tabs/count/count_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/tabs/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/clone/clone_post_request_body.py b/msgraph_beta/generated/team_template_definition/item/team_definition/clone/clone_post_request_body.py index 892a1b6f04e..793a93e8492 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/clone/clone_post_request_body.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/clone/clone_post_request_body.py @@ -68,6 +68,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.clonable_team_parts import ClonableTeamParts + from .....models.team_visibility_type import TeamVisibilityType + writer.write_str_value("classification", self.classification) writer.write_str_value("description", self.description) writer.write_str_value("displayName", self.display_name) diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/group/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/group/service_provisioning_errors/count/count_request_builder.py index eec7c808e21..0e67db9da00 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/group/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/group/service_provisioning_errors/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/incoming_channels/count/count_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/incoming_channels/count/count_request_builder.py index 63b90ad3866..dd72b2bb294 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/incoming_channels/count/count_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/incoming_channels/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/installed_apps/count/count_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/installed_apps/count/count_request_builder.py index 0034ae9db84..cfd16e3132f 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/installed_apps/count/count_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/installed_apps/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/installed_apps/item/upgrade/upgrade_post_request_body.py b/msgraph_beta/generated/team_template_definition/item/team_definition/installed_apps/item/upgrade/upgrade_post_request_body.py index 004d9d8a19b..133c5453dba 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/installed_apps/item/upgrade/upgrade_post_request_body.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/installed_apps/item/upgrade/upgrade_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .......models.teams_app_permission_set import TeamsAppPermissionSet + writer.write_object_value("consentedPermissionSet", self.consented_permission_set) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/members/add/add_post_request_body.py b/msgraph_beta/generated/team_template_definition/item/team_definition/members/add/add_post_request_body.py index 032237a2269..c8befc22279 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/members/add/add_post_request_body.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/members/add/add_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ......models.conversation_member import ConversationMember + writer.write_collection_of_object_values("values", self.values) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/members/add/add_post_response.py b/msgraph_beta/generated/team_template_definition/item/team_definition/members/add/add_post_response.py index 13e1287093e..8d9ff833dae 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/members/add/add_post_response.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/members/add/add_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ......models.action_result_part import ActionResultPart + from ......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/members/count/count_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/members/count/count_request_builder.py index 682db982ab2..07ed85a189d 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/members/count/count_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/members/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/members/remove/remove_post_request_body.py b/msgraph_beta/generated/team_template_definition/item/team_definition/members/remove/remove_post_request_body.py index 4d3d5f54c90..f323b0d9e70 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/members/remove/remove_post_request_body.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/members/remove/remove_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ......models.conversation_member import ConversationMember + writer.write_collection_of_object_values("values", self.values) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/members/remove/remove_post_response.py b/msgraph_beta/generated/team_template_definition/item/team_definition/members/remove/remove_post_response.py index d2fb0b283dc..1d070f42a99 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/members/remove/remove_post_response.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/members/remove/remove_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ......models.action_result_part import ActionResultPart + from ......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/members/remove/remove_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/members/remove/remove_request_builder.py index e41ff9df3e0..8e351af09c0 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/members/remove/remove_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/members/remove/remove_request_builder.py @@ -32,10 +32,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def post(self,body: RemovePostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[RemovePostResponse]: """ - Invoke action remove + Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[RemovePostResponse] + Find more info here: https://learn.microsoft.com/graph/api/conversationmember-remove?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -55,7 +56,7 @@ async def post(self,body: RemovePostRequestBody, request_configuration: Optional def to_post_request_information(self,body: RemovePostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Invoke action remove + Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/operations/count/count_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/operations/count/count_request_builder.py index 9715109d6fc..18bcb6b2446 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/operations/count/count_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/operations/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/owners/count/count_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/owners/count/count_request_builder.py index 57bae543a18..554e15c2304 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/owners/count/count_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/owners/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/owners/item/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/owners/item/service_provisioning_errors/count/count_request_builder.py index e80ce110ed7..44eb0aa48a5 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/owners/item/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/owners/item/service_provisioning_errors/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/owners_with_user_principal_name/owners_with_user_principal_name_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/owners_with_user_principal_name/owners_with_user_principal_name_request_builder.py new file mode 100644 index 00000000000..a3bff7535d1 --- /dev/null +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/owners_with_user_principal_name/owners_with_user_principal_name_request_builder.py @@ -0,0 +1,109 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from .....models.o_data_errors.o_data_error import ODataError + from .....models.user import User + +class OwnersWithUserPrincipalNameRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the owners property of the microsoft.graph.team entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]], user_principal_name: Optional[str] = None) -> None: + """ + Instantiates a new OwnersWithUserPrincipalNameRequestBuilder 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 user_principal_name: Alternate key of user + Returns: None + """ + if isinstance(path_parameters, dict): + path_parameters['userPrincipalName'] = user_principal_name + super().__init__(request_adapter, "{+baseurl}/teamTemplateDefinition/{teamTemplateDefinition%2Did}/teamDefinition/owners(userPrincipalName='{userPrincipalName}'){?%24expand,%24select}", path_parameters) + + async def get(self,request_configuration: Optional[RequestConfiguration[OwnersWithUserPrincipalNameRequestBuilderGetQueryParameters]] = None) -> Optional[User]: + """ + The list of this team's owners. Currently, when creating a team using application permissions, exactly one owner must be specified. When using user-delegated permissions, no owner can be specified (the current user is the owner). The owner must be specified as an object ID (GUID), not a UPN. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[User] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from .....models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .....models.user import User + + return await self.request_adapter.send_async(request_info, User, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[OwnersWithUserPrincipalNameRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + The list of this team's owners. Currently, when creating a team using application permissions, exactly one owner must be specified. When using user-delegated permissions, no owner can be specified (the current user is the owner). The owner must be specified as an object ID (GUID), not a UPN. + 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) -> OwnersWithUserPrincipalNameRequestBuilder: + """ + 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: OwnersWithUserPrincipalNameRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return OwnersWithUserPrincipalNameRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class OwnersWithUserPrincipalNameRequestBuilderGetQueryParameters(): + """ + The list of this team's owners. Currently, when creating a team using application permissions, exactly one owner must be specified. When using user-delegated permissions, no owner can be specified (the current user is the owner). The owner must be specified as an object ID (GUID), not a UPN. + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "expand": + return "%24expand" + if original_name == "select": + return "%24select" + return original_name + + # Expand related entities + expand: Optional[List[str]] = None + + # Select properties to be returned + select: Optional[List[str]] = None + + + @dataclass + class OwnersWithUserPrincipalNameRequestBuilderGetRequestConfiguration(RequestConfiguration[OwnersWithUserPrincipalNameRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/permission_grants/count/count_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/permission_grants/count/count_request_builder.py index 6d6e30fba38..098bcf0f228 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/permission_grants/count/count_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/permission_grants/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/members/add/add_post_request_body.py b/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/members/add/add_post_request_body.py index d47b3a79d34..5bac3d6b0b2 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/members/add/add_post_request_body.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/members/add/add_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .......models.conversation_member import ConversationMember + writer.write_collection_of_object_values("values", self.values) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/members/add/add_post_response.py b/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/members/add/add_post_response.py index 2ba15416a40..3c30081ed47 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/members/add/add_post_response.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/members/add/add_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .......models.action_result_part import ActionResultPart + from .......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/members/count/count_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/members/count/count_request_builder.py index a715dc4a8c3..9c14cdef1f2 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/members/count/count_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/members/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/members/remove/remove_post_request_body.py b/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/members/remove/remove_post_request_body.py index ce66f9c3264..d3fb68b63dc 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/members/remove/remove_post_request_body.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/members/remove/remove_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .......models.conversation_member import ConversationMember + writer.write_collection_of_object_values("values", self.values) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/members/remove/remove_post_response.py b/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/members/remove/remove_post_response.py index f441faaa65d..ea8d30b211c 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/members/remove/remove_post_response.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/members/remove/remove_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .......models.action_result_part import ActionResultPart + from .......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/members/remove/remove_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/members/remove/remove_request_builder.py index d32a1642bb8..17ce76bae1b 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/members/remove/remove_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/members/remove/remove_request_builder.py @@ -32,10 +32,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def post(self,body: RemovePostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[RemovePostResponse]: """ - Invoke action remove + Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[RemovePostResponse] + Find more info here: https://learn.microsoft.com/graph/api/conversationmember-remove?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -55,7 +56,7 @@ async def post(self,body: RemovePostRequestBody, request_configuration: Optional def to_post_request_information(self,body: RemovePostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Invoke action remove + Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/messages/count/count_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/messages/count/count_request_builder.py index 8149a40fffb..82a7bcc5345 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/messages/count/count_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/messages/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/messages/delta/delta_get_response.py b/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/messages/delta/delta_get_response.py index f638a691ec9..6ba0c1fed79 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/messages/delta/delta_get_response.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/messages/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .......models.base_delta_function_response import BaseDeltaFunctionResponse + from .......models.chat_message import ChatMessage + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/messages/item/hosted_contents/count/count_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/messages/item/hosted_contents/count/count_request_builder.py index aec74ece12a..a82bed99a5e 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/messages/item/hosted_contents/count/count_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/messages/item/hosted_contents/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/messages/item/replies/count/count_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/messages/item/replies/count/count_request_builder.py index 4d53f8524be..4fe4b7fb3ba 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/messages/item/replies/count/count_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/messages/item/replies/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/messages/item/replies/delta/delta_get_response.py b/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/messages/item/replies/delta/delta_get_response.py index 19a8aeb706c..7a53690ae47 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/messages/item/replies/delta/delta_get_response.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/messages/item/replies/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .........models.base_delta_function_response import BaseDeltaFunctionResponse + from .........models.chat_message import ChatMessage + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/messages/item/replies/item/hosted_contents/count/count_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/messages/item/replies/item/hosted_contents/count/count_request_builder.py index ccb057306b1..d4bb73a0bd3 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/messages/item/replies/item/hosted_contents/count/count_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/messages/item/replies/item/hosted_contents/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/shared_with_teams/count/count_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/shared_with_teams/count/count_request_builder.py index 963ecd2bbb9..943e2f85efa 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/shared_with_teams/count/count_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/shared_with_teams/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/shared_with_teams/item/allowed_members/count/count_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/shared_with_teams/item/allowed_members/count/count_request_builder.py index 602a7f15ecb..24f096714fc 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/shared_with_teams/item/allowed_members/count/count_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/shared_with_teams/item/allowed_members/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/tabs/count/count_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/tabs/count/count_request_builder.py index 30c81198eed..93be534f353 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/tabs/count/count_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/tabs/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/day_notes/count/count_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/day_notes/count/count_request_builder.py index 74420d46af5..ade96b7baf4 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/day_notes/count/count_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/day_notes/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/offer_shift_requests/count/count_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/offer_shift_requests/count/count_request_builder.py index 679bea51c33..c54a4f0816b 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/offer_shift_requests/count/count_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/offer_shift_requests/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/open_shift_change_requests/count/count_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/open_shift_change_requests/count/count_request_builder.py index 652dd0f4a3d..30a5db0c04e 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/open_shift_change_requests/count/count_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/open_shift_change_requests/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/open_shifts/count/count_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/open_shifts/count/count_request_builder.py index 64c34961a1a..191c48c03ee 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/open_shifts/count/count_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/open_shifts/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/scheduling_groups/count/count_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/scheduling_groups/count/count_request_builder.py index 21e64da3b13..a2dc2cc4d76 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/scheduling_groups/count/count_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/scheduling_groups/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/shifts/count/count_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/shifts/count/count_request_builder.py index ffb429d332e..ea88b9db958 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/shifts/count/count_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/shifts/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/shifts_role_definitions/count/count_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/shifts_role_definitions/count/count_request_builder.py index 4a2ec5ae91e..4d19dc5749a 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/shifts_role_definitions/count/count_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/shifts_role_definitions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/swap_shifts_change_requests/count/count_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/swap_shifts_change_requests/count/count_request_builder.py index f67198198de..d0ffaaa5793 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/swap_shifts_change_requests/count/count_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/swap_shifts_change_requests/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/time_cards/clock_in/clock_in_post_request_body.py b/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/time_cards/clock_in/clock_in_post_request_body.py index f3fd663b0ea..46dda4d71b5 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/time_cards/clock_in/clock_in_post_request_body.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/time_cards/clock_in/clock_in_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .......models.item_body import ItemBody + writer.write_bool_value("atApprovedLocation", self.at_approved_location) writer.write_object_value("notes", self.notes) writer.write_str_value("onBehalfOfUserId", self.on_behalf_of_user_id) diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/time_cards/count/count_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/time_cards/count/count_request_builder.py index 52f4abeafa2..cecb2fab3f4 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/time_cards/count/count_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/time_cards/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/time_cards/item/clock_out/clock_out_post_request_body.py b/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/time_cards/item/clock_out/clock_out_post_request_body.py index abf757cd1d0..29f2558c14e 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/time_cards/item/clock_out/clock_out_post_request_body.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/time_cards/item/clock_out/clock_out_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ........models.item_body import ItemBody + writer.write_bool_value("atApprovedLocation", self.at_approved_location) writer.write_object_value("notes", self.notes) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/time_cards/item/end_break/end_break_post_request_body.py b/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/time_cards/item/end_break/end_break_post_request_body.py index 692885062c5..412d12a4eb3 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/time_cards/item/end_break/end_break_post_request_body.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/time_cards/item/end_break/end_break_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ........models.item_body import ItemBody + writer.write_bool_value("atApprovedLocation", self.at_approved_location) writer.write_object_value("notes", self.notes) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/time_cards/item/start_break/start_break_post_request_body.py b/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/time_cards/item/start_break/start_break_post_request_body.py index ed596e3a2d0..5126bd71b0c 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/time_cards/item/start_break/start_break_post_request_body.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/time_cards/item/start_break/start_break_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ........models.item_body import ItemBody + writer.write_bool_value("atApprovedLocation", self.at_approved_location) writer.write_object_value("notes", self.notes) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/time_off_reasons/count/count_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/time_off_reasons/count/count_request_builder.py index 380b129284d..14b79533613 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/time_off_reasons/count/count_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/time_off_reasons/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/time_off_requests/count/count_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/time_off_requests/count/count_request_builder.py index cc8755d57e3..922a7db1baf 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/time_off_requests/count/count_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/time_off_requests/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/times_off/count/count_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/times_off/count/count_request_builder.py index 3e44d45cabf..4420d552294 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/times_off/count/count_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/times_off/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/send_activity_notification/send_activity_notification_post_request_body.py b/msgraph_beta/generated/team_template_definition/item/team_definition/send_activity_notification/send_activity_notification_post_request_body.py index a9b8846ca54..057d6caa406 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/send_activity_notification/send_activity_notification_post_request_body.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/send_activity_notification/send_activity_notification_post_request_body.py @@ -77,6 +77,11 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.item_body import ItemBody + from .....models.key_value_pair import KeyValuePair + from .....models.teamwork_activity_topic import TeamworkActivityTopic + from .....models.teamwork_notification_recipient import TeamworkNotificationRecipient + writer.write_str_value("activityType", self.activity_type) writer.write_int_value("chainId", self.chain_id) writer.write_object_value("previewText", self.preview_text) diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/tags/count/count_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/tags/count/count_request_builder.py index e8cef113072..e3bc0179351 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/tags/count/count_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/tags/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/tags/item/members/count/count_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/tags/item/members/count/count_request_builder.py index af5c28016f4..00ab1419b58 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/tags/item/members/count/count_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/tags/item/members/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/team_definition_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/team_definition_request_builder.py index 4ca2eb46922..d89c1c2b870 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/team_definition_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/team_definition_request_builder.py @@ -26,6 +26,7 @@ from .members.members_request_builder import MembersRequestBuilder from .operations.operations_request_builder import OperationsRequestBuilder from .owners.owners_request_builder import OwnersRequestBuilder + from .owners_with_user_principal_name.owners_with_user_principal_name_request_builder import OwnersWithUserPrincipalNameRequestBuilder from .permission_grants.permission_grants_request_builder import PermissionGrantsRequestBuilder from .photo.photo_request_builder import PhotoRequestBuilder from .primary_channel.primary_channel_request_builder import PrimaryChannelRequestBuilder @@ -87,6 +88,18 @@ async def get(self,request_configuration: Optional[RequestConfiguration[TeamDefi return await self.request_adapter.send_async(request_info, Team, error_mapping) + def owners_with_user_principal_name(self,user_principal_name: str) -> OwnersWithUserPrincipalNameRequestBuilder: + """ + Provides operations to manage the owners property of the microsoft.graph.team entity. + param user_principal_name: Alternate key of user + Returns: OwnersWithUserPrincipalNameRequestBuilder + """ + if user_principal_name is None: + raise TypeError("user_principal_name cannot be null.") + from .owners_with_user_principal_name.owners_with_user_principal_name_request_builder import OwnersWithUserPrincipalNameRequestBuilder + + return OwnersWithUserPrincipalNameRequestBuilder(self.request_adapter, self.path_parameters, user_principal_name) + async def patch(self,body: Team, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[Team]: """ Update the navigation property teamDefinition in teamTemplateDefinition diff --git a/msgraph_beta/generated/teams/all_messages/all_messages_get_response.py b/msgraph_beta/generated/teams/all_messages/all_messages_get_response.py index 0ffee487a55..72d949ff48c 100644 --- a/msgraph_beta/generated/teams/all_messages/all_messages_get_response.py +++ b/msgraph_beta/generated/teams/all_messages/all_messages_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ...models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ...models.chat_message import ChatMessage + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/teams/count/count_request_builder.py b/msgraph_beta/generated/teams/count/count_request_builder.py index 4f7e6f84b0e..a1bccfc3169 100644 --- a/msgraph_beta/generated/teams/count/count_request_builder.py +++ b/msgraph_beta/generated/teams/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/teams/get_all_messages/get_all_messages_get_response.py b/msgraph_beta/generated/teams/get_all_messages/get_all_messages_get_response.py index 64e44ec19bc..0a512faa9ee 100644 --- a/msgraph_beta/generated/teams/get_all_messages/get_all_messages_get_response.py +++ b/msgraph_beta/generated/teams/get_all_messages/get_all_messages_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ...models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ...models.chat_message import ChatMessage + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/teams/get_open_shifts/get_open_shifts_get_response.py b/msgraph_beta/generated/teams/get_open_shifts/get_open_shifts_get_response.py index fd5ed6eefc6..abdb9d0ee0a 100644 --- a/msgraph_beta/generated/teams/get_open_shifts/get_open_shifts_get_response.py +++ b/msgraph_beta/generated/teams/get_open_shifts/get_open_shifts_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ...models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ...models.open_shift import OpenShift + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/teams/get_shifts/get_shifts_get_response.py b/msgraph_beta/generated/teams/get_shifts/get_shifts_get_response.py index 9285487bd11..a8b94965dca 100644 --- a/msgraph_beta/generated/teams/get_shifts/get_shifts_get_response.py +++ b/msgraph_beta/generated/teams/get_shifts/get_shifts_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ...models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ...models.shift import Shift + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/teams/get_times_off/get_times_off_get_response.py b/msgraph_beta/generated/teams/get_times_off/get_times_off_get_response.py index 98e1be8cc63..7ca8b16b26a 100644 --- a/msgraph_beta/generated/teams/get_times_off/get_times_off_get_response.py +++ b/msgraph_beta/generated/teams/get_times_off/get_times_off_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ...models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ...models.time_off import TimeOff + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/teams/item/all_channels/count/count_request_builder.py b/msgraph_beta/generated/teams/item/all_channels/count/count_request_builder.py index f425de27d0e..29d9c51e2fd 100644 --- a/msgraph_beta/generated/teams/item/all_channels/count/count_request_builder.py +++ b/msgraph_beta/generated/teams/item/all_channels/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/teams/item/channels/all_messages/all_messages_get_response.py b/msgraph_beta/generated/teams/item/channels/all_messages/all_messages_get_response.py index 8700432ca04..edc578be01f 100644 --- a/msgraph_beta/generated/teams/item/channels/all_messages/all_messages_get_response.py +++ b/msgraph_beta/generated/teams/item/channels/all_messages/all_messages_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .....models.chat_message import ChatMessage + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/teams/item/channels/count/count_request_builder.py b/msgraph_beta/generated/teams/item/channels/count/count_request_builder.py index 06bc41541bf..bf05256af1e 100644 --- a/msgraph_beta/generated/teams/item/channels/count/count_request_builder.py +++ b/msgraph_beta/generated/teams/item/channels/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/teams/item/channels/get_all_messages/get_all_messages_get_response.py b/msgraph_beta/generated/teams/item/channels/get_all_messages/get_all_messages_get_response.py index 3b558bc0af7..6c196fa4fd9 100644 --- a/msgraph_beta/generated/teams/item/channels/get_all_messages/get_all_messages_get_response.py +++ b/msgraph_beta/generated/teams/item/channels/get_all_messages/get_all_messages_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .....models.chat_message import ChatMessage + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/teams/item/channels/get_all_retained_messages/get_all_retained_messages_get_response.py b/msgraph_beta/generated/teams/item/channels/get_all_retained_messages/get_all_retained_messages_get_response.py index 0959677d400..3c23cc49539 100644 --- a/msgraph_beta/generated/teams/item/channels/get_all_retained_messages/get_all_retained_messages_get_response.py +++ b/msgraph_beta/generated/teams/item/channels/get_all_retained_messages/get_all_retained_messages_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .....models.chat_message import ChatMessage + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/teams/item/channels/item/members/add/add_post_request_body.py b/msgraph_beta/generated/teams/item/channels/item/members/add/add_post_request_body.py index d47b3a79d34..5bac3d6b0b2 100644 --- a/msgraph_beta/generated/teams/item/channels/item/members/add/add_post_request_body.py +++ b/msgraph_beta/generated/teams/item/channels/item/members/add/add_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .......models.conversation_member import ConversationMember + writer.write_collection_of_object_values("values", self.values) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/teams/item/channels/item/members/add/add_post_response.py b/msgraph_beta/generated/teams/item/channels/item/members/add/add_post_response.py index 2ba15416a40..3c30081ed47 100644 --- a/msgraph_beta/generated/teams/item/channels/item/members/add/add_post_response.py +++ b/msgraph_beta/generated/teams/item/channels/item/members/add/add_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .......models.action_result_part import ActionResultPart + from .......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/teams/item/channels/item/members/count/count_request_builder.py b/msgraph_beta/generated/teams/item/channels/item/members/count/count_request_builder.py index 1d090440427..c3f1b9d38c4 100644 --- a/msgraph_beta/generated/teams/item/channels/item/members/count/count_request_builder.py +++ b/msgraph_beta/generated/teams/item/channels/item/members/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/teams/item/channels/item/members/item/conversation_member_item_request_builder.py b/msgraph_beta/generated/teams/item/channels/item/members/item/conversation_member_item_request_builder.py index 45134931254..f45679acf2a 100644 --- a/msgraph_beta/generated/teams/item/channels/item/members/item/conversation_member_item_request_builder.py +++ b/msgraph_beta/generated/teams/item/channels/item/members/item/conversation_member_item_request_builder.py @@ -71,11 +71,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Conversa async def patch(self,body: ConversationMember, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ConversationMember]: """ - Update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. + Update the role of a conversationMember in a team.or 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-update-members?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/conversationmember-update?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -117,7 +117,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_patch_request_information(self,body: ConversationMember, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. + Update the role of a conversationMember in a team.or channel. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/teams/item/channels/item/members/remove/remove_post_request_body.py b/msgraph_beta/generated/teams/item/channels/item/members/remove/remove_post_request_body.py index ce66f9c3264..d3fb68b63dc 100644 --- a/msgraph_beta/generated/teams/item/channels/item/members/remove/remove_post_request_body.py +++ b/msgraph_beta/generated/teams/item/channels/item/members/remove/remove_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .......models.conversation_member import ConversationMember + writer.write_collection_of_object_values("values", self.values) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/teams/item/channels/item/members/remove/remove_post_response.py b/msgraph_beta/generated/teams/item/channels/item/members/remove/remove_post_response.py index f441faaa65d..ea8d30b211c 100644 --- a/msgraph_beta/generated/teams/item/channels/item/members/remove/remove_post_response.py +++ b/msgraph_beta/generated/teams/item/channels/item/members/remove/remove_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .......models.action_result_part import ActionResultPart + from .......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/teams/item/channels/item/members/remove/remove_request_builder.py b/msgraph_beta/generated/teams/item/channels/item/members/remove/remove_request_builder.py index ddf129fdcf6..4b101769e96 100644 --- a/msgraph_beta/generated/teams/item/channels/item/members/remove/remove_request_builder.py +++ b/msgraph_beta/generated/teams/item/channels/item/members/remove/remove_request_builder.py @@ -32,10 +32,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def post(self,body: RemovePostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[RemovePostResponse]: """ - Invoke action remove + Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[RemovePostResponse] + Find more info here: https://learn.microsoft.com/graph/api/conversationmember-remove?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -55,7 +56,7 @@ async def post(self,body: RemovePostRequestBody, request_configuration: Optional def to_post_request_information(self,body: RemovePostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Invoke action remove + Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/teams/item/channels/item/messages/count/count_request_builder.py b/msgraph_beta/generated/teams/item/channels/item/messages/count/count_request_builder.py index a922f03ade2..9bea70a7134 100644 --- a/msgraph_beta/generated/teams/item/channels/item/messages/count/count_request_builder.py +++ b/msgraph_beta/generated/teams/item/channels/item/messages/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/teams/item/channels/item/messages/delta/delta_get_response.py b/msgraph_beta/generated/teams/item/channels/item/messages/delta/delta_get_response.py index f638a691ec9..6ba0c1fed79 100644 --- a/msgraph_beta/generated/teams/item/channels/item/messages/delta/delta_get_response.py +++ b/msgraph_beta/generated/teams/item/channels/item/messages/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .......models.base_delta_function_response import BaseDeltaFunctionResponse + from .......models.chat_message import ChatMessage + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/teams/item/channels/item/messages/item/hosted_contents/count/count_request_builder.py b/msgraph_beta/generated/teams/item/channels/item/messages/item/hosted_contents/count/count_request_builder.py index b30ff922086..f924ce481bf 100644 --- a/msgraph_beta/generated/teams/item/channels/item/messages/item/hosted_contents/count/count_request_builder.py +++ b/msgraph_beta/generated/teams/item/channels/item/messages/item/hosted_contents/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/teams/item/channels/item/messages/item/replies/count/count_request_builder.py b/msgraph_beta/generated/teams/item/channels/item/messages/item/replies/count/count_request_builder.py index 26b5a7da9ad..8ecd86b54b0 100644 --- a/msgraph_beta/generated/teams/item/channels/item/messages/item/replies/count/count_request_builder.py +++ b/msgraph_beta/generated/teams/item/channels/item/messages/item/replies/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/teams/item/channels/item/messages/item/replies/delta/delta_get_response.py b/msgraph_beta/generated/teams/item/channels/item/messages/item/replies/delta/delta_get_response.py index 19a8aeb706c..7a53690ae47 100644 --- a/msgraph_beta/generated/teams/item/channels/item/messages/item/replies/delta/delta_get_response.py +++ b/msgraph_beta/generated/teams/item/channels/item/messages/item/replies/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .........models.base_delta_function_response import BaseDeltaFunctionResponse + from .........models.chat_message import ChatMessage + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/teams/item/channels/item/messages/item/replies/item/hosted_contents/count/count_request_builder.py b/msgraph_beta/generated/teams/item/channels/item/messages/item/replies/item/hosted_contents/count/count_request_builder.py index e42bd23147d..4bc206d9d71 100644 --- a/msgraph_beta/generated/teams/item/channels/item/messages/item/replies/item/hosted_contents/count/count_request_builder.py +++ b/msgraph_beta/generated/teams/item/channels/item/messages/item/replies/item/hosted_contents/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/teams/item/channels/item/messages/messages_request_builder.py b/msgraph_beta/generated/teams/item/channels/item/messages/messages_request_builder.py index c4358f72b8b..2efe674e56c 100644 --- a/msgraph_beta/generated/teams/item/channels/item/messages/messages_request_builder.py +++ b/msgraph_beta/generated/teams/item/channels/item/messages/messages_request_builder.py @@ -70,11 +70,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Messages async def post(self,body: ChatMessage, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ChatMessage]: """ - Send a new chatMessage in the specified channel or a chat. + Send a new chatMessage in the specified channel. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessage] - Find more info here: https://learn.microsoft.com/graph/api/chatmessage-post?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/channel-post-messages?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -105,7 +105,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: ChatMessage, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Send a new chatMessage in the specified channel or a chat. + Send a new chatMessage in the specified channel. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/teams/item/channels/item/shared_with_teams/count/count_request_builder.py b/msgraph_beta/generated/teams/item/channels/item/shared_with_teams/count/count_request_builder.py index e2779894d17..86680541759 100644 --- a/msgraph_beta/generated/teams/item/channels/item/shared_with_teams/count/count_request_builder.py +++ b/msgraph_beta/generated/teams/item/channels/item/shared_with_teams/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/teams/item/channels/item/shared_with_teams/item/allowed_members/count/count_request_builder.py b/msgraph_beta/generated/teams/item/channels/item/shared_with_teams/item/allowed_members/count/count_request_builder.py index c2b6a92141c..5e74c9eb30d 100644 --- a/msgraph_beta/generated/teams/item/channels/item/shared_with_teams/item/allowed_members/count/count_request_builder.py +++ b/msgraph_beta/generated/teams/item/channels/item/shared_with_teams/item/allowed_members/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/teams/item/channels/item/tabs/count/count_request_builder.py b/msgraph_beta/generated/teams/item/channels/item/tabs/count/count_request_builder.py index 22efc05ec44..42267693bc5 100644 --- a/msgraph_beta/generated/teams/item/channels/item/tabs/count/count_request_builder.py +++ b/msgraph_beta/generated/teams/item/channels/item/tabs/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/teams/item/clone/clone_post_request_body.py b/msgraph_beta/generated/teams/item/clone/clone_post_request_body.py index 805cb483d6f..09222727e39 100644 --- a/msgraph_beta/generated/teams/item/clone/clone_post_request_body.py +++ b/msgraph_beta/generated/teams/item/clone/clone_post_request_body.py @@ -68,6 +68,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ....models.clonable_team_parts import ClonableTeamParts + from ....models.team_visibility_type import TeamVisibilityType + writer.write_str_value("classification", self.classification) writer.write_str_value("description", self.description) writer.write_str_value("displayName", self.display_name) diff --git a/msgraph_beta/generated/teams/item/group/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/teams/item/group/service_provisioning_errors/count/count_request_builder.py index b755187f214..25400ff33ad 100644 --- a/msgraph_beta/generated/teams/item/group/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/teams/item/group/service_provisioning_errors/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/teams/item/incoming_channels/count/count_request_builder.py b/msgraph_beta/generated/teams/item/incoming_channels/count/count_request_builder.py index 18ef20e6b83..296740da575 100644 --- a/msgraph_beta/generated/teams/item/incoming_channels/count/count_request_builder.py +++ b/msgraph_beta/generated/teams/item/incoming_channels/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/teams/item/installed_apps/count/count_request_builder.py b/msgraph_beta/generated/teams/item/installed_apps/count/count_request_builder.py index 9cf190b9d53..812943ef951 100644 --- a/msgraph_beta/generated/teams/item/installed_apps/count/count_request_builder.py +++ b/msgraph_beta/generated/teams/item/installed_apps/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/teams/item/installed_apps/item/upgrade/upgrade_post_request_body.py b/msgraph_beta/generated/teams/item/installed_apps/item/upgrade/upgrade_post_request_body.py index 064069f6270..f27e8432230 100644 --- a/msgraph_beta/generated/teams/item/installed_apps/item/upgrade/upgrade_post_request_body.py +++ b/msgraph_beta/generated/teams/item/installed_apps/item/upgrade/upgrade_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ......models.teams_app_permission_set import TeamsAppPermissionSet + writer.write_object_value("consentedPermissionSet", self.consented_permission_set) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/teams/item/members/add/add_post_request_body.py b/msgraph_beta/generated/teams/item/members/add/add_post_request_body.py index 5ba4f65c762..08583a9ba36 100644 --- a/msgraph_beta/generated/teams/item/members/add/add_post_request_body.py +++ b/msgraph_beta/generated/teams/item/members/add/add_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.conversation_member import ConversationMember + writer.write_collection_of_object_values("values", self.values) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/teams/item/members/add/add_post_response.py b/msgraph_beta/generated/teams/item/members/add/add_post_response.py index d76a61ab920..8bde4d24a21 100644 --- a/msgraph_beta/generated/teams/item/members/add/add_post_response.py +++ b/msgraph_beta/generated/teams/item/members/add/add_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .....models.action_result_part import ActionResultPart + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/teams/item/members/count/count_request_builder.py b/msgraph_beta/generated/teams/item/members/count/count_request_builder.py index a96d5b7d279..f3f9316528f 100644 --- a/msgraph_beta/generated/teams/item/members/count/count_request_builder.py +++ b/msgraph_beta/generated/teams/item/members/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/teams/item/members/remove/remove_post_request_body.py b/msgraph_beta/generated/teams/item/members/remove/remove_post_request_body.py index dd85fb79837..9d0ab93af88 100644 --- a/msgraph_beta/generated/teams/item/members/remove/remove_post_request_body.py +++ b/msgraph_beta/generated/teams/item/members/remove/remove_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.conversation_member import ConversationMember + writer.write_collection_of_object_values("values", self.values) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/teams/item/members/remove/remove_post_response.py b/msgraph_beta/generated/teams/item/members/remove/remove_post_response.py index f200ea17ed7..e3e3550c88a 100644 --- a/msgraph_beta/generated/teams/item/members/remove/remove_post_response.py +++ b/msgraph_beta/generated/teams/item/members/remove/remove_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .....models.action_result_part import ActionResultPart + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/teams/item/members/remove/remove_request_builder.py b/msgraph_beta/generated/teams/item/members/remove/remove_request_builder.py index 5335a69cd32..66e44946d9c 100644 --- a/msgraph_beta/generated/teams/item/members/remove/remove_request_builder.py +++ b/msgraph_beta/generated/teams/item/members/remove/remove_request_builder.py @@ -32,10 +32,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def post(self,body: RemovePostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[RemovePostResponse]: """ - Invoke action remove + Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[RemovePostResponse] + Find more info here: https://learn.microsoft.com/graph/api/conversationmember-remove?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -55,7 +56,7 @@ async def post(self,body: RemovePostRequestBody, request_configuration: Optional def to_post_request_information(self,body: RemovePostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Invoke action remove + Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/teams/item/operations/count/count_request_builder.py b/msgraph_beta/generated/teams/item/operations/count/count_request_builder.py index b925f06567f..77687619e5d 100644 --- a/msgraph_beta/generated/teams/item/operations/count/count_request_builder.py +++ b/msgraph_beta/generated/teams/item/operations/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/teams/item/owners/count/count_request_builder.py b/msgraph_beta/generated/teams/item/owners/count/count_request_builder.py index 5b6d65da53b..1da83ee6750 100644 --- a/msgraph_beta/generated/teams/item/owners/count/count_request_builder.py +++ b/msgraph_beta/generated/teams/item/owners/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/teams/item/owners/item/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/teams/item/owners/item/service_provisioning_errors/count/count_request_builder.py index 244559a1002..c3b91a3106d 100644 --- a/msgraph_beta/generated/teams/item/owners/item/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/teams/item/owners/item/service_provisioning_errors/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/teams/item/owners_with_user_principal_name/owners_with_user_principal_name_request_builder.py b/msgraph_beta/generated/teams/item/owners_with_user_principal_name/owners_with_user_principal_name_request_builder.py new file mode 100644 index 00000000000..b32a6d82f51 --- /dev/null +++ b/msgraph_beta/generated/teams/item/owners_with_user_principal_name/owners_with_user_principal_name_request_builder.py @@ -0,0 +1,109 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from ....models.o_data_errors.o_data_error import ODataError + from ....models.user import User + +class OwnersWithUserPrincipalNameRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the owners property of the microsoft.graph.team entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]], user_principal_name: Optional[str] = None) -> None: + """ + Instantiates a new OwnersWithUserPrincipalNameRequestBuilder 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 user_principal_name: Alternate key of user + Returns: None + """ + if isinstance(path_parameters, dict): + path_parameters['userPrincipalName'] = user_principal_name + super().__init__(request_adapter, "{+baseurl}/teams/{team%2Did}/owners(userPrincipalName='{userPrincipalName}'){?%24expand,%24select}", path_parameters) + + async def get(self,request_configuration: Optional[RequestConfiguration[OwnersWithUserPrincipalNameRequestBuilderGetQueryParameters]] = None) -> Optional[User]: + """ + The list of this team's owners. Currently, when creating a team using application permissions, exactly one owner must be specified. When using user-delegated permissions, no owner can be specified (the current user is the owner). The owner must be specified as an object ID (GUID), not a UPN. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[User] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ....models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ....models.user import User + + return await self.request_adapter.send_async(request_info, User, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[OwnersWithUserPrincipalNameRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + The list of this team's owners. Currently, when creating a team using application permissions, exactly one owner must be specified. When using user-delegated permissions, no owner can be specified (the current user is the owner). The owner must be specified as an object ID (GUID), not a UPN. + 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) -> OwnersWithUserPrincipalNameRequestBuilder: + """ + 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: OwnersWithUserPrincipalNameRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return OwnersWithUserPrincipalNameRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class OwnersWithUserPrincipalNameRequestBuilderGetQueryParameters(): + """ + The list of this team's owners. Currently, when creating a team using application permissions, exactly one owner must be specified. When using user-delegated permissions, no owner can be specified (the current user is the owner). The owner must be specified as an object ID (GUID), not a UPN. + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "expand": + return "%24expand" + if original_name == "select": + return "%24select" + return original_name + + # Expand related entities + expand: Optional[List[str]] = None + + # Select properties to be returned + select: Optional[List[str]] = None + + + @dataclass + class OwnersWithUserPrincipalNameRequestBuilderGetRequestConfiguration(RequestConfiguration[OwnersWithUserPrincipalNameRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/teams/item/permission_grants/count/count_request_builder.py b/msgraph_beta/generated/teams/item/permission_grants/count/count_request_builder.py index c01336d1394..f16b8356347 100644 --- a/msgraph_beta/generated/teams/item/permission_grants/count/count_request_builder.py +++ b/msgraph_beta/generated/teams/item/permission_grants/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/teams/item/primary_channel/members/add/add_post_request_body.py b/msgraph_beta/generated/teams/item/primary_channel/members/add/add_post_request_body.py index 032237a2269..c8befc22279 100644 --- a/msgraph_beta/generated/teams/item/primary_channel/members/add/add_post_request_body.py +++ b/msgraph_beta/generated/teams/item/primary_channel/members/add/add_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ......models.conversation_member import ConversationMember + writer.write_collection_of_object_values("values", self.values) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/teams/item/primary_channel/members/add/add_post_response.py b/msgraph_beta/generated/teams/item/primary_channel/members/add/add_post_response.py index 13e1287093e..8d9ff833dae 100644 --- a/msgraph_beta/generated/teams/item/primary_channel/members/add/add_post_response.py +++ b/msgraph_beta/generated/teams/item/primary_channel/members/add/add_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ......models.action_result_part import ActionResultPart + from ......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/teams/item/primary_channel/members/count/count_request_builder.py b/msgraph_beta/generated/teams/item/primary_channel/members/count/count_request_builder.py index b2024c4f378..d1c412fd259 100644 --- a/msgraph_beta/generated/teams/item/primary_channel/members/count/count_request_builder.py +++ b/msgraph_beta/generated/teams/item/primary_channel/members/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/teams/item/primary_channel/members/remove/remove_post_request_body.py b/msgraph_beta/generated/teams/item/primary_channel/members/remove/remove_post_request_body.py index 4d3d5f54c90..f323b0d9e70 100644 --- a/msgraph_beta/generated/teams/item/primary_channel/members/remove/remove_post_request_body.py +++ b/msgraph_beta/generated/teams/item/primary_channel/members/remove/remove_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ......models.conversation_member import ConversationMember + writer.write_collection_of_object_values("values", self.values) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/teams/item/primary_channel/members/remove/remove_post_response.py b/msgraph_beta/generated/teams/item/primary_channel/members/remove/remove_post_response.py index d2fb0b283dc..1d070f42a99 100644 --- a/msgraph_beta/generated/teams/item/primary_channel/members/remove/remove_post_response.py +++ b/msgraph_beta/generated/teams/item/primary_channel/members/remove/remove_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ......models.action_result_part import ActionResultPart + from ......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/teams/item/primary_channel/members/remove/remove_request_builder.py b/msgraph_beta/generated/teams/item/primary_channel/members/remove/remove_request_builder.py index 410bfe084cf..fe1fd211533 100644 --- a/msgraph_beta/generated/teams/item/primary_channel/members/remove/remove_request_builder.py +++ b/msgraph_beta/generated/teams/item/primary_channel/members/remove/remove_request_builder.py @@ -32,10 +32,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def post(self,body: RemovePostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[RemovePostResponse]: """ - Invoke action remove + Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[RemovePostResponse] + Find more info here: https://learn.microsoft.com/graph/api/conversationmember-remove?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -55,7 +56,7 @@ async def post(self,body: RemovePostRequestBody, request_configuration: Optional def to_post_request_information(self,body: RemovePostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Invoke action remove + Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/teams/item/primary_channel/messages/count/count_request_builder.py b/msgraph_beta/generated/teams/item/primary_channel/messages/count/count_request_builder.py index b7089822097..db9f19c4fa0 100644 --- a/msgraph_beta/generated/teams/item/primary_channel/messages/count/count_request_builder.py +++ b/msgraph_beta/generated/teams/item/primary_channel/messages/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/teams/item/primary_channel/messages/delta/delta_get_response.py b/msgraph_beta/generated/teams/item/primary_channel/messages/delta/delta_get_response.py index a5f82204bdf..57e9f146121 100644 --- a/msgraph_beta/generated/teams/item/primary_channel/messages/delta/delta_get_response.py +++ b/msgraph_beta/generated/teams/item/primary_channel/messages/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ......models.base_delta_function_response import BaseDeltaFunctionResponse + from ......models.chat_message import ChatMessage + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/teams/item/primary_channel/messages/item/hosted_contents/count/count_request_builder.py b/msgraph_beta/generated/teams/item/primary_channel/messages/item/hosted_contents/count/count_request_builder.py index 76477a0b145..8bc186c61cc 100644 --- a/msgraph_beta/generated/teams/item/primary_channel/messages/item/hosted_contents/count/count_request_builder.py +++ b/msgraph_beta/generated/teams/item/primary_channel/messages/item/hosted_contents/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/teams/item/primary_channel/messages/item/replies/count/count_request_builder.py b/msgraph_beta/generated/teams/item/primary_channel/messages/item/replies/count/count_request_builder.py index a2efc7f4a28..7bc2c887631 100644 --- a/msgraph_beta/generated/teams/item/primary_channel/messages/item/replies/count/count_request_builder.py +++ b/msgraph_beta/generated/teams/item/primary_channel/messages/item/replies/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/teams/item/primary_channel/messages/item/replies/delta/delta_get_response.py b/msgraph_beta/generated/teams/item/primary_channel/messages/item/replies/delta/delta_get_response.py index cfcdda82a06..146b11a5c2b 100644 --- a/msgraph_beta/generated/teams/item/primary_channel/messages/item/replies/delta/delta_get_response.py +++ b/msgraph_beta/generated/teams/item/primary_channel/messages/item/replies/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ........models.base_delta_function_response import BaseDeltaFunctionResponse + from ........models.chat_message import ChatMessage + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/teams/item/primary_channel/messages/item/replies/item/hosted_contents/count/count_request_builder.py b/msgraph_beta/generated/teams/item/primary_channel/messages/item/replies/item/hosted_contents/count/count_request_builder.py index b9a2f3108b6..c0bcb73909d 100644 --- a/msgraph_beta/generated/teams/item/primary_channel/messages/item/replies/item/hosted_contents/count/count_request_builder.py +++ b/msgraph_beta/generated/teams/item/primary_channel/messages/item/replies/item/hosted_contents/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/teams/item/primary_channel/shared_with_teams/count/count_request_builder.py b/msgraph_beta/generated/teams/item/primary_channel/shared_with_teams/count/count_request_builder.py index e181aa5337a..a9f2a2dab88 100644 --- a/msgraph_beta/generated/teams/item/primary_channel/shared_with_teams/count/count_request_builder.py +++ b/msgraph_beta/generated/teams/item/primary_channel/shared_with_teams/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/teams/item/primary_channel/shared_with_teams/item/allowed_members/count/count_request_builder.py b/msgraph_beta/generated/teams/item/primary_channel/shared_with_teams/item/allowed_members/count/count_request_builder.py index 2201ff95114..74a928f3adc 100644 --- a/msgraph_beta/generated/teams/item/primary_channel/shared_with_teams/item/allowed_members/count/count_request_builder.py +++ b/msgraph_beta/generated/teams/item/primary_channel/shared_with_teams/item/allowed_members/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/teams/item/primary_channel/tabs/count/count_request_builder.py b/msgraph_beta/generated/teams/item/primary_channel/tabs/count/count_request_builder.py index 67d95153156..8f3d53a71cf 100644 --- a/msgraph_beta/generated/teams/item/primary_channel/tabs/count/count_request_builder.py +++ b/msgraph_beta/generated/teams/item/primary_channel/tabs/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/teams/item/schedule/day_notes/count/count_request_builder.py b/msgraph_beta/generated/teams/item/schedule/day_notes/count/count_request_builder.py index ab06ccc68ec..5e203dd0eca 100644 --- a/msgraph_beta/generated/teams/item/schedule/day_notes/count/count_request_builder.py +++ b/msgraph_beta/generated/teams/item/schedule/day_notes/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/teams/item/schedule/offer_shift_requests/count/count_request_builder.py b/msgraph_beta/generated/teams/item/schedule/offer_shift_requests/count/count_request_builder.py index ed83f8f701b..76edf4747d5 100644 --- a/msgraph_beta/generated/teams/item/schedule/offer_shift_requests/count/count_request_builder.py +++ b/msgraph_beta/generated/teams/item/schedule/offer_shift_requests/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/teams/item/schedule/open_shift_change_requests/count/count_request_builder.py b/msgraph_beta/generated/teams/item/schedule/open_shift_change_requests/count/count_request_builder.py index ca3d874b4f7..58cdfc23762 100644 --- a/msgraph_beta/generated/teams/item/schedule/open_shift_change_requests/count/count_request_builder.py +++ b/msgraph_beta/generated/teams/item/schedule/open_shift_change_requests/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/teams/item/schedule/open_shifts/count/count_request_builder.py b/msgraph_beta/generated/teams/item/schedule/open_shifts/count/count_request_builder.py index 263349159b4..15818cdcb41 100644 --- a/msgraph_beta/generated/teams/item/schedule/open_shifts/count/count_request_builder.py +++ b/msgraph_beta/generated/teams/item/schedule/open_shifts/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/teams/item/schedule/scheduling_groups/count/count_request_builder.py b/msgraph_beta/generated/teams/item/schedule/scheduling_groups/count/count_request_builder.py index 9e6f4e6b9a2..93f703e05c7 100644 --- a/msgraph_beta/generated/teams/item/schedule/scheduling_groups/count/count_request_builder.py +++ b/msgraph_beta/generated/teams/item/schedule/scheduling_groups/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/teams/item/schedule/shifts/count/count_request_builder.py b/msgraph_beta/generated/teams/item/schedule/shifts/count/count_request_builder.py index 1335ad74cb0..1b69cbbcb3d 100644 --- a/msgraph_beta/generated/teams/item/schedule/shifts/count/count_request_builder.py +++ b/msgraph_beta/generated/teams/item/schedule/shifts/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/teams/item/schedule/shifts_role_definitions/count/count_request_builder.py b/msgraph_beta/generated/teams/item/schedule/shifts_role_definitions/count/count_request_builder.py index f77e4c68fbc..d980d7a8483 100644 --- a/msgraph_beta/generated/teams/item/schedule/shifts_role_definitions/count/count_request_builder.py +++ b/msgraph_beta/generated/teams/item/schedule/shifts_role_definitions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/teams/item/schedule/swap_shifts_change_requests/count/count_request_builder.py b/msgraph_beta/generated/teams/item/schedule/swap_shifts_change_requests/count/count_request_builder.py index 5d62c4f90b5..0c02f6ebdca 100644 --- a/msgraph_beta/generated/teams/item/schedule/swap_shifts_change_requests/count/count_request_builder.py +++ b/msgraph_beta/generated/teams/item/schedule/swap_shifts_change_requests/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/teams/item/schedule/time_cards/clock_in/clock_in_post_request_body.py b/msgraph_beta/generated/teams/item/schedule/time_cards/clock_in/clock_in_post_request_body.py index 60f8d440eba..f28a04b6a7c 100644 --- a/msgraph_beta/generated/teams/item/schedule/time_cards/clock_in/clock_in_post_request_body.py +++ b/msgraph_beta/generated/teams/item/schedule/time_cards/clock_in/clock_in_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ......models.item_body import ItemBody + writer.write_bool_value("atApprovedLocation", self.at_approved_location) writer.write_object_value("notes", self.notes) writer.write_str_value("onBehalfOfUserId", self.on_behalf_of_user_id) diff --git a/msgraph_beta/generated/teams/item/schedule/time_cards/count/count_request_builder.py b/msgraph_beta/generated/teams/item/schedule/time_cards/count/count_request_builder.py index 7ea22d69649..7f4878c72e1 100644 --- a/msgraph_beta/generated/teams/item/schedule/time_cards/count/count_request_builder.py +++ b/msgraph_beta/generated/teams/item/schedule/time_cards/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/teams/item/schedule/time_cards/item/clock_out/clock_out_post_request_body.py b/msgraph_beta/generated/teams/item/schedule/time_cards/item/clock_out/clock_out_post_request_body.py index df9dda8d0b2..fb509939855 100644 --- a/msgraph_beta/generated/teams/item/schedule/time_cards/item/clock_out/clock_out_post_request_body.py +++ b/msgraph_beta/generated/teams/item/schedule/time_cards/item/clock_out/clock_out_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .......models.item_body import ItemBody + writer.write_bool_value("atApprovedLocation", self.at_approved_location) writer.write_object_value("notes", self.notes) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/teams/item/schedule/time_cards/item/end_break/end_break_post_request_body.py b/msgraph_beta/generated/teams/item/schedule/time_cards/item/end_break/end_break_post_request_body.py index 4c6aa34d3db..793192750d4 100644 --- a/msgraph_beta/generated/teams/item/schedule/time_cards/item/end_break/end_break_post_request_body.py +++ b/msgraph_beta/generated/teams/item/schedule/time_cards/item/end_break/end_break_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .......models.item_body import ItemBody + writer.write_bool_value("atApprovedLocation", self.at_approved_location) writer.write_object_value("notes", self.notes) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/teams/item/schedule/time_cards/item/start_break/start_break_post_request_body.py b/msgraph_beta/generated/teams/item/schedule/time_cards/item/start_break/start_break_post_request_body.py index 715adcb0566..5f4358b56cd 100644 --- a/msgraph_beta/generated/teams/item/schedule/time_cards/item/start_break/start_break_post_request_body.py +++ b/msgraph_beta/generated/teams/item/schedule/time_cards/item/start_break/start_break_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .......models.item_body import ItemBody + writer.write_bool_value("atApprovedLocation", self.at_approved_location) writer.write_object_value("notes", self.notes) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/teams/item/schedule/time_off_reasons/count/count_request_builder.py b/msgraph_beta/generated/teams/item/schedule/time_off_reasons/count/count_request_builder.py index 344ab78fc66..0354cb6d596 100644 --- a/msgraph_beta/generated/teams/item/schedule/time_off_reasons/count/count_request_builder.py +++ b/msgraph_beta/generated/teams/item/schedule/time_off_reasons/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/teams/item/schedule/time_off_requests/count/count_request_builder.py b/msgraph_beta/generated/teams/item/schedule/time_off_requests/count/count_request_builder.py index 0b239431f43..395b24ed3a0 100644 --- a/msgraph_beta/generated/teams/item/schedule/time_off_requests/count/count_request_builder.py +++ b/msgraph_beta/generated/teams/item/schedule/time_off_requests/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/teams/item/schedule/times_off/count/count_request_builder.py b/msgraph_beta/generated/teams/item/schedule/times_off/count/count_request_builder.py index bdda57ad67b..5960242f3c9 100644 --- a/msgraph_beta/generated/teams/item/schedule/times_off/count/count_request_builder.py +++ b/msgraph_beta/generated/teams/item/schedule/times_off/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/teams/item/send_activity_notification/send_activity_notification_post_request_body.py b/msgraph_beta/generated/teams/item/send_activity_notification/send_activity_notification_post_request_body.py index e6aa19841b1..18d45faa1ab 100644 --- a/msgraph_beta/generated/teams/item/send_activity_notification/send_activity_notification_post_request_body.py +++ b/msgraph_beta/generated/teams/item/send_activity_notification/send_activity_notification_post_request_body.py @@ -77,6 +77,11 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ....models.item_body import ItemBody + from ....models.key_value_pair import KeyValuePair + from ....models.teamwork_activity_topic import TeamworkActivityTopic + from ....models.teamwork_notification_recipient import TeamworkNotificationRecipient + writer.write_str_value("activityType", self.activity_type) writer.write_int_value("chainId", self.chain_id) writer.write_object_value("previewText", self.preview_text) diff --git a/msgraph_beta/generated/teams/item/tags/count/count_request_builder.py b/msgraph_beta/generated/teams/item/tags/count/count_request_builder.py index eb03732c28f..be8f654a571 100644 --- a/msgraph_beta/generated/teams/item/tags/count/count_request_builder.py +++ b/msgraph_beta/generated/teams/item/tags/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/teams/item/tags/item/members/count/count_request_builder.py b/msgraph_beta/generated/teams/item/tags/item/members/count/count_request_builder.py index ccf0ab58ebb..bc5f80a0be8 100644 --- a/msgraph_beta/generated/teams/item/tags/item/members/count/count_request_builder.py +++ b/msgraph_beta/generated/teams/item/tags/item/members/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/teams/item/team_item_request_builder.py b/msgraph_beta/generated/teams/item/team_item_request_builder.py index 05d948cba50..e37ce3dda9b 100644 --- a/msgraph_beta/generated/teams/item/team_item_request_builder.py +++ b/msgraph_beta/generated/teams/item/team_item_request_builder.py @@ -26,6 +26,7 @@ from .members.members_request_builder import MembersRequestBuilder from .operations.operations_request_builder import OperationsRequestBuilder from .owners.owners_request_builder import OwnersRequestBuilder + from .owners_with_user_principal_name.owners_with_user_principal_name_request_builder import OwnersWithUserPrincipalNameRequestBuilder from .permission_grants.permission_grants_request_builder import PermissionGrantsRequestBuilder from .photo.photo_request_builder import PhotoRequestBuilder from .primary_channel.primary_channel_request_builder import PrimaryChannelRequestBuilder @@ -88,6 +89,18 @@ async def get(self,request_configuration: Optional[RequestConfiguration[TeamItem return await self.request_adapter.send_async(request_info, Team, error_mapping) + def owners_with_user_principal_name(self,user_principal_name: str) -> OwnersWithUserPrincipalNameRequestBuilder: + """ + Provides operations to manage the owners property of the microsoft.graph.team entity. + param user_principal_name: Alternate key of user + Returns: OwnersWithUserPrincipalNameRequestBuilder + """ + if user_principal_name is None: + raise TypeError("user_principal_name cannot be null.") + from .owners_with_user_principal_name.owners_with_user_principal_name_request_builder import OwnersWithUserPrincipalNameRequestBuilder + + return OwnersWithUserPrincipalNameRequestBuilder(self.request_adapter, self.path_parameters, user_principal_name) + async def patch(self,body: Team, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[Team]: """ Update the properties of the specified team. diff --git a/msgraph_beta/generated/teams_templates/count/count_request_builder.py b/msgraph_beta/generated/teams_templates/count/count_request_builder.py index 7c2482dbfc2..2aac3f700e4 100644 --- a/msgraph_beta/generated/teams_templates/count/count_request_builder.py +++ b/msgraph_beta/generated/teams_templates/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/teamwork/deleted_chats/count/count_request_builder.py b/msgraph_beta/generated/teamwork/deleted_chats/count/count_request_builder.py index 29c211f0d11..46781ec5dd7 100644 --- a/msgraph_beta/generated/teamwork/deleted_chats/count/count_request_builder.py +++ b/msgraph_beta/generated/teamwork/deleted_chats/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/teamwork/deleted_teams/count/count_request_builder.py b/msgraph_beta/generated/teamwork/deleted_teams/count/count_request_builder.py index de7663dc8cd..494c6095cca 100644 --- a/msgraph_beta/generated/teamwork/deleted_teams/count/count_request_builder.py +++ b/msgraph_beta/generated/teamwork/deleted_teams/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/teamwork/deleted_teams/get_all_messages/get_all_messages_get_response.py b/msgraph_beta/generated/teamwork/deleted_teams/get_all_messages/get_all_messages_get_response.py index d50b6d4bc2d..3c38fee4672 100644 --- a/msgraph_beta/generated/teamwork/deleted_teams/get_all_messages/get_all_messages_get_response.py +++ b/msgraph_beta/generated/teamwork/deleted_teams/get_all_messages/get_all_messages_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ....models.chat_message import ChatMessage + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/all_messages/all_messages_get_response.py b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/all_messages/all_messages_get_response.py index 69cb1fcb407..e42ca4027c0 100644 --- a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/all_messages/all_messages_get_response.py +++ b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/all_messages/all_messages_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ......models.chat_message import ChatMessage + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/count/count_request_builder.py b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/count/count_request_builder.py index 2528c7ee50b..7127fe53e66 100644 --- a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/count/count_request_builder.py +++ b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/get_all_messages/get_all_messages_get_response.py b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/get_all_messages/get_all_messages_get_response.py index 743fbbbc659..b2d96c47ecd 100644 --- a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/get_all_messages/get_all_messages_get_response.py +++ b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/get_all_messages/get_all_messages_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ......models.chat_message import ChatMessage + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/get_all_retained_messages/get_all_retained_messages_get_response.py b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/get_all_retained_messages/get_all_retained_messages_get_response.py index ef204f71243..f5eb1125c37 100644 --- a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/get_all_retained_messages/get_all_retained_messages_get_response.py +++ b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/get_all_retained_messages/get_all_retained_messages_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ......models.chat_message import ChatMessage + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/members/add/add_post_request_body.py b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/members/add/add_post_request_body.py index 169ae41524a..ab7e9af2cb0 100644 --- a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/members/add/add_post_request_body.py +++ b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/members/add/add_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ........models.conversation_member import ConversationMember + writer.write_collection_of_object_values("values", self.values) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/members/add/add_post_response.py b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/members/add/add_post_response.py index 5eee4499256..ffa48911694 100644 --- a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/members/add/add_post_response.py +++ b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/members/add/add_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ........models.action_result_part import ActionResultPart + from ........models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/members/count/count_request_builder.py b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/members/count/count_request_builder.py index 2dc3228192b..756aff9b8b7 100644 --- a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/members/count/count_request_builder.py +++ b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/members/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/members/remove/remove_post_request_body.py b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/members/remove/remove_post_request_body.py index 86b17e2ee4d..5bb050c082d 100644 --- a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/members/remove/remove_post_request_body.py +++ b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/members/remove/remove_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ........models.conversation_member import ConversationMember + writer.write_collection_of_object_values("values", self.values) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/members/remove/remove_post_response.py b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/members/remove/remove_post_response.py index 124b45e29cd..6c47de51ac9 100644 --- a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/members/remove/remove_post_response.py +++ b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/members/remove/remove_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ........models.action_result_part import ActionResultPart + from ........models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/members/remove/remove_request_builder.py b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/members/remove/remove_request_builder.py index 85c3583bb4f..edb13b167c9 100644 --- a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/members/remove/remove_request_builder.py +++ b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/members/remove/remove_request_builder.py @@ -32,10 +32,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def post(self,body: RemovePostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[RemovePostResponse]: """ - Invoke action remove + Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[RemovePostResponse] + Find more info here: https://learn.microsoft.com/graph/api/conversationmember-remove?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -55,7 +56,7 @@ async def post(self,body: RemovePostRequestBody, request_configuration: Optional def to_post_request_information(self,body: RemovePostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Invoke action remove + Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/messages/count/count_request_builder.py b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/messages/count/count_request_builder.py index 5f851ffda00..b3012997cbc 100644 --- a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/messages/count/count_request_builder.py +++ b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/messages/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/messages/delta/delta_get_response.py b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/messages/delta/delta_get_response.py index cfcdda82a06..146b11a5c2b 100644 --- a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/messages/delta/delta_get_response.py +++ b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/messages/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ........models.base_delta_function_response import BaseDeltaFunctionResponse + from ........models.chat_message import ChatMessage + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/messages/item/hosted_contents/count/count_request_builder.py b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/messages/item/hosted_contents/count/count_request_builder.py index 963de503022..d986bd9e5da 100644 --- a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/messages/item/hosted_contents/count/count_request_builder.py +++ b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/messages/item/hosted_contents/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/messages/item/replies/count/count_request_builder.py b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/messages/item/replies/count/count_request_builder.py index 08c45c79eba..0f89c6f1fb4 100644 --- a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/messages/item/replies/count/count_request_builder.py +++ b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/messages/item/replies/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/messages/item/replies/delta/delta_get_response.py b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/messages/item/replies/delta/delta_get_response.py index 312926e971c..e95f9778408 100644 --- a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/messages/item/replies/delta/delta_get_response.py +++ b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/messages/item/replies/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..........models.base_delta_function_response import BaseDeltaFunctionResponse + from ..........models.chat_message import ChatMessage + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/messages/item/replies/item/hosted_contents/count/count_request_builder.py b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/messages/item/replies/item/hosted_contents/count/count_request_builder.py index 37ceabbbc2c..93971c418d1 100644 --- a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/messages/item/replies/item/hosted_contents/count/count_request_builder.py +++ b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/messages/item/replies/item/hosted_contents/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/shared_with_teams/count/count_request_builder.py b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/shared_with_teams/count/count_request_builder.py index d13d3fea4b3..1a808a71661 100644 --- a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/shared_with_teams/count/count_request_builder.py +++ b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/shared_with_teams/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/shared_with_teams/item/allowed_members/count/count_request_builder.py b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/shared_with_teams/item/allowed_members/count/count_request_builder.py index 3f6d7e2d9de..04eb3746dce 100644 --- a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/shared_with_teams/item/allowed_members/count/count_request_builder.py +++ b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/shared_with_teams/item/allowed_members/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/tabs/count/count_request_builder.py b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/tabs/count/count_request_builder.py index 6c29ef01462..c3866e35d39 100644 --- a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/tabs/count/count_request_builder.py +++ b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/tabs/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/teamwork/devices/count/count_request_builder.py b/msgraph_beta/generated/teamwork/devices/count/count_request_builder.py index 2496aba6e9e..1c4b95bbd68 100644 --- a/msgraph_beta/generated/teamwork/devices/count/count_request_builder.py +++ b/msgraph_beta/generated/teamwork/devices/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/teamwork/devices/item/operations/count/count_request_builder.py b/msgraph_beta/generated/teamwork/devices/item/operations/count/count_request_builder.py index 73e4dd348eb..8f52cf598f8 100644 --- a/msgraph_beta/generated/teamwork/devices/item/operations/count/count_request_builder.py +++ b/msgraph_beta/generated/teamwork/devices/item/operations/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/teamwork/devices/item/update_software/update_software_post_request_body.py b/msgraph_beta/generated/teamwork/devices/item/update_software/update_software_post_request_body.py index 5aba24dba20..6a0564b565d 100644 --- a/msgraph_beta/generated/teamwork/devices/item/update_software/update_software_post_request_body.py +++ b/msgraph_beta/generated/teamwork/devices/item/update_software/update_software_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.teamwork_software_type import TeamworkSoftwareType + writer.write_enum_value("softwareType", self.software_type) writer.write_str_value("softwareVersion", self.software_version) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/teamwork/send_activity_notification_to_recipients/send_activity_notification_to_recipients_post_request_body.py b/msgraph_beta/generated/teamwork/send_activity_notification_to_recipients/send_activity_notification_to_recipients_post_request_body.py index 6b41223ff70..f5e05169bb6 100644 --- a/msgraph_beta/generated/teamwork/send_activity_notification_to_recipients/send_activity_notification_to_recipients_post_request_body.py +++ b/msgraph_beta/generated/teamwork/send_activity_notification_to_recipients/send_activity_notification_to_recipients_post_request_body.py @@ -77,6 +77,11 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ...models.item_body import ItemBody + from ...models.key_value_pair import KeyValuePair + from ...models.teamwork_activity_topic import TeamworkActivityTopic + from ...models.teamwork_notification_recipient import TeamworkNotificationRecipient + writer.write_str_value("activityType", self.activity_type) writer.write_int_value("chainId", self.chain_id) writer.write_object_value("previewText", self.preview_text) diff --git a/msgraph_beta/generated/teamwork/team_templates/count/count_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/count/count_request_builder.py index f911faa1b83..cc0baee3df6 100644 --- a/msgraph_beta/generated/teamwork/team_templates/count/count_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/count/count_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/count/count_request_builder.py index 00c94e5c357..2379b91bc7b 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/count/count_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/all_channels/count/count_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/all_channels/count/count_request_builder.py index 9f77e9d11bc..a2600b93f4d 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/all_channels/count/count_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/all_channels/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/all_messages/all_messages_get_response.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/all_messages/all_messages_get_response.py index 8781f184122..40e81b3a96f 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/all_messages/all_messages_get_response.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/all_messages/all_messages_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .........models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .........models.chat_message import ChatMessage + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/count/count_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/count/count_request_builder.py index 5a98f230143..7dac1a74947 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/count/count_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/get_all_messages/get_all_messages_get_response.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/get_all_messages/get_all_messages_get_response.py index 952f74eed4c..536c8d5a0fe 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/get_all_messages/get_all_messages_get_response.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/get_all_messages/get_all_messages_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .........models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .........models.chat_message import ChatMessage + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/get_all_retained_messages/get_all_retained_messages_get_response.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/get_all_retained_messages/get_all_retained_messages_get_response.py index 4f1c2515b8c..db92cdffe70 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/get_all_retained_messages/get_all_retained_messages_get_response.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/get_all_retained_messages/get_all_retained_messages_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .........models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .........models.chat_message import ChatMessage + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/members/add/add_post_request_body.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/members/add/add_post_request_body.py index 024a68fd40e..39826824676 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/members/add/add_post_request_body.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/members/add/add_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ...........models.conversation_member import ConversationMember + writer.write_collection_of_object_values("values", self.values) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/members/add/add_post_response.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/members/add/add_post_response.py index 2f7329c7dc0..ea298c91395 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/members/add/add_post_response.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/members/add/add_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ...........models.action_result_part import ActionResultPart + from ...........models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/members/count/count_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/members/count/count_request_builder.py index 4cb9f62aa1e..3f0c727d870 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/members/count/count_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/members/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/members/remove/remove_post_request_body.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/members/remove/remove_post_request_body.py index 327f910cadd..7b100211255 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/members/remove/remove_post_request_body.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/members/remove/remove_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ...........models.conversation_member import ConversationMember + writer.write_collection_of_object_values("values", self.values) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/members/remove/remove_post_response.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/members/remove/remove_post_response.py index 8761da1c9bd..a6ee7e41b5e 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/members/remove/remove_post_response.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/members/remove/remove_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ...........models.action_result_part import ActionResultPart + from ...........models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/members/remove/remove_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/members/remove/remove_request_builder.py index d9ad5293310..2f407fd767e 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/members/remove/remove_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/members/remove/remove_request_builder.py @@ -32,10 +32,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def post(self,body: RemovePostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[RemovePostResponse]: """ - Invoke action remove + Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[RemovePostResponse] + Find more info here: https://learn.microsoft.com/graph/api/conversationmember-remove?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -55,7 +56,7 @@ async def post(self,body: RemovePostRequestBody, request_configuration: Optional def to_post_request_information(self,body: RemovePostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Invoke action remove + Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/messages/count/count_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/messages/count/count_request_builder.py index 888218a1295..ff58ceabbb1 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/messages/count/count_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/messages/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/messages/delta/delta_get_response.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/messages/delta/delta_get_response.py index 8fb262d8095..22cf80cccaf 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/messages/delta/delta_get_response.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/messages/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ...........models.base_delta_function_response import BaseDeltaFunctionResponse + from ...........models.chat_message import ChatMessage + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/messages/item/hosted_contents/count/count_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/messages/item/hosted_contents/count/count_request_builder.py index 19cb03f8a0c..0f91f3818a6 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/messages/item/hosted_contents/count/count_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/messages/item/hosted_contents/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/messages/item/replies/count/count_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/messages/item/replies/count/count_request_builder.py index 5c86b59c543..521ae088474 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/messages/item/replies/count/count_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/messages/item/replies/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/messages/item/replies/delta/delta_get_response.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/messages/item/replies/delta/delta_get_response.py index b3b6b835be7..f6ec152a831 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/messages/item/replies/delta/delta_get_response.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/messages/item/replies/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .............models.base_delta_function_response import BaseDeltaFunctionResponse + from .............models.chat_message import ChatMessage + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/messages/item/replies/item/hosted_contents/count/count_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/messages/item/replies/item/hosted_contents/count/count_request_builder.py index a5fa7ac675f..9aa9ac85aaf 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/messages/item/replies/item/hosted_contents/count/count_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/messages/item/replies/item/hosted_contents/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/shared_with_teams/count/count_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/shared_with_teams/count/count_request_builder.py index 98ed058bf2b..169c927ab2e 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/shared_with_teams/count/count_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/shared_with_teams/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/shared_with_teams/item/allowed_members/count/count_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/shared_with_teams/item/allowed_members/count/count_request_builder.py index 87e93547d26..d605a0d83ce 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/shared_with_teams/item/allowed_members/count/count_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/shared_with_teams/item/allowed_members/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/tabs/count/count_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/tabs/count/count_request_builder.py index 5c18ff7dff4..332fa6e371d 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/tabs/count/count_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/tabs/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/clone/clone_post_request_body.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/clone/clone_post_request_body.py index ebd31f42e73..5b8f39c1bdf 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/clone/clone_post_request_body.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/clone/clone_post_request_body.py @@ -68,6 +68,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ........models.clonable_team_parts import ClonableTeamParts + from ........models.team_visibility_type import TeamVisibilityType + writer.write_str_value("classification", self.classification) writer.write_str_value("description", self.description) writer.write_str_value("displayName", self.display_name) diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/group/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/group/service_provisioning_errors/count/count_request_builder.py index 9333bb72abd..adab42d4f66 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/group/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/group/service_provisioning_errors/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/incoming_channels/count/count_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/incoming_channels/count/count_request_builder.py index 8e4dc6ef603..7d52fdb9154 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/incoming_channels/count/count_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/incoming_channels/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/installed_apps/count/count_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/installed_apps/count/count_request_builder.py index 111afbefe0a..230015db02e 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/installed_apps/count/count_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/installed_apps/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/installed_apps/item/upgrade/upgrade_post_request_body.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/installed_apps/item/upgrade/upgrade_post_request_body.py index b30bfd3b549..6eaf13977c5 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/installed_apps/item/upgrade/upgrade_post_request_body.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/installed_apps/item/upgrade/upgrade_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ..........models.teams_app_permission_set import TeamsAppPermissionSet + writer.write_object_value("consentedPermissionSet", self.consented_permission_set) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/members/add/add_post_request_body.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/members/add/add_post_request_body.py index 68c3cac0c97..7bc52c7473d 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/members/add/add_post_request_body.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/members/add/add_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .........models.conversation_member import ConversationMember + writer.write_collection_of_object_values("values", self.values) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/members/add/add_post_response.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/members/add/add_post_response.py index 5a4048d8110..c6839de0652 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/members/add/add_post_response.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/members/add/add_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .........models.action_result_part import ActionResultPart + from .........models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/members/count/count_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/members/count/count_request_builder.py index 45d7eeb7aba..2bef8210da6 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/members/count/count_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/members/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/members/remove/remove_post_request_body.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/members/remove/remove_post_request_body.py index 2605692f3d0..c86183c14aa 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/members/remove/remove_post_request_body.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/members/remove/remove_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .........models.conversation_member import ConversationMember + writer.write_collection_of_object_values("values", self.values) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/members/remove/remove_post_response.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/members/remove/remove_post_response.py index 1d0144a228f..999c2dec228 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/members/remove/remove_post_response.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/members/remove/remove_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .........models.action_result_part import ActionResultPart + from .........models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/members/remove/remove_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/members/remove/remove_request_builder.py index 8050bcc6b67..59b53c729d6 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/members/remove/remove_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/members/remove/remove_request_builder.py @@ -32,10 +32,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def post(self,body: RemovePostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[RemovePostResponse]: """ - Invoke action remove + Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[RemovePostResponse] + Find more info here: https://learn.microsoft.com/graph/api/conversationmember-remove?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -55,7 +56,7 @@ async def post(self,body: RemovePostRequestBody, request_configuration: Optional def to_post_request_information(self,body: RemovePostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Invoke action remove + Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/operations/count/count_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/operations/count/count_request_builder.py index 547dc0d616f..71704b5f0a4 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/operations/count/count_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/operations/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/owners/count/count_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/owners/count/count_request_builder.py index 0e3d335af62..1c3b4deb234 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/owners/count/count_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/owners/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/owners/item/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/owners/item/service_provisioning_errors/count/count_request_builder.py index d1fa6819415..c7bf1141e45 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/owners/item/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/owners/item/service_provisioning_errors/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/owners_with_user_principal_name/owners_with_user_principal_name_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/owners_with_user_principal_name/owners_with_user_principal_name_request_builder.py new file mode 100644 index 00000000000..09456d631b2 --- /dev/null +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/owners_with_user_principal_name/owners_with_user_principal_name_request_builder.py @@ -0,0 +1,109 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from ........models.o_data_errors.o_data_error import ODataError + from ........models.user import User + +class OwnersWithUserPrincipalNameRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the owners property of the microsoft.graph.team entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]], user_principal_name: Optional[str] = None) -> None: + """ + Instantiates a new OwnersWithUserPrincipalNameRequestBuilder 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 user_principal_name: Alternate key of user + Returns: None + """ + if isinstance(path_parameters, dict): + path_parameters['userPrincipalName'] = user_principal_name + super().__init__(request_adapter, "{+baseurl}/teamwork/teamTemplates/{teamTemplate%2Did}/definitions/{teamTemplateDefinition%2Did}/teamDefinition/owners(userPrincipalName='{userPrincipalName}'){?%24expand,%24select}", path_parameters) + + async def get(self,request_configuration: Optional[RequestConfiguration[OwnersWithUserPrincipalNameRequestBuilderGetQueryParameters]] = None) -> Optional[User]: + """ + The list of this team's owners. Currently, when creating a team using application permissions, exactly one owner must be specified. When using user-delegated permissions, no owner can be specified (the current user is the owner). The owner must be specified as an object ID (GUID), not a UPN. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[User] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ........models.user import User + + return await self.request_adapter.send_async(request_info, User, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[OwnersWithUserPrincipalNameRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + The list of this team's owners. Currently, when creating a team using application permissions, exactly one owner must be specified. When using user-delegated permissions, no owner can be specified (the current user is the owner). The owner must be specified as an object ID (GUID), not a UPN. + 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) -> OwnersWithUserPrincipalNameRequestBuilder: + """ + 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: OwnersWithUserPrincipalNameRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return OwnersWithUserPrincipalNameRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class OwnersWithUserPrincipalNameRequestBuilderGetQueryParameters(): + """ + The list of this team's owners. Currently, when creating a team using application permissions, exactly one owner must be specified. When using user-delegated permissions, no owner can be specified (the current user is the owner). The owner must be specified as an object ID (GUID), not a UPN. + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "expand": + return "%24expand" + if original_name == "select": + return "%24select" + return original_name + + # Expand related entities + expand: Optional[List[str]] = None + + # Select properties to be returned + select: Optional[List[str]] = None + + + @dataclass + class OwnersWithUserPrincipalNameRequestBuilderGetRequestConfiguration(RequestConfiguration[OwnersWithUserPrincipalNameRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/permission_grants/count/count_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/permission_grants/count/count_request_builder.py index ccabdf8691f..e5b10cd13fd 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/permission_grants/count/count_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/permission_grants/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/members/add/add_post_request_body.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/members/add/add_post_request_body.py index 399ad522802..8b0c93bb936 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/members/add/add_post_request_body.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/members/add/add_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ..........models.conversation_member import ConversationMember + writer.write_collection_of_object_values("values", self.values) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/members/add/add_post_response.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/members/add/add_post_response.py index 4e12f88f847..45d0d7ee592 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/members/add/add_post_response.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/members/add/add_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..........models.action_result_part import ActionResultPart + from ..........models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/members/count/count_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/members/count/count_request_builder.py index e550e357a09..5af82aefaa2 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/members/count/count_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/members/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/members/remove/remove_post_request_body.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/members/remove/remove_post_request_body.py index d41ce5eb53e..3efe72bd902 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/members/remove/remove_post_request_body.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/members/remove/remove_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ..........models.conversation_member import ConversationMember + writer.write_collection_of_object_values("values", self.values) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/members/remove/remove_post_response.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/members/remove/remove_post_response.py index 5563b67283b..ff69ecf80e2 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/members/remove/remove_post_response.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/members/remove/remove_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..........models.action_result_part import ActionResultPart + from ..........models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/members/remove/remove_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/members/remove/remove_request_builder.py index 686c4f2c665..b3545b1e168 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/members/remove/remove_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/members/remove/remove_request_builder.py @@ -32,10 +32,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def post(self,body: RemovePostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[RemovePostResponse]: """ - Invoke action remove + Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[RemovePostResponse] + Find more info here: https://learn.microsoft.com/graph/api/conversationmember-remove?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -55,7 +56,7 @@ async def post(self,body: RemovePostRequestBody, request_configuration: Optional def to_post_request_information(self,body: RemovePostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Invoke action remove + Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/messages/count/count_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/messages/count/count_request_builder.py index e39ab639476..d7ad2a11696 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/messages/count/count_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/messages/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/messages/delta/delta_get_response.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/messages/delta/delta_get_response.py index 312926e971c..e95f9778408 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/messages/delta/delta_get_response.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/messages/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..........models.base_delta_function_response import BaseDeltaFunctionResponse + from ..........models.chat_message import ChatMessage + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/messages/item/hosted_contents/count/count_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/messages/item/hosted_contents/count/count_request_builder.py index e89ac6dcea8..a2604152bdb 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/messages/item/hosted_contents/count/count_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/messages/item/hosted_contents/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/messages/item/replies/count/count_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/messages/item/replies/count/count_request_builder.py index 3d9d2bf5a2f..1b80ee56491 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/messages/item/replies/count/count_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/messages/item/replies/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/messages/item/replies/delta/delta_get_response.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/messages/item/replies/delta/delta_get_response.py index ebf47911bc0..079dd509449 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/messages/item/replies/delta/delta_get_response.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/messages/item/replies/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ............models.base_delta_function_response import BaseDeltaFunctionResponse + from ............models.chat_message import ChatMessage + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/messages/item/replies/item/hosted_contents/count/count_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/messages/item/replies/item/hosted_contents/count/count_request_builder.py index 41c8f597a49..28cf4c3878d 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/messages/item/replies/item/hosted_contents/count/count_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/messages/item/replies/item/hosted_contents/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/shared_with_teams/count/count_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/shared_with_teams/count/count_request_builder.py index 9c8bf8cd119..7726e91a836 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/shared_with_teams/count/count_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/shared_with_teams/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/shared_with_teams/item/allowed_members/count/count_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/shared_with_teams/item/allowed_members/count/count_request_builder.py index 78450c4b3a6..5a015b622f2 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/shared_with_teams/item/allowed_members/count/count_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/shared_with_teams/item/allowed_members/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/tabs/count/count_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/tabs/count/count_request_builder.py index 4f4c2e8ae59..a8164f0cf4c 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/tabs/count/count_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/tabs/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/day_notes/count/count_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/day_notes/count/count_request_builder.py index f1b13a1b1e9..c9a64ca930d 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/day_notes/count/count_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/day_notes/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/offer_shift_requests/count/count_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/offer_shift_requests/count/count_request_builder.py index 3f08fa65463..4c21600c748 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/offer_shift_requests/count/count_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/offer_shift_requests/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/open_shift_change_requests/count/count_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/open_shift_change_requests/count/count_request_builder.py index 7ae4014a690..47e30ab3e9b 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/open_shift_change_requests/count/count_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/open_shift_change_requests/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/open_shifts/count/count_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/open_shifts/count/count_request_builder.py index 796e5b6c8a5..d5256ed1814 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/open_shifts/count/count_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/open_shifts/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/scheduling_groups/count/count_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/scheduling_groups/count/count_request_builder.py index adc0929f26a..17715add507 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/scheduling_groups/count/count_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/scheduling_groups/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/shifts/count/count_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/shifts/count/count_request_builder.py index fa99add86d5..858b623ae35 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/shifts/count/count_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/shifts/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/shifts_role_definitions/count/count_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/shifts_role_definitions/count/count_request_builder.py index 96962b70f04..33ae42149e3 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/shifts_role_definitions/count/count_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/shifts_role_definitions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/swap_shifts_change_requests/count/count_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/swap_shifts_change_requests/count/count_request_builder.py index 7a87a7727c1..8d7174d5398 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/swap_shifts_change_requests/count/count_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/swap_shifts_change_requests/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/time_cards/clock_in/clock_in_post_request_body.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/time_cards/clock_in/clock_in_post_request_body.py index 2d99512e79d..ec1df79254c 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/time_cards/clock_in/clock_in_post_request_body.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/time_cards/clock_in/clock_in_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ..........models.item_body import ItemBody + writer.write_bool_value("atApprovedLocation", self.at_approved_location) writer.write_object_value("notes", self.notes) writer.write_str_value("onBehalfOfUserId", self.on_behalf_of_user_id) diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/time_cards/count/count_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/time_cards/count/count_request_builder.py index fcbb5a24db3..06f9b77a210 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/time_cards/count/count_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/time_cards/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/time_cards/item/clock_out/clock_out_post_request_body.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/time_cards/item/clock_out/clock_out_post_request_body.py index a667469494c..4b02e01f754 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/time_cards/item/clock_out/clock_out_post_request_body.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/time_cards/item/clock_out/clock_out_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ...........models.item_body import ItemBody + writer.write_bool_value("atApprovedLocation", self.at_approved_location) writer.write_object_value("notes", self.notes) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/time_cards/item/end_break/end_break_post_request_body.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/time_cards/item/end_break/end_break_post_request_body.py index 18ed3d26d46..969e66d6053 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/time_cards/item/end_break/end_break_post_request_body.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/time_cards/item/end_break/end_break_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ...........models.item_body import ItemBody + writer.write_bool_value("atApprovedLocation", self.at_approved_location) writer.write_object_value("notes", self.notes) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/time_cards/item/start_break/start_break_post_request_body.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/time_cards/item/start_break/start_break_post_request_body.py index 15a6ca6f91f..7f28219c17c 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/time_cards/item/start_break/start_break_post_request_body.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/time_cards/item/start_break/start_break_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ...........models.item_body import ItemBody + writer.write_bool_value("atApprovedLocation", self.at_approved_location) writer.write_object_value("notes", self.notes) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/time_off_reasons/count/count_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/time_off_reasons/count/count_request_builder.py index 90ed9c5f5e6..292e502cfe3 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/time_off_reasons/count/count_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/time_off_reasons/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/time_off_requests/count/count_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/time_off_requests/count/count_request_builder.py index f16f754b2f0..af31a9a5fc2 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/time_off_requests/count/count_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/time_off_requests/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/times_off/count/count_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/times_off/count/count_request_builder.py index cc2b5eed067..c853bd7f8d8 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/times_off/count/count_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/times_off/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/send_activity_notification/send_activity_notification_post_request_body.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/send_activity_notification/send_activity_notification_post_request_body.py index bce13520b07..a9467bb3574 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/send_activity_notification/send_activity_notification_post_request_body.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/send_activity_notification/send_activity_notification_post_request_body.py @@ -77,6 +77,11 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ........models.item_body import ItemBody + from ........models.key_value_pair import KeyValuePair + from ........models.teamwork_activity_topic import TeamworkActivityTopic + from ........models.teamwork_notification_recipient import TeamworkNotificationRecipient + writer.write_str_value("activityType", self.activity_type) writer.write_int_value("chainId", self.chain_id) writer.write_object_value("previewText", self.preview_text) diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/tags/count/count_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/tags/count/count_request_builder.py index 16bd0caec2c..d40a4bd32c3 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/tags/count/count_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/tags/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/tags/item/members/count/count_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/tags/item/members/count/count_request_builder.py index 7dff7940f68..f3207bcb479 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/tags/item/members/count/count_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/tags/item/members/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/team_definition_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/team_definition_request_builder.py index 6b3fb59cb5d..fa9dc7b878e 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/team_definition_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/team_definition_request_builder.py @@ -26,6 +26,7 @@ from .members.members_request_builder import MembersRequestBuilder from .operations.operations_request_builder import OperationsRequestBuilder from .owners.owners_request_builder import OwnersRequestBuilder + from .owners_with_user_principal_name.owners_with_user_principal_name_request_builder import OwnersWithUserPrincipalNameRequestBuilder from .permission_grants.permission_grants_request_builder import PermissionGrantsRequestBuilder from .photo.photo_request_builder import PhotoRequestBuilder from .primary_channel.primary_channel_request_builder import PrimaryChannelRequestBuilder @@ -88,6 +89,18 @@ async def get(self,request_configuration: Optional[RequestConfiguration[TeamDefi return await self.request_adapter.send_async(request_info, Team, error_mapping) + def owners_with_user_principal_name(self,user_principal_name: str) -> OwnersWithUserPrincipalNameRequestBuilder: + """ + Provides operations to manage the owners property of the microsoft.graph.team entity. + param user_principal_name: Alternate key of user + Returns: OwnersWithUserPrincipalNameRequestBuilder + """ + if user_principal_name is None: + raise TypeError("user_principal_name cannot be null.") + from .owners_with_user_principal_name.owners_with_user_principal_name_request_builder import OwnersWithUserPrincipalNameRequestBuilder + + return OwnersWithUserPrincipalNameRequestBuilder(self.request_adapter, self.path_parameters, user_principal_name) + async def patch(self,body: Team, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[Team]: """ Update the navigation property teamDefinition in teamwork diff --git a/msgraph_beta/generated/teamwork/workforce_integrations/count/count_request_builder.py b/msgraph_beta/generated/teamwork/workforce_integrations/count/count_request_builder.py index 97e2118c50b..9bb8c9e5c4c 100644 --- a/msgraph_beta/generated/teamwork/workforce_integrations/count/count_request_builder.py +++ b/msgraph_beta/generated/teamwork/workforce_integrations/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/tenant_relationships/delegated_admin_customers/count/count_request_builder.py b/msgraph_beta/generated/tenant_relationships/delegated_admin_customers/count/count_request_builder.py index b302af674cf..e7b4009e9e4 100644 --- a/msgraph_beta/generated/tenant_relationships/delegated_admin_customers/count/count_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/delegated_admin_customers/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/tenant_relationships/delegated_admin_customers/item/service_management_details/count/count_request_builder.py b/msgraph_beta/generated/tenant_relationships/delegated_admin_customers/item/service_management_details/count/count_request_builder.py index a0b25952657..be8b43b3ab8 100644 --- a/msgraph_beta/generated/tenant_relationships/delegated_admin_customers/item/service_management_details/count/count_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/delegated_admin_customers/item/service_management_details/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/tenant_relationships/delegated_admin_relationships/count/count_request_builder.py b/msgraph_beta/generated/tenant_relationships/delegated_admin_relationships/count/count_request_builder.py index 1520019c3e2..ead45b42918 100644 --- a/msgraph_beta/generated/tenant_relationships/delegated_admin_relationships/count/count_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/delegated_admin_relationships/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/tenant_relationships/delegated_admin_relationships/item/access_assignments/count/count_request_builder.py b/msgraph_beta/generated/tenant_relationships/delegated_admin_relationships/item/access_assignments/count/count_request_builder.py index c5b5083eeb2..1ef0ec89871 100644 --- a/msgraph_beta/generated/tenant_relationships/delegated_admin_relationships/item/access_assignments/count/count_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/delegated_admin_relationships/item/access_assignments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/tenant_relationships/delegated_admin_relationships/item/operations/count/count_request_builder.py b/msgraph_beta/generated/tenant_relationships/delegated_admin_relationships/item/operations/count/count_request_builder.py index 215e712221e..3b39b02072c 100644 --- a/msgraph_beta/generated/tenant_relationships/delegated_admin_relationships/item/operations/count/count_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/delegated_admin_relationships/item/operations/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/tenant_relationships/delegated_admin_relationships/item/requests/count/count_request_builder.py b/msgraph_beta/generated/tenant_relationships/delegated_admin_relationships/item/requests/count/count_request_builder.py index 0ba475b8dda..34ec5421fc9 100644 --- a/msgraph_beta/generated/tenant_relationships/delegated_admin_relationships/item/requests/count/count_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/delegated_admin_relationships/item/requests/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/aggregated_policy_compliances/count/count_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/aggregated_policy_compliances/count/count_request_builder.py index 79474b5153c..c18848b28c7 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/aggregated_policy_compliances/count/count_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/aggregated_policy_compliances/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/app_performances/count/count_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/app_performances/count/count_request_builder.py index 64952ca910a..2da502fb75b 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/app_performances/count/count_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/app_performances/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/audit_events/count/count_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/audit_events/count/count_request_builder.py index 1767b463112..35ea1f130d9 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/audit_events/count/count_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/audit_events/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/cloud_pc_connections/count/count_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/cloud_pc_connections/count/count_request_builder.py index d84eed24f2e..3890b96c0c0 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/cloud_pc_connections/count/count_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/cloud_pc_connections/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/cloud_pc_devices/count/count_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/cloud_pc_devices/count/count_request_builder.py index db37e760a65..acb32ea0ad4 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/cloud_pc_devices/count/count_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/cloud_pc_devices/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/cloud_pcs_overview/count/count_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/cloud_pcs_overview/count/count_request_builder.py index 38c55b51f68..f1c04ac9a24 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/cloud_pcs_overview/count/count_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/cloud_pcs_overview/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/conditional_access_policy_coverages/count/count_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/conditional_access_policy_coverages/count/count_request_builder.py index a48dc1c54d2..71fa23f1db4 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/conditional_access_policy_coverages/count/count_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/conditional_access_policy_coverages/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/credential_user_registrations_summaries/count/count_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/credential_user_registrations_summaries/count/count_request_builder.py index af54d1bf9c4..e4aeda54e4f 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/credential_user_registrations_summaries/count/count_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/credential_user_registrations_summaries/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/device_app_performances/count/count_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/device_app_performances/count/count_request_builder.py index e05dade2852..17fbc636b99 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/device_app_performances/count/count_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/device_app_performances/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/device_compliance_policy_setting_state_summaries/count/count_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/device_compliance_policy_setting_state_summaries/count/count_request_builder.py index 90d8e2db944..3b13cc29e9c 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/device_compliance_policy_setting_state_summaries/count/count_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/device_compliance_policy_setting_state_summaries/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/device_health_statuses/count/count_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/device_health_statuses/count/count_request_builder.py index 041a6951312..5e933a852ac 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/device_health_statuses/count/count_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/device_health_statuses/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_device_compliance_trends/count/count_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_device_compliance_trends/count/count_request_builder.py index 06b30efa5db..ce27df3dcd6 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_device_compliance_trends/count/count_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_device_compliance_trends/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_device_compliances/count/count_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_device_compliances/count/count_request_builder.py index 0e99e1893e0..82cec7d3ec9 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_device_compliances/count/count_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_device_compliances/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_alert_logs/count/count_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_alert_logs/count/count_request_builder.py index c0e0402d46d..a3904ef3c14 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_alert_logs/count/count_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_alert_logs/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_alert_rule_definitions/count/count_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_alert_rule_definitions/count/count_request_builder.py index fc40b7f5640..4a4cc9b0a2c 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_alert_rule_definitions/count/count_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_alert_rule_definitions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_alert_rule_definitions/item/alert_rules/count/count_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_alert_rule_definitions/item/alert_rules/count/count_request_builder.py index 416cc69a3d5..12e98ad2db5 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_alert_rule_definitions/item/alert_rules/count/count_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_alert_rule_definitions/item/alert_rules/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_alert_rules/count/count_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_alert_rules/count/count_request_builder.py index 4e95fb5a37e..9955386bd87 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_alert_rules/count/count_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_alert_rules/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_alert_rules/item/alerts/count/count_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_alert_rules/item/alerts/count/count_request_builder.py index 9350148c18b..3a521346b78 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_alert_rules/item/alerts/count/count_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_alert_rules/item/alerts/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_alerts/count/count_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_alerts/count/count_request_builder.py index dd4999c98e0..028d48aa767 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_alerts/count/count_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_alerts/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_alerts/item/alert_logs/count/count_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_alerts/item/alert_logs/count/count_request_builder.py index c37a2944c76..ea011ed0e1b 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_alerts/item/alert_logs/count/count_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_alerts/item/alert_logs/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_alerts/item/api_notifications/count/count_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_alerts/item/api_notifications/count/count_request_builder.py index 71cc7bd628e..4803fe8b51e 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_alerts/item/api_notifications/count/count_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_alerts/item/api_notifications/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_alerts/item/email_notifications/count/count_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_alerts/item/email_notifications/count/count_request_builder.py index 26c806ef9cb..00a444b9c29 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_alerts/item/email_notifications/count/count_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_alerts/item/email_notifications/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_api_notifications/count/count_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_api_notifications/count/count_request_builder.py index 49c968f1f1c..e2d0bce25b8 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_api_notifications/count/count_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_api_notifications/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_email_notifications/count/count_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_email_notifications/count/count_request_builder.py index 55ddd702827..80dbd45e5c1 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_email_notifications/count/count_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_email_notifications/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_ticketing_endpoints/count/count_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_ticketing_endpoints/count/count_request_builder.py index a7b95d0b624..7b498a84a0a 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_ticketing_endpoints/count/count_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_ticketing_endpoints/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/management_action_tenant_deployment_statuses/count/count_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/management_action_tenant_deployment_statuses/count/count_request_builder.py index 6cd054abb60..7b0aec06a9e 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/management_action_tenant_deployment_statuses/count/count_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/management_action_tenant_deployment_statuses/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/management_actions/count/count_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/management_actions/count/count_request_builder.py index 36e6eac7711..6057ff23a92 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/management_actions/count/count_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/management_actions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/management_intents/count/count_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/management_intents/count/count_request_builder.py index 84dcc182d00..80ab0970e61 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/management_intents/count/count_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/management_intents/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/management_template_collection_tenant_summaries/count/count_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/management_template_collection_tenant_summaries/count/count_request_builder.py index af8c6d0cfc0..0c95937b048 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/management_template_collection_tenant_summaries/count/count_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/management_template_collection_tenant_summaries/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/management_template_collections/count/count_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/management_template_collections/count/count_request_builder.py index 354a25fc7f4..5d96146dc14 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/management_template_collections/count/count_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/management_template_collections/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/management_template_collections/item/management_templates/count/count_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/management_template_collections/item/management_templates/count/count_request_builder.py index 88308b32980..c0819cf4bd8 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/management_template_collections/item/management_templates/count/count_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/management_template_collections/item/management_templates/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/management_template_step_tenant_summaries/count/count_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/management_template_step_tenant_summaries/count/count_request_builder.py index 7c412439cd5..8300ac661ac 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/management_template_step_tenant_summaries/count/count_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/management_template_step_tenant_summaries/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/management_template_step_versions/count/count_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/management_template_step_versions/count/count_request_builder.py index ae86cc4e21b..5e34e535614 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/management_template_step_versions/count/count_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/management_template_step_versions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/management_template_step_versions/item/deployments/count/count_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/management_template_step_versions/item/deployments/count/count_request_builder.py index 41b31de3c77..d43cc682c93 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/management_template_step_versions/item/deployments/count/count_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/management_template_step_versions/item/deployments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/management_template_steps/count/count_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/management_template_steps/count/count_request_builder.py index 0371d589b9b..b88a4392005 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/management_template_steps/count/count_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/management_template_steps/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/management_template_steps/item/versions/count/count_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/management_template_steps/item/versions/count/count_request_builder.py index d8cf49524f7..04c0e0457aa 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/management_template_steps/item/versions/count/count_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/management_template_steps/item/versions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/management_templates/count/count_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/management_templates/count/count_request_builder.py index dc845ce5a35..8b32caa6cef 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/management_templates/count/count_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/management_templates/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/management_templates/item/management_template_collections/count/count_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/management_templates/item/management_template_collections/count/count_request_builder.py index 4aaaf5c99a6..a0303073111 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/management_templates/item/management_template_collections/count/count_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/management_templates/item/management_template_collections/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/management_templates/item/management_template_steps/count/count_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/management_templates/item/management_template_steps/count/count_request_builder.py index 403bbfbb27a..2f3c6827f55 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/management_templates/item/management_template_steps/count/count_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/management_templates/item/management_template_steps/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/my_roles/count/count_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/my_roles/count/count_request_builder.py index c0b20724683..cfdef2ac194 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/my_roles/count/count_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/my_roles/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/tenant_groups/count/count_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/tenant_groups/count/count_request_builder.py index eac6e5cc417..e41d6836313 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/tenant_groups/count/count_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/tenant_groups/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/tenant_groups/microsoft_graph_managed_tenants_tenant_search/tenant_search_post_response.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/tenant_groups/microsoft_graph_managed_tenants_tenant_search/tenant_search_post_response.py index 9cc2b19a21d..0b7ba57cf9b 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/tenant_groups/microsoft_graph_managed_tenants_tenant_search/tenant_search_post_response.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/tenant_groups/microsoft_graph_managed_tenants_tenant_search/tenant_search_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .....models.managed_tenants.tenant_group import TenantGroup + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/tenant_tags/count/count_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/tenant_tags/count/count_request_builder.py index 8ede3ca4ec2..04a19d989ea 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/tenant_tags/count/count_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/tenant_tags/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/tenants/count/count_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/tenants/count/count_request_builder.py index 793c48b68e4..370b74b0809 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/tenants/count/count_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/tenants/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/tenants_customized_information/count/count_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/tenants_customized_information/count/count_request_builder.py index 69cdeaf9e0c..6ee91bf6f61 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/tenants_customized_information/count/count_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/tenants_customized_information/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/tenants_detailed_information/count/count_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/tenants_detailed_information/count/count_request_builder.py index f95ee6b86e6..24f4eb72390 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/tenants_detailed_information/count/count_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/tenants_detailed_information/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/windows_device_malware_states/count/count_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/windows_device_malware_states/count/count_request_builder.py index 6f53ab929b3..bcbc440c531 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/windows_device_malware_states/count/count_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/windows_device_malware_states/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/windows_protection_states/count/count_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/windows_protection_states/count/count_request_builder.py index ffb7618db78..1821d3d0bea 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/windows_protection_states/count/count_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/windows_protection_states/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/tenant_relationships/multi_tenant_organization/multi_tenant_organization_request_builder.py b/msgraph_beta/generated/tenant_relationships/multi_tenant_organization/multi_tenant_organization_request_builder.py index 960f06f36b2..ccb1517cfdf 100644 --- a/msgraph_beta/generated/tenant_relationships/multi_tenant_organization/multi_tenant_organization_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/multi_tenant_organization/multi_tenant_organization_request_builder.py @@ -54,11 +54,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[MultiTen async def patch(self,body: MultiTenantOrganization, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[MultiTenantOrganization]: """ - Update the properties of a multi-tenant organization. + Create a new multi-tenant organization. By default, the creator tenant becomes an owner tenant upon successful creation. Only owner tenants can manage a multi-tenant organization. To allow for asynchronous processing, you must wait a minimum of 2 hours between creation and joining a multi-tenant 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-beta + Find more info here: https://learn.microsoft.com/graph/api/tenantrelationship-put-multitenantorganization?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -89,7 +89,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 multi-tenant organization. + Create a new multi-tenant organization. By default, the creator tenant becomes an owner tenant upon successful creation. Only owner tenants can manage a multi-tenant organization. To allow for asynchronous processing, you must wait a minimum of 2 hours between creation and joining a multi-tenant 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_beta/generated/tenant_relationships/multi_tenant_organization/tenants/count/count_request_builder.py b/msgraph_beta/generated/tenant_relationships/multi_tenant_organization/tenants/count/count_request_builder.py index ff7923fa483..973146d8ff5 100644 --- a/msgraph_beta/generated/tenant_relationships/multi_tenant_organization/tenants/count/count_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/multi_tenant_organization/tenants/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/term_store/groups/count/count_request_builder.py b/msgraph_beta/generated/term_store/groups/count/count_request_builder.py index 92ae31ab112..7610e4db2be 100644 --- a/msgraph_beta/generated/term_store/groups/count/count_request_builder.py +++ b/msgraph_beta/generated/term_store/groups/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/term_store/groups/item/sets/count/count_request_builder.py b/msgraph_beta/generated/term_store/groups/item/sets/count/count_request_builder.py index 5bbe8346a00..fc30db668e3 100644 --- a/msgraph_beta/generated/term_store/groups/item/sets/count/count_request_builder.py +++ b/msgraph_beta/generated/term_store/groups/item/sets/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/term_store/groups/item/sets/item/children/count/count_request_builder.py b/msgraph_beta/generated/term_store/groups/item/sets/item/children/count/count_request_builder.py index 8e8619f6d8c..fe5b9a02134 100644 --- a/msgraph_beta/generated/term_store/groups/item/sets/item/children/count/count_request_builder.py +++ b/msgraph_beta/generated/term_store/groups/item/sets/item/children/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/term_store/groups/item/sets/item/children/item/children/count/count_request_builder.py b/msgraph_beta/generated/term_store/groups/item/sets/item/children/item/children/count/count_request_builder.py index d0c6d32b94a..38be1b5a88c 100644 --- a/msgraph_beta/generated/term_store/groups/item/sets/item/children/item/children/count/count_request_builder.py +++ b/msgraph_beta/generated/term_store/groups/item/sets/item/children/item/children/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/term_store/groups/item/sets/item/children/item/children/item/relations/count/count_request_builder.py b/msgraph_beta/generated/term_store/groups/item/sets/item/children/item/children/item/relations/count/count_request_builder.py index 0fdb8a3f7ad..facc24f7824 100644 --- a/msgraph_beta/generated/term_store/groups/item/sets/item/children/item/children/item/relations/count/count_request_builder.py +++ b/msgraph_beta/generated/term_store/groups/item/sets/item/children/item/children/item/relations/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/term_store/groups/item/sets/item/children/item/relations/count/count_request_builder.py b/msgraph_beta/generated/term_store/groups/item/sets/item/children/item/relations/count/count_request_builder.py index 4b06d0e2dd4..9a96a640b1e 100644 --- a/msgraph_beta/generated/term_store/groups/item/sets/item/children/item/relations/count/count_request_builder.py +++ b/msgraph_beta/generated/term_store/groups/item/sets/item/children/item/relations/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/term_store/groups/item/sets/item/relations/count/count_request_builder.py b/msgraph_beta/generated/term_store/groups/item/sets/item/relations/count/count_request_builder.py index f6631682066..0b61a28709d 100644 --- a/msgraph_beta/generated/term_store/groups/item/sets/item/relations/count/count_request_builder.py +++ b/msgraph_beta/generated/term_store/groups/item/sets/item/relations/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/term_store/groups/item/sets/item/terms/count/count_request_builder.py b/msgraph_beta/generated/term_store/groups/item/sets/item/terms/count/count_request_builder.py index 2aaffe32452..1aaa462bc45 100644 --- a/msgraph_beta/generated/term_store/groups/item/sets/item/terms/count/count_request_builder.py +++ b/msgraph_beta/generated/term_store/groups/item/sets/item/terms/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/term_store/groups/item/sets/item/terms/item/children/count/count_request_builder.py b/msgraph_beta/generated/term_store/groups/item/sets/item/terms/item/children/count/count_request_builder.py index 173afae8e83..84e728d5dca 100644 --- a/msgraph_beta/generated/term_store/groups/item/sets/item/terms/item/children/count/count_request_builder.py +++ b/msgraph_beta/generated/term_store/groups/item/sets/item/terms/item/children/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/term_store/groups/item/sets/item/terms/item/children/item/relations/count/count_request_builder.py b/msgraph_beta/generated/term_store/groups/item/sets/item/terms/item/children/item/relations/count/count_request_builder.py index 77e23f2a5db..08d99302983 100644 --- a/msgraph_beta/generated/term_store/groups/item/sets/item/terms/item/children/item/relations/count/count_request_builder.py +++ b/msgraph_beta/generated/term_store/groups/item/sets/item/terms/item/children/item/relations/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/term_store/groups/item/sets/item/terms/item/relations/count/count_request_builder.py b/msgraph_beta/generated/term_store/groups/item/sets/item/terms/item/relations/count/count_request_builder.py index 606ff0e0788..bf2d987fe42 100644 --- a/msgraph_beta/generated/term_store/groups/item/sets/item/terms/item/relations/count/count_request_builder.py +++ b/msgraph_beta/generated/term_store/groups/item/sets/item/terms/item/relations/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/term_store/sets/count/count_request_builder.py b/msgraph_beta/generated/term_store/sets/count/count_request_builder.py index 2be21b8afee..83b8b71f387 100644 --- a/msgraph_beta/generated/term_store/sets/count/count_request_builder.py +++ b/msgraph_beta/generated/term_store/sets/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/term_store/sets/item/children/count/count_request_builder.py b/msgraph_beta/generated/term_store/sets/item/children/count/count_request_builder.py index 333c2e40532..27f19d18d37 100644 --- a/msgraph_beta/generated/term_store/sets/item/children/count/count_request_builder.py +++ b/msgraph_beta/generated/term_store/sets/item/children/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/term_store/sets/item/children/item/children/count/count_request_builder.py b/msgraph_beta/generated/term_store/sets/item/children/item/children/count/count_request_builder.py index 4401b5a9bdb..106a956a6b9 100644 --- a/msgraph_beta/generated/term_store/sets/item/children/item/children/count/count_request_builder.py +++ b/msgraph_beta/generated/term_store/sets/item/children/item/children/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/term_store/sets/item/children/item/children/item/relations/count/count_request_builder.py b/msgraph_beta/generated/term_store/sets/item/children/item/children/item/relations/count/count_request_builder.py index a7c858be64d..b26350e2082 100644 --- a/msgraph_beta/generated/term_store/sets/item/children/item/children/item/relations/count/count_request_builder.py +++ b/msgraph_beta/generated/term_store/sets/item/children/item/children/item/relations/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/term_store/sets/item/children/item/relations/count/count_request_builder.py b/msgraph_beta/generated/term_store/sets/item/children/item/relations/count/count_request_builder.py index 898e624ba06..6d2d54ae427 100644 --- a/msgraph_beta/generated/term_store/sets/item/children/item/relations/count/count_request_builder.py +++ b/msgraph_beta/generated/term_store/sets/item/children/item/relations/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/term_store/sets/item/parent_group/sets/count/count_request_builder.py b/msgraph_beta/generated/term_store/sets/item/parent_group/sets/count/count_request_builder.py index 9f249538eea..9b4a9cc0d5b 100644 --- a/msgraph_beta/generated/term_store/sets/item/parent_group/sets/count/count_request_builder.py +++ b/msgraph_beta/generated/term_store/sets/item/parent_group/sets/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/children/count/count_request_builder.py b/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/children/count/count_request_builder.py index 3ddaa4ba378..d6a7f574ece 100644 --- a/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/children/count/count_request_builder.py +++ b/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/children/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/children/item/children/count/count_request_builder.py b/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/children/item/children/count/count_request_builder.py index c5c6aea6aa5..41fde4dfa30 100644 --- a/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/children/item/children/count/count_request_builder.py +++ b/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/children/item/children/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/children/item/children/item/relations/count/count_request_builder.py b/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/children/item/children/item/relations/count/count_request_builder.py index 222a7ae6e2c..6420d29bcfb 100644 --- a/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/children/item/children/item/relations/count/count_request_builder.py +++ b/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/children/item/children/item/relations/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/children/item/relations/count/count_request_builder.py b/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/children/item/relations/count/count_request_builder.py index d5d288c7068..7e4f4738318 100644 --- a/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/children/item/relations/count/count_request_builder.py +++ b/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/children/item/relations/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/relations/count/count_request_builder.py b/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/relations/count/count_request_builder.py index cae946461f2..babf9e0cf71 100644 --- a/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/relations/count/count_request_builder.py +++ b/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/relations/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/terms/count/count_request_builder.py b/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/terms/count/count_request_builder.py index 6a597c0fb1a..d886ac4eab8 100644 --- a/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/terms/count/count_request_builder.py +++ b/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/terms/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/terms/item/children/count/count_request_builder.py b/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/terms/item/children/count/count_request_builder.py index e69cc81cbd5..47834e92768 100644 --- a/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/terms/item/children/count/count_request_builder.py +++ b/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/terms/item/children/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/terms/item/children/item/relations/count/count_request_builder.py b/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/terms/item/children/item/relations/count/count_request_builder.py index 9647544de15..3629905e280 100644 --- a/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/terms/item/children/item/relations/count/count_request_builder.py +++ b/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/terms/item/children/item/relations/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/terms/item/relations/count/count_request_builder.py b/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/terms/item/relations/count/count_request_builder.py index 9a4a5f85737..c933fd5eba1 100644 --- a/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/terms/item/relations/count/count_request_builder.py +++ b/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/terms/item/relations/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/term_store/sets/item/relations/count/count_request_builder.py b/msgraph_beta/generated/term_store/sets/item/relations/count/count_request_builder.py index 93cb125f17b..ef56fba4294 100644 --- a/msgraph_beta/generated/term_store/sets/item/relations/count/count_request_builder.py +++ b/msgraph_beta/generated/term_store/sets/item/relations/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/term_store/sets/item/terms/count/count_request_builder.py b/msgraph_beta/generated/term_store/sets/item/terms/count/count_request_builder.py index 90714a71e53..0dd630e876f 100644 --- a/msgraph_beta/generated/term_store/sets/item/terms/count/count_request_builder.py +++ b/msgraph_beta/generated/term_store/sets/item/terms/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/term_store/sets/item/terms/item/children/count/count_request_builder.py b/msgraph_beta/generated/term_store/sets/item/terms/item/children/count/count_request_builder.py index af4bbfc6c74..c3f189c7048 100644 --- a/msgraph_beta/generated/term_store/sets/item/terms/item/children/count/count_request_builder.py +++ b/msgraph_beta/generated/term_store/sets/item/terms/item/children/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/term_store/sets/item/terms/item/children/item/relations/count/count_request_builder.py b/msgraph_beta/generated/term_store/sets/item/terms/item/children/item/relations/count/count_request_builder.py index f3c70d15cc4..013ac88c04b 100644 --- a/msgraph_beta/generated/term_store/sets/item/terms/item/children/item/relations/count/count_request_builder.py +++ b/msgraph_beta/generated/term_store/sets/item/terms/item/children/item/relations/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/term_store/sets/item/terms/item/relations/count/count_request_builder.py b/msgraph_beta/generated/term_store/sets/item/terms/item/relations/count/count_request_builder.py index b9108e45ac4..f627dda98ee 100644 --- a/msgraph_beta/generated/term_store/sets/item/terms/item/relations/count/count_request_builder.py +++ b/msgraph_beta/generated/term_store/sets/item/terms/item/relations/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/threat_submission/email_threat_submission_policies/count/count_request_builder.py b/msgraph_beta/generated/threat_submission/email_threat_submission_policies/count/count_request_builder.py index e5cfaea5e1b..df46bc3e6f7 100644 --- a/msgraph_beta/generated/threat_submission/email_threat_submission_policies/count/count_request_builder.py +++ b/msgraph_beta/generated/threat_submission/email_threat_submission_policies/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/threat_submission/email_threats/count/count_request_builder.py b/msgraph_beta/generated/threat_submission/email_threats/count/count_request_builder.py index 0563498a012..b740a245cf6 100644 --- a/msgraph_beta/generated/threat_submission/email_threats/count/count_request_builder.py +++ b/msgraph_beta/generated/threat_submission/email_threats/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/threat_submission/file_threats/count/count_request_builder.py b/msgraph_beta/generated/threat_submission/file_threats/count/count_request_builder.py index 703bf2ac399..bcb568210c0 100644 --- a/msgraph_beta/generated/threat_submission/file_threats/count/count_request_builder.py +++ b/msgraph_beta/generated/threat_submission/file_threats/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/threat_submission/url_threats/count/count_request_builder.py b/msgraph_beta/generated/threat_submission/url_threats/count/count_request_builder.py index bce49f337ea..952a5573979 100644 --- a/msgraph_beta/generated/threat_submission/url_threats/count/count_request_builder.py +++ b/msgraph_beta/generated/threat_submission/url_threats/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/trust_framework/key_sets/count/count_request_builder.py b/msgraph_beta/generated/trust_framework/key_sets/count/count_request_builder.py index 28950dadf54..33761ec0c69 100644 --- a/msgraph_beta/generated/trust_framework/key_sets/count/count_request_builder.py +++ b/msgraph_beta/generated/trust_framework/key_sets/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/trust_framework/key_sets/item/keys_v2/count/count_request_builder.py b/msgraph_beta/generated/trust_framework/key_sets/item/keys_v2/count/count_request_builder.py index c5b832dc9a4..d7e9b59422c 100644 --- a/msgraph_beta/generated/trust_framework/key_sets/item/keys_v2/count/count_request_builder.py +++ b/msgraph_beta/generated/trust_framework/key_sets/item/keys_v2/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/trust_framework/policies/count/count_request_builder.py b/msgraph_beta/generated/trust_framework/policies/count/count_request_builder.py index 604708ebdae..92db3815db7 100644 --- a/msgraph_beta/generated/trust_framework/policies/count/count_request_builder.py +++ b/msgraph_beta/generated/trust_framework/policies/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/count/count_request_builder.py b/msgraph_beta/generated/users/count/count_request_builder.py index 28009685aa8..0eee56b1698 100644 --- a/msgraph_beta/generated/users/count/count_request_builder.py +++ b/msgraph_beta/generated/users/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/delta/delta_get_response.py b/msgraph_beta/generated/users/delta/delta_get_response.py index b204b84464b..e44477b48d3 100644 --- a/msgraph_beta/generated/users/delta/delta_get_response.py +++ b/msgraph_beta/generated/users/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ...models.base_delta_function_response import BaseDeltaFunctionResponse + from ...models.user import User + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/users/delta/delta_request_builder.py b/msgraph_beta/generated/users/delta/delta_request_builder.py index 1419a295f36..acedc42744c 100644 --- a/msgraph_beta/generated/users/delta/delta_request_builder.py +++ b/msgraph_beta/generated/users/delta/delta_request_builder.py @@ -31,7 +31,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def get(self,request_configuration: Optional[RequestConfiguration[DeltaRequestBuilderGetQueryParameters]] = None) -> Optional[DeltaGetResponse]: """ - Get newly created, updated, or deleted users without having to perform a full read of the entire user collection. See change tracking for details. + Get newly created, updated, or deleted users without having to perform a full read of the entire user collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeltaGetResponse] Find more info here: https://learn.microsoft.com/graph/api/user-delta?view=graph-rest-beta @@ -52,7 +52,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DeltaReq def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[DeltaRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Get newly created, updated, or deleted users without having to perform a full read of the entire user collection. See change tracking for details. + Get newly created, updated, or deleted users without having to perform a full read of the entire user collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -74,7 +74,7 @@ def with_url(self,raw_url: str) -> DeltaRequestBuilder: @dataclass class DeltaRequestBuilderGetQueryParameters(): """ - Get newly created, updated, or deleted users without having to perform a full read of the entire user collection. See change tracking for details. + Get newly created, updated, or deleted users without having to perform a full read of the entire user collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/users/get_by_ids/get_by_ids_post_response.py b/msgraph_beta/generated/users/get_by_ids/get_by_ids_post_response.py index a3099558efc..488f70f9c5d 100644 --- a/msgraph_beta/generated/users/get_by_ids/get_by_ids_post_response.py +++ b/msgraph_beta/generated/users/get_by_ids/get_by_ids_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ...models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ...models.directory_object import DirectoryObject + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/users/get_managed_app_blocked_users/get_managed_app_blocked_users_get_response.py b/msgraph_beta/generated/users/get_managed_app_blocked_users/get_managed_app_blocked_users_get_response.py index d5656b58915..1508a59e888 100644 --- a/msgraph_beta/generated/users/get_managed_app_blocked_users/get_managed_app_blocked_users_get_response.py +++ b/msgraph_beta/generated/users/get_managed_app_blocked_users/get_managed_app_blocked_users_get_response.py @@ -49,6 +49,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ...models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_primitive_values("value", self.value) diff --git a/msgraph_beta/generated/users/item/activities/count/count_request_builder.py b/msgraph_beta/generated/users/item/activities/count/count_request_builder.py index c31ab3a1dbf..095e8f61de3 100644 --- a/msgraph_beta/generated/users/item/activities/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/activities/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/activities/item/history_items/count/count_request_builder.py b/msgraph_beta/generated/users/item/activities/item/history_items/count/count_request_builder.py index 4018bfb3acc..80adc82f52f 100644 --- a/msgraph_beta/generated/users/item/activities/item/history_items/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/activities/item/history_items/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/activities/recent/recent_get_response.py b/msgraph_beta/generated/users/item/activities/recent/recent_get_response.py index 303ff73d4aa..f48c96e216d 100644 --- a/msgraph_beta/generated/users/item/activities/recent/recent_get_response.py +++ b/msgraph_beta/generated/users/item/activities/recent/recent_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .....models.user_activity import UserActivity + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/users/item/agreement_acceptances/count/count_request_builder.py b/msgraph_beta/generated/users/item/agreement_acceptances/count/count_request_builder.py index bd2ac4a4a32..475c5531d78 100644 --- a/msgraph_beta/generated/users/item/agreement_acceptances/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/agreement_acceptances/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/analytics/activity_statistics/count/count_request_builder.py b/msgraph_beta/generated/users/item/analytics/activity_statistics/count/count_request_builder.py index c74b268c5bf..201dd0b8867 100644 --- a/msgraph_beta/generated/users/item/analytics/activity_statistics/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/analytics/activity_statistics/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/app_consent_requests_for_approval/count/count_request_builder.py b/msgraph_beta/generated/users/item/app_consent_requests_for_approval/count/count_request_builder.py index 25b3b69d5f9..6abc5b87c4e 100644 --- a/msgraph_beta/generated/users/item/app_consent_requests_for_approval/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/app_consent_requests_for_approval/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/app_consent_requests_for_approval/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py b/msgraph_beta/generated/users/item/app_consent_requests_for_approval/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py index e509b99632e..71dda6ac64b 100644 --- a/msgraph_beta/generated/users/item/app_consent_requests_for_approval/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py +++ b/msgraph_beta/generated/users/item/app_consent_requests_for_approval/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .....models.app_consent_request import AppConsentRequest + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/users/item/app_consent_requests_for_approval/item/user_consent_requests/count/count_request_builder.py b/msgraph_beta/generated/users/item/app_consent_requests_for_approval/item/user_consent_requests/count/count_request_builder.py index 144366f59cb..81a1b10d8a4 100644 --- a/msgraph_beta/generated/users/item/app_consent_requests_for_approval/item/user_consent_requests/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/app_consent_requests_for_approval/item/user_consent_requests/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/app_consent_requests_for_approval/item/user_consent_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py b/msgraph_beta/generated/users/item/app_consent_requests_for_approval/item/user_consent_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py index 09d7071b78a..45e28dae3e5 100644 --- a/msgraph_beta/generated/users/item/app_consent_requests_for_approval/item/user_consent_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py +++ b/msgraph_beta/generated/users/item/app_consent_requests_for_approval/item/user_consent_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .......models.user_consent_request import UserConsentRequest + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/users/item/app_consent_requests_for_approval/item/user_consent_requests/item/approval/steps/count/count_request_builder.py b/msgraph_beta/generated/users/item/app_consent_requests_for_approval/item/user_consent_requests/item/approval/steps/count/count_request_builder.py index cf46707b1a6..441c8315508 100644 --- a/msgraph_beta/generated/users/item/app_consent_requests_for_approval/item/user_consent_requests/item/approval/steps/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/app_consent_requests_for_approval/item/user_consent_requests/item/approval/steps/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/app_role_assigned_resources/count/count_request_builder.py b/msgraph_beta/generated/users/item/app_role_assigned_resources/count/count_request_builder.py index 6ea841fb568..17ba956a371 100644 --- a/msgraph_beta/generated/users/item/app_role_assigned_resources/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/app_role_assigned_resources/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/app_role_assignments/count/count_request_builder.py b/msgraph_beta/generated/users/item/app_role_assignments/count/count_request_builder.py index ab20554636d..417a5261d08 100644 --- a/msgraph_beta/generated/users/item/app_role_assignments/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/app_role_assignments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/approvals/count/count_request_builder.py b/msgraph_beta/generated/users/item/approvals/count/count_request_builder.py index eb5b6c0ede1..45813de967c 100644 --- a/msgraph_beta/generated/users/item/approvals/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/approvals/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/approvals/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py b/msgraph_beta/generated/users/item/approvals/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py index 9d21583413e..bb1a015eccc 100644 --- a/msgraph_beta/generated/users/item/approvals/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py +++ b/msgraph_beta/generated/users/item/approvals/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .....models.approval import Approval + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/users/item/approvals/item/steps/count/count_request_builder.py b/msgraph_beta/generated/users/item/approvals/item/steps/count/count_request_builder.py index 60e3d7374e2..e450b3bc321 100644 --- a/msgraph_beta/generated/users/item/approvals/item/steps/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/approvals/item/steps/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/assign_license/assign_license_post_request_body.py b/msgraph_beta/generated/users/item/assign_license/assign_license_post_request_body.py index d274e0741b7..62c9bcac901 100644 --- a/msgraph_beta/generated/users/item/assign_license/assign_license_post_request_body.py +++ b/msgraph_beta/generated/users/item/assign_license/assign_license_post_request_body.py @@ -54,6 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ....models.assigned_license import AssignedLicense + writer.write_collection_of_object_values("addLicenses", self.add_licenses) writer.write_collection_of_primitive_values("removeLicenses", self.remove_licenses) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/authentication/email_methods/count/count_request_builder.py b/msgraph_beta/generated/users/item/authentication/email_methods/count/count_request_builder.py index bf428b39a7a..98232c4eb2e 100644 --- a/msgraph_beta/generated/users/item/authentication/email_methods/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/authentication/email_methods/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/authentication/fido2_methods/count/count_request_builder.py b/msgraph_beta/generated/users/item/authentication/fido2_methods/count/count_request_builder.py index 69d7fb80966..0807f00aab3 100644 --- a/msgraph_beta/generated/users/item/authentication/fido2_methods/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/authentication/fido2_methods/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/authentication/methods/count/count_request_builder.py b/msgraph_beta/generated/users/item/authentication/methods/count/count_request_builder.py index 4e37f4eaa9c..8b38a77ad2e 100644 --- a/msgraph_beta/generated/users/item/authentication/methods/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/authentication/methods/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/authentication/microsoft_authenticator_methods/count/count_request_builder.py b/msgraph_beta/generated/users/item/authentication/microsoft_authenticator_methods/count/count_request_builder.py index a66135eca56..f43d62659bb 100644 --- a/msgraph_beta/generated/users/item/authentication/microsoft_authenticator_methods/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/authentication/microsoft_authenticator_methods/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/authentication/operations/count/count_request_builder.py b/msgraph_beta/generated/users/item/authentication/operations/count/count_request_builder.py index 1d138458528..30f50be60f9 100644 --- a/msgraph_beta/generated/users/item/authentication/operations/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/authentication/operations/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/authentication/password_methods/count/count_request_builder.py b/msgraph_beta/generated/users/item/authentication/password_methods/count/count_request_builder.py index 38f6b9d12cf..916d11637c5 100644 --- a/msgraph_beta/generated/users/item/authentication/password_methods/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/authentication/password_methods/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/authentication/passwordless_microsoft_authenticator_methods/count/count_request_builder.py b/msgraph_beta/generated/users/item/authentication/passwordless_microsoft_authenticator_methods/count/count_request_builder.py index ff65f91ef65..f0844409377 100644 --- a/msgraph_beta/generated/users/item/authentication/passwordless_microsoft_authenticator_methods/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/authentication/passwordless_microsoft_authenticator_methods/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/authentication/phone_methods/count/count_request_builder.py b/msgraph_beta/generated/users/item/authentication/phone_methods/count/count_request_builder.py index 20d5e464828..c966c900cba 100644 --- a/msgraph_beta/generated/users/item/authentication/phone_methods/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/authentication/phone_methods/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/authentication/platform_credential_methods/count/count_request_builder.py b/msgraph_beta/generated/users/item/authentication/platform_credential_methods/count/count_request_builder.py index 87c5b625f4a..4dab66a8bab 100644 --- a/msgraph_beta/generated/users/item/authentication/platform_credential_methods/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/authentication/platform_credential_methods/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/authentication/software_oath_methods/count/count_request_builder.py b/msgraph_beta/generated/users/item/authentication/software_oath_methods/count/count_request_builder.py index 8c4cea84dc9..37763974eb9 100644 --- a/msgraph_beta/generated/users/item/authentication/software_oath_methods/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/authentication/software_oath_methods/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/authentication/temporary_access_pass_methods/count/count_request_builder.py b/msgraph_beta/generated/users/item/authentication/temporary_access_pass_methods/count/count_request_builder.py index 2112f284e00..24bfe151d83 100644 --- a/msgraph_beta/generated/users/item/authentication/temporary_access_pass_methods/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/authentication/temporary_access_pass_methods/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/authentication/windows_hello_for_business_methods/count/count_request_builder.py b/msgraph_beta/generated/users/item/authentication/windows_hello_for_business_methods/count/count_request_builder.py index c58308782fb..a675ae67922 100644 --- a/msgraph_beta/generated/users/item/authentication/windows_hello_for_business_methods/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/authentication/windows_hello_for_business_methods/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/calendar/allowed_calendar_sharing_roles_with_user/allowed_calendar_sharing_roles_with_user_get_response.py b/msgraph_beta/generated/users/item/calendar/allowed_calendar_sharing_roles_with_user/allowed_calendar_sharing_roles_with_user_get_response.py index f0688fa2a92..2f87e8d8514 100644 --- a/msgraph_beta/generated/users/item/calendar/allowed_calendar_sharing_roles_with_user/allowed_calendar_sharing_roles_with_user_get_response.py +++ b/msgraph_beta/generated/users/item/calendar/allowed_calendar_sharing_roles_with_user/allowed_calendar_sharing_roles_with_user_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .....models.calendar_role_type import CalendarRoleType + writer.write_collection_of_enum_values("value", self.value) diff --git a/msgraph_beta/generated/users/item/calendar/calendar_permissions/count/count_request_builder.py b/msgraph_beta/generated/users/item/calendar/calendar_permissions/count/count_request_builder.py index 35de1303bee..c8ca92d60c8 100644 --- a/msgraph_beta/generated/users/item/calendar/calendar_permissions/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/calendar_permissions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/calendar/calendar_view/count/count_request_builder.py b/msgraph_beta/generated/users/item/calendar/calendar_view/count/count_request_builder.py index da960f45dbe..d2476461990 100644 --- a/msgraph_beta/generated/users/item/calendar/calendar_view/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/calendar_view/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/calendar/calendar_view/delta/delta_get_response.py b/msgraph_beta/generated/users/item/calendar/calendar_view/delta/delta_get_response.py index 33f28895106..2331ea23723 100644 --- a/msgraph_beta/generated/users/item/calendar/calendar_view/delta/delta_get_response.py +++ b/msgraph_beta/generated/users/item/calendar/calendar_view/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ......models.base_delta_function_response import BaseDeltaFunctionResponse + from ......models.event import Event + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/users/item/calendar/calendar_view/item/attachments/count/count_request_builder.py b/msgraph_beta/generated/users/item/calendar/calendar_view/item/attachments/count/count_request_builder.py index c87791c09ce..b0aff28a20b 100644 --- a/msgraph_beta/generated/users/item/calendar/calendar_view/item/attachments/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/calendar_view/item/attachments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/calendar/calendar_view/item/attachments/create_upload_session/create_upload_session_post_request_body.py b/msgraph_beta/generated/users/item/calendar/calendar_view/item/attachments/create_upload_session/create_upload_session_post_request_body.py index eeae70ea12a..2a721f3b1d0 100644 --- a/msgraph_beta/generated/users/item/calendar/calendar_view/item/attachments/create_upload_session/create_upload_session_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendar/calendar_view/item/attachments/create_upload_session/create_upload_session_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ........models.attachment_item import AttachmentItem + writer.write_object_value("AttachmentItem", self.attachment_item) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/calendar/calendar_view/item/decline/decline_post_request_body.py b/msgraph_beta/generated/users/item/calendar/calendar_view/item/decline/decline_post_request_body.py index 6896d571d71..4b9268e5286 100644 --- a/msgraph_beta/generated/users/item/calendar/calendar_view/item/decline/decline_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendar/calendar_view/item/decline/decline_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .......models.time_slot import TimeSlot + writer.write_str_value("Comment", self.comment) writer.write_object_value("ProposedNewTime", self.proposed_new_time) writer.write_bool_value("SendResponse", self.send_response) diff --git a/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/count/count_request_builder.py b/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/count/count_request_builder.py index b071b4e4445..0fcc9f14965 100644 --- a/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/delta/delta_get_response.py b/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/delta/delta_get_response.py index 8b51f454302..712528b2b4e 100644 --- a/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/delta/delta_get_response.py +++ b/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ........models.base_delta_function_response import BaseDeltaFunctionResponse + from ........models.event import Event + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/attachments/count/count_request_builder.py b/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/attachments/count/count_request_builder.py index 828ef3e6f91..761228e1d9c 100644 --- a/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/attachments/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/attachments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_post_request_body.py b/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_post_request_body.py index 1afb99d1e9b..1ac6a8ee63b 100644 --- a/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ..........models.attachment_item import AttachmentItem + writer.write_object_value("AttachmentItem", self.attachment_item) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/decline/decline_post_request_body.py b/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/decline/decline_post_request_body.py index 3e234850025..83aba17e789 100644 --- a/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/decline/decline_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/decline/decline_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .........models.time_slot import TimeSlot + writer.write_str_value("Comment", self.comment) writer.write_object_value("ProposedNewTime", self.proposed_new_time) writer.write_bool_value("SendResponse", self.send_response) diff --git a/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/extensions/count/count_request_builder.py b/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/extensions/count/count_request_builder.py index e728f533057..d4bd8881cab 100644 --- a/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/extensions/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/extensions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/forward/forward_post_request_body.py b/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/forward/forward_post_request_body.py index 076d53b1bce..cf4d15d42c1 100644 --- a/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/forward/forward_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/forward/forward_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .........models.recipient import Recipient + writer.write_str_value("Comment", self.comment) writer.write_collection_of_object_values("ToRecipients", self.to_recipients) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/instances/count/count_request_builder.py b/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/instances/count/count_request_builder.py index 1d5e11ee277..b3aef1397e9 100644 --- a/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/instances/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/instances/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/instances/delta/delta_get_response.py b/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/instances/delta/delta_get_response.py index cf86507ffc0..8093f41db23 100644 --- a/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/instances/delta/delta_get_response.py +++ b/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/instances/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..........models.base_delta_function_response import BaseDeltaFunctionResponse + from ..........models.event import Event + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/attachments/count/count_request_builder.py b/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/attachments/count/count_request_builder.py index a74636c72be..ab797e6c61f 100644 --- a/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/attachments/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/attachments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/attachments/create_upload_session/create_upload_session_post_request_body.py b/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/attachments/create_upload_session/create_upload_session_post_request_body.py index c8e72057440..89fff3d15e0 100644 --- a/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/attachments/create_upload_session/create_upload_session_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/attachments/create_upload_session/create_upload_session_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ............models.attachment_item import AttachmentItem + writer.write_object_value("AttachmentItem", self.attachment_item) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/decline/decline_post_request_body.py b/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/decline/decline_post_request_body.py index 63936b218ef..c34e5c09b6d 100644 --- a/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/decline/decline_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/decline/decline_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ...........models.time_slot import TimeSlot + writer.write_str_value("Comment", self.comment) writer.write_object_value("ProposedNewTime", self.proposed_new_time) writer.write_bool_value("SendResponse", self.send_response) diff --git a/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/extensions/count/count_request_builder.py b/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/extensions/count/count_request_builder.py index 5c7ab18d5bf..751b032324a 100644 --- a/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/extensions/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/extensions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/forward/forward_post_request_body.py b/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/forward/forward_post_request_body.py index 2c300ad064f..7f7a2ba7159 100644 --- a/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/forward/forward_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/forward/forward_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ...........models.recipient import Recipient + writer.write_str_value("Comment", self.comment) writer.write_collection_of_object_values("ToRecipients", self.to_recipients) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/snooze_reminder/snooze_reminder_post_request_body.py b/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/snooze_reminder/snooze_reminder_post_request_body.py index e15ce14e338..546e9c0475f 100644 --- a/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/snooze_reminder/snooze_reminder_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/snooze_reminder/snooze_reminder_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ...........models.date_time_time_zone import DateTimeTimeZone + writer.write_object_value("NewReminderTime", self.new_reminder_time) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/tentatively_accept/tentatively_accept_post_request_body.py b/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/tentatively_accept/tentatively_accept_post_request_body.py index bf464913407..dec7b03eb56 100644 --- a/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/tentatively_accept/tentatively_accept_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/tentatively_accept/tentatively_accept_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ...........models.time_slot import TimeSlot + writer.write_str_value("Comment", self.comment) writer.write_object_value("ProposedNewTime", self.proposed_new_time) writer.write_bool_value("SendResponse", self.send_response) diff --git a/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/snooze_reminder/snooze_reminder_post_request_body.py b/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/snooze_reminder/snooze_reminder_post_request_body.py index 5ea881213e6..2e9f63f43aa 100644 --- a/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/snooze_reminder/snooze_reminder_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/snooze_reminder/snooze_reminder_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .........models.date_time_time_zone import DateTimeTimeZone + writer.write_object_value("NewReminderTime", self.new_reminder_time) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/tentatively_accept/tentatively_accept_post_request_body.py b/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/tentatively_accept/tentatively_accept_post_request_body.py index e26bd40db3d..99ec091e0e3 100644 --- a/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/tentatively_accept/tentatively_accept_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/tentatively_accept/tentatively_accept_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .........models.time_slot import TimeSlot + writer.write_str_value("Comment", self.comment) writer.write_object_value("ProposedNewTime", self.proposed_new_time) writer.write_bool_value("SendResponse", self.send_response) diff --git a/msgraph_beta/generated/users/item/calendar/calendar_view/item/extensions/count/count_request_builder.py b/msgraph_beta/generated/users/item/calendar/calendar_view/item/extensions/count/count_request_builder.py index 83dba56372a..40ded6599f0 100644 --- a/msgraph_beta/generated/users/item/calendar/calendar_view/item/extensions/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/calendar_view/item/extensions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/calendar/calendar_view/item/forward/forward_post_request_body.py b/msgraph_beta/generated/users/item/calendar/calendar_view/item/forward/forward_post_request_body.py index 0d328db4490..0e5417efbc0 100644 --- a/msgraph_beta/generated/users/item/calendar/calendar_view/item/forward/forward_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendar/calendar_view/item/forward/forward_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .......models.recipient import Recipient + writer.write_str_value("Comment", self.comment) writer.write_collection_of_object_values("ToRecipients", self.to_recipients) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/count/count_request_builder.py b/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/count/count_request_builder.py index 3b98adaef38..eb3318b290c 100644 --- a/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/delta/delta_get_response.py b/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/delta/delta_get_response.py index 8b51f454302..712528b2b4e 100644 --- a/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/delta/delta_get_response.py +++ b/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ........models.base_delta_function_response import BaseDeltaFunctionResponse + from ........models.event import Event + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/attachments/count/count_request_builder.py b/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/attachments/count/count_request_builder.py index 0127adf24ef..31a0cd260f4 100644 --- a/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/attachments/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/attachments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/attachments/create_upload_session/create_upload_session_post_request_body.py b/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/attachments/create_upload_session/create_upload_session_post_request_body.py index 1afb99d1e9b..1ac6a8ee63b 100644 --- a/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/attachments/create_upload_session/create_upload_session_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/attachments/create_upload_session/create_upload_session_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ..........models.attachment_item import AttachmentItem + writer.write_object_value("AttachmentItem", self.attachment_item) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/decline/decline_post_request_body.py b/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/decline/decline_post_request_body.py index 3e234850025..83aba17e789 100644 --- a/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/decline/decline_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/decline/decline_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .........models.time_slot import TimeSlot + writer.write_str_value("Comment", self.comment) writer.write_object_value("ProposedNewTime", self.proposed_new_time) writer.write_bool_value("SendResponse", self.send_response) diff --git a/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/exception_occurrences/count/count_request_builder.py b/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/exception_occurrences/count/count_request_builder.py index 19143b34f50..4c937de6a4a 100644 --- a/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/exception_occurrences/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/exception_occurrences/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/exception_occurrences/delta/delta_get_response.py b/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/exception_occurrences/delta/delta_get_response.py index cf86507ffc0..8093f41db23 100644 --- a/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/exception_occurrences/delta/delta_get_response.py +++ b/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/exception_occurrences/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..........models.base_delta_function_response import BaseDeltaFunctionResponse + from ..........models.event import Event + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/attachments/count/count_request_builder.py b/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/attachments/count/count_request_builder.py index ea4fef6c868..0a2de199918 100644 --- a/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/attachments/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/attachments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_post_request_body.py b/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_post_request_body.py index c8e72057440..89fff3d15e0 100644 --- a/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ............models.attachment_item import AttachmentItem + writer.write_object_value("AttachmentItem", self.attachment_item) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/decline/decline_post_request_body.py b/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/decline/decline_post_request_body.py index 63936b218ef..c34e5c09b6d 100644 --- a/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/decline/decline_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/decline/decline_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ...........models.time_slot import TimeSlot + writer.write_str_value("Comment", self.comment) writer.write_object_value("ProposedNewTime", self.proposed_new_time) writer.write_bool_value("SendResponse", self.send_response) diff --git a/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/extensions/count/count_request_builder.py b/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/extensions/count/count_request_builder.py index 88126c9aeb9..bb6677887f1 100644 --- a/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/extensions/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/extensions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/forward/forward_post_request_body.py b/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/forward/forward_post_request_body.py index 2c300ad064f..7f7a2ba7159 100644 --- a/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/forward/forward_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/forward/forward_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ...........models.recipient import Recipient + writer.write_str_value("Comment", self.comment) writer.write_collection_of_object_values("ToRecipients", self.to_recipients) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/snooze_reminder/snooze_reminder_post_request_body.py b/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/snooze_reminder/snooze_reminder_post_request_body.py index e15ce14e338..546e9c0475f 100644 --- a/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/snooze_reminder/snooze_reminder_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/snooze_reminder/snooze_reminder_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ...........models.date_time_time_zone import DateTimeTimeZone + writer.write_object_value("NewReminderTime", self.new_reminder_time) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/tentatively_accept/tentatively_accept_post_request_body.py b/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/tentatively_accept/tentatively_accept_post_request_body.py index bf464913407..dec7b03eb56 100644 --- a/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/tentatively_accept/tentatively_accept_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/tentatively_accept/tentatively_accept_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ...........models.time_slot import TimeSlot + writer.write_str_value("Comment", self.comment) writer.write_object_value("ProposedNewTime", self.proposed_new_time) writer.write_bool_value("SendResponse", self.send_response) diff --git a/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/extensions/count/count_request_builder.py b/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/extensions/count/count_request_builder.py index 2e0d305d7a5..ed6d6dd085e 100644 --- a/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/extensions/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/extensions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/forward/forward_post_request_body.py b/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/forward/forward_post_request_body.py index 076d53b1bce..cf4d15d42c1 100644 --- a/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/forward/forward_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/forward/forward_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .........models.recipient import Recipient + writer.write_str_value("Comment", self.comment) writer.write_collection_of_object_values("ToRecipients", self.to_recipients) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/snooze_reminder/snooze_reminder_post_request_body.py b/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/snooze_reminder/snooze_reminder_post_request_body.py index 5ea881213e6..2e9f63f43aa 100644 --- a/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/snooze_reminder/snooze_reminder_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/snooze_reminder/snooze_reminder_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .........models.date_time_time_zone import DateTimeTimeZone + writer.write_object_value("NewReminderTime", self.new_reminder_time) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/tentatively_accept/tentatively_accept_post_request_body.py b/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/tentatively_accept/tentatively_accept_post_request_body.py index e26bd40db3d..99ec091e0e3 100644 --- a/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/tentatively_accept/tentatively_accept_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/tentatively_accept/tentatively_accept_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .........models.time_slot import TimeSlot + writer.write_str_value("Comment", self.comment) writer.write_object_value("ProposedNewTime", self.proposed_new_time) writer.write_bool_value("SendResponse", self.send_response) diff --git a/msgraph_beta/generated/users/item/calendar/calendar_view/item/snooze_reminder/snooze_reminder_post_request_body.py b/msgraph_beta/generated/users/item/calendar/calendar_view/item/snooze_reminder/snooze_reminder_post_request_body.py index d8091656f07..c5a84835e87 100644 --- a/msgraph_beta/generated/users/item/calendar/calendar_view/item/snooze_reminder/snooze_reminder_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendar/calendar_view/item/snooze_reminder/snooze_reminder_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .......models.date_time_time_zone import DateTimeTimeZone + writer.write_object_value("NewReminderTime", self.new_reminder_time) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/calendar/calendar_view/item/tentatively_accept/tentatively_accept_post_request_body.py b/msgraph_beta/generated/users/item/calendar/calendar_view/item/tentatively_accept/tentatively_accept_post_request_body.py index 8f83a4a5680..f2d9f507641 100644 --- a/msgraph_beta/generated/users/item/calendar/calendar_view/item/tentatively_accept/tentatively_accept_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendar/calendar_view/item/tentatively_accept/tentatively_accept_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .......models.time_slot import TimeSlot + writer.write_str_value("Comment", self.comment) writer.write_object_value("ProposedNewTime", self.proposed_new_time) writer.write_bool_value("SendResponse", self.send_response) diff --git a/msgraph_beta/generated/users/item/calendar/events/count/count_request_builder.py b/msgraph_beta/generated/users/item/calendar/events/count/count_request_builder.py index 25db9ca5ad3..0107b73e6d6 100644 --- a/msgraph_beta/generated/users/item/calendar/events/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/events/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/calendar/events/delta/delta_get_response.py b/msgraph_beta/generated/users/item/calendar/events/delta/delta_get_response.py index 33f28895106..2331ea23723 100644 --- a/msgraph_beta/generated/users/item/calendar/events/delta/delta_get_response.py +++ b/msgraph_beta/generated/users/item/calendar/events/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ......models.base_delta_function_response import BaseDeltaFunctionResponse + from ......models.event import Event + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/users/item/calendar/events/item/attachments/count/count_request_builder.py b/msgraph_beta/generated/users/item/calendar/events/item/attachments/count/count_request_builder.py index 12983281ab1..82d13744b4c 100644 --- a/msgraph_beta/generated/users/item/calendar/events/item/attachments/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/events/item/attachments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/calendar/events/item/attachments/create_upload_session/create_upload_session_post_request_body.py b/msgraph_beta/generated/users/item/calendar/events/item/attachments/create_upload_session/create_upload_session_post_request_body.py index eeae70ea12a..2a721f3b1d0 100644 --- a/msgraph_beta/generated/users/item/calendar/events/item/attachments/create_upload_session/create_upload_session_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendar/events/item/attachments/create_upload_session/create_upload_session_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ........models.attachment_item import AttachmentItem + writer.write_object_value("AttachmentItem", self.attachment_item) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/calendar/events/item/decline/decline_post_request_body.py b/msgraph_beta/generated/users/item/calendar/events/item/decline/decline_post_request_body.py index 6896d571d71..4b9268e5286 100644 --- a/msgraph_beta/generated/users/item/calendar/events/item/decline/decline_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendar/events/item/decline/decline_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .......models.time_slot import TimeSlot + writer.write_str_value("Comment", self.comment) writer.write_object_value("ProposedNewTime", self.proposed_new_time) writer.write_bool_value("SendResponse", self.send_response) diff --git a/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/count/count_request_builder.py b/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/count/count_request_builder.py index a42de3ec328..6fd02b914da 100644 --- a/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/delta/delta_get_response.py b/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/delta/delta_get_response.py index 8b51f454302..712528b2b4e 100644 --- a/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/delta/delta_get_response.py +++ b/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ........models.base_delta_function_response import BaseDeltaFunctionResponse + from ........models.event import Event + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/attachments/count/count_request_builder.py b/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/attachments/count/count_request_builder.py index 8caea8a0419..d74090445b0 100644 --- a/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/attachments/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/attachments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_post_request_body.py b/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_post_request_body.py index 1afb99d1e9b..1ac6a8ee63b 100644 --- a/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ..........models.attachment_item import AttachmentItem + writer.write_object_value("AttachmentItem", self.attachment_item) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/decline/decline_post_request_body.py b/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/decline/decline_post_request_body.py index 3e234850025..83aba17e789 100644 --- a/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/decline/decline_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/decline/decline_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .........models.time_slot import TimeSlot + writer.write_str_value("Comment", self.comment) writer.write_object_value("ProposedNewTime", self.proposed_new_time) writer.write_bool_value("SendResponse", self.send_response) diff --git a/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/extensions/count/count_request_builder.py b/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/extensions/count/count_request_builder.py index 46a96e2856e..67c47f81209 100644 --- a/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/extensions/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/extensions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/forward/forward_post_request_body.py b/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/forward/forward_post_request_body.py index 076d53b1bce..cf4d15d42c1 100644 --- a/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/forward/forward_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/forward/forward_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .........models.recipient import Recipient + writer.write_str_value("Comment", self.comment) writer.write_collection_of_object_values("ToRecipients", self.to_recipients) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/instances/count/count_request_builder.py b/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/instances/count/count_request_builder.py index 7598cdcda4e..9255bee5fb5 100644 --- a/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/instances/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/instances/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/instances/delta/delta_get_response.py b/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/instances/delta/delta_get_response.py index cf86507ffc0..8093f41db23 100644 --- a/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/instances/delta/delta_get_response.py +++ b/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/instances/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..........models.base_delta_function_response import BaseDeltaFunctionResponse + from ..........models.event import Event + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/instances/item/attachments/count/count_request_builder.py b/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/instances/item/attachments/count/count_request_builder.py index 003e0423f95..754c3a20fff 100644 --- a/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/instances/item/attachments/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/instances/item/attachments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/instances/item/attachments/create_upload_session/create_upload_session_post_request_body.py b/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/instances/item/attachments/create_upload_session/create_upload_session_post_request_body.py index c8e72057440..89fff3d15e0 100644 --- a/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/instances/item/attachments/create_upload_session/create_upload_session_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/instances/item/attachments/create_upload_session/create_upload_session_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ............models.attachment_item import AttachmentItem + writer.write_object_value("AttachmentItem", self.attachment_item) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/instances/item/decline/decline_post_request_body.py b/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/instances/item/decline/decline_post_request_body.py index 63936b218ef..c34e5c09b6d 100644 --- a/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/instances/item/decline/decline_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/instances/item/decline/decline_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ...........models.time_slot import TimeSlot + writer.write_str_value("Comment", self.comment) writer.write_object_value("ProposedNewTime", self.proposed_new_time) writer.write_bool_value("SendResponse", self.send_response) diff --git a/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/instances/item/extensions/count/count_request_builder.py b/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/instances/item/extensions/count/count_request_builder.py index 88506e0fe5e..85a347b23f0 100644 --- a/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/instances/item/extensions/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/instances/item/extensions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/instances/item/forward/forward_post_request_body.py b/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/instances/item/forward/forward_post_request_body.py index 2c300ad064f..7f7a2ba7159 100644 --- a/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/instances/item/forward/forward_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/instances/item/forward/forward_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ...........models.recipient import Recipient + writer.write_str_value("Comment", self.comment) writer.write_collection_of_object_values("ToRecipients", self.to_recipients) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/instances/item/snooze_reminder/snooze_reminder_post_request_body.py b/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/instances/item/snooze_reminder/snooze_reminder_post_request_body.py index e15ce14e338..546e9c0475f 100644 --- a/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/instances/item/snooze_reminder/snooze_reminder_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/instances/item/snooze_reminder/snooze_reminder_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ...........models.date_time_time_zone import DateTimeTimeZone + writer.write_object_value("NewReminderTime", self.new_reminder_time) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/instances/item/tentatively_accept/tentatively_accept_post_request_body.py b/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/instances/item/tentatively_accept/tentatively_accept_post_request_body.py index bf464913407..dec7b03eb56 100644 --- a/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/instances/item/tentatively_accept/tentatively_accept_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/instances/item/tentatively_accept/tentatively_accept_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ...........models.time_slot import TimeSlot + writer.write_str_value("Comment", self.comment) writer.write_object_value("ProposedNewTime", self.proposed_new_time) writer.write_bool_value("SendResponse", self.send_response) diff --git a/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/snooze_reminder/snooze_reminder_post_request_body.py b/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/snooze_reminder/snooze_reminder_post_request_body.py index 5ea881213e6..2e9f63f43aa 100644 --- a/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/snooze_reminder/snooze_reminder_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/snooze_reminder/snooze_reminder_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .........models.date_time_time_zone import DateTimeTimeZone + writer.write_object_value("NewReminderTime", self.new_reminder_time) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/tentatively_accept/tentatively_accept_post_request_body.py b/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/tentatively_accept/tentatively_accept_post_request_body.py index e26bd40db3d..99ec091e0e3 100644 --- a/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/tentatively_accept/tentatively_accept_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/tentatively_accept/tentatively_accept_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .........models.time_slot import TimeSlot + writer.write_str_value("Comment", self.comment) writer.write_object_value("ProposedNewTime", self.proposed_new_time) writer.write_bool_value("SendResponse", self.send_response) diff --git a/msgraph_beta/generated/users/item/calendar/events/item/extensions/count/count_request_builder.py b/msgraph_beta/generated/users/item/calendar/events/item/extensions/count/count_request_builder.py index fcffc1aacaa..943f86dd2e9 100644 --- a/msgraph_beta/generated/users/item/calendar/events/item/extensions/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/events/item/extensions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/calendar/events/item/forward/forward_post_request_body.py b/msgraph_beta/generated/users/item/calendar/events/item/forward/forward_post_request_body.py index 0d328db4490..0e5417efbc0 100644 --- a/msgraph_beta/generated/users/item/calendar/events/item/forward/forward_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendar/events/item/forward/forward_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .......models.recipient import Recipient + writer.write_str_value("Comment", self.comment) writer.write_collection_of_object_values("ToRecipients", self.to_recipients) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/calendar/events/item/instances/count/count_request_builder.py b/msgraph_beta/generated/users/item/calendar/events/item/instances/count/count_request_builder.py index b4b55b19b3f..f68886379a6 100644 --- a/msgraph_beta/generated/users/item/calendar/events/item/instances/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/events/item/instances/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/calendar/events/item/instances/delta/delta_get_response.py b/msgraph_beta/generated/users/item/calendar/events/item/instances/delta/delta_get_response.py index 8b51f454302..712528b2b4e 100644 --- a/msgraph_beta/generated/users/item/calendar/events/item/instances/delta/delta_get_response.py +++ b/msgraph_beta/generated/users/item/calendar/events/item/instances/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ........models.base_delta_function_response import BaseDeltaFunctionResponse + from ........models.event import Event + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/users/item/calendar/events/item/instances/item/attachments/count/count_request_builder.py b/msgraph_beta/generated/users/item/calendar/events/item/instances/item/attachments/count/count_request_builder.py index 03116d614c8..b20bceb7eb1 100644 --- a/msgraph_beta/generated/users/item/calendar/events/item/instances/item/attachments/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/events/item/instances/item/attachments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/calendar/events/item/instances/item/attachments/create_upload_session/create_upload_session_post_request_body.py b/msgraph_beta/generated/users/item/calendar/events/item/instances/item/attachments/create_upload_session/create_upload_session_post_request_body.py index 1afb99d1e9b..1ac6a8ee63b 100644 --- a/msgraph_beta/generated/users/item/calendar/events/item/instances/item/attachments/create_upload_session/create_upload_session_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendar/events/item/instances/item/attachments/create_upload_session/create_upload_session_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ..........models.attachment_item import AttachmentItem + writer.write_object_value("AttachmentItem", self.attachment_item) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/calendar/events/item/instances/item/decline/decline_post_request_body.py b/msgraph_beta/generated/users/item/calendar/events/item/instances/item/decline/decline_post_request_body.py index 3e234850025..83aba17e789 100644 --- a/msgraph_beta/generated/users/item/calendar/events/item/instances/item/decline/decline_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendar/events/item/instances/item/decline/decline_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .........models.time_slot import TimeSlot + writer.write_str_value("Comment", self.comment) writer.write_object_value("ProposedNewTime", self.proposed_new_time) writer.write_bool_value("SendResponse", self.send_response) diff --git a/msgraph_beta/generated/users/item/calendar/events/item/instances/item/exception_occurrences/count/count_request_builder.py b/msgraph_beta/generated/users/item/calendar/events/item/instances/item/exception_occurrences/count/count_request_builder.py index 66f1ced0207..1d89700253e 100644 --- a/msgraph_beta/generated/users/item/calendar/events/item/instances/item/exception_occurrences/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/events/item/instances/item/exception_occurrences/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/calendar/events/item/instances/item/exception_occurrences/delta/delta_get_response.py b/msgraph_beta/generated/users/item/calendar/events/item/instances/item/exception_occurrences/delta/delta_get_response.py index cf86507ffc0..8093f41db23 100644 --- a/msgraph_beta/generated/users/item/calendar/events/item/instances/item/exception_occurrences/delta/delta_get_response.py +++ b/msgraph_beta/generated/users/item/calendar/events/item/instances/item/exception_occurrences/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..........models.base_delta_function_response import BaseDeltaFunctionResponse + from ..........models.event import Event + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/users/item/calendar/events/item/instances/item/exception_occurrences/item/attachments/count/count_request_builder.py b/msgraph_beta/generated/users/item/calendar/events/item/instances/item/exception_occurrences/item/attachments/count/count_request_builder.py index 168004a6c83..472c37d470d 100644 --- a/msgraph_beta/generated/users/item/calendar/events/item/instances/item/exception_occurrences/item/attachments/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/events/item/instances/item/exception_occurrences/item/attachments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/calendar/events/item/instances/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_post_request_body.py b/msgraph_beta/generated/users/item/calendar/events/item/instances/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_post_request_body.py index c8e72057440..89fff3d15e0 100644 --- a/msgraph_beta/generated/users/item/calendar/events/item/instances/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendar/events/item/instances/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ............models.attachment_item import AttachmentItem + writer.write_object_value("AttachmentItem", self.attachment_item) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/calendar/events/item/instances/item/exception_occurrences/item/decline/decline_post_request_body.py b/msgraph_beta/generated/users/item/calendar/events/item/instances/item/exception_occurrences/item/decline/decline_post_request_body.py index 63936b218ef..c34e5c09b6d 100644 --- a/msgraph_beta/generated/users/item/calendar/events/item/instances/item/exception_occurrences/item/decline/decline_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendar/events/item/instances/item/exception_occurrences/item/decline/decline_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ...........models.time_slot import TimeSlot + writer.write_str_value("Comment", self.comment) writer.write_object_value("ProposedNewTime", self.proposed_new_time) writer.write_bool_value("SendResponse", self.send_response) diff --git a/msgraph_beta/generated/users/item/calendar/events/item/instances/item/exception_occurrences/item/extensions/count/count_request_builder.py b/msgraph_beta/generated/users/item/calendar/events/item/instances/item/exception_occurrences/item/extensions/count/count_request_builder.py index 58e7b7aee3f..25e0e42ea4c 100644 --- a/msgraph_beta/generated/users/item/calendar/events/item/instances/item/exception_occurrences/item/extensions/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/events/item/instances/item/exception_occurrences/item/extensions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/calendar/events/item/instances/item/exception_occurrences/item/forward/forward_post_request_body.py b/msgraph_beta/generated/users/item/calendar/events/item/instances/item/exception_occurrences/item/forward/forward_post_request_body.py index 2c300ad064f..7f7a2ba7159 100644 --- a/msgraph_beta/generated/users/item/calendar/events/item/instances/item/exception_occurrences/item/forward/forward_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendar/events/item/instances/item/exception_occurrences/item/forward/forward_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ...........models.recipient import Recipient + writer.write_str_value("Comment", self.comment) writer.write_collection_of_object_values("ToRecipients", self.to_recipients) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/calendar/events/item/instances/item/exception_occurrences/item/snooze_reminder/snooze_reminder_post_request_body.py b/msgraph_beta/generated/users/item/calendar/events/item/instances/item/exception_occurrences/item/snooze_reminder/snooze_reminder_post_request_body.py index e15ce14e338..546e9c0475f 100644 --- a/msgraph_beta/generated/users/item/calendar/events/item/instances/item/exception_occurrences/item/snooze_reminder/snooze_reminder_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendar/events/item/instances/item/exception_occurrences/item/snooze_reminder/snooze_reminder_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ...........models.date_time_time_zone import DateTimeTimeZone + writer.write_object_value("NewReminderTime", self.new_reminder_time) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/calendar/events/item/instances/item/exception_occurrences/item/tentatively_accept/tentatively_accept_post_request_body.py b/msgraph_beta/generated/users/item/calendar/events/item/instances/item/exception_occurrences/item/tentatively_accept/tentatively_accept_post_request_body.py index bf464913407..dec7b03eb56 100644 --- a/msgraph_beta/generated/users/item/calendar/events/item/instances/item/exception_occurrences/item/tentatively_accept/tentatively_accept_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendar/events/item/instances/item/exception_occurrences/item/tentatively_accept/tentatively_accept_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ...........models.time_slot import TimeSlot + writer.write_str_value("Comment", self.comment) writer.write_object_value("ProposedNewTime", self.proposed_new_time) writer.write_bool_value("SendResponse", self.send_response) diff --git a/msgraph_beta/generated/users/item/calendar/events/item/instances/item/extensions/count/count_request_builder.py b/msgraph_beta/generated/users/item/calendar/events/item/instances/item/extensions/count/count_request_builder.py index a93edd7684a..e42ce2a7cba 100644 --- a/msgraph_beta/generated/users/item/calendar/events/item/instances/item/extensions/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/events/item/instances/item/extensions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/calendar/events/item/instances/item/forward/forward_post_request_body.py b/msgraph_beta/generated/users/item/calendar/events/item/instances/item/forward/forward_post_request_body.py index 076d53b1bce..cf4d15d42c1 100644 --- a/msgraph_beta/generated/users/item/calendar/events/item/instances/item/forward/forward_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendar/events/item/instances/item/forward/forward_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .........models.recipient import Recipient + writer.write_str_value("Comment", self.comment) writer.write_collection_of_object_values("ToRecipients", self.to_recipients) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/calendar/events/item/instances/item/snooze_reminder/snooze_reminder_post_request_body.py b/msgraph_beta/generated/users/item/calendar/events/item/instances/item/snooze_reminder/snooze_reminder_post_request_body.py index 5ea881213e6..2e9f63f43aa 100644 --- a/msgraph_beta/generated/users/item/calendar/events/item/instances/item/snooze_reminder/snooze_reminder_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendar/events/item/instances/item/snooze_reminder/snooze_reminder_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .........models.date_time_time_zone import DateTimeTimeZone + writer.write_object_value("NewReminderTime", self.new_reminder_time) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/calendar/events/item/instances/item/tentatively_accept/tentatively_accept_post_request_body.py b/msgraph_beta/generated/users/item/calendar/events/item/instances/item/tentatively_accept/tentatively_accept_post_request_body.py index e26bd40db3d..99ec091e0e3 100644 --- a/msgraph_beta/generated/users/item/calendar/events/item/instances/item/tentatively_accept/tentatively_accept_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendar/events/item/instances/item/tentatively_accept/tentatively_accept_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .........models.time_slot import TimeSlot + writer.write_str_value("Comment", self.comment) writer.write_object_value("ProposedNewTime", self.proposed_new_time) writer.write_bool_value("SendResponse", self.send_response) diff --git a/msgraph_beta/generated/users/item/calendar/events/item/snooze_reminder/snooze_reminder_post_request_body.py b/msgraph_beta/generated/users/item/calendar/events/item/snooze_reminder/snooze_reminder_post_request_body.py index d8091656f07..c5a84835e87 100644 --- a/msgraph_beta/generated/users/item/calendar/events/item/snooze_reminder/snooze_reminder_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendar/events/item/snooze_reminder/snooze_reminder_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .......models.date_time_time_zone import DateTimeTimeZone + writer.write_object_value("NewReminderTime", self.new_reminder_time) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/calendar/events/item/tentatively_accept/tentatively_accept_post_request_body.py b/msgraph_beta/generated/users/item/calendar/events/item/tentatively_accept/tentatively_accept_post_request_body.py index 8f83a4a5680..f2d9f507641 100644 --- a/msgraph_beta/generated/users/item/calendar/events/item/tentatively_accept/tentatively_accept_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendar/events/item/tentatively_accept/tentatively_accept_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .......models.time_slot import TimeSlot + writer.write_str_value("Comment", self.comment) writer.write_object_value("ProposedNewTime", self.proposed_new_time) writer.write_bool_value("SendResponse", self.send_response) diff --git a/msgraph_beta/generated/users/item/calendar/get_schedule/get_schedule_post_request_body.py b/msgraph_beta/generated/users/item/calendar/get_schedule/get_schedule_post_request_body.py index a6c1c3389a8..959478db3b8 100644 --- a/msgraph_beta/generated/users/item/calendar/get_schedule/get_schedule_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendar/get_schedule/get_schedule_post_request_body.py @@ -59,6 +59,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.date_time_time_zone import DateTimeTimeZone + writer.write_int_value("AvailabilityViewInterval", self.availability_view_interval) writer.write_object_value("EndTime", self.end_time) writer.write_collection_of_primitive_values("Schedules", self.schedules) diff --git a/msgraph_beta/generated/users/item/calendar/get_schedule/get_schedule_post_response.py b/msgraph_beta/generated/users/item/calendar/get_schedule/get_schedule_post_response.py index df00ee48e7d..41c1e11f113 100644 --- a/msgraph_beta/generated/users/item/calendar/get_schedule/get_schedule_post_response.py +++ b/msgraph_beta/generated/users/item/calendar/get_schedule/get_schedule_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .....models.schedule_information import ScheduleInformation + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/users/item/calendar_groups/count/count_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/count/count_request_builder.py index 060de9d1372..3b596b402a6 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/count/count_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/count/count_request_builder.py index 00aa2b1ea29..414afa73fd0 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/allowed_calendar_sharing_roles_with_user/allowed_calendar_sharing_roles_with_user_get_response.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/allowed_calendar_sharing_roles_with_user/allowed_calendar_sharing_roles_with_user_get_response.py index 0205d84019b..fd4c55a233b 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/allowed_calendar_sharing_roles_with_user/allowed_calendar_sharing_roles_with_user_get_response.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/allowed_calendar_sharing_roles_with_user/allowed_calendar_sharing_roles_with_user_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ........models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ........models.calendar_role_type import CalendarRoleType + writer.write_collection_of_enum_values("value", self.value) diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_permissions/count/count_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_permissions/count/count_request_builder.py index 032df1cf960..738571b3aa6 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_permissions/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_permissions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/count/count_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/count/count_request_builder.py index e951ebc9e09..bea50205b6c 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/delta/delta_get_response.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/delta/delta_get_response.py index 23fb1ca654a..db2534e5b05 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/delta/delta_get_response.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .........models.base_delta_function_response import BaseDeltaFunctionResponse + from .........models.event import Event + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/attachments/count/count_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/attachments/count/count_request_builder.py index 313d069bc4f..00bb32a69c8 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/attachments/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/attachments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/attachments/create_upload_session/create_upload_session_post_request_body.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/attachments/create_upload_session/create_upload_session_post_request_body.py index 720f6db83c7..c831f06aaf2 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/attachments/create_upload_session/create_upload_session_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/attachments/create_upload_session/create_upload_session_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ...........models.attachment_item import AttachmentItem + writer.write_object_value("AttachmentItem", self.attachment_item) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/decline/decline_post_request_body.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/decline/decline_post_request_body.py index b1b31ebf43f..af0d655163d 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/decline/decline_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/decline/decline_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ..........models.time_slot import TimeSlot + writer.write_str_value("Comment", self.comment) writer.write_object_value("ProposedNewTime", self.proposed_new_time) writer.write_bool_value("SendResponse", self.send_response) diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/count/count_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/count/count_request_builder.py index 916048a7411..b7916b01373 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/delta/delta_get_response.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/delta/delta_get_response.py index 276bf8e9181..9b46653489a 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/delta/delta_get_response.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ...........models.base_delta_function_response import BaseDeltaFunctionResponse + from ...........models.event import Event + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/attachments/count/count_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/attachments/count/count_request_builder.py index 04ea9cff633..96fabc8f0f5 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/attachments/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/attachments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_post_request_body.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_post_request_body.py index 78619597fbf..f0b3a869b53 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .............models.attachment_item import AttachmentItem + writer.write_object_value("AttachmentItem", self.attachment_item) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/decline/decline_post_request_body.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/decline/decline_post_request_body.py index e539fb2533d..4831ccc2170 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/decline/decline_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/decline/decline_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ............models.time_slot import TimeSlot + writer.write_str_value("Comment", self.comment) writer.write_object_value("ProposedNewTime", self.proposed_new_time) writer.write_bool_value("SendResponse", self.send_response) diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/extensions/count/count_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/extensions/count/count_request_builder.py index 7cf0467b028..093d99a2a53 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/extensions/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/extensions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/forward/forward_post_request_body.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/forward/forward_post_request_body.py index dae1f140027..8969cfa8e18 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/forward/forward_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/forward/forward_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ............models.recipient import Recipient + writer.write_str_value("Comment", self.comment) writer.write_collection_of_object_values("ToRecipients", self.to_recipients) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/count/count_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/count/count_request_builder.py index 29f2d78e73f..728fdb539ec 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/delta/delta_get_response.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/delta/delta_get_response.py index 1bab38a8dd3..8cf0ca2e282 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/delta/delta_get_response.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .............models.base_delta_function_response import BaseDeltaFunctionResponse + from .............models.event import Event + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/attachments/count/count_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/attachments/count/count_request_builder.py index baa27c72584..8fb5c2c543c 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/attachments/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/attachments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/attachments/create_upload_session/create_upload_session_post_request_body.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/attachments/create_upload_session/create_upload_session_post_request_body.py index 48427a95aa7..67c57926ecb 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/attachments/create_upload_session/create_upload_session_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/attachments/create_upload_session/create_upload_session_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ...............models.attachment_item import AttachmentItem + writer.write_object_value("AttachmentItem", self.attachment_item) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/decline/decline_post_request_body.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/decline/decline_post_request_body.py index 99789063817..b293f0a4ad7 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/decline/decline_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/decline/decline_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ..............models.time_slot import TimeSlot + writer.write_str_value("Comment", self.comment) writer.write_object_value("ProposedNewTime", self.proposed_new_time) writer.write_bool_value("SendResponse", self.send_response) diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/extensions/count/count_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/extensions/count/count_request_builder.py index 2fd2c9aa3d6..40c504f85a4 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/extensions/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/extensions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/forward/forward_post_request_body.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/forward/forward_post_request_body.py index 0b786603291..7a5fbcea935 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/forward/forward_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/forward/forward_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ..............models.recipient import Recipient + writer.write_str_value("Comment", self.comment) writer.write_collection_of_object_values("ToRecipients", self.to_recipients) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/snooze_reminder/snooze_reminder_post_request_body.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/snooze_reminder/snooze_reminder_post_request_body.py index 7b7aa246c50..d97b6a6b708 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/snooze_reminder/snooze_reminder_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/snooze_reminder/snooze_reminder_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ..............models.date_time_time_zone import DateTimeTimeZone + writer.write_object_value("NewReminderTime", self.new_reminder_time) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/tentatively_accept/tentatively_accept_post_request_body.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/tentatively_accept/tentatively_accept_post_request_body.py index b6d3299553e..4b9d9865b70 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/tentatively_accept/tentatively_accept_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/tentatively_accept/tentatively_accept_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ..............models.time_slot import TimeSlot + writer.write_str_value("Comment", self.comment) writer.write_object_value("ProposedNewTime", self.proposed_new_time) writer.write_bool_value("SendResponse", self.send_response) diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/snooze_reminder/snooze_reminder_post_request_body.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/snooze_reminder/snooze_reminder_post_request_body.py index a63a1e50552..71f17f0742d 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/snooze_reminder/snooze_reminder_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/snooze_reminder/snooze_reminder_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ............models.date_time_time_zone import DateTimeTimeZone + writer.write_object_value("NewReminderTime", self.new_reminder_time) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/tentatively_accept/tentatively_accept_post_request_body.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/tentatively_accept/tentatively_accept_post_request_body.py index 0ce1a32e160..a405e4c0168 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/tentatively_accept/tentatively_accept_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/tentatively_accept/tentatively_accept_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ............models.time_slot import TimeSlot + writer.write_str_value("Comment", self.comment) writer.write_object_value("ProposedNewTime", self.proposed_new_time) writer.write_bool_value("SendResponse", self.send_response) diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/extensions/count/count_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/extensions/count/count_request_builder.py index 3df525baaa1..767bb7f4396 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/extensions/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/extensions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/forward/forward_post_request_body.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/forward/forward_post_request_body.py index e30831a3e49..291cb53db24 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/forward/forward_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/forward/forward_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ..........models.recipient import Recipient + writer.write_str_value("Comment", self.comment) writer.write_collection_of_object_values("ToRecipients", self.to_recipients) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/count/count_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/count/count_request_builder.py index d921ca60d79..6ed84895300 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/delta/delta_get_response.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/delta/delta_get_response.py index 276bf8e9181..9b46653489a 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/delta/delta_get_response.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ...........models.base_delta_function_response import BaseDeltaFunctionResponse + from ...........models.event import Event + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/attachments/count/count_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/attachments/count/count_request_builder.py index aeb361dc125..d7d85f133ad 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/attachments/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/attachments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/attachments/create_upload_session/create_upload_session_post_request_body.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/attachments/create_upload_session/create_upload_session_post_request_body.py index 78619597fbf..f0b3a869b53 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/attachments/create_upload_session/create_upload_session_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/attachments/create_upload_session/create_upload_session_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .............models.attachment_item import AttachmentItem + writer.write_object_value("AttachmentItem", self.attachment_item) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/decline/decline_post_request_body.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/decline/decline_post_request_body.py index e539fb2533d..4831ccc2170 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/decline/decline_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/decline/decline_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ............models.time_slot import TimeSlot + writer.write_str_value("Comment", self.comment) writer.write_object_value("ProposedNewTime", self.proposed_new_time) writer.write_bool_value("SendResponse", self.send_response) diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/count/count_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/count/count_request_builder.py index 23373c46049..09b97ee4ca8 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/delta/delta_get_response.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/delta/delta_get_response.py index 1bab38a8dd3..8cf0ca2e282 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/delta/delta_get_response.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .............models.base_delta_function_response import BaseDeltaFunctionResponse + from .............models.event import Event + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/attachments/count/count_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/attachments/count/count_request_builder.py index 439b05d774a..01cc3bb22f8 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/attachments/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/attachments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_post_request_body.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_post_request_body.py index 48427a95aa7..67c57926ecb 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ...............models.attachment_item import AttachmentItem + writer.write_object_value("AttachmentItem", self.attachment_item) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/decline/decline_post_request_body.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/decline/decline_post_request_body.py index 99789063817..b293f0a4ad7 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/decline/decline_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/decline/decline_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ..............models.time_slot import TimeSlot + writer.write_str_value("Comment", self.comment) writer.write_object_value("ProposedNewTime", self.proposed_new_time) writer.write_bool_value("SendResponse", self.send_response) diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/extensions/count/count_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/extensions/count/count_request_builder.py index 67d35c785ed..ceccdef14fb 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/extensions/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/extensions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/forward/forward_post_request_body.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/forward/forward_post_request_body.py index 0b786603291..7a5fbcea935 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/forward/forward_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/forward/forward_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ..............models.recipient import Recipient + writer.write_str_value("Comment", self.comment) writer.write_collection_of_object_values("ToRecipients", self.to_recipients) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/snooze_reminder/snooze_reminder_post_request_body.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/snooze_reminder/snooze_reminder_post_request_body.py index 7b7aa246c50..d97b6a6b708 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/snooze_reminder/snooze_reminder_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/snooze_reminder/snooze_reminder_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ..............models.date_time_time_zone import DateTimeTimeZone + writer.write_object_value("NewReminderTime", self.new_reminder_time) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/tentatively_accept/tentatively_accept_post_request_body.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/tentatively_accept/tentatively_accept_post_request_body.py index b6d3299553e..4b9d9865b70 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/tentatively_accept/tentatively_accept_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/tentatively_accept/tentatively_accept_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ..............models.time_slot import TimeSlot + writer.write_str_value("Comment", self.comment) writer.write_object_value("ProposedNewTime", self.proposed_new_time) writer.write_bool_value("SendResponse", self.send_response) diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/extensions/count/count_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/extensions/count/count_request_builder.py index eb9562d3649..317dfe882a2 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/extensions/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/extensions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/forward/forward_post_request_body.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/forward/forward_post_request_body.py index dae1f140027..8969cfa8e18 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/forward/forward_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/forward/forward_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ............models.recipient import Recipient + writer.write_str_value("Comment", self.comment) writer.write_collection_of_object_values("ToRecipients", self.to_recipients) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/snooze_reminder/snooze_reminder_post_request_body.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/snooze_reminder/snooze_reminder_post_request_body.py index a63a1e50552..71f17f0742d 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/snooze_reminder/snooze_reminder_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/snooze_reminder/snooze_reminder_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ............models.date_time_time_zone import DateTimeTimeZone + writer.write_object_value("NewReminderTime", self.new_reminder_time) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/tentatively_accept/tentatively_accept_post_request_body.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/tentatively_accept/tentatively_accept_post_request_body.py index 0ce1a32e160..a405e4c0168 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/tentatively_accept/tentatively_accept_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/tentatively_accept/tentatively_accept_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ............models.time_slot import TimeSlot + writer.write_str_value("Comment", self.comment) writer.write_object_value("ProposedNewTime", self.proposed_new_time) writer.write_bool_value("SendResponse", self.send_response) diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/snooze_reminder/snooze_reminder_post_request_body.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/snooze_reminder/snooze_reminder_post_request_body.py index 965ed80b889..fe4b708f070 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/snooze_reminder/snooze_reminder_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/snooze_reminder/snooze_reminder_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ..........models.date_time_time_zone import DateTimeTimeZone + writer.write_object_value("NewReminderTime", self.new_reminder_time) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/tentatively_accept/tentatively_accept_post_request_body.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/tentatively_accept/tentatively_accept_post_request_body.py index 0f34906867b..956b28b2a29 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/tentatively_accept/tentatively_accept_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/tentatively_accept/tentatively_accept_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ..........models.time_slot import TimeSlot + writer.write_str_value("Comment", self.comment) writer.write_object_value("ProposedNewTime", self.proposed_new_time) writer.write_bool_value("SendResponse", self.send_response) diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/count/count_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/count/count_request_builder.py index d367c502a3a..14ee9c4ed79 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/delta/delta_get_response.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/delta/delta_get_response.py index 23fb1ca654a..db2534e5b05 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/delta/delta_get_response.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .........models.base_delta_function_response import BaseDeltaFunctionResponse + from .........models.event import Event + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/attachments/count/count_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/attachments/count/count_request_builder.py index eef1b9a6c37..fba43055bfc 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/attachments/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/attachments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/attachments/create_upload_session/create_upload_session_post_request_body.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/attachments/create_upload_session/create_upload_session_post_request_body.py index 720f6db83c7..c831f06aaf2 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/attachments/create_upload_session/create_upload_session_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/attachments/create_upload_session/create_upload_session_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ...........models.attachment_item import AttachmentItem + writer.write_object_value("AttachmentItem", self.attachment_item) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/decline/decline_post_request_body.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/decline/decline_post_request_body.py index b1b31ebf43f..af0d655163d 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/decline/decline_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/decline/decline_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ..........models.time_slot import TimeSlot + writer.write_str_value("Comment", self.comment) writer.write_object_value("ProposedNewTime", self.proposed_new_time) writer.write_bool_value("SendResponse", self.send_response) diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/count/count_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/count/count_request_builder.py index 256ce810b46..be4b9532267 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/delta/delta_get_response.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/delta/delta_get_response.py index 276bf8e9181..9b46653489a 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/delta/delta_get_response.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ...........models.base_delta_function_response import BaseDeltaFunctionResponse + from ...........models.event import Event + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/attachments/count/count_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/attachments/count/count_request_builder.py index 7caaffc5e83..bd80e22e3e7 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/attachments/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/attachments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_post_request_body.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_post_request_body.py index 78619597fbf..f0b3a869b53 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .............models.attachment_item import AttachmentItem + writer.write_object_value("AttachmentItem", self.attachment_item) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/decline/decline_post_request_body.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/decline/decline_post_request_body.py index e539fb2533d..4831ccc2170 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/decline/decline_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/decline/decline_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ............models.time_slot import TimeSlot + writer.write_str_value("Comment", self.comment) writer.write_object_value("ProposedNewTime", self.proposed_new_time) writer.write_bool_value("SendResponse", self.send_response) diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/extensions/count/count_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/extensions/count/count_request_builder.py index 22dde2411ef..f7bd2bf4ce9 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/extensions/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/extensions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/forward/forward_post_request_body.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/forward/forward_post_request_body.py index dae1f140027..8969cfa8e18 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/forward/forward_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/forward/forward_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ............models.recipient import Recipient + writer.write_str_value("Comment", self.comment) writer.write_collection_of_object_values("ToRecipients", self.to_recipients) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/instances/count/count_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/instances/count/count_request_builder.py index 63702b44bee..d0e63f7bae4 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/instances/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/instances/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/instances/delta/delta_get_response.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/instances/delta/delta_get_response.py index 1bab38a8dd3..8cf0ca2e282 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/instances/delta/delta_get_response.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/instances/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .............models.base_delta_function_response import BaseDeltaFunctionResponse + from .............models.event import Event + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/instances/item/attachments/count/count_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/instances/item/attachments/count/count_request_builder.py index e6eea733f85..97276351303 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/instances/item/attachments/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/instances/item/attachments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/instances/item/attachments/create_upload_session/create_upload_session_post_request_body.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/instances/item/attachments/create_upload_session/create_upload_session_post_request_body.py index 48427a95aa7..67c57926ecb 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/instances/item/attachments/create_upload_session/create_upload_session_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/instances/item/attachments/create_upload_session/create_upload_session_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ...............models.attachment_item import AttachmentItem + writer.write_object_value("AttachmentItem", self.attachment_item) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/instances/item/decline/decline_post_request_body.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/instances/item/decline/decline_post_request_body.py index 99789063817..b293f0a4ad7 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/instances/item/decline/decline_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/instances/item/decline/decline_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ..............models.time_slot import TimeSlot + writer.write_str_value("Comment", self.comment) writer.write_object_value("ProposedNewTime", self.proposed_new_time) writer.write_bool_value("SendResponse", self.send_response) diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/instances/item/extensions/count/count_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/instances/item/extensions/count/count_request_builder.py index e42fdead105..d2b28d49e09 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/instances/item/extensions/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/instances/item/extensions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/instances/item/forward/forward_post_request_body.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/instances/item/forward/forward_post_request_body.py index 0b786603291..7a5fbcea935 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/instances/item/forward/forward_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/instances/item/forward/forward_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ..............models.recipient import Recipient + writer.write_str_value("Comment", self.comment) writer.write_collection_of_object_values("ToRecipients", self.to_recipients) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/instances/item/snooze_reminder/snooze_reminder_post_request_body.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/instances/item/snooze_reminder/snooze_reminder_post_request_body.py index 7b7aa246c50..d97b6a6b708 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/instances/item/snooze_reminder/snooze_reminder_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/instances/item/snooze_reminder/snooze_reminder_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ..............models.date_time_time_zone import DateTimeTimeZone + writer.write_object_value("NewReminderTime", self.new_reminder_time) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/instances/item/tentatively_accept/tentatively_accept_post_request_body.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/instances/item/tentatively_accept/tentatively_accept_post_request_body.py index b6d3299553e..4b9d9865b70 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/instances/item/tentatively_accept/tentatively_accept_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/instances/item/tentatively_accept/tentatively_accept_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ..............models.time_slot import TimeSlot + writer.write_str_value("Comment", self.comment) writer.write_object_value("ProposedNewTime", self.proposed_new_time) writer.write_bool_value("SendResponse", self.send_response) diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/snooze_reminder/snooze_reminder_post_request_body.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/snooze_reminder/snooze_reminder_post_request_body.py index a63a1e50552..71f17f0742d 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/snooze_reminder/snooze_reminder_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/snooze_reminder/snooze_reminder_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ............models.date_time_time_zone import DateTimeTimeZone + writer.write_object_value("NewReminderTime", self.new_reminder_time) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/tentatively_accept/tentatively_accept_post_request_body.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/tentatively_accept/tentatively_accept_post_request_body.py index 0ce1a32e160..a405e4c0168 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/tentatively_accept/tentatively_accept_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/tentatively_accept/tentatively_accept_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ............models.time_slot import TimeSlot + writer.write_str_value("Comment", self.comment) writer.write_object_value("ProposedNewTime", self.proposed_new_time) writer.write_bool_value("SendResponse", self.send_response) diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/extensions/count/count_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/extensions/count/count_request_builder.py index f810e176fd6..780322d8c71 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/extensions/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/extensions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/forward/forward_post_request_body.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/forward/forward_post_request_body.py index e30831a3e49..291cb53db24 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/forward/forward_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/forward/forward_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ..........models.recipient import Recipient + writer.write_str_value("Comment", self.comment) writer.write_collection_of_object_values("ToRecipients", self.to_recipients) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/count/count_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/count/count_request_builder.py index 8e550f9ffb3..847aa24b0f6 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/delta/delta_get_response.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/delta/delta_get_response.py index 276bf8e9181..9b46653489a 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/delta/delta_get_response.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ...........models.base_delta_function_response import BaseDeltaFunctionResponse + from ...........models.event import Event + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/attachments/count/count_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/attachments/count/count_request_builder.py index b0bcd014be3..f09695f0bbf 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/attachments/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/attachments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/attachments/create_upload_session/create_upload_session_post_request_body.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/attachments/create_upload_session/create_upload_session_post_request_body.py index 78619597fbf..f0b3a869b53 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/attachments/create_upload_session/create_upload_session_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/attachments/create_upload_session/create_upload_session_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .............models.attachment_item import AttachmentItem + writer.write_object_value("AttachmentItem", self.attachment_item) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/decline/decline_post_request_body.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/decline/decline_post_request_body.py index e539fb2533d..4831ccc2170 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/decline/decline_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/decline/decline_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ............models.time_slot import TimeSlot + writer.write_str_value("Comment", self.comment) writer.write_object_value("ProposedNewTime", self.proposed_new_time) writer.write_bool_value("SendResponse", self.send_response) diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/exception_occurrences/count/count_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/exception_occurrences/count/count_request_builder.py index 1d34a495fa2..557633d3c9b 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/exception_occurrences/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/exception_occurrences/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/exception_occurrences/delta/delta_get_response.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/exception_occurrences/delta/delta_get_response.py index 1bab38a8dd3..8cf0ca2e282 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/exception_occurrences/delta/delta_get_response.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/exception_occurrences/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .............models.base_delta_function_response import BaseDeltaFunctionResponse + from .............models.event import Event + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/exception_occurrences/item/attachments/count/count_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/exception_occurrences/item/attachments/count/count_request_builder.py index a526fb632bc..8577b19c167 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/exception_occurrences/item/attachments/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/exception_occurrences/item/attachments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_post_request_body.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_post_request_body.py index 48427a95aa7..67c57926ecb 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ...............models.attachment_item import AttachmentItem + writer.write_object_value("AttachmentItem", self.attachment_item) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/exception_occurrences/item/decline/decline_post_request_body.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/exception_occurrences/item/decline/decline_post_request_body.py index 99789063817..b293f0a4ad7 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/exception_occurrences/item/decline/decline_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/exception_occurrences/item/decline/decline_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ..............models.time_slot import TimeSlot + writer.write_str_value("Comment", self.comment) writer.write_object_value("ProposedNewTime", self.proposed_new_time) writer.write_bool_value("SendResponse", self.send_response) diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/exception_occurrences/item/extensions/count/count_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/exception_occurrences/item/extensions/count/count_request_builder.py index 1a69c84091c..b4d112a8f96 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/exception_occurrences/item/extensions/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/exception_occurrences/item/extensions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/exception_occurrences/item/forward/forward_post_request_body.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/exception_occurrences/item/forward/forward_post_request_body.py index 0b786603291..7a5fbcea935 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/exception_occurrences/item/forward/forward_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/exception_occurrences/item/forward/forward_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ..............models.recipient import Recipient + writer.write_str_value("Comment", self.comment) writer.write_collection_of_object_values("ToRecipients", self.to_recipients) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/exception_occurrences/item/snooze_reminder/snooze_reminder_post_request_body.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/exception_occurrences/item/snooze_reminder/snooze_reminder_post_request_body.py index 7b7aa246c50..d97b6a6b708 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/exception_occurrences/item/snooze_reminder/snooze_reminder_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/exception_occurrences/item/snooze_reminder/snooze_reminder_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ..............models.date_time_time_zone import DateTimeTimeZone + writer.write_object_value("NewReminderTime", self.new_reminder_time) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/exception_occurrences/item/tentatively_accept/tentatively_accept_post_request_body.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/exception_occurrences/item/tentatively_accept/tentatively_accept_post_request_body.py index b6d3299553e..4b9d9865b70 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/exception_occurrences/item/tentatively_accept/tentatively_accept_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/exception_occurrences/item/tentatively_accept/tentatively_accept_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ..............models.time_slot import TimeSlot + writer.write_str_value("Comment", self.comment) writer.write_object_value("ProposedNewTime", self.proposed_new_time) writer.write_bool_value("SendResponse", self.send_response) diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/extensions/count/count_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/extensions/count/count_request_builder.py index 94e896c5370..5417a439f90 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/extensions/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/extensions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/forward/forward_post_request_body.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/forward/forward_post_request_body.py index dae1f140027..8969cfa8e18 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/forward/forward_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/forward/forward_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ............models.recipient import Recipient + writer.write_str_value("Comment", self.comment) writer.write_collection_of_object_values("ToRecipients", self.to_recipients) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/snooze_reminder/snooze_reminder_post_request_body.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/snooze_reminder/snooze_reminder_post_request_body.py index a63a1e50552..71f17f0742d 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/snooze_reminder/snooze_reminder_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/snooze_reminder/snooze_reminder_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ............models.date_time_time_zone import DateTimeTimeZone + writer.write_object_value("NewReminderTime", self.new_reminder_time) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/tentatively_accept/tentatively_accept_post_request_body.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/tentatively_accept/tentatively_accept_post_request_body.py index 0ce1a32e160..a405e4c0168 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/tentatively_accept/tentatively_accept_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/tentatively_accept/tentatively_accept_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ............models.time_slot import TimeSlot + writer.write_str_value("Comment", self.comment) writer.write_object_value("ProposedNewTime", self.proposed_new_time) writer.write_bool_value("SendResponse", self.send_response) diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/snooze_reminder/snooze_reminder_post_request_body.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/snooze_reminder/snooze_reminder_post_request_body.py index 965ed80b889..fe4b708f070 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/snooze_reminder/snooze_reminder_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/snooze_reminder/snooze_reminder_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ..........models.date_time_time_zone import DateTimeTimeZone + writer.write_object_value("NewReminderTime", self.new_reminder_time) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/tentatively_accept/tentatively_accept_post_request_body.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/tentatively_accept/tentatively_accept_post_request_body.py index 0f34906867b..956b28b2a29 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/tentatively_accept/tentatively_accept_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/tentatively_accept/tentatively_accept_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ..........models.time_slot import TimeSlot + writer.write_str_value("Comment", self.comment) writer.write_object_value("ProposedNewTime", self.proposed_new_time) writer.write_bool_value("SendResponse", self.send_response) diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/get_schedule/get_schedule_post_request_body.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/get_schedule/get_schedule_post_request_body.py index 7d3c9b70bc3..adf56f99ee9 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/get_schedule/get_schedule_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/get_schedule/get_schedule_post_request_body.py @@ -59,6 +59,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ........models.date_time_time_zone import DateTimeTimeZone + writer.write_int_value("AvailabilityViewInterval", self.availability_view_interval) writer.write_object_value("EndTime", self.end_time) writer.write_collection_of_primitive_values("Schedules", self.schedules) diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/get_schedule/get_schedule_post_response.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/get_schedule/get_schedule_post_response.py index 93be37d15f5..94a3d694765 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/get_schedule/get_schedule_post_response.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/get_schedule/get_schedule_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ........models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ........models.schedule_information import ScheduleInformation + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/users/item/calendar_view/count/count_request_builder.py b/msgraph_beta/generated/users/item/calendar_view/count/count_request_builder.py index e64819eb762..ca2ff239529 100644 --- a/msgraph_beta/generated/users/item/calendar_view/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_view/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/calendar_view/delta/delta_get_response.py b/msgraph_beta/generated/users/item/calendar_view/delta/delta_get_response.py index 624d2ff9617..7b7b14f8a80 100644 --- a/msgraph_beta/generated/users/item/calendar_view/delta/delta_get_response.py +++ b/msgraph_beta/generated/users/item/calendar_view/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .....models.base_delta_function_response import BaseDeltaFunctionResponse + from .....models.event import Event + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/users/item/calendar_view/item/attachments/count/count_request_builder.py b/msgraph_beta/generated/users/item/calendar_view/item/attachments/count/count_request_builder.py index 43ec0ce7214..ca23bf135a6 100644 --- a/msgraph_beta/generated/users/item/calendar_view/item/attachments/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_view/item/attachments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/calendar_view/item/attachments/create_upload_session/create_upload_session_post_request_body.py b/msgraph_beta/generated/users/item/calendar_view/item/attachments/create_upload_session/create_upload_session_post_request_body.py index c0ac38ff4df..9b2361ec3bc 100644 --- a/msgraph_beta/generated/users/item/calendar_view/item/attachments/create_upload_session/create_upload_session_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendar_view/item/attachments/create_upload_session/create_upload_session_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .......models.attachment_item import AttachmentItem + writer.write_object_value("AttachmentItem", self.attachment_item) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/calendar_view/item/decline/decline_post_request_body.py b/msgraph_beta/generated/users/item/calendar_view/item/decline/decline_post_request_body.py index 2979ad69ea0..da59f3c7288 100644 --- a/msgraph_beta/generated/users/item/calendar_view/item/decline/decline_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendar_view/item/decline/decline_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ......models.time_slot import TimeSlot + writer.write_str_value("Comment", self.comment) writer.write_object_value("ProposedNewTime", self.proposed_new_time) writer.write_bool_value("SendResponse", self.send_response) diff --git a/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/count/count_request_builder.py b/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/count/count_request_builder.py index 8f6a7d2947e..c595e488df4 100644 --- a/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/delta/delta_get_response.py b/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/delta/delta_get_response.py index 284febf7b58..97346f2d2cd 100644 --- a/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/delta/delta_get_response.py +++ b/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .......models.base_delta_function_response import BaseDeltaFunctionResponse + from .......models.event import Event + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/attachments/count/count_request_builder.py b/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/attachments/count/count_request_builder.py index 36b22f8063a..846345e6019 100644 --- a/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/attachments/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/attachments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_post_request_body.py b/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_post_request_body.py index 2dccea4559f..23154d22cc3 100644 --- a/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .........models.attachment_item import AttachmentItem + writer.write_object_value("AttachmentItem", self.attachment_item) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/decline/decline_post_request_body.py b/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/decline/decline_post_request_body.py index 5d8b2272815..553bcd6bb26 100644 --- a/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/decline/decline_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/decline/decline_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ........models.time_slot import TimeSlot + writer.write_str_value("Comment", self.comment) writer.write_object_value("ProposedNewTime", self.proposed_new_time) writer.write_bool_value("SendResponse", self.send_response) diff --git a/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/extensions/count/count_request_builder.py b/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/extensions/count/count_request_builder.py index 651695bbac1..3c303134fa4 100644 --- a/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/extensions/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/extensions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/forward/forward_post_request_body.py b/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/forward/forward_post_request_body.py index c6dc81f4080..a46731eaf35 100644 --- a/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/forward/forward_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/forward/forward_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ........models.recipient import Recipient + writer.write_str_value("Comment", self.comment) writer.write_collection_of_object_values("ToRecipients", self.to_recipients) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/instances/count/count_request_builder.py b/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/instances/count/count_request_builder.py index 8a60af67563..e536cffdb77 100644 --- a/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/instances/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/instances/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/instances/delta/delta_get_response.py b/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/instances/delta/delta_get_response.py index 23fb1ca654a..db2534e5b05 100644 --- a/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/instances/delta/delta_get_response.py +++ b/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/instances/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .........models.base_delta_function_response import BaseDeltaFunctionResponse + from .........models.event import Event + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/instances/item/attachments/count/count_request_builder.py b/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/instances/item/attachments/count/count_request_builder.py index 8089ac50a81..b72c07a8748 100644 --- a/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/instances/item/attachments/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/instances/item/attachments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/instances/item/attachments/create_upload_session/create_upload_session_post_request_body.py b/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/instances/item/attachments/create_upload_session/create_upload_session_post_request_body.py index 720f6db83c7..c831f06aaf2 100644 --- a/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/instances/item/attachments/create_upload_session/create_upload_session_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/instances/item/attachments/create_upload_session/create_upload_session_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ...........models.attachment_item import AttachmentItem + writer.write_object_value("AttachmentItem", self.attachment_item) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/instances/item/decline/decline_post_request_body.py b/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/instances/item/decline/decline_post_request_body.py index b1b31ebf43f..af0d655163d 100644 --- a/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/instances/item/decline/decline_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/instances/item/decline/decline_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ..........models.time_slot import TimeSlot + writer.write_str_value("Comment", self.comment) writer.write_object_value("ProposedNewTime", self.proposed_new_time) writer.write_bool_value("SendResponse", self.send_response) diff --git a/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/instances/item/extensions/count/count_request_builder.py b/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/instances/item/extensions/count/count_request_builder.py index e913df10b0c..0a3b36901f3 100644 --- a/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/instances/item/extensions/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/instances/item/extensions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/instances/item/forward/forward_post_request_body.py b/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/instances/item/forward/forward_post_request_body.py index e30831a3e49..291cb53db24 100644 --- a/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/instances/item/forward/forward_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/instances/item/forward/forward_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ..........models.recipient import Recipient + writer.write_str_value("Comment", self.comment) writer.write_collection_of_object_values("ToRecipients", self.to_recipients) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/instances/item/snooze_reminder/snooze_reminder_post_request_body.py b/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/instances/item/snooze_reminder/snooze_reminder_post_request_body.py index 965ed80b889..fe4b708f070 100644 --- a/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/instances/item/snooze_reminder/snooze_reminder_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/instances/item/snooze_reminder/snooze_reminder_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ..........models.date_time_time_zone import DateTimeTimeZone + writer.write_object_value("NewReminderTime", self.new_reminder_time) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/instances/item/tentatively_accept/tentatively_accept_post_request_body.py b/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/instances/item/tentatively_accept/tentatively_accept_post_request_body.py index 0f34906867b..956b28b2a29 100644 --- a/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/instances/item/tentatively_accept/tentatively_accept_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/instances/item/tentatively_accept/tentatively_accept_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ..........models.time_slot import TimeSlot + writer.write_str_value("Comment", self.comment) writer.write_object_value("ProposedNewTime", self.proposed_new_time) writer.write_bool_value("SendResponse", self.send_response) diff --git a/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/snooze_reminder/snooze_reminder_post_request_body.py b/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/snooze_reminder/snooze_reminder_post_request_body.py index 812d7af6110..74f5520c222 100644 --- a/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/snooze_reminder/snooze_reminder_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/snooze_reminder/snooze_reminder_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ........models.date_time_time_zone import DateTimeTimeZone + writer.write_object_value("NewReminderTime", self.new_reminder_time) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/tentatively_accept/tentatively_accept_post_request_body.py b/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/tentatively_accept/tentatively_accept_post_request_body.py index 1104b6b5c4d..2a8b802ad27 100644 --- a/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/tentatively_accept/tentatively_accept_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/tentatively_accept/tentatively_accept_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ........models.time_slot import TimeSlot + writer.write_str_value("Comment", self.comment) writer.write_object_value("ProposedNewTime", self.proposed_new_time) writer.write_bool_value("SendResponse", self.send_response) diff --git a/msgraph_beta/generated/users/item/calendar_view/item/extensions/count/count_request_builder.py b/msgraph_beta/generated/users/item/calendar_view/item/extensions/count/count_request_builder.py index 59546b65fba..de7c30bce7e 100644 --- a/msgraph_beta/generated/users/item/calendar_view/item/extensions/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_view/item/extensions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/calendar_view/item/forward/forward_post_request_body.py b/msgraph_beta/generated/users/item/calendar_view/item/forward/forward_post_request_body.py index a420e81d4c8..71817be714a 100644 --- a/msgraph_beta/generated/users/item/calendar_view/item/forward/forward_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendar_view/item/forward/forward_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ......models.recipient import Recipient + writer.write_str_value("Comment", self.comment) writer.write_collection_of_object_values("ToRecipients", self.to_recipients) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/calendar_view/item/instances/count/count_request_builder.py b/msgraph_beta/generated/users/item/calendar_view/item/instances/count/count_request_builder.py index 270f3ec5164..a35578a12b0 100644 --- a/msgraph_beta/generated/users/item/calendar_view/item/instances/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_view/item/instances/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/calendar_view/item/instances/delta/delta_get_response.py b/msgraph_beta/generated/users/item/calendar_view/item/instances/delta/delta_get_response.py index 284febf7b58..97346f2d2cd 100644 --- a/msgraph_beta/generated/users/item/calendar_view/item/instances/delta/delta_get_response.py +++ b/msgraph_beta/generated/users/item/calendar_view/item/instances/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .......models.base_delta_function_response import BaseDeltaFunctionResponse + from .......models.event import Event + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/users/item/calendar_view/item/instances/item/attachments/count/count_request_builder.py b/msgraph_beta/generated/users/item/calendar_view/item/instances/item/attachments/count/count_request_builder.py index 985b0c38a6c..7eece4cfc30 100644 --- a/msgraph_beta/generated/users/item/calendar_view/item/instances/item/attachments/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_view/item/instances/item/attachments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/calendar_view/item/instances/item/attachments/create_upload_session/create_upload_session_post_request_body.py b/msgraph_beta/generated/users/item/calendar_view/item/instances/item/attachments/create_upload_session/create_upload_session_post_request_body.py index 2dccea4559f..23154d22cc3 100644 --- a/msgraph_beta/generated/users/item/calendar_view/item/instances/item/attachments/create_upload_session/create_upload_session_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendar_view/item/instances/item/attachments/create_upload_session/create_upload_session_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .........models.attachment_item import AttachmentItem + writer.write_object_value("AttachmentItem", self.attachment_item) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/calendar_view/item/instances/item/decline/decline_post_request_body.py b/msgraph_beta/generated/users/item/calendar_view/item/instances/item/decline/decline_post_request_body.py index 5d8b2272815..553bcd6bb26 100644 --- a/msgraph_beta/generated/users/item/calendar_view/item/instances/item/decline/decline_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendar_view/item/instances/item/decline/decline_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ........models.time_slot import TimeSlot + writer.write_str_value("Comment", self.comment) writer.write_object_value("ProposedNewTime", self.proposed_new_time) writer.write_bool_value("SendResponse", self.send_response) diff --git a/msgraph_beta/generated/users/item/calendar_view/item/instances/item/exception_occurrences/count/count_request_builder.py b/msgraph_beta/generated/users/item/calendar_view/item/instances/item/exception_occurrences/count/count_request_builder.py index 0572f2c2e5d..b7071e69d4b 100644 --- a/msgraph_beta/generated/users/item/calendar_view/item/instances/item/exception_occurrences/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_view/item/instances/item/exception_occurrences/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/calendar_view/item/instances/item/exception_occurrences/delta/delta_get_response.py b/msgraph_beta/generated/users/item/calendar_view/item/instances/item/exception_occurrences/delta/delta_get_response.py index 23fb1ca654a..db2534e5b05 100644 --- a/msgraph_beta/generated/users/item/calendar_view/item/instances/item/exception_occurrences/delta/delta_get_response.py +++ b/msgraph_beta/generated/users/item/calendar_view/item/instances/item/exception_occurrences/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .........models.base_delta_function_response import BaseDeltaFunctionResponse + from .........models.event import Event + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/users/item/calendar_view/item/instances/item/exception_occurrences/item/attachments/count/count_request_builder.py b/msgraph_beta/generated/users/item/calendar_view/item/instances/item/exception_occurrences/item/attachments/count/count_request_builder.py index 93295a38016..0a8d0ea2253 100644 --- a/msgraph_beta/generated/users/item/calendar_view/item/instances/item/exception_occurrences/item/attachments/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_view/item/instances/item/exception_occurrences/item/attachments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/calendar_view/item/instances/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_post_request_body.py b/msgraph_beta/generated/users/item/calendar_view/item/instances/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_post_request_body.py index 720f6db83c7..c831f06aaf2 100644 --- a/msgraph_beta/generated/users/item/calendar_view/item/instances/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendar_view/item/instances/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ...........models.attachment_item import AttachmentItem + writer.write_object_value("AttachmentItem", self.attachment_item) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/calendar_view/item/instances/item/exception_occurrences/item/decline/decline_post_request_body.py b/msgraph_beta/generated/users/item/calendar_view/item/instances/item/exception_occurrences/item/decline/decline_post_request_body.py index b1b31ebf43f..af0d655163d 100644 --- a/msgraph_beta/generated/users/item/calendar_view/item/instances/item/exception_occurrences/item/decline/decline_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendar_view/item/instances/item/exception_occurrences/item/decline/decline_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ..........models.time_slot import TimeSlot + writer.write_str_value("Comment", self.comment) writer.write_object_value("ProposedNewTime", self.proposed_new_time) writer.write_bool_value("SendResponse", self.send_response) diff --git a/msgraph_beta/generated/users/item/calendar_view/item/instances/item/exception_occurrences/item/extensions/count/count_request_builder.py b/msgraph_beta/generated/users/item/calendar_view/item/instances/item/exception_occurrences/item/extensions/count/count_request_builder.py index 121856e8f42..cc3c1186e65 100644 --- a/msgraph_beta/generated/users/item/calendar_view/item/instances/item/exception_occurrences/item/extensions/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_view/item/instances/item/exception_occurrences/item/extensions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/calendar_view/item/instances/item/exception_occurrences/item/forward/forward_post_request_body.py b/msgraph_beta/generated/users/item/calendar_view/item/instances/item/exception_occurrences/item/forward/forward_post_request_body.py index e30831a3e49..291cb53db24 100644 --- a/msgraph_beta/generated/users/item/calendar_view/item/instances/item/exception_occurrences/item/forward/forward_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendar_view/item/instances/item/exception_occurrences/item/forward/forward_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ..........models.recipient import Recipient + writer.write_str_value("Comment", self.comment) writer.write_collection_of_object_values("ToRecipients", self.to_recipients) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/calendar_view/item/instances/item/exception_occurrences/item/snooze_reminder/snooze_reminder_post_request_body.py b/msgraph_beta/generated/users/item/calendar_view/item/instances/item/exception_occurrences/item/snooze_reminder/snooze_reminder_post_request_body.py index 965ed80b889..fe4b708f070 100644 --- a/msgraph_beta/generated/users/item/calendar_view/item/instances/item/exception_occurrences/item/snooze_reminder/snooze_reminder_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendar_view/item/instances/item/exception_occurrences/item/snooze_reminder/snooze_reminder_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ..........models.date_time_time_zone import DateTimeTimeZone + writer.write_object_value("NewReminderTime", self.new_reminder_time) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/calendar_view/item/instances/item/exception_occurrences/item/tentatively_accept/tentatively_accept_post_request_body.py b/msgraph_beta/generated/users/item/calendar_view/item/instances/item/exception_occurrences/item/tentatively_accept/tentatively_accept_post_request_body.py index 0f34906867b..956b28b2a29 100644 --- a/msgraph_beta/generated/users/item/calendar_view/item/instances/item/exception_occurrences/item/tentatively_accept/tentatively_accept_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendar_view/item/instances/item/exception_occurrences/item/tentatively_accept/tentatively_accept_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ..........models.time_slot import TimeSlot + writer.write_str_value("Comment", self.comment) writer.write_object_value("ProposedNewTime", self.proposed_new_time) writer.write_bool_value("SendResponse", self.send_response) diff --git a/msgraph_beta/generated/users/item/calendar_view/item/instances/item/extensions/count/count_request_builder.py b/msgraph_beta/generated/users/item/calendar_view/item/instances/item/extensions/count/count_request_builder.py index f09948ec777..d1987490e52 100644 --- a/msgraph_beta/generated/users/item/calendar_view/item/instances/item/extensions/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_view/item/instances/item/extensions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/calendar_view/item/instances/item/forward/forward_post_request_body.py b/msgraph_beta/generated/users/item/calendar_view/item/instances/item/forward/forward_post_request_body.py index c6dc81f4080..a46731eaf35 100644 --- a/msgraph_beta/generated/users/item/calendar_view/item/instances/item/forward/forward_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendar_view/item/instances/item/forward/forward_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ........models.recipient import Recipient + writer.write_str_value("Comment", self.comment) writer.write_collection_of_object_values("ToRecipients", self.to_recipients) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/calendar_view/item/instances/item/snooze_reminder/snooze_reminder_post_request_body.py b/msgraph_beta/generated/users/item/calendar_view/item/instances/item/snooze_reminder/snooze_reminder_post_request_body.py index 812d7af6110..74f5520c222 100644 --- a/msgraph_beta/generated/users/item/calendar_view/item/instances/item/snooze_reminder/snooze_reminder_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendar_view/item/instances/item/snooze_reminder/snooze_reminder_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ........models.date_time_time_zone import DateTimeTimeZone + writer.write_object_value("NewReminderTime", self.new_reminder_time) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/calendar_view/item/instances/item/tentatively_accept/tentatively_accept_post_request_body.py b/msgraph_beta/generated/users/item/calendar_view/item/instances/item/tentatively_accept/tentatively_accept_post_request_body.py index 1104b6b5c4d..2a8b802ad27 100644 --- a/msgraph_beta/generated/users/item/calendar_view/item/instances/item/tentatively_accept/tentatively_accept_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendar_view/item/instances/item/tentatively_accept/tentatively_accept_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ........models.time_slot import TimeSlot + writer.write_str_value("Comment", self.comment) writer.write_object_value("ProposedNewTime", self.proposed_new_time) writer.write_bool_value("SendResponse", self.send_response) diff --git a/msgraph_beta/generated/users/item/calendar_view/item/snooze_reminder/snooze_reminder_post_request_body.py b/msgraph_beta/generated/users/item/calendar_view/item/snooze_reminder/snooze_reminder_post_request_body.py index c3461a90c30..1328d06fb50 100644 --- a/msgraph_beta/generated/users/item/calendar_view/item/snooze_reminder/snooze_reminder_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendar_view/item/snooze_reminder/snooze_reminder_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ......models.date_time_time_zone import DateTimeTimeZone + writer.write_object_value("NewReminderTime", self.new_reminder_time) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/calendar_view/item/tentatively_accept/tentatively_accept_post_request_body.py b/msgraph_beta/generated/users/item/calendar_view/item/tentatively_accept/tentatively_accept_post_request_body.py index fe8da7bf660..343d9807c96 100644 --- a/msgraph_beta/generated/users/item/calendar_view/item/tentatively_accept/tentatively_accept_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendar_view/item/tentatively_accept/tentatively_accept_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ......models.time_slot import TimeSlot + writer.write_str_value("Comment", self.comment) writer.write_object_value("ProposedNewTime", self.proposed_new_time) writer.write_bool_value("SendResponse", self.send_response) diff --git a/msgraph_beta/generated/users/item/calendars/count/count_request_builder.py b/msgraph_beta/generated/users/item/calendars/count/count_request_builder.py index ef5e14d4c48..08c0fd72df4 100644 --- a/msgraph_beta/generated/users/item/calendars/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/calendars/item/allowed_calendar_sharing_roles_with_user/allowed_calendar_sharing_roles_with_user_get_response.py b/msgraph_beta/generated/users/item/calendars/item/allowed_calendar_sharing_roles_with_user/allowed_calendar_sharing_roles_with_user_get_response.py index c53d0462e1b..7b49469e965 100644 --- a/msgraph_beta/generated/users/item/calendars/item/allowed_calendar_sharing_roles_with_user/allowed_calendar_sharing_roles_with_user_get_response.py +++ b/msgraph_beta/generated/users/item/calendars/item/allowed_calendar_sharing_roles_with_user/allowed_calendar_sharing_roles_with_user_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ......models.calendar_role_type import CalendarRoleType + writer.write_collection_of_enum_values("value", self.value) diff --git a/msgraph_beta/generated/users/item/calendars/item/calendar_permissions/count/count_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/calendar_permissions/count/count_request_builder.py index 72b5088a8d3..13042cc28a3 100644 --- a/msgraph_beta/generated/users/item/calendars/item/calendar_permissions/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/calendar_permissions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/calendars/item/calendar_view/count/count_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/calendar_view/count/count_request_builder.py index e560f6b4212..5f2d655af13 100644 --- a/msgraph_beta/generated/users/item/calendars/item/calendar_view/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/calendar_view/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/calendars/item/calendar_view/delta/delta_get_response.py b/msgraph_beta/generated/users/item/calendars/item/calendar_view/delta/delta_get_response.py index 284febf7b58..97346f2d2cd 100644 --- a/msgraph_beta/generated/users/item/calendars/item/calendar_view/delta/delta_get_response.py +++ b/msgraph_beta/generated/users/item/calendars/item/calendar_view/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .......models.base_delta_function_response import BaseDeltaFunctionResponse + from .......models.event import Event + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/attachments/count/count_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/attachments/count/count_request_builder.py index 03bbc4cacce..1a2c1ebb88a 100644 --- a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/attachments/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/attachments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/attachments/create_upload_session/create_upload_session_post_request_body.py b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/attachments/create_upload_session/create_upload_session_post_request_body.py index 2dccea4559f..23154d22cc3 100644 --- a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/attachments/create_upload_session/create_upload_session_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/attachments/create_upload_session/create_upload_session_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .........models.attachment_item import AttachmentItem + writer.write_object_value("AttachmentItem", self.attachment_item) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/decline/decline_post_request_body.py b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/decline/decline_post_request_body.py index 5d8b2272815..553bcd6bb26 100644 --- a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/decline/decline_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/decline/decline_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ........models.time_slot import TimeSlot + writer.write_str_value("Comment", self.comment) writer.write_object_value("ProposedNewTime", self.proposed_new_time) writer.write_bool_value("SendResponse", self.send_response) diff --git a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/count/count_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/count/count_request_builder.py index bd048ddad07..d96bcb3ce09 100644 --- a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/delta/delta_get_response.py b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/delta/delta_get_response.py index 23fb1ca654a..db2534e5b05 100644 --- a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/delta/delta_get_response.py +++ b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .........models.base_delta_function_response import BaseDeltaFunctionResponse + from .........models.event import Event + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/attachments/count/count_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/attachments/count/count_request_builder.py index b62ab118929..015c0f1cfb9 100644 --- a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/attachments/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/attachments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_post_request_body.py b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_post_request_body.py index 720f6db83c7..c831f06aaf2 100644 --- a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ...........models.attachment_item import AttachmentItem + writer.write_object_value("AttachmentItem", self.attachment_item) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/decline/decline_post_request_body.py b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/decline/decline_post_request_body.py index b1b31ebf43f..af0d655163d 100644 --- a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/decline/decline_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/decline/decline_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ..........models.time_slot import TimeSlot + writer.write_str_value("Comment", self.comment) writer.write_object_value("ProposedNewTime", self.proposed_new_time) writer.write_bool_value("SendResponse", self.send_response) diff --git a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/extensions/count/count_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/extensions/count/count_request_builder.py index ef891cab77f..781f70228ca 100644 --- a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/extensions/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/extensions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/forward/forward_post_request_body.py b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/forward/forward_post_request_body.py index e30831a3e49..291cb53db24 100644 --- a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/forward/forward_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/forward/forward_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ..........models.recipient import Recipient + writer.write_str_value("Comment", self.comment) writer.write_collection_of_object_values("ToRecipients", self.to_recipients) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/count/count_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/count/count_request_builder.py index b18e47da844..8853413545f 100644 --- a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/delta/delta_get_response.py b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/delta/delta_get_response.py index 276bf8e9181..9b46653489a 100644 --- a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/delta/delta_get_response.py +++ b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ...........models.base_delta_function_response import BaseDeltaFunctionResponse + from ...........models.event import Event + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/attachments/count/count_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/attachments/count/count_request_builder.py index d5a34d12ae6..1dce14e0e55 100644 --- a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/attachments/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/attachments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/attachments/create_upload_session/create_upload_session_post_request_body.py b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/attachments/create_upload_session/create_upload_session_post_request_body.py index 78619597fbf..f0b3a869b53 100644 --- a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/attachments/create_upload_session/create_upload_session_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/attachments/create_upload_session/create_upload_session_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .............models.attachment_item import AttachmentItem + writer.write_object_value("AttachmentItem", self.attachment_item) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/decline/decline_post_request_body.py b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/decline/decline_post_request_body.py index e539fb2533d..4831ccc2170 100644 --- a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/decline/decline_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/decline/decline_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ............models.time_slot import TimeSlot + writer.write_str_value("Comment", self.comment) writer.write_object_value("ProposedNewTime", self.proposed_new_time) writer.write_bool_value("SendResponse", self.send_response) diff --git a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/extensions/count/count_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/extensions/count/count_request_builder.py index 4d8418820a2..da7d31803a1 100644 --- a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/extensions/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/extensions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/forward/forward_post_request_body.py b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/forward/forward_post_request_body.py index dae1f140027..8969cfa8e18 100644 --- a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/forward/forward_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/forward/forward_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ............models.recipient import Recipient + writer.write_str_value("Comment", self.comment) writer.write_collection_of_object_values("ToRecipients", self.to_recipients) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/snooze_reminder/snooze_reminder_post_request_body.py b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/snooze_reminder/snooze_reminder_post_request_body.py index a63a1e50552..71f17f0742d 100644 --- a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/snooze_reminder/snooze_reminder_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/snooze_reminder/snooze_reminder_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ............models.date_time_time_zone import DateTimeTimeZone + writer.write_object_value("NewReminderTime", self.new_reminder_time) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/tentatively_accept/tentatively_accept_post_request_body.py b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/tentatively_accept/tentatively_accept_post_request_body.py index 0ce1a32e160..a405e4c0168 100644 --- a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/tentatively_accept/tentatively_accept_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/tentatively_accept/tentatively_accept_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ............models.time_slot import TimeSlot + writer.write_str_value("Comment", self.comment) writer.write_object_value("ProposedNewTime", self.proposed_new_time) writer.write_bool_value("SendResponse", self.send_response) diff --git a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/snooze_reminder/snooze_reminder_post_request_body.py b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/snooze_reminder/snooze_reminder_post_request_body.py index 965ed80b889..fe4b708f070 100644 --- a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/snooze_reminder/snooze_reminder_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/snooze_reminder/snooze_reminder_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ..........models.date_time_time_zone import DateTimeTimeZone + writer.write_object_value("NewReminderTime", self.new_reminder_time) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/tentatively_accept/tentatively_accept_post_request_body.py b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/tentatively_accept/tentatively_accept_post_request_body.py index 0f34906867b..956b28b2a29 100644 --- a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/tentatively_accept/tentatively_accept_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/tentatively_accept/tentatively_accept_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ..........models.time_slot import TimeSlot + writer.write_str_value("Comment", self.comment) writer.write_object_value("ProposedNewTime", self.proposed_new_time) writer.write_bool_value("SendResponse", self.send_response) diff --git a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/extensions/count/count_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/extensions/count/count_request_builder.py index 16d5367a40f..9975123c9fd 100644 --- a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/extensions/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/extensions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/forward/forward_post_request_body.py b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/forward/forward_post_request_body.py index c6dc81f4080..a46731eaf35 100644 --- a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/forward/forward_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/forward/forward_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ........models.recipient import Recipient + writer.write_str_value("Comment", self.comment) writer.write_collection_of_object_values("ToRecipients", self.to_recipients) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/count/count_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/count/count_request_builder.py index 0123351af58..a91da1806f8 100644 --- a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/delta/delta_get_response.py b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/delta/delta_get_response.py index 23fb1ca654a..db2534e5b05 100644 --- a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/delta/delta_get_response.py +++ b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .........models.base_delta_function_response import BaseDeltaFunctionResponse + from .........models.event import Event + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/attachments/count/count_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/attachments/count/count_request_builder.py index 0b31c1ae40b..fe8f63722f3 100644 --- a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/attachments/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/attachments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/attachments/create_upload_session/create_upload_session_post_request_body.py b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/attachments/create_upload_session/create_upload_session_post_request_body.py index 720f6db83c7..c831f06aaf2 100644 --- a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/attachments/create_upload_session/create_upload_session_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/attachments/create_upload_session/create_upload_session_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ...........models.attachment_item import AttachmentItem + writer.write_object_value("AttachmentItem", self.attachment_item) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/decline/decline_post_request_body.py b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/decline/decline_post_request_body.py index b1b31ebf43f..af0d655163d 100644 --- a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/decline/decline_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/decline/decline_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ..........models.time_slot import TimeSlot + writer.write_str_value("Comment", self.comment) writer.write_object_value("ProposedNewTime", self.proposed_new_time) writer.write_bool_value("SendResponse", self.send_response) diff --git a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/count/count_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/count/count_request_builder.py index 1f3606d970e..de1df44bd17 100644 --- a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/delta/delta_get_response.py b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/delta/delta_get_response.py index 276bf8e9181..9b46653489a 100644 --- a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/delta/delta_get_response.py +++ b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ...........models.base_delta_function_response import BaseDeltaFunctionResponse + from ...........models.event import Event + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/attachments/count/count_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/attachments/count/count_request_builder.py index 9e17d0ac43b..6682a449951 100644 --- a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/attachments/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/attachments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_post_request_body.py b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_post_request_body.py index 78619597fbf..f0b3a869b53 100644 --- a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .............models.attachment_item import AttachmentItem + writer.write_object_value("AttachmentItem", self.attachment_item) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/decline/decline_post_request_body.py b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/decline/decline_post_request_body.py index e539fb2533d..4831ccc2170 100644 --- a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/decline/decline_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/decline/decline_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ............models.time_slot import TimeSlot + writer.write_str_value("Comment", self.comment) writer.write_object_value("ProposedNewTime", self.proposed_new_time) writer.write_bool_value("SendResponse", self.send_response) diff --git a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/extensions/count/count_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/extensions/count/count_request_builder.py index 5297bc46ae3..18e3951dc02 100644 --- a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/extensions/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/extensions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/forward/forward_post_request_body.py b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/forward/forward_post_request_body.py index dae1f140027..8969cfa8e18 100644 --- a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/forward/forward_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/forward/forward_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ............models.recipient import Recipient + writer.write_str_value("Comment", self.comment) writer.write_collection_of_object_values("ToRecipients", self.to_recipients) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/snooze_reminder/snooze_reminder_post_request_body.py b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/snooze_reminder/snooze_reminder_post_request_body.py index a63a1e50552..71f17f0742d 100644 --- a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/snooze_reminder/snooze_reminder_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/snooze_reminder/snooze_reminder_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ............models.date_time_time_zone import DateTimeTimeZone + writer.write_object_value("NewReminderTime", self.new_reminder_time) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/tentatively_accept/tentatively_accept_post_request_body.py b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/tentatively_accept/tentatively_accept_post_request_body.py index 0ce1a32e160..a405e4c0168 100644 --- a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/tentatively_accept/tentatively_accept_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/tentatively_accept/tentatively_accept_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ............models.time_slot import TimeSlot + writer.write_str_value("Comment", self.comment) writer.write_object_value("ProposedNewTime", self.proposed_new_time) writer.write_bool_value("SendResponse", self.send_response) diff --git a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/extensions/count/count_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/extensions/count/count_request_builder.py index 6f1f1f85252..1baa1d7078f 100644 --- a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/extensions/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/extensions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/forward/forward_post_request_body.py b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/forward/forward_post_request_body.py index e30831a3e49..291cb53db24 100644 --- a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/forward/forward_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/forward/forward_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ..........models.recipient import Recipient + writer.write_str_value("Comment", self.comment) writer.write_collection_of_object_values("ToRecipients", self.to_recipients) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/snooze_reminder/snooze_reminder_post_request_body.py b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/snooze_reminder/snooze_reminder_post_request_body.py index 965ed80b889..fe4b708f070 100644 --- a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/snooze_reminder/snooze_reminder_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/snooze_reminder/snooze_reminder_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ..........models.date_time_time_zone import DateTimeTimeZone + writer.write_object_value("NewReminderTime", self.new_reminder_time) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/tentatively_accept/tentatively_accept_post_request_body.py b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/tentatively_accept/tentatively_accept_post_request_body.py index 0f34906867b..956b28b2a29 100644 --- a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/tentatively_accept/tentatively_accept_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/tentatively_accept/tentatively_accept_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ..........models.time_slot import TimeSlot + writer.write_str_value("Comment", self.comment) writer.write_object_value("ProposedNewTime", self.proposed_new_time) writer.write_bool_value("SendResponse", self.send_response) diff --git a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/snooze_reminder/snooze_reminder_post_request_body.py b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/snooze_reminder/snooze_reminder_post_request_body.py index 812d7af6110..74f5520c222 100644 --- a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/snooze_reminder/snooze_reminder_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/snooze_reminder/snooze_reminder_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ........models.date_time_time_zone import DateTimeTimeZone + writer.write_object_value("NewReminderTime", self.new_reminder_time) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/tentatively_accept/tentatively_accept_post_request_body.py b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/tentatively_accept/tentatively_accept_post_request_body.py index 1104b6b5c4d..2a8b802ad27 100644 --- a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/tentatively_accept/tentatively_accept_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/tentatively_accept/tentatively_accept_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ........models.time_slot import TimeSlot + writer.write_str_value("Comment", self.comment) writer.write_object_value("ProposedNewTime", self.proposed_new_time) writer.write_bool_value("SendResponse", self.send_response) diff --git a/msgraph_beta/generated/users/item/calendars/item/events/count/count_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/events/count/count_request_builder.py index f7af0fcc069..2c4ee4714bd 100644 --- a/msgraph_beta/generated/users/item/calendars/item/events/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/events/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/calendars/item/events/delta/delta_get_response.py b/msgraph_beta/generated/users/item/calendars/item/events/delta/delta_get_response.py index 284febf7b58..97346f2d2cd 100644 --- a/msgraph_beta/generated/users/item/calendars/item/events/delta/delta_get_response.py +++ b/msgraph_beta/generated/users/item/calendars/item/events/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .......models.base_delta_function_response import BaseDeltaFunctionResponse + from .......models.event import Event + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/users/item/calendars/item/events/item/attachments/count/count_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/events/item/attachments/count/count_request_builder.py index fc4d69b9d17..1c5976510ef 100644 --- a/msgraph_beta/generated/users/item/calendars/item/events/item/attachments/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/events/item/attachments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/calendars/item/events/item/attachments/create_upload_session/create_upload_session_post_request_body.py b/msgraph_beta/generated/users/item/calendars/item/events/item/attachments/create_upload_session/create_upload_session_post_request_body.py index 2dccea4559f..23154d22cc3 100644 --- a/msgraph_beta/generated/users/item/calendars/item/events/item/attachments/create_upload_session/create_upload_session_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendars/item/events/item/attachments/create_upload_session/create_upload_session_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .........models.attachment_item import AttachmentItem + writer.write_object_value("AttachmentItem", self.attachment_item) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/calendars/item/events/item/decline/decline_post_request_body.py b/msgraph_beta/generated/users/item/calendars/item/events/item/decline/decline_post_request_body.py index 5d8b2272815..553bcd6bb26 100644 --- a/msgraph_beta/generated/users/item/calendars/item/events/item/decline/decline_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendars/item/events/item/decline/decline_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ........models.time_slot import TimeSlot + writer.write_str_value("Comment", self.comment) writer.write_object_value("ProposedNewTime", self.proposed_new_time) writer.write_bool_value("SendResponse", self.send_response) diff --git a/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/count/count_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/count/count_request_builder.py index 9a47edac117..52b8d792701 100644 --- a/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/delta/delta_get_response.py b/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/delta/delta_get_response.py index 23fb1ca654a..db2534e5b05 100644 --- a/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/delta/delta_get_response.py +++ b/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .........models.base_delta_function_response import BaseDeltaFunctionResponse + from .........models.event import Event + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/attachments/count/count_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/attachments/count/count_request_builder.py index f39fcb1ebce..7100868d3c3 100644 --- a/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/attachments/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/attachments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_post_request_body.py b/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_post_request_body.py index 720f6db83c7..c831f06aaf2 100644 --- a/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ...........models.attachment_item import AttachmentItem + writer.write_object_value("AttachmentItem", self.attachment_item) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/decline/decline_post_request_body.py b/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/decline/decline_post_request_body.py index b1b31ebf43f..af0d655163d 100644 --- a/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/decline/decline_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/decline/decline_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ..........models.time_slot import TimeSlot + writer.write_str_value("Comment", self.comment) writer.write_object_value("ProposedNewTime", self.proposed_new_time) writer.write_bool_value("SendResponse", self.send_response) diff --git a/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/extensions/count/count_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/extensions/count/count_request_builder.py index 8dbc461286e..a5d75be0e7f 100644 --- a/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/extensions/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/extensions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/forward/forward_post_request_body.py b/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/forward/forward_post_request_body.py index e30831a3e49..291cb53db24 100644 --- a/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/forward/forward_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/forward/forward_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ..........models.recipient import Recipient + writer.write_str_value("Comment", self.comment) writer.write_collection_of_object_values("ToRecipients", self.to_recipients) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/instances/count/count_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/instances/count/count_request_builder.py index 89b6b9f576b..b45096e5e14 100644 --- a/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/instances/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/instances/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/instances/delta/delta_get_response.py b/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/instances/delta/delta_get_response.py index 276bf8e9181..9b46653489a 100644 --- a/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/instances/delta/delta_get_response.py +++ b/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/instances/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ...........models.base_delta_function_response import BaseDeltaFunctionResponse + from ...........models.event import Event + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/instances/item/attachments/count/count_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/instances/item/attachments/count/count_request_builder.py index 1f4fc375343..99de3af9e35 100644 --- a/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/instances/item/attachments/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/instances/item/attachments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/instances/item/attachments/create_upload_session/create_upload_session_post_request_body.py b/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/instances/item/attachments/create_upload_session/create_upload_session_post_request_body.py index 78619597fbf..f0b3a869b53 100644 --- a/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/instances/item/attachments/create_upload_session/create_upload_session_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/instances/item/attachments/create_upload_session/create_upload_session_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .............models.attachment_item import AttachmentItem + writer.write_object_value("AttachmentItem", self.attachment_item) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/instances/item/decline/decline_post_request_body.py b/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/instances/item/decline/decline_post_request_body.py index e539fb2533d..4831ccc2170 100644 --- a/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/instances/item/decline/decline_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/instances/item/decline/decline_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ............models.time_slot import TimeSlot + writer.write_str_value("Comment", self.comment) writer.write_object_value("ProposedNewTime", self.proposed_new_time) writer.write_bool_value("SendResponse", self.send_response) diff --git a/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/instances/item/extensions/count/count_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/instances/item/extensions/count/count_request_builder.py index 641ec5751e3..e20b16658f3 100644 --- a/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/instances/item/extensions/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/instances/item/extensions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/instances/item/forward/forward_post_request_body.py b/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/instances/item/forward/forward_post_request_body.py index dae1f140027..8969cfa8e18 100644 --- a/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/instances/item/forward/forward_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/instances/item/forward/forward_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ............models.recipient import Recipient + writer.write_str_value("Comment", self.comment) writer.write_collection_of_object_values("ToRecipients", self.to_recipients) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/instances/item/snooze_reminder/snooze_reminder_post_request_body.py b/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/instances/item/snooze_reminder/snooze_reminder_post_request_body.py index a63a1e50552..71f17f0742d 100644 --- a/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/instances/item/snooze_reminder/snooze_reminder_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/instances/item/snooze_reminder/snooze_reminder_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ............models.date_time_time_zone import DateTimeTimeZone + writer.write_object_value("NewReminderTime", self.new_reminder_time) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/instances/item/tentatively_accept/tentatively_accept_post_request_body.py b/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/instances/item/tentatively_accept/tentatively_accept_post_request_body.py index 0ce1a32e160..a405e4c0168 100644 --- a/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/instances/item/tentatively_accept/tentatively_accept_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/instances/item/tentatively_accept/tentatively_accept_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ............models.time_slot import TimeSlot + writer.write_str_value("Comment", self.comment) writer.write_object_value("ProposedNewTime", self.proposed_new_time) writer.write_bool_value("SendResponse", self.send_response) diff --git a/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/snooze_reminder/snooze_reminder_post_request_body.py b/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/snooze_reminder/snooze_reminder_post_request_body.py index 965ed80b889..fe4b708f070 100644 --- a/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/snooze_reminder/snooze_reminder_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/snooze_reminder/snooze_reminder_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ..........models.date_time_time_zone import DateTimeTimeZone + writer.write_object_value("NewReminderTime", self.new_reminder_time) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/tentatively_accept/tentatively_accept_post_request_body.py b/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/tentatively_accept/tentatively_accept_post_request_body.py index 0f34906867b..956b28b2a29 100644 --- a/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/tentatively_accept/tentatively_accept_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/tentatively_accept/tentatively_accept_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ..........models.time_slot import TimeSlot + writer.write_str_value("Comment", self.comment) writer.write_object_value("ProposedNewTime", self.proposed_new_time) writer.write_bool_value("SendResponse", self.send_response) diff --git a/msgraph_beta/generated/users/item/calendars/item/events/item/extensions/count/count_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/events/item/extensions/count/count_request_builder.py index fff6feddfca..31b7d4db8ce 100644 --- a/msgraph_beta/generated/users/item/calendars/item/events/item/extensions/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/events/item/extensions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/calendars/item/events/item/forward/forward_post_request_body.py b/msgraph_beta/generated/users/item/calendars/item/events/item/forward/forward_post_request_body.py index c6dc81f4080..a46731eaf35 100644 --- a/msgraph_beta/generated/users/item/calendars/item/events/item/forward/forward_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendars/item/events/item/forward/forward_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ........models.recipient import Recipient + writer.write_str_value("Comment", self.comment) writer.write_collection_of_object_values("ToRecipients", self.to_recipients) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/calendars/item/events/item/instances/count/count_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/events/item/instances/count/count_request_builder.py index 957bc08e4f2..77066c4d4d2 100644 --- a/msgraph_beta/generated/users/item/calendars/item/events/item/instances/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/events/item/instances/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/calendars/item/events/item/instances/delta/delta_get_response.py b/msgraph_beta/generated/users/item/calendars/item/events/item/instances/delta/delta_get_response.py index 23fb1ca654a..db2534e5b05 100644 --- a/msgraph_beta/generated/users/item/calendars/item/events/item/instances/delta/delta_get_response.py +++ b/msgraph_beta/generated/users/item/calendars/item/events/item/instances/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .........models.base_delta_function_response import BaseDeltaFunctionResponse + from .........models.event import Event + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/attachments/count/count_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/attachments/count/count_request_builder.py index 6d4b3a36460..5f4c559e069 100644 --- a/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/attachments/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/attachments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/attachments/create_upload_session/create_upload_session_post_request_body.py b/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/attachments/create_upload_session/create_upload_session_post_request_body.py index 720f6db83c7..c831f06aaf2 100644 --- a/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/attachments/create_upload_session/create_upload_session_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/attachments/create_upload_session/create_upload_session_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ...........models.attachment_item import AttachmentItem + writer.write_object_value("AttachmentItem", self.attachment_item) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/decline/decline_post_request_body.py b/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/decline/decline_post_request_body.py index b1b31ebf43f..af0d655163d 100644 --- a/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/decline/decline_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/decline/decline_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ..........models.time_slot import TimeSlot + writer.write_str_value("Comment", self.comment) writer.write_object_value("ProposedNewTime", self.proposed_new_time) writer.write_bool_value("SendResponse", self.send_response) diff --git a/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/exception_occurrences/count/count_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/exception_occurrences/count/count_request_builder.py index 0ae1da18a6d..50cbadfc543 100644 --- a/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/exception_occurrences/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/exception_occurrences/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/exception_occurrences/delta/delta_get_response.py b/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/exception_occurrences/delta/delta_get_response.py index 276bf8e9181..9b46653489a 100644 --- a/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/exception_occurrences/delta/delta_get_response.py +++ b/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/exception_occurrences/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ...........models.base_delta_function_response import BaseDeltaFunctionResponse + from ...........models.event import Event + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/exception_occurrences/item/attachments/count/count_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/exception_occurrences/item/attachments/count/count_request_builder.py index 5e2ba634909..8eb8db7c203 100644 --- a/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/exception_occurrences/item/attachments/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/exception_occurrences/item/attachments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_post_request_body.py b/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_post_request_body.py index 78619597fbf..f0b3a869b53 100644 --- a/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .............models.attachment_item import AttachmentItem + writer.write_object_value("AttachmentItem", self.attachment_item) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/exception_occurrences/item/decline/decline_post_request_body.py b/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/exception_occurrences/item/decline/decline_post_request_body.py index e539fb2533d..4831ccc2170 100644 --- a/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/exception_occurrences/item/decline/decline_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/exception_occurrences/item/decline/decline_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ............models.time_slot import TimeSlot + writer.write_str_value("Comment", self.comment) writer.write_object_value("ProposedNewTime", self.proposed_new_time) writer.write_bool_value("SendResponse", self.send_response) diff --git a/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/exception_occurrences/item/extensions/count/count_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/exception_occurrences/item/extensions/count/count_request_builder.py index 17582988eac..bb23c04014c 100644 --- a/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/exception_occurrences/item/extensions/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/exception_occurrences/item/extensions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/exception_occurrences/item/forward/forward_post_request_body.py b/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/exception_occurrences/item/forward/forward_post_request_body.py index dae1f140027..8969cfa8e18 100644 --- a/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/exception_occurrences/item/forward/forward_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/exception_occurrences/item/forward/forward_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ............models.recipient import Recipient + writer.write_str_value("Comment", self.comment) writer.write_collection_of_object_values("ToRecipients", self.to_recipients) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/exception_occurrences/item/snooze_reminder/snooze_reminder_post_request_body.py b/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/exception_occurrences/item/snooze_reminder/snooze_reminder_post_request_body.py index a63a1e50552..71f17f0742d 100644 --- a/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/exception_occurrences/item/snooze_reminder/snooze_reminder_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/exception_occurrences/item/snooze_reminder/snooze_reminder_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ............models.date_time_time_zone import DateTimeTimeZone + writer.write_object_value("NewReminderTime", self.new_reminder_time) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/exception_occurrences/item/tentatively_accept/tentatively_accept_post_request_body.py b/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/exception_occurrences/item/tentatively_accept/tentatively_accept_post_request_body.py index 0ce1a32e160..a405e4c0168 100644 --- a/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/exception_occurrences/item/tentatively_accept/tentatively_accept_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/exception_occurrences/item/tentatively_accept/tentatively_accept_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ............models.time_slot import TimeSlot + writer.write_str_value("Comment", self.comment) writer.write_object_value("ProposedNewTime", self.proposed_new_time) writer.write_bool_value("SendResponse", self.send_response) diff --git a/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/extensions/count/count_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/extensions/count/count_request_builder.py index 91f36f4bc9e..e88b773d798 100644 --- a/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/extensions/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/extensions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/forward/forward_post_request_body.py b/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/forward/forward_post_request_body.py index e30831a3e49..291cb53db24 100644 --- a/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/forward/forward_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/forward/forward_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ..........models.recipient import Recipient + writer.write_str_value("Comment", self.comment) writer.write_collection_of_object_values("ToRecipients", self.to_recipients) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/snooze_reminder/snooze_reminder_post_request_body.py b/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/snooze_reminder/snooze_reminder_post_request_body.py index 965ed80b889..fe4b708f070 100644 --- a/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/snooze_reminder/snooze_reminder_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/snooze_reminder/snooze_reminder_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ..........models.date_time_time_zone import DateTimeTimeZone + writer.write_object_value("NewReminderTime", self.new_reminder_time) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/tentatively_accept/tentatively_accept_post_request_body.py b/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/tentatively_accept/tentatively_accept_post_request_body.py index 0f34906867b..956b28b2a29 100644 --- a/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/tentatively_accept/tentatively_accept_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/tentatively_accept/tentatively_accept_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ..........models.time_slot import TimeSlot + writer.write_str_value("Comment", self.comment) writer.write_object_value("ProposedNewTime", self.proposed_new_time) writer.write_bool_value("SendResponse", self.send_response) diff --git a/msgraph_beta/generated/users/item/calendars/item/events/item/snooze_reminder/snooze_reminder_post_request_body.py b/msgraph_beta/generated/users/item/calendars/item/events/item/snooze_reminder/snooze_reminder_post_request_body.py index 812d7af6110..74f5520c222 100644 --- a/msgraph_beta/generated/users/item/calendars/item/events/item/snooze_reminder/snooze_reminder_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendars/item/events/item/snooze_reminder/snooze_reminder_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ........models.date_time_time_zone import DateTimeTimeZone + writer.write_object_value("NewReminderTime", self.new_reminder_time) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/calendars/item/events/item/tentatively_accept/tentatively_accept_post_request_body.py b/msgraph_beta/generated/users/item/calendars/item/events/item/tentatively_accept/tentatively_accept_post_request_body.py index 1104b6b5c4d..2a8b802ad27 100644 --- a/msgraph_beta/generated/users/item/calendars/item/events/item/tentatively_accept/tentatively_accept_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendars/item/events/item/tentatively_accept/tentatively_accept_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ........models.time_slot import TimeSlot + writer.write_str_value("Comment", self.comment) writer.write_object_value("ProposedNewTime", self.proposed_new_time) writer.write_bool_value("SendResponse", self.send_response) diff --git a/msgraph_beta/generated/users/item/calendars/item/get_schedule/get_schedule_post_request_body.py b/msgraph_beta/generated/users/item/calendars/item/get_schedule/get_schedule_post_request_body.py index 59b4d73d965..19434842398 100644 --- a/msgraph_beta/generated/users/item/calendars/item/get_schedule/get_schedule_post_request_body.py +++ b/msgraph_beta/generated/users/item/calendars/item/get_schedule/get_schedule_post_request_body.py @@ -59,6 +59,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ......models.date_time_time_zone import DateTimeTimeZone + writer.write_int_value("AvailabilityViewInterval", self.availability_view_interval) writer.write_object_value("EndTime", self.end_time) writer.write_collection_of_primitive_values("Schedules", self.schedules) diff --git a/msgraph_beta/generated/users/item/calendars/item/get_schedule/get_schedule_post_response.py b/msgraph_beta/generated/users/item/calendars/item/get_schedule/get_schedule_post_response.py index 6c794820e10..13b57c01cd1 100644 --- a/msgraph_beta/generated/users/item/calendars/item/get_schedule/get_schedule_post_response.py +++ b/msgraph_beta/generated/users/item/calendars/item/get_schedule/get_schedule_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ......models.schedule_information import ScheduleInformation + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/users/item/chats/all_messages/all_messages_get_response.py b/msgraph_beta/generated/users/item/chats/all_messages/all_messages_get_response.py index 8700432ca04..edc578be01f 100644 --- a/msgraph_beta/generated/users/item/chats/all_messages/all_messages_get_response.py +++ b/msgraph_beta/generated/users/item/chats/all_messages/all_messages_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .....models.chat_message import ChatMessage + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/users/item/chats/count/count_request_builder.py b/msgraph_beta/generated/users/item/chats/count/count_request_builder.py index 43e3722dbfe..a9393bdd8b7 100644 --- a/msgraph_beta/generated/users/item/chats/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/chats/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/chats/get_all_messages/get_all_messages_get_response.py b/msgraph_beta/generated/users/item/chats/get_all_messages/get_all_messages_get_response.py index 3b558bc0af7..6c196fa4fd9 100644 --- a/msgraph_beta/generated/users/item/chats/get_all_messages/get_all_messages_get_response.py +++ b/msgraph_beta/generated/users/item/chats/get_all_messages/get_all_messages_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .....models.chat_message import ChatMessage + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/users/item/chats/get_all_retained_messages/get_all_retained_messages_get_response.py b/msgraph_beta/generated/users/item/chats/get_all_retained_messages/get_all_retained_messages_get_response.py index 0959677d400..3c23cc49539 100644 --- a/msgraph_beta/generated/users/item/chats/get_all_retained_messages/get_all_retained_messages_get_response.py +++ b/msgraph_beta/generated/users/item/chats/get_all_retained_messages/get_all_retained_messages_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .....models.chat_message import ChatMessage + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/users/item/chats/item/hide_for_user/hide_for_user_post_request_body.py b/msgraph_beta/generated/users/item/chats/item/hide_for_user/hide_for_user_post_request_body.py index b10b0ed8f4e..7a15d8abe66 100644 --- a/msgraph_beta/generated/users/item/chats/item/hide_for_user/hide_for_user_post_request_body.py +++ b/msgraph_beta/generated/users/item/chats/item/hide_for_user/hide_for_user_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ......models.teamwork_user_identity import TeamworkUserIdentity + writer.write_str_value("tenantId", self.tenant_id) writer.write_object_value("user", self.user) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/chats/item/installed_apps/count/count_request_builder.py b/msgraph_beta/generated/users/item/chats/item/installed_apps/count/count_request_builder.py index da3f251dd42..05a67bd5d79 100644 --- a/msgraph_beta/generated/users/item/chats/item/installed_apps/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/chats/item/installed_apps/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/chats/item/installed_apps/item/upgrade/upgrade_post_request_body.py b/msgraph_beta/generated/users/item/chats/item/installed_apps/item/upgrade/upgrade_post_request_body.py index 41f2e1ff581..badd0a513a3 100644 --- a/msgraph_beta/generated/users/item/chats/item/installed_apps/item/upgrade/upgrade_post_request_body.py +++ b/msgraph_beta/generated/users/item/chats/item/installed_apps/item/upgrade/upgrade_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ........models.teams_app_permission_set import TeamsAppPermissionSet + writer.write_object_value("consentedPermissionSet", self.consented_permission_set) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/chats/item/mark_chat_read_for_user/mark_chat_read_for_user_post_request_body.py b/msgraph_beta/generated/users/item/chats/item/mark_chat_read_for_user/mark_chat_read_for_user_post_request_body.py index aea4f46a900..6f1c272350e 100644 --- a/msgraph_beta/generated/users/item/chats/item/mark_chat_read_for_user/mark_chat_read_for_user_post_request_body.py +++ b/msgraph_beta/generated/users/item/chats/item/mark_chat_read_for_user/mark_chat_read_for_user_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ......models.teamwork_user_identity import TeamworkUserIdentity + writer.write_str_value("tenantId", self.tenant_id) writer.write_object_value("user", self.user) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/chats/item/mark_chat_unread_for_user/mark_chat_unread_for_user_post_request_body.py b/msgraph_beta/generated/users/item/chats/item/mark_chat_unread_for_user/mark_chat_unread_for_user_post_request_body.py index 07adf6848f3..717dc9f58f5 100644 --- a/msgraph_beta/generated/users/item/chats/item/mark_chat_unread_for_user/mark_chat_unread_for_user_post_request_body.py +++ b/msgraph_beta/generated/users/item/chats/item/mark_chat_unread_for_user/mark_chat_unread_for_user_post_request_body.py @@ -57,6 +57,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ......models.teamwork_user_identity import TeamworkUserIdentity + writer.write_datetime_value("lastMessageReadDateTime", self.last_message_read_date_time) writer.write_str_value("tenantId", self.tenant_id) writer.write_object_value("user", self.user) diff --git a/msgraph_beta/generated/users/item/chats/item/members/add/add_post_request_body.py b/msgraph_beta/generated/users/item/chats/item/members/add/add_post_request_body.py index d47b3a79d34..5bac3d6b0b2 100644 --- a/msgraph_beta/generated/users/item/chats/item/members/add/add_post_request_body.py +++ b/msgraph_beta/generated/users/item/chats/item/members/add/add_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .......models.conversation_member import ConversationMember + writer.write_collection_of_object_values("values", self.values) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/chats/item/members/add/add_post_response.py b/msgraph_beta/generated/users/item/chats/item/members/add/add_post_response.py index 2ba15416a40..3c30081ed47 100644 --- a/msgraph_beta/generated/users/item/chats/item/members/add/add_post_response.py +++ b/msgraph_beta/generated/users/item/chats/item/members/add/add_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .......models.action_result_part import ActionResultPart + from .......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/users/item/chats/item/members/count/count_request_builder.py b/msgraph_beta/generated/users/item/chats/item/members/count/count_request_builder.py index 9cb780ff63f..921a8cfe794 100644 --- a/msgraph_beta/generated/users/item/chats/item/members/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/chats/item/members/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/chats/item/members/remove/remove_post_request_body.py b/msgraph_beta/generated/users/item/chats/item/members/remove/remove_post_request_body.py index ce66f9c3264..d3fb68b63dc 100644 --- a/msgraph_beta/generated/users/item/chats/item/members/remove/remove_post_request_body.py +++ b/msgraph_beta/generated/users/item/chats/item/members/remove/remove_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .......models.conversation_member import ConversationMember + writer.write_collection_of_object_values("values", self.values) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/chats/item/members/remove/remove_post_response.py b/msgraph_beta/generated/users/item/chats/item/members/remove/remove_post_response.py index f441faaa65d..ea8d30b211c 100644 --- a/msgraph_beta/generated/users/item/chats/item/members/remove/remove_post_response.py +++ b/msgraph_beta/generated/users/item/chats/item/members/remove/remove_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .......models.action_result_part import ActionResultPart + from .......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/users/item/chats/item/members/remove/remove_request_builder.py b/msgraph_beta/generated/users/item/chats/item/members/remove/remove_request_builder.py index b42531e30a8..2cacc563969 100644 --- a/msgraph_beta/generated/users/item/chats/item/members/remove/remove_request_builder.py +++ b/msgraph_beta/generated/users/item/chats/item/members/remove/remove_request_builder.py @@ -32,10 +32,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def post(self,body: RemovePostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[RemovePostResponse]: """ - Invoke action remove + Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[RemovePostResponse] + Find more info here: https://learn.microsoft.com/graph/api/conversationmember-remove?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -55,7 +56,7 @@ async def post(self,body: RemovePostRequestBody, request_configuration: Optional def to_post_request_information(self,body: RemovePostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Invoke action remove + Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/users/item/chats/item/messages/count/count_request_builder.py b/msgraph_beta/generated/users/item/chats/item/messages/count/count_request_builder.py index 0f4b3aa9a6f..e56c956d96a 100644 --- a/msgraph_beta/generated/users/item/chats/item/messages/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/chats/item/messages/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/chats/item/messages/delta/delta_get_response.py b/msgraph_beta/generated/users/item/chats/item/messages/delta/delta_get_response.py index f638a691ec9..6ba0c1fed79 100644 --- a/msgraph_beta/generated/users/item/chats/item/messages/delta/delta_get_response.py +++ b/msgraph_beta/generated/users/item/chats/item/messages/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .......models.base_delta_function_response import BaseDeltaFunctionResponse + from .......models.chat_message import ChatMessage + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/users/item/chats/item/messages/item/hosted_contents/count/count_request_builder.py b/msgraph_beta/generated/users/item/chats/item/messages/item/hosted_contents/count/count_request_builder.py index b0dee6ac373..86eae877153 100644 --- a/msgraph_beta/generated/users/item/chats/item/messages/item/hosted_contents/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/chats/item/messages/item/hosted_contents/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/chats/item/messages/item/replies/count/count_request_builder.py b/msgraph_beta/generated/users/item/chats/item/messages/item/replies/count/count_request_builder.py index ae64b049144..0e9060f1c90 100644 --- a/msgraph_beta/generated/users/item/chats/item/messages/item/replies/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/chats/item/messages/item/replies/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/chats/item/messages/item/replies/delta/delta_get_response.py b/msgraph_beta/generated/users/item/chats/item/messages/item/replies/delta/delta_get_response.py index 19a8aeb706c..7a53690ae47 100644 --- a/msgraph_beta/generated/users/item/chats/item/messages/item/replies/delta/delta_get_response.py +++ b/msgraph_beta/generated/users/item/chats/item/messages/item/replies/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .........models.base_delta_function_response import BaseDeltaFunctionResponse + from .........models.chat_message import ChatMessage + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/users/item/chats/item/messages/item/replies/item/hosted_contents/count/count_request_builder.py b/msgraph_beta/generated/users/item/chats/item/messages/item/replies/item/hosted_contents/count/count_request_builder.py index 7690f989b78..ef5e66a6500 100644 --- a/msgraph_beta/generated/users/item/chats/item/messages/item/replies/item/hosted_contents/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/chats/item/messages/item/replies/item/hosted_contents/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/chats/item/operations/count/count_request_builder.py b/msgraph_beta/generated/users/item/chats/item/operations/count/count_request_builder.py index d3f33e1c5c8..a41fcef3597 100644 --- a/msgraph_beta/generated/users/item/chats/item/operations/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/chats/item/operations/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/chats/item/permission_grants/count/count_request_builder.py b/msgraph_beta/generated/users/item/chats/item/permission_grants/count/count_request_builder.py index 62e5ac04b1b..ff62be0ad6e 100644 --- a/msgraph_beta/generated/users/item/chats/item/permission_grants/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/chats/item/permission_grants/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/chats/item/pinned_messages/count/count_request_builder.py b/msgraph_beta/generated/users/item/chats/item/pinned_messages/count/count_request_builder.py index 92534023df0..9279788fb1b 100644 --- a/msgraph_beta/generated/users/item/chats/item/pinned_messages/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/chats/item/pinned_messages/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/chats/item/remove_all_access_for_user/remove_all_access_for_user_post_request_body.py b/msgraph_beta/generated/users/item/chats/item/remove_all_access_for_user/remove_all_access_for_user_post_request_body.py index 86c733737ef..658f583abf0 100644 --- a/msgraph_beta/generated/users/item/chats/item/remove_all_access_for_user/remove_all_access_for_user_post_request_body.py +++ b/msgraph_beta/generated/users/item/chats/item/remove_all_access_for_user/remove_all_access_for_user_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ......models.teamwork_user_identity import TeamworkUserIdentity + writer.write_object_value("user", self.user) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/chats/item/send_activity_notification/send_activity_notification_post_request_body.py b/msgraph_beta/generated/users/item/chats/item/send_activity_notification/send_activity_notification_post_request_body.py index 8f6b42d6bb1..b2ae4df2260 100644 --- a/msgraph_beta/generated/users/item/chats/item/send_activity_notification/send_activity_notification_post_request_body.py +++ b/msgraph_beta/generated/users/item/chats/item/send_activity_notification/send_activity_notification_post_request_body.py @@ -77,6 +77,11 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ......models.item_body import ItemBody + from ......models.key_value_pair import KeyValuePair + from ......models.teamwork_activity_topic import TeamworkActivityTopic + from ......models.teamwork_notification_recipient import TeamworkNotificationRecipient + writer.write_str_value("activityType", self.activity_type) writer.write_int_value("chainId", self.chain_id) writer.write_object_value("previewText", self.preview_text) diff --git a/msgraph_beta/generated/users/item/chats/item/tabs/count/count_request_builder.py b/msgraph_beta/generated/users/item/chats/item/tabs/count/count_request_builder.py index af8aa77c5aa..7fb728246e7 100644 --- a/msgraph_beta/generated/users/item/chats/item/tabs/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/chats/item/tabs/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/chats/item/unhide_for_user/unhide_for_user_post_request_body.py b/msgraph_beta/generated/users/item/chats/item/unhide_for_user/unhide_for_user_post_request_body.py index 238cc12ee91..a57f080d604 100644 --- a/msgraph_beta/generated/users/item/chats/item/unhide_for_user/unhide_for_user_post_request_body.py +++ b/msgraph_beta/generated/users/item/chats/item/unhide_for_user/unhide_for_user_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ......models.teamwork_user_identity import TeamworkUserIdentity + writer.write_str_value("tenantId", self.tenant_id) writer.write_object_value("user", self.user) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/check_member_groups/check_member_groups_post_response.py b/msgraph_beta/generated/users/item/check_member_groups/check_member_groups_post_response.py index cdf041e2573..b2ce0f888c9 100644 --- a/msgraph_beta/generated/users/item/check_member_groups/check_member_groups_post_response.py +++ b/msgraph_beta/generated/users/item/check_member_groups/check_member_groups_post_response.py @@ -49,6 +49,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_primitive_values("value", self.value) diff --git a/msgraph_beta/generated/users/item/check_member_objects/check_member_objects_post_response.py b/msgraph_beta/generated/users/item/check_member_objects/check_member_objects_post_response.py index 2dc94a92d04..e2a652a7c28 100644 --- a/msgraph_beta/generated/users/item/check_member_objects/check_member_objects_post_response.py +++ b/msgraph_beta/generated/users/item/check_member_objects/check_member_objects_post_response.py @@ -49,6 +49,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_primitive_values("value", self.value) diff --git a/msgraph_beta/generated/users/item/cloud_clipboard/items/count/count_request_builder.py b/msgraph_beta/generated/users/item/cloud_clipboard/items/count/count_request_builder.py index d029169c2b0..8147a0c2318 100644 --- a/msgraph_beta/generated/users/item/cloud_clipboard/items/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/cloud_clipboard/items/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/cloud_p_cs/bulk_resize/bulk_resize_post_response.py b/msgraph_beta/generated/users/item/cloud_p_cs/bulk_resize/bulk_resize_post_response.py index d319bb085f9..77bb7e3d352 100644 --- a/msgraph_beta/generated/users/item/cloud_p_cs/bulk_resize/bulk_resize_post_response.py +++ b/msgraph_beta/generated/users/item/cloud_p_cs/bulk_resize/bulk_resize_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .....models.cloud_pc_remote_action_result import CloudPcRemoteActionResult + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/users/item/cloud_p_cs/count/count_request_builder.py b/msgraph_beta/generated/users/item/cloud_p_cs/count/count_request_builder.py index 7dd55712fee..e5b50c308c1 100644 --- a/msgraph_beta/generated/users/item/cloud_p_cs/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/cloud_p_cs/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/cloud_p_cs/get_provisioned_cloud_p_cs_with_group_id_with_service_plan_id/get_provisioned_cloud_p_cs_with_group_id_with_service_plan_id_get_response.py b/msgraph_beta/generated/users/item/cloud_p_cs/get_provisioned_cloud_p_cs_with_group_id_with_service_plan_id/get_provisioned_cloud_p_cs_with_group_id_with_service_plan_id_get_response.py index 32caf6a46fa..d6a657a634d 100644 --- a/msgraph_beta/generated/users/item/cloud_p_cs/get_provisioned_cloud_p_cs_with_group_id_with_service_plan_id/get_provisioned_cloud_p_cs_with_group_id_with_service_plan_id_get_response.py +++ b/msgraph_beta/generated/users/item/cloud_p_cs/get_provisioned_cloud_p_cs_with_group_id_with_service_plan_id/get_provisioned_cloud_p_cs_with_group_id_with_service_plan_id_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .....models.cloud_p_c import CloudPC + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/users/item/cloud_p_cs/item/change_user_account_type/change_user_account_type_post_request_body.py b/msgraph_beta/generated/users/item/cloud_p_cs/item/change_user_account_type/change_user_account_type_post_request_body.py index 8ac26d1d899..57d84242d25 100644 --- a/msgraph_beta/generated/users/item/cloud_p_cs/item/change_user_account_type/change_user_account_type_post_request_body.py +++ b/msgraph_beta/generated/users/item/cloud_p_cs/item/change_user_account_type/change_user_account_type_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ......models.cloud_pc_user_account_type import CloudPcUserAccountType + writer.write_enum_value("userAccountType", self.user_account_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/cloud_p_cs/item/get_cloud_pc_connectivity_history/get_cloud_pc_connectivity_history_get_response.py b/msgraph_beta/generated/users/item/cloud_p_cs/item/get_cloud_pc_connectivity_history/get_cloud_pc_connectivity_history_get_response.py index df9ddcb97a0..b5583284f0f 100644 --- a/msgraph_beta/generated/users/item/cloud_p_cs/item/get_cloud_pc_connectivity_history/get_cloud_pc_connectivity_history_get_response.py +++ b/msgraph_beta/generated/users/item/cloud_p_cs/item/get_cloud_pc_connectivity_history/get_cloud_pc_connectivity_history_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ......models.cloud_pc_connectivity_event import CloudPcConnectivityEvent + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/users/item/cloud_p_cs/item/get_frontline_cloud_pc_access_state/get_frontline_cloud_pc_access_state_request_builder.py b/msgraph_beta/generated/users/item/cloud_p_cs/item/get_frontline_cloud_pc_access_state/get_frontline_cloud_pc_access_state_request_builder.py index 4194b175a46..2a37daa51c8 100644 --- a/msgraph_beta/generated/users/item/cloud_p_cs/item/get_frontline_cloud_pc_access_state/get_frontline_cloud_pc_access_state_request_builder.py +++ b/msgraph_beta/generated/users/item/cloud_p_cs/item/get_frontline_cloud_pc_access_state/get_frontline_cloud_pc_access_state_request_builder.py @@ -48,7 +48,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[QueryPar raise Exception("Http core is null") from ......models.frontline_cloud_pc_access_state import FrontlineCloudPcAccessState - return await self.request_adapter.send_async(request_info, frontlineCloudPcAccessState, error_mapping) + return await self.request_adapter.send_primitive_async(request_info, "frontlineCloudPcAccessState", error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/cloud_p_cs/item/get_supported_cloud_pc_remote_actions/get_supported_cloud_pc_remote_actions_get_response.py b/msgraph_beta/generated/users/item/cloud_p_cs/item/get_supported_cloud_pc_remote_actions/get_supported_cloud_pc_remote_actions_get_response.py index 00de89c7f14..d3d4b1558e4 100644 --- a/msgraph_beta/generated/users/item/cloud_p_cs/item/get_supported_cloud_pc_remote_actions/get_supported_cloud_pc_remote_actions_get_response.py +++ b/msgraph_beta/generated/users/item/cloud_p_cs/item/get_supported_cloud_pc_remote_actions/get_supported_cloud_pc_remote_actions_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ......models.cloud_pc_remote_action_capability import CloudPcRemoteActionCapability + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/users/item/cloud_p_cs/item/reprovision/reprovision_post_request_body.py b/msgraph_beta/generated/users/item/cloud_p_cs/item/reprovision/reprovision_post_request_body.py index bfacc89f68f..4d228361250 100644 --- a/msgraph_beta/generated/users/item/cloud_p_cs/item/reprovision/reprovision_post_request_body.py +++ b/msgraph_beta/generated/users/item/cloud_p_cs/item/reprovision/reprovision_post_request_body.py @@ -56,6 +56,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ......models.cloud_pc_operating_system import CloudPcOperatingSystem + from ......models.cloud_pc_user_account_type import CloudPcUserAccountType + writer.write_enum_value("osVersion", self.os_version) writer.write_enum_value("userAccountType", self.user_account_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/cloud_p_cs/item/retrieve_cloud_p_c_remote_action_results/retrieve_cloud_p_c_remote_action_results_get_response.py b/msgraph_beta/generated/users/item/cloud_p_cs/item/retrieve_cloud_p_c_remote_action_results/retrieve_cloud_p_c_remote_action_results_get_response.py index 9e5b96c770f..68f9630b9a1 100644 --- a/msgraph_beta/generated/users/item/cloud_p_cs/item/retrieve_cloud_p_c_remote_action_results/retrieve_cloud_p_c_remote_action_results_get_response.py +++ b/msgraph_beta/generated/users/item/cloud_p_cs/item/retrieve_cloud_p_c_remote_action_results/retrieve_cloud_p_c_remote_action_results_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ......models.cloud_pc_remote_action_result import CloudPcRemoteActionResult + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/users/item/cloud_p_cs/item/retrieve_snapshots/retrieve_snapshots_get_response.py b/msgraph_beta/generated/users/item/cloud_p_cs/item/retrieve_snapshots/retrieve_snapshots_get_response.py index 0e6da3d3f3b..551750baf6f 100644 --- a/msgraph_beta/generated/users/item/cloud_p_cs/item/retrieve_snapshots/retrieve_snapshots_get_response.py +++ b/msgraph_beta/generated/users/item/cloud_p_cs/item/retrieve_snapshots/retrieve_snapshots_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ......models.cloud_pc_snapshot import CloudPcSnapshot + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/users/item/cloud_p_cs/item/set_review_status/set_review_status_post_request_body.py b/msgraph_beta/generated/users/item/cloud_p_cs/item/set_review_status/set_review_status_post_request_body.py index f104867815f..2ee25c67a6a 100644 --- a/msgraph_beta/generated/users/item/cloud_p_cs/item/set_review_status/set_review_status_post_request_body.py +++ b/msgraph_beta/generated/users/item/cloud_p_cs/item/set_review_status/set_review_status_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ......models.cloud_pc_review_status import CloudPcReviewStatus + writer.write_object_value("reviewStatus", self.review_status) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/cloud_p_cs/validate_bulk_resize/validate_bulk_resize_post_response.py b/msgraph_beta/generated/users/item/cloud_p_cs/validate_bulk_resize/validate_bulk_resize_post_response.py index b7474911a78..b0acb7fbd82 100644 --- a/msgraph_beta/generated/users/item/cloud_p_cs/validate_bulk_resize/validate_bulk_resize_post_response.py +++ b/msgraph_beta/generated/users/item/cloud_p_cs/validate_bulk_resize/validate_bulk_resize_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .....models.cloud_pc_resize_validation_result import CloudPcResizeValidationResult + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/users/item/contact_folders/count/count_request_builder.py b/msgraph_beta/generated/users/item/contact_folders/count/count_request_builder.py index b6c60ff38dd..17443bb1008 100644 --- a/msgraph_beta/generated/users/item/contact_folders/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/contact_folders/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/contact_folders/delta/delta_get_response.py b/msgraph_beta/generated/users/item/contact_folders/delta/delta_get_response.py index 02dd1c5012d..2d353c031e7 100644 --- a/msgraph_beta/generated/users/item/contact_folders/delta/delta_get_response.py +++ b/msgraph_beta/generated/users/item/contact_folders/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .....models.base_delta_function_response import BaseDeltaFunctionResponse + from .....models.contact_folder import ContactFolder + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/users/item/contact_folders/item/child_folders/count/count_request_builder.py b/msgraph_beta/generated/users/item/contact_folders/item/child_folders/count/count_request_builder.py index ad62e1cc6bd..d4904f203f2 100644 --- a/msgraph_beta/generated/users/item/contact_folders/item/child_folders/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/contact_folders/item/child_folders/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/contact_folders/item/child_folders/delta/delta_get_response.py b/msgraph_beta/generated/users/item/contact_folders/item/child_folders/delta/delta_get_response.py index ea950d8c383..10fcf421a54 100644 --- a/msgraph_beta/generated/users/item/contact_folders/item/child_folders/delta/delta_get_response.py +++ b/msgraph_beta/generated/users/item/contact_folders/item/child_folders/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .......models.base_delta_function_response import BaseDeltaFunctionResponse + from .......models.contact_folder import ContactFolder + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/users/item/contact_folders/item/child_folders/item/contacts/count/count_request_builder.py b/msgraph_beta/generated/users/item/contact_folders/item/child_folders/item/contacts/count/count_request_builder.py index 20a36aec69f..cdb635abd8c 100644 --- a/msgraph_beta/generated/users/item/contact_folders/item/child_folders/item/contacts/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/contact_folders/item/child_folders/item/contacts/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/contact_folders/item/child_folders/item/contacts/delta/delta_get_response.py b/msgraph_beta/generated/users/item/contact_folders/item/child_folders/item/contacts/delta/delta_get_response.py index dd62617d524..ed215775f60 100644 --- a/msgraph_beta/generated/users/item/contact_folders/item/child_folders/item/contacts/delta/delta_get_response.py +++ b/msgraph_beta/generated/users/item/contact_folders/item/child_folders/item/contacts/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .........models.base_delta_function_response import BaseDeltaFunctionResponse + from .........models.contact import Contact + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/users/item/contact_folders/item/child_folders/item/contacts/item/extensions/count/count_request_builder.py b/msgraph_beta/generated/users/item/contact_folders/item/child_folders/item/contacts/item/extensions/count/count_request_builder.py index 43b525a9e53..18dbac6fd3c 100644 --- a/msgraph_beta/generated/users/item/contact_folders/item/child_folders/item/contacts/item/extensions/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/contact_folders/item/child_folders/item/contacts/item/extensions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/contact_folders/item/contacts/count/count_request_builder.py b/msgraph_beta/generated/users/item/contact_folders/item/contacts/count/count_request_builder.py index f50edce11e6..1403f9a1491 100644 --- a/msgraph_beta/generated/users/item/contact_folders/item/contacts/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/contact_folders/item/contacts/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/contact_folders/item/contacts/delta/delta_get_response.py b/msgraph_beta/generated/users/item/contact_folders/item/contacts/delta/delta_get_response.py index 489a114c690..6f8e2ffc988 100644 --- a/msgraph_beta/generated/users/item/contact_folders/item/contacts/delta/delta_get_response.py +++ b/msgraph_beta/generated/users/item/contact_folders/item/contacts/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .......models.base_delta_function_response import BaseDeltaFunctionResponse + from .......models.contact import Contact + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/users/item/contact_folders/item/contacts/item/extensions/count/count_request_builder.py b/msgraph_beta/generated/users/item/contact_folders/item/contacts/item/extensions/count/count_request_builder.py index 83ba57a6cae..10835da1f39 100644 --- a/msgraph_beta/generated/users/item/contact_folders/item/contacts/item/extensions/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/contact_folders/item/contacts/item/extensions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/contacts/count/count_request_builder.py b/msgraph_beta/generated/users/item/contacts/count/count_request_builder.py index 8ca0dae77af..6062c7abe7e 100644 --- a/msgraph_beta/generated/users/item/contacts/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/contacts/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/contacts/delta/delta_get_response.py b/msgraph_beta/generated/users/item/contacts/delta/delta_get_response.py index e040d3f3ae1..130258f98d8 100644 --- a/msgraph_beta/generated/users/item/contacts/delta/delta_get_response.py +++ b/msgraph_beta/generated/users/item/contacts/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .....models.base_delta_function_response import BaseDeltaFunctionResponse + from .....models.contact import Contact + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/users/item/contacts/item/extensions/count/count_request_builder.py b/msgraph_beta/generated/users/item/contacts/item/extensions/count/count_request_builder.py index 968f6f41098..32c6aaf4d7c 100644 --- a/msgraph_beta/generated/users/item/contacts/item/extensions/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/contacts/item/extensions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/convert_external_to_internal_member_user/convert_external_to_internal_member_user_post_request_body.py b/msgraph_beta/generated/users/item/convert_external_to_internal_member_user/convert_external_to_internal_member_user_post_request_body.py index 91bacc1fcd9..c28e2aaae68 100644 --- a/msgraph_beta/generated/users/item/convert_external_to_internal_member_user/convert_external_to_internal_member_user_post_request_body.py +++ b/msgraph_beta/generated/users/item/convert_external_to_internal_member_user/convert_external_to_internal_member_user_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ....models.password_profile import PasswordProfile + writer.write_str_value("mail", self.mail) writer.write_object_value("passwordProfile", self.password_profile) writer.write_str_value("userPrincipalName", self.user_principal_name) diff --git a/msgraph_beta/generated/users/item/created_objects/count/count_request_builder.py b/msgraph_beta/generated/users/item/created_objects/count/count_request_builder.py index cbeb512fe9d..9d9ce55efc0 100644 --- a/msgraph_beta/generated/users/item/created_objects/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/created_objects/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/created_objects/graph_service_principal/count/count_request_builder.py b/msgraph_beta/generated/users/item/created_objects/graph_service_principal/count/count_request_builder.py index 1b91f55c42f..8eb581f935f 100644 --- a/msgraph_beta/generated/users/item/created_objects/graph_service_principal/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/created_objects/graph_service_principal/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/device_enrollment_configurations/count/count_request_builder.py b/msgraph_beta/generated/users/item/device_enrollment_configurations/count/count_request_builder.py index aea072306bb..80add697dd3 100644 --- a/msgraph_beta/generated/users/item/device_enrollment_configurations/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/device_enrollment_configurations/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/device_enrollment_configurations/create_enrollment_notification_configuration/create_enrollment_notification_configuration_post_request_body.py b/msgraph_beta/generated/users/item/device_enrollment_configurations/create_enrollment_notification_configuration/create_enrollment_notification_configuration_post_request_body.py index 880f5c8e645..294464f6ced 100644 --- a/msgraph_beta/generated/users/item/device_enrollment_configurations/create_enrollment_notification_configuration/create_enrollment_notification_configuration_post_request_body.py +++ b/msgraph_beta/generated/users/item/device_enrollment_configurations/create_enrollment_notification_configuration/create_enrollment_notification_configuration_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.device_enrollment_configuration import DeviceEnrollmentConfiguration + writer.write_collection_of_object_values("deviceEnrollmentNotificationConfigurations", self.device_enrollment_notification_configurations) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/device_enrollment_configurations/has_payload_links/has_payload_links_post_response.py b/msgraph_beta/generated/users/item/device_enrollment_configurations/has_payload_links/has_payload_links_post_response.py index 399574f1d13..c472ae406ab 100644 --- a/msgraph_beta/generated/users/item/device_enrollment_configurations/has_payload_links/has_payload_links_post_response.py +++ b/msgraph_beta/generated/users/item/device_enrollment_configurations/has_payload_links/has_payload_links_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .....models.has_payload_link_result_item import HasPayloadLinkResultItem + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/users/item/device_enrollment_configurations/item/assign/assign_post_request_body.py b/msgraph_beta/generated/users/item/device_enrollment_configurations/item/assign/assign_post_request_body.py index 4759ec1c6b7..aba084e9cda 100644 --- a/msgraph_beta/generated/users/item/device_enrollment_configurations/item/assign/assign_post_request_body.py +++ b/msgraph_beta/generated/users/item/device_enrollment_configurations/item/assign/assign_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ......models.enrollment_configuration_assignment import EnrollmentConfigurationAssignment + writer.write_collection_of_object_values("enrollmentConfigurationAssignments", self.enrollment_configuration_assignments) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/device_enrollment_configurations/item/assignments/count/count_request_builder.py b/msgraph_beta/generated/users/item/device_enrollment_configurations/item/assignments/count/count_request_builder.py index 21c02079ebc..c50dcb29c27 100644 --- a/msgraph_beta/generated/users/item/device_enrollment_configurations/item/assignments/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/device_enrollment_configurations/item/assignments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/device_management_troubleshooting_events/count/count_request_builder.py b/msgraph_beta/generated/users/item/device_management_troubleshooting_events/count/count_request_builder.py index 8096f02f43f..3e3098847fd 100644 --- a/msgraph_beta/generated/users/item/device_management_troubleshooting_events/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/device_management_troubleshooting_events/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/devices/count/count_request_builder.py b/msgraph_beta/generated/users/item/devices/count/count_request_builder.py index ab52120ecc5..85f83b3e373 100644 --- a/msgraph_beta/generated/users/item/devices/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/devices/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/devices/delta/delta_get_response.py b/msgraph_beta/generated/users/item/devices/delta/delta_get_response.py index 3c777c92b21..75b8b6c7e36 100644 --- a/msgraph_beta/generated/users/item/devices/delta/delta_get_response.py +++ b/msgraph_beta/generated/users/item/devices/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .....models.base_delta_function_response import BaseDeltaFunctionResponse + from .....models.device import Device + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/users/item/devices/delta/delta_request_builder.py b/msgraph_beta/generated/users/item/devices/delta/delta_request_builder.py index d0b2c8c1a0e..a42ab2a5f53 100644 --- a/msgraph_beta/generated/users/item/devices/delta/delta_request_builder.py +++ b/msgraph_beta/generated/users/item/devices/delta/delta_request_builder.py @@ -31,7 +31,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def get(self,request_configuration: Optional[RequestConfiguration[DeltaRequestBuilderGetQueryParameters]] = None) -> Optional[DeltaGetResponse]: """ - Get newly created, updated, or deleted devices without performing a full read of the entire resource collection. For more information, see Using delta query. + Get newly created, updated, or deleted devices without performing a full read of the entire resource collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeltaGetResponse] Find more info here: https://learn.microsoft.com/graph/api/device-delta?view=graph-rest-beta @@ -52,7 +52,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DeltaReq def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[DeltaRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Get newly created, updated, or deleted devices without performing a full read of the entire resource collection. For more information, see Using delta query. + Get newly created, updated, or deleted devices without performing a full read of the entire resource collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -74,7 +74,7 @@ def with_url(self,raw_url: str) -> DeltaRequestBuilder: @dataclass class DeltaRequestBuilderGetQueryParameters(): """ - Get newly created, updated, or deleted devices without performing a full read of the entire resource collection. For more information, see Using delta query. + Get newly created, updated, or deleted devices without performing a full read of the entire resource collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/users/item/devices/item/commands/count/count_request_builder.py b/msgraph_beta/generated/users/item/devices/item/commands/count/count_request_builder.py index 33c1554dce8..3754cf4e101 100644 --- a/msgraph_beta/generated/users/item/devices/item/commands/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/devices/item/commands/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/devices/item/extensions/count/count_request_builder.py b/msgraph_beta/generated/users/item/devices/item/extensions/count/count_request_builder.py index a7470e9a1c8..6f64534cb23 100644 --- a/msgraph_beta/generated/users/item/devices/item/extensions/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/devices/item/extensions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/devices/item/member_of/count/count_request_builder.py b/msgraph_beta/generated/users/item/devices/item/member_of/count/count_request_builder.py index 1edcd3d1bf1..c51311fc96c 100644 --- a/msgraph_beta/generated/users/item/devices/item/member_of/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/devices/item/member_of/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/devices/item/member_of/graph_administrative_unit/count/count_request_builder.py b/msgraph_beta/generated/users/item/devices/item/member_of/graph_administrative_unit/count/count_request_builder.py index 6f9d07ab671..76612e4da6c 100644 --- a/msgraph_beta/generated/users/item/devices/item/member_of/graph_administrative_unit/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/devices/item/member_of/graph_administrative_unit/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/devices/item/member_of/graph_group/count/count_request_builder.py b/msgraph_beta/generated/users/item/devices/item/member_of/graph_group/count/count_request_builder.py index 8fdce0aa738..920c71841dc 100644 --- a/msgraph_beta/generated/users/item/devices/item/member_of/graph_group/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/devices/item/member_of/graph_group/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/devices/item/registered_owners/count/count_request_builder.py b/msgraph_beta/generated/users/item/devices/item/registered_owners/count/count_request_builder.py index 6982b2c439a..9f7e37ef3c0 100644 --- a/msgraph_beta/generated/users/item/devices/item/registered_owners/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/devices/item/registered_owners/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/devices/item/registered_owners/graph_endpoint/count/count_request_builder.py b/msgraph_beta/generated/users/item/devices/item/registered_owners/graph_endpoint/count/count_request_builder.py index 21ae96925a5..3f0aacb4b72 100644 --- a/msgraph_beta/generated/users/item/devices/item/registered_owners/graph_endpoint/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/devices/item/registered_owners/graph_endpoint/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/devices/item/registered_owners/graph_service_principal/count/count_request_builder.py b/msgraph_beta/generated/users/item/devices/item/registered_owners/graph_service_principal/count/count_request_builder.py index a7ccc9f9497..8707490adb9 100644 --- a/msgraph_beta/generated/users/item/devices/item/registered_owners/graph_service_principal/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/devices/item/registered_owners/graph_service_principal/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/devices/item/registered_owners/graph_user/count/count_request_builder.py b/msgraph_beta/generated/users/item/devices/item/registered_owners/graph_user/count/count_request_builder.py index 07d0f8ef280..6eb04b387bb 100644 --- a/msgraph_beta/generated/users/item/devices/item/registered_owners/graph_user/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/devices/item/registered_owners/graph_user/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/devices/item/registered_users/count/count_request_builder.py b/msgraph_beta/generated/users/item/devices/item/registered_users/count/count_request_builder.py index d23b8d045c7..093f96ee7c6 100644 --- a/msgraph_beta/generated/users/item/devices/item/registered_users/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/devices/item/registered_users/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/devices/item/registered_users/graph_endpoint/count/count_request_builder.py b/msgraph_beta/generated/users/item/devices/item/registered_users/graph_endpoint/count/count_request_builder.py index 6e66ab8541a..19efd6619d3 100644 --- a/msgraph_beta/generated/users/item/devices/item/registered_users/graph_endpoint/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/devices/item/registered_users/graph_endpoint/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/devices/item/registered_users/graph_service_principal/count/count_request_builder.py b/msgraph_beta/generated/users/item/devices/item/registered_users/graph_service_principal/count/count_request_builder.py index d9ec91c09cb..7341ea03622 100644 --- a/msgraph_beta/generated/users/item/devices/item/registered_users/graph_service_principal/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/devices/item/registered_users/graph_service_principal/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/devices/item/registered_users/graph_user/count/count_request_builder.py b/msgraph_beta/generated/users/item/devices/item/registered_users/graph_user/count/count_request_builder.py index ebc06c33234..fc9f21d4023 100644 --- a/msgraph_beta/generated/users/item/devices/item/registered_users/graph_user/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/devices/item/registered_users/graph_user/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/devices/item/transitive_member_of/count/count_request_builder.py b/msgraph_beta/generated/users/item/devices/item/transitive_member_of/count/count_request_builder.py index 7df9b71c533..5c4ebdea6a1 100644 --- a/msgraph_beta/generated/users/item/devices/item/transitive_member_of/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/devices/item/transitive_member_of/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/devices/item/transitive_member_of/graph_administrative_unit/count/count_request_builder.py b/msgraph_beta/generated/users/item/devices/item/transitive_member_of/graph_administrative_unit/count/count_request_builder.py index a05244c2b68..d40256b4357 100644 --- a/msgraph_beta/generated/users/item/devices/item/transitive_member_of/graph_administrative_unit/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/devices/item/transitive_member_of/graph_administrative_unit/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/devices/item/transitive_member_of/graph_group/count/count_request_builder.py b/msgraph_beta/generated/users/item/devices/item/transitive_member_of/graph_group/count/count_request_builder.py index 62a86f9fd94..6e87ea927f7 100644 --- a/msgraph_beta/generated/users/item/devices/item/transitive_member_of/graph_group/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/devices/item/transitive_member_of/graph_group/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/devices/item/usage_rights/count/count_request_builder.py b/msgraph_beta/generated/users/item/devices/item/usage_rights/count/count_request_builder.py index 64a114f17eb..104306adf7c 100644 --- a/msgraph_beta/generated/users/item/devices/item/usage_rights/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/devices/item/usage_rights/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/direct_reports/count/count_request_builder.py b/msgraph_beta/generated/users/item/direct_reports/count/count_request_builder.py index 73eabcf0321..e843be9cb27 100644 --- a/msgraph_beta/generated/users/item/direct_reports/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/direct_reports/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/direct_reports/graph_org_contact/count/count_request_builder.py b/msgraph_beta/generated/users/item/direct_reports/graph_org_contact/count/count_request_builder.py index 575927b737b..10dd5babc69 100644 --- a/msgraph_beta/generated/users/item/direct_reports/graph_org_contact/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/direct_reports/graph_org_contact/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/direct_reports/graph_user/count/count_request_builder.py b/msgraph_beta/generated/users/item/direct_reports/graph_user/count/count_request_builder.py index 7289c4ddb48..10be3735ec6 100644 --- a/msgraph_beta/generated/users/item/direct_reports/graph_user/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/direct_reports/graph_user/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/drives/count/count_request_builder.py b/msgraph_beta/generated/users/item/drives/count/count_request_builder.py index 341747131ed..85709fb08db 100644 --- a/msgraph_beta/generated/users/item/drives/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/drives/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/employee_experience/learning_course_activities/count/count_request_builder.py b/msgraph_beta/generated/users/item/employee_experience/learning_course_activities/count/count_request_builder.py index 485b88b216f..932d0f88436 100644 --- a/msgraph_beta/generated/users/item/employee_experience/learning_course_activities/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/employee_experience/learning_course_activities/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/events/count/count_request_builder.py b/msgraph_beta/generated/users/item/events/count/count_request_builder.py index 0ce6ad1b1e6..eb2a5a774a3 100644 --- a/msgraph_beta/generated/users/item/events/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/events/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/events/delta/delta_get_response.py b/msgraph_beta/generated/users/item/events/delta/delta_get_response.py index 624d2ff9617..7b7b14f8a80 100644 --- a/msgraph_beta/generated/users/item/events/delta/delta_get_response.py +++ b/msgraph_beta/generated/users/item/events/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .....models.base_delta_function_response import BaseDeltaFunctionResponse + from .....models.event import Event + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/users/item/events/item/attachments/count/count_request_builder.py b/msgraph_beta/generated/users/item/events/item/attachments/count/count_request_builder.py index 68b0b708413..87ffa87794a 100644 --- a/msgraph_beta/generated/users/item/events/item/attachments/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/events/item/attachments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/events/item/attachments/create_upload_session/create_upload_session_post_request_body.py b/msgraph_beta/generated/users/item/events/item/attachments/create_upload_session/create_upload_session_post_request_body.py index c0ac38ff4df..9b2361ec3bc 100644 --- a/msgraph_beta/generated/users/item/events/item/attachments/create_upload_session/create_upload_session_post_request_body.py +++ b/msgraph_beta/generated/users/item/events/item/attachments/create_upload_session/create_upload_session_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .......models.attachment_item import AttachmentItem + writer.write_object_value("AttachmentItem", self.attachment_item) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/events/item/decline/decline_post_request_body.py b/msgraph_beta/generated/users/item/events/item/decline/decline_post_request_body.py index 2979ad69ea0..da59f3c7288 100644 --- a/msgraph_beta/generated/users/item/events/item/decline/decline_post_request_body.py +++ b/msgraph_beta/generated/users/item/events/item/decline/decline_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ......models.time_slot import TimeSlot + writer.write_str_value("Comment", self.comment) writer.write_object_value("ProposedNewTime", self.proposed_new_time) writer.write_bool_value("SendResponse", self.send_response) diff --git a/msgraph_beta/generated/users/item/events/item/exception_occurrences/count/count_request_builder.py b/msgraph_beta/generated/users/item/events/item/exception_occurrences/count/count_request_builder.py index f6e2d3822eb..bae244ff43e 100644 --- a/msgraph_beta/generated/users/item/events/item/exception_occurrences/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/events/item/exception_occurrences/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/events/item/exception_occurrences/delta/delta_get_response.py b/msgraph_beta/generated/users/item/events/item/exception_occurrences/delta/delta_get_response.py index 284febf7b58..97346f2d2cd 100644 --- a/msgraph_beta/generated/users/item/events/item/exception_occurrences/delta/delta_get_response.py +++ b/msgraph_beta/generated/users/item/events/item/exception_occurrences/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .......models.base_delta_function_response import BaseDeltaFunctionResponse + from .......models.event import Event + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/attachments/count/count_request_builder.py b/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/attachments/count/count_request_builder.py index e0ab8aa9f40..82eabc11d83 100644 --- a/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/attachments/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/attachments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_post_request_body.py b/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_post_request_body.py index 2dccea4559f..23154d22cc3 100644 --- a/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_post_request_body.py +++ b/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .........models.attachment_item import AttachmentItem + writer.write_object_value("AttachmentItem", self.attachment_item) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/decline/decline_post_request_body.py b/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/decline/decline_post_request_body.py index 5d8b2272815..553bcd6bb26 100644 --- a/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/decline/decline_post_request_body.py +++ b/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/decline/decline_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ........models.time_slot import TimeSlot + writer.write_str_value("Comment", self.comment) writer.write_object_value("ProposedNewTime", self.proposed_new_time) writer.write_bool_value("SendResponse", self.send_response) diff --git a/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/extensions/count/count_request_builder.py b/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/extensions/count/count_request_builder.py index f82c1e05e4a..e4f39aad268 100644 --- a/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/extensions/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/extensions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/forward/forward_post_request_body.py b/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/forward/forward_post_request_body.py index c6dc81f4080..a46731eaf35 100644 --- a/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/forward/forward_post_request_body.py +++ b/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/forward/forward_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ........models.recipient import Recipient + writer.write_str_value("Comment", self.comment) writer.write_collection_of_object_values("ToRecipients", self.to_recipients) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/instances/count/count_request_builder.py b/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/instances/count/count_request_builder.py index 55d492dfb05..d1a00652207 100644 --- a/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/instances/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/instances/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/instances/delta/delta_get_response.py b/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/instances/delta/delta_get_response.py index 23fb1ca654a..db2534e5b05 100644 --- a/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/instances/delta/delta_get_response.py +++ b/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/instances/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .........models.base_delta_function_response import BaseDeltaFunctionResponse + from .........models.event import Event + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/instances/item/attachments/count/count_request_builder.py b/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/instances/item/attachments/count/count_request_builder.py index af675d40a1d..56af93c2da9 100644 --- a/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/instances/item/attachments/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/instances/item/attachments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/instances/item/attachments/create_upload_session/create_upload_session_post_request_body.py b/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/instances/item/attachments/create_upload_session/create_upload_session_post_request_body.py index 720f6db83c7..c831f06aaf2 100644 --- a/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/instances/item/attachments/create_upload_session/create_upload_session_post_request_body.py +++ b/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/instances/item/attachments/create_upload_session/create_upload_session_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ...........models.attachment_item import AttachmentItem + writer.write_object_value("AttachmentItem", self.attachment_item) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/instances/item/decline/decline_post_request_body.py b/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/instances/item/decline/decline_post_request_body.py index b1b31ebf43f..af0d655163d 100644 --- a/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/instances/item/decline/decline_post_request_body.py +++ b/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/instances/item/decline/decline_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ..........models.time_slot import TimeSlot + writer.write_str_value("Comment", self.comment) writer.write_object_value("ProposedNewTime", self.proposed_new_time) writer.write_bool_value("SendResponse", self.send_response) diff --git a/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/instances/item/extensions/count/count_request_builder.py b/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/instances/item/extensions/count/count_request_builder.py index 86a41f8139c..af773cc0ad6 100644 --- a/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/instances/item/extensions/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/instances/item/extensions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/instances/item/forward/forward_post_request_body.py b/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/instances/item/forward/forward_post_request_body.py index e30831a3e49..291cb53db24 100644 --- a/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/instances/item/forward/forward_post_request_body.py +++ b/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/instances/item/forward/forward_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ..........models.recipient import Recipient + writer.write_str_value("Comment", self.comment) writer.write_collection_of_object_values("ToRecipients", self.to_recipients) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/instances/item/snooze_reminder/snooze_reminder_post_request_body.py b/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/instances/item/snooze_reminder/snooze_reminder_post_request_body.py index 965ed80b889..fe4b708f070 100644 --- a/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/instances/item/snooze_reminder/snooze_reminder_post_request_body.py +++ b/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/instances/item/snooze_reminder/snooze_reminder_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ..........models.date_time_time_zone import DateTimeTimeZone + writer.write_object_value("NewReminderTime", self.new_reminder_time) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/instances/item/tentatively_accept/tentatively_accept_post_request_body.py b/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/instances/item/tentatively_accept/tentatively_accept_post_request_body.py index 0f34906867b..956b28b2a29 100644 --- a/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/instances/item/tentatively_accept/tentatively_accept_post_request_body.py +++ b/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/instances/item/tentatively_accept/tentatively_accept_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ..........models.time_slot import TimeSlot + writer.write_str_value("Comment", self.comment) writer.write_object_value("ProposedNewTime", self.proposed_new_time) writer.write_bool_value("SendResponse", self.send_response) diff --git a/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/snooze_reminder/snooze_reminder_post_request_body.py b/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/snooze_reminder/snooze_reminder_post_request_body.py index 812d7af6110..74f5520c222 100644 --- a/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/snooze_reminder/snooze_reminder_post_request_body.py +++ b/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/snooze_reminder/snooze_reminder_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ........models.date_time_time_zone import DateTimeTimeZone + writer.write_object_value("NewReminderTime", self.new_reminder_time) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/tentatively_accept/tentatively_accept_post_request_body.py b/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/tentatively_accept/tentatively_accept_post_request_body.py index 1104b6b5c4d..2a8b802ad27 100644 --- a/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/tentatively_accept/tentatively_accept_post_request_body.py +++ b/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/tentatively_accept/tentatively_accept_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ........models.time_slot import TimeSlot + writer.write_str_value("Comment", self.comment) writer.write_object_value("ProposedNewTime", self.proposed_new_time) writer.write_bool_value("SendResponse", self.send_response) diff --git a/msgraph_beta/generated/users/item/events/item/extensions/count/count_request_builder.py b/msgraph_beta/generated/users/item/events/item/extensions/count/count_request_builder.py index 71f0caf5d34..f6d1eeb9b89 100644 --- a/msgraph_beta/generated/users/item/events/item/extensions/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/events/item/extensions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/events/item/forward/forward_post_request_body.py b/msgraph_beta/generated/users/item/events/item/forward/forward_post_request_body.py index a420e81d4c8..71817be714a 100644 --- a/msgraph_beta/generated/users/item/events/item/forward/forward_post_request_body.py +++ b/msgraph_beta/generated/users/item/events/item/forward/forward_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ......models.recipient import Recipient + writer.write_str_value("Comment", self.comment) writer.write_collection_of_object_values("ToRecipients", self.to_recipients) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/events/item/instances/count/count_request_builder.py b/msgraph_beta/generated/users/item/events/item/instances/count/count_request_builder.py index 568caf2e52f..55b0b0b26c9 100644 --- a/msgraph_beta/generated/users/item/events/item/instances/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/events/item/instances/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/events/item/instances/delta/delta_get_response.py b/msgraph_beta/generated/users/item/events/item/instances/delta/delta_get_response.py index 284febf7b58..97346f2d2cd 100644 --- a/msgraph_beta/generated/users/item/events/item/instances/delta/delta_get_response.py +++ b/msgraph_beta/generated/users/item/events/item/instances/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .......models.base_delta_function_response import BaseDeltaFunctionResponse + from .......models.event import Event + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/users/item/events/item/instances/item/attachments/count/count_request_builder.py b/msgraph_beta/generated/users/item/events/item/instances/item/attachments/count/count_request_builder.py index d1a5360a982..7e29fb4a5bb 100644 --- a/msgraph_beta/generated/users/item/events/item/instances/item/attachments/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/events/item/instances/item/attachments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/events/item/instances/item/attachments/create_upload_session/create_upload_session_post_request_body.py b/msgraph_beta/generated/users/item/events/item/instances/item/attachments/create_upload_session/create_upload_session_post_request_body.py index 2dccea4559f..23154d22cc3 100644 --- a/msgraph_beta/generated/users/item/events/item/instances/item/attachments/create_upload_session/create_upload_session_post_request_body.py +++ b/msgraph_beta/generated/users/item/events/item/instances/item/attachments/create_upload_session/create_upload_session_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .........models.attachment_item import AttachmentItem + writer.write_object_value("AttachmentItem", self.attachment_item) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/events/item/instances/item/decline/decline_post_request_body.py b/msgraph_beta/generated/users/item/events/item/instances/item/decline/decline_post_request_body.py index 5d8b2272815..553bcd6bb26 100644 --- a/msgraph_beta/generated/users/item/events/item/instances/item/decline/decline_post_request_body.py +++ b/msgraph_beta/generated/users/item/events/item/instances/item/decline/decline_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ........models.time_slot import TimeSlot + writer.write_str_value("Comment", self.comment) writer.write_object_value("ProposedNewTime", self.proposed_new_time) writer.write_bool_value("SendResponse", self.send_response) diff --git a/msgraph_beta/generated/users/item/events/item/instances/item/exception_occurrences/count/count_request_builder.py b/msgraph_beta/generated/users/item/events/item/instances/item/exception_occurrences/count/count_request_builder.py index 5c2dfe9c1e2..1e678164d12 100644 --- a/msgraph_beta/generated/users/item/events/item/instances/item/exception_occurrences/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/events/item/instances/item/exception_occurrences/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/events/item/instances/item/exception_occurrences/delta/delta_get_response.py b/msgraph_beta/generated/users/item/events/item/instances/item/exception_occurrences/delta/delta_get_response.py index 23fb1ca654a..db2534e5b05 100644 --- a/msgraph_beta/generated/users/item/events/item/instances/item/exception_occurrences/delta/delta_get_response.py +++ b/msgraph_beta/generated/users/item/events/item/instances/item/exception_occurrences/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .........models.base_delta_function_response import BaseDeltaFunctionResponse + from .........models.event import Event + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/users/item/events/item/instances/item/exception_occurrences/item/attachments/count/count_request_builder.py b/msgraph_beta/generated/users/item/events/item/instances/item/exception_occurrences/item/attachments/count/count_request_builder.py index db5166fda18..6df95e0e863 100644 --- a/msgraph_beta/generated/users/item/events/item/instances/item/exception_occurrences/item/attachments/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/events/item/instances/item/exception_occurrences/item/attachments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/events/item/instances/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_post_request_body.py b/msgraph_beta/generated/users/item/events/item/instances/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_post_request_body.py index 720f6db83c7..c831f06aaf2 100644 --- a/msgraph_beta/generated/users/item/events/item/instances/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_post_request_body.py +++ b/msgraph_beta/generated/users/item/events/item/instances/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ...........models.attachment_item import AttachmentItem + writer.write_object_value("AttachmentItem", self.attachment_item) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/events/item/instances/item/exception_occurrences/item/decline/decline_post_request_body.py b/msgraph_beta/generated/users/item/events/item/instances/item/exception_occurrences/item/decline/decline_post_request_body.py index b1b31ebf43f..af0d655163d 100644 --- a/msgraph_beta/generated/users/item/events/item/instances/item/exception_occurrences/item/decline/decline_post_request_body.py +++ b/msgraph_beta/generated/users/item/events/item/instances/item/exception_occurrences/item/decline/decline_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ..........models.time_slot import TimeSlot + writer.write_str_value("Comment", self.comment) writer.write_object_value("ProposedNewTime", self.proposed_new_time) writer.write_bool_value("SendResponse", self.send_response) diff --git a/msgraph_beta/generated/users/item/events/item/instances/item/exception_occurrences/item/extensions/count/count_request_builder.py b/msgraph_beta/generated/users/item/events/item/instances/item/exception_occurrences/item/extensions/count/count_request_builder.py index 0264b55d8f5..7a9a41f2538 100644 --- a/msgraph_beta/generated/users/item/events/item/instances/item/exception_occurrences/item/extensions/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/events/item/instances/item/exception_occurrences/item/extensions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/events/item/instances/item/exception_occurrences/item/forward/forward_post_request_body.py b/msgraph_beta/generated/users/item/events/item/instances/item/exception_occurrences/item/forward/forward_post_request_body.py index e30831a3e49..291cb53db24 100644 --- a/msgraph_beta/generated/users/item/events/item/instances/item/exception_occurrences/item/forward/forward_post_request_body.py +++ b/msgraph_beta/generated/users/item/events/item/instances/item/exception_occurrences/item/forward/forward_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ..........models.recipient import Recipient + writer.write_str_value("Comment", self.comment) writer.write_collection_of_object_values("ToRecipients", self.to_recipients) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/events/item/instances/item/exception_occurrences/item/snooze_reminder/snooze_reminder_post_request_body.py b/msgraph_beta/generated/users/item/events/item/instances/item/exception_occurrences/item/snooze_reminder/snooze_reminder_post_request_body.py index 965ed80b889..fe4b708f070 100644 --- a/msgraph_beta/generated/users/item/events/item/instances/item/exception_occurrences/item/snooze_reminder/snooze_reminder_post_request_body.py +++ b/msgraph_beta/generated/users/item/events/item/instances/item/exception_occurrences/item/snooze_reminder/snooze_reminder_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ..........models.date_time_time_zone import DateTimeTimeZone + writer.write_object_value("NewReminderTime", self.new_reminder_time) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/events/item/instances/item/exception_occurrences/item/tentatively_accept/tentatively_accept_post_request_body.py b/msgraph_beta/generated/users/item/events/item/instances/item/exception_occurrences/item/tentatively_accept/tentatively_accept_post_request_body.py index 0f34906867b..956b28b2a29 100644 --- a/msgraph_beta/generated/users/item/events/item/instances/item/exception_occurrences/item/tentatively_accept/tentatively_accept_post_request_body.py +++ b/msgraph_beta/generated/users/item/events/item/instances/item/exception_occurrences/item/tentatively_accept/tentatively_accept_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ..........models.time_slot import TimeSlot + writer.write_str_value("Comment", self.comment) writer.write_object_value("ProposedNewTime", self.proposed_new_time) writer.write_bool_value("SendResponse", self.send_response) diff --git a/msgraph_beta/generated/users/item/events/item/instances/item/extensions/count/count_request_builder.py b/msgraph_beta/generated/users/item/events/item/instances/item/extensions/count/count_request_builder.py index 0e887a761b5..419ca6e022e 100644 --- a/msgraph_beta/generated/users/item/events/item/instances/item/extensions/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/events/item/instances/item/extensions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/events/item/instances/item/forward/forward_post_request_body.py b/msgraph_beta/generated/users/item/events/item/instances/item/forward/forward_post_request_body.py index c6dc81f4080..a46731eaf35 100644 --- a/msgraph_beta/generated/users/item/events/item/instances/item/forward/forward_post_request_body.py +++ b/msgraph_beta/generated/users/item/events/item/instances/item/forward/forward_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ........models.recipient import Recipient + writer.write_str_value("Comment", self.comment) writer.write_collection_of_object_values("ToRecipients", self.to_recipients) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/events/item/instances/item/snooze_reminder/snooze_reminder_post_request_body.py b/msgraph_beta/generated/users/item/events/item/instances/item/snooze_reminder/snooze_reminder_post_request_body.py index 812d7af6110..74f5520c222 100644 --- a/msgraph_beta/generated/users/item/events/item/instances/item/snooze_reminder/snooze_reminder_post_request_body.py +++ b/msgraph_beta/generated/users/item/events/item/instances/item/snooze_reminder/snooze_reminder_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ........models.date_time_time_zone import DateTimeTimeZone + writer.write_object_value("NewReminderTime", self.new_reminder_time) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/events/item/instances/item/tentatively_accept/tentatively_accept_post_request_body.py b/msgraph_beta/generated/users/item/events/item/instances/item/tentatively_accept/tentatively_accept_post_request_body.py index 1104b6b5c4d..2a8b802ad27 100644 --- a/msgraph_beta/generated/users/item/events/item/instances/item/tentatively_accept/tentatively_accept_post_request_body.py +++ b/msgraph_beta/generated/users/item/events/item/instances/item/tentatively_accept/tentatively_accept_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ........models.time_slot import TimeSlot + writer.write_str_value("Comment", self.comment) writer.write_object_value("ProposedNewTime", self.proposed_new_time) writer.write_bool_value("SendResponse", self.send_response) diff --git a/msgraph_beta/generated/users/item/events/item/snooze_reminder/snooze_reminder_post_request_body.py b/msgraph_beta/generated/users/item/events/item/snooze_reminder/snooze_reminder_post_request_body.py index c3461a90c30..1328d06fb50 100644 --- a/msgraph_beta/generated/users/item/events/item/snooze_reminder/snooze_reminder_post_request_body.py +++ b/msgraph_beta/generated/users/item/events/item/snooze_reminder/snooze_reminder_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ......models.date_time_time_zone import DateTimeTimeZone + writer.write_object_value("NewReminderTime", self.new_reminder_time) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/events/item/tentatively_accept/tentatively_accept_post_request_body.py b/msgraph_beta/generated/users/item/events/item/tentatively_accept/tentatively_accept_post_request_body.py index fe8da7bf660..343d9807c96 100644 --- a/msgraph_beta/generated/users/item/events/item/tentatively_accept/tentatively_accept_post_request_body.py +++ b/msgraph_beta/generated/users/item/events/item/tentatively_accept/tentatively_accept_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ......models.time_slot import TimeSlot + writer.write_str_value("Comment", self.comment) writer.write_object_value("ProposedNewTime", self.proposed_new_time) writer.write_bool_value("SendResponse", self.send_response) diff --git a/msgraph_beta/generated/users/item/extensions/count/count_request_builder.py b/msgraph_beta/generated/users/item/extensions/count/count_request_builder.py index f4011f672de..2a5b70e4b02 100644 --- a/msgraph_beta/generated/users/item/extensions/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/extensions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/find_meeting_times/find_meeting_times_post_request_body.py b/msgraph_beta/generated/users/item/find_meeting_times/find_meeting_times_post_request_body.py index ee7c06436e2..80ae8eb1431 100644 --- a/msgraph_beta/generated/users/item/find_meeting_times/find_meeting_times_post_request_body.py +++ b/msgraph_beta/generated/users/item/find_meeting_times/find_meeting_times_post_request_body.py @@ -78,6 +78,10 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ....models.attendee_base import AttendeeBase + from ....models.location_constraint import LocationConstraint + from ....models.time_constraint import TimeConstraint + writer.write_collection_of_object_values("attendees", self.attendees) writer.write_bool_value("isOrganizerOptional", self.is_organizer_optional) writer.write_object_value("locationConstraint", self.location_constraint) diff --git a/msgraph_beta/generated/users/item/find_room_lists/find_room_lists_get_response.py b/msgraph_beta/generated/users/item/find_room_lists/find_room_lists_get_response.py index d52203169ff..9bfc12793c8 100644 --- a/msgraph_beta/generated/users/item/find_room_lists/find_room_lists_get_response.py +++ b/msgraph_beta/generated/users/item/find_room_lists/find_room_lists_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ....models.email_address import EmailAddress + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/users/item/find_rooms/find_rooms_get_response.py b/msgraph_beta/generated/users/item/find_rooms/find_rooms_get_response.py index a72b5c34314..7895f45537e 100644 --- a/msgraph_beta/generated/users/item/find_rooms/find_rooms_get_response.py +++ b/msgraph_beta/generated/users/item/find_rooms/find_rooms_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ....models.email_address import EmailAddress + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/users/item/find_rooms_with_room_list/find_rooms_with_room_list_get_response.py b/msgraph_beta/generated/users/item/find_rooms_with_room_list/find_rooms_with_room_list_get_response.py index 2b9e8af4aa9..1a532135866 100644 --- a/msgraph_beta/generated/users/item/find_rooms_with_room_list/find_rooms_with_room_list_get_response.py +++ b/msgraph_beta/generated/users/item/find_rooms_with_room_list/find_rooms_with_room_list_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ....models.email_address import EmailAddress + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/users/item/followed_sites/add/add_post_request_body.py b/msgraph_beta/generated/users/item/followed_sites/add/add_post_request_body.py index 55909bc1c21..d5504cf6e16 100644 --- a/msgraph_beta/generated/users/item/followed_sites/add/add_post_request_body.py +++ b/msgraph_beta/generated/users/item/followed_sites/add/add_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.site import Site + writer.write_collection_of_object_values("value", self.value) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/followed_sites/add/add_post_response.py b/msgraph_beta/generated/users/item/followed_sites/add/add_post_response.py index cccf2fb1a86..60ac780c4b9 100644 --- a/msgraph_beta/generated/users/item/followed_sites/add/add_post_response.py +++ b/msgraph_beta/generated/users/item/followed_sites/add/add_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .....models.site import Site + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/users/item/followed_sites/count/count_request_builder.py b/msgraph_beta/generated/users/item/followed_sites/count/count_request_builder.py index f389a551f75..8489c1a0861 100644 --- a/msgraph_beta/generated/users/item/followed_sites/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/followed_sites/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/followed_sites/remove/remove_post_request_body.py b/msgraph_beta/generated/users/item/followed_sites/remove/remove_post_request_body.py index 57701ce4446..9cbbba81e98 100644 --- a/msgraph_beta/generated/users/item/followed_sites/remove/remove_post_request_body.py +++ b/msgraph_beta/generated/users/item/followed_sites/remove/remove_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.site import Site + writer.write_collection_of_object_values("value", self.value) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/followed_sites/remove/remove_post_response.py b/msgraph_beta/generated/users/item/followed_sites/remove/remove_post_response.py index 31d429a1795..6261a971949 100644 --- a/msgraph_beta/generated/users/item/followed_sites/remove/remove_post_response.py +++ b/msgraph_beta/generated/users/item/followed_sites/remove/remove_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .....models.site import Site + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/users/item/get_effective_device_enrollment_configurations/get_effective_device_enrollment_configurations_get_response.py b/msgraph_beta/generated/users/item/get_effective_device_enrollment_configurations/get_effective_device_enrollment_configurations_get_response.py index 2a00a791c51..ac2a7aa49ff 100644 --- a/msgraph_beta/generated/users/item/get_effective_device_enrollment_configurations/get_effective_device_enrollment_configurations_get_response.py +++ b/msgraph_beta/generated/users/item/get_effective_device_enrollment_configurations/get_effective_device_enrollment_configurations_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ....models.device_enrollment_configuration import DeviceEnrollmentConfiguration + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/users/item/get_logged_on_managed_devices/get_logged_on_managed_devices_get_response.py b/msgraph_beta/generated/users/item/get_logged_on_managed_devices/get_logged_on_managed_devices_get_response.py index 934007b9eb8..4264b6d89c1 100644 --- a/msgraph_beta/generated/users/item/get_logged_on_managed_devices/get_logged_on_managed_devices_get_response.py +++ b/msgraph_beta/generated/users/item/get_logged_on_managed_devices/get_logged_on_managed_devices_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ....models.managed_device import ManagedDevice + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/users/item/get_mail_tips/get_mail_tips_post_request_body.py b/msgraph_beta/generated/users/item/get_mail_tips/get_mail_tips_post_request_body.py index 66b4d27cd9b..dc7c1965235 100644 --- a/msgraph_beta/generated/users/item/get_mail_tips/get_mail_tips_post_request_body.py +++ b/msgraph_beta/generated/users/item/get_mail_tips/get_mail_tips_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ....models.mail_tips_type import MailTipsType + writer.write_collection_of_primitive_values("EmailAddresses", self.email_addresses) writer.write_enum_value("MailTipsOptions", self.mail_tips_options) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/get_mail_tips/get_mail_tips_post_response.py b/msgraph_beta/generated/users/item/get_mail_tips/get_mail_tips_post_response.py index 43d0c15827d..e1d41c13e08 100644 --- a/msgraph_beta/generated/users/item/get_mail_tips/get_mail_tips_post_response.py +++ b/msgraph_beta/generated/users/item/get_mail_tips/get_mail_tips_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ....models.mail_tips import MailTips + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/users/item/get_managed_app_diagnostic_statuses/get_managed_app_diagnostic_statuses_get_response.py b/msgraph_beta/generated/users/item/get_managed_app_diagnostic_statuses/get_managed_app_diagnostic_statuses_get_response.py index 85dda8928ab..0b49fd9c4ab 100644 --- a/msgraph_beta/generated/users/item/get_managed_app_diagnostic_statuses/get_managed_app_diagnostic_statuses_get_response.py +++ b/msgraph_beta/generated/users/item/get_managed_app_diagnostic_statuses/get_managed_app_diagnostic_statuses_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ....models.managed_app_diagnostic_status import ManagedAppDiagnosticStatus + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/users/item/get_managed_app_policies/get_managed_app_policies_get_response.py b/msgraph_beta/generated/users/item/get_managed_app_policies/get_managed_app_policies_get_response.py index 78224768fe4..a1f20f2e58b 100644 --- a/msgraph_beta/generated/users/item/get_managed_app_policies/get_managed_app_policies_get_response.py +++ b/msgraph_beta/generated/users/item/get_managed_app_policies/get_managed_app_policies_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ....models.managed_app_policy import ManagedAppPolicy + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/users/item/get_managed_devices_with_app_failures/get_managed_devices_with_app_failures_get_response.py b/msgraph_beta/generated/users/item/get_managed_devices_with_app_failures/get_managed_devices_with_app_failures_get_response.py index ddc7c3e8cd9..167a3297b56 100644 --- a/msgraph_beta/generated/users/item/get_managed_devices_with_app_failures/get_managed_devices_with_app_failures_get_response.py +++ b/msgraph_beta/generated/users/item/get_managed_devices_with_app_failures/get_managed_devices_with_app_failures_get_response.py @@ -49,6 +49,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_primitive_values("value", self.value) diff --git a/msgraph_beta/generated/users/item/get_managed_devices_with_failed_or_pending_apps/get_managed_devices_with_failed_or_pending_apps_get_response.py b/msgraph_beta/generated/users/item/get_managed_devices_with_failed_or_pending_apps/get_managed_devices_with_failed_or_pending_apps_get_response.py index f119e3c0dad..5dc14c9b84d 100644 --- a/msgraph_beta/generated/users/item/get_managed_devices_with_failed_or_pending_apps/get_managed_devices_with_failed_or_pending_apps_get_response.py +++ b/msgraph_beta/generated/users/item/get_managed_devices_with_failed_or_pending_apps/get_managed_devices_with_failed_or_pending_apps_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ....models.managed_device_summarized_app_state import ManagedDeviceSummarizedAppState + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/users/item/get_member_groups/get_member_groups_post_response.py b/msgraph_beta/generated/users/item/get_member_groups/get_member_groups_post_response.py index bd4dad887b8..5ac4a9b07d5 100644 --- a/msgraph_beta/generated/users/item/get_member_groups/get_member_groups_post_response.py +++ b/msgraph_beta/generated/users/item/get_member_groups/get_member_groups_post_response.py @@ -49,6 +49,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_primitive_values("value", self.value) diff --git a/msgraph_beta/generated/users/item/get_member_objects/get_member_objects_post_response.py b/msgraph_beta/generated/users/item/get_member_objects/get_member_objects_post_response.py index fe38b269075..e63599e52a4 100644 --- a/msgraph_beta/generated/users/item/get_member_objects/get_member_objects_post_response.py +++ b/msgraph_beta/generated/users/item/get_member_objects/get_member_objects_post_response.py @@ -49,6 +49,8 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_primitive_values("value", self.value) diff --git a/msgraph_beta/generated/users/item/get_password_single_sign_on_credentials/get_password_single_sign_on_credentials_post_response.py b/msgraph_beta/generated/users/item/get_password_single_sign_on_credentials/get_password_single_sign_on_credentials_post_response.py index 027e2a6fe08..813391c9e6d 100644 --- a/msgraph_beta/generated/users/item/get_password_single_sign_on_credentials/get_password_single_sign_on_credentials_post_response.py +++ b/msgraph_beta/generated/users/item/get_password_single_sign_on_credentials/get_password_single_sign_on_credentials_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ....models.password_single_sign_on_credential_set import PasswordSingleSignOnCredentialSet + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/users/item/inference_classification/overrides/count/count_request_builder.py b/msgraph_beta/generated/users/item/inference_classification/overrides/count/count_request_builder.py index 92a50e1e1fa..a634e42d918 100644 --- a/msgraph_beta/generated/users/item/inference_classification/overrides/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/inference_classification/overrides/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/information_protection/bitlocker/recovery_keys/count/count_request_builder.py b/msgraph_beta/generated/users/item/information_protection/bitlocker/recovery_keys/count/count_request_builder.py index 433c2973b60..35283cf3131 100644 --- a/msgraph_beta/generated/users/item/information_protection/bitlocker/recovery_keys/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/information_protection/bitlocker/recovery_keys/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/information_protection/data_loss_prevention_policies/count/count_request_builder.py b/msgraph_beta/generated/users/item/information_protection/data_loss_prevention_policies/count/count_request_builder.py index 3da3349f6d8..6065e7d0b0e 100644 --- a/msgraph_beta/generated/users/item/information_protection/data_loss_prevention_policies/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/information_protection/data_loss_prevention_policies/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/information_protection/data_loss_prevention_policies/evaluate/evaluate_post_request_body.py b/msgraph_beta/generated/users/item/information_protection/data_loss_prevention_policies/evaluate/evaluate_post_request_body.py index 00ca1167a5b..f7e620bfd73 100644 --- a/msgraph_beta/generated/users/item/information_protection/data_loss_prevention_policies/evaluate/evaluate_post_request_body.py +++ b/msgraph_beta/generated/users/item/information_protection/data_loss_prevention_policies/evaluate/evaluate_post_request_body.py @@ -59,6 +59,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ......models.dlp_evaluation_input import DlpEvaluationInput + from ......models.dlp_notification import DlpNotification + writer.write_object_value("evaluationInput", self.evaluation_input) writer.write_object_value("notificationInfo", self.notification_info) writer.write_str_value("target", self.target) diff --git a/msgraph_beta/generated/users/item/information_protection/policy/labels/count/count_request_builder.py b/msgraph_beta/generated/users/item/information_protection/policy/labels/count/count_request_builder.py index 85821bdeb03..623b886745e 100644 --- a/msgraph_beta/generated/users/item/information_protection/policy/labels/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/information_protection/policy/labels/count/count_request_builder.py @@ -45,7 +45,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/information_protection/policy/labels/evaluate_application/evaluate_application_post_request_body.py b/msgraph_beta/generated/users/item/information_protection/policy/labels/evaluate_application/evaluate_application_post_request_body.py index 23e6aa1c783..c98ed57bc54 100644 --- a/msgraph_beta/generated/users/item/information_protection/policy/labels/evaluate_application/evaluate_application_post_request_body.py +++ b/msgraph_beta/generated/users/item/information_protection/policy/labels/evaluate_application/evaluate_application_post_request_body.py @@ -56,6 +56,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .......models.content_info import ContentInfo + from .......models.labeling_options import LabelingOptions + writer.write_object_value("contentInfo", self.content_info) writer.write_object_value("labelingOptions", self.labeling_options) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/information_protection/policy/labels/evaluate_application/evaluate_application_post_response.py b/msgraph_beta/generated/users/item/information_protection/policy/labels/evaluate_application/evaluate_application_post_response.py index afd8a614d47..33ab7751a38 100644 --- a/msgraph_beta/generated/users/item/information_protection/policy/labels/evaluate_application/evaluate_application_post_response.py +++ b/msgraph_beta/generated/users/item/information_protection/policy/labels/evaluate_application/evaluate_application_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .......models.information_protection_action import InformationProtectionAction + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/users/item/information_protection/policy/labels/evaluate_classification_results/evaluate_classification_results_post_request_body.py b/msgraph_beta/generated/users/item/information_protection/policy/labels/evaluate_classification_results/evaluate_classification_results_post_request_body.py index 29cebc4f1c2..d014069cebf 100644 --- a/msgraph_beta/generated/users/item/information_protection/policy/labels/evaluate_classification_results/evaluate_classification_results_post_request_body.py +++ b/msgraph_beta/generated/users/item/information_protection/policy/labels/evaluate_classification_results/evaluate_classification_results_post_request_body.py @@ -56,6 +56,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .......models.classification_result import ClassificationResult + from .......models.content_info import ContentInfo + writer.write_collection_of_object_values("classificationResults", self.classification_results) writer.write_object_value("contentInfo", self.content_info) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/information_protection/policy/labels/evaluate_classification_results/evaluate_classification_results_post_response.py b/msgraph_beta/generated/users/item/information_protection/policy/labels/evaluate_classification_results/evaluate_classification_results_post_response.py index f847da48535..d38684b6c95 100644 --- a/msgraph_beta/generated/users/item/information_protection/policy/labels/evaluate_classification_results/evaluate_classification_results_post_response.py +++ b/msgraph_beta/generated/users/item/information_protection/policy/labels/evaluate_classification_results/evaluate_classification_results_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .......models.information_protection_action import InformationProtectionAction + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/users/item/information_protection/policy/labels/evaluate_removal/evaluate_removal_post_request_body.py b/msgraph_beta/generated/users/item/information_protection/policy/labels/evaluate_removal/evaluate_removal_post_request_body.py index 4cac965ce2a..4a82f98e5f3 100644 --- a/msgraph_beta/generated/users/item/information_protection/policy/labels/evaluate_removal/evaluate_removal_post_request_body.py +++ b/msgraph_beta/generated/users/item/information_protection/policy/labels/evaluate_removal/evaluate_removal_post_request_body.py @@ -56,6 +56,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .......models.content_info import ContentInfo + from .......models.downgrade_justification import DowngradeJustification + writer.write_object_value("contentInfo", self.content_info) writer.write_object_value("downgradeJustification", self.downgrade_justification) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/information_protection/policy/labels/evaluate_removal/evaluate_removal_post_response.py b/msgraph_beta/generated/users/item/information_protection/policy/labels/evaluate_removal/evaluate_removal_post_response.py index 84dd88a8483..1c76fbca8f5 100644 --- a/msgraph_beta/generated/users/item/information_protection/policy/labels/evaluate_removal/evaluate_removal_post_response.py +++ b/msgraph_beta/generated/users/item/information_protection/policy/labels/evaluate_removal/evaluate_removal_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .......models.information_protection_action import InformationProtectionAction + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/users/item/information_protection/policy/labels/extract_label/extract_label_post_request_body.py b/msgraph_beta/generated/users/item/information_protection/policy/labels/extract_label/extract_label_post_request_body.py index a655c0cb419..adc85108ea3 100644 --- a/msgraph_beta/generated/users/item/information_protection/policy/labels/extract_label/extract_label_post_request_body.py +++ b/msgraph_beta/generated/users/item/information_protection/policy/labels/extract_label/extract_label_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .......models.content_info import ContentInfo + writer.write_object_value("contentInfo", self.content_info) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/information_protection/sensitivity_labels/count/count_request_builder.py b/msgraph_beta/generated/users/item/information_protection/sensitivity_labels/count/count_request_builder.py index 4bfe406afd3..9b5b2ceac3d 100644 --- a/msgraph_beta/generated/users/item/information_protection/sensitivity_labels/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/information_protection/sensitivity_labels/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/information_protection/sensitivity_labels/evaluate/evaluate_post_request_body.py b/msgraph_beta/generated/users/item/information_protection/sensitivity_labels/evaluate/evaluate_post_request_body.py index ab630148f58..b9c7528cf2b 100644 --- a/msgraph_beta/generated/users/item/information_protection/sensitivity_labels/evaluate/evaluate_post_request_body.py +++ b/msgraph_beta/generated/users/item/information_protection/sensitivity_labels/evaluate/evaluate_post_request_body.py @@ -56,6 +56,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ......models.current_label import CurrentLabel + from ......models.discovered_sensitive_type import DiscoveredSensitiveType + writer.write_object_value("currentLabel", self.current_label) writer.write_collection_of_object_values("discoveredSensitiveTypes", self.discovered_sensitive_types) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/information_protection/sensitivity_labels/item/sublabels/count/count_request_builder.py b/msgraph_beta/generated/users/item/information_protection/sensitivity_labels/item/sublabels/count/count_request_builder.py index 1f3defe57de..b00f9eca075 100644 --- a/msgraph_beta/generated/users/item/information_protection/sensitivity_labels/item/sublabels/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/information_protection/sensitivity_labels/item/sublabels/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/information_protection/sensitivity_labels/item/sublabels/evaluate/evaluate_post_request_body.py b/msgraph_beta/generated/users/item/information_protection/sensitivity_labels/item/sublabels/evaluate/evaluate_post_request_body.py index 52d45e6d631..cb158e12515 100644 --- a/msgraph_beta/generated/users/item/information_protection/sensitivity_labels/item/sublabels/evaluate/evaluate_post_request_body.py +++ b/msgraph_beta/generated/users/item/information_protection/sensitivity_labels/item/sublabels/evaluate/evaluate_post_request_body.py @@ -56,6 +56,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ........models.current_label import CurrentLabel + from ........models.discovered_sensitive_type import DiscoveredSensitiveType + writer.write_object_value("currentLabel", self.current_label) writer.write_collection_of_object_values("discoveredSensitiveTypes", self.discovered_sensitive_types) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/information_protection/threat_assessment_requests/count/count_request_builder.py b/msgraph_beta/generated/users/item/information_protection/threat_assessment_requests/count/count_request_builder.py index 2be3032e79b..e7ba5f295a6 100644 --- a/msgraph_beta/generated/users/item/information_protection/threat_assessment_requests/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/information_protection/threat_assessment_requests/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/information_protection/threat_assessment_requests/item/results/count/count_request_builder.py b/msgraph_beta/generated/users/item/information_protection/threat_assessment_requests/item/results/count/count_request_builder.py index c4224a1e584..e4411f1ceb5 100644 --- a/msgraph_beta/generated/users/item/information_protection/threat_assessment_requests/item/results/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/information_protection/threat_assessment_requests/item/results/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/insights/shared/count/count_request_builder.py b/msgraph_beta/generated/users/item/insights/shared/count/count_request_builder.py index 186ac8d8eee..36cdec116fb 100644 --- a/msgraph_beta/generated/users/item/insights/shared/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/insights/shared/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/insights/trending/count/count_request_builder.py b/msgraph_beta/generated/users/item/insights/trending/count/count_request_builder.py index ed4f35bef5f..75ad9e5caed 100644 --- a/msgraph_beta/generated/users/item/insights/trending/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/insights/trending/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/insights/used/count/count_request_builder.py b/msgraph_beta/generated/users/item/insights/used/count/count_request_builder.py index e2d877059af..e2ff0634cb2 100644 --- a/msgraph_beta/generated/users/item/insights/used/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/insights/used/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/joined_groups/delta/delta_get_response.py b/msgraph_beta/generated/users/item/joined_groups/delta/delta_get_response.py index a87fdb29089..55b13b7a585 100644 --- a/msgraph_beta/generated/users/item/joined_groups/delta/delta_get_response.py +++ b/msgraph_beta/generated/users/item/joined_groups/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .....models.base_delta_function_response import BaseDeltaFunctionResponse + from .....models.group import Group + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/users/item/joined_groups/delta/delta_request_builder.py b/msgraph_beta/generated/users/item/joined_groups/delta/delta_request_builder.py index dec646adb60..27146b761e1 100644 --- a/msgraph_beta/generated/users/item/joined_groups/delta/delta_request_builder.py +++ b/msgraph_beta/generated/users/item/joined_groups/delta/delta_request_builder.py @@ -31,7 +31,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def get(self,request_configuration: Optional[RequestConfiguration[DeltaRequestBuilderGetQueryParameters]] = None) -> Optional[DeltaGetResponse]: """ - Get newly created, updated, or deleted groups, including group membership changes, without having to perform a full read of the entire group collection. See Using Delta Query for details. + Get newly created, updated, or deleted groups, including group membership changes, without having to perform a full read of the entire group collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeltaGetResponse] Find more info here: https://learn.microsoft.com/graph/api/group-delta?view=graph-rest-beta @@ -52,7 +52,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DeltaReq def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[DeltaRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Get newly created, updated, or deleted groups, including group membership changes, without having to perform a full read of the entire group collection. See Using Delta Query for details. + Get newly created, updated, or deleted groups, including group membership changes, without having to perform a full read of the entire group collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -74,7 +74,7 @@ def with_url(self,raw_url: str) -> DeltaRequestBuilder: @dataclass class DeltaRequestBuilderGetQueryParameters(): """ - Get newly created, updated, or deleted groups, including group membership changes, without having to perform a full read of the entire group collection. See Using Delta Query for details. + Get newly created, updated, or deleted groups, including group membership changes, without having to perform a full read of the entire group collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/users/item/joined_teams/count/count_request_builder.py b/msgraph_beta/generated/users/item/joined_teams/count/count_request_builder.py index d3f94093009..5d7bcb5b2d7 100644 --- a/msgraph_beta/generated/users/item/joined_teams/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/joined_teams/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/license_details/count/count_request_builder.py b/msgraph_beta/generated/users/item/license_details/count/count_request_builder.py index 36d204cf414..29257a875d7 100644 --- a/msgraph_beta/generated/users/item/license_details/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/license_details/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/mail_folders/count/count_request_builder.py b/msgraph_beta/generated/users/item/mail_folders/count/count_request_builder.py index dc48a61d460..dbcddd92ff8 100644 --- a/msgraph_beta/generated/users/item/mail_folders/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/mail_folders/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/mail_folders/delta/delta_get_response.py b/msgraph_beta/generated/users/item/mail_folders/delta/delta_get_response.py index 39aa49d6844..fb7f1fe1c6b 100644 --- a/msgraph_beta/generated/users/item/mail_folders/delta/delta_get_response.py +++ b/msgraph_beta/generated/users/item/mail_folders/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .....models.base_delta_function_response import BaseDeltaFunctionResponse + from .....models.mail_folder import MailFolder + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/users/item/mail_folders/item/child_folders/count/count_request_builder.py b/msgraph_beta/generated/users/item/mail_folders/item/child_folders/count/count_request_builder.py index 03efb86c47a..25b7a07648f 100644 --- a/msgraph_beta/generated/users/item/mail_folders/item/child_folders/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/mail_folders/item/child_folders/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/mail_folders/item/child_folders/delta/delta_get_response.py b/msgraph_beta/generated/users/item/mail_folders/item/child_folders/delta/delta_get_response.py index d0f0723153f..3883ce75348 100644 --- a/msgraph_beta/generated/users/item/mail_folders/item/child_folders/delta/delta_get_response.py +++ b/msgraph_beta/generated/users/item/mail_folders/item/child_folders/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .......models.base_delta_function_response import BaseDeltaFunctionResponse + from .......models.mail_folder import MailFolder + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/message_rules/count/count_request_builder.py b/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/message_rules/count/count_request_builder.py index 5add782e715..8b494294a0f 100644 --- a/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/message_rules/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/message_rules/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/messages/count/count_request_builder.py b/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/messages/count/count_request_builder.py index 006421b80d2..7b5bc45fdd3 100644 --- a/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/messages/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/messages/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/messages/delta/delta_get_response.py b/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/messages/delta/delta_get_response.py index 612e2f920fd..3a686deb86d 100644 --- a/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/messages/delta/delta_get_response.py +++ b/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/messages/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .........models.base_delta_function_response import BaseDeltaFunctionResponse + from .........models.message import Message + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/messages/item/attachments/count/count_request_builder.py b/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/messages/item/attachments/count/count_request_builder.py index 5548687ea2e..7a1613188d8 100644 --- a/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/messages/item/attachments/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/messages/item/attachments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/messages/item/attachments/create_upload_session/create_upload_session_post_request_body.py b/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/messages/item/attachments/create_upload_session/create_upload_session_post_request_body.py index 720f6db83c7..c831f06aaf2 100644 --- a/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/messages/item/attachments/create_upload_session/create_upload_session_post_request_body.py +++ b/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/messages/item/attachments/create_upload_session/create_upload_session_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ...........models.attachment_item import AttachmentItem + writer.write_object_value("AttachmentItem", self.attachment_item) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/messages/item/create_forward/create_forward_post_request_body.py b/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/messages/item/create_forward/create_forward_post_request_body.py index b44456bf223..722931b0e3c 100644 --- a/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/messages/item/create_forward/create_forward_post_request_body.py +++ b/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/messages/item/create_forward/create_forward_post_request_body.py @@ -59,6 +59,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ..........models.message import Message + from ..........models.recipient import Recipient + writer.write_str_value("Comment", self.comment) writer.write_object_value("Message", self.message) writer.write_collection_of_object_values("ToRecipients", self.to_recipients) diff --git a/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/messages/item/create_reply/create_reply_post_request_body.py b/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/messages/item/create_reply/create_reply_post_request_body.py index 9516d77fb31..862d6945a2e 100644 --- a/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/messages/item/create_reply/create_reply_post_request_body.py +++ b/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/messages/item/create_reply/create_reply_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ..........models.message import Message + writer.write_str_value("Comment", self.comment) writer.write_object_value("Message", self.message) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/messages/item/create_reply_all/create_reply_all_post_request_body.py b/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/messages/item/create_reply_all/create_reply_all_post_request_body.py index 218616f0e16..e1849ee2b73 100644 --- a/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/messages/item/create_reply_all/create_reply_all_post_request_body.py +++ b/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/messages/item/create_reply_all/create_reply_all_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ..........models.message import Message + writer.write_str_value("Comment", self.comment) writer.write_object_value("Message", self.message) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/messages/item/extensions/count/count_request_builder.py b/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/messages/item/extensions/count/count_request_builder.py index 245625bc08e..c9a764f30fd 100644 --- a/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/messages/item/extensions/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/messages/item/extensions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/messages/item/forward/forward_post_request_body.py b/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/messages/item/forward/forward_post_request_body.py index 6a08895fdcb..acf73444016 100644 --- a/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/messages/item/forward/forward_post_request_body.py +++ b/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/messages/item/forward/forward_post_request_body.py @@ -59,6 +59,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ..........models.message import Message + from ..........models.recipient import Recipient + writer.write_str_value("Comment", self.comment) writer.write_object_value("Message", self.message) writer.write_collection_of_object_values("ToRecipients", self.to_recipients) diff --git a/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/messages/item/mentions/count/count_request_builder.py b/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/messages/item/mentions/count/count_request_builder.py index d57b6ef17af..f2cb06e5f71 100644 --- a/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/messages/item/mentions/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/messages/item/mentions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/messages/item/reply/reply_post_request_body.py b/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/messages/item/reply/reply_post_request_body.py index 8853f1c73d1..9ac7481db3c 100644 --- a/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/messages/item/reply/reply_post_request_body.py +++ b/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/messages/item/reply/reply_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ..........models.message import Message + writer.write_str_value("Comment", self.comment) writer.write_object_value("Message", self.message) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/messages/item/reply_all/reply_all_post_request_body.py b/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/messages/item/reply_all/reply_all_post_request_body.py index b32b86ec1a5..6a2a85da5b0 100644 --- a/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/messages/item/reply_all/reply_all_post_request_body.py +++ b/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/messages/item/reply_all/reply_all_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ..........models.message import Message + writer.write_str_value("Comment", self.comment) writer.write_object_value("Message", self.message) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/user_configurations/count/count_request_builder.py b/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/user_configurations/count/count_request_builder.py index f5126b416a0..bde5632b2e5 100644 --- a/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/user_configurations/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/user_configurations/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/mail_folders/item/message_rules/count/count_request_builder.py b/msgraph_beta/generated/users/item/mail_folders/item/message_rules/count/count_request_builder.py index 3ff899eb1b2..fd17d884f24 100644 --- a/msgraph_beta/generated/users/item/mail_folders/item/message_rules/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/mail_folders/item/message_rules/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/mail_folders/item/messages/count/count_request_builder.py b/msgraph_beta/generated/users/item/mail_folders/item/messages/count/count_request_builder.py index f7f003b1e9f..99a55fd54b1 100644 --- a/msgraph_beta/generated/users/item/mail_folders/item/messages/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/mail_folders/item/messages/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/mail_folders/item/messages/delta/delta_get_response.py b/msgraph_beta/generated/users/item/mail_folders/item/messages/delta/delta_get_response.py index 4097abb3ac8..cc03cab3eb8 100644 --- a/msgraph_beta/generated/users/item/mail_folders/item/messages/delta/delta_get_response.py +++ b/msgraph_beta/generated/users/item/mail_folders/item/messages/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .......models.base_delta_function_response import BaseDeltaFunctionResponse + from .......models.message import Message + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/users/item/mail_folders/item/messages/item/attachments/count/count_request_builder.py b/msgraph_beta/generated/users/item/mail_folders/item/messages/item/attachments/count/count_request_builder.py index 047abaeae22..cc3dc5d3a01 100644 --- a/msgraph_beta/generated/users/item/mail_folders/item/messages/item/attachments/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/mail_folders/item/messages/item/attachments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/mail_folders/item/messages/item/attachments/create_upload_session/create_upload_session_post_request_body.py b/msgraph_beta/generated/users/item/mail_folders/item/messages/item/attachments/create_upload_session/create_upload_session_post_request_body.py index 2dccea4559f..23154d22cc3 100644 --- a/msgraph_beta/generated/users/item/mail_folders/item/messages/item/attachments/create_upload_session/create_upload_session_post_request_body.py +++ b/msgraph_beta/generated/users/item/mail_folders/item/messages/item/attachments/create_upload_session/create_upload_session_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .........models.attachment_item import AttachmentItem + writer.write_object_value("AttachmentItem", self.attachment_item) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/mail_folders/item/messages/item/create_forward/create_forward_post_request_body.py b/msgraph_beta/generated/users/item/mail_folders/item/messages/item/create_forward/create_forward_post_request_body.py index 294acab89c5..a3aa019fd37 100644 --- a/msgraph_beta/generated/users/item/mail_folders/item/messages/item/create_forward/create_forward_post_request_body.py +++ b/msgraph_beta/generated/users/item/mail_folders/item/messages/item/create_forward/create_forward_post_request_body.py @@ -59,6 +59,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ........models.message import Message + from ........models.recipient import Recipient + writer.write_str_value("Comment", self.comment) writer.write_object_value("Message", self.message) writer.write_collection_of_object_values("ToRecipients", self.to_recipients) diff --git a/msgraph_beta/generated/users/item/mail_folders/item/messages/item/create_reply/create_reply_post_request_body.py b/msgraph_beta/generated/users/item/mail_folders/item/messages/item/create_reply/create_reply_post_request_body.py index 6d78ed1bf2f..cd207c97ede 100644 --- a/msgraph_beta/generated/users/item/mail_folders/item/messages/item/create_reply/create_reply_post_request_body.py +++ b/msgraph_beta/generated/users/item/mail_folders/item/messages/item/create_reply/create_reply_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ........models.message import Message + writer.write_str_value("Comment", self.comment) writer.write_object_value("Message", self.message) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/mail_folders/item/messages/item/create_reply_all/create_reply_all_post_request_body.py b/msgraph_beta/generated/users/item/mail_folders/item/messages/item/create_reply_all/create_reply_all_post_request_body.py index 0438b653392..444a496847d 100644 --- a/msgraph_beta/generated/users/item/mail_folders/item/messages/item/create_reply_all/create_reply_all_post_request_body.py +++ b/msgraph_beta/generated/users/item/mail_folders/item/messages/item/create_reply_all/create_reply_all_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ........models.message import Message + writer.write_str_value("Comment", self.comment) writer.write_object_value("Message", self.message) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/mail_folders/item/messages/item/extensions/count/count_request_builder.py b/msgraph_beta/generated/users/item/mail_folders/item/messages/item/extensions/count/count_request_builder.py index ba51509ad2f..84e61b6988e 100644 --- a/msgraph_beta/generated/users/item/mail_folders/item/messages/item/extensions/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/mail_folders/item/messages/item/extensions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/mail_folders/item/messages/item/forward/forward_post_request_body.py b/msgraph_beta/generated/users/item/mail_folders/item/messages/item/forward/forward_post_request_body.py index 5c09f519748..404f39f1048 100644 --- a/msgraph_beta/generated/users/item/mail_folders/item/messages/item/forward/forward_post_request_body.py +++ b/msgraph_beta/generated/users/item/mail_folders/item/messages/item/forward/forward_post_request_body.py @@ -59,6 +59,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ........models.message import Message + from ........models.recipient import Recipient + writer.write_str_value("Comment", self.comment) writer.write_object_value("Message", self.message) writer.write_collection_of_object_values("ToRecipients", self.to_recipients) diff --git a/msgraph_beta/generated/users/item/mail_folders/item/messages/item/mentions/count/count_request_builder.py b/msgraph_beta/generated/users/item/mail_folders/item/messages/item/mentions/count/count_request_builder.py index a8481f7b518..30968ecb42a 100644 --- a/msgraph_beta/generated/users/item/mail_folders/item/messages/item/mentions/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/mail_folders/item/messages/item/mentions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/mail_folders/item/messages/item/reply/reply_post_request_body.py b/msgraph_beta/generated/users/item/mail_folders/item/messages/item/reply/reply_post_request_body.py index 86d3e50337c..1a5b694eb87 100644 --- a/msgraph_beta/generated/users/item/mail_folders/item/messages/item/reply/reply_post_request_body.py +++ b/msgraph_beta/generated/users/item/mail_folders/item/messages/item/reply/reply_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ........models.message import Message + writer.write_str_value("Comment", self.comment) writer.write_object_value("Message", self.message) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/mail_folders/item/messages/item/reply_all/reply_all_post_request_body.py b/msgraph_beta/generated/users/item/mail_folders/item/messages/item/reply_all/reply_all_post_request_body.py index 642d7337181..10b9a655c4a 100644 --- a/msgraph_beta/generated/users/item/mail_folders/item/messages/item/reply_all/reply_all_post_request_body.py +++ b/msgraph_beta/generated/users/item/mail_folders/item/messages/item/reply_all/reply_all_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ........models.message import Message + writer.write_str_value("Comment", self.comment) writer.write_object_value("Message", self.message) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/mail_folders/item/user_configurations/count/count_request_builder.py b/msgraph_beta/generated/users/item/mail_folders/item/user_configurations/count/count_request_builder.py index 79737a4283e..ff997e57e23 100644 --- a/msgraph_beta/generated/users/item/mail_folders/item/user_configurations/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/mail_folders/item/user_configurations/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/managed_app_log_collection_requests/count/count_request_builder.py b/msgraph_beta/generated/users/item/managed_app_log_collection_requests/count/count_request_builder.py index e6343d8a009..aa8596ee45e 100644 --- a/msgraph_beta/generated/users/item/managed_app_log_collection_requests/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/managed_app_log_collection_requests/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/managed_app_registrations/count/count_request_builder.py b/msgraph_beta/generated/users/item/managed_app_registrations/count/count_request_builder.py index 943263a405f..707aa049993 100644 --- a/msgraph_beta/generated/users/item/managed_app_registrations/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/managed_app_registrations/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/managed_devices/app_diagnostics_with_upn/app_diagnostics_with_upn_get_response.py b/msgraph_beta/generated/users/item/managed_devices/app_diagnostics_with_upn/app_diagnostics_with_upn_get_response.py index a59cff56af6..7e9ff635b42 100644 --- a/msgraph_beta/generated/users/item/managed_devices/app_diagnostics_with_upn/app_diagnostics_with_upn_get_response.py +++ b/msgraph_beta/generated/users/item/managed_devices/app_diagnostics_with_upn/app_diagnostics_with_upn_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .....models.powerlift_incident_metadata import PowerliftIncidentMetadata + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/users/item/managed_devices/bulk_restore_cloud_pc/bulk_restore_cloud_pc_post_request_body.py b/msgraph_beta/generated/users/item/managed_devices/bulk_restore_cloud_pc/bulk_restore_cloud_pc_post_request_body.py index e4ece288ce7..63b0520fdd9 100644 --- a/msgraph_beta/generated/users/item/managed_devices/bulk_restore_cloud_pc/bulk_restore_cloud_pc_post_request_body.py +++ b/msgraph_beta/generated/users/item/managed_devices/bulk_restore_cloud_pc/bulk_restore_cloud_pc_post_request_body.py @@ -57,6 +57,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.restore_time_range import RestoreTimeRange + writer.write_collection_of_primitive_values("managedDeviceIds", self.managed_device_ids) writer.write_datetime_value("restorePointDateTime", self.restore_point_date_time) writer.write_enum_value("timeRange", self.time_range) diff --git a/msgraph_beta/generated/users/item/managed_devices/bulk_set_cloud_pc_review_status/bulk_set_cloud_pc_review_status_post_request_body.py b/msgraph_beta/generated/users/item/managed_devices/bulk_set_cloud_pc_review_status/bulk_set_cloud_pc_review_status_post_request_body.py index ab13f6d73d5..b26a09fd044 100644 --- a/msgraph_beta/generated/users/item/managed_devices/bulk_set_cloud_pc_review_status/bulk_set_cloud_pc_review_status_post_request_body.py +++ b/msgraph_beta/generated/users/item/managed_devices/bulk_set_cloud_pc_review_status/bulk_set_cloud_pc_review_status_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.cloud_pc_review_status import CloudPcReviewStatus + writer.write_collection_of_primitive_values("managedDeviceIds", self.managed_device_ids) writer.write_object_value("reviewStatus", self.review_status) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/managed_devices/count/count_request_builder.py b/msgraph_beta/generated/users/item/managed_devices/count/count_request_builder.py index 702061cabf2..0d24e724870 100644 --- a/msgraph_beta/generated/users/item/managed_devices/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/managed_devices/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/managed_devices/download_app_diagnostics/download_app_diagnostics_post_request_body.py b/msgraph_beta/generated/users/item/managed_devices/download_app_diagnostics/download_app_diagnostics_post_request_body.py index b946737cae3..a0908f47c22 100644 --- a/msgraph_beta/generated/users/item/managed_devices/download_app_diagnostics/download_app_diagnostics_post_request_body.py +++ b/msgraph_beta/generated/users/item/managed_devices/download_app_diagnostics/download_app_diagnostics_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.powerlift_download_request import PowerliftDownloadRequest + writer.write_object_value("request", self.request) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/managed_devices/download_powerlift_app_diagnostic/download_powerlift_app_diagnostic_post_request_body.py b/msgraph_beta/generated/users/item/managed_devices/download_powerlift_app_diagnostic/download_powerlift_app_diagnostic_post_request_body.py index e9e29d893a2..d8e38921022 100644 --- a/msgraph_beta/generated/users/item/managed_devices/download_powerlift_app_diagnostic/download_powerlift_app_diagnostic_post_request_body.py +++ b/msgraph_beta/generated/users/item/managed_devices/download_powerlift_app_diagnostic/download_powerlift_app_diagnostic_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.powerlift_app_diagnostic_download_request import PowerliftAppDiagnosticDownloadRequest + writer.write_object_value("request", self.request) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/managed_devices/execute_action/execute_action_post_request_body.py b/msgraph_beta/generated/users/item/managed_devices/execute_action/execute_action_post_request_body.py index df48a5c8166..94e9663a0ed 100644 --- a/msgraph_beta/generated/users/item/managed_devices/execute_action/execute_action_post_request_body.py +++ b/msgraph_beta/generated/users/item/managed_devices/execute_action/execute_action_post_request_body.py @@ -80,6 +80,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.managed_device_remote_action import ManagedDeviceRemoteAction + writer.write_enum_value("actionName", self.action_name) writer.write_str_value("carrierUrl", self.carrier_url) writer.write_str_value("deprovisionReason", self.deprovision_reason) diff --git a/msgraph_beta/generated/users/item/managed_devices/item/assignment_filter_evaluation_status_details/count/count_request_builder.py b/msgraph_beta/generated/users/item/managed_devices/item/assignment_filter_evaluation_status_details/count/count_request_builder.py index ec0cea61c87..5330f5ba891 100644 --- a/msgraph_beta/generated/users/item/managed_devices/item/assignment_filter_evaluation_status_details/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/managed_devices/item/assignment_filter_evaluation_status_details/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/managed_devices/item/change_assignments/change_assignments_post_request_body.py b/msgraph_beta/generated/users/item/managed_devices/item/change_assignments/change_assignments_post_request_body.py index cde1d354f87..09bf3fcc1f4 100644 --- a/msgraph_beta/generated/users/item/managed_devices/item/change_assignments/change_assignments_post_request_body.py +++ b/msgraph_beta/generated/users/item/managed_devices/item/change_assignments/change_assignments_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ......models.device_assignment_item import DeviceAssignmentItem + writer.write_collection_of_object_values("deviceAssignmentItems", self.device_assignment_items) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/managed_devices/item/create_device_log_collection_request/create_device_log_collection_request_post_request_body.py b/msgraph_beta/generated/users/item/managed_devices/item/create_device_log_collection_request/create_device_log_collection_request_post_request_body.py index fa860985045..38845c760f2 100644 --- a/msgraph_beta/generated/users/item/managed_devices/item/create_device_log_collection_request/create_device_log_collection_request_post_request_body.py +++ b/msgraph_beta/generated/users/item/managed_devices/item/create_device_log_collection_request/create_device_log_collection_request_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ......models.device_log_collection_request import DeviceLogCollectionRequest + writer.write_object_value("templateType", self.template_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/managed_devices/item/detected_apps/count/count_request_builder.py b/msgraph_beta/generated/users/item/managed_devices/item/detected_apps/count/count_request_builder.py index f487f2c6968..9dbceb8b284 100644 --- a/msgraph_beta/generated/users/item/managed_devices/item/detected_apps/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/managed_devices/item/detected_apps/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/managed_devices/item/device_category/ref/ref_request_builder.py b/msgraph_beta/generated/users/item/managed_devices/item/device_category/ref/ref_request_builder.py index a2b682cc90f..abeb93d1d9f 100644 --- a/msgraph_beta/generated/users/item/managed_devices/item/device_category/ref/ref_request_builder.py +++ b/msgraph_beta/generated/users/item/managed_devices/item/device_category/ref/ref_request_builder.py @@ -63,7 +63,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[QueryPar } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "str", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, str, error_mapping) async def put(self,body: ReferenceUpdate, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ diff --git a/msgraph_beta/generated/users/item/managed_devices/item/device_compliance_policy_states/count/count_request_builder.py b/msgraph_beta/generated/users/item/managed_devices/item/device_compliance_policy_states/count/count_request_builder.py index 00a95a63f49..f37dc7f328d 100644 --- a/msgraph_beta/generated/users/item/managed_devices/item/device_compliance_policy_states/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/managed_devices/item/device_compliance_policy_states/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/managed_devices/item/device_configuration_states/count/count_request_builder.py b/msgraph_beta/generated/users/item/managed_devices/item/device_configuration_states/count/count_request_builder.py index b80147094f1..e178e0f404f 100644 --- a/msgraph_beta/generated/users/item/managed_devices/item/device_configuration_states/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/managed_devices/item/device_configuration_states/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/managed_devices/item/device_health_script_states/count/count_request_builder.py b/msgraph_beta/generated/users/item/managed_devices/item/device_health_script_states/count/count_request_builder.py index 68edad89093..45ae45c1e10 100644 --- a/msgraph_beta/generated/users/item/managed_devices/item/device_health_script_states/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/managed_devices/item/device_health_script_states/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/managed_devices/item/get_cloud_pc_remote_action_results/get_cloud_pc_remote_action_results_get_response.py b/msgraph_beta/generated/users/item/managed_devices/item/get_cloud_pc_remote_action_results/get_cloud_pc_remote_action_results_get_response.py index f3e70a6f376..ae5947409f8 100644 --- a/msgraph_beta/generated/users/item/managed_devices/item/get_cloud_pc_remote_action_results/get_cloud_pc_remote_action_results_get_response.py +++ b/msgraph_beta/generated/users/item/managed_devices/item/get_cloud_pc_remote_action_results/get_cloud_pc_remote_action_results_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ......models.cloud_pc_remote_action_result import CloudPcRemoteActionResult + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/users/item/managed_devices/item/get_non_compliant_settings/get_non_compliant_settings_get_response.py b/msgraph_beta/generated/users/item/managed_devices/item/get_non_compliant_settings/get_non_compliant_settings_get_response.py index d62270e77a4..33818da25f1 100644 --- a/msgraph_beta/generated/users/item/managed_devices/item/get_non_compliant_settings/get_non_compliant_settings_get_response.py +++ b/msgraph_beta/generated/users/item/managed_devices/item/get_non_compliant_settings/get_non_compliant_settings_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ......models.device_compliance_policy_setting_state import DeviceCompliancePolicySettingState + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/users/item/managed_devices/item/log_collection_requests/count/count_request_builder.py b/msgraph_beta/generated/users/item/managed_devices/item/log_collection_requests/count/count_request_builder.py index 0083b21f34e..563225c5026 100644 --- a/msgraph_beta/generated/users/item/managed_devices/item/log_collection_requests/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/managed_devices/item/log_collection_requests/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/managed_devices/item/managed_device_item_request_builder.py b/msgraph_beta/generated/users/item/managed_devices/item/managed_device_item_request_builder.py index e0c506b1a6f..24cc0cdc979 100644 --- a/msgraph_beta/generated/users/item/managed_devices/item/managed_device_item_request_builder.py +++ b/msgraph_beta/generated/users/item/managed_devices/item/managed_device_item_request_builder.py @@ -51,11 +51,8 @@ from .reenable.reenable_request_builder import ReenableRequestBuilder from .remote_lock.remote_lock_request_builder import RemoteLockRequestBuilder from .remove_device_firmware_configuration_interface_management.remove_device_firmware_configuration_interface_management_request_builder import RemoveDeviceFirmwareConfigurationInterfaceManagementRequestBuilder - from .reprovision_cloud_pc.reprovision_cloud_pc_request_builder import ReprovisionCloudPcRequestBuilder from .request_remote_assistance.request_remote_assistance_request_builder import RequestRemoteAssistanceRequestBuilder from .reset_passcode.reset_passcode_request_builder import ResetPasscodeRequestBuilder - from .resize_cloud_pc.resize_cloud_pc_request_builder import ResizeCloudPcRequestBuilder - from .restore_cloud_pc.restore_cloud_pc_request_builder import RestoreCloudPcRequestBuilder from .retire.retire_request_builder import RetireRequestBuilder from .revoke_apple_vpp_licenses.revoke_apple_vpp_licenses_request_builder import RevokeAppleVppLicensesRequestBuilder from .rotate_bit_locker_keys.rotate_bit_locker_keys_request_builder import RotateBitLockerKeysRequestBuilder @@ -520,15 +517,6 @@ def remove_device_firmware_configuration_interface_management(self) -> RemoveDev return RemoveDeviceFirmwareConfigurationInterfaceManagementRequestBuilder(self.request_adapter, self.path_parameters) - @property - def reprovision_cloud_pc(self) -> ReprovisionCloudPcRequestBuilder: - """ - Provides operations to call the reprovisionCloudPc method. - """ - from .reprovision_cloud_pc.reprovision_cloud_pc_request_builder import ReprovisionCloudPcRequestBuilder - - return ReprovisionCloudPcRequestBuilder(self.request_adapter, self.path_parameters) - @property def request_remote_assistance(self) -> RequestRemoteAssistanceRequestBuilder: """ @@ -547,24 +535,6 @@ def reset_passcode(self) -> ResetPasscodeRequestBuilder: return ResetPasscodeRequestBuilder(self.request_adapter, self.path_parameters) - @property - def resize_cloud_pc(self) -> ResizeCloudPcRequestBuilder: - """ - Provides operations to call the resizeCloudPc method. - """ - from .resize_cloud_pc.resize_cloud_pc_request_builder import ResizeCloudPcRequestBuilder - - return ResizeCloudPcRequestBuilder(self.request_adapter, self.path_parameters) - - @property - def restore_cloud_pc(self) -> RestoreCloudPcRequestBuilder: - """ - Provides operations to call the restoreCloudPc method. - """ - from .restore_cloud_pc.restore_cloud_pc_request_builder import RestoreCloudPcRequestBuilder - - return RestoreCloudPcRequestBuilder(self.request_adapter, self.path_parameters) - @property def retire(self) -> RetireRequestBuilder: """ diff --git a/msgraph_beta/generated/users/item/managed_devices/item/managed_device_mobile_app_configuration_states/count/count_request_builder.py b/msgraph_beta/generated/users/item/managed_devices/item/managed_device_mobile_app_configuration_states/count/count_request_builder.py index 16b07e3cf58..2f3ed3882b6 100644 --- a/msgraph_beta/generated/users/item/managed_devices/item/managed_device_mobile_app_configuration_states/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/managed_devices/item/managed_device_mobile_app_configuration_states/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/managed_devices/item/override_compliance_state/override_compliance_state_post_request_body.py b/msgraph_beta/generated/users/item/managed_devices/item/override_compliance_state/override_compliance_state_post_request_body.py index 5e35beb99aa..9be66be1964 100644 --- a/msgraph_beta/generated/users/item/managed_devices/item/override_compliance_state/override_compliance_state_post_request_body.py +++ b/msgraph_beta/generated/users/item/managed_devices/item/override_compliance_state/override_compliance_state_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ......models.administrator_configured_device_compliance_state import AdministratorConfiguredDeviceComplianceState + writer.write_enum_value("complianceState", self.compliance_state) writer.write_str_value("remediationUrl", self.remediation_url) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/managed_devices/item/reprovision_cloud_pc/reprovision_cloud_pc_request_builder.py b/msgraph_beta/generated/users/item/managed_devices/item/reprovision_cloud_pc/reprovision_cloud_pc_request_builder.py deleted file mode 100644 index 781b3c762b5..00000000000 --- a/msgraph_beta/generated/users/item/managed_devices/item/reprovision_cloud_pc/reprovision_cloud_pc_request_builder.py +++ /dev/null @@ -1,80 +0,0 @@ -from __future__ import annotations -from dataclasses import dataclass, field -from kiota_abstractions.base_request_builder import BaseRequestBuilder -from kiota_abstractions.base_request_configuration import RequestConfiguration -from kiota_abstractions.default_query_parameters import QueryParameters -from kiota_abstractions.get_path_parameters import get_path_parameters -from kiota_abstractions.method import Method -from kiota_abstractions.request_adapter import RequestAdapter -from kiota_abstractions.request_information import RequestInformation -from kiota_abstractions.request_option import RequestOption -from kiota_abstractions.serialization import Parsable, ParsableFactory -from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union -from warnings import warn - -if TYPE_CHECKING: - from ......models.o_data_errors.o_data_error import ODataError - -class ReprovisionCloudPcRequestBuilder(BaseRequestBuilder): - """ - Provides operations to call the reprovisionCloudPc method. - """ - def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: - """ - Instantiates a new ReprovisionCloudPcRequestBuilder 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}/users/{user%2Did}/managedDevices/{managedDevice%2Did}/reprovisionCloudPc", path_parameters) - - async def post(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: - """ - Invoke action reprovisionCloudPc - param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: None - """ - warn("The reprovisionCloudPc API is deprecated and will stop returning on Sep 30, 2023. Please use reprovision instead as of 2023-07/reprovisionCloudPc", DeprecationWarning) - request_info = self.to_post_request_information( - request_configuration - ) - from ......models.o_data_errors.o_data_error import ODataError - - error_mapping: Dict[str, type[ParsableFactory]] = { - "XXX": ODataError, - } - if not self.request_adapter: - raise Exception("Http core is null") - return await self.request_adapter.send_no_response_content_async(request_info, error_mapping) - - def to_post_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: - """ - Invoke action reprovisionCloudPc - param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: RequestInformation - """ - warn("The reprovisionCloudPc API is deprecated and will stop returning on Sep 30, 2023. Please use reprovision instead as of 2023-07/reprovisionCloudPc", DeprecationWarning) - request_info = RequestInformation(Method.POST, 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) -> ReprovisionCloudPcRequestBuilder: - """ - 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: ReprovisionCloudPcRequestBuilder - """ - warn("The reprovisionCloudPc API is deprecated and will stop returning on Sep 30, 2023. Please use reprovision instead as of 2023-07/reprovisionCloudPc", DeprecationWarning) - if raw_url is None: - raise TypeError("raw_url cannot be null.") - return ReprovisionCloudPcRequestBuilder(self.request_adapter, raw_url) - - @dataclass - class ReprovisionCloudPcRequestBuilderPostRequestConfiguration(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_beta/generated/users/item/managed_devices/item/restore_cloud_pc/restore_cloud_pc_request_builder.py b/msgraph_beta/generated/users/item/managed_devices/item/restore_cloud_pc/restore_cloud_pc_request_builder.py deleted file mode 100644 index 7203ccffd92..00000000000 --- a/msgraph_beta/generated/users/item/managed_devices/item/restore_cloud_pc/restore_cloud_pc_request_builder.py +++ /dev/null @@ -1,88 +0,0 @@ -from __future__ import annotations -from dataclasses import dataclass, field -from kiota_abstractions.base_request_builder import BaseRequestBuilder -from kiota_abstractions.base_request_configuration import RequestConfiguration -from kiota_abstractions.default_query_parameters import QueryParameters -from kiota_abstractions.get_path_parameters import get_path_parameters -from kiota_abstractions.method import Method -from kiota_abstractions.request_adapter import RequestAdapter -from kiota_abstractions.request_information import RequestInformation -from kiota_abstractions.request_option import RequestOption -from kiota_abstractions.serialization import Parsable, ParsableFactory -from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union -from warnings import warn - -if TYPE_CHECKING: - from ......models.o_data_errors.o_data_error import ODataError - from .restore_cloud_pc_post_request_body import RestoreCloudPcPostRequestBody - -class RestoreCloudPcRequestBuilder(BaseRequestBuilder): - """ - Provides operations to call the restoreCloudPc method. - """ - def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: - """ - Instantiates a new RestoreCloudPcRequestBuilder 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}/users/{user%2Did}/managedDevices/{managedDevice%2Did}/restoreCloudPc", path_parameters) - - async def post(self,body: RestoreCloudPcPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: - """ - Invoke action restoreCloudPc - param body: The request body - param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: None - """ - warn("The restoreCloudPc API is deprecated and will stop returning on Sep 30, 2023. Please use restore instead as of 2023-07/restoreCloudPc", DeprecationWarning) - 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: RestoreCloudPcPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: - """ - Invoke action restoreCloudPc - param body: The request body - param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: RequestInformation - """ - warn("The restoreCloudPc API is deprecated and will stop returning on Sep 30, 2023. Please use restore instead as of 2023-07/restoreCloudPc", DeprecationWarning) - 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) -> RestoreCloudPcRequestBuilder: - """ - 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: RestoreCloudPcRequestBuilder - """ - warn("The restoreCloudPc API is deprecated and will stop returning on Sep 30, 2023. Please use restore instead as of 2023-07/restoreCloudPc", DeprecationWarning) - if raw_url is None: - raise TypeError("raw_url cannot be null.") - return RestoreCloudPcRequestBuilder(self.request_adapter, raw_url) - - @dataclass - class RestoreCloudPcRequestBuilderPostRequestConfiguration(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_beta/generated/users/item/managed_devices/item/security_baseline_states/count/count_request_builder.py b/msgraph_beta/generated/users/item/managed_devices/item/security_baseline_states/count/count_request_builder.py index 935d6ff2c7d..86ecccbc690 100644 --- a/msgraph_beta/generated/users/item/managed_devices/item/security_baseline_states/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/managed_devices/item/security_baseline_states/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/managed_devices/item/security_baseline_states/item/setting_states/count/count_request_builder.py b/msgraph_beta/generated/users/item/managed_devices/item/security_baseline_states/item/setting_states/count/count_request_builder.py index 8f89d2f4081..30734f5ec20 100644 --- a/msgraph_beta/generated/users/item/managed_devices/item/security_baseline_states/item/setting_states/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/managed_devices/item/security_baseline_states/item/setting_states/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/managed_devices/item/set_cloud_pc_review_status/set_cloud_pc_review_status_post_request_body.py b/msgraph_beta/generated/users/item/managed_devices/item/set_cloud_pc_review_status/set_cloud_pc_review_status_post_request_body.py index 9d63305bd4a..93f81daabf3 100644 --- a/msgraph_beta/generated/users/item/managed_devices/item/set_cloud_pc_review_status/set_cloud_pc_review_status_post_request_body.py +++ b/msgraph_beta/generated/users/item/managed_devices/item/set_cloud_pc_review_status/set_cloud_pc_review_status_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ......models.cloud_pc_review_status import CloudPcReviewStatus + writer.write_object_value("reviewStatus", self.review_status) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/managed_devices/item/trigger_configuration_manager_action/trigger_configuration_manager_action_post_request_body.py b/msgraph_beta/generated/users/item/managed_devices/item/trigger_configuration_manager_action/trigger_configuration_manager_action_post_request_body.py index fce05b3056f..d608be5ab38 100644 --- a/msgraph_beta/generated/users/item/managed_devices/item/trigger_configuration_manager_action/trigger_configuration_manager_action_post_request_body.py +++ b/msgraph_beta/generated/users/item/managed_devices/item/trigger_configuration_manager_action/trigger_configuration_manager_action_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ......models.configuration_manager_action import ConfigurationManagerAction + writer.write_object_value("configurationManagerAction", self.configuration_manager_action) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/managed_devices/item/update_windows_device_account/update_windows_device_account_post_request_body.py b/msgraph_beta/generated/users/item/managed_devices/item/update_windows_device_account/update_windows_device_account_post_request_body.py index f76f314cefa..62e31641108 100644 --- a/msgraph_beta/generated/users/item/managed_devices/item/update_windows_device_account/update_windows_device_account_post_request_body.py +++ b/msgraph_beta/generated/users/item/managed_devices/item/update_windows_device_account/update_windows_device_account_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ......models.update_windows_device_account_action_parameter import UpdateWindowsDeviceAccountActionParameter + writer.write_object_value("updateWindowsDeviceAccountActionParameter", self.update_windows_device_account_action_parameter) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/managed_devices/item/windows_protection_state/detected_malware_state/count/count_request_builder.py b/msgraph_beta/generated/users/item/managed_devices/item/windows_protection_state/detected_malware_state/count/count_request_builder.py index bdbc8146ac9..8c0c82d057b 100644 --- a/msgraph_beta/generated/users/item/managed_devices/item/windows_protection_state/detected_malware_state/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/managed_devices/item/windows_protection_state/detected_malware_state/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/managed_devices/item/wipe/wipe_post_request_body.py b/msgraph_beta/generated/users/item/managed_devices/item/wipe/wipe_post_request_body.py index 2b702c28352..e428126f773 100644 --- a/msgraph_beta/generated/users/item/managed_devices/item/wipe/wipe_post_request_body.py +++ b/msgraph_beta/generated/users/item/managed_devices/item/wipe/wipe_post_request_body.py @@ -65,6 +65,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ......models.obliteration_behavior import ObliterationBehavior + writer.write_bool_value("keepEnrollmentData", self.keep_enrollment_data) writer.write_bool_value("keepUserData", self.keep_user_data) writer.write_str_value("macOsUnlockCode", self.mac_os_unlock_code) diff --git a/msgraph_beta/generated/users/item/managed_devices/retrieve_powerlift_app_diagnostics_details_with_user_principal_name/retrieve_powerlift_app_diagnostics_details_with_user_principal_name_get_response.py b/msgraph_beta/generated/users/item/managed_devices/retrieve_powerlift_app_diagnostics_details_with_user_principal_name/retrieve_powerlift_app_diagnostics_details_with_user_principal_name_get_response.py index 002df54e60c..8b8c532c3f2 100644 --- a/msgraph_beta/generated/users/item/managed_devices/retrieve_powerlift_app_diagnostics_details_with_user_principal_name/retrieve_powerlift_app_diagnostics_details_with_user_principal_name_get_response.py +++ b/msgraph_beta/generated/users/item/managed_devices/retrieve_powerlift_app_diagnostics_details_with_user_principal_name/retrieve_powerlift_app_diagnostics_details_with_user_principal_name_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .....models.powerlift_incident_detail import PowerliftIncidentDetail + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/users/item/manager/ref/ref_request_builder.py b/msgraph_beta/generated/users/item/manager/ref/ref_request_builder.py index 543b695c2e4..7f43d6b4abd 100644 --- a/msgraph_beta/generated/users/item/manager/ref/ref_request_builder.py +++ b/msgraph_beta/generated/users/item/manager/ref/ref_request_builder.py @@ -65,7 +65,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[QueryPar } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "str", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, str, error_mapping) async def put(self,body: ReferenceUpdate, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ diff --git a/msgraph_beta/generated/users/item/member_of/count/count_request_builder.py b/msgraph_beta/generated/users/item/member_of/count/count_request_builder.py index ea8c32f41f6..89673b19bb4 100644 --- a/msgraph_beta/generated/users/item/member_of/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/member_of/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/member_of/graph_administrative_unit/count/count_request_builder.py b/msgraph_beta/generated/users/item/member_of/graph_administrative_unit/count/count_request_builder.py index deff95e24ac..f7bb0441b83 100644 --- a/msgraph_beta/generated/users/item/member_of/graph_administrative_unit/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/member_of/graph_administrative_unit/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/member_of/graph_directory_role/count/count_request_builder.py b/msgraph_beta/generated/users/item/member_of/graph_directory_role/count/count_request_builder.py index 91e0bce41b8..e23bdb32331 100644 --- a/msgraph_beta/generated/users/item/member_of/graph_directory_role/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/member_of/graph_directory_role/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/member_of/graph_group/count/count_request_builder.py b/msgraph_beta/generated/users/item/member_of/graph_group/count/count_request_builder.py index c7294976c2f..27999c8c1b5 100644 --- a/msgraph_beta/generated/users/item/member_of/graph_group/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/member_of/graph_group/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/messages/count/count_request_builder.py b/msgraph_beta/generated/users/item/messages/count/count_request_builder.py index 012994eafeb..406ca552a40 100644 --- a/msgraph_beta/generated/users/item/messages/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/messages/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/messages/delta/delta_get_response.py b/msgraph_beta/generated/users/item/messages/delta/delta_get_response.py index 7d912c50a91..76138120bfd 100644 --- a/msgraph_beta/generated/users/item/messages/delta/delta_get_response.py +++ b/msgraph_beta/generated/users/item/messages/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .....models.base_delta_function_response import BaseDeltaFunctionResponse + from .....models.message import Message + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/users/item/messages/item/attachments/count/count_request_builder.py b/msgraph_beta/generated/users/item/messages/item/attachments/count/count_request_builder.py index 711bf90bad2..655f2a03bee 100644 --- a/msgraph_beta/generated/users/item/messages/item/attachments/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/messages/item/attachments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/messages/item/attachments/create_upload_session/create_upload_session_post_request_body.py b/msgraph_beta/generated/users/item/messages/item/attachments/create_upload_session/create_upload_session_post_request_body.py index c0ac38ff4df..9b2361ec3bc 100644 --- a/msgraph_beta/generated/users/item/messages/item/attachments/create_upload_session/create_upload_session_post_request_body.py +++ b/msgraph_beta/generated/users/item/messages/item/attachments/create_upload_session/create_upload_session_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .......models.attachment_item import AttachmentItem + writer.write_object_value("AttachmentItem", self.attachment_item) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/messages/item/create_forward/create_forward_post_request_body.py b/msgraph_beta/generated/users/item/messages/item/create_forward/create_forward_post_request_body.py index f247617ea74..d0707bb7e83 100644 --- a/msgraph_beta/generated/users/item/messages/item/create_forward/create_forward_post_request_body.py +++ b/msgraph_beta/generated/users/item/messages/item/create_forward/create_forward_post_request_body.py @@ -59,6 +59,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ......models.message import Message + from ......models.recipient import Recipient + writer.write_str_value("Comment", self.comment) writer.write_object_value("Message", self.message) writer.write_collection_of_object_values("ToRecipients", self.to_recipients) diff --git a/msgraph_beta/generated/users/item/messages/item/create_reply/create_reply_post_request_body.py b/msgraph_beta/generated/users/item/messages/item/create_reply/create_reply_post_request_body.py index ebe2fb59e1e..23d994d405a 100644 --- a/msgraph_beta/generated/users/item/messages/item/create_reply/create_reply_post_request_body.py +++ b/msgraph_beta/generated/users/item/messages/item/create_reply/create_reply_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ......models.message import Message + writer.write_str_value("Comment", self.comment) writer.write_object_value("Message", self.message) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/messages/item/create_reply_all/create_reply_all_post_request_body.py b/msgraph_beta/generated/users/item/messages/item/create_reply_all/create_reply_all_post_request_body.py index b4547361235..fc981d0c4a1 100644 --- a/msgraph_beta/generated/users/item/messages/item/create_reply_all/create_reply_all_post_request_body.py +++ b/msgraph_beta/generated/users/item/messages/item/create_reply_all/create_reply_all_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ......models.message import Message + writer.write_str_value("Comment", self.comment) writer.write_object_value("Message", self.message) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/messages/item/extensions/count/count_request_builder.py b/msgraph_beta/generated/users/item/messages/item/extensions/count/count_request_builder.py index 6eb4053db80..353c839d73e 100644 --- a/msgraph_beta/generated/users/item/messages/item/extensions/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/messages/item/extensions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/messages/item/forward/forward_post_request_body.py b/msgraph_beta/generated/users/item/messages/item/forward/forward_post_request_body.py index 1089624b817..424e16aadb1 100644 --- a/msgraph_beta/generated/users/item/messages/item/forward/forward_post_request_body.py +++ b/msgraph_beta/generated/users/item/messages/item/forward/forward_post_request_body.py @@ -59,6 +59,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ......models.message import Message + from ......models.recipient import Recipient + writer.write_str_value("Comment", self.comment) writer.write_object_value("Message", self.message) writer.write_collection_of_object_values("ToRecipients", self.to_recipients) diff --git a/msgraph_beta/generated/users/item/messages/item/mentions/count/count_request_builder.py b/msgraph_beta/generated/users/item/messages/item/mentions/count/count_request_builder.py index 5c251f8e931..673c7837570 100644 --- a/msgraph_beta/generated/users/item/messages/item/mentions/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/messages/item/mentions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/messages/item/reply/reply_post_request_body.py b/msgraph_beta/generated/users/item/messages/item/reply/reply_post_request_body.py index 4eec1bee43e..461f3e1b6da 100644 --- a/msgraph_beta/generated/users/item/messages/item/reply/reply_post_request_body.py +++ b/msgraph_beta/generated/users/item/messages/item/reply/reply_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ......models.message import Message + writer.write_str_value("Comment", self.comment) writer.write_object_value("Message", self.message) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/messages/item/reply_all/reply_all_post_request_body.py b/msgraph_beta/generated/users/item/messages/item/reply_all/reply_all_post_request_body.py index fae7e0b5e67..c340605945e 100644 --- a/msgraph_beta/generated/users/item/messages/item/reply_all/reply_all_post_request_body.py +++ b/msgraph_beta/generated/users/item/messages/item/reply_all/reply_all_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ......models.message import Message + writer.write_str_value("Comment", self.comment) writer.write_object_value("Message", self.message) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/mobile_app_intent_and_states/count/count_request_builder.py b/msgraph_beta/generated/users/item/mobile_app_intent_and_states/count/count_request_builder.py index d02e4cb4806..c0d2f1dfc82 100644 --- a/msgraph_beta/generated/users/item/mobile_app_intent_and_states/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/mobile_app_intent_and_states/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/mobile_app_troubleshooting_events/count/count_request_builder.py b/msgraph_beta/generated/users/item/mobile_app_troubleshooting_events/count/count_request_builder.py index 45911bb9924..981d0d8a847 100644 --- a/msgraph_beta/generated/users/item/mobile_app_troubleshooting_events/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/mobile_app_troubleshooting_events/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/mobile_app_troubleshooting_events/item/app_log_collection_requests/count/count_request_builder.py b/msgraph_beta/generated/users/item/mobile_app_troubleshooting_events/item/app_log_collection_requests/count/count_request_builder.py index 4f78ec51419..8af9d4cba89 100644 --- a/msgraph_beta/generated/users/item/mobile_app_troubleshooting_events/item/app_log_collection_requests/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/mobile_app_troubleshooting_events/item/app_log_collection_requests/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/notifications/count/count_request_builder.py b/msgraph_beta/generated/users/item/notifications/count/count_request_builder.py index 3c45a0056bf..7b588b12af4 100644 --- a/msgraph_beta/generated/users/item/notifications/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/notifications/count/count_request_builder.py @@ -45,7 +45,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/oauth2_permission_grants/count/count_request_builder.py b/msgraph_beta/generated/users/item/oauth2_permission_grants/count/count_request_builder.py index f375707b782..7867cfebaef 100644 --- a/msgraph_beta/generated/users/item/oauth2_permission_grants/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/oauth2_permission_grants/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/onenote/notebooks/count/count_request_builder.py b/msgraph_beta/generated/users/item/onenote/notebooks/count/count_request_builder.py index 0ee556f5311..bba1f6b54fa 100644 --- a/msgraph_beta/generated/users/item/onenote/notebooks/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/onenote/notebooks/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/onenote/notebooks/get_recent_notebooks_with_include_personal_notebooks/get_recent_notebooks_with_include_personal_notebooks_get_response.py b/msgraph_beta/generated/users/item/onenote/notebooks/get_recent_notebooks_with_include_personal_notebooks/get_recent_notebooks_with_include_personal_notebooks_get_response.py index 04ea6d61de3..0299334d52f 100644 --- a/msgraph_beta/generated/users/item/onenote/notebooks/get_recent_notebooks_with_include_personal_notebooks/get_recent_notebooks_with_include_personal_notebooks_get_response.py +++ b/msgraph_beta/generated/users/item/onenote/notebooks/get_recent_notebooks_with_include_personal_notebooks/get_recent_notebooks_with_include_personal_notebooks_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ......models.recent_notebook import RecentNotebook + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/users/item/onenote/notebooks/item/section_groups/count/count_request_builder.py b/msgraph_beta/generated/users/item/onenote/notebooks/item/section_groups/count/count_request_builder.py index b6da6ee84c1..53a8b4d6715 100644 --- a/msgraph_beta/generated/users/item/onenote/notebooks/item/section_groups/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/onenote/notebooks/item/section_groups/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/onenote/notebooks/item/section_groups/item/section_groups/count/count_request_builder.py b/msgraph_beta/generated/users/item/onenote/notebooks/item/section_groups/item/section_groups/count/count_request_builder.py index a099f4b578e..767b6718182 100644 --- a/msgraph_beta/generated/users/item/onenote/notebooks/item/section_groups/item/section_groups/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/onenote/notebooks/item/section_groups/item/section_groups/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/onenote/notebooks/item/section_groups/item/sections/count/count_request_builder.py b/msgraph_beta/generated/users/item/onenote/notebooks/item/section_groups/item/sections/count/count_request_builder.py index b1d079520ee..051000d691b 100644 --- a/msgraph_beta/generated/users/item/onenote/notebooks/item/section_groups/item/sections/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/onenote/notebooks/item/section_groups/item/sections/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/onenote/notebooks/item/section_groups/item/sections/item/pages/count/count_request_builder.py b/msgraph_beta/generated/users/item/onenote/notebooks/item/section_groups/item/sections/item/pages/count/count_request_builder.py index 88848611a3a..dbfe6231efa 100644 --- a/msgraph_beta/generated/users/item/onenote/notebooks/item/section_groups/item/sections/item/pages/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/onenote/notebooks/item/section_groups/item/sections/item/pages/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_post_request_body.py b/msgraph_beta/generated/users/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_post_request_body.py index d9306c81c81..83889693100 100644 --- a/msgraph_beta/generated/users/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_post_request_body.py +++ b/msgraph_beta/generated/users/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .............models.onenote_patch_content_command import OnenotePatchContentCommand + writer.write_collection_of_object_values("commands", self.commands) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/onenote/notebooks/item/sections/count/count_request_builder.py b/msgraph_beta/generated/users/item/onenote/notebooks/item/sections/count/count_request_builder.py index 942df70b9b7..02cd264bb0b 100644 --- a/msgraph_beta/generated/users/item/onenote/notebooks/item/sections/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/onenote/notebooks/item/sections/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/onenote/notebooks/item/sections/item/pages/count/count_request_builder.py b/msgraph_beta/generated/users/item/onenote/notebooks/item/sections/item/pages/count/count_request_builder.py index 47d5eb98a86..c8f461420f0 100644 --- a/msgraph_beta/generated/users/item/onenote/notebooks/item/sections/item/pages/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/onenote/notebooks/item/sections/item/pages/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/onenote/notebooks/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_post_request_body.py b/msgraph_beta/generated/users/item/onenote/notebooks/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_post_request_body.py index adba9908f59..751ac43704e 100644 --- a/msgraph_beta/generated/users/item/onenote/notebooks/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_post_request_body.py +++ b/msgraph_beta/generated/users/item/onenote/notebooks/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ...........models.onenote_patch_content_command import OnenotePatchContentCommand + writer.write_collection_of_object_values("commands", self.commands) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/onenote/operations/count/count_request_builder.py b/msgraph_beta/generated/users/item/onenote/operations/count/count_request_builder.py index 94c62c20931..2b4e4f51c7e 100644 --- a/msgraph_beta/generated/users/item/onenote/operations/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/onenote/operations/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/onenote/pages/count/count_request_builder.py b/msgraph_beta/generated/users/item/onenote/pages/count/count_request_builder.py index e91257a8a64..81ce9b1d9a9 100644 --- a/msgraph_beta/generated/users/item/onenote/pages/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/onenote/pages/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/onenote/pages/item/onenote_patch_content/onenote_patch_content_post_request_body.py b/msgraph_beta/generated/users/item/onenote/pages/item/onenote_patch_content/onenote_patch_content_post_request_body.py index 2e2dbeec7bd..86090bbe17a 100644 --- a/msgraph_beta/generated/users/item/onenote/pages/item/onenote_patch_content/onenote_patch_content_post_request_body.py +++ b/msgraph_beta/generated/users/item/onenote/pages/item/onenote_patch_content/onenote_patch_content_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .......models.onenote_patch_content_command import OnenotePatchContentCommand + writer.write_collection_of_object_values("commands", self.commands) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/onenote/resources/count/count_request_builder.py b/msgraph_beta/generated/users/item/onenote/resources/count/count_request_builder.py index fb86aeabb56..854c78c96a7 100644 --- a/msgraph_beta/generated/users/item/onenote/resources/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/onenote/resources/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/onenote/section_groups/count/count_request_builder.py b/msgraph_beta/generated/users/item/onenote/section_groups/count/count_request_builder.py index fd773ad0b99..be3333780e2 100644 --- a/msgraph_beta/generated/users/item/onenote/section_groups/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/onenote/section_groups/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/onenote/section_groups/item/section_groups/count/count_request_builder.py b/msgraph_beta/generated/users/item/onenote/section_groups/item/section_groups/count/count_request_builder.py index dfbfe4bf919..a5bc238a91e 100644 --- a/msgraph_beta/generated/users/item/onenote/section_groups/item/section_groups/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/onenote/section_groups/item/section_groups/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/onenote/section_groups/item/sections/count/count_request_builder.py b/msgraph_beta/generated/users/item/onenote/section_groups/item/sections/count/count_request_builder.py index 61d5db24eb2..82ce874f75e 100644 --- a/msgraph_beta/generated/users/item/onenote/section_groups/item/sections/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/onenote/section_groups/item/sections/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/onenote/section_groups/item/sections/item/pages/count/count_request_builder.py b/msgraph_beta/generated/users/item/onenote/section_groups/item/sections/item/pages/count/count_request_builder.py index dd8969bf853..c2b47e18c3b 100644 --- a/msgraph_beta/generated/users/item/onenote/section_groups/item/sections/item/pages/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/onenote/section_groups/item/sections/item/pages/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/onenote/section_groups/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_post_request_body.py b/msgraph_beta/generated/users/item/onenote/section_groups/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_post_request_body.py index adba9908f59..751ac43704e 100644 --- a/msgraph_beta/generated/users/item/onenote/section_groups/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_post_request_body.py +++ b/msgraph_beta/generated/users/item/onenote/section_groups/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ...........models.onenote_patch_content_command import OnenotePatchContentCommand + writer.write_collection_of_object_values("commands", self.commands) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/onenote/sections/count/count_request_builder.py b/msgraph_beta/generated/users/item/onenote/sections/count/count_request_builder.py index e18ef72c797..6574d25a6b3 100644 --- a/msgraph_beta/generated/users/item/onenote/sections/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/onenote/sections/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/onenote/sections/item/pages/count/count_request_builder.py b/msgraph_beta/generated/users/item/onenote/sections/item/pages/count/count_request_builder.py index 3b50797b947..909c677fca8 100644 --- a/msgraph_beta/generated/users/item/onenote/sections/item/pages/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/onenote/sections/item/pages/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/onenote/sections/item/pages/item/onenote_patch_content/onenote_patch_content_post_request_body.py b/msgraph_beta/generated/users/item/onenote/sections/item/pages/item/onenote_patch_content/onenote_patch_content_post_request_body.py index 91dc2d61523..00b13f12e29 100644 --- a/msgraph_beta/generated/users/item/onenote/sections/item/pages/item/onenote_patch_content/onenote_patch_content_post_request_body.py +++ b/msgraph_beta/generated/users/item/onenote/sections/item/pages/item/onenote_patch_content/onenote_patch_content_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .........models.onenote_patch_content_command import OnenotePatchContentCommand + writer.write_collection_of_object_values("commands", self.commands) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/online_meetings/count/count_request_builder.py b/msgraph_beta/generated/users/item/online_meetings/count/count_request_builder.py index 366b28c5e06..a3cb5671311 100644 --- a/msgraph_beta/generated/users/item/online_meetings/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/online_meetings/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/online_meetings/create_or_get/create_or_get_post_request_body.py b/msgraph_beta/generated/users/item/online_meetings/create_or_get/create_or_get_post_request_body.py index 39aa9ba485c..e987bf22465 100644 --- a/msgraph_beta/generated/users/item/online_meetings/create_or_get/create_or_get_post_request_body.py +++ b/msgraph_beta/generated/users/item/online_meetings/create_or_get/create_or_get_post_request_body.py @@ -69,6 +69,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.chat_info import ChatInfo + from .....models.meeting_participants import MeetingParticipants + writer.write_object_value("chatInfo", self.chat_info) writer.write_datetime_value("endDateTime", self.end_date_time) writer.write_str_value("externalId", self.external_id) diff --git a/msgraph_beta/generated/users/item/online_meetings/get_all_recordingsmeeting_organizer_user_id_meeting_organizer_user_id_with_start_date_time_with_end_date_time/get_all_recordingsmeeting_organizer_user_id_meeting_organizer_user_id_with_start_date_time_with_end_date_time_get_response.py b/msgraph_beta/generated/users/item/online_meetings/get_all_recordingsmeeting_organizer_user_id_meeting_organizer_user_id_with_start_date_time_with_end_date_time/get_all_recordingsmeeting_organizer_user_id_meeting_organizer_user_id_with_start_date_time_with_end_date_time_get_response.py index 626ed9663fe..2968baf7d1e 100644 --- a/msgraph_beta/generated/users/item/online_meetings/get_all_recordingsmeeting_organizer_user_id_meeting_organizer_user_id_with_start_date_time_with_end_date_time/get_all_recordingsmeeting_organizer_user_id_meeting_organizer_user_id_with_start_date_time_with_end_date_time_get_response.py +++ b/msgraph_beta/generated/users/item/online_meetings/get_all_recordingsmeeting_organizer_user_id_meeting_organizer_user_id_with_start_date_time_with_end_date_time/get_all_recordingsmeeting_organizer_user_id_meeting_organizer_user_id_with_start_date_time_with_end_date_time_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .....models.call_recording import CallRecording + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/users/item/online_meetings/get_all_transcriptsmeeting_organizer_user_id_meeting_organizer_user_id_with_start_date_time_with_end_date_time/get_all_transcriptsmeeting_organizer_user_id_meeting_organizer_user_id_with_start_date_time_with_end_date_time_get_response.py b/msgraph_beta/generated/users/item/online_meetings/get_all_transcriptsmeeting_organizer_user_id_meeting_organizer_user_id_with_start_date_time_with_end_date_time/get_all_transcriptsmeeting_organizer_user_id_meeting_organizer_user_id_with_start_date_time_with_end_date_time_get_response.py index f4fe1457689..56db79cdf6d 100644 --- a/msgraph_beta/generated/users/item/online_meetings/get_all_transcriptsmeeting_organizer_user_id_meeting_organizer_user_id_with_start_date_time_with_end_date_time/get_all_transcriptsmeeting_organizer_user_id_meeting_organizer_user_id_with_start_date_time_with_end_date_time_get_response.py +++ b/msgraph_beta/generated/users/item/online_meetings/get_all_transcriptsmeeting_organizer_user_id_meeting_organizer_user_id_with_start_date_time_with_end_date_time/get_all_transcriptsmeeting_organizer_user_id_meeting_organizer_user_id_with_start_date_time_with_end_date_time_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .....models.call_transcript import CallTranscript + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/users/item/online_meetings/item/ai_insights/count/count_request_builder.py b/msgraph_beta/generated/users/item/online_meetings/item/ai_insights/count/count_request_builder.py index 8214dd42ed3..d21d56afd87 100644 --- a/msgraph_beta/generated/users/item/online_meetings/item/ai_insights/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/online_meetings/item/ai_insights/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/online_meetings/item/attendance_reports/count/count_request_builder.py b/msgraph_beta/generated/users/item/online_meetings/item/attendance_reports/count/count_request_builder.py index 750493b0875..7f6b8f1d7fa 100644 --- a/msgraph_beta/generated/users/item/online_meetings/item/attendance_reports/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/online_meetings/item/attendance_reports/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/online_meetings/item/attendance_reports/item/attendance_records/count/count_request_builder.py b/msgraph_beta/generated/users/item/online_meetings/item/attendance_reports/item/attendance_records/count/count_request_builder.py index 4ad4e629df9..ca79952811f 100644 --- a/msgraph_beta/generated/users/item/online_meetings/item/attendance_reports/item/attendance_records/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/online_meetings/item/attendance_reports/item/attendance_records/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/online_meetings/item/meeting_attendance_report/attendance_records/count/count_request_builder.py b/msgraph_beta/generated/users/item/online_meetings/item/meeting_attendance_report/attendance_records/count/count_request_builder.py index 6dc2280e6ec..10524188a80 100644 --- a/msgraph_beta/generated/users/item/online_meetings/item/meeting_attendance_report/attendance_records/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/online_meetings/item/meeting_attendance_report/attendance_records/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/online_meetings/item/recordings/count/count_request_builder.py b/msgraph_beta/generated/users/item/online_meetings/item/recordings/count/count_request_builder.py index 878160c2a7c..8fc4dd29b70 100644 --- a/msgraph_beta/generated/users/item/online_meetings/item/recordings/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/online_meetings/item/recordings/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/online_meetings/item/recordings/delta/delta_get_response.py b/msgraph_beta/generated/users/item/online_meetings/item/recordings/delta/delta_get_response.py index 8eef7636869..764e522fb17 100644 --- a/msgraph_beta/generated/users/item/online_meetings/item/recordings/delta/delta_get_response.py +++ b/msgraph_beta/generated/users/item/online_meetings/item/recordings/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .......models.base_delta_function_response import BaseDeltaFunctionResponse + from .......models.call_recording import CallRecording + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/users/item/online_meetings/item/registration/custom_questions/count/count_request_builder.py b/msgraph_beta/generated/users/item/online_meetings/item/registration/custom_questions/count/count_request_builder.py index 1baeb8a07da..bc3ce6336af 100644 --- a/msgraph_beta/generated/users/item/online_meetings/item/registration/custom_questions/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/online_meetings/item/registration/custom_questions/count/count_request_builder.py @@ -34,6 +34,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -44,7 +45,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ @@ -52,6 +53,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -63,6 +65,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/users/item/online_meetings/item/registration/custom_questions/custom_questions_request_builder.py b/msgraph_beta/generated/users/item/online_meetings/item/registration/custom_questions/custom_questions_request_builder.py index 5fdc5a45e8a..9f5a2f66b21 100644 --- a/msgraph_beta/generated/users/item/online_meetings/item/registration/custom_questions/custom_questions_request_builder.py +++ b/msgraph_beta/generated/users/item/online_meetings/item/registration/custom_questions/custom_questions_request_builder.py @@ -38,6 +38,7 @@ def by_meeting_registration_question_id(self,meeting_registration_question_id: s param meeting_registration_question_id: The unique identifier of meetingRegistrationQuestion Returns: MeetingRegistrationQuestionItemRequestBuilder """ + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) if meeting_registration_question_id is None: raise TypeError("meeting_registration_question_id cannot be null.") from .item.meeting_registration_question_item_request_builder import MeetingRegistrationQuestionItemRequestBuilder @@ -52,6 +53,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CustomQu param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MeetingRegistrationQuestionCollectionResponse] """ + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -73,6 +75,7 @@ async def post(self,body: MeetingRegistrationQuestion, request_configuration: Op param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MeetingRegistrationQuestion] """ + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -95,6 +98,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -107,6 +111,7 @@ def to_post_request_information(self,body: MeetingRegistrationQuestion, request_ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -121,6 +126,7 @@ def with_url(self,raw_url: str) -> CustomQuestionsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CustomQuestionsRequestBuilder """ + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CustomQuestionsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/users/item/online_meetings/item/registration/custom_questions/item/meeting_registration_question_item_request_builder.py b/msgraph_beta/generated/users/item/online_meetings/item/registration/custom_questions/item/meeting_registration_question_item_request_builder.py index 2ed86780be5..eb796e0c918 100644 --- a/msgraph_beta/generated/users/item/online_meetings/item/registration/custom_questions/item/meeting_registration_question_item_request_builder.py +++ b/msgraph_beta/generated/users/item/online_meetings/item/registration/custom_questions/item/meeting_registration_question_item_request_builder.py @@ -35,6 +35,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[MeetingR param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MeetingRegistrationQuestion] """ + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def patch(self,body: MeetingRegistrationQuestion, request_configuration: O param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MeetingRegistrationQuestion] """ + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -96,6 +99,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -107,6 +111,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -119,6 +124,7 @@ def to_patch_request_information(self,body: MeetingRegistrationQuestion, request param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -133,6 +139,7 @@ def with_url(self,raw_url: str) -> MeetingRegistrationQuestionItemRequestBuilder param raw_url: The raw URL to use for the request builder. Returns: MeetingRegistrationQuestionItemRequestBuilder """ + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MeetingRegistrationQuestionItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/users/item/online_meetings/item/registration/registrants/count/count_request_builder.py b/msgraph_beta/generated/users/item/online_meetings/item/registration/registrants/count/count_request_builder.py index 5ddbb1e6177..079b5f4a5cc 100644 --- a/msgraph_beta/generated/users/item/online_meetings/item/registration/registrants/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/online_meetings/item/registration/registrants/count/count_request_builder.py @@ -34,6 +34,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -44,7 +45,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ @@ -52,6 +53,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -63,6 +65,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/users/item/online_meetings/item/registration/registrants/item/meeting_registrant_base_item_request_builder.py b/msgraph_beta/generated/users/item/online_meetings/item/registration/registrants/item/meeting_registrant_base_item_request_builder.py index 2da95ea77fa..036ad9df11a 100644 --- a/msgraph_beta/generated/users/item/online_meetings/item/registration/registrants/item/meeting_registrant_base_item_request_builder.py +++ b/msgraph_beta/generated/users/item/online_meetings/item/registration/registrants/item/meeting_registrant_base_item_request_builder.py @@ -36,6 +36,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query Returns: None Find more info here: https://learn.microsoft.com/graph/api/meetingregistrant-delete?view=graph-rest-beta """ + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[MeetingR param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MeetingRegistrantBase] """ + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def patch(self,body: MeetingRegistrantBase, request_configuration: Optiona param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MeetingRegistrantBase] """ + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -97,6 +100,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -120,6 +125,7 @@ def to_patch_request_information(self,body: MeetingRegistrantBase, request_confi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -134,6 +140,7 @@ def with_url(self,raw_url: str) -> MeetingRegistrantBaseItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: MeetingRegistrantBaseItemRequestBuilder """ + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MeetingRegistrantBaseItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/users/item/online_meetings/item/registration/registrants/registrants_request_builder.py b/msgraph_beta/generated/users/item/online_meetings/item/registration/registrants/registrants_request_builder.py index 28d7f44508a..a6bf7fa8568 100644 --- a/msgraph_beta/generated/users/item/online_meetings/item/registration/registrants/registrants_request_builder.py +++ b/msgraph_beta/generated/users/item/online_meetings/item/registration/registrants/registrants_request_builder.py @@ -38,6 +38,7 @@ def by_meeting_registrant_base_id(self,meeting_registrant_base_id: str) -> Meeti param meeting_registrant_base_id: The unique identifier of meetingRegistrantBase Returns: MeetingRegistrantBaseItemRequestBuilder """ + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) if meeting_registrant_base_id is None: raise TypeError("meeting_registrant_base_id cannot be null.") from .item.meeting_registrant_base_item_request_builder import MeetingRegistrantBaseItemRequestBuilder @@ -52,6 +53,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Registra param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MeetingRegistrantBaseCollectionResponse] """ + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: MeetingRegistrantBase, request_configuration: Optional Returns: Optional[MeetingRegistrantBase] Find more info here: https://learn.microsoft.com/graph/api/meetingregistration-post-registrants?view=graph-rest-beta """ + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: MeetingRegistrantBase, request_config param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> RegistrantsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RegistrantsRequestBuilder """ + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RegistrantsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/users/item/online_meetings/item/registration/registration_request_builder.py b/msgraph_beta/generated/users/item/online_meetings/item/registration/registration_request_builder.py index 02421ae7574..05ba0101e2f 100644 --- a/msgraph_beta/generated/users/item/online_meetings/item/registration/registration_request_builder.py +++ b/msgraph_beta/generated/users/item/online_meetings/item/registration/registration_request_builder.py @@ -37,6 +37,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -55,6 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Registra param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MeetingRegistration] """ + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,6 +78,7 @@ async def patch(self,body: MeetingRegistration, request_configuration: Optional[ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MeetingRegistration] """ + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -98,6 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -109,6 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -121,6 +126,7 @@ def to_patch_request_information(self,body: MeetingRegistration, request_configu param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -135,6 +141,7 @@ def with_url(self,raw_url: str) -> RegistrationRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RegistrationRequestBuilder """ + warn("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RegistrationRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/users/item/online_meetings/item/send_virtual_appointment_reminder_sms/send_virtual_appointment_reminder_sms_post_request_body.py b/msgraph_beta/generated/users/item/online_meetings/item/send_virtual_appointment_reminder_sms/send_virtual_appointment_reminder_sms_post_request_body.py index 7feb5cd42c0..3611c571707 100644 --- a/msgraph_beta/generated/users/item/online_meetings/item/send_virtual_appointment_reminder_sms/send_virtual_appointment_reminder_sms_post_request_body.py +++ b/msgraph_beta/generated/users/item/online_meetings/item/send_virtual_appointment_reminder_sms/send_virtual_appointment_reminder_sms_post_request_body.py @@ -56,6 +56,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ......models.attendee_notification_info import AttendeeNotificationInfo + from ......models.remind_before_time_in_minutes_type import RemindBeforeTimeInMinutesType + writer.write_collection_of_object_values("attendees", self.attendees) writer.write_enum_value("remindBeforeTimeInMinutesType", self.remind_before_time_in_minutes_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/online_meetings/item/send_virtual_appointment_sms/send_virtual_appointment_sms_post_request_body.py b/msgraph_beta/generated/users/item/online_meetings/item/send_virtual_appointment_sms/send_virtual_appointment_sms_post_request_body.py index 20588f3f3d7..6669947cef4 100644 --- a/msgraph_beta/generated/users/item/online_meetings/item/send_virtual_appointment_sms/send_virtual_appointment_sms_post_request_body.py +++ b/msgraph_beta/generated/users/item/online_meetings/item/send_virtual_appointment_sms/send_virtual_appointment_sms_post_request_body.py @@ -56,6 +56,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ......models.attendee_notification_info import AttendeeNotificationInfo + from ......models.virtual_appointment_message_type import VirtualAppointmentMessageType + writer.write_collection_of_object_values("attendees", self.attendees) writer.write_enum_value("messageType", self.message_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/online_meetings/item/transcripts/count/count_request_builder.py b/msgraph_beta/generated/users/item/online_meetings/item/transcripts/count/count_request_builder.py index e023693853a..ee38b02208d 100644 --- a/msgraph_beta/generated/users/item/online_meetings/item/transcripts/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/online_meetings/item/transcripts/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/online_meetings/item/transcripts/delta/delta_get_response.py b/msgraph_beta/generated/users/item/online_meetings/item/transcripts/delta/delta_get_response.py index 4b509a6b86c..ed0069e97ab 100644 --- a/msgraph_beta/generated/users/item/online_meetings/item/transcripts/delta/delta_get_response.py +++ b/msgraph_beta/generated/users/item/online_meetings/item/transcripts/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .......models.base_delta_function_response import BaseDeltaFunctionResponse + from .......models.call_transcript import CallTranscript + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/users/item/online_meetings_with_join_web_url/send_virtual_appointment_reminder_sms/send_virtual_appointment_reminder_sms_post_request_body.py b/msgraph_beta/generated/users/item/online_meetings_with_join_web_url/send_virtual_appointment_reminder_sms/send_virtual_appointment_reminder_sms_post_request_body.py index 54f4f997dfa..a8ec8797ffd 100644 --- a/msgraph_beta/generated/users/item/online_meetings_with_join_web_url/send_virtual_appointment_reminder_sms/send_virtual_appointment_reminder_sms_post_request_body.py +++ b/msgraph_beta/generated/users/item/online_meetings_with_join_web_url/send_virtual_appointment_reminder_sms/send_virtual_appointment_reminder_sms_post_request_body.py @@ -56,6 +56,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.attendee_notification_info import AttendeeNotificationInfo + from .....models.remind_before_time_in_minutes_type import RemindBeforeTimeInMinutesType + writer.write_collection_of_object_values("attendees", self.attendees) writer.write_enum_value("remindBeforeTimeInMinutesType", self.remind_before_time_in_minutes_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/online_meetings_with_join_web_url/send_virtual_appointment_sms/send_virtual_appointment_sms_post_request_body.py b/msgraph_beta/generated/users/item/online_meetings_with_join_web_url/send_virtual_appointment_sms/send_virtual_appointment_sms_post_request_body.py index de2723f7556..45cfbd9acd8 100644 --- a/msgraph_beta/generated/users/item/online_meetings_with_join_web_url/send_virtual_appointment_sms/send_virtual_appointment_sms_post_request_body.py +++ b/msgraph_beta/generated/users/item/online_meetings_with_join_web_url/send_virtual_appointment_sms/send_virtual_appointment_sms_post_request_body.py @@ -56,6 +56,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.attendee_notification_info import AttendeeNotificationInfo + from .....models.virtual_appointment_message_type import VirtualAppointmentMessageType + writer.write_collection_of_object_values("attendees", self.attendees) writer.write_enum_value("messageType", self.message_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/outlook/master_categories/count/count_request_builder.py b/msgraph_beta/generated/users/item/outlook/master_categories/count/count_request_builder.py index 75e2e17e491..8678994c2e7 100644 --- a/msgraph_beta/generated/users/item/outlook/master_categories/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/outlook/master_categories/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/outlook/supported_languages/supported_languages_get_response.py b/msgraph_beta/generated/users/item/outlook/supported_languages/supported_languages_get_response.py index 5275cf1eaef..c0728f06ef3 100644 --- a/msgraph_beta/generated/users/item/outlook/supported_languages/supported_languages_get_response.py +++ b/msgraph_beta/generated/users/item/outlook/supported_languages/supported_languages_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .....models.locale_info import LocaleInfo + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/users/item/outlook/supported_time_zones/supported_time_zones_get_response.py b/msgraph_beta/generated/users/item/outlook/supported_time_zones/supported_time_zones_get_response.py index 5f0ddf3dfce..6eeb6db0f57 100644 --- a/msgraph_beta/generated/users/item/outlook/supported_time_zones/supported_time_zones_get_response.py +++ b/msgraph_beta/generated/users/item/outlook/supported_time_zones/supported_time_zones_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .....models.time_zone_information import TimeZoneInformation + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/users/item/outlook/supported_time_zones_with_time_zone_standard/supported_time_zones_with_time_zone_standard_get_response.py b/msgraph_beta/generated/users/item/outlook/supported_time_zones_with_time_zone_standard/supported_time_zones_with_time_zone_standard_get_response.py index 78cfeff0d3d..47566bf8aee 100644 --- a/msgraph_beta/generated/users/item/outlook/supported_time_zones_with_time_zone_standard/supported_time_zones_with_time_zone_standard_get_response.py +++ b/msgraph_beta/generated/users/item/outlook/supported_time_zones_with_time_zone_standard/supported_time_zones_with_time_zone_standard_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .....models.time_zone_information import TimeZoneInformation + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/users/item/outlook/task_folders/count/count_request_builder.py b/msgraph_beta/generated/users/item/outlook/task_folders/count/count_request_builder.py index 56a9405022f..12345a55e72 100644 --- a/msgraph_beta/generated/users/item/outlook/task_folders/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/outlook/task_folders/count/count_request_builder.py @@ -45,7 +45,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/outlook/task_folders/item/tasks/count/count_request_builder.py b/msgraph_beta/generated/users/item/outlook/task_folders/item/tasks/count/count_request_builder.py index 1085ba8c795..a5541a89ffd 100644 --- a/msgraph_beta/generated/users/item/outlook/task_folders/item/tasks/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/outlook/task_folders/item/tasks/count/count_request_builder.py @@ -45,7 +45,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/outlook/task_folders/item/tasks/item/attachments/count/count_request_builder.py b/msgraph_beta/generated/users/item/outlook/task_folders/item/tasks/item/attachments/count/count_request_builder.py index 80296febebb..a2dd6d6cee4 100644 --- a/msgraph_beta/generated/users/item/outlook/task_folders/item/tasks/item/attachments/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/outlook/task_folders/item/tasks/item/attachments/count/count_request_builder.py @@ -45,7 +45,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/outlook/task_folders/item/tasks/item/attachments/create_upload_session/create_upload_session_post_request_body.py b/msgraph_beta/generated/users/item/outlook/task_folders/item/tasks/item/attachments/create_upload_session/create_upload_session_post_request_body.py index 1afb99d1e9b..1ac6a8ee63b 100644 --- a/msgraph_beta/generated/users/item/outlook/task_folders/item/tasks/item/attachments/create_upload_session/create_upload_session_post_request_body.py +++ b/msgraph_beta/generated/users/item/outlook/task_folders/item/tasks/item/attachments/create_upload_session/create_upload_session_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ..........models.attachment_item import AttachmentItem + writer.write_object_value("AttachmentItem", self.attachment_item) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/outlook/task_folders/item/tasks/item/complete/complete_post_response.py b/msgraph_beta/generated/users/item/outlook/task_folders/item/tasks/item/complete/complete_post_response.py index 2da0dd2a27f..0a4c809d2c9 100644 --- a/msgraph_beta/generated/users/item/outlook/task_folders/item/tasks/item/complete/complete_post_response.py +++ b/msgraph_beta/generated/users/item/outlook/task_folders/item/tasks/item/complete/complete_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .........models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .........models.outlook_task import OutlookTask + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/users/item/outlook/task_groups/count/count_request_builder.py b/msgraph_beta/generated/users/item/outlook/task_groups/count/count_request_builder.py index 04090021c2a..59fde2d0a43 100644 --- a/msgraph_beta/generated/users/item/outlook/task_groups/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/outlook/task_groups/count/count_request_builder.py @@ -45,7 +45,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/outlook/task_groups/item/task_folders/count/count_request_builder.py b/msgraph_beta/generated/users/item/outlook/task_groups/item/task_folders/count/count_request_builder.py index 8f9f9818a9e..3ba5bff9676 100644 --- a/msgraph_beta/generated/users/item/outlook/task_groups/item/task_folders/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/outlook/task_groups/item/task_folders/count/count_request_builder.py @@ -45,7 +45,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/outlook/task_groups/item/task_folders/item/tasks/count/count_request_builder.py b/msgraph_beta/generated/users/item/outlook/task_groups/item/task_folders/item/tasks/count/count_request_builder.py index 2f6b9920d15..128bfe110bf 100644 --- a/msgraph_beta/generated/users/item/outlook/task_groups/item/task_folders/item/tasks/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/outlook/task_groups/item/task_folders/item/tasks/count/count_request_builder.py @@ -45,7 +45,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/outlook/task_groups/item/task_folders/item/tasks/item/attachments/count/count_request_builder.py b/msgraph_beta/generated/users/item/outlook/task_groups/item/task_folders/item/tasks/item/attachments/count/count_request_builder.py index 82ac5780b76..512f0128a97 100644 --- a/msgraph_beta/generated/users/item/outlook/task_groups/item/task_folders/item/tasks/item/attachments/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/outlook/task_groups/item/task_folders/item/tasks/item/attachments/count/count_request_builder.py @@ -45,7 +45,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/outlook/task_groups/item/task_folders/item/tasks/item/attachments/create_upload_session/create_upload_session_post_request_body.py b/msgraph_beta/generated/users/item/outlook/task_groups/item/task_folders/item/tasks/item/attachments/create_upload_session/create_upload_session_post_request_body.py index c8e72057440..89fff3d15e0 100644 --- a/msgraph_beta/generated/users/item/outlook/task_groups/item/task_folders/item/tasks/item/attachments/create_upload_session/create_upload_session_post_request_body.py +++ b/msgraph_beta/generated/users/item/outlook/task_groups/item/task_folders/item/tasks/item/attachments/create_upload_session/create_upload_session_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ............models.attachment_item import AttachmentItem + writer.write_object_value("AttachmentItem", self.attachment_item) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/outlook/task_groups/item/task_folders/item/tasks/item/complete/complete_post_response.py b/msgraph_beta/generated/users/item/outlook/task_groups/item/task_folders/item/tasks/item/complete/complete_post_response.py index ab77fc4fa84..6890048fc4d 100644 --- a/msgraph_beta/generated/users/item/outlook/task_groups/item/task_folders/item/tasks/item/complete/complete_post_response.py +++ b/msgraph_beta/generated/users/item/outlook/task_groups/item/task_folders/item/tasks/item/complete/complete_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ...........models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ...........models.outlook_task import OutlookTask + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/users/item/outlook/tasks/count/count_request_builder.py b/msgraph_beta/generated/users/item/outlook/tasks/count/count_request_builder.py index c6234fe25eb..c4fe089bbca 100644 --- a/msgraph_beta/generated/users/item/outlook/tasks/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/outlook/tasks/count/count_request_builder.py @@ -45,7 +45,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/outlook/tasks/item/attachments/count/count_request_builder.py b/msgraph_beta/generated/users/item/outlook/tasks/item/attachments/count/count_request_builder.py index 8148d795fc0..e0717255408 100644 --- a/msgraph_beta/generated/users/item/outlook/tasks/item/attachments/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/outlook/tasks/item/attachments/count/count_request_builder.py @@ -45,7 +45,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/outlook/tasks/item/attachments/create_upload_session/create_upload_session_post_request_body.py b/msgraph_beta/generated/users/item/outlook/tasks/item/attachments/create_upload_session/create_upload_session_post_request_body.py index eeae70ea12a..2a721f3b1d0 100644 --- a/msgraph_beta/generated/users/item/outlook/tasks/item/attachments/create_upload_session/create_upload_session_post_request_body.py +++ b/msgraph_beta/generated/users/item/outlook/tasks/item/attachments/create_upload_session/create_upload_session_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ........models.attachment_item import AttachmentItem + writer.write_object_value("AttachmentItem", self.attachment_item) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/outlook/tasks/item/complete/complete_post_response.py b/msgraph_beta/generated/users/item/outlook/tasks/item/complete/complete_post_response.py index 82714a9872e..06f4080b77f 100644 --- a/msgraph_beta/generated/users/item/outlook/tasks/item/complete/complete_post_response.py +++ b/msgraph_beta/generated/users/item/outlook/tasks/item/complete/complete_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .......models.outlook_task import OutlookTask + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/users/item/owned_devices/count/count_request_builder.py b/msgraph_beta/generated/users/item/owned_devices/count/count_request_builder.py index 19bd798d0eb..4633130bbd4 100644 --- a/msgraph_beta/generated/users/item/owned_devices/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/owned_devices/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/owned_devices/graph_device/count/count_request_builder.py b/msgraph_beta/generated/users/item/owned_devices/graph_device/count/count_request_builder.py index 661cb2523a0..6591fe1ecbc 100644 --- a/msgraph_beta/generated/users/item/owned_devices/graph_device/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/owned_devices/graph_device/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/owned_devices/graph_endpoint/count/count_request_builder.py b/msgraph_beta/generated/users/item/owned_devices/graph_endpoint/count/count_request_builder.py index 4b33c3eca33..7e14ebf0ab2 100644 --- a/msgraph_beta/generated/users/item/owned_devices/graph_endpoint/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/owned_devices/graph_endpoint/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/owned_objects/count/count_request_builder.py b/msgraph_beta/generated/users/item/owned_objects/count/count_request_builder.py index b2faf967870..bf5f4062a20 100644 --- a/msgraph_beta/generated/users/item/owned_objects/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/owned_objects/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/owned_objects/graph_application/count/count_request_builder.py b/msgraph_beta/generated/users/item/owned_objects/graph_application/count/count_request_builder.py index d5ec9a5b4d9..0d82eb051aa 100644 --- a/msgraph_beta/generated/users/item/owned_objects/graph_application/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/owned_objects/graph_application/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/owned_objects/graph_group/count/count_request_builder.py b/msgraph_beta/generated/users/item/owned_objects/graph_group/count/count_request_builder.py index 9128d685bfa..c9ccb4db579 100644 --- a/msgraph_beta/generated/users/item/owned_objects/graph_group/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/owned_objects/graph_group/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/owned_objects/graph_service_principal/count/count_request_builder.py b/msgraph_beta/generated/users/item/owned_objects/graph_service_principal/count/count_request_builder.py index 4cf17b0cd14..b3a434c9ac0 100644 --- a/msgraph_beta/generated/users/item/owned_objects/graph_service_principal/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/owned_objects/graph_service_principal/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/pending_access_review_instances/count/count_request_builder.py b/msgraph_beta/generated/users/item/pending_access_review_instances/count/count_request_builder.py index a2210633076..c66c96c8565 100644 --- a/msgraph_beta/generated/users/item/pending_access_review_instances/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/pending_access_review_instances/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/pending_access_review_instances/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py b/msgraph_beta/generated/users/item/pending_access_review_instances/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py index 563a4145858..d725958833c 100644 --- a/msgraph_beta/generated/users/item/pending_access_review_instances/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py +++ b/msgraph_beta/generated/users/item/pending_access_review_instances/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .....models.access_review_instance import AccessReviewInstance + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/users/item/pending_access_review_instances/item/contacted_reviewers/count/count_request_builder.py b/msgraph_beta/generated/users/item/pending_access_review_instances/item/contacted_reviewers/count/count_request_builder.py index ab03b0c3599..8f50f7d42f9 100644 --- a/msgraph_beta/generated/users/item/pending_access_review_instances/item/contacted_reviewers/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/pending_access_review_instances/item/contacted_reviewers/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/pending_access_review_instances/item/decisions/count/count_request_builder.py b/msgraph_beta/generated/users/item/pending_access_review_instances/item/decisions/count/count_request_builder.py index fa1e6fbcd0b..ad531d49ffe 100644 --- a/msgraph_beta/generated/users/item/pending_access_review_instances/item/decisions/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/pending_access_review_instances/item/decisions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/pending_access_review_instances/item/decisions/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py b/msgraph_beta/generated/users/item/pending_access_review_instances/item/decisions/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py index cca50c05193..1c7c6d0d308 100644 --- a/msgraph_beta/generated/users/item/pending_access_review_instances/item/decisions/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py +++ b/msgraph_beta/generated/users/item/pending_access_review_instances/item/decisions/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .......models.access_review_instance_decision_item import AccessReviewInstanceDecisionItem + from .......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/users/item/pending_access_review_instances/item/decisions/item/insights/count/count_request_builder.py b/msgraph_beta/generated/users/item/pending_access_review_instances/item/decisions/item/insights/count/count_request_builder.py index 3adf8b44556..7cbf5d03329 100644 --- a/msgraph_beta/generated/users/item/pending_access_review_instances/item/decisions/item/insights/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/pending_access_review_instances/item/decisions/item/insights/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/pending_access_review_instances/item/stages/count/count_request_builder.py b/msgraph_beta/generated/users/item/pending_access_review_instances/item/stages/count/count_request_builder.py index 1d7eda9606f..e13fd411eff 100644 --- a/msgraph_beta/generated/users/item/pending_access_review_instances/item/stages/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/pending_access_review_instances/item/stages/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/pending_access_review_instances/item/stages/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py b/msgraph_beta/generated/users/item/pending_access_review_instances/item/stages/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py index 4f5815e6eb7..6c12f73b5b0 100644 --- a/msgraph_beta/generated/users/item/pending_access_review_instances/item/stages/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py +++ b/msgraph_beta/generated/users/item/pending_access_review_instances/item/stages/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .......models.access_review_stage import AccessReviewStage + from .......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/users/item/pending_access_review_instances/item/stages/item/decisions/count/count_request_builder.py b/msgraph_beta/generated/users/item/pending_access_review_instances/item/stages/item/decisions/count/count_request_builder.py index 2dd6ad4f5d2..0a039b76bb1 100644 --- a/msgraph_beta/generated/users/item/pending_access_review_instances/item/stages/item/decisions/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/pending_access_review_instances/item/stages/item/decisions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/pending_access_review_instances/item/stages/item/decisions/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py b/msgraph_beta/generated/users/item/pending_access_review_instances/item/stages/item/decisions/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py index 50438de8e44..8acc0e25cf3 100644 --- a/msgraph_beta/generated/users/item/pending_access_review_instances/item/stages/item/decisions/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py +++ b/msgraph_beta/generated/users/item/pending_access_review_instances/item/stages/item/decisions/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .........models.access_review_instance_decision_item import AccessReviewInstanceDecisionItem + from .........models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/users/item/pending_access_review_instances/item/stages/item/decisions/item/insights/count/count_request_builder.py b/msgraph_beta/generated/users/item/pending_access_review_instances/item/stages/item/decisions/item/insights/count/count_request_builder.py index d0b0a730798..f9625cc8ba0 100644 --- a/msgraph_beta/generated/users/item/pending_access_review_instances/item/stages/item/decisions/item/insights/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/pending_access_review_instances/item/stages/item/decisions/item/insights/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/people/count/count_request_builder.py b/msgraph_beta/generated/users/item/people/count/count_request_builder.py index e6bdbdd0130..436dac30798 100644 --- a/msgraph_beta/generated/users/item/people/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/people/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/permission_grants/count/count_request_builder.py b/msgraph_beta/generated/users/item/permission_grants/count/count_request_builder.py index 765dd23d800..79ceb6df5dd 100644 --- a/msgraph_beta/generated/users/item/permission_grants/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/permission_grants/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/planner/all/count/count_request_builder.py b/msgraph_beta/generated/users/item/planner/all/count/count_request_builder.py index 9da77c3d669..bef046619be 100644 --- a/msgraph_beta/generated/users/item/planner/all/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/planner/all/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/planner/all/delta/delta_get_response.py b/msgraph_beta/generated/users/item/planner/all/delta/delta_get_response.py index 74eba638b32..e073179062c 100644 --- a/msgraph_beta/generated/users/item/planner/all/delta/delta_get_response.py +++ b/msgraph_beta/generated/users/item/planner/all/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ......models.base_delta_function_response import BaseDeltaFunctionResponse + from ......models.planner_delta import PlannerDelta + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/users/item/planner/favorite_plans/count/count_request_builder.py b/msgraph_beta/generated/users/item/planner/favorite_plans/count/count_request_builder.py index 74269d86dcf..600e76744f0 100644 --- a/msgraph_beta/generated/users/item/planner/favorite_plans/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/planner/favorite_plans/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/planner/my_day_tasks/count/count_request_builder.py b/msgraph_beta/generated/users/item/planner/my_day_tasks/count/count_request_builder.py index 1d2fef5e68d..6e3406e7a0c 100644 --- a/msgraph_beta/generated/users/item/planner/my_day_tasks/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/planner/my_day_tasks/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/planner/plans/count/count_request_builder.py b/msgraph_beta/generated/users/item/planner/plans/count/count_request_builder.py index ec16a033bd7..654aa2d261c 100644 --- a/msgraph_beta/generated/users/item/planner/plans/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/planner/plans/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/planner/plans/delta/delta_get_response.py b/msgraph_beta/generated/users/item/planner/plans/delta/delta_get_response.py index b9a8eefef15..61fda01a7c7 100644 --- a/msgraph_beta/generated/users/item/planner/plans/delta/delta_get_response.py +++ b/msgraph_beta/generated/users/item/planner/plans/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ......models.base_delta_function_response import BaseDeltaFunctionResponse + from ......models.planner_plan import PlannerPlan + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/users/item/planner/plans/item/buckets/count/count_request_builder.py b/msgraph_beta/generated/users/item/planner/plans/item/buckets/count/count_request_builder.py index 2f605701073..73467684e7e 100644 --- a/msgraph_beta/generated/users/item/planner/plans/item/buckets/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/planner/plans/item/buckets/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/planner/plans/item/buckets/delta/delta_get_response.py b/msgraph_beta/generated/users/item/planner/plans/item/buckets/delta/delta_get_response.py index c315d7e67c2..ada58596bfc 100644 --- a/msgraph_beta/generated/users/item/planner/plans/item/buckets/delta/delta_get_response.py +++ b/msgraph_beta/generated/users/item/planner/plans/item/buckets/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ........models.base_delta_function_response import BaseDeltaFunctionResponse + from ........models.planner_bucket import PlannerBucket + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/users/item/planner/plans/item/buckets/item/tasks/count/count_request_builder.py b/msgraph_beta/generated/users/item/planner/plans/item/buckets/item/tasks/count/count_request_builder.py index 16f8f20d9b9..b35b901fae2 100644 --- a/msgraph_beta/generated/users/item/planner/plans/item/buckets/item/tasks/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/planner/plans/item/buckets/item/tasks/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/planner/plans/item/buckets/item/tasks/delta/delta_get_response.py b/msgraph_beta/generated/users/item/planner/plans/item/buckets/item/tasks/delta/delta_get_response.py index 48ee5c2abb5..224a2423c9a 100644 --- a/msgraph_beta/generated/users/item/planner/plans/item/buckets/item/tasks/delta/delta_get_response.py +++ b/msgraph_beta/generated/users/item/planner/plans/item/buckets/item/tasks/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ..........models.base_delta_function_response import BaseDeltaFunctionResponse + from ..........models.planner_task import PlannerTask + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/users/item/planner/plans/item/move_to_container/move_to_container_post_request_body.py b/msgraph_beta/generated/users/item/planner/plans/item/move_to_container/move_to_container_post_request_body.py index 0dd79ed380a..8d80b2789c9 100644 --- a/msgraph_beta/generated/users/item/planner/plans/item/move_to_container/move_to_container_post_request_body.py +++ b/msgraph_beta/generated/users/item/planner/plans/item/move_to_container/move_to_container_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .......models.planner_plan_container import PlannerPlanContainer + writer.write_object_value("container", self.container) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/planner/plans/item/tasks/count/count_request_builder.py b/msgraph_beta/generated/users/item/planner/plans/item/tasks/count/count_request_builder.py index 93193a83758..4d00e47b069 100644 --- a/msgraph_beta/generated/users/item/planner/plans/item/tasks/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/planner/plans/item/tasks/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/planner/plans/item/tasks/delta/delta_get_response.py b/msgraph_beta/generated/users/item/planner/plans/item/tasks/delta/delta_get_response.py index a53fa451ea8..9d2942d6955 100644 --- a/msgraph_beta/generated/users/item/planner/plans/item/tasks/delta/delta_get_response.py +++ b/msgraph_beta/generated/users/item/planner/plans/item/tasks/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ........models.base_delta_function_response import BaseDeltaFunctionResponse + from ........models.planner_task import PlannerTask + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/users/item/planner/recent_plans/count/count_request_builder.py b/msgraph_beta/generated/users/item/planner/recent_plans/count/count_request_builder.py index 4c1f25e30cf..fe814749e28 100644 --- a/msgraph_beta/generated/users/item/planner/recent_plans/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/planner/recent_plans/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/planner/roster_plans/count/count_request_builder.py b/msgraph_beta/generated/users/item/planner/roster_plans/count/count_request_builder.py index bc565eae53c..b37ed8b30a1 100644 --- a/msgraph_beta/generated/users/item/planner/roster_plans/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/planner/roster_plans/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/planner/tasks/count/count_request_builder.py b/msgraph_beta/generated/users/item/planner/tasks/count/count_request_builder.py index 6d65f4a7205..66648cb4a06 100644 --- a/msgraph_beta/generated/users/item/planner/tasks/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/planner/tasks/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/planner/tasks/delta/delta_get_response.py b/msgraph_beta/generated/users/item/planner/tasks/delta/delta_get_response.py index 9579ace425c..4ff3e812bf7 100644 --- a/msgraph_beta/generated/users/item/planner/tasks/delta/delta_get_response.py +++ b/msgraph_beta/generated/users/item/planner/tasks/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ......models.base_delta_function_response import BaseDeltaFunctionResponse + from ......models.planner_task import PlannerTask + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/users/item/presence/presence_request_builder.py b/msgraph_beta/generated/users/item/presence/presence_request_builder.py index 8f5d7039dee..3d270df1d5d 100644 --- a/msgraph_beta/generated/users/item/presence/presence_request_builder.py +++ b/msgraph_beta/generated/users/item/presence/presence_request_builder.py @@ -54,10 +54,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[PresenceRequestBuilderGetQueryParameters]] = None) -> Optional[Presence]: """ - Set a presence status message for a user. An optional expiration date and time can be supplied. + Get a user's presence information. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Presence] - Find more info here: https://learn.microsoft.com/graph/api/presence-setstatusmessage?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/presence-get?view=graph-rest-beta """ request_info = self.to_get_request_information( request_configuration @@ -109,7 +109,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[PresenceRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Set a presence status message for a user. An optional expiration date and time can be supplied. + Get a user's presence information. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -198,7 +198,7 @@ class PresenceRequestBuilderDeleteRequestConfiguration(RequestConfiguration[Quer @dataclass class PresenceRequestBuilderGetQueryParameters(): """ - Set a presence status message for a user. An optional expiration date and time can be supplied. + Get a user's presence information. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/users/item/presence/set_status_message/set_status_message_post_request_body.py b/msgraph_beta/generated/users/item/presence/set_status_message/set_status_message_post_request_body.py index 490a6c68d3e..62122d25ab8 100644 --- a/msgraph_beta/generated/users/item/presence/set_status_message/set_status_message_post_request_body.py +++ b/msgraph_beta/generated/users/item/presence/set_status_message/set_status_message_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.presence_status_message import PresenceStatusMessage + writer.write_object_value("statusMessage", self.status_message) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/profile/account/count/count_request_builder.py b/msgraph_beta/generated/users/item/profile/account/count/count_request_builder.py index 63be0a55558..10ce95bc2db 100644 --- a/msgraph_beta/generated/users/item/profile/account/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/profile/account/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/profile/addresses/count/count_request_builder.py b/msgraph_beta/generated/users/item/profile/addresses/count/count_request_builder.py index f651ab280ba..4fe3e7dffaf 100644 --- a/msgraph_beta/generated/users/item/profile/addresses/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/profile/addresses/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/profile/anniversaries/count/count_request_builder.py b/msgraph_beta/generated/users/item/profile/anniversaries/count/count_request_builder.py index 5073d8ab065..03805c76d95 100644 --- a/msgraph_beta/generated/users/item/profile/anniversaries/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/profile/anniversaries/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/profile/awards/count/count_request_builder.py b/msgraph_beta/generated/users/item/profile/awards/count/count_request_builder.py index 3e1c4ce43a5..c60cab55632 100644 --- a/msgraph_beta/generated/users/item/profile/awards/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/profile/awards/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/profile/certifications/count/count_request_builder.py b/msgraph_beta/generated/users/item/profile/certifications/count/count_request_builder.py index 638464c4ac3..4b038d0e112 100644 --- a/msgraph_beta/generated/users/item/profile/certifications/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/profile/certifications/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/profile/educational_activities/count/count_request_builder.py b/msgraph_beta/generated/users/item/profile/educational_activities/count/count_request_builder.py index dd944d4d7bc..e53c70418db 100644 --- a/msgraph_beta/generated/users/item/profile/educational_activities/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/profile/educational_activities/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/profile/emails/count/count_request_builder.py b/msgraph_beta/generated/users/item/profile/emails/count/count_request_builder.py index cd957312ae6..adf31ec7d8a 100644 --- a/msgraph_beta/generated/users/item/profile/emails/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/profile/emails/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/profile/interests/count/count_request_builder.py b/msgraph_beta/generated/users/item/profile/interests/count/count_request_builder.py index cf7d710c952..a76de0e8182 100644 --- a/msgraph_beta/generated/users/item/profile/interests/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/profile/interests/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/profile/languages/count/count_request_builder.py b/msgraph_beta/generated/users/item/profile/languages/count/count_request_builder.py index fd89cf73f70..53063dade4d 100644 --- a/msgraph_beta/generated/users/item/profile/languages/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/profile/languages/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/profile/names/count/count_request_builder.py b/msgraph_beta/generated/users/item/profile/names/count/count_request_builder.py index 21cd3279035..d524a8832db 100644 --- a/msgraph_beta/generated/users/item/profile/names/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/profile/names/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/profile/notes/count/count_request_builder.py b/msgraph_beta/generated/users/item/profile/notes/count/count_request_builder.py index 03de71d74e3..6e1c70edf56 100644 --- a/msgraph_beta/generated/users/item/profile/notes/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/profile/notes/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/profile/patents/count/count_request_builder.py b/msgraph_beta/generated/users/item/profile/patents/count/count_request_builder.py index e0ca338d3e5..9e1c0f2a6e4 100644 --- a/msgraph_beta/generated/users/item/profile/patents/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/profile/patents/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/profile/phones/count/count_request_builder.py b/msgraph_beta/generated/users/item/profile/phones/count/count_request_builder.py index 27d7fc11263..989f20492e5 100644 --- a/msgraph_beta/generated/users/item/profile/phones/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/profile/phones/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/profile/positions/count/count_request_builder.py b/msgraph_beta/generated/users/item/profile/positions/count/count_request_builder.py index 1a3976db26a..76636c221f3 100644 --- a/msgraph_beta/generated/users/item/profile/positions/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/profile/positions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/profile/projects/count/count_request_builder.py b/msgraph_beta/generated/users/item/profile/projects/count/count_request_builder.py index c30800d85c9..90912edc5b9 100644 --- a/msgraph_beta/generated/users/item/profile/projects/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/profile/projects/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/profile/publications/count/count_request_builder.py b/msgraph_beta/generated/users/item/profile/publications/count/count_request_builder.py index d258c5a5ddd..2e688c29b64 100644 --- a/msgraph_beta/generated/users/item/profile/publications/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/profile/publications/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/profile/skills/count/count_request_builder.py b/msgraph_beta/generated/users/item/profile/skills/count/count_request_builder.py index 155a8d97052..fa574cc1ca5 100644 --- a/msgraph_beta/generated/users/item/profile/skills/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/profile/skills/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/profile/web_accounts/count/count_request_builder.py b/msgraph_beta/generated/users/item/profile/web_accounts/count/count_request_builder.py index cdf6987753f..856ae7d9ed8 100644 --- a/msgraph_beta/generated/users/item/profile/web_accounts/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/profile/web_accounts/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/profile/websites/count/count_request_builder.py b/msgraph_beta/generated/users/item/profile/websites/count/count_request_builder.py index e52cfd30a6d..31c111aded0 100644 --- a/msgraph_beta/generated/users/item/profile/websites/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/profile/websites/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/registered_devices/count/count_request_builder.py b/msgraph_beta/generated/users/item/registered_devices/count/count_request_builder.py index 2e3648aa5b0..668d80ac99a 100644 --- a/msgraph_beta/generated/users/item/registered_devices/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/registered_devices/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/registered_devices/graph_device/count/count_request_builder.py b/msgraph_beta/generated/users/item/registered_devices/graph_device/count/count_request_builder.py index 40f5335f4dd..0e3588e111d 100644 --- a/msgraph_beta/generated/users/item/registered_devices/graph_device/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/registered_devices/graph_device/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/registered_devices/graph_endpoint/count/count_request_builder.py b/msgraph_beta/generated/users/item/registered_devices/graph_endpoint/count/count_request_builder.py index 57387d113a3..3acef37767e 100644 --- a/msgraph_beta/generated/users/item/registered_devices/graph_endpoint/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/registered_devices/graph_endpoint/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/reminder_view_with_start_date_time_with_end_date_time/reminder_view_with_start_date_time_with_end_date_time_get_response.py b/msgraph_beta/generated/users/item/reminder_view_with_start_date_time_with_end_date_time/reminder_view_with_start_date_time_with_end_date_time_get_response.py index 99cc0a5250c..20100d49688 100644 --- a/msgraph_beta/generated/users/item/reminder_view_with_start_date_time_with_end_date_time/reminder_view_with_start_date_time_with_end_date_time_get_response.py +++ b/msgraph_beta/generated/users/item/reminder_view_with_start_date_time_with_end_date_time/reminder_view_with_start_date_time_with_end_date_time_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ....models.reminder import Reminder + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/users/item/retrieve_managed_devices_with_app_installation_issues/retrieve_managed_devices_with_app_installation_issues_get_response.py b/msgraph_beta/generated/users/item/retrieve_managed_devices_with_app_installation_issues/retrieve_managed_devices_with_app_installation_issues_get_response.py index 2110d9c1ab9..9152f08e7d6 100644 --- a/msgraph_beta/generated/users/item/retrieve_managed_devices_with_app_installation_issues/retrieve_managed_devices_with_app_installation_issues_get_response.py +++ b/msgraph_beta/generated/users/item/retrieve_managed_devices_with_app_installation_issues/retrieve_managed_devices_with_app_installation_issues_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ....models.managed_device_summarized_app_state import ManagedDeviceSummarizedAppState + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/users/item/scoped_role_member_of/count/count_request_builder.py b/msgraph_beta/generated/users/item/scoped_role_member_of/count/count_request_builder.py index 6c4a9a9ec5b..7548371bf51 100644 --- a/msgraph_beta/generated/users/item/scoped_role_member_of/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/scoped_role_member_of/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/security/information_protection/sensitivity_labels/count/count_request_builder.py b/msgraph_beta/generated/users/item/security/information_protection/sensitivity_labels/count/count_request_builder.py index ce83053549c..5d8f68f6b28 100644 --- a/msgraph_beta/generated/users/item/security/information_protection/sensitivity_labels/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/security/information_protection/sensitivity_labels/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/security/information_protection/sensitivity_labels/microsoft_graph_security_evaluate_application/evaluate_application_post_request_body.py b/msgraph_beta/generated/users/item/security/information_protection/sensitivity_labels/microsoft_graph_security_evaluate_application/evaluate_application_post_request_body.py index d9edb6fb3f8..dcbf06a7aac 100644 --- a/msgraph_beta/generated/users/item/security/information_protection/sensitivity_labels/microsoft_graph_security_evaluate_application/evaluate_application_post_request_body.py +++ b/msgraph_beta/generated/users/item/security/information_protection/sensitivity_labels/microsoft_graph_security_evaluate_application/evaluate_application_post_request_body.py @@ -56,6 +56,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .......models.security.content_info import ContentInfo + from .......models.security.labeling_options import LabelingOptions + writer.write_object_value("contentInfo", self.content_info) writer.write_object_value("labelingOptions", self.labeling_options) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/security/information_protection/sensitivity_labels/microsoft_graph_security_evaluate_application/evaluate_application_post_response.py b/msgraph_beta/generated/users/item/security/information_protection/sensitivity_labels/microsoft_graph_security_evaluate_application/evaluate_application_post_response.py index d0820f177f8..42c2790e0f9 100644 --- a/msgraph_beta/generated/users/item/security/information_protection/sensitivity_labels/microsoft_graph_security_evaluate_application/evaluate_application_post_response.py +++ b/msgraph_beta/generated/users/item/security/information_protection/sensitivity_labels/microsoft_graph_security_evaluate_application/evaluate_application_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .......models.security.information_protection_action import InformationProtectionAction + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/users/item/security/information_protection/sensitivity_labels/microsoft_graph_security_evaluate_classification_results/evaluate_classification_results_post_request_body.py b/msgraph_beta/generated/users/item/security/information_protection/sensitivity_labels/microsoft_graph_security_evaluate_classification_results/evaluate_classification_results_post_request_body.py index 876dec86ed8..363c2cb1fc3 100644 --- a/msgraph_beta/generated/users/item/security/information_protection/sensitivity_labels/microsoft_graph_security_evaluate_classification_results/evaluate_classification_results_post_request_body.py +++ b/msgraph_beta/generated/users/item/security/information_protection/sensitivity_labels/microsoft_graph_security_evaluate_classification_results/evaluate_classification_results_post_request_body.py @@ -56,6 +56,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .......models.security.classification_result import ClassificationResult + from .......models.security.content_info import ContentInfo + writer.write_collection_of_object_values("classificationResults", self.classification_results) writer.write_object_value("contentInfo", self.content_info) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/security/information_protection/sensitivity_labels/microsoft_graph_security_evaluate_classification_results/evaluate_classification_results_post_response.py b/msgraph_beta/generated/users/item/security/information_protection/sensitivity_labels/microsoft_graph_security_evaluate_classification_results/evaluate_classification_results_post_response.py index 813f17b4150..661785825a3 100644 --- a/msgraph_beta/generated/users/item/security/information_protection/sensitivity_labels/microsoft_graph_security_evaluate_classification_results/evaluate_classification_results_post_response.py +++ b/msgraph_beta/generated/users/item/security/information_protection/sensitivity_labels/microsoft_graph_security_evaluate_classification_results/evaluate_classification_results_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .......models.security.information_protection_action import InformationProtectionAction + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/users/item/security/information_protection/sensitivity_labels/microsoft_graph_security_evaluate_removal/evaluate_removal_post_request_body.py b/msgraph_beta/generated/users/item/security/information_protection/sensitivity_labels/microsoft_graph_security_evaluate_removal/evaluate_removal_post_request_body.py index ee0f9bdd911..ebf9d158729 100644 --- a/msgraph_beta/generated/users/item/security/information_protection/sensitivity_labels/microsoft_graph_security_evaluate_removal/evaluate_removal_post_request_body.py +++ b/msgraph_beta/generated/users/item/security/information_protection/sensitivity_labels/microsoft_graph_security_evaluate_removal/evaluate_removal_post_request_body.py @@ -56,6 +56,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .......models.security.content_info import ContentInfo + from .......models.security.downgrade_justification import DowngradeJustification + writer.write_object_value("contentInfo", self.content_info) writer.write_object_value("downgradeJustification", self.downgrade_justification) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/security/information_protection/sensitivity_labels/microsoft_graph_security_evaluate_removal/evaluate_removal_post_response.py b/msgraph_beta/generated/users/item/security/information_protection/sensitivity_labels/microsoft_graph_security_evaluate_removal/evaluate_removal_post_response.py index 2e4d90ba8fb..11b6b7d8cfe 100644 --- a/msgraph_beta/generated/users/item/security/information_protection/sensitivity_labels/microsoft_graph_security_evaluate_removal/evaluate_removal_post_response.py +++ b/msgraph_beta/generated/users/item/security/information_protection/sensitivity_labels/microsoft_graph_security_evaluate_removal/evaluate_removal_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from .......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .......models.security.information_protection_action import InformationProtectionAction + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/users/item/security/information_protection/sensitivity_labels/microsoft_graph_security_extract_content_label/extract_content_label_post_request_body.py b/msgraph_beta/generated/users/item/security/information_protection/sensitivity_labels/microsoft_graph_security_extract_content_label/extract_content_label_post_request_body.py index 87735613367..6a06e82146e 100644 --- a/msgraph_beta/generated/users/item/security/information_protection/sensitivity_labels/microsoft_graph_security_extract_content_label/extract_content_label_post_request_body.py +++ b/msgraph_beta/generated/users/item/security/information_protection/sensitivity_labels/microsoft_graph_security_extract_content_label/extract_content_label_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .......models.security.content_info import ContentInfo + writer.write_object_value("contentInfo", self.content_info) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/send_mail/send_mail_post_request_body.py b/msgraph_beta/generated/users/item/send_mail/send_mail_post_request_body.py index fee392fa6ae..21fe5b95218 100644 --- a/msgraph_beta/generated/users/item/send_mail/send_mail_post_request_body.py +++ b/msgraph_beta/generated/users/item/send_mail/send_mail_post_request_body.py @@ -53,6 +53,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ....models.message import Message + writer.write_object_value("Message", self.message) writer.write_bool_value("SaveToSentItems", self.save_to_sent_items) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/users/item/service_provisioning_errors/count/count_request_builder.py index bca1037741d..b53b9c3a47b 100644 --- a/msgraph_beta/generated/users/item/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/service_provisioning_errors/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/settings/storage/quota/services/count/count_request_builder.py b/msgraph_beta/generated/users/item/settings/storage/quota/services/count/count_request_builder.py index 3afb325b462..7f732e79563 100644 --- a/msgraph_beta/generated/users/item/settings/storage/quota/services/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/settings/storage/quota/services/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/settings/windows/count/count_request_builder.py b/msgraph_beta/generated/users/item/settings/windows/count/count_request_builder.py index f919e185ef9..b61f5f08566 100644 --- a/msgraph_beta/generated/users/item/settings/windows/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/settings/windows/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/settings/windows/item/instances/count/count_request_builder.py b/msgraph_beta/generated/users/item/settings/windows/item/instances/count/count_request_builder.py index 287b8619f34..9cb8c83222b 100644 --- a/msgraph_beta/generated/users/item/settings/windows/item/instances/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/settings/windows/item/instances/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/sponsors/count/count_request_builder.py b/msgraph_beta/generated/users/item/sponsors/count/count_request_builder.py index b2fe0ed277e..78279e94294 100644 --- a/msgraph_beta/generated/users/item/sponsors/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/sponsors/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/teamwork/associated_teams/count/count_request_builder.py b/msgraph_beta/generated/users/item/teamwork/associated_teams/count/count_request_builder.py index 15c891c5884..b9845a6eddc 100644 --- a/msgraph_beta/generated/users/item/teamwork/associated_teams/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/teamwork/associated_teams/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/teamwork/installed_apps/count/count_request_builder.py b/msgraph_beta/generated/users/item/teamwork/installed_apps/count/count_request_builder.py index 5979912609c..3bdbbc43e48 100644 --- a/msgraph_beta/generated/users/item/teamwork/installed_apps/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/teamwork/installed_apps/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/teamwork/send_activity_notification/send_activity_notification_post_request_body.py b/msgraph_beta/generated/users/item/teamwork/send_activity_notification/send_activity_notification_post_request_body.py index 524768415c6..23b316ba228 100644 --- a/msgraph_beta/generated/users/item/teamwork/send_activity_notification/send_activity_notification_post_request_body.py +++ b/msgraph_beta/generated/users/item/teamwork/send_activity_notification/send_activity_notification_post_request_body.py @@ -71,6 +71,10 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from .....models.item_body import ItemBody + from .....models.key_value_pair import KeyValuePair + from .....models.teamwork_activity_topic import TeamworkActivityTopic + writer.write_str_value("activityType", self.activity_type) writer.write_int_value("chainId", self.chain_id) writer.write_object_value("previewText", self.preview_text) diff --git a/msgraph_beta/generated/users/item/todo/lists/count/count_request_builder.py b/msgraph_beta/generated/users/item/todo/lists/count/count_request_builder.py index bd182d25696..6a1b5db5d1c 100644 --- a/msgraph_beta/generated/users/item/todo/lists/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/todo/lists/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/todo/lists/delta/delta_get_response.py b/msgraph_beta/generated/users/item/todo/lists/delta/delta_get_response.py index 000cf15d9fe..1028440371d 100644 --- a/msgraph_beta/generated/users/item/todo/lists/delta/delta_get_response.py +++ b/msgraph_beta/generated/users/item/todo/lists/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ......models.base_delta_function_response import BaseDeltaFunctionResponse + from ......models.todo_task_list import TodoTaskList + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/users/item/todo/lists/item/extensions/count/count_request_builder.py b/msgraph_beta/generated/users/item/todo/lists/item/extensions/count/count_request_builder.py index 4dd4eeab95b..2719305198f 100644 --- a/msgraph_beta/generated/users/item/todo/lists/item/extensions/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/todo/lists/item/extensions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/todo/lists/item/tasks/count/count_request_builder.py b/msgraph_beta/generated/users/item/todo/lists/item/tasks/count/count_request_builder.py index b5fe91305ba..5816b76068f 100644 --- a/msgraph_beta/generated/users/item/todo/lists/item/tasks/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/todo/lists/item/tasks/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/todo/lists/item/tasks/delta/delta_get_response.py b/msgraph_beta/generated/users/item/todo/lists/item/tasks/delta/delta_get_response.py index 08c181895ca..f965eb90ddc 100644 --- a/msgraph_beta/generated/users/item/todo/lists/item/tasks/delta/delta_get_response.py +++ b/msgraph_beta/generated/users/item/todo/lists/item/tasks/delta/delta_get_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ........models.base_delta_function_response import BaseDeltaFunctionResponse + from ........models.todo_task import TodoTask + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/users/item/todo/lists/item/tasks/item/attachment_sessions/count/count_request_builder.py b/msgraph_beta/generated/users/item/todo/lists/item/tasks/item/attachment_sessions/count/count_request_builder.py index abb0144e833..a67c82e0721 100644 --- a/msgraph_beta/generated/users/item/todo/lists/item/tasks/item/attachment_sessions/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/todo/lists/item/tasks/item/attachment_sessions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/todo/lists/item/tasks/item/attachments/count/count_request_builder.py b/msgraph_beta/generated/users/item/todo/lists/item/tasks/item/attachments/count/count_request_builder.py index de071f2ee61..dee1ba3f51f 100644 --- a/msgraph_beta/generated/users/item/todo/lists/item/tasks/item/attachments/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/todo/lists/item/tasks/item/attachments/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/todo/lists/item/tasks/item/attachments/create_upload_session/create_upload_session_post_request_body.py b/msgraph_beta/generated/users/item/todo/lists/item/tasks/item/attachments/create_upload_session/create_upload_session_post_request_body.py index 14ac4edf8e6..176c69d0b91 100644 --- a/msgraph_beta/generated/users/item/todo/lists/item/tasks/item/attachments/create_upload_session/create_upload_session_post_request_body.py +++ b/msgraph_beta/generated/users/item/todo/lists/item/tasks/item/attachments/create_upload_session/create_upload_session_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ..........models.attachment_info import AttachmentInfo + writer.write_object_value("attachmentInfo", self.attachment_info) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/todo/lists/item/tasks/item/checklist_items/count/count_request_builder.py b/msgraph_beta/generated/users/item/todo/lists/item/tasks/item/checklist_items/count/count_request_builder.py index d34fe625952..e3e3d660352 100644 --- a/msgraph_beta/generated/users/item/todo/lists/item/tasks/item/checklist_items/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/todo/lists/item/tasks/item/checklist_items/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/todo/lists/item/tasks/item/extensions/count/count_request_builder.py b/msgraph_beta/generated/users/item/todo/lists/item/tasks/item/extensions/count/count_request_builder.py index e4d5e7a54e3..fc305d9db24 100644 --- a/msgraph_beta/generated/users/item/todo/lists/item/tasks/item/extensions/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/todo/lists/item/tasks/item/extensions/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/todo/lists/item/tasks/item/linked_resources/count/count_request_builder.py b/msgraph_beta/generated/users/item/todo/lists/item/tasks/item/linked_resources/count/count_request_builder.py index 1b5a90cc9b6..b559d148166 100644 --- a/msgraph_beta/generated/users/item/todo/lists/item/tasks/item/linked_resources/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/todo/lists/item/tasks/item/linked_resources/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/transitive_member_of/count/count_request_builder.py b/msgraph_beta/generated/users/item/transitive_member_of/count/count_request_builder.py index adfdbb78e2b..30a6745ad74 100644 --- a/msgraph_beta/generated/users/item/transitive_member_of/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/transitive_member_of/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/transitive_member_of/graph_administrative_unit/count/count_request_builder.py b/msgraph_beta/generated/users/item/transitive_member_of/graph_administrative_unit/count/count_request_builder.py index 2222a0447f6..92569d2e921 100644 --- a/msgraph_beta/generated/users/item/transitive_member_of/graph_administrative_unit/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/transitive_member_of/graph_administrative_unit/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/transitive_member_of/graph_directory_role/count/count_request_builder.py b/msgraph_beta/generated/users/item/transitive_member_of/graph_directory_role/count/count_request_builder.py index a18ea7e7f85..e78282a13f4 100644 --- a/msgraph_beta/generated/users/item/transitive_member_of/graph_directory_role/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/transitive_member_of/graph_directory_role/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/transitive_member_of/graph_group/count/count_request_builder.py b/msgraph_beta/generated/users/item/transitive_member_of/graph_group/count/count_request_builder.py index db8cb51d053..379ffd912bb 100644 --- a/msgraph_beta/generated/users/item/transitive_member_of/graph_group/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/transitive_member_of/graph_group/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/transitive_reports/count/count_request_builder.py b/msgraph_beta/generated/users/item/transitive_reports/count/count_request_builder.py index 8e9bc3dc337..63af6fe2559 100644 --- a/msgraph_beta/generated/users/item/transitive_reports/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/transitive_reports/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/translate_exchange_ids/translate_exchange_ids_post_request_body.py b/msgraph_beta/generated/users/item/translate_exchange_ids/translate_exchange_ids_post_request_body.py index f897bd32e39..8272b50798b 100644 --- a/msgraph_beta/generated/users/item/translate_exchange_ids/translate_exchange_ids_post_request_body.py +++ b/msgraph_beta/generated/users/item/translate_exchange_ids/translate_exchange_ids_post_request_body.py @@ -56,6 +56,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ....models.exchange_id_format import ExchangeIdFormat + writer.write_collection_of_primitive_values("InputIds", self.input_ids) writer.write_enum_value("SourceIdType", self.source_id_type) writer.write_enum_value("TargetIdType", self.target_id_type) diff --git a/msgraph_beta/generated/users/item/translate_exchange_ids/translate_exchange_ids_post_response.py b/msgraph_beta/generated/users/item/translate_exchange_ids/translate_exchange_ids_post_response.py index 3a4a8efc0ab..f9a95bfd167 100644 --- a/msgraph_beta/generated/users/item/translate_exchange_ids/translate_exchange_ids_post_response.py +++ b/msgraph_beta/generated/users/item/translate_exchange_ids/translate_exchange_ids_post_response.py @@ -52,6 +52,9 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ....models.convert_id_result import ConvertIdResult + writer.write_collection_of_object_values("value", self.value) diff --git a/msgraph_beta/generated/users/item/usage_rights/count/count_request_builder.py b/msgraph_beta/generated/users/item/usage_rights/count/count_request_builder.py index e6fdf8c0a2a..6afc22dd6db 100644 --- a/msgraph_beta/generated/users/item/usage_rights/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/usage_rights/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/virtual_events/webinars/count/count_request_builder.py b/msgraph_beta/generated/users/item/virtual_events/webinars/count/count_request_builder.py index a0bc13882e1..d881ea20a1c 100644 --- a/msgraph_beta/generated/users/item/virtual_events/webinars/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/virtual_events/webinars/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users/item/windows_information_protection_device_registrations/count/count_request_builder.py b/msgraph_beta/generated/users/item/windows_information_protection_device_registrations/count/count_request_builder.py index 0ab2e16c599..80f8de1fa48 100644 --- a/msgraph_beta/generated/users/item/windows_information_protection_device_registrations/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/windows_information_protection_device_registrations/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/users_with_user_principal_name/users_with_user_principal_name_request_builder.py b/msgraph_beta/generated/users_with_user_principal_name/users_with_user_principal_name_request_builder.py new file mode 100644 index 00000000000..f554a1b36ca --- /dev/null +++ b/msgraph_beta/generated/users_with_user_principal_name/users_with_user_principal_name_request_builder.py @@ -0,0 +1,193 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from ..models.o_data_errors.o_data_error import ODataError + from ..models.user import User + +class UsersWithUserPrincipalNameRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the collection of user entities. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]], user_principal_name: Optional[str] = None) -> None: + """ + Instantiates a new UsersWithUserPrincipalNameRequestBuilder 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 user_principal_name: Alternate key of user + Returns: None + """ + if isinstance(path_parameters, dict): + path_parameters['userPrincipalName'] = user_principal_name + super().__init__(request_adapter, "{+baseurl}/users(userPrincipalName='{userPrincipalName}'){?%24expand,%24select}", path_parameters) + + async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: + """ + 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/user-delete?view=graph-rest-beta + """ + request_info = self.to_delete_request_information( + request_configuration + ) + from ..models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + return await self.request_adapter.send_no_response_content_async(request_info, error_mapping) + + async def get(self,request_configuration: Optional[RequestConfiguration[UsersWithUserPrincipalNameRequestBuilderGetQueryParameters]] = None) -> Optional[User]: + """ + 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/user-get?view=graph-rest-beta + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ..models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ..models.user import User + + return await self.request_adapter.send_async(request_info, User, error_mapping) + + async def patch(self,body: User, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[User]: + """ + Update the properties of a user object. + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[User] + Find more info here: https://learn.microsoft.com/graph/api/user-update?view=graph-rest-beta + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = self.to_patch_request_information( + body, request_configuration + ) + from ..models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ..models.user import User + + return await self.request_adapter.send_async(request_info, User, error_mapping) + + def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + 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 + """ + request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[UsersWithUserPrincipalNameRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + 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 + """ + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_patch_request_information(self,body: User, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Update the properties of a user object. + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + return request_info + + def with_url(self,raw_url: str) -> UsersWithUserPrincipalNameRequestBuilder: + """ + 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: UsersWithUserPrincipalNameRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return UsersWithUserPrincipalNameRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class UsersWithUserPrincipalNameRequestBuilderDeleteRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + @dataclass + class UsersWithUserPrincipalNameRequestBuilderGetQueryParameters(): + """ + 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: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "expand": + return "%24expand" + if original_name == "select": + return "%24select" + return original_name + + # Expand related entities + expand: Optional[List[str]] = None + + # Select properties to be returned + select: Optional[List[str]] = None + + + @dataclass + class UsersWithUserPrincipalNameRequestBuilderGetRequestConfiguration(RequestConfiguration[UsersWithUserPrincipalNameRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + @dataclass + class UsersWithUserPrincipalNameRequestBuilderPatchRequestConfiguration(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_beta/generated/workplace/sensor_devices/count/count_request_builder.py b/msgraph_beta/generated/workplace/sensor_devices/count/count_request_builder.py index c4257c01d18..92165aa1e50 100644 --- a/msgraph_beta/generated/workplace/sensor_devices/count/count_request_builder.py +++ b/msgraph_beta/generated/workplace/sensor_devices/count/count_request_builder.py @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + return await self.request_adapter.send_primitive_async(request_info, int, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ diff --git a/msgraph_beta/generated/workplace/sensor_devices/ingest_telemetry/ingest_telemetry_post_request_body.py b/msgraph_beta/generated/workplace/sensor_devices/ingest_telemetry/ingest_telemetry_post_request_body.py index 9386b116127..89c37431e5c 100644 --- a/msgraph_beta/generated/workplace/sensor_devices/ingest_telemetry/ingest_telemetry_post_request_body.py +++ b/msgraph_beta/generated/workplace/sensor_devices/ingest_telemetry/ingest_telemetry_post_request_body.py @@ -50,6 +50,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + from ....models.workplace_sensor_device_telemetry import WorkplaceSensorDeviceTelemetry + writer.write_collection_of_object_values("telemetry", self.telemetry) writer.write_additional_data_value(self.additional_data)